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

:root {
  /* palette — cool limestone, charcoal, bronze gold */
  --paper:        #f0ece2;
  --ivory:        #e6e0d0;
  --ivory-soft:   #d6cdb7;
  --ivory-deep:   #c0b59c;

  --ink:          #1b1916;
  --ink-soft:     #3a3631;
  --ink-mute:     #6c645a;
  --ink-faint:    #a8a092;

  --gold:         #9c7128;
  --gold-faint:   #e0c486;

  /* sea-deep — the one cool note in the palette, used only in Method */
  --abyss:        #0e141a;
  --abyss-soft:   #18212c;

  --line:         rgba(28, 26, 23, 0.14);
  --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;
  --serif-ja: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  --sans:     "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* layout */
  --shell-max: 1120px;
  --narrow-max: 800px;
  --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; scroll-padding-top: 96px; }
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="en"] .lang-ja,
html[data-lang="zh"] .lang-en,
html[data-lang="zh"] .lang-ja,
html[data-lang="ja"] .lang-en,
html[data-lang="ja"] .lang-zh { display: none !important; }

.lang-zh {
  font-family: var(--serif-cn);
  font-style: normal; /* defeat italic inherited from EN-styled parents */
}
.lang-ja {
  /* Latin chars (e.g. "Sea of Light" or untranslated fallback) fall through
     to Cormorant first; Japanese glyphs are picked up by Noto Serif JP. */
  font-family: "Cormorant Garamond", "Garamond", var(--serif-ja);
  font-style: normal;
}

/* 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(20, 17, 14, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(216, 195, 154, 0.16);
  color: var(--ivory);
  overflow: hidden;
}

/* nav: shared paper grain + slow gold sheen drifting across */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  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.86' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.62  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.nav::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -50%;
  width: 200%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    100deg,
    transparent 35%,
    rgba(234, 208, 160, 0.13) 48%,
    rgba(234, 208, 160, 0.22) 50%,
    rgba(234, 208, 160, 0.13) 52%,
    transparent 65%
  );
  animation: nav-sheen 16s linear infinite;
}
@keyframes nav-sheen {
  0%   { transform: translateX(-30%); }
  100% { transform: translateX(30%);  }
}
.nav > .brand,
.nav > .nav-links { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .nav::after { animation: none; }
}
.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;
  color: var(--ivory);
}
.brand-divider {
  color: var(--gold-faint);
  font-size: 14px;
  transform: translateY(-1px);
}
.brand-cn {
  font-family: var(--serif-cn);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 231, 0.7);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.78);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.4s var(--ease);
}
.nav-links a:hover { color: var(--gold-faint); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-faint);
  transition: right 0.5s var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  color: var(--ivory) !important;
  border: 1px solid rgba(224, 196, 134, 0.32);
  border-radius: 999px;
  padding: 8px 18px !important;
}
.nav-cta:hover { border-color: var(--gold-faint); color: var(--gold-faint) !important; }
.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 rgba(216, 195, 154, 0.25);
  border-radius: 999px;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 231, 0.55);
  transition: border-color 0.4s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold-faint); }
.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-ja {
  font-family: var(--serif-ja);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.lang-toggle .lt-divider {
  color: rgba(246, 241, 231, 0.3);
  font-weight: 300;
}
html[data-lang="en"] .lang-toggle .lt-en,
html[data-lang="zh"] .lang-toggle .lt-zh,
html[data-lang="ja"] .lang-toggle .lt-ja {
  color: var(--ivory);
}

@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); }
}

/* paper grain — fine, almost invisible texture across the hero */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11  0 0 0 0 0.10  0 0 0 0 0.09  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* single ink brushstroke — deep, muted, drifting under the title */
.hero-stroke {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  width: 100%;
  height: 70%;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  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;
}
/* shared paper grain on every light section — keeps backgrounds breathing */
.section:not(.section-method):not(.section-vision)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  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.88' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.11  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.section > * { position: relative; z-index: 1; }

