/* 21th.sangsangplex.com — 근속 21주년 축하 페이지
   색: 상상플렉스 법인 3색(파랑·초록·분홍) + 축하용 샴페인 골드, 밤하늘 바탕.
   (Clarity 킷의 서체·브랜드색·로고 원칙을 따르되, 축하 페이지라 배경 연출과 반복 움직임을 허용했다. 동작 줄이기 설정에서는 모두 멈춘다.) */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920; font-display: swap;
}
:root {
  --night: #060B1F; --night-2: #0B1640; --night-3: #13204F;
  --ink: #F7F3EA; --ink-2: rgba(247, 243, 234, .74); --ink-3: rgba(247, 243, 234, .52);
  --line: rgba(247, 243, 234, .14);
  --gold: #E6C47A; --gold-2: #F8E7B5; --gold-3: #B8893A;
  --blue: #0788C7; --green: #6ABD2E; --pink: #E43D68;
  --glass: rgba(16, 24, 58, .52); --glass-rim: rgba(255, 255, 255, .14);
  --serif-ko: "Nanum Myeongjo", "Pretendard", serif;
  --serif-en: "Cormorant Garamond", "Nanum Myeongjo", serif;
  --sans: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --r-lg: 28px; --r-md: 18px;
  --gold-grad: linear-gradient(100deg, #9C6F2A 0%, #E6C47A 22%, #FFF4CF 38%, #E6C47A 52%, #B8893A 70%, #F8E7B5 86%, #9C6F2A 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans); letter-spacing: -.01em; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ───────── 배경 ───────── */
.bg { position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, var(--night-3) 0%, var(--night-2) 38%, var(--night) 75%); }
.bg__art { position: absolute; inset: -4%; background: url("/assets/art/hero-aurora.jpg") center/cover no-repeat;
  opacity: .9; transform: scale(1.04); animation: drift 38s ease-in-out infinite alternate; }
.bg__aurora { position: absolute; inset: 0; filter: blur(70px) saturate(130%); opacity: .55; mix-blend-mode: screen; }
.bg__aurora i { position: absolute; width: 60vmax; height: 34vmax; border-radius: 50%; opacity: .55; }
.bg__aurora i:nth-child(1) { background: var(--blue); left: -18vmax; top: 8vh; animation: float1 26s ease-in-out infinite alternate; }
.bg__aurora i:nth-child(2) { background: var(--green); right: -22vmax; top: 34vh; opacity: .36; animation: float2 31s ease-in-out infinite alternate; }
.bg__aurora i:nth-child(3) { background: var(--pink); left: 22vw; bottom: -20vmax; opacity: .4; animation: float3 29s ease-in-out infinite alternate; }
.bg__grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes float1 { to { transform: translate(18vw, 14vh) rotate(18deg); } }
@keyframes float2 { to { transform: translate(-22vw, -10vh) rotate(-14deg); } }
@keyframes float3 { to { transform: translate(-16vw, -18vh) rotate(10deg); } }

/* ───────── 버튼 ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.5em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 650; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; transition: transform .45s var(--spring), box-shadow .3s, background .3s, border-color .3s; }
.btn:active { transform: scale(.96); transition-duration: .1s; }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .9375rem; }
.btn--gold { color: #2A1D05; background: var(--gold-grad); background-size: 220% 100%;
  box-shadow: 0 8px 30px -10px rgba(230, 196, 122, .65), inset 0 1px 0 rgba(255, 255, 255, .6);
  animation: sheen 6s linear infinite; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(230, 196, 122, .85), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: var(--line); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(230, 196, 122, .5); }
.btn[disabled] { opacity: .5; cursor: progress; }
@keyframes sheen { to { background-position: -220% 0; } }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); cursor: pointer;
  display: grid; place-items: center; }
.icon-btn:hover { background: rgba(255,255,255,.16); }

/* ───────── 상단 막대 ───────── */
.nav { position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px; padding: 7px 7px 7px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-rim);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .7); transition: transform .5s var(--ease), opacity .4s; }
.nav.is-hidden { transform: translate(-50%, -140%); opacity: 0; }
.nav__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 600 1.25rem/1 var(--serif-en); color: var(--gold-2); }
.nav__brand sup { font-size: .6em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .9375rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(255,255,255,.08); }
@media (max-width: 720px) { .nav__links { display: none; } .nav { gap: 12px; } }

