/* ============================================================
   Sea of Light · 光之海 — The Interval · 間
   Stylesheet
   ============================================================ */

:root {
  /* palette — warm ivory, charcoal, muted gold */
  --ivory:        #f6f1e7;
  --ivory-soft:   #efe8da;
  --ivory-deep:   #e9e0cd;
  --paper:        #fbf7ee;

  --ink:          #1c1a17;
  --ink-soft:     #3a3631;
  --ink-mute:     #6a6259;
  --ink-faint:    #a39b8e;

  --gold:         #b08d57;
  --gold-soft:    #c9ad7c;
  --gold-faint:   #d8c39a;

  --line:         rgba(28, 26, 23, 0.12);
  --line-soft:    rgba(28, 26, 23, 0.06);

  /* type */
  --serif-en: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --serif-cn: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  --sans:     "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* layout */
  --shell-max: 1240px;
  --narrow-max: 760px;
  --gutter: clamp(20px, 5vw, 56px);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
::selection { background: var(--gold-faint); color: var(--ink); }

/* ----- containers ----- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container.narrow { max-width: var(--narrow-max); }


/* ============================================================
   LANGUAGE SWITCHING
   - One language is shown at a time, controlled by html[data-lang]
   - .lang-en and .lang-zh wrap language-specific content
   - Chinese spans inherit the Song/Ming serif automatically
   ============================================================ */
html[data-lang="en"] .lang-zh,
html[data-lang="zh"] .lang-en { display: none !important; }

.lang-zh {
  font-family: var(--serif-cn);
  font-style: normal; /* defeat italic inherited from EN-styled parents */
}

/* italic English titles */
.hero-title .lang-en,
.section-title .lang-en,
.invite-title .lang-en,
.archive-title .lang-en,
.bridge .lang-en { font-style: italic; }

/* full-page fade when switching */
body { transition: opacity 0.45s var(--ease); }
body.is-lang-switching { opacity: 0; }


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: rgba(246, 241, 231, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(246, 241, 231, 0.88);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 0.04em;
}
.brand-en {
  font-family: var(--serif-en);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.brand-divider {
  color: var(--gold);
  font-size: 14px;
  transform: translateY(-1px);
}
.brand-cn {
  font-family: var(--serif-cn);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.5s var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px !important;
}
.nav-cta:hover { border-color: var(--gold); }
.nav-cta::after { display: none; }

/* language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  transition: border-color 0.4s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-toggle .lt-en,
.lang-toggle .lt-zh {
  transition: color 0.4s var(--ease);
  cursor: pointer;
}
.lang-toggle .lt-zh {
  font-family: var(--serif-cn);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.lang-toggle .lt-divider {
  color: var(--ink-faint);
  font-weight: 300;
}
html[data-lang="en"] .lang-toggle .lt-en,
html[data-lang="zh"] .lang-toggle .lt-zh {
  color: var(--ink);
}

@media (max-width: 760px) {
  .nav { padding: 16px var(--gutter); }
  .nav-links { gap: 14px; font-size: 11px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .lang-toggle { padding: 6px 11px; font-size: 11px; }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              border-color 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
}


/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(80px, 12vh, 140px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(1100px 600px at 70% 20%, rgba(255, 250, 235, 0.95), transparent 60%),
    radial-gradient(900px 600px at 20% 80%, rgba(216, 195, 154, 0.18), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%);
}

.hero-mist {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.55), transparent 35%),
    radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.4), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(176, 141, 87, 0.06), transparent 50%);
  filter: blur(20px);
  animation: mist 22s ease-in-out infinite alternate;
}
@keyframes mist {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, -2%, 0) scale(1.03); }
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(52px, 9vw, 132px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
}
.hero-title-en { font-style: italic; }
.hero-title-mark {
  color: var(--gold);
  font-weight: 300;
  transform: translateY(-0.1em);
  font-size: 0.55em;
}
.hero-title-cn {
  font-family: var(--serif-cn);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-sub {
  font-family: var(--serif-en);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 28px;
}

.hero-meta {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 56px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 96px;
}

.hero-quote {
  display: inline-block;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
}
.quote-cn {
  font-family: var(--serif-cn);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  top: -56px;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--gold);
  animation: scrollLine 2.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -56px; }
  100% { top: 100%;  }
}


/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
  padding: clamp(96px, 14vw, 180px) 0;
  position: relative;
}
.section-problem { background: var(--ivory); }
.section-method  { background: var(--paper); }
.section-message { background: var(--ivory); }
.section-vision  { background: var(--ivory-soft); }
.section-founder { background: var(--paper); }

.section-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 48px;
}
.section-title.small {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 32px;
}

.method-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  font-style: italic;
}
.method-title .arrow {
  color: var(--gold);
  font-style: normal;
  font-size: 0.7em;
  transform: translateY(-0.1em);
}

.prose {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 60ch;
}
.prose p + p { margin-top: 1.2em; }
.prose-cn {
  font-family: var(--serif-cn);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.prose-cn .cn-title {
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.12em;
  margin-bottom: 1.2em;
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--line);
  margin: 56px 0;
}
.rule.small { margin: 32px 0; }


/* ============================================================
   SECTION 3 — FOUNDATION CARDS
   ============================================================ */
.cards {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(64px, 9vw, 110px);
}
.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  position: relative;
  padding: 40px 36px 44px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color 0.6s var(--ease), transform 0.6s var(--ease),
              background 0.6s var(--ease);
}
.section-method .card { background: var(--ivory); }
.card:hover {
  border-color: var(--gold-faint);
  transform: translateY(-2px);
}
.card-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 26px;
}
.card-title {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--ink);
}
.card-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.card-cn {
  font-family: var(--serif-cn);
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.card-cn span {
  display: block;
  margin-top: 6px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.bridge {
  text-align: center;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink);
  margin: clamp(56px, 7vw, 88px) auto 0;
  max-width: 640px;
  line-height: 1.6;
}
.bridge-cn {
  display: block;
  margin-top: 14px;
  font-family: var(--serif-cn);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

/* process */
.process-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: clamp(80px, 10vw, 130px) 0 36px;
  text-align: center;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 24px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.5s var(--ease);
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: var(--ivory); }
.section-method .process-step:hover { background: var(--paper); }

.step-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 18px;
}
.step-name {
  font-family: var(--serif-en);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
}
.step-cn {
  font-family: var(--serif-cn);
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}