.section-problem {
  background:
    radial-gradient(900px 600px at 80% 0%, rgba(212, 202, 180, 0.35), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%);
}
.section-method  {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(176, 141, 87, 0.08), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(120, 150, 180, 0.05), transparent 65%),
    linear-gradient(180deg, var(--abyss) 0%, var(--abyss-soft) 50%, var(--abyss) 100%);
  color: var(--ivory);
}
.section-method::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.62  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
.section-method > * { position: relative; }

/* dark-section text & accents */
.section-method .section-title { color: var(--ivory); }
.section-method .prose,
.section-method .prose-cn {
  color: rgba(246, 241, 231, 0.72);
}
.section-method .bridge { color: var(--ivory); }
.section-method .bridge .bridge-cn { color: var(--gold-faint); }

/* cards on dark */
.section-method .card {
  background: rgba(246, 241, 231, 0.04);
  border-color: rgba(216, 195, 154, 0.2);
}
.section-method .card:hover {
  background: rgba(246, 241, 231, 0.07);
  border-color: var(--gold-faint);
}
.section-method .card-title { color: var(--ivory); }
.section-method .card-body { color: rgba(246, 241, 231, 0.86); }

/* process row on dark */
.section-method .process {
  border-top-color: rgba(216, 195, 154, 0.22);
  border-bottom-color: rgba(216, 195, 154, 0.22);
}
.section-method .process-step {
  border-right-color: rgba(216, 195, 154, 0.14);
}
.section-method .process-step:hover {
  background: rgba(246, 241, 231, 0.03);
}
.section-method .step-name { color: var(--ivory); }
.section-method .step-cn   { color: rgba(246, 241, 231, 0.55); }

/* dark-section gold accents — use the brighter gold-faint on ink */
.section-method .card-num,
.section-method .step-num,
.section-method .process-label,
.section-method .method-title .arrow {
  color: var(--gold-faint);
}

.section-message {
  background:
    radial-gradient(700px 500px at 0% 50%, rgba(164, 130, 79, 0.05), transparent 60%),
    var(--paper);
}
.section-vision  {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(176, 141, 87, 0.10), transparent 60%),
    radial-gradient(700px 500px at 20% 90%, rgba(176, 141, 87, 0.05), transparent 65%),
    linear-gradient(180deg, var(--ink) 0%, #221d18 50%, var(--ink) 100%);
  color: var(--ivory);
}
.section-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.62  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
.section-vision > * { position: relative; }

/* dark-section text and accents within Vision */
.section-vision .section-title { color: var(--ivory); }
.section-vision .prose,
.section-vision .prose-cn { color: rgba(246, 241, 231, 0.72); }
.section-vision .section-label,
.section-vision .report-label,
.section-vision .future-label,
.section-vision .field-note-label { color: var(--gold-faint); }
.section-vision .report,
.section-vision .future {
  background: rgba(246, 241, 231, 0.04);
  border: 1px solid rgba(216, 195, 154, 0.16);
  border-left: 2px solid var(--gold);
}
.section-vision .report-list,
.section-vision .future-list { color: var(--ivory); }
.section-vision .report-list li::before { color: var(--gold-faint); }
.section-vision .future-list span { color: var(--gold-faint); }
.section-vision .field-note {
  border-top-color: rgba(216, 195, 154, 0.22);
}
.section-vision .field-note .prose p { color: rgba(246, 241, 231, 0.72); }
.section-vision .dignity-block {
  background: rgba(246, 241, 231, 0.05);
  border: 1px solid rgba(216, 195, 154, 0.16);
  border-left: 2px solid var(--gold);
}
.section-vision .dignity-headline { color: var(--ivory); }
.section-vision .dignity-block .prose,
.section-vision .dignity-block .prose-cn { color: rgba(246, 241, 231, 0.78); }
.section-founder {
  background:
    radial-gradient(800px 600px at 100% 0%, rgba(212, 202, 180, 0.4), transparent 65%),
    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;
}

