/* ═══════════════════════════════════════════════════════════
   2026 갯벌 세계자연유산 국제 심포지엄 — 메인 스타일
   컨셉: 조수(밀물·썰물)의 에디토리얼 — 딥 타이달 네이비 × 노을 골드
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Pretendard Variable";
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Nanum Pen";
  src: url("../fonts/NanumPenScript.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}

:root {
  --ink: #0d2637;
  --ink-2: #14384f;
  --ink-3: #1d4a66;
  --foam: #f6f1e7;
  --paper: #fdfaf4;
  --sand: #e9dfcd;
  --gold: #d9832e;
  --gold-2: #e8a75d;
  --teal: #2e7d74;
  --hl-orange: #ff9d2e;   /* 참가신청 계열 버튼 — 주황 형광 */
  --hl-orange-2: #ffb254;
  --hl-lime: #a8e05a;     /* 축하메시지 계열 버튼 — 연두 형광 */
  --hl-lime-2: #bced74;
  --line: rgba(13, 38, 55, .14);
  --line-light: rgba(246, 241, 231, .22);
  --font-sans: "Pretendard Variable", "Apple SD Gothic Neo", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  background: var(--foam);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.serif-it { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.pc { display: inline; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--ink); color: var(--foam); padding: 10px 18px;
  border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ── 그레인 & 조수 진행바 ───────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: multiply;
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.5%); } 75% { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

.tide-progress {
  position: fixed; left: 0; top: 0; bottom: 0; width: 4px; z-index: 140;
  background: transparent; pointer-events: none;
}
.tide-progress span {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 0%;
  background: linear-gradient(to top, var(--teal), var(--gold));
}

/* ── 헤더 (애플 스타일: 슬림·반투명 블러·정제된 타이포) ── */
:root { --head-h: 54px; }
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  color: rgba(246, 241, 231, .96);
  background: rgba(11, 30, 43, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(246, 241, 231, .06);
  transition: background .4s;
}
.site-head.solid {
  background: rgba(11, 30, 43, .9);
  box-shadow: 0 1px 0 rgba(246, 241, 231, .1);
}
.head-inner {
  max-width: 1200px; margin: 0 auto; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; opacity: .95; transition: opacity .25s; }
.brand:hover { opacity: 1; }
.brand-mark { display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: .84rem; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text em { display: none; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .84rem; font-weight: 560; letter-spacing: .01em; }
.site-nav a:not(.cta-pill) {
  position: relative; padding: 4px 0;
  opacity: .92; transition: opacity .25s;
  text-shadow: 0 1px 2px rgba(9, 26, 38, .35);
}
.site-nav a:not(.cta-pill):hover { opacity: 1; }
.site-nav a:not(.cta-pill).on { opacity: 1; }
.site-nav a:not(.cta-pill).on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--gold-2); border-radius: 2px;
}
.cta-pill,
.site-nav a.cta-pill {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 32px; padding: 0 17px; border-radius: 980px; line-height: 1;
  background: var(--hl-orange); color: var(--ink);
  font-size: .82rem; font-weight: 650; letter-spacing: .01em;
  transition: background .25s;
}
.cta-pill:hover { background: var(--hl-orange-2); }
.cta-pill.lime, .site-nav a.cta-pill.lime { background: var(--hl-lime); }
.cta-pill.lime:hover { background: var(--hl-lime-2); }
.cta-pill.on { box-shadow: inset 0 0 0 1.5px rgba(11, 30, 43, .5); }
.nav-toggle { display: none; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 190; background: var(--ink);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-nav a { color: var(--foam); font-size: 1.5rem; font-weight: 700; }
.mobile-nav a.strong { color: var(--hl-orange); }
.mobile-nav a.lime { color: var(--hl-lime); }

/* ── 히어로 ─────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--foam); overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-drift 22s var(--ease-out) both;
}
@keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(75deg, rgba(9, 26, 38, .82) 0%, rgba(9, 26, 38, .45) 45%, rgba(9, 26, 38, .12) 75%),
    linear-gradient(to top, rgba(9, 26, 38, .55), transparent 40%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1360px; margin: 0 auto;
  padding: calc(var(--head-h) + 40px) 24px 120px;
}
.hero-kicker {
  font-size: .95rem; font-weight: 650; letter-spacing: .02em;
  color: var(--gold-2); margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  line-height: 1.08; font-weight: 850; letter-spacing: -0.035em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero-en { font-size: clamp(1.05rem, 2.2vw, 1.55rem); opacity: .92; margin-bottom: 34px; }
.hero-info { font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 600; margin-bottom: 40px; }
.hero-info em { font-style: normal; opacity: .65; font-size: .82em; margin-left: .35em; }
.hero-info .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); margin: 0 16px; vertical-align: middle;
}
.hero-actions span { display: flex; gap: 14px; flex-wrap: wrap; }

/* 텍스트 리빌 */
.reveal-line, .hero-title .line { display: block; overflow: hidden; }
.reveal-line > span, .hero-title .line > span {
  display: inline-block; transform: translateY(115%);
  transition: transform 1.1s var(--ease-out);
}
.in .reveal-line > span, .in .hero-title .line > span,
.reveal-line.in > span, .hero-title .line.in > span { transform: translateY(0); }

/* 회전 배지 */
.hero-badge {
  position: absolute; right: clamp(20px, 5vw, 72px); bottom: 130px; z-index: 3;
  width: 104px; height: 104px; display: grid; place-items: center;
}
.badge-rotor { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.badge-rotor text { font-size: 10.2px; letter-spacing: .18em; fill: var(--foam); opacity: .85; font-weight: 600; }
.badge-core {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; line-height: 1.1; text-align: center; color: var(--gold-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 물결 */
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 4; }
.hero-waves svg { display: block; width: 100%; height: 90px; }
.hero-waves .w1 { fill: rgba(246, 241, 231, .16); animation: bob 7s ease-in-out infinite; }
.hero-waves .w2 { fill: rgba(246, 241, 231, .34); animation: bob 9s ease-in-out -2s infinite; }
.hero-waves .w3 { fill: var(--foam); animation: bob 11s ease-in-out -4s infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 5; font-size: .72rem; letter-spacing: .3em; color: var(--ink);
  opacity: .55; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint span {
  width: 1px; height: 34px; background: currentColor; display: block;
  animation: drip 2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── KV 히어로 (키비주얼 1안 이식) ─────────────── */
:root {
  --kv-bg: #11485c;
  --kv-bg-2: #0d3a4b;
  --kv-green: #8cc63e;
  --kv-mint: #57c7a2;
  --kv-blue: #1b75bb;
}
.kv-hero {
  display: flex; flex-direction: column; justify-content: space-between; align-items: stretch;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(140, 198, 62, .1), transparent 55%),
    linear-gradient(168deg, var(--kv-bg) 0%, var(--kv-bg-2) 100%);
  color: #fff;
}
.kv-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: calc(var(--head-h) + clamp(28px, 5vh, 64px)) 24px 0;
}
.kv-grid {
  display: grid; grid-template-columns: 1.5fr minmax(300px, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: stretch;
}
.kv-left { display: flex; flex-direction: column; align-items: flex-start; }
.kv-kicker { font-size: clamp(1rem, 1.9vw, 1.35rem); font-weight: 640; letter-spacing: -.01em; margin-bottom: 14px; }
.kv-kicker b { font-size: 1.55em; font-weight: 850; letter-spacing: -.02em; margin-right: 10px; vertical-align: -.06em; }
.kv-title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin-bottom: 0; }
.kv-en { display: block; font-size: clamp(.72rem, 1vw, .84rem); opacity: .8; letter-spacing: .01em; margin-bottom: 8px; }
.kv-date {
  display: block; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 800;
  color: var(--kv-green); letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.kv-date i { font-style: normal; font-size: .62em; font-weight: 650; opacity: .85; }
.kv-venue { display: block; font-size: clamp(.95rem, 1.4vw, 1.12rem); font-weight: 700; color: var(--kv-mint); }

/* 우측 컬럼 — 등재 현장 사진 + 정보/신청 카드 */
.kv-side { display: flex; flex-direction: column; gap: 16px; }
.kv-moment {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 44px rgba(6, 24, 33, .45);
  background: var(--kv-bg-2);
}
.kv-moment img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.kv-moment figcaption {
  padding: 10px 16px 12px; font-size: .78rem; line-height: 1.5; opacity: .85;
}
.kv-moment figcaption b { color: var(--kv-green); font-weight: 750; }
.kv-card {
  border-radius: 16px; padding: 20px 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.kv-card .kv-actions { display: grid; gap: 10px; margin-top: 16px; }
.kv-qr {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.kv-qr img { width: 58px; height: 58px; border-radius: 8px; background: #fff; padding: 4px; }
.kv-qr span { font-size: .78rem; line-height: 1.45; opacity: .8; }

.kv-band { display: block; margin: clamp(20px, 3.2vh, 34px) 0 0; overflow: hidden; }
.kv-band > span {
  display: inline-block; padding: 10px 26px 11px 18px;
  background: linear-gradient(90deg, var(--kv-green), var(--kv-mint) 45%, var(--kv-blue));
  color: #fff; font-size: clamp(1.05rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em;
  border-radius: 4px;
  text-shadow: 0 1px 6px rgba(13, 58, 75, .3);
}
.kv-program { display: grid; gap: 0; margin-top: auto; padding-top: clamp(20px, 3.2vh, 36px); align-self: stretch; }
.kv-program li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: clamp(.85rem, 1.4vw, 1rem);
}
.kv-program li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.kv-program b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv-program b i { font-style: normal; font-size: .82em; font-weight: 600; opacity: .8; }
.kv-program span { opacity: .92; }
.kv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px; border-radius: 980px;
  background: var(--hl-orange); color: var(--ink);
  font-size: .95rem; font-weight: 780; letter-spacing: -.01em;
  transition: transform .22s var(--ease-out), background .25s, box-shadow .25s;
}
.kv-btn:hover { transform: translateY(-2px); background: var(--hl-orange-2); box-shadow: 0 10px 26px rgba(255, 157, 46, .35); }
.kv-btn.lime { background: var(--hl-lime); }
.kv-btn.lime:hover { background: var(--hl-lime-2); box-shadow: 0 10px 26px rgba(168, 224, 90, .35); }

/* Getbol World / HERITAGE 워드마크 + 사진 스트립 */
.kv-heritage { margin-top: clamp(18px, 3vh, 30px); }
.kv-wordmark { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kv-getbol {
  font-size: clamp(2.2rem, 7vw, 5.2rem); font-weight: 850; letter-spacing: -.02em;
  line-height: 1; color: #fff; margin-bottom: 2px;
}
.kv-her {
  font-family: "Times New Roman", serif;
  font-size: clamp(2.6rem, 9.4vw, 7rem); font-weight: 700;
  letter-spacing: .12em; line-height: .92; margin-left: -2px;
  background: url("../img/gaetgol_sunset_md.jpg") center 35% / cover no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: brightness(1.25) saturate(1.05);
}
.kv-strips {
  display: flex; gap: clamp(6px, 1vw, 14px);
  max-width: 1200px; margin: clamp(4px, 1vh, 12px) auto 0; padding: 0 24px;
  height: clamp(120px, 24vh, 230px);
}
.kv-strips span {
  flex: 1; min-width: 0; border-radius: 8px 8px 0 0;
  background-size: cover; background-position: center;
  transform-origin: bottom;
  transition: flex-grow .45s var(--ease-out), filter .45s;
  filter: saturate(.95);
}
.kv-strips span:hover { flex-grow: 1.9; filter: saturate(1.1); }

@media (max-width: 960px) {
  .kv-grid { grid-template-columns: 1fr; }
  .kv-side { max-width: 460px; }
  .kv-strips span:nth-child(n+7) { display: none; }
  .kv-strips { height: 110px; }
}

/* ── 버튼 ───────────────────────────────────── */
.btn-tide, .btn-lime, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 99px;
  font-weight: 750; font-size: .98rem; border: 0; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.btn-tide { background: var(--hl-orange); color: var(--ink); }
.btn-lime { background: var(--hl-lime); color: var(--ink); }
.btn-lime::before { background: var(--hl-lime-2); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(168, 224, 90, .4); }
.btn-tide::before, .btn-lime::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--hl-orange-2);
  border-radius: 42% 44% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform .5s var(--ease-out), border-radius .5s var(--ease-out);
}
.btn-tide:hover::before, .btn-lime:hover::before { transform: translateY(0); border-radius: 0; }
.btn-lime::before { background: var(--hl-lime-2); }
.btn-tide:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 157, 46, .4); }
.btn-tide > *, .btn-lime > * { position: relative; z-index: 1; }
.btn-ghost {
  background: transparent; color: var(--foam);
  box-shadow: inset 0 0 0 1.5px rgba(246, 241, 231, .55);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--foam); transform: translateY(-2px); }
.btn-ghost.dark { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(13, 38, 55, .45); }
.btn-ghost.dark:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-tide.big, .btn-lime.big, .btn-ghost.big { padding: 18px 38px; font-size: 1.05rem; }
.btn-tide.wide { justify-content: center; width: 100%; }
.msg-count {
  font-style: normal; background: var(--gold); color: var(--ink);
  border-radius: 99px; font-size: .78rem; padding: 2px 9px; margin-left: 4px;
}

/* ── 티커 ───────────────────────────────────── */
.ticker {
  background: var(--ink); color: var(--foam);
  overflow: hidden; padding: 15px 0; white-space: nowrap;
  border-top: 1px solid var(--line-light);
}
.ticker-track { display: inline-flex; align-items: center; gap: 28px; animation: marquee 36s linear infinite; padding-right: 28px; }
.ticker .tk { font-size: .95rem; font-weight: 620; letter-spacing: .02em; }
.ticker .tk.serif-it { font-size: 1.06rem; color: var(--gold-2); }
.ticker i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 섹션 공통 ──────────────────────────────── */
.sec-kicker {
  font-size: .88rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.sec-kicker .serif-it { text-transform: none; letter-spacing: 0; font-size: 1.06em; }
.sec-kicker.light { color: var(--gold-2); }
.sec-title {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 820;
  letter-spacing: -0.03em; line-height: 1.18; margin-bottom: 18px;
  text-wrap: balance;
}
.sec-title.light { color: var(--foam); }
.sec-title.small { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.sec-lead { max-width: 620px; opacity: .82; }
.heritage .sec-lead { color: var(--foam); }

/* ── ABOUT ─────────────────────────────────── */
.about { padding: 110px 0 0; background: var(--foam); }
.statement {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 780; letter-spacing: -0.03em; line-height: 1.42;
  max-width: 1000px; margin-bottom: 70px;
}
.st-line { display: block; opacity: .16; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.st-line.on { opacity: 1; transform: none; }
.statement mark {
  background: linear-gradient(transparent 58%, rgba(217, 131, 46, .38) 58%);
  color: inherit; padding: 0 2px;
}
.statement em.serif-it { font-size: 1.12em; }

.counters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--line); padding-top: 44px; margin-bottom: 90px;
}
.counter strong {
  display: block; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 850;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.counter:nth-child(3) strong, .counter:nth-child(4) strong { color: var(--gold); }
.counter span { font-size: .88rem; opacity: .75; line-height: 1.5; display: block; }

.about-photo { position: relative; overflow: hidden; }
.about-photo img { width: 100%; height: clamp(340px, 55vh, 560px); object-fit: cover; }
.about-photo figcaption {
  position: absolute; right: 18px; bottom: 14px;
  font-size: .72rem; color: var(--foam); opacity: .85;
  background: rgba(13, 38, 55, .45); padding: 4px 12px; border-radius: 99px;
  backdrop-filter: blur(6px);
}

/* ── HERITAGE BELT ─────────────────────────── */
.heritage { background: var(--ink); color: var(--foam); padding: 110px 0 100px; position: relative; overflow: hidden; }
.heritage::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 10%, var(--teal), transparent 70%);
}
.belt { position: relative; max-width: 1160px; margin: 60px auto 30px; padding: 0 24px; height: 340px; }
.belt-line { position: absolute; inset: 0 24px; width: calc(100% - 48px); height: 100%; }
.belt-line path {
  stroke: var(--gold-2); stroke-width: 2; stroke-dasharray: 8 10;
  opacity: .75;
}
.belt-sites { position: absolute; inset: 0 24px; }
.site {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s;
  text-align: center;
}
.site.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.site::before {
  content: ""; display: block; width: 13px; height: 13px; border-radius: 50%;
  background: var(--foam); margin: 0 auto 8px;
  box-shadow: 0 0 0 5px rgba(246, 241, 231, .16);
}
.site.is-new::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(217, 131, 46, .25); }
.site.is-host::before {
  width: 17px; height: 17px;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 5px rgba(217, 131, 46, .3); }
  70% { box-shadow: 0 0 0 18px rgba(217, 131, 46, 0); }
  100% { box-shadow: 0 0 0 5px rgba(217, 131, 46, 0); }
}
.site b { display: block; font-size: 1.02rem; font-weight: 760; letter-spacing: -.01em; }
.site i { font-style: normal; font-size: .7rem; opacity: .68; letter-spacing: .04em; }
.site.is-new i { color: var(--gold-2); opacity: 1; }

