/* =========================================================================
   The Empire Circle — styles.css
   Redesign: "The Dossier" — heist-film / classified-file art direction.
   Near-black editorial base, film grain, hairline rules, monospace
   "classified" metadata rails, an engraved seal, wax stamps, and redaction
   accents. Theatrical-but-explicit voice; prices always visible.
   Tokens mirror design-system/MASTER.md.
   ========================================================================= */

/* -------------------------------- Tokens -------------------------------- */
:root {
  --ink:        #0B0B0E;
  --ink-2:      #141318;
  --paper:      #F5F3ED;
  --stone:      #8A8578;
  --gold:       #C9A24B;
  --gold-soft:  #E4CD8E;
  --violet:     #7B5FE0;
  --violet-soft:#B4A4F0;
  --green:      #00D98A;
  --green-soft: #8CF2C9;

  --line:       rgba(245, 243, 237, 0.14);
  --line-soft:  rgba(245, 243, 237, 0.07);
  --paper-dim:  rgba(245, 243, 237, 0.72);
  --stamp-red:  #B4442F;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;      /* dossier = sharp, stamped, not pill */
  --radius-lg: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 240ms;
}

/* -------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
em { font-style: italic; }

/* Ambient vignette + faint tier glows (very restrained) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 40% at 50% -8%, rgba(201,162,75,0.10), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(123,95,224,0.05), transparent 70%),
    radial-gradient(70% 60% at 0% 40%, rgba(0,0,0,0.5), transparent 70%);
}
/* Film grain overlay — the dossier texture */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------- Accessibility ------------------------------ */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--paper); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------ Utilities ------------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--pad);
  position: relative; z-index: 1;
}

/* Monospace "classified" metadata rail — the signature dossier device */
.filemeta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem;
}
.filemeta span { white-space: nowrap; }
.filemeta .sep { color: var(--gold); opacity: 0.7; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

/* Section label: "SECTION 0X — TITLE" */
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.tag::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7;
}

.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; z-index: 1; }
.section--alt { background: var(--ink-2); }
/* Hairline "cut here" rule between sections */
.section + .section, .section--alt { border-top: 1px solid var(--line-soft); }

.section__head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .tag { margin-bottom: 1.25rem; }

.section__title {
  font-family: var(--font-display);
  font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.08; letter-spacing: -0.015em;
}
.section__title em { color: var(--gold-soft); font-style: italic; }
.section__lede { margin-top: 1.25rem; color: var(--paper-dim); font-size: 1.05rem; max-width: 42rem; }
.section__head--center .section__lede { margin-inline: auto; }

/* Redaction bar — theatrical accent. Real text stays in the DOM for screen
   readers; it's visually blacked out and reveals on hover/focus. Use only on
   decorative words, never to hide meaning the user needs. */
.redact {
  background: #000;
  color: transparent;
  padding: 0 0.28em; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(245,243,237,0.15);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.redact:hover, .redact:focus-within, .redact:focus {
  background: rgba(0,0,0,0.35); color: var(--gold-soft);
}

/* Wax/ink stamp — rotated, outlined, semi-transparent */
.stamp {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stamp-red);
  border: 2px solid var(--stamp-red);
  padding: 0.4rem 0.7rem; border-radius: 3px;
  transform: rotate(-8deg);
  opacity: 0.85;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(180,68,47,0.25) inset;
}
.stamp--gold { color: var(--gold); border-color: var(--gold); }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.85rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 0.96rem; letter-spacing: 0.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--solid { background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px -14px rgba(245,243,237,0.4); }
.btn--solid:hover { box-shadow: 0 16px 40px -14px rgba(245,243,237,0.55); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(245,243,237,0.04); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn--lg { min-height: 58px; padding: 1.05rem 2.1rem; font-size: 1.02rem; }

.btn--tier {
  width: 100%; background: var(--accent); color: #000; font-weight: 600; margin-top: auto;
}
.btn--tier:hover { filter: brightness(1.06); box-shadow: 0 16px 40px -18px var(--accent); }

/* ================================ NAV =================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,14,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { color: var(--gold); display: inline-flex; }
.brand__word { font-family: var(--font-display); font-size: 1.14rem; font-weight: 500; letter-spacing: 0.01em; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--stone);
  transition: color var(--dur) var(--ease); padding-block: 0.25rem;
}
.nav__links a:hover { color: var(--paper); }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper);
}
.mobile-menu {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1rem var(--pad) 1.5rem; border-top: 1px solid var(--line-soft); background: var(--ink);
}
/* The `hidden` attribute must win over the display rule above, or the menu
   shows permanently. Also hard-guard: never show it on desktop. */
.mobile-menu[hidden] { display: none; }
@media (min-width: 721px) { .mobile-menu { display: none !important; } }
.mobile-menu a { padding: 0.85rem 0.25rem; font-size: 1.05rem; color: var(--paper-dim); }
.mobile-menu a.btn { color: var(--ink); justify-content: center; margin-top: 0.5rem; }

/* ================================ HERO ================================== */
.hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem); position: relative; }
.hero__rail { margin-bottom: clamp(2rem, 4vw, 3rem); padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }

.hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.hero__main { max-width: 60rem; }
.hero .eyebrow { margin-bottom: 1.4rem; }

.hero__title {
  font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 7vw, 4.7rem); line-height: 1.03; letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero__title em { color: var(--gold-soft); font-style: italic; }

.hero__sub { margin-top: 1.75rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--paper-dim); max-width: 44rem; }
.hero__sub strong { color: var(--paper); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* Engraved seal (top-right of hero on desktop) */
.hero__seal { color: var(--gold); opacity: 0.9; align-self: start; }
.hero__seal svg { animation: seal-spin 90s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__seal svg { animation: none; } }

/* Case-file stat strip */
.stats {
  list-style: none; padding: 0; margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.stat { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.4rem 1.5rem; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.1rem, 4.5vw, 3rem); line-height: 1; color: var(--gold-soft); font-weight: 500; }
.stat__label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); line-height: 1.4; }

/* ============================ FINDINGS (problem) ======================= */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.fact { padding: clamp(1.5rem, 2.5vw, 2rem); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(245,243,237,0.03), transparent); position: relative; }
.fact::before { content: ""; position: absolute; top: 0; left: 1.75rem; width: 42px; height: 3px; background: var(--gold); }
.fact__no { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.fact__title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.75rem; }
.fact__body { color: var(--paper-dim); font-size: 0.98rem; }

/* ============================== THE LADDER ============================== */
.ladder { display: flex; flex-direction: column; gap: 1.25rem; max-width: 1000px; margin-inline: auto; }
.floor {
  --accent: var(--paper); --glow: rgba(245,243,237,0.12);
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-lg);
  background: var(--ink-2);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 55%),
    var(--ink-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.floor:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px var(--glow); }
.floor--green  { --accent: var(--green);  --glow: rgba(0,217,138,0.28);  margin-right: clamp(0rem, 8vw, 6rem); }
.floor--violet { --accent: var(--violet); --glow: rgba(123,95,224,0.32); margin-inline: clamp(0rem, 4vw, 3rem); }
.floor--gold   { --accent: var(--gold);   --glow: rgba(201,162,75,0.30); margin-left: clamp(0rem, 8vw, 6rem); }
.floor--popular { transform: scale(1.03); border-color: color-mix(in srgb, var(--violet) 55%, var(--line)); box-shadow: 0 24px 60px -32px var(--glow); z-index: 2; }
.floor--popular:hover { transform: scale(1.03) translateY(-4px); }

.floor__head { display: grid; gap: 0.5rem; margin-bottom: 1.1rem; }
.floor__eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 0.5rem; }
.floor__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.1; }
.floor__price { display: flex; align-items: baseline; gap: 0.5rem; }
.floor__amount { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 500; color: var(--paper); line-height: 1; }
.floor__pitch { color: var(--paper-dim); margin-bottom: 1.4rem; max-width: 54ch; }
.floor__pitch em { color: var(--accent); font-style: italic; }
/* Violet base fails AA as small text on the dark card — use the soft tint for
   the violet floor's TEXT accents (border/dot/button keep base violet). */
.floor--violet .floor__eyebrow,
.floor--violet .floor__pitch em { color: var(--violet-soft); }
.floor__features { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-bottom: 1.75rem; }
.floor__features li { position: relative; padding-left: 1.7rem; font-size: 0.96rem; color: var(--paper); }
.floor__features li strong { color: var(--accent); font-weight: 600; }
.floor__features li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.floor__badge {
  position: absolute; top: -0.75rem; right: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #000; background: var(--accent); padding: 0.4rem 0.85rem; border-radius: 3px;
}
.floor__badge--vip { background: linear-gradient(120deg, var(--gold), var(--gold-soft)); }
/* Vault lock glyph for the Inner Circle floor */
.floor__lock { color: var(--gold); }

