/* ==========================================================================
   Christian Trades Live — styles.css
   Premium Wall Street palette: Midnight + Imperial Gold + Platinum.
   Cinzel (display, classical Roman serif) + Inter (body) + JetBrains Mono.
   Design tokens at the top of :root. Edit there to retheme the entire site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS  (from the new brand guide — pure metallic, no blue)
   -------------------------------------------------------------------------- */
:root {
  /* Color — exact hex from brand guide */
  --bg:          #070D10;     /* Midnight */
  --bg-2:        #0B1318;     /* lifted Midnight */
  --bg-3:        #111417;     /* Charcoal (cards, nav, panels) */
  --bg-4:        #020506;     /* Obsidian (deepest) */

  --rule:        #1A2026;     /* hairline borders on Midnight */
  --rule-strong: #2A3138;     /* stronger borders */

  --text:        #F6F2E8;     /* Off White (warm paper) */
  --text-2:      #D8DDE0;     /* Platinum (secondary text + "TRADES LIVE") */
  --mute:        #9EA6AE;     /* Steel */
  --mute-2:      #5A6068;     /* tertiary */

  --gold:           #D4A035;  /* Imperial Gold — primary brand accent */
  --gold-bright:    #F4D37A;  /* Highlight Gold — hover, shimmer top */
  --gold-deep:      #8C641E;  /* Deep Gold — shadow, gradient bottom */
  --gold-soft:      rgba(212, 160, 53, 0.22);
  --gold-faint:     rgba(212, 160, 53, 0.10);
  --gold-shimmer: linear-gradient(180deg, #F4D37A 0%, #D4A035 50%, #8C641E 100%);
  --gold-button:  linear-gradient(135deg, #F4D37A 0%, #D4A035 50%, #8C641E 100%);

  --down:        #C8554F;

  /* Typography — Cinzel matches the wordmark's classical Roman caps */
  --display: "Cinzel", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Fluid type scale */
  --step--1: clamp(0.74rem, 0.7rem + 0.18vw, 0.84rem);
  --step-0:  clamp(0.94rem, 0.91rem + 0.18vw, 1.04rem);
  --step-1:  clamp(1.06rem, 1.0rem + 0.3vw, 1.22rem);
  --step-2:  clamp(1.32rem, 1.2rem + 0.7vw, 1.7rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.5rem, 1.85rem + 3vw, 4.4rem);
  --step-5:  clamp(3.4rem, 2.2rem + 5.6vw, 7rem);

  /* Layout */
  --frame:     clamp(1.25rem, 4vw, 5rem);
  --container: 80rem;

  /* Motion */
  --ease:      cubic-bezier(0.2, 0.65, 0.25, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background-image:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 160, 53, 0.07), transparent 70%),
    radial-gradient(ellipse 70% 35% at 50% 100%, rgba(140, 100, 30, 0.05), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip {
  position: absolute; top: -48px; left: 1rem;
  padding: .55rem .9rem;
  background: var(--gold); color: var(--bg);
  font: 500 var(--step--1)/1 var(--mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 100; transition: top .25s var(--ease);
}
.skip:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;       /* Cinzel needs positive tracking, not negative */
  line-height: 1.06;
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
}
h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: 0.025em; line-height: 1.0; }
h2 { font-size: var(--step-4); font-weight: 600; letter-spacing: 0.04em; }
h3 { font-size: var(--step-2); font-weight: 500; letter-spacing: 0.06em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }
code {
  font-family: var(--mono); font-size: 0.9em; color: var(--gold);
  padding: 0.05em 0.35em;
  background: var(--gold-faint);
  border: 1px solid var(--gold-soft);
}

/* Eyebrow */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  display: inline-block;
}

/* Chapter — research-note numbering */
.chapter {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--mute);
  text-transform: uppercase;
  margin: 0 0 1.25em;
  display: inline-flex; align-items: center; gap: 0.85rem;
}
.chapter__num   { color: var(--gold); font-weight: 500; }
.chapter__total { color: var(--mute-2); }
.chapter::after {
  content: ""; width: 2.5rem; height: 1px; background: var(--gold-soft);
  margin-left: 0.25rem;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;          /* pill */
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .35s var(--ease),
              filter .25s var(--ease);
}
/* Primary: metallic gold gradient — top highlight → mid → deep */
.btn--gold {
  background: var(--gold-button);
  color: var(--bg-4);
  border-color: rgba(244, 211, 122, 0.55);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 6px 20px -6px rgba(212, 160, 53, 0.45);
}
.btn--gold:hover, .btn--gold:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 14px 32px -10px rgba(244, 211, 122, 0.55);
}
/* Secondary: outlined pill */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--rule-strong);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--gold-soft);
}
.btn--lg { padding: 1.15rem 2.2rem; font-size: var(--step-0); letter-spacing: 0.18em; }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.78rem; }

.cta-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.5rem;
  font-family: var(--mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}

/* --------------------------------------------------------------------------
   5. MASTHEAD
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  padding: 1.05rem var(--frame);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.masthead.is-scrolled {
  background-color: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--rule);
}
.masthead__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 2rem; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--gold); }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; object-fit: contain; }
.brand__name {
  font-family: var(--display); font-size: 0.92rem; font-weight: 600;
  color: var(--text); letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1;
}
.brand__name-gold {
  color: var(--gold);
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__name-platinum {
  color: var(--text-2);
  font-weight: 400;
}
/* legacy alias retained while HTML transitions away from blue */
.brand__name-blue { color: var(--text-2); font-weight: 400; }
.brand__est {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  color: var(--mute); letter-spacing: 0.18em; text-transform: uppercase;
  padding-left: 0.85rem; border-left: 1px solid var(--rule);
  margin-left: 0.25rem; display: inline-block;
}
.primary-nav ul { display: flex; gap: 2.25rem; justify-content: center; }
.primary-nav a {
  font-family: var(--mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-2);
  padding: 0.45rem 0; position: relative;
  transition: color .25s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}