/* epigraph — moved Hero quote, opens Method section */
.epigraph {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: rgba(246, 241, 231, 0.78);
  max-width: 56ch;
  margin: 0 0 56px;
  padding-left: 1.2em;
  border-left: 1px solid rgba(216, 195, 154, 0.3);
}
.epigraph .lang-zh {
  font-style: normal;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--gold-faint);
}

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

/* method-core — always-visible 松 → 理 → 生 row beneath the method title */
.method-core {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px;
  font-family: var(--serif-cn);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin: 18px 0 0;
}
.method-core .arrow {
  color: var(--gold);
  font-style: normal;
  font-size: 0.7em;
  font-family: var(--sans);
  transform: translateY(-0.15em);
}
.section-method .method-core { color: var(--ivory); }

/* principles — 松 / 理 / 生 with short explanations */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(40px, 5vw, 64px) 0;
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.principle-mark {
  font-family: var(--serif-cn);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.principle-text {
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.principle-text .lang-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 1.02em;
}
.section-method .principle-text { color: rgba(246, 241, 231, 0.78); }
.section-method .principle-mark { color: var(--gold-faint); }

@media (max-width: 720px) {
  .principles {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .principle {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .principle-mark {
    font-size: 36px;
    flex: 0 0 auto;
    min-width: 42px;
    text-align: center;
  }
  .principle-text {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* method-diagram — soft gold infinity image, quiet visual anchor */
.method-diagram {
  display: block;
  margin: clamp(20px, 2.5vw, 36px) auto clamp(32px, 4vw, 56px);
  max-width: 460px;
  width: 100%;
  height: auto;
  opacity: 0.95;
}
.section-method .method-diagram { opacity: 0.88; }

/* cover image — used by Cross-cultural Practice cards */
.card-image {
  margin: -40px -36px 28px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-deep);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.92) brightness(0.98);
}
.card:hover .card-image img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

/* expandable card — used by Cross-cultural Practice cards */
.card-detail {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.card-detail summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  user-select: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(173, 125, 42, 0.32);
  border-radius: 999px;
  background: transparent;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
              background 0.4s var(--ease), transform 0.4s var(--ease);
}
.card-detail summary:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(28, 26, 23, 0.04);
}
.card-detail[open] summary {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(28, 26, 23, 0.04);
}
.card-detail summary:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 196, 134, 0.35);
}
.card-detail summary::-webkit-details-marker { display: none; }
.card-detail summary::marker { content: ""; }
.card-detail[open] summary .card-toggle-open,
.card-detail .card-toggle-close { display: none; }
.card-detail[open] summary .card-toggle-close { display: inline; }

.card-body-detail {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.card-body-detail p { margin: 0 0 1em; }
.card-body-detail p:last-child { margin-bottom: 0; }
.card-body-detail em { font-style: italic; }

/* sub-place heading inside expanded card (Italy / Luxembourg / France · Besançon) */
.card-place {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.6em 0 0.6em;
  font-weight: 400;
}
.card-place:first-child { margin-top: 0; }
.lang-zh .card-place,
.lang-ja .card-place {
  font-family: var(--serif-en), var(--serif-cn);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: none;
}

/* gentle reveal on open */
.card-detail[open] > .card-body-detail {
  animation: cardReveal 0.6s var(--ease) both;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .card-detail[open] > .card-body-detail { animation: none; }
}

/* practice gallery — auto-scrolling looped strip with click-to-enlarge */
.practice-gallery-wrap {
  position: relative;
  overflow: hidden;
  margin: clamp(48px, 5.5vw, 72px) 0 0;
}
.practice-gallery-wrap::before,
.practice-gallery-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 12px;
  width: clamp(20px, 4vw, 48px);
  pointer-events: none;
  z-index: 2;
}
.practice-gallery-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--ivory), rgba(230, 224, 208, 0));
}
.practice-gallery-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--ivory), rgba(230, 224, 208, 0));
}
.practice-gallery {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  width: max-content;
  padding: 4px 0 14px;
  will-change: transform;
}
.pg-tile {
  flex: 0 0 auto;
  height: clamp(180px, 20vw, 260px);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: var(--ivory-deep);
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.pg-tile::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(224, 196, 134, 0);
  transition: border-color 0.5s var(--ease);
}
.pg-tile:hover,
.pg-tile:focus-visible {
  box-shadow: 0 14px 34px rgba(28, 26, 23, 0.14);
  transform: translateY(-2px);
  z-index: 1;
}
.pg-tile:hover::after,
.pg-tile:focus-visible::after {
  border-color: rgba(224, 196, 134, 0.4);
}
.pg-tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.pg-tile img {
  height: 100%;
  width: auto;
  display: block;
  filter: saturate(0.92) brightness(0.99);
  transition: transform 1s var(--ease), filter 0.5s var(--ease);
  pointer-events: none;
}
.pg-tile:hover img,
.pg-tile:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.02) brightness(1);
}
@media (max-width: 540px) {
  .pg-tile { height: clamp(150px, 42vw, 220px); }
}