.ladder__note { text-align: center; margin-top: 2.5rem; font-size: 0.9rem; color: var(--stone); }
.ladder__note a { color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; }
.ladder__note a:hover { color: var(--paper); }

/* ============================ INSIDE THE FILE ========================== */
.inside__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.inside__visual { display: flex; justify-content: center; }

/* Gold "classified manual / dossier folder" mockup */
.book { position: relative; width: min(330px, 80vw); aspect-ratio: 3 / 4; border-radius: 4px 10px 10px 4px; display: flex; perspective: 1200px; transform: rotate(-2deg); filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55)); transition: transform var(--dur) var(--ease); }
.book:hover { transform: rotate(0deg) translateY(-6px); }
.book__spine { width: 14px; border-radius: 4px 0 0 4px; background: linear-gradient(90deg, #7a5f1f, #a9822f 60%, #8a6a26); }
.book__cover {
  flex: 1; border-radius: 0 10px 10px 0; padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column; color: #1a1508;
  background: radial-gradient(120% 90% at 20% 0%, #f3dfa4, transparent 55%), linear-gradient(160deg, #e4cd8e 0%, #c9a24b 45%, #a9822f 100%);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset -2px 0 8px rgba(0,0,0,0.2);
}
.book__eyebrow { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,21,8,0.75); }
.book__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 0.98; margin-top: auto; letter-spacing: -0.01em; }
.book__sub { font-size: 0.72rem; line-height: 1.4; margin-top: 0.75rem; color: rgba(26,21,8,0.82); }
.book__foot { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 1.25rem; padding-top: 0.75rem; border-top: 1px solid rgba(26,21,8,0.25); }

.pipeline { list-style: none; padding: 0; display: grid; gap: 1.75rem; }
.pipe { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.pipe__no { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold); width: 3.2rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; flex-shrink: 0; }
.pipe__title { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.4rem; }
.pipe__body { color: var(--paper-dim); font-size: 0.98rem; }

/* ============================ EXHIBIT (pull quote) ===================== */
.quote-section { text-align: center; }
.quote { max-width: 52rem; margin-inline: auto; }
.quote .tag { justify-content: center; margin-bottom: 2rem; }
.quote__body { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 3.3vw, 2.25rem); line-height: 1.35; letter-spacing: -0.01em; }
.quote__body p + p { margin-top: 1.5rem; }
.quote__body em { color: var(--gold-soft); font-style: italic; }
.quote__caption { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.quote__caption span { color: var(--paper-dim); }

/* =============================== FINAL CTA ============================= */
.final-cta { text-align: center; }
.final-cta__inner { max-width: 48rem; margin-inline: auto; }
.final-cta .tag { justify-content: center; margin-bottom: 1.5rem; }
.final-cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.14; letter-spacing: -0.01em; margin-bottom: 2.5rem; }
.final-cta__title em { color: var(--gold-soft); font-style: italic; }

/* ============================ THE INNER CIRCLE ========================= */
.circle { position: relative; }
.circle__panel {
  position: relative; overflow: hidden;
  max-width: 960px; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(201,162,75,0.4); /* fallback if color-mix() unsupported */
  border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 120% at 50% -25%, rgba(201,162,75,0.14), transparent 60%),
    linear-gradient(180deg, rgba(201,162,75,0.05), transparent 42%),
    var(--ink-2);
  text-align: center;
}
/* faint vault dial / keyhole motif behind the content */
.circle__vault {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none; color: var(--gold); opacity: 0.12;
  background: radial-gradient(46% 44% at 50% 52%, rgba(201,162,75,0.12), transparent 70%);
}
.circle__vault svg { width: min(640px, 132%); height: auto; animation: vault-turn 120s linear infinite; }
@keyframes vault-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .circle__vault svg { animation: none; } }

