/* ===========================================================
   DAL·IΛ — ΑΡΧΗ
   Warm editorial dark. One accent (brass), used generously:
   soft glow, fine grain, quiet motion — richer, still restrained.
   =========================================================== */

:root {
  --ink: #040404;
  --ink-raised: #0a0908;
  --panel: #110f0d;
  --line: rgba(230, 224, 212, 0.07);
  --line-strong: rgba(230, 224, 212, 0.16);

  --paper: #efe9dc;
  --paper-dim: #8d8679;
  --paper-faint: #4c4740;

  --brass: #c49a5a;
  --brass-soft: rgba(196, 154, 90, 0.13);
  --brass-line: rgba(196, 154, 90, 0.36);
  --brass-glow: rgba(196, 154, 90, 0.28);

  --serif: "Newsreader", serif;
  --display: "Cormorant", serif;
  --sans: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  background: radial-gradient(ellipse 60% 45% at 85% -4%, rgba(196, 154, 90, 0.05), transparent 60%), var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFade 0.7s ease both;
}
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body { animation: none; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; padding: 0; text-align: left; }
b { font-weight: 500; }
.sc { font-variant: small-caps; letter-spacing: 0.02em; }
.accent { color: var(--brass); font-weight: 500; }

::selection { background: var(--brass-soft); color: var(--paper); }
:focus-visible { outline: 1px solid var(--brass-line); outline-offset: 3px; }

#starfield { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; opacity: 0.7; }
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > *:not(#starfield):not(.grain):not(.site-nav) { position: relative; z-index: 1; }

@media (max-width: 760px) {
  /* mix-blend-mode forces a full-viewport recomposite every time anything beneath it
     animates (the starfield canvas, the moon); on low-power phones that's the main
     source of scroll jank, so swap it for a plain low-opacity overlay on small screens. */
  .grain { mix-blend-mode: normal; opacity: 0.03; }
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Hero entrance (load-time, not scroll-triggered) ---- */
.reveal-up { opacity: 0; transform: translateY(16px); animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal-up.d-1 { animation-delay: 0.05s; }
.reveal-up.d-2 { animation-delay: 0.16s; }
.reveal-up.d-3 { animation-delay: 0.28s; }
.reveal-up.d-4 { animation-delay: 0.4s; }
.reveal-up.d-5 { animation-delay: 0.52s; }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .reveal-up { animation: none; opacity: 1; transform: none; } }

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 30px; transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled { background: rgba(7, 6, 11, 0.86); backdrop-filter: blur(10px); padding: 15px 30px; border-bottom-color: var(--line); }
@media (max-width: 760px) {
  /* backdrop-filter re-samples the page behind a fixed element on every scroll frame —
     expensive on phones. A near-opaque solid background reads the same without the cost. */
  .site-nav.is-scrolled { background: rgba(7, 6, 11, 0.96); backdrop-filter: none; }
}
.nav-mark { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.03em; color: var(--paper); transition: opacity 0.2s; }
.nav-mark:hover { opacity: 0.8; }
.nav-mark span { color: var(--brass); }
.nav-links { display: flex; gap: 34px; font-size: 0.88rem; }
.nav-links a { position: relative; color: var(--paper-dim); transition: color 0.2s; padding-bottom: 4px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--brass-line); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--brass); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; flex-direction: column; gap: 6px; width: 20px; }
.nav-toggle span { display: block; height: 1px; background: var(--paper); width: 100%; transition: all 0.25s; }
.nav-toggle.is-active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.is-active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; z-index: 101; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 72vw; max-width: 320px;
    background: #0c0a08; flex-direction: column; justify-content: center;
    align-items: flex-start; gap: 26px; padding: 0 40px; transform: translateX(100%);
    transition: transform 0.35s ease; border-left: 1px solid var(--line);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 30px 70px; max-width: 1240px; margin: 0 auto; overflow: hidden;
}
.hero-orbit { position: absolute; top: 50%; right: -2%; width: clamp(260px, 36vw, 540px); height: clamp(260px, 36vw, 540px); transform: translateY(-50%); pointer-events: none; z-index: 0; opacity: 0.9; }
.hero-ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; opacity: 0.5; }
.hero-ring-1 { animation: spin 200s linear infinite; }
.hero-ring-1::before { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--paper-faint); opacity: 0.6; top: -1.5px; left: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-ring-1 { animation: none; } }