.heritage-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 70px;
}
.hcard { background: var(--ink-2); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-light); }
.hcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s var(--ease-out); }
.hcard:hover img { transform: scale(1.05); }
.hcard h3 { font-size: 1.12rem; font-weight: 760; padding: 20px 22px 8px; }
.hcard p { font-size: .9rem; opacity: .78; padding: 0 22px 24px; line-height: 1.65; }

/* ── PROGRAM ───────────────────────────────── */
.program { padding: 110px 0; background: var(--foam); }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; align-items: stretch; }
.day {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.day-photo { margin-top: auto; }
.day:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(13, 38, 55, .12); }
.day-no {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem;
  color: var(--teal); margin-bottom: 12px;
}
.day-no i { font-style: normal; font-family: var(--font-sans); font-size: .68rem; font-weight: 750; background: var(--gold); color: var(--ink); padding: 2px 9px; border-radius: 99px; }
.day h3 { font-size: 1.3rem; font-weight: 790; letter-spacing: -.02em; line-height: 1.3; }
.day-date { font-size: .88rem; font-weight: 650; opacity: .6; margin: 6px 0 18px; }
.day ul { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.day li { font-size: .9rem; line-height: 1.55; padding-left: 0; }
.day li b { font-weight: 760; color: var(--teal); margin-right: 8px; font-variant-numeric: tabular-nums; }
.day li em { display: block; font-style: normal; font-size: .8rem; opacity: .6; }
.day.is-main { background: var(--ink); color: var(--foam); border-color: transparent; }
.day.is-main .day-no { color: var(--gold-2); }
.day.is-main ul { border-top-color: var(--line-light); }
.day.is-main li b { color: var(--gold-2); }
.day-photo { border-radius: 12px; margin-top: 18px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* 프로그램 타임테이블 (랜딩 메인) */
.ttabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 36px 0 26px; }
.ttab {
  flex: 1 1 180px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--paper); padding: 14px 18px;
  transition: border-color .25s, background .25s, transform .25s var(--ease-out);
}
.ttab b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.ttab span { font-size: .8rem; opacity: .6; }
.ttab:hover { transform: translateY(-2px); }
.ttab.on { border-color: var(--ink); background: var(--ink); color: var(--foam); }
.ttab.on span { opacity: .75; }

