/* ============================================================
   VIRTUE — black / white / gold
   Static brand site. Design system + all page styles.
   ============================================================ */

:root {
  /* Ink + paper */
  --ink:        #0b0b0c;
  --ink-soft:   #141416;
  --ink-panel:  #17171a;
  --paper:      #f7f4ee;   /* warm white */
  --paper-pure: #ffffff;
  --line:       #e7e2d8;   /* hairline on light */
  --line-dark:  rgba(255,255,255,0.10);

  /* Gold */
  --gold:       #c6a15b;
  --gold-light: #e7cc85;
  --gold-deep:  #a6822f;
  --gold-grad:  linear-gradient(135deg, #e7cc85 0%, #c6a15b 48%, #a6822f 100%);

  /* Text */
  --text-dark:   #17150f;   /* on paper */
  --text-muted:  #6c665c;   /* muted on paper */
  --text-light:  #f3efe6;   /* on ink */
  --text-dim:    #a49c8c;   /* muted on ink */

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.pad { padding: clamp(72px, 11vw, 150px) 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
section.dark .eyebrow { color: var(--gold-light); }
section.dark .eyebrow::before { background: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.005em; }
.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  margin: 22px 0 20px;
  max-width: 15ch;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--text-muted);
  max-width: 56ch;
  font-weight: 400;
}
section.dark { background: var(--ink); color: var(--text-light); }
section.dark .lead { color: var(--text-dim); }
section.dark .section-title { color: var(--text-light); }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold-grad);
  color: #1c1608;
  box-shadow: 0 10px 30px -12px rgba(166,130,47,0.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(166,130,47,0.85); }
.btn-ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
  opacity: 0.85;
}
.btn-ghost:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }
section.dark .btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- cross mark ---------- */
.cross { display: inline-block; color: currentColor; }
.cross svg { display: block; width: 100%; height: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 46px);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,12,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-light); }
.brand .cross { width: 15px; height: 26px; color: var(--gold); }
.brand .wordmark {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding-left: 6px;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  color: var(--text-light);
  font-size: 13px; letter-spacing: 0.1em; font-weight: 400;
  text-transform: uppercase; opacity: 0.82;
  position: relative; padding: 4px 0;
  transition: opacity 0.3s, color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold-light); opacity: 1; }
.nav-links a.active::after { width: 100%; }
.nav-cta, .nav-links a.nav-cta {
  padding: 12px 30px; font-size: 12px;
  background: var(--gold-grad);
  color: #1c1608 !important;
  border: 1px solid transparent;
  border-radius: 3px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  opacity: 1;
  box-shadow: 0 8px 22px -10px rgba(166,130,47,0.75);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-links a.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(166,130,47,0.95); color: #1c1608 !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-light); width: 30px; height: 30px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 50% -10%, #1c1a16 0%, var(--ink) 55%);
  color: var(--text-light);
  overflow: hidden;
}
.hero-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: min(58vh, 460px); height: auto;
  color: rgba(198,161,91,0.06);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(198,161,91,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; text-align: center; padding-top: 120px; padding-bottom: 60px; }
.hero .cross-lg { width: 26px; height: 46px; color: var(--gold); margin: 0 auto 30px; }
.hero .kicker {
  font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 26px; font-weight: 500;
}
.hero h1 { margin: 0 auto; }
.hero .brandline {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; line-height: 1;
}
.hero .tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  color: var(--text-light); font-weight: 300;
  margin-top: 18px;
}
.hero .sub {
  max-width: 46ch; margin: 30px auto 0;
  color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.hero .hero-cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.hero .scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); display: block; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{opacity:.3; transform:scaleY(.7)} 50%{opacity:1; transform:scaleY(1)} }

/* ============================================================
   INTRO / statement
   ============================================================ */
.statement { text-align: center; }
.statement .big {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 400; line-height: 1.32;
  max-width: 22ch; margin: 26px auto 0; letter-spacing: -0.01em;
}
.statement .big b { font-weight: 500; }
.rule-c { width: 46px; height: 1px; background: var(--gold); margin: 40px auto 0; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  position: relative; text-align: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% -25%, #1c1a16 0%, var(--ink) 62%);
  color: var(--text-light);
  padding: clamp(150px, 22vh, 240px) 0 clamp(70px, 11vh, 120px);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero .glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(198,161,91,0.12) 0%, transparent 62%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .cross { width: 20px; height: 34px; color: var(--gold); margin: 0 auto 24px; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); letter-spacing: -0.01em; }