/* ---- The moon: a lit disc with a soft terminator, not flat-bright nor fully eclipsed ---- */
.moon-feature { position: absolute; top: 50%; left: 50%; width: clamp(200px, 26vw, 400px); height: clamp(200px, 26vw, 400px); transform: translate(-50%, -50%); }
.moon-disc {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 32% 28%, #c7a568 0%, #8a6f45 18%, #4a3c27 42%, #201a12 72%, #0a0907 100%);
  box-shadow: 0 0 1px rgba(0,0,0,0.5), 0 0 60px 8px rgba(196,154,90,0.22), 0 0 150px 50px rgba(196,154,90,0.09);
  animation: moonDrift 220s linear infinite;
}
.moon-craters {
  position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: multiply; opacity: 0.65;
  background-image: url("https://res.cloudinary.com/dksgl7zjr/image/upload/v1792649085/dalia_moon_sh6c7z.jpg");
  background-size: 150%; background-position: center; background-repeat: no-repeat;
  filter: sepia(0.3) saturate(1.1) hue-rotate(-10deg) brightness(0.8) contrast(1.1);
}
.moon-shadow {
  position: absolute; inset: -10%; width: 120%; height: 120%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(4,4,4,0.95) 0%, rgba(4,4,4,0.95) 38%,
    rgba(4,4,4,0.85) 52%, rgba(4,4,4,0.5) 66%,
    rgba(4,4,4,0.16) 82%, rgba(4,4,4,0) 96%);
  filter: blur(14px);
  animation: moonPhase 32s ease-in-out infinite;
}
@keyframes moonPhase {
  0%   { transform: translateX(-4%); }
  50%  { transform: translateX(-84%); }
  100% { transform: translateX(-4%); }
}
@keyframes moonDrift { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .moon-disc, .moon-shadow { animation: none; } .moon-shadow { transform: translateX(-44%); } }


.hero-content { position: relative; z-index: 1; max-width: 640px; }
.kicker { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); margin: 0 0 26px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--brass-line); display: inline-block; }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 10vw, 7.6rem); line-height: 1; margin: 0 0 24px;
  color: var(--paper); letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(4, 4, 4, 0.55), 0 0 60px rgba(196, 154, 90, 0.18);
}
.hero-title .dot { color: var(--brass); }
.hero-korean { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--paper-dim); margin: 0 0 32px; }
.hero-korean-sep { opacity: 0.4; font-style: normal; }
.hero-tagline { max-width: 420px; font-family: var(--display); font-size: 1.3rem; font-style: italic; line-height: 1.6; color: var(--paper); margin: 0 0 38px; }
.hero-meta { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--paper-faint); }
.hero-meta-sep { color: var(--brass); opacity: 0.6; margin: 0 2px; }

.audio-toggle {
  position: absolute; bottom: 36px; left: 30px; z-index: 1;
  display: flex; align-items: center; gap: 11px; padding: 11px 20px;
  border: 1px solid var(--brass-line); color: var(--paper);
  background: var(--brass-soft);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.audio-toggle:hover { color: var(--brass); border-color: var(--brass); background: var(--brass-soft); }
.audio-toggle.is-playing { color: var(--brass); border-color: var(--brass-line); background: transparent; }

/* Inviting pulse lives on its own pseudo-element so it can be switched off on play
   without touching (and restarting) the button's own reveal-up entrance animation. */
.audio-toggle::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  animation: audioInvite 2.4s ease-in-out 2.2s infinite;
}
.audio-toggle.is-playing::before { animation: none; }
@keyframes audioInvite {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 154, 90, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(196, 154, 90, 0); }
}