.tt-panel { display: none; }
.tt-panel.on { display: block; animation: tt-in .35s var(--ease-out); }
@keyframes tt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tt-title { font-size: 1.25rem; font-weight: 820; letter-spacing: -.02em; margin: 8px 0 18px; }
.tt-title em { font-style: normal; font-size: .85rem; font-weight: 650; opacity: .55; margin-left: 10px; }
.tt-group {
  display: inline-flex; margin: 18px 0 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .03em;
  color: var(--foam); background: var(--teal); padding: 4px 14px; border-radius: 99px;
}
.ttable-rows { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tt-row {
  display: grid; grid-template-columns: 132px 1fr; gap: 18px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.tt-row:last-child { border-bottom: 0; }
.tt-row.slim { padding: 11px 22px; background: rgba(13, 38, 55, .025); }
.tt-time { font-weight: 780; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .92rem; padding-top: 1px; }
.tt-body strong { font-size: .98rem; font-weight: 790; letter-spacing: -.01em; }
.tt-body ul { margin-top: 6px; display: grid; gap: 4px; }
.tt-body li { font-size: .86rem; opacity: .8; line-height: 1.6; padding-left: 14px; position: relative; }
.tt-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.tt-note { margin-top: 16px; font-size: .82rem; opacity: .6; }
@media (max-width: 640px) {
  .tt-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
}

/* ── VENUE ─────────────────────────────────── */
.venue { position: relative; padding-bottom: 130px; background: var(--foam); }
.venue-photo { overflow: hidden; }
.venue-photo img { width: 100%; height: clamp(360px, 60vh, 620px); object-fit: cover; }
.venue-card {
  position: relative; z-index: 2;
  max-width: 620px; margin: -110px auto 0; margin-left: max(24px, calc((100% - 1160px) / 2));
  background: var(--paper); border-radius: 22px; padding: 44px 46px;
  box-shadow: 0 30px 70px rgba(13, 38, 55, .18);
}
.venue-card dl { display: grid; gap: 12px; margin: 18px 0 26px; }
.venue-card dl div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: .95rem; }
.venue-card dt { font-weight: 760; color: var(--teal); }

/* ── CTA BAND ──────────────────────────────── */
.cta-band { position: relative; padding: 150px 24px; overflow: hidden; color: var(--foam); text-align: center; background: var(--ink); }
.cta-bg { position: absolute; inset: -12% 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(9,26,38,.35), rgba(9,26,38,.72)); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem); font-weight: 820;
  letter-spacing: -.03em; line-height: 1.25; margin-bottom: 38px; text-wrap: balance;
}
.cta-inner .serif-it { color: var(--gold-2); font-weight: 400; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── 서브 히어로 (congrats) ─────────────────── */
.sub-hero {
  position: relative; min-height: 72svh; display: flex; align-items: flex-end;
  color: var(--foam); overflow: hidden; background: var(--ink);
}
.sub-hero-bg { position: absolute; inset: -8% 0; }
.sub-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: hero-drift 18s var(--ease-out) both; }
.sub-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(65deg, rgba(9,26,38,.78), rgba(9,26,38,.28) 60%), linear-gradient(to top, rgba(9,26,38,.5), transparent 45%);
}
.sub-hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: calc(var(--head-h) + 60px) 24px 130px;
}
.sub-title { font-size: clamp(2.2rem, 5.6vw, 4.2rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 20px; }
.sub-title.small { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.sub-title .line { display: block; overflow: hidden; }
.sub-title .line > span { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease-out); }
.sub-lead { opacity: .9; font-size: clamp(.95rem, 1.7vw, 1.12rem); }
.sub-hero .hero-waves .w3 { fill: var(--foam); }

/* ── 축하 메시지 폼 & 월 ────────────────────── */
.congrats-body { padding: 70px 0 120px; background: var(--foam); }
.msg-form {
  background: var(--paper); border-radius: 22px; padding: 38px 40px;
  box-shadow: 0 24px 60px rgba(13, 38, 55, .1);
  margin-top: -140px; position: relative; z-index: 5;
}
.msg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.msg-form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: flex; align-items: baseline; gap: 6px;
  font-size: .84rem; font-weight: 720; margin-bottom: 8px; letter-spacing: .01em;
}
.field b { color: var(--gold); }
.field small { font-weight: 500; opacity: .55; }
.field output { margin-left: auto; font-size: .76rem; opacity: .55; font-variant-numeric: tabular-nums; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: inherit;
  background: var(--foam); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 125, 116, .14);
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.privacy-note { font-size: .78rem; opacity: .6; max-width: 380px; }
.form-alert {
  margin-top: 16px; padding: 12px 18px; border-radius: 12px;
  background: rgba(196, 74, 54, .1); color: #a33a28; font-size: .88rem; font-weight: 600;
}
.form-alert.ok { background: rgba(46, 125, 116, .12); color: var(--teal); }