/* Hide est-line in masthead — info appears in footer; gives the brand
   horizontal space to render on a single line beside 6 nav items. */
.brand__est { display: none; }
.brand__name { white-space: nowrap; }
@media (max-width: 1024px) { .primary-nav ul { gap: 1.4rem; } }
@media (max-width: 980px) {
  .masthead__inner { grid-template-columns: 1fr auto; gap: 1rem; }
  .primary-nav, .masthead__cta { display: none; }
  .nav-toggle { display: flex; }
  .masthead.is-open { background: var(--bg-2); border-bottom-color: var(--rule); }
  .masthead.is-open .primary-nav,
  .masthead.is-open .masthead__cta { display: block; grid-column: 1 / -1; }
  .masthead.is-open .primary-nav ul {
    flex-direction: column; gap: 0.4rem; align-items: stretch; padding: 1rem 0 0.5rem;
  }
  .masthead.is-open .primary-nav a {
    display: block; padding: 0.7rem 0;
    font-size: var(--step-1); font-weight: 500;
    letter-spacing: -0.005em; text-transform: none; color: var(--text);
    border-bottom: 1px solid var(--rule);
  }
  .masthead.is-open .primary-nav a::after { display: none; }
  .masthead.is-open .masthead__cta { display: inline-flex; width: max-content; margin-top: 0.75rem; }
  .masthead.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .masthead.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .masthead.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   6. SESSION BAR
   -------------------------------------------------------------------------- */
.session-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.session-bar__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0.7rem var(--frame);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: center;
  color: var(--text-2);
}
.session-bar__group { display: inline-flex; align-items: center; gap: 0.6rem; }
.session-bar__label   { color: var(--mute); }
.session-bar__value   { color: var(--text); }
.session-bar__divider { color: var(--mute-2); }

.session-bar__status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-left: auto;
}
.session-bar__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}
.session-bar__pulse[data-state="open"]   { background: var(--gold-bright); }
.session-bar__pulse[data-state="pre"],
.session-bar__pulse[data-state="post"]   { background: var(--gold); }
.session-bar__pulse[data-state="closed"] { background: var(--mute-2); }
.session-bar__pulse::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.55;
  animation: pulse 2.4s ease-out infinite;
}
.session-bar__pulse[data-state="closed"]::after { animation: none; opacity: 0.3; }
@keyframes pulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 720px) {
  .session-bar { font-size: 0.66rem; letter-spacing: 0.14em; }
  .session-bar__divider { display: none; }
  .session-bar__inner { gap: 0.45rem 1rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .session-bar__status { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   7. HERO  — minimal copy, dominant headline, abstract chart silhouette
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(38rem, 90vh, 60rem);
  padding: clamp(4rem, 12vh, 8rem) var(--frame) 9rem;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
}
.hero__chart {
  position: absolute;
  left: 0; right: 0; bottom: 4.5rem;
  width: 100%; height: 36%;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.hero__inner {
  max-width: var(--container); margin: 0 auto;
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__mark {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  opacity: 0;
  animation: fade 1.4s var(--ease-out) 0.55s forwards;
}
/* Soft gold radial behind the 3D lockup so the metallic edges sing */
.hero__mark::before {
  content: "";
  position: absolute; inset: -6%;
  background: radial-gradient(ellipse 70% 70% at 50% 55%, rgba(212, 160, 53, 0.28), transparent 65%);
  z-index: -1;
  filter: blur(18px);
}
.hero__mark img {
  width: 100%; max-width: 38rem; height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.6))
          drop-shadow(0 0 30px rgba(244, 211, 122, 0.2));
}
.hero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-2);
  max-width: 32ch;
  margin: 1.4rem 0 2rem;
  opacity: 0; transform: translateY(16px);
  animation: rise 1.05s var(--ease-out) 0.5s forwards;
}
@keyframes fade { to { opacity: 1; } }
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__mark { order: -1; max-width: 22rem; margin: 0 auto; }
  .hero__mark img { max-width: 22rem; }
  .hero__lede { font-size: var(--step-1); }
}
.hero__title {
  font-size: var(--step-5);
  margin: 0.4em 0 0.7em;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 0.98;
  max-width: 16ch;
  text-transform: uppercase;
}
.hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.05s var(--ease-out) forwards;
}
.hero__title span:nth-child(1) {
  animation-delay: 0.1s;
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55))
          drop-shadow(0 6px 18px rgba(212, 160, 53, 0.18));
}
.hero__title span:nth-child(2) {
  animation-delay: 0.32s;
  color: var(--text-2);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  opacity: 0; transform: translateY(20px);
  animation: rise 1.05s var(--ease-out) 0.55s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 880px) {
  .hero { padding-bottom: 5rem; }
}

/* Markets strip — sleek horizontal scroll of exchange/symbol tags */
.markets {
  position: relative;
  height: 56px;
  display: flex; align-items: center;
  background: var(--bg-4);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  pointer-events: none;
}
.markets::before, .markets::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6rem;
  z-index: 4; pointer-events: none;
}
.markets::before { left: 0;  background: linear-gradient(90deg,  var(--bg-4) 0%, transparent 100%); }
.markets::after  { right: 0; background: linear-gradient(270deg, var(--bg-4) 0%, transparent 100%); }
.markets__track {
  display: flex; gap: 2.5rem;
  animation: markets 70s linear infinite;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  padding-left: 2.5rem;
}
.markets__track > span { display: inline-flex; align-items: center; gap: 2.5rem; }
.markets__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); display: inline-block; flex-shrink: 0;
}
@keyframes markets {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 880px) {
  .markets { height: 48px; }
  .markets__track { font-size: 0.7rem; gap: 1.75rem; padding-left: 1.75rem; }
  .markets__track > span { gap: 1.75rem; }
}