.audio-bars { display: flex; align-items: flex-end; gap: 2.5px; width: 13px; height: 12px; }
.audio-bars i { display: block; width: 2.5px; background: currentColor; border-radius: 1px; height: 4px; }
.audio-toggle.is-playing .audio-bars i { animation: audioBar 0.9s ease-in-out infinite; }
.audio-bars i:nth-child(1) { animation-delay: -0.6s; }
.audio-bars i:nth-child(2) { animation-delay: -0.3s; }
.audio-bars i:nth-child(3) { animation-delay: 0s; }
@keyframes audioBar { 0%, 100% { height: 4px; } 50% { height: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .audio-bars i { animation: none !important; }
  .audio-toggle::before { animation: none; }
}

@media (max-width: 640px) {
  /* Centered via auto margins, not a transform: the entrance animation (forwards-filled)
     permanently owns the transform property on this element, so a translateX here would
     silently be discarded once that animation completes. */
  .audio-toggle { left: 16px; right: 16px; width: max-content; margin: 0 auto; }
}

@media (max-width: 640px) {
  .hero { min-height: 86vh; padding-top: 110px; }
  .hero-orbit {
    top: 30%; left: 50%; right: auto; transform: translate(-50%, -50%);
    width: 86vw; height: 86vw; opacity: 1;
  }
  .hero-ring { display: none; }
  .moon-feature { width: 100%; height: 100%; }
  .moon-disc {
    background: radial-gradient(circle at 34% 30%, #dcb878 0%, #a9854f 20%, #5e4a2d 46%, #241c13 76%, #0a0907 100%);
    box-shadow: 0 0 1px rgba(0,0,0,0.5), 0 0 70px 14px rgba(196,154,90,0.3), 0 0 160px 60px rgba(196,154,90,0.14);
  }
  .moon-craters { opacity: 0.7; filter: sepia(0.3) saturate(1.1) hue-rotate(-10deg) brightness(0.95) contrast(1.1); }
  .moon-shadow {
    background: radial-gradient(circle at 50% 50%,
      rgba(4,4,4,0.92) 0%, rgba(4,4,4,0.92) 34%,
      rgba(4,4,4,0.78) 50%, rgba(4,4,4,0.42) 64%,
      rgba(4,4,4,0.12) 80%, rgba(4,4,4,0) 94%);
  }
  .hero-content { text-align: center; max-width: 100%; }
  .kicker, .hero-era-row { justify-content: center; }
  .kicker::before { display: none; }
  .hero-tagline { max-width: 100%; margin-left: auto; margin-right: auto; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section { padding: 100px 0; max-width: 1080px; margin: 0 auto; padding-left: 28px; padding-right: 28px; scroll-margin-top: 90px; }
.member-card { scroll-margin-top: 110px; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.section-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--brass); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--paper); margin: 0; }
.section-intro { max-width: 540px; color: var(--paper-dim); font-size: 1.02rem; margin: 0 0 52px; }

.wrap { max-width: 1080px; margin: 0 auto; }
.wrap.narrow { max-width: 620px; }

/* =========================================================
   00 — AION
   ========================================================= */
.myth { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--paper); line-height: 1.75; margin: 0 0 30px; }
.myth b { color: var(--paper); }

.myth-lead::first-letter {
  font-family: var(--display); font-size: 3.6em; line-height: 0.78; font-weight: 500; color: var(--brass);
  float: left; margin: 0.03em 0.1em 0 0;
}

.myth-divider { display: flex; justify-content: center; margin: 44px 0; color: var(--paper-faint); opacity: 0.7; }
.myth-divider .phase-glyph { width: 28px; height: 28px; }

.myth-final {
  font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--brass);
  line-height: 1.6; padding-left: 22px; border-left: 2px solid var(--brass-line); margin-top: 44px;
}
.myth-final .sc { color: var(--brass); }

@media (max-width: 640px) {
  .myth-lead::first-letter { font-size: 2.9em; }
  .myth-divider { margin: 34px 0; }
  .myth-final { padding-left: 16px; margin-top: 34px; }
}

.decode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.decode-item { position: relative; background: var(--ink); padding: 34px 24px; transition: background 0.25s; }
.decode-item::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--brass); transition: width 0.3s ease; }
.decode-item:hover { background: var(--panel); }
.decode-item:hover::before { width: 100%; }
.decode-char { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--paper); margin-bottom: 12px; }
.decode-char i { color: var(--brass); font-size: 0.95rem; margin-left: 8px; font-style: italic; }
.decode-item p { font-size: 0.9rem; color: var(--paper-dim); line-height: 1.6; margin: 0; }
.decode-item p i { color: var(--paper-dim); font-style: italic; }
@media (max-width: 920px) { .decode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .decode-grid { grid-template-columns: 1fr; } }

/* =========================================================
   VIDEO
   ========================================================= */