/* ── 카드 작성기 ── */
.composer-step {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em;
  margin: 26px 0 14px;
}
.composer-step i {
  font-style: normal; font-family: var(--font-serif);
  font-size: .95rem; color: var(--gold); letter-spacing: .05em;
}
.composer-step output { margin-left: auto; font-size: .78rem; font-weight: 500; opacity: .55; font-variant-numeric: tabular-nums; }
.bg-picker {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px;
}
.bg-pick { position: relative; cursor: pointer; display: block; }
.bg-pick input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.bg-pick::after {
  content: ""; position: absolute; top: -7px; left: -7px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  border: 2px solid var(--paper);
  box-shadow: 0 3px 8px rgba(13, 38, 55, .25);
  opacity: 0; transform: scale(.4);
  transition: opacity .22s, transform .25s var(--ease-out);
}
.bg-pick:has(input:checked)::after { opacity: 1; transform: scale(1); }
.bg-pick img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px;
  border: 2.5px solid transparent;
  transition: border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.bg-pick:hover img { transform: translateY(-3px); }
.bg-pick input:checked + img {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(217, 131, 46, .3);
}
.bg-pick input:focus-visible + img { outline: 3px solid var(--gold); outline-offset: 2px; }

.card-preview {
  position: relative; aspect-ratio: 3/2; border-radius: 18px; overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: 0 18px 44px rgba(13, 38, 55, .22);
  display: flex; flex-direction: column; padding: clamp(18px, 4vw, 36px);
  transition: background-image .3s;
  margin-bottom: 22px;
}
.card-preview::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(9, 26, 38, .18), rgba(9, 26, 38, .45));
  pointer-events: none;
}
.card-preview textarea {
  position: relative; z-index: 1; flex: 1; width: 100%;
  background: transparent; border: 0; resize: none; outline: none;
  font-family: "Nanum Pen", var(--font-sans); font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.45; color: #fff; text-align: center;
  text-shadow: 0 1px 10px rgba(9, 26, 38, .55);
  padding-top: clamp(8px, 3vw, 30px);
}
.card-preview textarea::placeholder { color: rgba(255, 255, 255, .75); }
.card-preview textarea.s-md { font-size: clamp(1.25rem, 2.7vw, 1.7rem); }
.card-preview textarea.s-sm { font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.card-sign {
  position: relative; z-index: 1; text-align: right;
  font-family: "Nanum Pen", var(--font-sans); font-size: 1.25rem; color: #fff;
  text-shadow: 0 1px 8px rgba(9, 26, 38, .6); opacity: .95;
}

.privacy-policy {
  background: var(--foam); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin: 6px 0 18px;
}
.pp-title { font-size: .9rem; font-weight: 780; margin-bottom: 10px; }
.pp-table {
  width: 100%; border-collapse: collapse; font-size: .8rem;
  margin-bottom: 14px; background: var(--paper);
}
.pp-table th, .pp-table td {
  border: 1px solid var(--line); padding: 8px 10px; text-align: center; line-height: 1.5;
}
.pp-table th { background: var(--sand); font-weight: 750; }
.pp-table td { opacity: .85; }

/* ── 카드 벽 ── */
.wall-head { margin: 70px auto 26px; }
.wall-count { color: var(--gold); font-variant-numeric: tabular-nums; }
.msg-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.msg-card {
  position: relative; aspect-ratio: 3/2; border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: 0 10px 26px rgba(13, 38, 55, .14);
  display: flex; flex-direction: column; padding: 20px 22px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .35s;
  color: #fff;
}
.msg-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(9, 26, 38, .16), rgba(9, 26, 38, .52));
}
.msg-card.in { opacity: 1; transform: none; }
.msg-card:hover { box-shadow: 0 18px 40px rgba(13, 38, 55, .28); }
.msg-body {
  position: relative; z-index: 1; flex: 1;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: "Nanum Pen", var(--font-sans); font-size: 1.5rem; line-height: 1.4;
  white-space: pre-wrap; word-break: break-word; overflow: hidden;
  text-shadow: 0 1px 10px rgba(9, 26, 38, .55);
}
.msg-body.s-md { font-size: 1.25rem; }
.msg-body.s-sm { font-size: 1.02rem; }
.msg-card footer {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-size: .8rem; margin-top: 10px;
  text-shadow: 0 1px 6px rgba(9, 26, 38, .6);
}
.msg-name { font-family: "Nanum Pen", var(--font-sans); font-size: 1.05rem; font-weight: 400; }
.msg-org { opacity: .75; }
.msg-date { margin-left: auto; opacity: .6; font-variant-numeric: tabular-nums; }
.msg-card.mine { outline: 2.5px solid var(--gold); outline-offset: -2.5px; box-shadow: 0 14px 34px rgba(217, 131, 46, .3); }