/* --------------------------------------------------------------------------
   8. SECTIONS (shared)
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(5.5rem, 12vh, 9rem) var(--frame);
  position: relative;
}
.section + .section { border-top: 1px solid var(--rule); }
.section__head {
  max-width: var(--container); margin: 0 auto clamp(3rem, 6vh, 4.5rem);
}
.section__title {
  font-size: var(--step-4);
  letter-spacing: 0.04em;
  font-weight: 600;
  max-width: 22ch;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1.05;
}
.section__body { max-width: var(--container); margin: 0 auto; }

/* --------------------------------------------------------------------------
   9. ABOUT
   -------------------------------------------------------------------------- */
.about__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

/* Founder — coin-framed portrait + editorial body, premium document feel. */
.founder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid var(--rule);
  background: var(--bg-3);
  position: relative;
  transition: border-color .35s var(--ease);
}
.founder::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-deep), var(--gold), var(--gold-deep), transparent);
}
.founder:hover { border-color: var(--gold-soft); }
.founder__portrait {
  margin: 0;
  position: relative;
  width: clamp(8rem, 18vw, 12rem);
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-3);
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 0 4px rgba(212, 160, 53, 0.16),
    0 0 0 5px var(--gold-deep),
    0 18px 36px -12px rgba(0, 0, 0, 0.7);
  flex-shrink: 0;
}
.founder__portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  filter: saturate(0.94) contrast(1.04);
  transition: transform .9s var(--ease-out), filter .35s var(--ease);
}
.founder:hover .founder__portrait img { transform: scale(1.05); filter: saturate(1.05) contrast(1.06); }
.founder__portrait::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(244, 211, 122, 0.35);
  pointer-events: none;
}
.founder__body {
  padding: 0;
}
.founder__body .eyebrow { margin-bottom: 0.85rem; }
.founder__name {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  line-height: 1;
}
.founder__role {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mute);
  margin: 0.55rem 0 0.95rem;
  padding-bottom: 0.95rem; border-bottom: 1px solid var(--rule);
}
.founder__brief {
  font-family: var(--body); font-size: var(--step-0); font-weight: 400;
  color: var(--text-2); line-height: 1.65;
  margin: 0 0 1.25rem;
}
.founder__signature {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--display); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.18em; line-height: 1.5;
  text-transform: uppercase;
}
.founder__signature span { display: block; }
.founder__signature span:first-child {
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.founder__signature span:last-child  { color: var(--text-2); font-weight: 400; }

/* Insights — lsvp-style story tile grid with abstract chart art */
.insights {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.insight {
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease);
}
.insight::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
  z-index: 2;
}
.insight:hover, .insight:focus-visible {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
  background: var(--bg-3);
}
.insight:hover::before, .insight:focus-visible::before { transform: scaleX(1); }
.insight__num {
  position: absolute; top: 1rem; right: 1.1rem; z-index: 2;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.insight__art {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-4));
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.insight__art img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .55s var(--ease-out);
}
.insight:hover .insight__art img { transform: scale(1.03); }
.insight__title {
  margin: 1.25rem 1.5rem 0;
  font-family: var(--display); font-size: var(--step-1); font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
}
.insight .cta-link {
  margin: 1rem 1.5rem 1.5rem;
}
@media (max-width: 1024px) { .insights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .insights { grid-template-columns: 1fr; } }

/* Principles — institutional fact-sheet */
.principles {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  display: flex; flex-direction: column;
}
.principles__head {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.principles__head .eyebrow { margin: 0; }
.principles__count {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
}
.principles__list { display: grid; flex: 1; }
.principles__list li {
  display: grid;
  grid-template-columns: 4rem auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  transition: background-color .25s var(--ease);
}
.principles__list li:last-child { border-bottom: 0; }
.principles__list li:hover { background: var(--bg-3); }
.principles__list li:hover .principles__indicator { background: var(--gold); }
.principles__num {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.principles__indicator {
  width: 6px; height: 6px;
  background: var(--gold-soft);
  transition: background-color .25s var(--ease);
}
.principles__text {
  font-family: var(--display); font-size: var(--step-1);
  font-weight: 500; letter-spacing: -0.01em; color: var(--text);
}

@media (max-width: 880px) {
  .about__body { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder__portrait { margin: 0 auto; }
  .founder__role { display: inline-block; }
  .founder__signature { text-align: left; }
  .founder__name { font-size: var(--step-2); }
  .principles__list li { grid-template-columns: 3rem auto 1fr; padding: 0.95rem 1.25rem; gap: 0.75rem; }
}

/* --------------------------------------------------------------------------
   10. LIVE TRADING
   -------------------------------------------------------------------------- */
.stream { max-width: var(--container); margin: 0 auto 3.5rem; }
.stream__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, var(--gold-faint), transparent 60%),
    linear-gradient(to bottom right, var(--bg-2), var(--bg-3));
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color .35s var(--ease);
}
.stream__frame:hover { border-color: var(--gold-soft); }
.stream__frame::before {
  content: "CTL";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 200;
  font-size: clamp(7rem, 16vw, 13rem);
  letter-spacing: -0.06em;
  color: var(--text); opacity: 0.05;
  pointer-events: none;
}
.stream__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.stream__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 3rem);
  gap: 0.4rem;
}
.stream__title {
  font-family: var(--display);
  font-size: var(--step-3); font-weight: 700;
  margin: 0; letter-spacing: -0.025em;
}