.video-band { padding: 0 28px 20px; max-width: 1080px; margin: -40px auto 0; display: flex; justify-content: center; }
.video-frame {
  position: relative; width: 100%; max-width: 900px; border: 1px solid var(--line);
  padding: 14px; background: var(--panel); box-shadow: 0 0 70px rgba(212, 169, 104, 0.08);
  transition: border-color 0.3s;
}
.video-frame:hover { border-color: var(--brass-line); }
.video-frame iframe { display: block; width: 100%; height: auto; aspect-ratio: 560 / 314; }
.video-fallback {
  display: block; text-align: center; margin-top: 10px; font-size: 0.76rem;
  letter-spacing: 0.04em; color: var(--paper-faint); transition: color 0.2s;
}
.video-fallback:hover { color: var(--brass); }

/* =========================================================
   01 — THE THREE ORDERS
   ========================================================= */
.order-list { display: flex; flex-direction: column; gap: 0; }
.order-row { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding: 40px 0 40px 20px; border-top: 1px solid var(--line); transition: background 0.3s, padding-left 0.3s; }
.order-row::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--brass); transform: scaleY(0); transition: transform 0.3s ease; }
.order-row:hover { background: linear-gradient(90deg, var(--brass-soft), transparent 60%); padding-left: 26px; }
.order-row:hover::before { transform: scaleY(1); }
.order-row:last-child { border-bottom: 1px solid var(--line); }
.order-row-lost { border-top: 1px dashed var(--line-strong); }
.order-row-lost::before { background: var(--paper-dim); }
.order-glyph { display: flex; justify-content: center; padding-top: 6px; }
.phase-glyph { color: var(--paper-dim); transition: color 0.3s; }
.order-row:hover .phase-glyph { color: var(--brass-line); }
.phase-fill { fill: var(--brass); }
.order-tag { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--brass); display: block; margin-bottom: 10px; }
.order-copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--paper); margin: 0 0 14px; }
.order-copy h3 small { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-dim); margin-top: 6px; font-weight: 400; }
.order-quote { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--brass); margin: 0 0 16px; }
.order-copy p:not(.order-quote):not(.order-cycle) { color: var(--paper-dim); font-size: 0.98rem; line-height: 1.7; max-width: 580px; margin: 0 0 22px; }
.order-cycle { font-family: var(--serif); font-size: 0.92rem; color: var(--paper-dim); line-height: 1.7; max-width: 580px; margin: 0 0 22px; border-left: 1px solid var(--brass-line); padding-left: 16px; }
.order-members { display: flex; flex-wrap: wrap; gap: 8px; }
.order-members a { display: flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--paper); padding: 6px 13px; border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.order-members a:hover { border-color: var(--brass-line); color: var(--brass); background: var(--brass-soft); }
.order-members a span { font-size: 0.68rem; color: var(--brass); }

@media (max-width: 680px) { .order-row { grid-template-columns: 1fr; text-align: center; } .order-glyph { justify-content: center; } .order-members { justify-content: center; } .order-cycle { border-left: none; border-top: 1px solid var(--brass-line); padding-left: 0; padding-top: 14px; } }

/* =========================================================
   GROUP PHOTO BAND
   ========================================================= */
.group-band { position: relative; width: 100%; height: 60vh; min-height: 360px; overflow: hidden; }
.group-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.group-band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,4,3,0.15) 0%, rgba(5,4,3,0.92) 100%); }
.group-band-caption { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 2vw, 1.3rem); color: var(--paper); }

/* =========================================================
   02 — THE TWELVE
   ========================================================= */
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member-card { perspective: 1200px; aspect-ratio: 3 / 4; display: block; width: 100%; }
.member-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s ease; transform-style: preserve-3d; }
.member-card.is-flipped .member-card-inner { transform: rotateY(180deg); }
.member-card-face { position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden; border: 1px solid var(--line); }
.member-card-front { background: var(--panel); display: flex; flex-direction: column; transition: border-color 0.25s, box-shadow 0.25s; }
.member-card:hover .member-card-front { border-color: var(--brass-line); box-shadow: 0 10px 40px -10px rgba(212, 169, 104, 0.25); }
.card-photo-wrap { position: relative; flex: 1; overflow: hidden; }
.card-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.member-card:hover .card-photo-wrap img { transform: scale(1.05); }
.card-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,4,3,0.94) 100%); }
.card-front-footer { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 9px; padding: 13px; }
.card-phase-icon { color: var(--paper); flex-shrink: 0; }
.card-front-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-name { font-family: var(--serif); font-size: 1.08rem; color: var(--paper); }
.card-order-label { font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper-dim); margin-top: 2px; }
.card-code { font-size: 0.66rem; color: var(--brass); white-space: nowrap; flex-shrink: 0; }