/* Gold crop-mark corners — dossier framing on the vault panel */
.circle__panel::before, .circle__panel::after { content: ""; position: absolute; width: 26px; height: 26px; z-index: 2; pointer-events: none; opacity: 0.85; }
.circle__panel::before { top: 14px; left: 14px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.circle__panel::after { bottom: 14px; right: 14px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.circle__stamp { position: absolute; top: 1.5rem; right: 1.5rem; }

.circle__access {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 0.85rem; margin-bottom: 1.4rem;
}
/* redaction-bar flanks on the clearance line */
.circle__bar { width: 34px; height: 10px; background: #000; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(201,162,75,0.45); }

/* Redacted teaser — hover/focus a bar to reveal the word */
.circle__redacted { position: relative; z-index: 1; margin: 1.1rem auto 0; max-width: 40rem; color: var(--stone); font-size: 1rem; }

/* Pressed gold seal above the closing note */
.circle__seal { position: relative; z-index: 1; margin: clamp(1.75rem, 3vw, 2.25rem) auto 0; width: 52px; height: 52px; color: var(--gold); opacity: 0.9; filter: drop-shadow(0 2px 6px rgba(201,162,75,0.3)); }

.circle__title { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto; font-size: clamp(2.15rem, 5.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; }
.circle__title em { color: var(--gold-soft); font-style: italic; }
.circle__lede { position: relative; z-index: 1; margin: 1.25rem auto 0; max-width: 40rem; color: var(--paper-dim); }

.circle__perks { position: relative; z-index: 1; list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 840px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }
.circle__perk { padding: 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(11,11,14,0.45); }
.circle__perk .k { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.85rem; }
.circle__perk h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.15; margin-bottom: 0.5rem; }
.circle__perk p { color: var(--paper-dim); font-size: 0.92rem; }

.circle__cta { position: relative; z-index: 1; margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.circle__cta .btn--tier { width: auto; }
.circle__note { position: relative; z-index: 1; margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }

@media (max-width: 760px) { .circle__perks { grid-template-columns: 1fr; } .circle__stamp { display: none; } }

/* ================================ FOOTER =============================== */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.footer__brand { max-width: 26rem; }
.footer__tagline { margin-top: 1rem; color: var(--stone); font-size: 0.92rem; }
.footer__links { display: flex; gap: 1.75rem; }
.footer__links a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-dim); }
.footer__links a:hover { color: var(--paper); }
.footer__meta { margin: 1.5rem 0; padding-block: 1.25rem; border-block: 1px solid var(--line-soft); }
.footer__disclaimer { font-size: 0.78rem; line-height: 1.7; color: var(--stone); max-width: 74ch; }

/* ============================ REVEAL ANIMATION ========================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================== RESPONSIVE ============================= */
@media (max-width: 1024px) { .inside__grid { grid-template-columns: 1fr; } .inside__visual { order: -1; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__seal { display: none; } }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .floor--green, .floor--violet, .floor--gold { margin-inline: 0; }
  .floor--popular { transform: none; } .floor--popular:hover { transform: translateY(-4px); }
}
@media (max-width: 720px) { .nav__links { display: none; } .nav__cta .btn { display: none; } .nav__toggle { display: inline-flex; } }
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stat:first-child { border-top: 0; }
  .btn { width: 100%; } .hero__actions .btn { width: 100%; }
  .floor__badge { right: 1rem; }
}

/* ============================== LEGAL PAGES ============================= */
.legal-nav { position: sticky; top: 0; z-index: 100; background: rgba(11,11,14,0.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.legal-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.legal-nav .back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-dim); min-height: 44px; transition: color var(--dur) var(--ease); }
.legal-nav .back:hover { color: var(--paper); }

.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.legal__wrap { max-width: 48rem; margin-inline: auto; }
.legal__title { font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.01em; margin-top: 1rem; }
.legal__meta { margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.legal__lede { margin-top: 1.75rem; font-size: 1.08rem; color: var(--paper-dim); }
.legal__toc { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(180deg, rgba(245,243,237,0.03), transparent); }
.legal__toc p { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem; }
.legal__toc ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal__toc a { color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; }
.legal__toc a:hover { color: var(--paper); }
.legal__body { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.legal__body section { scroll-margin-top: 84px; }
.legal__body section + section { margin-top: 2.75rem; }
.legal__body h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; margin-bottom: 1rem; scroll-margin-top: 84px; }
.legal__body h2 .legal__no { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); margin-right: 0.6rem; vertical-align: 0.12em; }
.legal__body h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin: 1.5rem 0 0.5rem; }
.legal__body p, .legal__body li { color: var(--paper-dim); }
.legal__body p + p { margin-top: 0.9rem; }
.legal__body ul, .legal__body ol.legal__list { margin: 0.9rem 0; padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.legal__body a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--gold); }
.legal__body strong { color: var(--paper); font-weight: 600; }
.legal__callout { margin-top: 1.25rem; padding: 1.1rem 1.35rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: rgba(201,162,75,0.05); }
.legal__callout p { color: var(--paper); font-size: 0.95rem; }
.legal__more { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; font-size: 0.92rem; }
.legal__more a { color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; }
.legal__more a:hover { color: var(--paper); }

