:root {
  --hero-slide-count: 6;
  --hero-slide-duration: 24s;
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-ink: #1c1917;
  --color-ink-muted: #57534e;
  --color-accent: #b45309;
  --color-accent-soft: #fef3c7;
  --color-border: #e7e5e4;
  --font: "Noto Sans KR", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --header-h: 72px;
  --logo-navy: #1a2744;
  --logo-gold: #b89a6a;
  --theme-header: rgba(250, 248, 245, 0.92);
  --theme-header-scrolled: rgba(250, 248, 245, 0.97);
  --theme-btn: linear-gradient(135deg, #b45309, #c2410c);
  --theme-lecture: linear-gradient(180deg, #1c1917 0%, #292524 100%);
  --theme-lecture-accent: #fbbf24;
  --theme-scrim-mid: rgba(250, 248, 245, 0.48);
  --theme-scrim-top: rgba(250, 248, 245, 0.52);
  --theme-scrim-fade: rgba(250, 248, 245, 0.28);
  --theme-scrim-bottom: rgba(250, 248, 245, 0.44);
  --theme-footer: #0a0a0a;
  /* 모션: 부드럽고 무거운 느낌의 이징 */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft: cubic-bezier(0.42, 0, 0.58, 1);
  --reveal-duration: 0.92s;
}

html[data-theme="spring"] {
  --color-bg: #fbf7f6;
  --color-accent: #9a5b6b;
  --color-accent-soft: #f8e8ea;
  --color-border: #eadfe2;
  --logo-navy: #3a2a32;
  --logo-gold: #c4898a;
  --theme-header: rgba(251, 247, 246, 0.92);
  --theme-header-scrolled: rgba(251, 247, 246, 0.97);
  --theme-btn: linear-gradient(135deg, #9a5b6b, #b56b78);
  --theme-lecture: linear-gradient(180deg, #2a2226 0%, #3a2c32 100%);
  --theme-lecture-accent: #e7b4b8;
  --theme-scrim-mid: rgba(255, 246, 248, 0.42);
  --theme-scrim-top: rgba(255, 248, 248, 0.3);
  --theme-scrim-fade: rgba(255, 246, 248, 0.1);
  --theme-scrim-bottom: rgba(255, 248, 248, 0.28);
  --theme-footer: #1a1416;
}

html[data-theme="summer"] {
  --color-bg: #f4f7f4;
  --color-accent: #2f7d6d;
  --color-accent-soft: #e5f3ee;
  --color-border: #d7e6df;
  --logo-navy: #1c3330;
  --logo-gold: #7eae8a;
  --theme-header: rgba(244, 247, 244, 0.92);
  --theme-header-scrolled: rgba(244, 247, 244, 0.97);
  --theme-btn: linear-gradient(135deg, #2f7d6d, #3d9a78);
  --theme-lecture: linear-gradient(180deg, #142421 0%, #1d3330 100%);
  --theme-lecture-accent: #9ddec4;
  --theme-scrim-mid: rgba(244, 252, 246, 0.46);
  --theme-scrim-top: rgba(244, 250, 246, 0.32);
  --theme-scrim-fade: rgba(236, 248, 240, 0.1);
  --theme-scrim-bottom: rgba(244, 250, 246, 0.3);
  --theme-footer: #101816;
}

html[data-theme="autumn"] {
  --color-bg: #f8f3ec;
  --color-accent: #9a3412;
  --color-accent-soft: #ffedd5;
  --color-border: #eadccb;
  --logo-navy: #3a2618;
  --logo-gold: #c4843a;
  --theme-header: rgba(248, 243, 236, 0.92);
  --theme-header-scrolled: rgba(248, 243, 236, 0.97);
  --theme-btn: linear-gradient(135deg, #9a3412, #c2410c);
  --theme-lecture: linear-gradient(180deg, #2a1c14 0%, #3d291c 100%);
  --theme-lecture-accent: #f0b45a;
  --theme-scrim-mid: rgba(255, 244, 230, 0.42);
  --theme-scrim-top: rgba(255, 246, 236, 0.3);
  --theme-scrim-fade: rgba(255, 236, 214, 0.1);
  --theme-scrim-bottom: rgba(255, 246, 236, 0.28);
  --theme-footer: #1a120c;
}

html[data-theme="winter"] {
  --color-bg: #f4f6f8;
  --color-accent: #3d5a73;
  --color-accent-soft: #e7eef4;
  --color-border: #e2e8ee;
  --logo-navy: #1c2836;
  --logo-gold: #8aa0b4;
  --theme-header: rgba(244, 246, 248, 0.92);
  --theme-header-scrolled: rgba(244, 246, 248, 0.97);
  --theme-btn: linear-gradient(135deg, #3d5a73, #4e7394);
  --theme-lecture: linear-gradient(180deg, #141c28 0%, #1c2836 100%);
  --theme-lecture-accent: #c5d5e4;
  --theme-scrim-mid: rgba(244, 248, 252, 0.4);
  --theme-scrim-top: rgba(246, 249, 252, 0.28);
  --theme-scrim-fade: rgba(230, 238, 246, 0.1);
  --theme-scrim-bottom: rgba(246, 249, 252, 0.26);
  --theme-footer: #101820;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-width: 1280px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #92400e;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--color-ink);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.container.narrow {
  width: min(880px, 100% - 40px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--theme-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition:
    background 0.45s var(--ease-in-out-soft),
    box-shadow 0.5s var(--ease-in-out-soft),
    border-color 0.35s var(--ease-in-out-soft);
}

.site-header.is-scrolled {
  background: var(--theme-header-scrolled);
  box-shadow: 0 14px 48px rgba(28, 25, 23, 0.08);
  border-bottom-color: rgba(231, 229, 228, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo:hover {
  color: var(--color-ink);
}

.logo-stack {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo-emblem {
  flex-shrink: 0;
  width: 46px;
  height: auto;
  display: block;
  color: var(--logo-navy);
}

.logo-type {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  min-width: 0;
}

.logo-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.07em;
  color: var(--logo-navy);
  line-height: 1.05;
  text-align: center;
}

.logo-ko-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.logo-line {
  flex: 1 1 0;
  height: 1px;
  background: var(--logo-gold);
  min-width: 6px;
  max-width: 56px;
}

.logo-ko {
  flex-shrink: 0;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--logo-gold);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-align: center;
}

.logo-stack--inverse {
  color: #cbd5e1;
}

.logo-stack--inverse .logo-emblem {
  color: #94a3b8;
}

.logo-stack--inverse .logo-en {
  color: #fafaf9;
}

.logo-stack--inverse .logo-ko {
  color: var(--logo-gold);
}

@media (max-width: 480px) {
  .logo-en {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }

  .logo-emblem {
    width: 40px;
  }

}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-ink);
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease-in-out-soft);
  }

  .site-nav.is-open {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 1rem 20px 1.25rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  /* 첫 화면은 비주얼·제목 위주로, 아래 인사말 섹션은 스크롤 후에 보이도록 전체 높이 확보 */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--header-h) + clamp(1.5rem, 5vh, 3rem)) 20px clamp(3.5rem, 9vh, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides[data-season] {
  display: none;
  --hero-slide-count: 2;
}

html[data-theme="spring"] .hero-slides--default,
html[data-theme="summer"] .hero-slides--default,
html[data-theme="autumn"] .hero-slides--default,
html[data-theme="winter"] .hero-slides--default {
  display: none;
}

html[data-theme="spring"] .hero-slides[data-season="spring"],
html[data-theme="summer"] .hero-slides[data-season="summer"],
html[data-theme="autumn"] .hero-slides[data-season="autumn"],
html[data-theme="winter"] .hero-slides[data-season="winter"] {
  display: block;
}

.hero-slides[data-season] .hero-slide {
  animation-name: heroSlideFadePair;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideFade var(--hero-slide-duration) ease-in-out infinite;
  filter: contrast(1.06) saturate(1.05);
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: calc(-1 * var(--hero-slide-duration) / var(--hero-slide-count));
}

.hero-slide:nth-child(3) {
  animation-delay: calc(-2 * var(--hero-slide-duration) / var(--hero-slide-count));
}

.hero-slide:nth-child(4) {
  animation-delay: calc(-3 * var(--hero-slide-duration) / var(--hero-slide-count));
}

.hero-slide:nth-child(5) {
  animation-delay: calc(-4 * var(--hero-slide-duration) / var(--hero-slide-count));
}

.hero-slide:nth-child(6) {
  animation-delay: calc(-5 * var(--hero-slide-duration) / var(--hero-slide-count));
}

@keyframes heroSlideFadePair {
  0% { opacity: 0; }
  8% { opacity: 1; }
  42% { opacity: 1; }
  58% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroSlideFade {
  /* 한 주기(24s)를 슬라이드 수만큼 등분: 약 16% 구간마다 한 장이 메인(크로스페이드 포함) */
  0% {
    opacity: 0;
  }

  2% {
    opacity: 1;
  }

  14% {
    opacity: 1;
  }

  17.5% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 사진이 더 보이도록 이전보다 덮개(불투명도)를 낮춤 */
  background:
    radial-gradient(ellipse 85% 65% at 50% 35%, var(--theme-scrim-mid), transparent 62%),
    linear-gradient(180deg, var(--theme-scrim-top) 0%, var(--theme-scrim-fade) 45%, var(--theme-scrim-bottom) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: clamp(1.1rem, 2.35vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-transform: none;
  text-shadow:
    0 0 14px rgba(250, 248, 245, 0.95),
    0 1px 2px rgba(250, 248, 245, 0.98);
}

.hero-brand {
  margin: 0 0 0.65rem;
  font-weight: inherit;
  line-height: 1;
}

.hero-brand .logo-stack--hero {
  gap: clamp(12px, 2.4vw, 20px);
  filter: drop-shadow(0 0 18px rgba(250, 248, 245, 0.85));
}

.hero-brand .logo-emblem {
  width: clamp(72px, 14vw, 112px);
}

.hero-brand .logo-type {
  gap: clamp(5px, 1vw, 10px);
}

.hero-brand .logo-en {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  letter-spacing: 0.08em;
  text-shadow:
    0 0 18px rgba(250, 248, 245, 0.92),
    0 1px 2px rgba(250, 248, 245, 0.98);
}

.hero-brand .logo-ko {
  font-size: clamp(1.05rem, 2.15vw, 1.4rem);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 14px rgba(250, 248, 245, 0.9),
    0 1px 2px rgba(250, 248, 245, 0.95);
}

.hero-brand .logo-line {
  max-width: clamp(48px, 16vw, 168px);
}

.hero-lead {
  position: relative;
  isolation: isolate;
  width: max-content;
  max-width: 100%;
  margin: clamp(0.65rem, 2.5vh, 1.25rem) auto 2rem;
  margin-inline: auto;
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.25rem, 3vw, 2rem);
  background: transparent;
  text-align: center;
}

/* 구름처럼 흐릿하게 퍼지는 흰 배경 */
.hero-lead::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: calc(100% + 5rem);
  height: calc(100% + 3.5rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 52% at 50% 48%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(ellipse 42% 38% at 12% 42%, rgba(255, 255, 255, 0.62) 0%, transparent 72%),
    radial-gradient(ellipse 42% 38% at 88% 58%, rgba(255, 255, 255, 0.58) 0%, transparent 72%),
    radial-gradient(ellipse 36% 32% at 28% 88%, rgba(255, 255, 255, 0.5) 0%, transparent 68%),
    radial-gradient(ellipse 36% 32% at 72% 12%, rgba(255, 255, 255, 0.5) 0%, transparent 68%);
  filter: blur(10px);
}

.hero-lead::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  width: calc(100% + 7rem);
  height: calc(100% + 5rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 75%);
  filter: blur(18px);
}

.hero-lead-line {
  display: block;
  margin: 0 auto 0.2em;
  width: 100%;
  font-family: "Gowun Batang", "Batang", "Times New Roman", serif;
  font-size: clamp(1.42rem, 3.15vw, 1.95rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #000;
  text-shadow: none;
  text-align: center;
  white-space: nowrap;
}

.hero-lead-line--gap {
  margin-bottom: 1em;
}

.hero-lead-line:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .hero-lead {
    width: 100%;
    max-width: 100%;
  }

  .hero-lead::before {
    width: calc(100% + 2rem);
    height: calc(100% + 2rem);
    filter: blur(8px);
  }

  .hero-lead::after {
    width: calc(100% + 3rem);
    height: calc(100% + 2.5rem);
    filter: blur(14px);
  }

  .hero-lead-line {
    white-space: normal;
    font-size: clamp(1.15rem, 4.2vw, 1.5rem);
    font-weight: 400;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-actions .btn {
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  padding: 0.9rem 1.65rem;
}

.hero-actions .btn-ghost {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: 0 2px 14px rgba(28, 25, 23, 0.08);
}

.hero-actions .btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    opacity: 0;
    animation: heroContentIn 1.05s var(--ease-out-expo) both;
  }

  .hero-content > *:nth-child(1) {
    animation-delay: 0.1s;
  }

  .hero-content > *:nth-child(2) {
    animation-delay: 0.22s;
  }

  .hero-content > *:nth-child(3) {
    animation-delay: 0.34s;
  }

  .hero-content > *:nth-child(4) {
    animation-delay: 0.46s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.28s var(--ease-in-out-soft),
    color 0.28s var(--ease-in-out-soft),
    border-color 0.28s var(--ease-in-out-soft),
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn:active {
    transform: scale(0.98);
  }
}

.btn-primary {
  background: var(--theme-btn);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-outline {
  background: var(--color-surface);
  color: var(--color-accent);
  border-color: color-mix(in srgb, var(--color-accent) 35%, transparent);
}

.btn-outline:hover {
  background: var(--color-accent-soft);
}

/* 스크롤 시 섹션·푸터 등장 (html.js-reveal 은 app.js 가 부여 — 스크립트 없으면 숨김 없음) */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal main section.section .container > * {
    opacity: 0;
    transform: translateY(1.75rem);
    transition:
      opacity var(--reveal-duration) var(--ease-out-expo),
      transform var(--reveal-duration) var(--ease-out-expo);
  }

  html.js-reveal main section.section.is-inview .container > * {
    opacity: 1;
    transform: translateY(0);
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(1) {
    transition-delay: 0.04s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(2) {
    transition-delay: 0.11s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(3) {
    transition-delay: 0.18s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(4) {
    transition-delay: 0.25s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(5) {
    transition-delay: 0.32s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(6) {
    transition-delay: 0.39s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(7) {
    transition-delay: 0.46s;
  }

  html.js-reveal main section.section.is-inview .container > *:nth-child(8) {
    transition-delay: 0.52s;
  }

  html.js-reveal .site-footer .footer-marquee,
  html.js-reveal .site-footer .footer-inner {
    transition:
      opacity var(--reveal-duration) var(--ease-out-expo),
      transform var(--reveal-duration) var(--ease-out-expo);
  }

  html.js-reveal .site-footer:not(.is-inview) .footer-marquee,
  html.js-reveal .site-footer:not(.is-inview) .footer-inner {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  html.js-reveal .site-footer.is-inview .footer-marquee,
  html.js-reveal .site-footer.is-inview .footer-inner {
    opacity: 1;
    transform: translateY(0);
  }

  html.js-reveal .site-footer.is-inview .footer-inner {
    transition-delay: 0.16s;
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--color-ink-muted);
  max-width: 52ch;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-head .section-title {
  margin-bottom: 0;
}

.text-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.archive-toggle {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-accent);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
}

.archive {
  margin-top: 1.75rem;
}

.archive-month + .archive-month {
  margin-top: 1.75rem;
}

.archive-month h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.section-lectures .archive-toggle,
.section-lectures .archive-month h3 {
  color: var(--theme-lecture-accent);
}

/* Greeting */
.section-greeting {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.greeting-card {
  display: grid;
  grid-template-columns: min(240px, 100%) 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 640px) {
  .greeting-card {
    grid-template-columns: 1fr;
  }

  .greeting-photo {
    max-width: 280px;
    max-height: 360px;
    margin-inline: auto;
  }
}

.greeting-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #e7e5e4;
}

.greeting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.greeting-role {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

.greeting-quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  color: var(--color-ink);
}

.greeting-quote p {
  margin: 0 0 1rem;
}

.greeting-quote p:last-child {
  margin-bottom: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.about-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(180, 83, 9, 0.12);
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.stats li {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

/* News */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.content-empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--color-ink-muted);
  font-size: 0.95rem;
}

.news-card {
  background: var(--color-surface);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  position: relative;
  padding-right: 5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.news-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(180, 83, 9, 0.25);
}

.news-card time {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.news-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.news-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
}

.tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: var(--color-accent);
  color: #fff;
}

.tag-muted {
  background: #e7e5e4;
  color: var(--color-ink-muted);
}

/* Activities */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}

.activity-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.activity-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.activity-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.activity-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

/* Lectures */
.section-lectures {
  background: var(--theme-lecture);
  color: #fafaf9;
}

.section-lectures .section-title,
.section-lectures .section-lead {
  color: #e7e5e4;
}

.section-lectures .section-lead {
  color: #a8a29e;
}

.lecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .lecture-grid {
    grid-template-columns: 1fr;
  }
}

.lecture-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lecture-meta time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--theme-lecture-accent);
}

.lecture-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.lecture-speaker {
  margin: 0;
  font-size: 0.88rem;
  color: #a8a29e;
}

.lecture-card p:not(.lecture-speaker) {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #d6d3d1;
  flex-grow: 1;
}

.section-lectures .btn-outline {
  background: transparent;
  color: var(--theme-lecture-accent);
  border-color: color-mix(in srgb, var(--theme-lecture-accent) 40%, transparent);
  align-self: flex-start;
}

.section-lectures .btn-outline:hover {
  background: color-mix(in srgb, var(--theme-lecture-accent) 12%, transparent);
}

/* Schedule */
.schedule-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .schedule-wrap {
    grid-template-columns: 1fr;
  }
}

.schedule-block {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.schedule-block h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.dl-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.dl-inline dt {
  font-weight: 600;
  color: var(--color-ink-muted);
}

.dl-inline dd {
  margin: 0;
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-ink-muted);
}

.bullet-list li {
  margin-bottom: 0.35rem;
}

/* Visit */
.section-visit {
  padding-bottom: 4rem;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }
}

.visit-info p {
  margin: 0 0 1rem;
}

.visit-info strong {
  color: var(--color-ink);
}

.visit-note {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

.visit-map {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  /* 그리드 열 높이(왼쪽 문의 블록)에 맞춰 늘어남 */
  align-self: stretch;
}

.visit-map-frame {
  width: 100%;
  flex: 1 1 auto;
  min-height: 300px;
  border: 0;
  display: block;
}

.visit-map-caption {
  margin: 0;
  padding: 0.5rem 0.75rem 0.65rem;
  font-size: 0.82rem;
  text-align: center;
  color: var(--color-ink-muted);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.visit-map-caption a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.visit-map-caption a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .visit-map-frame {
    flex: 0 0 auto;
    min-height: 260px;
    height: clamp(260px, 48vh, 400px);
  }
}

/* Missions */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.missions-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.missions-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-ink);
}

.missions-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

.missions-foot {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
  text-align: center;
}

.missions-foot a {
  font-weight: 600;
}

/* Footer — 흑백 톤, 본문 글자 크게 */
.site-footer {
  background: var(--theme-footer);
  color: #d4d4d4;
  padding: 0 0 2.25rem;
  font-size: 1rem;
}

/* 푸터 교단 안내: 텍스트만 가로 스크롤(아이콘·좌측 제목 패널 없음) */
.footer-marquee {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #111111;
}

.footer-marquee-scroll {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 0.45rem 0;
}

.footer-marquee-mask {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: footer-marquee-slide 48s linear infinite;
}

.footer-marquee-track:hover {
  animation-play-state: paused;
}

.footer-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding-inline: 1rem;
  flex-shrink: 0;
}

.footer-marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fafafa;
  white-space: nowrap;
}

.footer-marquee-label {
  line-height: 1.25;
}

@keyframes footer-marquee-slide {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    width: 100%;
    max-width: min(1120px, 100% - 40px);
    margin-inline: auto;
  }

  .footer-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .footer-marquee-mask {
    mask-image: none;
  }
}

/* 우측 하단 SNS 플로팅 (인스타그램 + 페이스북 + 카카오 오픈채팅)
   임시 숨김 — 다시 켤 때 아래 display 를 flex 로 바꾸세요. */
.float-actions {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 220;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.insta-float {
  text-decoration: none;
  color: #262626;
}

.insta-float-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 8px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 238, 236, 0.92));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.insta-float:hover .insta-float-inner {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

.insta-float:focus-visible {
  outline: 3px solid #e11d48;
  outline-offset: 3px;
  border-radius: 18px;
}

.insta-float img {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.insta-float-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.fb-float {
  text-decoration: none;
  color: #ffffff;
}

.fb-float-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 8px;
  background: linear-gradient(180deg, #1877f2 0%, #0d65d9 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 4px 18px rgba(24, 119, 242, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.08) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fb-float:hover .fb-float-inner {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(24, 119, 242, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.08) inset;
}

.fb-float:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
  border-radius: 18px;
}

.fb-float img {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.fb-float-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #ffffff;
}

.kakao-float {
  text-decoration: none;
  color: #0c0c0c;
}

.kakao-float-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 8px;
  background: #fee500;
  border-radius: 16px;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.06) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kakao-float:hover .kakao-float-inner {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

.kakao-float:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
  border-radius: 18px;
}

.kakao-float img {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.kakao-float-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

@media (max-width: 480px) {
  .float-actions {
    gap: 8px;
  }

  .kakao-float img,
  .insta-float img,
  .fb-float img {
    width: 48px;
    height: 48px;
  }

  .kakao-float-text,
  .insta-float-text,
  .fb-float-text {
    font-size: 0.64rem;
  }
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fafafa;
  font-weight: 600;
}

.site-footer .logo-stack--inverse .logo-emblem {
  color: #d4d4d4;
}

.site-footer .logo-stack--inverse .logo-en {
  color: #fafafa;
}

.site-footer .logo-stack--inverse .logo-ko {
  color: #e5e5e5;
}

.site-footer .logo-stack--inverse .logo-line {
  background: #737373;
}

.site-footer .logo-cross {
  stroke: #a3a3a3 !important;
}

.footer-brand .logo-emblem {
  width: 40px;
}

.footer-brand .logo-en {
  font-size: 1.08rem;
}

.footer-brand .logo-ko {
  font-size: 0.78rem;
}

.footer-copy {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d4d4d4;
}

.footer-admin {
  margin: 0.5rem 0 0;
  flex-basis: 100%;
  text-align: center;
  font-size: 0.8rem;
}

.footer-admin a {
  color: #a8a29e;
  text-decoration: none;
}

.footer-admin a:hover {
  color: #fafaf9;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .footer-copy {
    order: 3;
    flex-basis: 100%;
    text-align: left;
  }
}