.member-card-back { background: var(--ink-raised); transform: rotateY(180deg); padding: 22px 18px; display: flex; flex-direction: column; justify-content: center; text-align: center; box-shadow: inset 0 0 60px rgba(196, 154, 90, 0.06); }
.card-back-code { font-size: 0.64rem; color: var(--brass); letter-spacing: 0.06em; margin-bottom: 10px; }
.card-back-echo { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--paper); margin-bottom: 4px; }
.card-back-title { font-size: 0.68rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 14px; }
.card-back-flavor { font-family: var(--serif); font-size: 0.86rem; color: var(--paper-dim); line-height: 1.55; margin: 0 0 14px; }
.card-back-footer { display: flex; justify-content: center; gap: 10px; font-size: 0.72rem; color: var(--paper); margin-bottom: 8px; flex-wrap: wrap; }
.card-back-footer span:first-child { font-style: italic; }
.card-meta { display: flex; justify-content: center; gap: 7px; font-size: 0.68rem; color: var(--paper-dim); }
.dot { opacity: 0.5; }

@media (max-width: 920px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .member-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 520px) {
  .member-grid { grid-template-columns: 1fr; gap: 14px; }
  .member-card { aspect-ratio: 4 / 5; }
  .card-name { font-size: 1.1rem; }
  .card-front-footer { padding: 14px 16px; gap: 10px; }
  .card-order-label { font-size: 0.64rem; }
  .card-code { font-size: 0.68rem; }
}

/* =========================================================
   03 — ROLLOUT TIMELINE
   ========================================================= */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 5px; width: 1px; background: linear-gradient(180deg, var(--brass-line), var(--line) 85%, transparent); }
.timeline-item { position: relative; padding: 0 0 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -36px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--brass-line); }
.timeline-item.is-lead .timeline-dot, .timeline-item.is-group .timeline-dot { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 10px 2px var(--brass-glow); animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 10px 2px var(--brass-glow); } 50% { box-shadow: 0 0 16px 5px var(--brass-glow); } }
@media (prefers-reduced-motion: reduce) { .timeline-item.is-lead .timeline-dot, .timeline-item.is-group .timeline-dot { animation: none; } }
.timeline-date { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--brass); display: block; margin-bottom: 8px; }
.timeline-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.timeline-name { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--paper); }
.timeline-item.is-lead .timeline-name { color: var(--brass); font-style: italic; }
.timeline-order { font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--paper-dim); border: 1px solid var(--line); padding: 3px 10px; border-radius: 2px; }
.timeline-note { color: var(--paper-dim); font-size: 0.92rem; margin: 6px 0 12px; }
.timeline-members { display: flex; gap: 8px; flex-wrap: wrap; }
.timeline-members span { font-size: 0.82rem; color: var(--paper); border: 1px solid var(--line); padding: 4px 11px; }
.timeline-members span.is-all { color: var(--brass); border-color: var(--brass-line); }

@media (max-width: 620px) { .timeline { padding-left: 28px; } .timeline-dot { left: -28px; } }

.timeline-item.is-soon { padding-top: 2px; }
.timeline-dot-soon { border-style: dashed; animation: dotPulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .timeline-dot-soon { animation: none; } }
.timeline-soon { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--paper-dim); margin: 2px 0 0; }
.timeline-soon .accent { font-style: normal; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; padding: 90px 24px 46px; text-align: center; border-top: 1px solid var(--line); }
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 140px; height: 1px; transform: translateX(-50%);
  background: var(--brass-line);
}
.footer-logo { height: 76px; width: auto; margin: 0 auto 26px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(212, 169, 104, 0.14)); }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--paper); font-size: 1.12rem; margin-bottom: 26px; }
@media (max-width: 560px) { .footer-logo { height: 58px; } }
.footer-links { font-size: 0.88rem; color: var(--paper-dim); margin-bottom: 28px; }
.footer-links a:hover { color: var(--brass); }
.footer-dot { margin: 0 12px; opacity: 0.5; }
.footer-disclaimer { max-width: 540px; margin: 0 auto 20px; font-size: 0.78rem; color: var(--paper-dim); line-height: 1.65; opacity: 0.75; }
.footer-meta { font-size: 0.72rem; color: var(--paper-dim); opacity: 0.5; }
