/* =========================================================
   WEDNESS — Premium VR Wedding Film
   "Step back into the day" — candlelit noir · champagne gold · pearl · blush
   ========================================================= */

:root {
  --noir: #0d0a0a;
  --noir-2: #141010;
  --noir-3: #1c1616;
  --pearl: #f5eee6;
  --pearl-2: #ede3d7;
  --text: #f3ebe2;
  --text-dim: rgba(243, 235, 226, 0.68);
  --text-faint: rgba(243, 235, 226, 0.42);
  --gold: #dcc191;
  --gold-2: #c6a46c;
  --gold-deep: #9c7b48;
  --blush: #ecb9ad;
  --rose: #cf8e84;
  --rose-deep: #a8625c;
  --ink: #2a1f1c;
  --ink-soft: #6e5c54;
  --line: rgba(220, 193, 145, 0.16);
  --line-strong: rgba(220, 193, 145, 0.34);

  --display: "Bodoni Moda", "Noto Serif KR", serif;
  --serif-ko: "Noto Serif KR", "Bodoni Moda", serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  --gold-text: linear-gradient(100deg, #b08d58 0%, #ecd6a8 32%, #fff6e3 48%, #ebbcaf 64%, #c19863 100%);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1320px;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 500; color: var(--gold); }
::selection { background: rgba(220, 193, 145, 0.35); color: #fff; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.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;
}

.br-md { display: none; }
@media (min-width: 760px) { .br-md { display: inline; } }

:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 8px; }

/* Film grain over everything — cinematic texture */
.grain {
  position: fixed; inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.eyebrow b {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  padding: 3px 9px 2px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.center .eyebrow::after {
  content: "";
  width: 36px; height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
}

.section { position: relative; padding: clamp(110px, 13vw, 190px) 0; }
.sec-head { margin-bottom: clamp(56px, 7vw, 96px); }
.sec-head.center { text-align: center; }
.sec-title {
  font-family: var(--serif-ko);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  line-height: 1.24;
  letter-spacing: -0.045em;
  color: var(--text);
}
.sec-title em {
  font-style: normal;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sec-lead {
  margin-top: 28px;
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.9;
}
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; max-width: 44em; }

.ornament {
  display: flex; align-items: center; gap: 14px;
  margin: 30px 0 0;
  color: var(--rose);
}
.ornament span { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament svg { width: 15px; height: 15px; fill: currentColor; }

.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; }
.icon svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--gold); stroke-width: 1.15;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--ease-expo), box-shadow .5s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.5), transparent 65%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #1d1411;
  background: linear-gradient(135deg, #f6e7c6 0%, #dcc08a 42%, #b9915a 100%);
  border-color: rgba(255, 246, 225, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -5px 12px rgba(120, 82, 38, 0.35),
    0 18px 40px -18px rgba(220, 180, 120, 0.65);
}
.btn-primary::before,
.tab-indicator::before {
  content: "";
  position: absolute; left: 7%; right: 7%; top: 2px; height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -5px 12px rgba(120, 82, 38, 0.35),
    0 24px 50px -16px rgba(230, 190, 130, 0.8);
}
.btn-primary:disabled {
  cursor: not-allowed; transform: none;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  box-shadow: none;
}
.btn-primary:disabled::before { opacity: 0.15; }
.btn-ghost { color: var(--text); }
.btn-block { width: 100%; }

/* =========================================================
   Liquid glass (dark). 크롬 계열은 effects.js가 --lg-filter로 굴절을 더함
   ========================================================= */
.lg,
.site-header.scrolled .header-inner {
  background: rgba(30, 22, 22, 0.32);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: var(--lg-filter, blur(16px) saturate(170%));
  box-shadow:
    inset 0 1px 0.5px rgba(255, 245, 230, 0.4),
    inset 0 -1px 1px rgba(255, 245, 230, 0.12),
    inset 1px 0 1px rgba(255, 245, 230, 0.12),
    inset -1px 0 1px rgba(255, 245, 230, 0.12),
    inset 0 0 0 1px rgba(220, 193, 145, 0.16),
    inset 0 -14px 26px -18px rgba(236, 185, 173, 0.35),
    0 18px 40px -22px rgba(0, 0, 0, 0.7);
}
.lg-refract .lg,
.lg-refract .site-header.scrolled .header-inner { background: rgba(30, 22, 22, 0.22); }
.btn-ghost.lg:hover { background: rgba(255, 245, 230, 0.1); }

.lg-panel {
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(236, 185, 173, 0.08), transparent 55%),
    linear-gradient(160deg, rgba(255, 245, 230, 0.06), rgba(255, 245, 230, 0.015));
  border: 1px solid var(--line);
  border-radius: 30px;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 230, 0.12),
    0 40px 90px -50px rgba(0, 0, 0, 0.9);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 60;
  padding-top: 18px;
  transition: padding .5s var(--ease);
}
.site-header.scrolled { padding-top: 12px; }
.header-inner {
  width: min(var(--wrap), calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  padding: 0 10px 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: 0.36em;
  color: var(--text);
}
.logo-word { display: inline-block; }
.logo-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.3; }
[data-liquid].is-liquid { filter: url(#liquid-logo); }

.nav ul { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .3s;
}
.nav a i {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.8;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-expo);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta {
  height: 46px;
  padding: 0 24px;
  align-items: center;
  border-radius: 999px;
  color: var(--gold);
  font-weight: 600;
}
.nav .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  position: relative; z-index: 2;
  width: 46px; height: 46px;
  border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 12px; right: 12px; height: 1px;
  background: var(--text);
  transition: transform .45s var(--ease-expo), top .45s var(--ease-expo);
}
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  /* 메뉴가 열리면 backdrop-filter가 고정 오버레이를 가두지 않도록 헤더 유리를 끔 */
  .site-header.menu-open .header-inner {
    background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav ul {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 110px clamp(28px, 8vw, 64px) 60px;
    background:
      radial-gradient(70% 50% at 90% 10%, rgba(236, 185, 173, 0.16), transparent 70%),
      radial-gradient(60% 50% at 0% 100%, rgba(220, 193, 145, 0.12), transparent 70%),
      var(--noir);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav ul.open { opacity: 1; visibility: visible; }
  .nav li { width: 100%; overflow: hidden; }
  .nav a {
    font-family: var(--serif-ko);
    font-weight: 300;
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: -0.03em;
    color: var(--text);
    padding: 6px 0;
    transform: translateY(100%);
    transition: transform .8s var(--ease-expo), color .3s;
  }
  .nav a i { font-family: var(--sans); font-size: 0.75rem; margin-right: 10px; }
  .nav ul.open a { transform: none; }
  .nav ul.open li:nth-child(2) a { transition-delay: .05s; }
  .nav ul.open li:nth-child(3) a { transition-delay: .1s; }
  .nav ul.open li:nth-child(4) a { transition-delay: .15s; }
  .nav ul.open li:nth-child(5) a { transition-delay: .2s; }
  .nav a::after { display: none; }
  .nav-cta-item { margin-top: 28px; }
  .nav .nav-cta { font-family: var(--sans); font-size: 1.05rem; height: 56px; padding: 0 30px; letter-spacing: 0; }
}

/* ---------- Language switch (KO / EN) ---------- */
.logo { margin-right: auto; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  margin-left: 16px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.lang-switch button {
  height: 30px; min-width: 38px;
  padding: 0 10px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--noir); }
.site-header.on-light .lang-switch button[aria-pressed="true"] { color: #fff; }
@media (max-width: 900px) {
  .lang-switch { margin-left: 0; margin-right: 6px; order: 1; }
  .nav { order: 2; }
}

/* 언어 전환 시 본문이 살짝 사라졌다 나타남 */
main, .site-footer { transition: opacity .18s var(--ease); }
.lang-switching main, .lang-switching .site-footer { opacity: 0; }
/* 영어 방문자: 번역이 적용되기 전 한국어가 번쩍이지 않도록 (최대 1.5초) */
.i18n-pending main, .i18n-pending .site-footer { opacity: 0; }

/* 영어 타이포그래피: 제목은 Bodoni, 단어 단위 줄바꿈 */
html[lang="en"] body { word-break: normal; letter-spacing: 0; }
html[lang="en"] .hero-title,
html[lang="en"] .sec-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
html[lang="en"] .hero-title { font-size: clamp(2.3rem, 4.9vw, 4.7rem); line-height: 1.08; }
html[lang="en"] .hero-title em { font-style: italic; }
html[lang="en"] .hero-sub { font-size: clamp(0.7rem, 0.9vw, 0.8rem); letter-spacing: 0.26em; text-transform: uppercase; }
html[lang="en"] .sec-title { line-height: 1.12; }
html[lang="en"] .sec-title em { font-style: italic; }
html[lang="en"] .feature h3,
html[lang="en"] .benefit h3,
html[lang="en"] .step h3,
html[lang="en"] .qr-card h3,
html[lang="en"] .chart-card figcaption,
html[lang="en"] .footer-tagline,
html[lang="en"] .quote {
  font-family: var(--display);
  letter-spacing: 0;
}
html[lang="en"] .feature h3, html[lang="en"] .benefit h3, html[lang="en"] .step h3 { font-weight: 500; }
html[lang="en"] .quote { font-style: italic; }
html[lang="en"] .nav .nav-cta { letter-spacing: 0.02em; }
@media (max-width: 760px) {
  html[lang="en"] .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); line-height: 1.12; }
  html[lang="en"] .sec-title { font-size: clamp(1.9rem, 8.2vw, 2.6rem); }
}

/* 밝은 섹션 위의 헤더 */
.site-header.on-light {
  --text: var(--ink);
  --text-dim: var(--ink-soft);
  --gold: var(--gold-deep);
}
.site-header.on-light.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(156, 123, 72, 0.16),
    0 16px 34px -20px rgba(122, 76, 64, 0.4);
}
.site-header.on-light .nav-cta.lg { background: rgba(255, 255, 255, 0.45); }
.site-header .logo, .site-header .nav a { transition: color .4s var(--ease); }