.page-hero p.ph-sub { color: var(--text-dim); max-width: 54ch; margin: 20px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }

/* ============================================================
   PILLARS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 58px; }
.card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  padding: 44px 34px;
  border-radius: 4px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20,16,6,0.28); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
a.card { display: block; text-decoration: none; color: inherit; }
.card .idx { font-family: var(--serif); font-size: 1rem; color: var(--gold-deep); letter-spacing: 0.2em; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.card-more .arrow { transition: transform 0.4s var(--ease); }
.card:hover .card-more { color: var(--gold); }
.card:hover .card-more .arrow { transform: translateX(4px); }
.card .cico { width: 34px; height: 34px; color: var(--gold); margin: 20px 0 22px; }
.card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   FEATURE (portal) — split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.rev .split-media { order: 2; }
.feature-list { list-style: none; margin-top: 34px; }
.feature-list li {
  display: flex; gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.feature-list .fi-mark { color: var(--gold); flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; }
.feature-list h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--text-light); letter-spacing: 0.01em; }
.feature-list p { color: var(--text-dim); font-size: 0.96rem; margin-top: 3px; }

/* Portal visual: a stylised "book/portal" panel */
.portal-visual {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(198,161,91,0.12), transparent 60%),
    linear-gradient(180deg, #16150f, #0d0d0e);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portal-visual .pv-cross { width: 64px; height: 110px; color: rgba(198,161,91,0.9); filter: drop-shadow(0 0 40px rgba(198,161,91,0.35)); }
.portal-visual .pv-lines { position: absolute; inset: 0; }
.portal-visual .pv-lines span {
  position: absolute; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent);
}
.portal-tag {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  font-family: var(--serif); font-style: italic; color: var(--text-dim);
  font-size: 0.98rem; text-align: center;
}

/* ============================================================
   GROUPS
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip {
  padding: 10px 20px; border: 1px solid var(--line);
  border-radius: 100px; font-size: 0.9rem; color: var(--text-muted);
  transition: all 0.35s var(--ease); background: var(--paper-pure);
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.groups-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
.group-card {
  border: 1px solid var(--line); border-radius: 4px; padding: 34px;
  background: var(--paper-pure);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.group-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20,16,6,0.25); }
.group-card .gk { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.group-card h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.group-card p { color: var(--text-muted); font-size: 0.98rem; }

/* ============================================================
   MAP
   ============================================================ */
.map-shell {
  margin-top: 50px; border: 1px solid var(--line-dark); border-radius: 8px;
  overflow: hidden; position: relative; background: var(--ink-soft);
}
.map-filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid var(--line-dark);
}
.map-filters .mf {
  padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 100px;
  font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.04em;
  background: transparent; transition: all 0.3s var(--ease);
}
.map-filters .mf.active, .map-filters .mf:hover { border-color: var(--gold); color: var(--gold-light); }
.map-filters .mf-label { color: var(--text-dim); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-right: 6px; }
#map { height: 520px; width: 100%; background: #e9e6df; z-index: 1; }
.map-note {
  padding: 14px 20px; font-size: 0.82rem; color: var(--text-dim);
  border-top: 1px solid var(--line-dark); text-align: center; letter-spacing: 0.02em;
}
/* Leaflet marker (gold cross pin) */
.v-pin {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--ink); border: 1.5px solid var(--gold);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.5);
}
.v-pin .cross { transform: rotate(45deg); width: 9px; height: 15px; color: var(--gold-light); }
.leaflet-popup-content-wrapper {
  background: var(--ink-panel); color: var(--text-light);
  border-radius: 6px; border: 1px solid var(--line-dark);
}
.leaflet-popup-tip { background: var(--ink-panel); }
.leaflet-popup-content { margin: 16px 18px; font-family: var(--sans); }
.leaflet-popup-content .pop-k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.leaflet-popup-content h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 4px 0 6px; }
.leaflet-popup-content .pop-meta { color: var(--text-dim); font-size: 0.86rem; line-height: 1.5; }
.leaflet-container a.leaflet-popup-close-button { color: var(--text-dim); }