@media (max-width: 720px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) { border-bottom: 1px solid var(--line); }
}


/* ============================================================
   SECTION 4 — FOUNDER MESSAGE + GALLERY
   ============================================================ */
.message-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .message-grid { grid-template-columns: 1fr; }
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, #2c2924 0%, #1a1815 60%, #0f0d0a 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--ivory);
  border: 1px solid var(--line-soft);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(216, 195, 154, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-faint);
  transition: color 0.5s var(--ease), transform 0.5s var(--ease);
}
.video-frame:hover .video-play {
  color: var(--ivory);
  transform: scale(1.04);
}
.video-caption {
  position: relative;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-faint);
  margin: 0;
}

/* archive */
.archive-head {
  margin-top: clamp(96px, 14vw, 160px);
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}
.archive-head .section-label { margin-bottom: 18px; }
.archive-title {
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--ink);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: clamp(12px, 1.5vw, 20px);
}
.g {
  margin: 0;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  grid-row: span 1;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 4; }

.g-frame {
  width: 100%;
  height: 100%;
  background-color: var(--ivory-deep);
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.9) brightness(0.98);
}
.g:hover .g-frame { transform: scale(1.04); filter: saturate(1) brightness(1); }

/* placeholder gradients (replace background-image with real photos) */
.g-frame-1 { background-image: linear-gradient(150deg, #d8c8a8, #8a7a5a 60%, #4a3f30); }
.g-frame-2 { background-image: linear-gradient(135deg, #e9e0cd, #c9b89a 60%, #8a7656); }
.g-frame-3 { background-image: linear-gradient(160deg, #2a2622, #4a4239 70%, #6e604a); }
.g-frame-4 { background-image: linear-gradient(120deg, #c9b89a, #a39074 50%, #4a3f30 100%); }
.g-frame-5 { background-image: linear-gradient(135deg, #efe8da, #b08d57 100%); }
.g-frame-6 { background-image: linear-gradient(150deg, #1c1a17, #3a3631 60%, #6a6259); }

.g figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ivory);
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.g:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g, .g-tall, .g-wide { grid-column: span 1; grid-row: span 1; }
  .g-tall { grid-row: span 2; }
  .g-wide { grid-column: span 2; }
}


/* ============================================================
   SECTION 5 — VISION
   ============================================================ */
.report,
.future {
  margin: 48px 0;
  padding: 36px 40px;
  background: var(--paper);
  border-left: 2px solid var(--gold);
}
.report-label,
.future-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.report-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 32px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.report-list li {
  position: relative;
  padding-left: 18px;
}
.report-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}
.future-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  color: var(--ink);
}
.future-list li { display: flex; gap: 14px; }
.future-list span { color: var(--gold); }


/* ============================================================
   SECTION 6 — FOUNDER + CONTACT
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 880px) {
  .founder-grid { grid-template-columns: 1fr; }
}
.founder-portrait { position: sticky; top: 100px; }
@media (max-width: 880px) { .founder-portrait { position: static; } }

.portrait-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(160deg, #d8c8a8 0%, #b08d57 50%, #5a4a35 100%);
  border: 1px solid var(--line-soft);
}
.portrait-name {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portrait-name .p-en {
  font-family: var(--serif-en);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.portrait-name .p-cn {
  font-family: var(--serif-cn);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
}

/* invitation */
.invite {
  margin-top: clamp(96px, 13vw, 160px);
  padding-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.invite-head {
  text-align: center;
  margin-bottom: 56px;
}
.invite-head .section-label { margin-bottom: 18px; }
.invite-title {
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 18px;
  color: var(--ink);
}
.invite-title span {
  display: block;
  font-family: var(--serif-cn);
  font-style: normal;
  font-size: 16px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin-top: 8px;
}
.invite-note {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

.invite-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  max-width: 640px;
  margin: 0 auto;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }

.field-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.field-label em {
  font-family: var(--serif-cn);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

.field input,
.field textarea {
  font-family: var(--serif-en);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 12px;
  outline: none;
  transition: border-color 0.4s var(--ease);
  resize: none;
}
.field textarea { line-height: 1.6; min-height: 100px; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--gold); }

.field-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.field-thanks {
  font-family: var(--serif-en);
  font-style: italic;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.field-thanks span {
  display: block;
  font-family: var(--serif-cn);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-top: 6px;
}

@media (max-width: 600px) {
  .invite-form { grid-template-columns: 1fr; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 80px 0 60px;
  background: var(--ink);
  color: var(--ivory);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: end;
}
.footer-brand .f-en {
  font-family: var(--serif-en);
  font-size: 26px;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}
.footer-brand .f-cn {
  font-family: var(--serif-cn);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--gold-faint);
  margin: 0;
}
.footer-mid { text-align: center; }
.footer-end { text-align: right; }

.f-line {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.f-line.subtle {
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .footer-mid, .footer-end { text-align: left; }
}


/* ============================================================
   FADE-IN
   ============================================================ */
[data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
[data-fade].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-fade] { opacity: 1; transform: none; transition: none; }
  .hero-mist, .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}