/* ───────── 첫 화면 ───────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px 20px 90px; text-align: center; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; max-width: 980px; }
.hero__plate { width: 148px; height: 148px; margin: 0 auto 26px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 0 0 10px rgba(230,196,122,.12), 0 0 80px 10px rgba(230,196,122,.28); overflow: hidden; }
.hero__plate img { width: 132px; height: 132px; }
.eyebrow { margin: 0 0 6px; font: 500 .9375rem/1 var(--serif-en); letter-spacing: .42em; color: var(--gold); text-transform: uppercase; }
.hero__num { margin: 0; line-height: .82; font-family: var(--serif-en); font-weight: 600; display: inline-flex; align-items: flex-start; }
.num21 { font-size: clamp(9rem, 30vw, 21rem); letter-spacing: -.04em;
  background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite; filter: drop-shadow(0 10px 50px rgba(230, 196, 122, .35)); }
.num21__th { font-size: clamp(2.4rem, 7vw, 4.6rem); font-style: italic; margin-top: .5em; color: var(--gold-2); }
.hero__names { margin: 20px 0 8px; font: 800 clamp(1.7rem, 4.6vw, 3rem)/1.3 var(--serif-ko); letter-spacing: -.02em; display: flex; justify-content: center; align-items: baseline; gap: .5em; flex-wrap: wrap; }
.hero__names small { font-size: .6em; font-weight: 700; color: var(--ink-2); }
.hero__names .amp { font: italic 500 1.2em/1 var(--serif-en); color: var(--gold); }
.hero__lead { margin: 0 auto; max-width: 34em; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-2); }
.hero__count { margin: 30px auto 0; display: inline-grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 14px; row-gap: 2px;
  padding: 14px 26px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.count__label { font-size: .9375rem; color: var(--ink-3); }
.count__num { font: 600 1.9rem/1 var(--serif-en); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.count__num b { font-weight: 600; }
.count__sub { grid-column: 1 / -1; font-size: .875rem; color: var(--ink-3); }
.count__sub:empty { display: none; }
.hero__cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border-radius: 999px; border: 1.5px solid var(--ink-3); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 떠다니는 메시지 */
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater { position: absolute; max-width: min(320px, 70vw); padding: 10px 16px; border-radius: 18px 18px 18px 6px;
  background: rgba(13, 22, 56, .55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .9375rem; line-height: 1.5; color: var(--ink); text-align: left; opacity: 0;
  animation: floatUp var(--dur, 14s) linear forwards; }
.floater b { display: block; font-size: .8125rem; font-weight: 600; color: var(--gold); margin-bottom: 2px; }
.floater::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--c, var(--gold)); }
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(40px) scale(.92); }
  10% { opacity: .95; transform: translateY(0) scale(1); }
  80% { opacity: .85; }
  100% { opacity: 0; transform: translateY(-160px) scale(.98); }
}
@media (max-width: 720px) { .floater { font-size: .8125rem; max-width: 62vw; } }