/* ── 참가신청 ───────────────────────────────── */
.reg-layout { display: grid; grid-template-columns: minmax(340px, 44%) 1fr; min-height: 100svh; background: var(--foam); }
.reg-side { position: relative; color: var(--foam); overflow: hidden; background: var(--ink); }
.reg-side-bg { position: absolute; inset: -6% 0; }
.reg-side-bg img { width: 100%; height: 100%; object-fit: cover; }
.reg-side::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(15deg, rgba(9,26,38,.82), rgba(9,26,38,.25) 65%);
}
.reg-side-inner {
  position: relative; z-index: 2; padding: calc(var(--head-h) + 60px) clamp(24px, 4vw, 60px) 60px;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh;
  position: sticky; top: 0;
}
.reg-facts { display: grid; gap: 10px; margin-top: 30px; font-size: .95rem; }
.reg-facts b { color: var(--gold-2); font-weight: 740; margin-right: 10px; }
.reg-main { padding: calc(var(--head-h) + 48px) clamp(24px, 5vw, 72px) 90px; max-width: 760px; }

/* 좌측 행사명 */
.reg-event-kicker { font-size: .92rem; font-weight: 700; color: var(--kv-green); letter-spacing: .01em; margin-bottom: 10px; }
.reg-event-name { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 850; letter-spacing: -.03em; line-height: 1.18; }
.reg-event-sub { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--gold-2); margin-top: 12px; }