/* Session ribbon */
.ribbon {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
.ribbon__head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.ribbon__head .eyebrow { margin: 0; }
.ribbon__active {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.012em;
}
.ribbon__active span { color: var(--gold); }
.ribbon__track {
  position: relative;
  display: flex;
  height: 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
}
.ribbon__band {
  position: relative;
  border-right: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: filter .3s var(--ease);
}
.ribbon__band:last-child { border-right: 0; }
.ribbon__band span {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  opacity: 0.65;
  transition: opacity .25s var(--ease), color .25s var(--ease);
  padding: 0 0.5rem;
}
.ribbon__band[data-phase="pre"]    { background: rgba(212, 160, 53, 0.08); }
.ribbon__band[data-phase="open"]   { background: rgba(244, 211, 122, 0.20); }
.ribbon__band[data-phase="midday"] { background: rgba(212, 160, 53, 0.14); }
.ribbon__band[data-phase="power"]  { background: rgba(244, 211, 122, 0.26); }
.ribbon__band[data-phase="post"]   { background: rgba(212, 160, 53, 0.08); }
.ribbon__band[data-phase="closed"] { background: rgba(158, 166, 174, 0.04); }
.ribbon__band.is-active {
  box-shadow: inset 0 0 0 1px var(--gold-bright), 0 0 30px rgba(244, 211, 122, 0.25);
  z-index: 2;
}
.ribbon__band.is-active span { opacity: 1; color: var(--gold-bright); }
.ribbon__cursor {
  position: absolute; top: -5px; bottom: -5px;
  width: 2px; background: var(--text);
  left: 0%;
  transition: left 1.2s var(--ease-out);
  z-index: 3;
  pointer-events: none;
}
.ribbon__cursor::before {
  content: "";
  position: absolute; left: -3.5px; top: -3.5px;
  width: 8px; height: 8px;
  background: var(--text); border-radius: 50%;
  box-shadow: 0 0 10px rgba(228,232,238,0.5);
}
.ribbon__times {
  position: relative;
  margin-top: 0.65rem;
  height: 1rem;
}
.ribbon__times span {
  position: absolute;
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; color: var(--mute);
  transform: translateX(-50%);
  white-space: nowrap;
}
.ribbon__times span:first-child { transform: none; }
@media (max-width: 720px) {
  .ribbon { padding: 1.25rem; }
  .ribbon__track { height: 28px; }
  .ribbon__band span { font-size: 0.55rem; letter-spacing: 0.12em; }
}

/* Social cards */
.socials {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.social-card, .card {
  display: block;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg-2);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease);
}
.social-card::before, .card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.social-card:hover, .social-card:focus-visible,
.card:hover, .card:focus-visible {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
  background: var(--bg-3);
}
.social-card:hover::before, .social-card:focus-visible::before,
.card:hover::before, .card:focus-visible::before { transform: scaleX(1); }

.card__num {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--mute);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 1.5rem;
}
.social-card h3, .card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display); font-size: var(--step-3); font-weight: 700;
  letter-spacing: -0.025em;
}
.card__hand {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2); display: block;
}
.social-card:hover .cta-link, .card:hover .cta-link {
  color: var(--text); border-color: var(--text); gap: 0.7rem;
}

