/* ═══════════════════════════════════════════════════════════
   RAJEEV PARMAR — Midnight Trading Floor
   Plain CSS3. No frameworks.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --bg-3: #111112;
  --gold: #d4af37;
  --gold-bright: #f0d98c;
  --gold-muted: #8a7322;
  --text: #f5f2ea;
  --text-2: #9d998f;
  --line: rgba(212, 175, 55, 0.16);
  --line-soft: rgba(255, 255, 255, 0.06);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #050505; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
section { scroll-margin-top: var(--nav-h); }

/* ── Grain ─────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 2000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ── Custom cursor ─────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 3000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-bright); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
body.cursor-on, body.cursor-on * { cursor: none; }
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { display: block; }
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.06);
}

/* ── Scroll progress ───────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-muted), var(--gold), var(--gold-bright));
  z-index: 1500;
}

/* ── Preloader ─────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease) 0.15s;
}
.preloader.done { transform: translateY(-100%); }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.preloader__mark {
  font-family: var(--serif); font-size: 2.4rem; letter-spacing: 0.35em;
  color: var(--gold); padding-left: 0.35em;
}
.preloader__count {
  font-family: var(--mono); font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--text); line-height: 1; font-variant-numeric: tabular-nums;
}
.preloader__label {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.5em;
  color: var(--text-2); padding-left: 0.5em;
}

/* ── Navbar ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2.5rem;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  transition: height 0.45s var(--ease), background 0.45s, border-color 0.45s, backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.nav__brand { display: flex; align-items: center; gap: 0.85rem; margin-right: auto; }
.nav__monogram {
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  color: var(--gold); border: 1px solid var(--line);
  width: 42px; height: 42px; display: grid; place-items: center;
  letter-spacing: 0.08em;
}
.nav__name {
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.04em;
}
.nav__links { display: flex; gap: 2rem; }
.nav__link {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-2);
  position: relative; padding: 0.4rem 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--line); padding: 0.75rem 1.4rem;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.nav__cta:hover { background: var(--gold); color: #050505; border-color: var(--gold); }

.nav__burger { display: none; flex-direction: column; gap: 7px; padding: 0.6rem; z-index: 1300; }
.nav__burger span {
  width: 26px; height: 1.5px; background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(4.2px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-4.2px) rotate(-45deg); }

/* ── Mobile menu ───────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(5, 5, 5, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(1.5rem, 8vw, 4rem);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.mobile-menu.open { clip-path: inset(0 0 0 0); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__link {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem);
  color: var(--text); display: flex; align-items: baseline; gap: 1.1rem;
  padding: 0.35rem 0; border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu__link em {
  font-family: var(--mono); font-style: normal;
  font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em;
}
.mobile-menu__link:hover { color: var(--gold-bright); }
.mobile-menu.open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: 0.43s; }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: 0.5s; }
.mobile-menu__cta {
  margin-top: 2.5rem; align-self: flex-start;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #050505; background: var(--gold);
  padding: 1rem 2rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 1.1rem 2.2rem;
  position: relative; overflow: hidden;
  transition: color 0.35s, border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn--gold {
  background: linear-gradient(120deg, var(--gold-muted), var(--gold) 55%, var(--gold-bright));
  color: #050505; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 8px 32px rgba(212, 175, 55, 0.18);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--gold), 0 14px 44px rgba(212, 175, 55, 0.3); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease); z-index: -1;
}
.btn--ghost:hover { color: #050505; border-color: var(--gold); transform: translateY(-3px); }
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--full { display: block; text-align: center; }

/* ── Masked line reveal ────────────────────────────────── */
.mask { display: block; overflow: hidden; }
.mask__line {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
body.loaded .hero .mask__line,
.reveal.is-visible .mask__line { transform: translateY(0); }
.mask__line--gold {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-muted), var(--gold) 50%, var(--gold-bright));
  -webkit-background-clip: text; background-clip: text;
}
.mask__line em, .section-title em, .final-cta__title em { font-style: italic; font-weight: 500; }

/* ── Generic reveal ────────────────────────────────────── */
.reveal, .reveal-load {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible, body.loaded .reveal-load { opacity: 1; transform: translateY(0); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) clamp(1.25rem, 5vw, 4rem) 5rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -20%; right: -10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -4%;
  width: 100%; height: 68%;
  pointer-events: none;
}
.hero__grid line { stroke: rgba(255, 255, 255, 0.045); stroke-width: 1; }
.hero__wave-path { stroke-linecap: round; stroke-linejoin: round; }
.hero__wave-labels text { opacity: 0; transition: opacity 0.8s ease 1.6s; }
body.loaded .hero__wave-labels text { opacity: 1; }
.hero__wave-dot { filter: drop-shadow(0 0 6px var(--gold-bright)); opacity: 0; }
body.loaded .hero__wave-dot { opacity: 1; }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  max-width: 1400px; margin: 0 auto; width: 100%;
}
.hero__kicker {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.2rem;
}
.hero__kicker .rule { width: 52px; height: 1px; background: var(--gold); display: inline-block; }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  line-height: 1.04; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}
.hero__intro { max-width: 34rem; color: var(--text-2); font-size: clamp(0.95rem, 1.3vw, 1.08rem); margin-bottom: 2.6rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero__stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; position: relative; padding-left: 1rem; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.stat__num, .stat__suffix {
  font-family: var(--mono); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--gold); display: inline;
}
.stat__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); margin-top: 0.3rem; }