/* 폼 섹션 카드화 — 그룹·위계를 눈에 보이게 */
.reg-form fieldset {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--paper); padding: 26px 26px 22px; margin-bottom: 26px;
}
.reg-form legend {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.22rem; font-weight: 830; letter-spacing: -.02em;
  padding: 0 12px 0 6px; margin-left: -6px; background: var(--foam);
  border-radius: 99px;
}
.reg-form legend i {
  font-style: normal; display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--foam);
  font-size: .82rem; font-weight: 750; letter-spacing: 0;
}
.reg-form legend b { color: var(--hl-orange); }
.reg-form .field-hint { font-size: .86rem; color: var(--teal); font-weight: 650; margin: 10px 0 16px; }
.reg-form .field > span { font-size: .9rem; font-weight: 800; color: var(--ink); }
.reg-form .field small { font-weight: 550; opacity: .5; }
.travel-label {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans); font-style: normal;
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
  color: var(--foam); background: var(--teal);
  padding: 4px 14px; border-radius: 99px; margin: 16px 0 12px;
}
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.field-hint { font-size: .85rem; opacity: .65; margin: -6px 0 16px; }
.reg-edit-hint { text-align: center; margin-top: 18px; opacity: .75; }
.reg-edit-hint a { color: var(--teal); font-weight: 600; }
.prog-block {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 18px 20px 4px; margin-bottom: 16px;
}
.prog-block .agree { margin-bottom: 18px; }