/* ============================ THANK-YOU PAGE =========================== */
.thanks { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.thanks__inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.thanks__seal { width: 76px; height: 76px; margin: 0 auto 2rem; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: radial-gradient(circle at 50% 35%, rgba(201,162,75,0.22), rgba(201,162,75,0.06)); border: 1px solid rgba(201,162,75,0.4); }
@keyframes seal-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.thanks__seal { animation: seal-pop 480ms var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .thanks__seal { animation: none; } }
.thanks__title { font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto; font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; }
.thanks__title em { color: var(--gold-soft); font-style: italic; }
.thanks__sub { margin-top: 1.5rem; font-size: 1.1rem; color: var(--paper-dim); }
.thanks__sub strong { color: var(--paper); font-weight: 600; }
.thanks__ref { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--stone); word-break: break-all; }
.thanks__ref span { color: var(--paper-dim); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }
.thanks__steps { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 34rem; display: grid; gap: 1rem; text-align: left; }
.thanks__steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; padding: 1rem 1.25rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(180deg, rgba(245,243,237,0.03), transparent); color: var(--paper-dim); font-size: 0.95rem; }
.thanks__steps b { color: var(--paper); font-weight: 600; }
.thanks__steps svg { color: var(--gold); margin-top: 2px; }
.thanks__steps a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.next { }
.next__head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.next__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 820px; margin-inline: auto; }
.next-card { --accent: var(--gold); display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); background: var(--ink-2); text-align: left; }
.next-card--violet { --accent: var(--violet); }
.next-card--gold { --accent: var(--gold); }
.next-card__eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.next-card__name { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.1; }
.next-card__body { color: var(--paper-dim); font-size: 0.94rem; margin: 0.6rem 0 1.4rem; }
.next-card .btn { margin-top: auto; }
.next-card .btn--tier { color: #000; }
@media (max-width: 640px) { .next__cards { grid-template-columns: 1fr; } }

/* ===================== INNER CIRCLE — LOGIN (auth) ==================== */
.auth { padding-block: clamp(3rem, 8vw, 6rem); }
.auth__panel {
  max-width: 30rem; margin-inline: auto; text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(201,162,75,0.35);
  border: 1px solid color-mix(in srgb, var(--gold) 32%, var(--line));
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 100% at 50% -20%, rgba(201,162,75,0.10), transparent 60%), var(--ink-2);
}
.auth__seal { width: 60px; height: 60px; margin: 0 auto 1.5rem; color: var(--gold); }
.auth__eyebrow { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.auth__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.1; margin-top: 0.75rem; }
.auth__text { color: var(--paper-dim); margin-top: 1rem; font-size: 0.98rem; }
.auth__text a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.auth__form { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.auth__input { width: 100%; min-height: 50px; padding: 0.85rem 1rem; background: rgba(11,11,14,0.6); border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper); font: inherit; }
.auth__input::placeholder { color: var(--stone); }
.auth__note { margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.auth__msg { margin-top: 1.1rem; font-size: 0.92rem; min-height: 1.2em; }
.auth__msg--ok { color: var(--green-soft); }
.auth__msg--err { color: #E8927C; }

/* ===================== INNER CIRCLE — FORUM ========================== */
.forum { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.forum__head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: end; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-soft); }
.forum__eyebrow { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.forum__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; }
.forum__signout { background: none; border: none; color: var(--stone); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.forum__signout:hover { color: var(--paper); }
.forum__list { display: grid; gap: 0.85rem; }
.thread-card { display: block; width: 100%; text-align: left; padding: 1.25rem 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--ink-2); cursor: pointer; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.thread-card:hover { border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); transform: translateY(-2px); }
.thread-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.4rem; }
.thread-card__meta { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.forum__new { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: rgba(201,162,75,0.04); }
.forum__new h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 1rem; }
.forum__field { width: 100%; padding: 0.75rem 1rem; background: rgba(11,11,14,0.6); border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper); font: inherit; margin-bottom: 0.75rem; }
.forum__field::placeholder { color: var(--stone); }
textarea.forum__field { min-height: 110px; resize: vertical; }
.forum__back { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-dim); display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; cursor: pointer; background: none; border: 0; }
.forum__back:hover { color: var(--paper); }
.post { padding: 1.35rem 0; border-bottom: 1px solid var(--line-soft); }
.post__meta { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.5rem; }
.post__body { color: var(--paper-dim); white-space: pre-wrap; }
.forum__empty { color: var(--stone); padding: 2rem 0; }
.forum__msg { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.1em; color: var(--stone); }
.forum__msg--err { color: #E8927C; }