/* ============================================================
   VISION / roadmap
   ============================================================ */
.timeline { margin-top: 60px; display: grid; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 34px;
  padding: 34px 0; border-top: 1px solid var(--line-dark); align-items: start;
}
.tl-item:last-child { border-bottom: 1px solid var(--line-dark); }
.tl-phase { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-light); letter-spacing: 0.14em; text-transform: uppercase; }
.tl-body h3 { font-size: 1.7rem; margin-bottom: 8px; color: var(--text-light); }
.tl-body p { color: var(--text-dim); max-width: 60ch; }
.tl-status { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line-dark); padding: 4px 12px; border-radius: 100px; }

/* ============================================================
   SCRIPTURE band
   ============================================================ */
.scripture { text-align: center; background: var(--ink-soft); color: var(--text-light); }
.scripture .verse {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.4; max-width: 20ch; margin: 0 auto;
}
.scripture .ref { margin-top: 26px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; background: radial-gradient(100% 120% at 50% 0%, #1b1913, var(--ink)); color: var(--text-light); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; margin: 20px auto 0; }
.cta p { color: var(--text-dim); max-width: 48ch; margin: 22px auto 0; }
.cta .cta-btns { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #08080a; color: var(--text-dim); padding: 80px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--text-light); margin-bottom: 18px; }
.footer .fdesc { font-size: 0.94rem; max-width: 34ch; line-height: 1.7; }
.footer h5 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 0.94rem; opacity: 0.8; transition: opacity .3s, color .3s; }
.footer ul a:hover { opacity: 1; color: var(--gold-light); }
.footer-bottom {
  margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; letter-spacing: 0.03em;
}
.footer-bottom .np { color: var(--gold-deep); }

/* ============================================================
   REVEAL animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   LOGIN page
   ============================================================ */
.auth-body { background: var(--ink); min-height: 100svh; color: var(--text-light); display: flex; flex-direction: column; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 120px 24px 60px; position: relative; }
.auth-glow { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(198,161,91,0.12), transparent 60%); pointer-events: none; }
.auth-card {
  width: 100%; max-width: 430px; position: relative; z-index: 2;
  background: linear-gradient(180deg, #151318, #0e0e10);
  border: 1px solid var(--line-dark); border-radius: 10px;
  padding: 48px 42px; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8);
}
.auth-card .cross { width: 20px; height: 34px; color: var(--gold); margin: 0 auto 20px; }
.auth-card h1 { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--text-dim); font-size: 0.94rem; margin-bottom: 34px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 9px; }
.field input {
  width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark); border-radius: 4px; color: var(--text-light);
  font-family: var(--sans); font-size: 0.98rem; transition: border-color 0.3s;
}
.field input::placeholder { color: #55504a; }
.field input:focus { outline: none; border-color: var(--gold); }
.auth-card .btn-gold { width: 100%; justify-content: center; margin-top: 6px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 26px; font-size: 0.86rem; }
.auth-row a { color: var(--text-dim); }
.auth-row a:hover { color: var(--gold-light); }
.auth-note {
  margin-top: 26px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 4px;
  background: rgba(198,161,91,0.05); color: var(--gold-light);
  font-size: 0.84rem; text-align: center; line-height: 1.5;
}
.auth-back { text-align: center; margin-top: 26px; }
.auth-back a { color: var(--text-dim); font-size: 0.86rem; letter-spacing: 0.04em; }
.auth-back a:hover { color: var(--gold-light); }
.auth-msg { text-align: center; color: var(--gold-light); font-size: 0.9rem; margin-top: 16px; min-height: 20px; transition: opacity 0.4s; opacity: 0; }
.auth-msg.show { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 24px 30px 30px;
    background: rgba(11,11,12,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.open .nav-links a { padding: 12px 0; opacity: 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .groups-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero .hero-cta { flex-direction: column; align-items: center; }
  .hero .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .card { padding: 34px 26px; }
}

/* QA capture: compact hero so full page fits one frame; no transitions */
.qa .hero { min-height: 720px; }
.qa .reveal { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