/* ───────── 구획 공통 ───────── */
.section { position: relative; padding: 120px 20px; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker { margin: 0 0 10px; font: italic 500 1.25rem/1 var(--serif-en); letter-spacing: .08em; color: var(--gold); }
.title { margin: 0; font: 800 clamp(1.8rem, 4.2vw, 2.9rem)/1.3 var(--serif-ko); letter-spacing: -.03em; }
.desc { margin: 16px auto 0; color: var(--ink-2); max-width: 36em; }
.empty { text-align: center; color: var(--ink-3); margin: 30px 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ───────── 두 분 ───────── */
.duo__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.person { text-align: center; }
.person__frame { position: relative; width: min(360px, 78vw); aspect-ratio: 4 / 5; margin: 0 auto 26px; padding: 10px; border-radius: 200px 200px 28px 28px;
  background: linear-gradient(160deg, rgba(248,231,181,.9), rgba(184,137,58,.5) 40%, rgba(248,231,181,.25) 70%, rgba(230,196,122,.8));
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 60px -10px rgba(230,196,122,.25); }
.person__photo { width: 100%; height: 100%; border-radius: 190px 190px 20px 20px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #1C2B66, #0A1235); background-size: cover; background-position: center 25%; }
.person[data-person="director"] .person__photo { background-image: var(--img, radial-gradient(circle at 50% 30%, rgba(7,136,199,.55), #0A1235)); }
.person[data-person="leader"] .person__photo { background-image: var(--img, radial-gradient(circle at 50% 30%, rgba(228,61,104,.45), #0A1235)); }
.person__photo.has-img .mono { display: none; }
.mono { font: 800 2.4rem/1 var(--serif-ko); color: rgba(247,243,234,.85); letter-spacing: .1em; }
.person__role { margin: 0; font-size: .9375rem; color: var(--gold); letter-spacing: .04em; }
.person__name { margin: 4px 0 6px; font: 800 2.2rem/1.2 var(--serif-ko); }
.person__line { margin: 0; color: var(--ink-2); }
.duo__link { display: grid; justify-items: center; gap: 6px; }
.duo__21 { font: 600 5.4rem/1 var(--serif-en); background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite; }
.duo__years { font: 500 1rem/1 var(--serif-en); letter-spacing: .25em; color: var(--ink-3); }
@media (max-width: 860px) { .duo__grid { grid-template-columns: 1fr; } .duo__link { order: -1; } }

.stats { list-style: none; margin: 80px auto 0; padding: 0; max-width: 1060px; display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 28px 10px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font: 600 clamp(2rem, 4.4vw, 3.2rem)/1.1 var(--serif-en); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stats span { font-size: .9375rem; color: var(--ink-3); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats li + li { border-left: 0; } .stats li { border-bottom: 1px solid var(--line); } .stats li:first-child { grid-column: 1 / -1; } }

/* ───────── 칩 ───────── */
.wall__tools { margin-top: 28px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.chips { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.chip { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; font-size: .9375rem; transition: background .35s var(--ease), color .2s; }
.chip[aria-selected="true"] { background: rgba(230,196,122,.18); color: var(--gold-2); font-weight: 650; }

/* ───────── 메시지 카드 ───────── */
.cards { max-width: 1240px; margin: 0 auto; columns: 3 320px; column-gap: 22px; }
.card { break-inside: avoid; margin: 0 0 22px; position: relative; padding: 26px 26px 22px; border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden;
  transition: transform .5s var(--spring), border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green), var(--pink)); opacity: .9; }
.card:hover { transform: translateY(-4px) rotate(var(--tilt, 0deg)); border-color: rgba(230,196,122,.4); }
.card.is-new { animation: pop .9s var(--spring); }
@keyframes pop { from { transform: scale(.8) translateY(30px); opacity: 0; } }
.card__quote { position: absolute; right: 18px; top: 4px; font: 600 5rem/1 var(--serif-en); color: rgba(230,196,122,.16); pointer-events: none; }
.card__to { display: inline-block; margin-bottom: 12px; padding: 3px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 650;
  background: rgba(230,196,122,.14); color: var(--gold-2); }
.card__to[data-to="director"] { background: rgba(7,136,199,.22); color: #9FD8F5; }
.card__to[data-to="leader"] { background: rgba(228,61,104,.2); color: #FFB3C6; }
.card__text { margin: 0; white-space: pre-wrap; font-size: 1.0625rem; line-height: 1.8; }
.card__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 6px; margin-top: 16px; }
.card__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.card__by { margin: 18px 0 0; display: flex; align-items: baseline; gap: 8px; font-size: .9375rem; }
.card__by b { font: 700 1.0625rem/1 var(--serif-ko); }
.card__by span { color: var(--ink-3); font-size: .875rem; }
.del-btn { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 999px; padding: 4px 10px; font-size: .8125rem; background: rgba(228,61,104,.3); cursor: pointer; }

/* ───────── 갤러리 ───────── */
.gallery__band { position: absolute; inset: 0; z-index: -1; opacity: .55;
  background: url("/assets/art/light-trails.jpg") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.masonry { max-width: 1320px; margin: 0 auto; columns: 4 240px; column-gap: 14px; }
.ph { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in;
  background: rgba(255,255,255,.05); transform: translateZ(0); }
.ph img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.ph:hover img { transform: scale(1.06); }
.ph figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; font-size: .875rem; line-height: 1.4;
  background: linear-gradient(transparent, rgba(6,11,31,.85)); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.ph:hover figcaption, .ph:focus-visible figcaption { opacity: 1; transform: none; }
.ph .del-btn { z-index: 2; }
.ph.is-uploading { opacity: .5; }

/* ───────── 선물 금고 ───────── */
.vault { max-width: 760px; margin: 0 auto; display: grid; justify-items: center; gap: 30px; }
.vault__box { position: relative; width: min(340px, 72vw); aspect-ratio: 1; }
.vault__img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%);
  animation: bob 5s ease-in-out infinite; }
.vault__img ~ .vault__css { display: none; }
.vault__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(230,196,122,.45), transparent 65%); filter: blur(30px); z-index: 1; animation: pulse 3.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1.2deg); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(1.1); } }
/* 그림이 없을 때 쓰는 CSS 상자 */
.vault__css { position: absolute; inset: 14% 16% 10%; z-index: 2; animation: bob 5s ease-in-out infinite; }
.vault__css .body { position: absolute; inset: 30% 6% 0; border-radius: 14px; background: linear-gradient(160deg, #1B2A66, #0B1442); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.vault__css .lid { position: absolute; inset: 16% 0 auto; height: 18%; border-radius: 12px; background: linear-gradient(160deg, #22347A, #101A50); z-index: 2; transition: transform 1s var(--spring); }
.vault__css .ribbon-v { position: absolute; left: 44%; width: 12%; top: 16%; bottom: 0; background: var(--gold-grad); z-index: 3; }
.vault__css .ribbon-h { position: absolute; left: 6%; right: 6%; top: 56%; height: 10%; background: var(--gold-grad); z-index: 1; }
.vault__css .bow { position: absolute; left: 50%; top: 4%; width: 44%; height: 20%; transform: translateX(-50%); z-index: 4;
  background: radial-gradient(ellipse at 25% 60%, var(--gold) 38%, transparent 40%), radial-gradient(ellipse at 75% 60%, var(--gold) 38%, transparent 40%); }
.vault.is-open .vault__css .lid { transform: translateY(-70%) rotate(-14deg); }
.vault.is-open .vault__box { animation: openBox 1.2s var(--spring) forwards; }
@keyframes openBox { 30% { transform: scale(1.08) rotate(3deg); } 60% { transform: scale(.96) rotate(-2deg); } 100% { transform: scale(.7); opacity: .25; } }
.vault__lock { display: grid; justify-items: center; gap: 16px; }
.vault__hint { margin: 0; color: var(--ink-2); }
.pins { display: flex; gap: 12px; }
.pin { width: 62px; height: 76px; border-radius: 18px; text-align: center; font: 600 2.2rem/1 var(--serif-en); color: var(--gold-2);
  background: rgba(255,255,255,.06); border: 1px solid rgba(230,196,122,.35); caret-color: var(--gold); transition: border-color .2s, transform .3s var(--spring), box-shadow .3s; }
.pin:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(230,196,122,.18); transform: translateY(-3px); }
.pins.is-wrong { animation: shake .5s; }
.pins.is-wrong .pin { border-color: var(--pink); }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.vault__msg { margin: 0; min-height: 1.6em; font-size: .9375rem; color: #FFB3C6; }
.vault.is-open .vault__lock { display: none; }
.vault__reveal { width: 100%; text-align: center; padding: 48px 28px; border-radius: 36px; position: relative;
  background: linear-gradient(170deg, rgba(248,231,181,.14), rgba(255,255,255,.03)); border: 1px solid rgba(230,196,122,.45);
  box-shadow: 0 0 120px -20px rgba(230,196,122,.45); animation: pop 1.1s var(--spring); }
.reveal__title { margin: 6px 0 18px; font: 800 clamp(2rem, 6vw, 3.4rem)/1.2 var(--serif-ko);
  background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
.reveal__lines p { margin: 0 0 6px; color: var(--ink-2); font-size: 1.125rem; }
.reveal__from { margin: 22px 0 0; font: 700 1.0625rem/1 var(--serif-ko); color: var(--gold); }

/* ───────── 바닥 ───────── */
.footer { padding: 80px 20px 120px; text-align: center; border-top: 1px solid var(--line); }
.footer__plate { display: inline-block; padding: 14px 26px; border-radius: 20px; background: #fff; }
.footer__plate img { width: 220px; height: auto; }
.footer__line { margin: 26px 0 4px; font: 500 1.125rem/1 var(--serif-en); letter-spacing: .3em; color: var(--gold); }
.footer__from { margin: 10px 0 0; font: 700 1.125rem/1.5 var(--serif-ko); color: var(--ink-2); }

/* ───────── 메시지 쓰기 시트 ───────── */
dialog { color: var(--ink); }
.sheet { width: min(620px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--glass-rim); border-radius: 32px;
  background: rgba(12, 19, 50, .9); backdrop-filter: blur(40px) saturate(160%); -webkit-backdrop-filter: blur(40px) saturate(160%);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.8); }
.sheet::backdrop { background: rgba(3, 6, 18, .62); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .55s var(--spring); }
@keyframes sheetIn { from { transform: translateY(30px) scale(.96); opacity: 0; } }
.sheet__body { padding: 26px; display: grid; gap: 18px; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head h2 { margin: 0; font: 800 1.5rem/1.3 var(--serif-ko); }
.sheet__foot { display: flex; justify-content: flex-end; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: .9375rem; font-weight: 650; color: var(--ink-2); padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: .8125rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field select option { background: var(--night-2); }
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230,196,122,.16); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); }
.seg label { flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; min-height: 40px; line-height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: .9375rem; color: var(--ink-2); transition: background .3s, color .2s; }
.seg input:checked + span { background: rgba(230,196,122,.2); color: var(--gold-2); font-weight: 650; }
.seg input:focus-visible + span { outline: 2px solid var(--gold-2); }
.attach { display: flex; flex-wrap: wrap; gap: 8px; }
.attach__add, .attach__item { width: 76px; height: 76px; border-radius: 16px; }
.attach__add { display: grid; place-items: center; border: 1.5px dashed rgba(230,196,122,.5); color: var(--gold); cursor: pointer; }
.attach__item { position: relative; overflow: hidden; }
.attach__item img { width: 100%; height: 100%; object-fit: cover; }
.attach__item button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); cursor: pointer; line-height: 1; }
.attach__item.is-busy::after { content: ""; position: absolute; inset: 0; background: rgba(6,11,31,.6); }
.form-msg { margin: 0; min-height: 1.4em; font-size: .9375rem; color: #FFB3C6; }

/* ───────── 사진 크게 보기 ───────── */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 6, 18, .94); }
.lightbox::backdrop { background: rgba(3,6,18,.9); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; padding: 60px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 160px); border-radius: 14px; box-shadow: 0 40px 100px -20px #000; }
.lightbox figcaption { color: var(--ink-2); text-align: center; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; backdrop-filter: blur(10px); }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }

/* ───────── 상영 모드 ───────── */
.theater { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--night); }
.theater__bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .5; transition: opacity 1.4s; animation: drift 14s ease-in-out infinite alternate; }
.theater__veil { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(6,11,31,.45), rgba(6,11,31,.92) 75%); }
.theater__card { position: relative; max-width: 980px; padding: 40px; text-align: center; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.theater__card.is-out { opacity: 0; transform: translateY(20px) scale(.98); }
.theater__to { margin: 0 0 20px; font: italic 500 1.4rem/1 var(--serif-en); color: var(--gold); letter-spacing: .06em; }
.theater__text { margin: 0; font: 700 clamp(1.6rem, 3.6vw, 2.8rem)/1.6 var(--serif-ko); white-space: pre-wrap; text-wrap: balance; }
.theater__by { margin: 30px 0 0; font-size: 1.25rem; color: var(--gold-2); }
.theater__bar { position: absolute; right: 20px; top: 20px; display: flex; align-items: center; gap: 14px; color: var(--ink-3); }
.theater__bar .lb-btn { position: static; }

/* ───────── 알림 ───────── */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 40px); opacity: 0; pointer-events: none;
  padding: 14px 22px; border-radius: 999px; background: rgba(12,19,50,.92); border: 1px solid rgba(230,196,122,.4); backdrop-filter: blur(20px);
  transition: transform .5s var(--spring), opacity .3s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* 마우스 반짝이 */
.spark { position: fixed; z-index: 60; width: 6px; height: 6px; margin: -3px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #FFF4CF, rgba(230,196,122,0) 70%); animation: spark .9s var(--ease) forwards; }
@keyframes spark { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .floater { opacity: .9; }
}