/* Portrait */
.hero__portrait { position: relative; }
.portrait-frame { position: relative; max-width: 380px; margin-left: auto; }
.portrait-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.portrait-frame__corner { position: absolute; width: 34px; height: 34px; border: 1px solid var(--gold); }
.portrait-frame__corner--tl { top: -14px; left: -14px; border-right: none; border-bottom: none; }
.portrait-frame__corner--br { bottom: -14px; right: -14px; border-left: none; border-top: none; }
.portrait-tag {
  position: absolute; font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.28em; color: var(--gold);
}
.portrait-tag--top { top: -26px; right: 0; }
.portrait-tag--bottom { bottom: -30px; left: 0; color: var(--text-2); }

.hero__scroll {
  position: absolute; bottom: 2rem; left: clamp(1.25rem, 5vw, 4rem); z-index: 3;
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--text-2);
}
.hero__scroll i {
  width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; display: block;
}
.hero__scroll i::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold); animation: scroll-drip 2s var(--ease) infinite;
}
@keyframes scroll-drip { 0% { top: -50%; } 100% { top: 110%; } }

/* ── Marquee ───────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  overflow: hidden; padding: 1.6rem 0;
  background: var(--bg-2);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__track span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  color: var(--text-2); white-space: nowrap; letter-spacing: 0.06em;
}
.marquee__track b { color: var(--gold); font-weight: 400; padding: 0 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections & chapters ───────────────────────────────── */
.section {
  padding: clamp(6rem, 13vw, 11.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1400px; margin: 0 auto; position: relative;
}
.chapter { display: flex; align-items: center; gap: 1.4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.chapter__num {
  font-family: var(--mono); font-size: clamp(2.6rem, 5vw, 4rem);
  color: transparent; -webkit-text-stroke: 1px var(--gold-muted);
  line-height: 1;
}
.chapter__label {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 1.2rem;
}
.chapter__label::before { content: ""; width: 60px; height: 1px; background: var(--gold-muted); }

.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-title em { color: var(--gold); }

/* ── Philosophy ────────────────────────────────────────── */
.philosophy__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.philosophy__grid .section-title { grid-column: 1 / -1; margin-bottom: 0; }
.philosophy__body p { color: var(--text-2); margin-bottom: 1.6rem; max-width: 38rem; }
.philosophy__body strong { color: var(--text); font-weight: 500; }
.philosophy__quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.5;
  border-left: 2px solid var(--gold); padding-left: 1.8rem;
  margin-top: 3rem; color: var(--text);
}
.philosophy__quote cite {
  display: block; font-family: var(--mono); font-style: normal;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-top: 1.1rem;
}
.philosophy__fib { align-self: center; text-align: center; }
.fib-svg { width: min(100%, 320px); height: auto; margin: 0 auto; display: block; }
.fib-spiral { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; }
.reveal.is-visible .fib-spiral { stroke-dashoffset: 0; }
.philosophy__fib-cap {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-2); margin-top: 1.4rem; display: block;
}

/* ── Bento / Expertise ─────────────────────────────────── */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.bento__card {
  background: var(--bg); padding: clamp(1.8rem, 3vw, 2.8rem);
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), background 0.5s;
}
.bento__card--wide { grid-column: span 2; }
.bento__card::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--gold); opacity: 0;
  transition: opacity 0.5s; pointer-events: none;
}
.bento__card::before {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(212, 175, 55, 0.07), transparent);
  transform: skewX(-18deg);
  transition: left 0.8s var(--ease);
}
.bento__card:hover { transform: translateY(-4px); background: var(--bg-2); }
.bento__card:hover::after { opacity: 0.55; }
.bento__card:hover::before { left: 120%; }
.bento__idx {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 1.6rem;
}
.bento__glyph { width: 100%; max-width: 220px; height: auto; margin-bottom: 1.8rem; opacity: 0.9; }
.bento__card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.9rem;
}
.bento__card p { color: var(--text-2); font-size: 0.95rem; max-width: 30rem; }

/* ── Analysis / tabs ───────────────────────────────────── */
.analysis__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.analysis__sub { color: var(--text-2); font-size: 0.95rem; max-width: 22rem; padding-bottom: 0.6rem; }