/* =========================================================
   Hero — pinned 3D scene. --p (0→1) is scroll progress (script.js)
   ========================================================= */
.hero {
  --p: 0;
  position: relative;
  height: 260vh;
  background: var(--noir);
}
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.hero-stage {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 70% 45%, rgba(236, 185, 173, 0.22), transparent 70%),
    radial-gradient(45% 40% at 25% 70%, rgba(220, 193, 145, 0.14), transparent 70%),
    var(--noir);
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.hero-stage:active { cursor: grabbing; }
.hero-stage canvas {
  display: block; width: 100% !important; height: 100% !important;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.hero-stage.is-ready canvas { opacity: 1; }
.hero-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 10, 10, 0.82) 0%, rgba(13, 10, 10, 0.35) 42%, rgba(13, 10, 10, 0) 68%),
    linear-gradient(0deg, rgba(13, 10, 10, 0.75) 0%, rgba(13, 10, 10, 0) 38%),
    linear-gradient(180deg, rgba(13, 10, 10, 0.5) 0%, rgba(13, 10, 10, 0) 18%);
  opacity: calc(1 - var(--p) * 1.4);
}

.hero-copy {
  position: absolute;
  left: max(clamp(20px, 4vw, 48px), calc((100vw - var(--wrap)) / 2 + clamp(20px, 4vw, 48px)));
  bottom: clamp(70px, 13vh, 150px);
  z-index: 3;
  width: min(780px, calc(100% - 40px));
  opacity: calc(1 - var(--p) * 3.2);
  transform: translate3d(0, calc(var(--p) * -140px), 0);
}
.hero.is-out .hero-copy { visibility: hidden; }
.hero-title {
  font-family: var(--serif-ko);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.8vw, 5.6rem);
  line-height: 1.14;
  letter-spacing: -0.05em;
}
.hero-title em {
  font-style: normal;
  background: var(--gold-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.hero-sub {
  display: block;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.hero-lead {
  margin-top: 30px;
  max-width: 33em;
  color: var(--text-dim);
  font-size: 1.06rem;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Phase 2: 구체 바깥 — 360° 표식과 회전하는 문구 */
.hero-orb {
  position: absolute; inset: 0;
  z-index: 2;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: clamp(0, calc((var(--p) - 0.5) * 3), 1);
}
.hero-orb > * { grid-area: 1 / 1; }
.orb-text {
  width: min(86vh, 92vw); height: min(86vh, 92vw);
  animation: spin 60s linear infinite;
  transform-origin: center;
  scale: calc(1.25 - var(--p) * 0.25);
}
.orb-text text {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 6px;
  fill: var(--gold);
}
.orb-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.orb-deg {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 9vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 220, 200, 0.55), 0 0 2px rgba(120, 70, 60, 0.6);
}
.orb-label {
  margin-top: 10px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: #fff8f2;
  text-shadow: 0 0 18px rgba(120, 70, 60, 0.7);
}
.orb-fallback {
  width: min(60vh, 62vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f6e3dc 35%, #e2aea3 75%, #9d6a5f 100%);
  box-shadow: 0 0 120px rgba(236, 185, 173, 0.35);
  transition: opacity 1s var(--ease);
}
.has-3d .orb-fallback { opacity: 0; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 26px;
  z-index: 3;
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; align-items: flex-end; justify-content: space-between;
  font-family: var(--display); font-style: italic;
  font-size: 0.92rem;
  color: var(--text-faint);
  pointer-events: none;
}
.hero-hint { opacity: calc(1 - var(--p) * 3); }
.hero-coord { opacity: 0.8; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.scroll-hint i {
  width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes spin { to { rotate: 360deg; } }

/* =========================================================
   About
   ========================================================= */
.about { background: linear-gradient(180deg, var(--noir) 0%, var(--noir-2) 100%); }
.about .sec-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.about .sec-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.about .sec-head .sec-title { grid-column: 1; grid-row: 2 / span 2; }
.about .sec-head .ornament { grid-column: 2; grid-row: 2; margin: 0 0 6px; }
.about .sec-head .sec-lead { grid-column: 2; grid-row: 3; margin-top: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.feature {
  position: relative;
  padding: 44px 30px 48px;
  border-right: 1px solid var(--line);
}
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .8s var(--ease-expo);
}
.feature:hover::before { transform: scaleX(1); }
.feature-no {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(220, 193, 145, 0.45);
  margin-bottom: 34px;
}
.feature .icon { width: 44px; height: 44px; margin-bottom: 22px; }
.feature h3 {
  font-family: var(--serif-ko);
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.feature p { color: var(--text-dim); font-size: 0.96rem; }

/* =========================================================
   Quote band — dark silk shader + marquee
   ========================================================= */
.quote-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 70px) 0;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(120, 72, 62, 0.4), transparent 70%),
    var(--noir-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-band > .container,
.quote-band > .marquee { position: relative; z-index: 1; }
.quote-band > .container { padding-top: clamp(50px, 7vw, 100px); padding-bottom: clamp(50px, 7vw, 100px); }
.quote {
  font-family: var(--serif-ko);
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.7;
  color: var(--text-dim);
}
.quote-en {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: var(--gold-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite alternate;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; flex: none;
  gap: 0.5em;
  padding-right: 0.5em;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.3;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 0.8px rgba(220, 193, 145, 0.38);
  animation: marquee 48s linear infinite;
}
.marquee-track i { font-style: normal; -webkit-text-stroke: 0; color: rgba(220, 193, 145, 0.5); font-size: 0.5em; padding: 0 0.4em; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Why
   ========================================================= */
.why { background: var(--noir-2); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.why-copy p:not(.eyebrow) { color: var(--text-dim); margin-top: 22px; font-size: 1.05rem; line-height: 1.95; }
.why-copy .sec-title { margin-bottom: 14px; }

.chart-card { margin: 0; padding: clamp(28px, 4vw, 48px); }
.chart-card figcaption {
  font-family: var(--serif-ko);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5;
}
.chart-kicker {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.chart-unit { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--text-faint); margin-top: 4px; }
.chart {
  position: relative;
  height: 300px;
  margin-top: 30px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 32px;
  align-items: end;
  border-bottom: 1px solid var(--line-strong);
  background: repeating-linear-gradient(0deg, transparent 0 59px, rgba(220, 193, 145, 0.07) 59px 60px);
}
.bar-col {
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  position: relative;
}
.bar-value {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-variant-numeric: lining-nums tabular-nums;
}
.bar {
  width: 100%; max-width: 96px;
  flex: none;
  /* 위 숫자 라벨 자리를 남기고, 막대끼리는 실제 수치 비율 유지 */
  height: calc(var(--h) * 0.74);
  border-radius: 18px 18px 3px 3px;
  background: linear-gradient(180deg, rgba(246, 231, 198, 0.9) 0%, rgba(198, 164, 108, 0.65) 55%, rgba(198, 164, 108, 0.12) 100%);
  box-shadow: 0 0 50px -6px rgba(220, 193, 145, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform-origin: bottom;
  transition: transform 1.6s var(--ease-expo);
}
.bar-col.forecast .bar {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 13px),
    linear-gradient(180deg, #f6d6cc 0%, rgba(207, 142, 132, 0.75) 55%, rgba(207, 142, 132, 0.12) 100%);
  box-shadow: 0 0 60px -6px rgba(236, 185, 173, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.bar-col:nth-child(2) .bar { transition-delay: .2s; }
.js .chart-card:not(.in) .bar { transform: scaleY(0); }
.bar-year {
  position: absolute; bottom: -38px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}
.bar-year small { color: var(--rose); font-weight: 500; letter-spacing: 0; }
.chart-note {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  color: var(--text-dim);
}
.chart-note strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; }
.chart-note span { margin-left: auto; font-size: 0.85rem; }
.chart-source { margin-top: 12px; font-size: 0.76rem; line-height: 1.6; color: var(--text-faint); }

/* =========================================================
   Benefits — daylight (light) section
   ========================================================= */
.is-light {
  --text: var(--ink);
  --text-dim: var(--ink-soft);
  --text-faint: rgba(110, 92, 84, 0.7);
  --line: rgba(156, 123, 72, 0.2);
  --line-strong: rgba(156, 123, 72, 0.38);
  color-scheme: light;
  color: var(--text);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(236, 185, 173, 0.45), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(220, 193, 145, 0.35), transparent 70%),
    var(--pearl);
}
.is-light .eyebrow { color: var(--gold-deep); }
.is-light strong { color: var(--rose-deep); }
.is-light .icon svg { stroke: var(--gold-deep); }

.tabs {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(400px, 100%);
  margin: -30px auto 44px;
  padding: 6px;
  border-radius: 999px;
}
.is-light .lg {
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(156, 123, 72, 0.16),
    inset 0 -12px 24px -16px rgba(201, 135, 128, 0.35),
    0 16px 34px -20px rgba(122, 76, 64, 0.4);
}
.tabs button {
  position: relative; z-index: 1;
  height: 50px;
  border: 0; background: transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem; font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .4s var(--ease);
}
.tabs button[aria-selected="true"] { color: #fff; }
.tab-indicator {
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  isolation: isolate;
  background: linear-gradient(135deg, #e2aaa0 0%, #c98780 45%, var(--rose-deep) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -3px 8px rgba(110, 45, 40, 0.25),
    0 10px 22px -10px rgba(168, 98, 92, 0.8);
  transition: transform .6s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.tabs[data-active="1"] .tab-indicator { transform: translateX(100%); }

.panel-lead {
  text-align: center;
  color: var(--text-dim);
  font-size: 1.06rem;
  margin-bottom: 56px;
}
.tab-panel:not([hidden]) { animation: panel-in .8s var(--ease-expo); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.benefit {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 26px;
  padding: 48px 44px 52px 0;
  border-bottom: 1px solid var(--line);
}
.benefit:nth-child(odd) { border-right: 1px solid var(--line); }
.benefit:nth-child(even) { padding-left: 44px; padding-right: 0; }
.benefit-no {
  grid-column: 2;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--rose-deep);
  margin-bottom: 8px;
}
.benefit .icon { grid-column: 1; grid-row: 1 / span 3; width: 56px; height: 56px; align-self: start; }
.benefit h3 {
  grid-column: 2;
  font-family: var(--serif-ko);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  letter-spacing: -0.035em;
  line-height: 1.45;
  margin-bottom: 10px;
}
.benefit p { grid-column: 2; color: var(--text-dim); font-size: 0.98rem; }

/* =========================================================
   Process
   ========================================================= */
.process {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(236, 185, 173, 0.1), transparent 70%),
    var(--noir);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.steps::before {
  content: "";
  position: absolute; left: 34px; right: 34px; top: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--blush), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 2s var(--ease-expo) .2s;
}
.steps.in::before { transform: scaleX(1); }
.js .steps.reveal { opacity: 1; transform: none; }
.step {
  position: relative;
  transition: opacity 1s var(--ease), transform 1.2s var(--ease-expo);
}
.js .step { opacity: 0; transform: translateY(24px); }
.js .steps.in .step { opacity: 1; transform: none; }
.steps.in .step:nth-child(2) { transition-delay: .35s; }
.steps.in .step:nth-child(3) { transition-delay: .7s; }
.steps.in .step:nth-child(4) { transition-delay: 1.05s; }
.step-no {
  position: relative;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin-bottom: 30px;
  border-radius: 50%;
  font-family: var(--display); font-style: italic;
  font-size: 1.3rem;
  color: var(--noir);
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f5e6dc 40%, #d9b5a8 100%);
  box-shadow: 0 0 0 8px var(--noir), 0 0 0 9px var(--line-strong), 0 0 40px rgba(236, 185, 173, 0.35);
}
.step h3 {
  font-family: var(--serif-ko);
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.step p { color: var(--text-dim); font-size: 0.96rem; max-width: 17em; }

/* =========================================================
   QR Trees — gallery prints
   ========================================================= */
.qr-trees { background: linear-gradient(180deg, var(--noir) 0%, var(--noir-2) 100%); }
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 4vw, 56px);
  max-width: 820px;
  margin: 0 auto;
}
.qr-card { text-align: center; min-width: 0; }
.qr-mat {
  padding: clamp(8px, 1.4vw, 16px);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(160deg, #f8f1e8 0%, #e8dccb 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(156, 123, 72, 0.25),
    0 50px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 80px -30px rgba(236, 185, 173, 0.3);
  transition: transform .8s var(--ease-expo);
}
.qr-card:hover .qr-mat { transform: translateY(-6px) rotate(-0.4deg); }
.qr-card:nth-child(2):hover .qr-mat { transform: translateY(-6px) rotate(0.4deg); }
.qr-card h3 {
  margin-top: 22px;
  font-family: var(--serif-ko);
  font-weight: 400;
  font-size: clamp(0.92rem, 2.2vw, 1.15rem);
}
/* ICQR shows "Unsupported screen size" when small, so the iframe keeps a fixed
   430×740 viewport, is scaled to the card (--qr-scale, set in script.js), and the
   card crops off ICQR's bottom URL/share bar. */
.qr-frame {
  position: relative;
  aspect-ratio: 430 / 580;
  border-radius: clamp(12px, 1.6vw, 20px);
  overflow: hidden;
  background: #f6f1e7;
}
.qr-frame iframe {
  position: absolute; top: 0; left: 0;
  width: 430px; height: 740px;
  border: 0;
  transform: scale(var(--qr-scale, 1));
  transform-origin: 0 0;
}
.qr-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: clamp(0.8rem, 2.2vw, 0.92rem);
  font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s;
}
.qr-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qr-link:hover, .qr-link:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--noir); }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--noir-2); overflow: hidden; }
.contact-glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(236, 185, 173, 0.22), transparent 55%),
    radial-gradient(circle at 65% 65%, rgba(220, 193, 145, 0.16), transparent 55%);
  filter: blur(40px);
  pointer-events: none;
  animation: breathe 12s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: translateY(-46%) scale(1.08); } }
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.contact-copy { position: sticky; top: 140px; }
.contact-copy .sec-title { margin-bottom: 28px; font-size: clamp(2rem, 3.3vw, 3.1rem); }
.contact-copy p:not(.eyebrow) { color: var(--text-dim); font-size: 1.05rem; line-height: 1.9; }
.contact-ornament { margin-top: 56px; }
.contact-ornament svg { width: 120px; fill: none; stroke: var(--gold); stroke-width: 0.8; opacity: 0.8; }

.contact-form { display: flex; flex-direction: column; gap: 20px; padding: clamp(26px, 4vw, 48px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label, fieldset.field legend {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.field label small { font-weight: 400; color: var(--text-faint); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 245, 230, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input { height: 54px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(220, 193, 145, 0.7);
  background: rgba(255, 245, 230, 0.06);
  box-shadow: 0 0 0 4px rgba(220, 193, 145, 0.12), 0 0 30px -10px rgba(220, 193, 145, 0.5);
}
.field input::placeholder { color: var(--text-faint); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.85) sepia(0.4); opacity: 0.8; }
.contact-form [hidden] { display: none; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 9px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center;
  height: 54px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  text-align: center;
  transition: all .35s var(--ease);
}
.choice:hover span { border-color: var(--line-strong); color: var(--text); }
.choice input:checked + span {
  color: var(--gold);
  border-color: rgba(220, 193, 145, 0.7);
  background: rgba(220, 193, 145, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 245, 230, 0.15), 0 0 30px -12px rgba(220, 193, 145, 0.6);
}
.choice input:focus-visible + span { outline: 1.5px solid var(--gold); outline-offset: 3px; }

.consent {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 245, 230, 0.025);
  font-size: 0.93rem;
}
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input {
  flex: none;
  width: 18px; height: 18px;
  margin: 3px 0 0;
  accent-color: var(--gold);
}
.check b { color: var(--gold); font-weight: 600; }
.consent details { margin-top: 8px; padding-left: 30px; color: var(--text-dim); }
.consent summary {
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text-faint);
  width: fit-content;
}
.consent summary:hover { color: var(--text); }
.consent dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 12px 0 10px;
  font-size: 0.86rem;
}
.consent dt { font-weight: 600; color: var(--text); }
.consent dd { margin: 0; }
.consent details p { font-size: 0.84rem; }
.consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--gold); }
.contact-form .btn { margin-top: 6px; }
.form-status { min-height: 1.5em; font-size: 0.95rem; text-align: center; }
.form-status.success { color: #b6d3b0; }
.form-status.error { color: #f0a59b; }

/* =========================================================
   Footer — giant liquid wordmark
   ========================================================= */
.site-footer {
  position: relative;
  padding: clamp(90px, 10vw, 140px) 0 40px;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(236, 185, 173, 0.12), transparent 70%),
    var(--noir);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-tagline {
  font-family: var(--serif-ko);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--text-dim);
}
.footer-privacy {
  font-weight: 700;
  color: var(--text);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
}
.footer-privacy:hover { color: var(--gold); }
.footer-mark {
  display: block;
  margin: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 60px);
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 16.5vw, 16.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.footer-mark span {
  display: inline-block;
  background: var(--gold-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 9s ease-in-out infinite alternate;
  padding: 0 0.04em;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text-faint);
}
.biz-info { display: flex; flex-wrap: wrap; gap: 4px 20px; font-style: normal; }
.biz-info a:hover { color: var(--gold); }

/* =========================================================
   Policy page (privacy.html)
   ========================================================= */
.policy-header { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--noir); }
.policy-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.policy-header .back { font-size: 0.92rem; color: var(--text-dim); }
.policy-header .back:hover { color: var(--gold); }
.policy { padding: 80px 0 110px; background: var(--noir-2); }
.policy .container { max-width: 840px; }
.policy h1 {
  font-family: var(--serif-ko);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.policy-intro { color: var(--text-dim); margin-bottom: 44px; }
.policy h2 {
  font-family: var(--serif-ko);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.policy p, .policy li { color: var(--text-dim); font-size: 0.98rem; }
.policy p + p { margin-top: 10px; }
.policy ul { list-style: disc; padding-left: 1.3em; margin: 10px 0; }
.policy ol { list-style: decimal; padding-left: 1.3em; margin: 10px 0; }
.policy li + li { margin-top: 4px; }
.policy li::marker { color: var(--gold); }
.policy a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.policy table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; }
.policy th, .policy td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left; vertical-align: top;
  color: var(--text-dim);
}
.policy th { background: rgba(255, 245, 230, 0.04); color: var(--text); font-weight: 600; }
.policy-date { margin-top: 44px; font-weight: 600; color: var(--text) !important; }
.site-footer.is-compact { padding: 40px 0; }
.site-footer.is-compact .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer.is-compact .logo { font-size: 1rem; }
.site-footer.is-compact .copyright { font-size: 0.86rem; color: var(--text-faint); }

/* =========================================================
   Intro — 금빛 액체가 모여 WEDNESS가 되는 연출 (세션당 1회)
   ========================================================= */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.intro { display: none; }
.intro-play .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 6px;
  background:
    radial-gradient(50% 40% at 50% 48%, rgba(120, 72, 62, 0.45), transparent 75%),
    radial-gradient(80% 70% at 85% 0%, rgba(236, 185, 173, 0.12), transparent 60%),
    var(--noir);
  animation: intro-out 1s var(--ease) 2.2s forwards;
}
.intro-logo { width: min(700px, 86vw); height: auto; overflow: visible; }
.intro-logo text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 148px;
  letter-spacing: 22px;
}
.intro-logo .crisp { opacity: 0; animation: intro-fade .6s ease 1.2s forwards; }
.intro-logo .liquid { animation: intro-fade-out .6s ease 1.3s forwards; }
.intro-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  animation: intro-rise .9s var(--ease) 1.15s forwards;
}
.intro-play .intro.is-skipping { animation: intro-skip .45s ease forwards; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
@keyframes intro-skip { to { opacity: 0; visibility: hidden; } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-fade-out { to { opacity: 0; } }
@keyframes intro-rise { to { opacity: 1; transform: none; } }

/* Cursor ring (fine pointers only; effects.js) */
.cursor {
  position: fixed; top: 0; left: 0;
  z-index: 150;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(220, 193, 145, 0.55);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .4s var(--ease-expo), height .4s var(--ease-expo), margin .4s var(--ease-expo), background .4s, opacity .4s, border-color .4s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover {
  width: 70px; height: 70px; margin: -35px 0 0 -35px;
  background: rgba(220, 193, 145, 0.08);
  border-color: rgba(220, 193, 145, 0.8);
}
.cursor.is-light { border-color: rgba(156, 123, 72, 0.6); }

/* =========================================================
   Reveal on scroll (script.js adds .in)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-expo);
}
.js .reveal.in { opacity: 1; transform: none; }
/* 제목은 줄 단위로 마스크 안에서 떠오름 */
.js .sec-title.reveal,
.js .hero-title.reveal { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }
.js .reveal .line > span {
  transform: translateY(108%);
  transition: transform 1.4s var(--ease-expo);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in .line > span { transform: none; }
.js .reveal .line:nth-of-type(2) > span { transition-delay: calc(var(--d, 0ms) + 110ms); }
.js .reveal .line:nth-of-type(3) > span { transition-delay: calc(var(--d, 0ms) + 220ms); }
.js .hero-title .hero-sub { opacity: 0; transition: opacity 1.2s var(--ease) var(--d, 0ms); }
.js .hero-title.in .hero-sub { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-bottom: 1px solid var(--line); }
  .feature:nth-child(odd) { padding-left: 0; }
  .feature:nth-child(2) { border-right: 0; }
  .why-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}
@media (max-width: 900px) {
  .hero { height: 220vh; }
  .hero-copy { bottom: clamp(80px, 12vh, 120px); }
  .hero-foot { bottom: 20px; }
  .hero-coord { display: none; }
  .about .sec-head { display: block; }
  .about .sec-head .ornament { margin-top: 30px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before {
    left: 34px; right: auto; top: 34px; bottom: 34px;
    width: 1px; height: auto;
    transform: scaleY(0); transform-origin: top;
    background: linear-gradient(180deg, var(--gold-deep), var(--gold), var(--blush));
  }
  .steps.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 24px; padding-bottom: 44px; }
  .step-no { grid-row: 1 / span 2; margin: 0; }
  .step h3 { margin-top: 10px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-lead { font-size: 0.98rem; }
  .hero-actions .btn { height: 54px; padding: 0 26px; }
  .scroll-hint { display: none; }
  .hero-vignette {
    background:
      linear-gradient(0deg, rgba(13, 10, 10, 0.92) 0%, rgba(13, 10, 10, 0.55) 45%, rgba(13, 10, 10, 0.1) 75%),
      linear-gradient(180deg, rgba(13, 10, 10, 0.5) 0%, rgba(13, 10, 10, 0) 20%);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(odd) { padding: 36px 0 40px; border-right: 0; }
  .feature-no { font-size: 2.6rem; margin-bottom: 20px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(even) { padding: 36px 0 40px; border-right: 0; }
  .benefit { column-gap: 18px; }
  .benefit .icon { width: 44px; height: 44px; }
  .field-row, .choice-row { grid-template-columns: 1fr; }
  .chart { height: 240px; gap: 18px; }
  .chart-note span { margin-left: 0; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal .line > span, .js .step { opacity: 1; transform: none; }
  .js .hero-title .hero-sub { opacity: 1; }
  .js .chart-card:not(.in) .bar { transform: none; }
  .grain { display: none; }
}