/* lightbox — click-to-enlarge dialog */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  color: var(--ivory);
  inset: 0;
}
.lightbox::backdrop {
  background: rgba(20, 17, 14, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.lightbox-btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(216, 195, 154, 0.4);
  background: rgba(20, 17, 14, 0.6);
  color: var(--ivory);
  font-family: var(--serif-en);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  z-index: 10;
}
.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  background: rgba(173, 125, 42, 0.4);
  border-color: var(--gold-faint);
  color: var(--gold-faint);
  outline: none;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 540px) {
  .lightbox-btn { width: 40px; height: 40px; font-size: 18px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev  { left: 12px; }
  .lightbox-next  { right: 12px; }
}

.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));
  align-items: start;
}

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

.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%;
  margin: 0;
  background: #14120f;
  border: 1px solid var(--line-soft);
}
.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #14120f;
}

/* 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); }

/* field-note — discreet case reflection in Vision section */
.field-note {
  margin: clamp(56px, 7vw, 80px) 0 clamp(32px, 4vw, 48px);
  padding-top: clamp(36px, 4vw, 48px);
  border-top: 1px solid var(--line);
  max-width: 62ch;
}
/* when the field-note carries an image, place it beside the text */
.field-note:has(.field-note-image) {
  max-width: 900px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.1fr;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.field-note:has(.field-note-image) > .field-note-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.field-note:has(.field-note-image) > .field-note-image {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.field-note:has(.field-note-image) > .prose {
  grid-column: 2;
  grid-row: 2;
  max-width: none;
}
@media (max-width: 720px) {
  .field-note:has(.field-note-image) {
    grid-template-columns: 1fr;
    max-width: 62ch;
  }
  .field-note:has(.field-note-image) > .field-note-image,
  .field-note:has(.field-note-image) > .prose {
    grid-column: 1;
    grid-row: auto;
  }
}
.field-note-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 24px;
}
.field-note .prose p {
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.85;
}
.field-note .prose-cn p,
.field-note .prose.lang-ja p {
  font-style: normal;
  color: var(--ink-soft);
}

/* ============================================================
   PRIVATE EXPERIENCES — the actual offering, framed
   ============================================================ */
.private-offering {
  margin: clamp(80px, 10vw, 120px) auto clamp(56px, 7vw, 88px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  text-align: center;
  max-width: 760px;
}
.private-eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.private-sub {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-mute);
  margin: 0 auto 56px;
  max-width: 52ch;
  line-height: 1.6;
}
.private-sub .lang-zh,
.private-sub .lang-ja { font-style: normal; }

.private-entry {
  display: block;
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 76px) clamp(40px, 5vw, 64px) clamp(40px, 5vw, 56px);
  background:
    radial-gradient(500px 280px at 50% 0%, rgba(173, 125, 42, 0.09), transparent 70%),
    var(--paper);
  border: 1px solid rgba(173, 125, 42, 0.30);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 30px 64px rgba(28, 26, 23, 0.12);
  position: relative;
}
.private-entry::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(173, 125, 42, 0.22);
  pointer-events: none;
}
.private-title {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.2;
}
.private-title .lang-zh,
.private-title .lang-ja { font-style: normal; }
.private-contribution {
  font-family: var(--serif-en);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 auto 22px;
  display: inline-block;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(173, 125, 42, 0.28);
}
.private-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-mute);
  margin: 0;
}
.private-extension {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 40px auto 0;
  max-width: 52ch;
}
.private-extension .lang-zh,
.private-extension .lang-ja { font-style: normal; }