.tabs {
  display: flex; gap: 0; border: 1px solid var(--line-soft);
  width: max-content; max-width: 100%; overflow-x: auto;
  margin-bottom: 0;
}
.tab {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em;
  color: var(--text-2); padding: 1.05rem 1.8rem; white-space: nowrap;
  position: relative; transition: color 0.35s, background 0.35s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.45s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--gold-bright); background: rgba(212, 175, 55, 0.05); }
.tab.is-active::after { transform: scaleX(1); }

.panel {
  display: grid; grid-template-columns: 1.5fr 1fr;
  border: 1px solid var(--line-soft); border-top: none;
  background: var(--bg-2);
}
.panel[hidden] { display: none; }
.panel.is-active { animation: panel-in 0.7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.panel__chart { padding: clamp(1rem, 3vw, 2.5rem); border-right: 1px solid var(--line-soft); }
.chart { width: 100%; height: auto; display: block; }
.chart__grid line { stroke: rgba(255, 255, 255, 0.05); }
.chart__level { stroke-dasharray: 5 6; stroke-width: 1; }
.chart__level--r { stroke: rgba(212, 175, 55, 0.5); }
.chart__level--s { stroke: rgba(255, 255, 255, 0.22); }
.chart__level-t { font-family: var(--mono); font-size: 12px; fill: var(--text-2); }
.chart__path {
  fill: none; stroke: var(--gold); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.45));
}
.chart__fill {
  fill: url(#chartFill); fill: rgba(212, 175, 55, 0.05);
  stroke: none; opacity: 0; transition: opacity 1.2s ease 0.9s;
}
.panel.is-active .chart__fill, .reveal.is-visible .chart__fill { opacity: 1; }
.chart__wedge { stroke: rgba(240, 217, 140, 0.35); stroke-dasharray: 3 5; stroke-width: 1; }
.chart__labels text { font-family: var(--mono); font-size: 16px; fill: var(--gold-bright); }
.chart__end { fill: var(--gold-bright); filter: drop-shadow(0 0 6px var(--gold-bright)); }

.panel__view { padding: clamp(1.5rem, 3vw, 2.8rem); display: flex; flex-direction: column; gap: 1.3rem; }
.panel__bias {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.45rem 1rem; border: 1px solid;
}
.panel__bias--bull { color: var(--gold-bright); border-color: rgba(212, 175, 55, 0.5); background: rgba(212, 175, 55, 0.07); }
.panel__bias--neutral { color: var(--text-2); border-color: var(--line-soft); }
.panel__bias--bear { color: #e0e0e0; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.panel__view h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; }
.panel__levels { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.panel__levels > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft);
}
.panel__levels dt { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-2); }
.panel__levels dd { font-family: var(--mono); font-size: 1rem; color: var(--gold); }
.panel__view p { color: var(--text-2); font-size: 0.95rem; }

/* ── About ─────────────────────────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.about__portrait { position: relative; max-width: 400px; }
.about__portrait-cap {
  position: absolute; bottom: -28px; left: 0;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-2);
}
.about__body p { color: var(--text-2); margin-bottom: 1.5rem; max-width: 40rem; }
.about__cred { margin-top: 2.5rem; border-top: 1px solid var(--line-soft); }
.about__cred li {
  display: flex; gap: 1.2rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.about__cred li span { color: var(--gold); font-family: var(--mono); }

/* ── Courses ───────────────────────────────────────────── */
.courses {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.course {
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.4rem;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.course::before {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(212, 175, 55, 0.09), transparent);
  transform: skewX(-18deg); transition: left 0.85s var(--ease);
}
.course:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.course:hover::before { left: 130%; }
.course--featured {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(17, 17, 17, 0.6) 45%);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.08);
}
.course__tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--line-soft); padding: 0.4rem 0.9rem;
}
.course__tag--gold { color: #050505; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.course h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.course__price { font-family: var(--mono); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--gold); }
.course__price sup { font-size: 0.45em; vertical-align: super; margin-right: 0.15em; color: var(--gold-muted); }
.course ul { display: flex; flex-direction: column; flex: 1; }
.course ul li {
  padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text-2); font-size: 0.92rem;
  display: flex; gap: 0.8rem; align-items: baseline;
}
.course ul li::before { content: "—"; color: var(--gold); flex-shrink: 0; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { max-width: 820px; border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500;
  color: var(--text); transition: color 0.3s;
}
.faq__q:hover { color: var(--gold-bright); }
.faq__q i {
  flex-shrink: 0; width: 14px; height: 14px; position: relative; display: block;
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; background: var(--gold);
  top: 50%; left: 0; width: 100%; height: 1.5px;
  transition: transform 0.45s var(--ease);
}
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.55s var(--ease); }
.faq__a p { color: var(--text-2); font-size: 0.95rem; padding: 0 0 1.6rem; max-width: 44rem; }