@media (max-width: 880px) { .socials { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. COMMUNITY
   -------------------------------------------------------------------------- */
.community {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.community__list {
  display: grid; gap: 0;
  border-top: 1px solid var(--rule);
  counter-reset: community-list;
}
.community__list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.community__list li::before {
  content: counter(community-list, decimal-leading-zero);
  counter-increment: community-list;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--gold);
  font-variant-numeric: tabular-nums;
  align-self: center;
}
.community__cta {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 1rem;
}
.community__note {
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}

@media (max-width: 880px) { .community { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. RESOURCES / CARDS
   -------------------------------------------------------------------------- */
.cards {
  max-width: var(--container); margin: 0 auto;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.cards .card .cta-link { margin-top: 2.25rem; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. RISK
   -------------------------------------------------------------------------- */
.section--risk {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
/* The .risk container is the body. Apply the .stock-frame class on the
   parent in HTML to add the stock-certificate double-rule with corner
   ornaments. .risk just handles the inner type/spacing now. */
.risk {
  max-width: 56rem; margin: 0 auto;
}
.risk__lead {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--text);
  margin-bottom: 1.5em;
  line-height: 1.32;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.risk__lead strong { color: var(--gold); font-weight: 700; }
.risk p { color: var(--text-2); max-width: 60ch; line-height: 1.65; }
.risk p strong { color: var(--text); }
.risk p + p { margin-top: 1.2em; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: clamp(4rem, 8vh, 6rem) var(--frame) 2rem;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}
.footer__top {
  max-width: var(--container); margin: 0 auto clamp(3rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer__brand .brand__mark {
  width: 48px; height: 48px; margin-bottom: 1.25rem;
}
.footer__wordmark {
  font-family: var(--display); font-size: var(--step-2); font-weight: 800;
  margin: 0 0 .35rem; letter-spacing: -0.005em;
  text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 0 0.4em;
  line-height: 1;
}
.footer__tag {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-0);
  color: var(--text-2); margin: 0 0 1.5rem;
  max-width: 30ch;
}
.footer__est {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute); margin: 0;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding-top: 0.85rem; border-top: 1px solid var(--rule);
  width: 100%; max-width: 18rem;
}
.footer__est-num { color: var(--gold); }

.footer__nav ul { display: grid; gap: 0.85rem; }
.footer__nav a {
  font-family: var(--mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
  transition: color .25s var(--ease);
}
.footer__nav a:hover, .footer__nav a:focus-visible { color: var(--gold); }

.footer__bar {
  max-width: var(--container); margin: 0 auto;
  border-top: 1px solid var(--rule); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.04em;
  color: var(--mute);
}
.footer__bar p { margin: 0; }
.footer__bar a { color: var(--gold); }
.footer__bar a:hover { color: var(--text); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --------------------------------------------------------------------------
   14a. LUXURY ORNAMENTS  — fleuron divider, drop cap, coin frame,
        stock-certificate frame, Roman-numeral treatment, engraved type.
        These are the distinctive design moves of the new brand.
   -------------------------------------------------------------------------- */

/* Engraved metallic gold text — used for hero headline + founder name */
.engraved {
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55))
          drop-shadow(0 6px 18px rgba(212, 160, 53, 0.18));
}

/* Fleuron — ornamented horizontal section divider with a centered glyph.
   Two thin gold-gradient rules flanking a small mark. Gives the
   "premium edition" / charter feel between sections. */
.fleuron {
  display: flex; align-items: center; gap: 1.5rem;
  margin: clamp(3rem, 7vh, 6rem) auto;
  max-width: 36rem;
  padding: 0 var(--frame);
}
.fleuron::before, .fleuron::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right,
              transparent 0%,
              var(--gold-deep) 25%,
              var(--gold) 50%,
              var(--gold-deep) 75%,
              transparent 100%);
}
.fleuron__glyph {
  font-family: var(--display);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.5em;
  padding-left: 0.25em;        /* compensate for trailing letter-spacing */
  text-shadow: 0 0 12px rgba(244, 211, 122, 0.35);
  user-select: none;
}

/* Drop cap — first letter of an opening paragraph rendered as
   a tall serif gold initial. Use with `.drop-cap` on the <p>. */
.drop-cap::first-letter {
  font-family: var(--display);
  font-weight: 700;
  float: left;
  font-size: 4em;
  line-height: 0.85;
  margin: 0.05em 0.15em 0 0;
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Coin frame — circular gold-stamped border, used on founder portrait */
.coin-frame {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-3);
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 0 4px rgba(212, 160, 53, 0.18),
    0 0 0 5px var(--gold-deep),
    0 24px 48px -16px rgba(0, 0, 0, 0.7);
}
.coin-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: saturate(0.92) contrast(1.04);
  transition: transform .9s var(--ease-out), filter .35s var(--ease);
}
.coin-frame:hover img { transform: scale(1.04); filter: saturate(1.05) contrast(1.06); }
/* Subtle inner highlight ring on the coin */
.coin-frame::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(244, 211, 122, 0.4);
  pointer-events: none;
}

/* Stock-certificate frame — double-rule gold border with corner ornaments.
   Used to surround the Risk disclaimer and lend it document-like authority. */
.stock-frame {
  position: relative;
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border: 1px solid var(--gold-deep);
  outline: 1px solid var(--gold-soft);
  outline-offset: 6px;
  background: rgba(11, 19, 24, 0.55);
}
.stock-frame::before, .stock-frame::after {
  content: ""; position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
}
.stock-frame::before { top: -7px; left: -7px;   border-right: 0; border-bottom: 0; }
.stock-frame::after  { bottom: -7px; right: -7px; border-left: 0;  border-top: 0;  }

/* Roman-numeral principle treatment.
   The numeral becomes the visual anchor — large, gold-gradient, centered. */
.principles--roman .principles__list li {
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  padding: 1.4rem 1.75rem;
}
.principles--roman .principles__num {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  line-height: 1;
}
.principles--roman .principles__indicator { display: none; }
.principles--roman .principles__text {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* MMXXV stamp — Roman numeral year + small caps location */
.stamp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stamp__num {
  font-family: var(--display); font-weight: 600;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

/* Vertical rail — thin ornamental side bar with a label running vertically.
   Used on the hero. */
.vrail {
  position: absolute; left: var(--frame); top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
  display: flex; align-items: center; gap: 0.85rem;
  z-index: 3;
  pointer-events: none;
}
.vrail::before, .vrail::after {
  content: ""; width: 2.5rem; height: 1px; background: var(--gold-soft);
}
@media (max-width: 1100px) { .vrail { display: none; } }

/* --------------------------------------------------------------------------
   15. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   15a. SOCIAL ICONS  — currentColor via CSS mask
        Each icon is an inline-block element whose mask-image is the
        platform SVG. Icon color = currentColor (inherits text color),
        so hover/theme changes propagate naturally.
   -------------------------------------------------------------------------- */
.icon {
  display: inline-block;
  width: 1.125rem; height: 1.125rem;        /* 18px default */
  background-color: currentColor;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
  transition: background-color .25s var(--ease);
}
.icon--sm { width: 1rem;     height: 1rem; }     /* 16px */
.icon--md { width: 1.125rem; height: 1.125rem; } /* 18px */
.icon--lg { width: 1.5rem;   height: 1.5rem; }   /* 24px */
.icon--xl { width: 1.75rem;  height: 1.75rem; }  /* 28px */

/* Per-platform mask images. Add new entries as new SVGs land in assets/social/ */
.icon-youtube   { -webkit-mask-image: url("assets/social/youtube.svg");   mask-image: url("assets/social/youtube.svg"); }
.icon-instagram { -webkit-mask-image: url("assets/social/instagram.svg"); mask-image: url("assets/social/instagram.svg"); }
.icon-facebook  { -webkit-mask-image: url("assets/social/facebook.svg");  mask-image: url("assets/social/facebook.svg"); }
.icon-tiktok    { -webkit-mask-image: url("assets/social/tiktok.svg");    mask-image: url("assets/social/tiktok.svg"); }
.icon-x         { -webkit-mask-image: url("assets/social/x.svg");         mask-image: url("assets/social/x.svg"); }
.icon-linkedin  { -webkit-mask-image: url("assets/social/linkedin.svg");  mask-image: url("assets/social/linkedin.svg"); }
.icon-discord   { -webkit-mask-image: url("assets/social/discord.svg");   mask-image: url("assets/social/discord.svg"); }
.icon-github    { -webkit-mask-image: url("assets/social/github.svg");    mask-image: url("assets/social/github.svg"); }

/* --- inside buttons ---------------------------------------------------- */
.btn__icon {
  width: 1.125rem; height: 1.125rem;
  background-color: currentColor;
  mask-position: center; mask-size: contain; mask-repeat: no-repeat;
  -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
  flex-shrink: 0;
  margin-right: 0.15rem;
}
.btn--sm .btn__icon { width: 1rem;    height: 1rem;    }
.btn--lg .btn__icon { width: 1.25rem; height: 1.25rem; }

/* --- prominent leading icon in social cards ---------------------------- */
.social-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--rule);
  background: var(--bg);
  margin-bottom: 1rem;
  color: var(--gold);
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.social-card__icon .icon { width: 1.125rem; height: 1.125rem; }
.social-card:hover .social-card__icon { color: var(--text); border-color: var(--gold-soft); background: var(--bg-3); }

/* --- footer "Connect" nav: icon + name --------------------------------- */
.footer__nav--social a {
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.footer__nav--social .icon {
  width: 0.95rem; height: 0.95rem;
  color: var(--gold);
  transition: color .25s var(--ease);
}
.footer__nav--social a:hover .icon,
.footer__nav--social a:focus-visible .icon { color: var(--text); }

/* --------------------------------------------------------------------------
   16. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .markets__track { animation: none !important; }
  .session-bar__pulse::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__title span, .hero__cta { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   17. BRAND ALIGNMENT v2  — overrides bringing the site into strict
       conformance with docs/Christian-Trades-Live-Brand-Guide.md.

       - Metallic gold gradient (135°) on every gold text run, never flat
       - Cormorant Garamond H2s; Cinzel H1/tagline; Inter for body + eyebrows
       - Three-tone layering: Midnight → Charcoal cards → Obsidian deep bands
       - Centered gold-gradient hairlines (≤280px) as section dividers
       - Bloomberg-style charcoal ticker with gold 25%α boundaries
       - 1px solid 55%α gold pill buttons + 1px gold ghost
   ========================================================================== */
:root {
  /* Metallic gold gradient — 135°, 48% midstop (per brand brief, verbatim) */
  --gold-shimmer: linear-gradient(135deg, #F4D37A 0%, #D4A035 48%, #8C641E 100%);
  --gold-button:  linear-gradient(135deg, #F4D37A 0%, #D4A035 48%, #8C641E 100%);
  --gold-text:    linear-gradient(135deg, #F4D37A 0%, #D4A035 48%, #8C641E 100%);

  /* Hairline tokens */
  --gold-line:     linear-gradient(90deg, transparent, #D4A035, transparent);
  --gold-line-18:  rgba(212, 160, 53, 0.18);
  --gold-line-25:  rgba(212, 160, 53, 0.25);

  /* Refined card border — steel @ 6% */
  --rule-soft: rgba(216, 221, 224, 0.06);

  /* Tighten frame + gutters to spec */
  --container: 75rem;                            /* 1200px */
  --frame:     clamp(1.5rem, 4vw, 4rem);
}

/* ---- TYPOGRAPHY -------------------------------------------------------- */
h1 { letter-spacing: 0.14em; font-weight: 700; }
h2, .section__title {
  font-family: var(--serif);                     /* Cormorant Garamond */
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;                          /* not all-caps */
  font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem);
  line-height: 1.12;
  color: var(--text);
  max-width: 30ch;
  margin: 0 auto;
}
.section__head { text-align: center; }
.section__head .chapter { display: inline-flex; }

/* Section eyebrow (01 / 06 About) — Inter 500, steel */
.chapter {
  font-family: var(--body);
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.22em;
}
.chapter::after { background: var(--gold-line-18); }
.chapter__num {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Inner eyebrows — also Inter / steel; gold dot remains the accent */
.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.22em;
}
.eyebrow .dot { background: var(--gold-bright); }

/* H2 underline — centered gold gradient hairline ≤280px */
.section__title::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 280px;
  height: 1px;
  margin: 1.4rem auto 0;
  background: var(--gold-line);
}

/* Body paragraphs — warm off-white, NOT platinum, NOT pure white */
.hero__lede,
.founder__brief,
.risk p,
.footer__tag {
  color: var(--text);
}

/* ---- BUTTONS ----------------------------------------------------------- */
.btn--gold {
  background: linear-gradient(135deg, #F4D37A 0%, #D4A035 48%, #8C641E 100%);
  color: #020506;
  border: 1px solid rgba(244, 211, 122, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px var(--gold-soft);
}

/* ---- METALLIC GOLD TEXT ----------------------------------------------- */
/* Existing classes use --gold-shimmer (now 135°/48%) so they're already
   correct. Below we (a) gold-up a few more callouts that were flat, and
   (b) explicitly remove flat gold from places brand calls steel. */
.gold-text,
.stamp__num,
.footer__est-num,
.ribbon__active span {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.risk__lead strong { color: var(--text); font-weight: 700; }   /* not flat gold */
.cta-link { color: var(--gold); border-color: var(--gold-soft); }

/* ---- HERO -------------------------------------------------------------- */
.hero {
  min-height: 60vh;
  padding-top: clamp(5rem, 12vh, 8rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  border-bottom: 0;
}
.hero__chart { opacity: 0.5; }
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 4vh, 3.25rem);
}
.hero__lead {
  order: 2;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__lead .eyebrow { display: inline-flex; }
.hero__mark {
  order: 1;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  animation-delay: 0.2s;
}
.hero__mark img {
  width: 100%;
  max-width: 32rem;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 28px rgba(244, 211, 122, 0.16));
}

/* Tagline (hero__title) — Cinzel 500, 0.18em, platinum (NOT gold gradient) */
.hero__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0.85rem 0 1rem;
  max-width: 22ch;
}
.hero__title span:nth-child(1),
.hero__title span:nth-child(2) {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--text-2);
  filter: none;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.hero__title span:nth-child(2) {
  opacity: 0.82;
  font-weight: 400;
}
.hero__lede {
  font-style: italic;
  margin: 0.4rem auto 1.6rem;
  max-width: 36ch;
}
.hero__cta { justify-content: center; }

@media (max-width: 640px) {
  .hero__mark, .hero__mark img { max-width: 18rem; }
  .hero__title { font-size: clamp(1.2rem, 4vw, 1.8rem); letter-spacing: 0.16em; }
}

/* ---- BACKGROUND LAYERING ---------------------------------------------- */
/* Cards/panels = charcoal w/ refined steel-α border */
.founder,
.principles,
.insight,
.social-card,
.card,
.ribbon,
.stream__frame {
  background: var(--bg-3);
  border-color: var(--rule-soft);
}
.insight:hover, .insight:focus-visible,
.social-card:hover, .social-card:focus-visible,
.card:hover, .card:focus-visible {
  background: var(--bg-3);
  border-color: var(--gold-soft);
}
.session-bar {
  background: var(--bg-3);
  border-top-color: var(--rule-soft);
  border-bottom-color: var(--rule-soft);
  position: sticky;
  top: 78px;                                     /* directly under sticky masthead (desktop) */
  z-index: 49;                                   /* one below the masthead's z-50 */
}
@media (max-width: 720px) {
  .session-bar { top: 75px; }
}

/* Obsidian deep band — used on Risk + footer */
.section--obsidian {
  background: var(--bg-4);
  position: relative;
}
.section--obsidian::before,
.section--obsidian::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold-line-18);
  pointer-events: none;
}
.section--obsidian::before { top: 0; }
.section--obsidian::after  { bottom: 0; }
.section--risk { background: var(--bg-4); }
.section--risk .stock-frame { background: rgba(7, 13, 16, 0.55); }

/* Footer = obsidian band with gold 18% hairline at top */
.footer {
  background: var(--bg-4);
  border-top: 0;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold-line-18);
  pointer-events: none;
}

/* ---- SECTION DIVIDERS — centered gold hairline ≤280px ----------------- */
.section + .section { border-top: 0; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 280px; height: 1px;
  background: var(--gold-line);
  transform: translateX(-50%);
  pointer-events: none;
}
/* Obsidian transitions use their own full-width hairline (above) */
.section + .section.section--obsidian::before,
.section + .section--risk::before {
  width: 100%;
  left: 0;
  transform: none;
  background: var(--gold-line-18);
}

/* ---- SPACING + RESTRAINT ---------------------------------------------- */
.section { padding: clamp(6rem, 10vh, 9rem) var(--frame); }
.section__head { margin-bottom: clamp(3.5rem, 6vh, 5rem); }

/* ---- MARKETS TICKER — TradingView live ticker tape -------------------- */
.markets {
  background: var(--bg-3);
  border-top: 1px solid var(--gold-line-25);
  border-bottom: 1px solid var(--gold-line-25);
  height: auto;                                  /* let the widget set height */
  min-height: 46px;
  overflow: visible;                             /* widget manages its own scroll */
  pointer-events: auto;                          /* the widget needs interactivity */
  padding: 0;
}
.markets::before, .markets::after { display: none; }   /* widget owns its edges */
.markets__tv { width: 100%; }
.markets__tv .tradingview-widget-copyright {
  text-align: center;
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-2);
  padding: 0.45rem 0;
  border-top: 1px solid var(--rule-soft);
}
.markets__tv .tradingview-widget-copyright a { color: var(--mute); }
.markets__tv .tradingview-widget-copyright a:hover { color: var(--gold); }

/* ==========================================================================
   18. CONTENT STRUCTURE v2 — section ledes, hero risk line, schedule,
       scope (What We Do / Don't), FAQ, Coming-Soon card states, expanded
       footer (legal nav + extended disclaimer).
   ========================================================================== */

/* Subtitle below each section H2 — quotable, GEO-friendly summary */
.section__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--text);
  max-width: 56ch;
  margin: 1.25rem auto 0;
  line-height: 1.5;
  text-align: center;
}

/* Hero risk line — short compliance disclaimer beneath CTAs */
.hero__risk {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 1.4rem 0 0;
  max-width: 44ch;
  line-height: 1.5;
}

/* ---- LIVE — schedule block --------------------------------------------- */
.schedule {
  max-width: var(--container);
  margin: 0 auto 3rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg-3);
  border: 1px solid var(--rule-soft);
  position: relative;
}
.schedule::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-deep), var(--gold), var(--gold-deep), transparent);
}
.schedule__head { margin-bottom: 1.25rem; }
.schedule__head .eyebrow { margin: 0; }
.schedule__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
  margin-bottom: 1.75rem;
}
.schedule__item {
  display: grid;
  grid-template-columns: minmax(8rem, auto) minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: baseline;
  gap: 1rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.schedule__time {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.schedule__name {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.schedule__note {
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  opacity: 0.8;
}
.schedule__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.schedule__risk {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
@media (max-width: 720px) {
  .schedule__item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ---- LIVE — stream intro eyebrow ------------------------------------- */
.stream__intro { margin-bottom: 1rem; }

/* ---- LIVE — three-state player (offline | live | replay) -------------- */
.stream__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  border: 1px solid var(--gold-line-18);
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.stream__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Each state fills the 16:9 footprint so layout never shifts between toggles */
.stream__state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.stream__state[hidden] { display: none; }

.stream__pulse {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mute);
  display: block;
}
.stream__pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--mute);
  opacity: 0.45;
  animation: pulse-steel 2.4s ease-out infinite;
}
@keyframes pulse-steel {
  0%   { transform: scale(0.95); opacity: 0.6; }
  70%  { transform: scale(1.6);  opacity: 0; }
  100% { transform: scale(1.6);  opacity: 0; }
}

.stream__state-eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stream__state-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.stream__state-sub {
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--step-0);
  letter-spacing: 0.06em;
  color: var(--mute);
  margin: 0;
}
.stream__state-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
  justify-content: center;
}