.day-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.day-pick { position: relative; display: block; }
.day-pick input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dp-card {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 18px 18px 16px; cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .25s, background .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.dp-card::after {
  content: "✓"; position: absolute; top: 12px; right: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-size: .8rem; font-weight: 800;
  opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s var(--ease-out);
}
.day-pick input:checked + .dp-card { border-color: var(--gold); background: #fbf3e6; box-shadow: 0 10px 26px rgba(217,131,46,.16); }
.day-pick input:checked + .dp-card::after { opacity: 1; transform: scale(1); }
.day-pick input:focus-visible + .dp-card { outline: 3px solid var(--gold); outline-offset: 3px; }
.day-pick:hover .dp-card { transform: translateY(-3px); }
.dp-card b { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--teal); font-size: .92rem; }
.dp-card strong { font-size: 1.18rem; font-weight: 810; letter-spacing: -.01em; }
.dp-card em { font-style: normal; font-size: .8rem; opacity: .62; }

.reg-grid.three { grid-template-columns: repeat(3, 1fr); }
.prog-checks { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }

.privacy-box {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 0; margin-bottom: 16px; overflow: hidden;
}
.privacy-box summary {
  padding: 15px 20px; cursor: pointer; font-size: .9rem; font-weight: 700;
  list-style: none; position: relative;
}
.privacy-box summary::after { content: "+"; position: absolute; right: 20px; font-weight: 400; font-size: 1.1rem; transition: transform .3s; }
.privacy-box[open] summary::after { transform: rotate(45deg); }
.privacy-box ul { padding: 0 20px 18px; display: grid; gap: 8px; font-size: .85rem; opacity: .85; }
.privacy-box li b { font-weight: 750; color: var(--teal); margin-right: 6px; }
.agree { display: flex; gap: 12px; align-items: center; font-size: .95rem; font-weight: 620; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }

.reg-done { text-align: center; padding: 80px 20px; }
.done-wave { width: 120px; margin: 0 auto 24px; }
.reg-done h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 830; letter-spacing: -.03em; margin-bottom: 14px; }
.done-no { font-size: 1.05rem; margin-bottom: 18px; }
.done-no b { color: var(--gold); font-weight: 820; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.done-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ── 푸터 ───────────────────────────────────── */
.site-foot { background: var(--ink); color: var(--foam); padding: 80px 0 36px; }
.foot-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.foot-top {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-light); margin-bottom: 26px;
}
.foot-kicker { font-size: .82rem; color: var(--gold-2); font-weight: 650; margin-bottom: 10px; }
.foot-name { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 810; letter-spacing: -.02em; margin-bottom: 8px; }
.foot-en { opacity: .75; font-size: 1.02rem; }
.foot-meta dl { display: grid; gap: 10px; }
.foot-meta div { display: grid; grid-template-columns: 58px 1fr; gap: 12px; font-size: .9rem; }
.foot-meta dt { color: var(--gold-2); font-weight: 720; }
.foot-meta dd { opacity: .85; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .74rem; opacity: .5; }