/* ============================================================
   DIGNITY — youth/social vision callout
   ============================================================ */
.dignity-block {
  margin: clamp(56px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
  background: rgba(246, 241, 231, 0.55);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
}
.dignity-headline {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 56ch;
}
.dignity-headline .lang-zh,
.dignity-headline .lang-ja {
  font-style: normal;
}
.dignity-block .prose {
  max-width: 60ch;
}


/* ============================================================
   ABOVE THE CLOUDS — Shanghai subsection
   ============================================================ */
.cloud-block {
  margin: clamp(72px, 9vw, 120px) 0 0;
  padding: clamp(40px, 5vw, 64px) 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cloud-eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}
.cloud-headline {
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 20px;
}
.cloud-headline .lang-zh,
.cloud-headline .lang-ja {
  font-style: normal;
  letter-spacing: 0.04em;
}
.cloud-sub {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-mute);
  max-width: 56ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cloud-sub .lang-zh,
.cloud-sub .lang-ja { font-style: normal; }

.cloud-detail {
  display: inline-block;
  text-align: left;
  max-width: 62ch;
  margin: 0 auto;
}
.cloud-detail summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  user-select: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(173, 125, 42, 0.32);
  border-radius: 999px;
  margin-bottom: 4px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
              background 0.4s var(--ease);
}
.cloud-detail summary:hover,
.cloud-detail[open] summary {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(28, 26, 23, 0.04);
}
.cloud-detail summary::-webkit-details-marker { display: none; }
.cloud-detail summary::marker { content: ""; }
.cloud-detail[open] summary .cloud-toggle-open,
.cloud-detail .cloud-toggle-close { display: none; }
.cloud-detail[open] summary .cloud-toggle-close { display: inline; }

.cloud-body {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.cloud-detail[open] > .cloud-body {
  animation: cardReveal 0.6s var(--ease) both;
}
.cloud-body .prose {
  max-width: none;
}


/* image accompanying a field note */
.field-note-image {
  margin: 4px 0 32px;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-deep);
  border: 1px solid var(--line-soft);
  position: relative;
  box-shadow: 0 6px 22px rgba(28, 26, 23, 0.08);
  transition: box-shadow 0.7s var(--ease), transform 0.7s var(--ease);
}
.field-note-image::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(224, 196, 134, 0.22);
  transition: border-color 0.6s var(--ease);
}
.field-note-image:hover {
  box-shadow: 0 14px 36px rgba(28, 26, 23, 0.14);
  transform: translateY(-2px);
}
.field-note-image:hover::after {
  border-color: rgba(224, 196, 134, 0.45);
}
.field-note-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.99);
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
}
.field-note-image:hover img {
  transform: scale(1.02);
  filter: saturate(1) contrast(1);
}


/* ============================================================
   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;
  margin: 0;
  overflow: hidden;
  background: var(--ivory-deep);
  border: 1px solid var(--line-soft);
  position: relative;
  box-shadow: 0 14px 36px rgba(28, 26, 23, 0.10);
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(224, 196, 134, 0.22);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: saturate(0.94) brightness(0.99);
}
.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; }
}