/* Tighten gap between player and the NYSE ribbon (was 1.5rem) */
.stream .ribbon { margin-top: clamp(1.5rem, 3vh, 2.5rem); }

/* Ribbon times — Inter 500 / 0.08em / steel (was mono / 0.14em / mute) */
.ribbon__times span {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

/* ---- INSIGHTS / RESOURCES — descriptive copy + Coming Soon state ------ */
.insight__desc,
.card__desc {
  margin: 0.5rem 1.5rem 0;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  opacity: 0.84;
  line-height: 1.55;
  flex: 1;
}
.card__desc { margin: 0.4rem 0 0; }
.insight,
.card {
  cursor: default;            /* not link-styled while disabled */
}
.insight--soon,
.card--soon {
  opacity: 0.92;
}
.insight--soon:hover,
.card--soon:hover {
  transform: none;            /* no lift on disabled */
  border-color: var(--rule-soft);
  background: var(--bg-3);
}
.cta-link--disabled {
  color: var(--mute) !important;
  border-color: var(--rule-soft) !important;
  pointer-events: none;
  cursor: default;
  text-transform: uppercase;
}
.cta-link--disabled::after {
  content: " ·";
  margin-left: 0.4rem;
  color: var(--gold);
}

/* ---- ABOUT — founder focus list --------------------------------------- */
.founder__focus {
  margin: 0.5rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.founder__focus li {
  position: relative;
  padding-left: 1.4rem;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  line-height: 1.5;
}
.founder__focus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 1px;
  background: var(--gold);
}

/* ---- ABOUT — scope (What We Do / Don't) ------------------------------- */
.scope {
  max-width: var(--container);
  margin: clamp(2.5rem, 5vh, 4rem) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}
.scope__col {
  background: var(--bg-3);
  border: 1px solid var(--rule-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.scope__col--do::before,
.scope__col--dont::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
}
.scope__col--do::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.scope__col--dont::before {
  background: linear-gradient(90deg, transparent, var(--mute), transparent);
}
.scope__head { margin-bottom: 1rem; }
.scope__title {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0.25rem 0 0;
  text-transform: none;
  line-height: 1.2;
}
.scope__list {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.scope__list li {
  position: relative;
  padding-left: 1.6rem;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  line-height: 1.5;
}
.scope__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.85rem; height: 1px;
  background: var(--gold);
}
.scope__list--dont li {
  color: var(--text-2);
  opacity: 0.95;
}
.scope__list--dont li::before {
  background: var(--mute);
}
@media (max-width: 880px) {
  .scope { grid-template-columns: 1fr; }
}

/* ---- FAQ -------------------------------------------------------------- */
.faq {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
}
.faq__item {
  background: var(--bg-3);
  border: 1px solid var(--rule-soft);
  padding: 0;
  transition: border-color .25s var(--ease);
}
.faq__item[open] {
  border-color: var(--gold-soft);
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  transition: transform .25s var(--ease);
}
.faq__item[open] .faq__q::after {
  content: "−";
  color: var(--gold-bright);
}
.faq__a {
  padding: 0 clamp(1.25rem, 2.5vw, 1.75rem) 1.4rem;
  border-top: 1px solid var(--rule-soft);
}
.faq__a p {
  margin: 1rem 0 0;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  line-height: 1.65;
}
.faq__a a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
}
.faq__a a:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }

/* ---- COMMUNITY — copy + cta separation -------------------------------- */
.community__copy { display: flex; flex-direction: column; gap: 1.25rem; }
.community__brief {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  max-width: 38ch;
}

/* ---- FOOTER — extended disclaimer + legal nav ------------------------- */
.footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer__about {
  font-family: var(--body);
  font-size: var(--step--1);
  color: var(--text);
  opacity: 0.85;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 36ch;
}
.footer__disclaimer {
  max-width: var(--container);
  margin: 0 auto clamp(1.5rem, 3vh, 2rem);
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.footer__disclaimer p {
  font-family: var(--body);
  font-size: var(--step--1);
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
  max-width: 80ch;
}
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__nav:nth-child(4) { grid-column: span 3; }
  .footer__nav:nth-child(4) ul {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  }
}
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav:nth-child(4) { grid-column: 1; }
  .footer__nav:nth-child(4) ul { display: grid; gap: 0.85rem; }
}

/* ==========================================================================
   19. LEGAL PAGES (disclaimer / privacy / terms / community-guidelines)
   ========================================================================== */

.legal-page main { min-height: calc(100vh - 12rem); }

.section--legal {
  padding-top: clamp(4rem, 7vh, 6rem);
}
.section--legal .section__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.legal {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem);
}
.legal__updated {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-soft);
}
.legal__notice {
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  background: rgba(212, 160, 53, 0.06);
  border: 1px solid var(--gold-soft);
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}
.legal h2 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  margin: 2.25rem 0 0.85rem;
  line-height: 1.2;
  max-width: none;
}
.legal h2:first-of-type { margin-top: 0.5rem; }
.legal p {
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1.1em;
  max-width: 64ch;
}
.legal a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
}
.legal a:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }
.legal strong { color: var(--text); font-weight: 700; }
.legal__list {
  margin: 0 0 1.25em;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.legal__list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--text);
  line-height: 1.65;
  max-width: 64ch;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.8rem;
  height: 1px;
  background: var(--gold);
}