/* ── 반응형 ─────────────────────────────────── */
@media (max-width: 1024px) {
  .days { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .heritage-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; margin-top: 50px; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .reg-layout { grid-template-columns: 1fr; }
  .reg-side-inner { min-height: 52svh; position: relative; }
  .reg-main { max-width: 720px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    background: none; border: 0; width: 44px; height: 44px; align-items: center; cursor: pointer;
    z-index: 210; position: relative;
  }
  .nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; display: block; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-toggle[aria-expanded="true"] { color: var(--foam); }
  .hero-badge { display: none; }
  .pc { display: none; }
  .venue-card { margin: -70px 16px 0; padding: 32px 26px; }
  .msg-form { padding: 28px 22px; margin-top: -110px; }
  .bg-picker { grid-template-columns: repeat(3, 1fr); }
  .bg-picker .bg-pick span { font-size: .72rem; }
  .msg-form-grid, .msg-form-grid.three, .reg-grid, .reg-grid.three { grid-template-columns: 1fr; }
  .day-picks { grid-template-columns: 1fr; }
  .belt { height: 420px; }
  .foot-top { grid-template-columns: 1fr; }
}

/* ── 모션 최소화 ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal-line > span, .hero-title .line > span, .sub-title .line > span { transform: none; }
  .st-line, .site, .msg-card { opacity: 1; transform: none; }
}