/* ── Insights ──────────────────────────────────────────── */
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.insight {
  background: var(--bg); padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: background 0.5s, transform 0.5s var(--ease);
  position: relative;
}
.insight:hover { background: var(--bg-2); transform: translateY(-4px); }
.insight__meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.insight__meta span { color: var(--gold); }
.insight__meta time { color: var(--text-2); }
.insight h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.35; }
.insight p { color: var(--text-2); font-size: 0.92rem; flex: 1; }
.insight__link {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; gap: 0.7rem; align-items: center;
  margin-top: 0.6rem;
}
.insight__link i { font-style: normal; transition: transform 0.35s var(--ease); }
.insight__link:hover i { transform: translateX(6px); }

/* ── Testimonials ──────────────────────────────────────── */
.voices { text-align: left; }
.slider {
  position: relative; border: 1px solid var(--line-soft);
  background: var(--bg-2); padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.slider__mark {
  position: absolute; top: -1.5rem; left: 1.5rem;
  font-family: var(--serif); font-size: 12rem; line-height: 1;
  color: rgba(212, 175, 55, 0.14); pointer-events: none;
}
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform 0.75s var(--ease); }
.slide { min-width: 100%; padding-right: 2rem; }
.slide blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.5;
  max-width: 52rem; margin-bottom: 2.2rem;
}
.slide figcaption { display: flex; flex-direction: column; gap: 0.3rem; }
.slide figcaption strong { font-weight: 500; letter-spacing: 0.04em; }
.slide figcaption span {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold);
}
.slider__nav { display: flex; align-items: center; gap: 1.6rem; margin-top: 3rem; }
.slider__btn {
  width: 52px; height: 52px; border: 1px solid var(--line);
  color: var(--gold); font-size: 1.1rem;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.slider__btn:hover { background: var(--gold); color: #050505; transform: translateY(-2px); }
.slider__dots { display: flex; gap: 0.7rem; }
.slider__dots button {
  width: 22px; height: 2px; background: rgba(255, 255, 255, 0.15);
  transition: background 0.35s, width 0.35s var(--ease);
}
.slider__dots button.is-active { background: var(--gold); width: 40px; }

/* ── Final CTA ─────────────────────────────────────────── */
.final-cta {
  position: relative; text-align: center;
  padding: clamp(7rem, 15vw, 13rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.final-cta__glow {
  position: absolute; left: 50%; top: 50%;
  width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 55%);
  pointer-events: none;
}
.final-cta__title {
  position: relative;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 6.4vw, 5.6rem);
  line-height: 1.06; text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.final-cta__sub { position: relative; color: var(--text-2); max-width: 30rem; margin: 0 auto 3rem; }
.final-cta__btns { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem) 2.5rem;
  max-width: 1400px; margin: 0 auto;
}
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap; margin-bottom: 3.5rem;
}
.footer__brand { display: flex; gap: 1.1rem; align-items: center; }
.footer__brand p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; }
.footer__brand p span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2); }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-2); transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer__nav a:hover { color: var(--gold-bright); padding-left: 0.5rem; }
.footer__socials { display: flex; gap: 0.9rem; }
.footer__socials a {
  width: 44px; height: 44px; border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  transition: border-color 0.35s, transform 0.35s var(--ease), background 0.35s;
}
.footer__socials svg { width: 16px; height: 16px; fill: var(--text-2); transition: fill 0.35s; }
.footer__socials a:hover { border-color: var(--gold); transform: translateY(-3px); background: rgba(212, 175, 55, 0.06); }
.footer__socials a:hover svg { fill: var(--gold-bright); }
.footer__disclaimer {
  font-size: 0.78rem; color: var(--text-2); line-height: 1.8;
  border: 1px solid var(--line-soft); padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem; max-width: 70rem;
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-2);
}
.footer__sig { color: var(--gold-muted); font-style: italic; font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 4rem; }
  .portrait-frame { margin: 0 auto; max-width: 320px; }
  .hero { padding-top: calc(var(--nav-h) + 2rem); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .panel { grid-template-columns: 1fr; }
  .panel__chart { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .courses { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 4rem; }
  .insights__grid { grid-template-columns: 1fr; }
  .philosophy__grid, .about__grid { grid-template-columns: 1fr; }
  .about__portrait { margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__name { display: none; }
  .hero__stats { gap: 1.4rem; }
  .hero__scroll { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0.95rem 1rem; text-align: center; }
  .footer__top { flex-direction: column; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 1.2rem; }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .grain { animation: none; }
  .mask__line, .reveal, .reveal-load { transform: none; opacity: 1; }
}
