/* ==========================================================
   SURAJ SIR CHEM — Design System
   Dark obsidian base · Reagent green accent · Flame orange CTA
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;0,9..144,900;1,9..144,500&family=Geist+Mono:wght@400;500&family=Geist:wght@300;400;500;600;700&display=swap');

:root {
  /* Surface */
  --bg:           #0a0c0b;
  --bg-elev:      #11140f;
  --bg-elev-2:    #161a13;
  --ink-rule:     #1f2419;
  --ink-rule-2:   #2a3022;

  /* Text */
  --text:         #e8ebe2;
  --text-soft:    #a8ad9e;
  --text-mute:    #6b7062;

  /* Accents — reagents */
  --reagent:      #c6ff3d;  /* bromothymol-base */
  --reagent-dim:  #8aab30;
  --flame:        #ff6a1a;  /* sodium flame */
  --copper:       #ffb547;  /* copper flame */
  --indigo-litm:  #6b5cff;  /* litmus, used sparingly */

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans:  'Geist', system-ui, sans-serif;
  --mono:  'Geist Mono', ui-monospace, monospace;

  /* Rhythm */
  --pad-x: clamp(20px, 5vw, 80px);
  --max:   1320px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay — gives the whole site a film-print texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--reagent); color: var(--bg); }

/* ============== TYPOGRAPHY ============== */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.h-display {
  font-size: clamp(48px, 8.5vw, 132px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--reagent);
}

.h-section {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}
.h-section em {
  font-style: italic;
  font-weight: 300;
  color: var(--reagent);
}

.h-card {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reagent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--reagent);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--text-soft);
  max-width: 60ch;
}

.body-l { font-size: 18px; line-height: 1.6; color: var(--text-soft); }
.body-m { font-size: 15px; line-height: 1.6; color: var(--text-soft); }

.mono-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-mute);
}

/* ============== LAYOUT ============== */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

section { position: relative; }

/* ============== NAV ============== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(10, 12, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--ink-rule);
  background: rgba(10, 12, 11, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text .l1 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-text .l2 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reagent);
}
.brand-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--reagent);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--reagent);
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(1.05);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--reagent);
  opacity: 0.25;
  pointer-events: none;
}
.brand-mark em { font-style: italic; font-weight: 300; color: var(--reagent); }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--reagent); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 6px; height: 6px;
  background: var(--reagent);
  border-radius: 50%;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--reagent);
  color: var(--reagent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--reagent);
  color: var(--bg);
  box-shadow: 0 0 32px rgba(198, 255, 61, 0.35);
}

.menu-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  height: 1px; width: 100%;
  background: var(--text);
  transition: transform 0.3s;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    padding: 24px var(--pad-x);
    border-bottom: 1px solid var(--ink-rule);
    gap: 20px;
  }
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--reagent);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, 0);
}
.btn-primary:hover {
  box-shadow: 0 0 48px rgba(198, 255, 61, 0.45);
  transform: translateY(-2px);
}
.btn-primary .arrow { transition: transform 0.25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--ink-rule-2);
}
.btn-ghost:hover {
  border-color: var(--reagent);
  color: var(--reagent);
}

.btn-flame {
  background: var(--flame);
  color: #fff;
}
.btn-flame:hover {
  box-shadow: 0 0 48px rgba(255, 106, 26, 0.5);
  transform: translateY(-2px);
}

/* ============== UTILS ============== */

.rule {
  height: 1px;
  background: var(--ink-rule);
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--ink-rule-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.chip-dot {
  width: 6px; height: 6px;
  background: var(--reagent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--reagent);
}

/* ============== MOLECULE BG ============== */

.molecules {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.molecules svg { width: 100%; height: 100%; }

.molecules .atom {
  fill: none;
  stroke: var(--reagent-dim);
  stroke-width: 1;
  opacity: 0.4;
}
.molecules .bond {
  stroke: var(--ink-rule-2);
  stroke-width: 1;
}
.molecules .glow {
  fill: var(--reagent);
  opacity: 0.6;
  filter: blur(2px);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(8deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

/* ============== HERO ============== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-title {
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--ink-rule);
  margin-top: 40px;
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--reagent);
  line-height: 1;
}
.hero-meta-item .lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-top: 6px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Hero portrait card */
.hero-card {
  position: relative;
  padding: 0;
  background: linear-gradient(160deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  border: 1px solid var(--ink-rule-2);
  overflow: hidden;
}
.hero-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--bg-elev-2);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.02) saturate(1.05);
}
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,12,11,0.55) 100%);
  pointer-events: none;
}
.hero-card-overlay {
  padding: 24px 28px;
  position: relative;
  background: var(--bg-elev);
  border-top: 1px solid var(--ink-rule-2);
}
.hero-card-padded {
  padding: 32px;
}
.hero-card-padded::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--reagent);
  border-left: 2px solid var(--reagent);
}
.hero-card-padded::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--reagent);
  border-right: 2px solid var(--reagent);
}
.hero-card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--reagent);
  margin-bottom: 16px;
}
.hero-card-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-card-attribution {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

/* ============== SECTIONS ============== */

.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============== CREDIBILITY STRIP ============== */

.creds {
  padding: 32px 0;
  border-top: 1px solid var(--ink-rule);
  border-bottom: 1px solid var(--ink-rule);
  background: var(--bg-elev);
  overflow: hidden;
}
.creds-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.creds-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-soft);
  white-space: nowrap;
}
.creds-item span.x {
  color: var(--reagent);
  font-style: italic;
  font-weight: 300;
  margin-right: 6px;
}
.creds-item .dot {
  width: 4px; height: 4px;
  background: var(--text-mute);
  border-radius: 50%;
  margin-left: 64px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== FEATURE / OFFER GRID ============== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--ink-rule);
  transition: all 0.3s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.card:hover {
  border-color: var(--reagent-dim);
  transform: translateY(-4px);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--reagent);
  transition: width 0.4s cubic-bezier(.2,.7,.2,1);
}
.card:hover::before { width: 100%; }

.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.card-icon {
  width: 48px; height: 48px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-rule-2);
  color: var(--reagent);
}
.card-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.card-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ============== STORY / ABOUT BLOCK ============== */

.story {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at top left, rgba(198, 255, 61, 0.06), transparent 50%),
    var(--bg);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
}

.story-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
.story-quote em {
  font-style: normal;
  font-weight: 500;
  color: var(--reagent);
}

.story-aside p {
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.story-aside p:last-child { margin-bottom: 0; }

/* ============== COURSE CARDS ============== */

.course-card {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--ink-rule);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  overflow: hidden;
}
.course-card.featured {
  background: linear-gradient(160deg, var(--bg-elev-2) 0%, var(--bg-elev) 100%);
  border-color: var(--reagent-dim);
}
.course-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0; right: 0;
  background: var(--reagent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 6px 12px;
}
.course-card:hover { border-color: var(--reagent-dim); transform: translateY(-4px); }

.course-tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--reagent);
  margin-bottom: 16px;
}
.course-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.course-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-rule);
}
.course-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.course-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--ink-rule);
  align-items: flex-start;
}
.course-list li:last-child { border-bottom: none; }
.course-list li::before {
  content: '→';
  color: var(--reagent);
  flex-shrink: 0;
  font-family: var(--mono);
}
.course-price {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.course-price .currency {
  font-size: 20px;
  color: var(--text-soft);
  vertical-align: top;
  margin-right: 4px;
}
.course-price .per {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0;
  margin-left: 8px;
}
.course-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ============== TESTIMONIAL ============== */

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .t-grid { grid-template-columns: 1fr; } }

.t-card {
  padding: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--ink-rule);
  position: relative;
}
.t-card .stars {
  color: var(--copper);
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.t-card blockquote {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.t-card cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-rule);
}
.t-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--reagent-dim), var(--flame));
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--bg);
}
.t-name { font-size: 14px; color: var(--text); }
.t-meta { font-family: var(--mono); font-size: 11px; color: var(--text-mute); }

/* Highlight result */
.result-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding: 40px 32px;
  border: 1px solid var(--ink-rule);
  background: var(--bg-elev);
}
@media (max-width: 880px) { .result-row { grid-template-columns: 1fr 1fr; } }
.result-stat .n {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--reagent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.result-stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 10px;
}

/* ============== FAQ ============== */

.faq {
  border-top: 1px solid var(--ink-rule);
}
.faq-item {
  border-bottom: 1px solid var(--ink-rule);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--reagent); }
.faq-q .plus {
  width: 32px; height: 32px;
  border: 1px solid var(--ink-rule-2);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--reagent);
  transition: transform 0.3s, background 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--reagent);
  color: var(--bg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.2,.7,.2,1);
}
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ============== FOOTER CTA ============== */

.cta-banner {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 106, 26, 0.1), transparent 40%),
    radial-gradient(circle at 20% 60%, rgba(198, 255, 61, 0.08), transparent 40%),
    var(--bg);
  border-top: 1px solid var(--ink-rule);
  border-bottom: 1px solid var(--ink-rule);
}
.cta-banner-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-banner h2 { margin-bottom: 24px; }
.cta-banner .lede { margin: 0 auto 40px; }

/* ============== FOOTER ============== */

footer {
  padding: 80px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--ink-rule);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.foot-brand .body-m { margin: 16px 0 24px; max-width: 36ch; }
.foot-socials {
  display: flex;
  gap: 12px;
}
.foot-socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--ink-rule-2);
  display: grid; place-items: center;
  color: var(--text-soft);
  transition: all 0.2s;
}
.foot-socials a:hover {
  border-color: var(--reagent);
  color: var(--reagent);
  transform: translateY(-2px);
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--reagent);
  margin-bottom: 20px;
}
.foot-col ul { list-style: none; }
.foot-col li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--reagent); }

.foot-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--ink-rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 24px;
}
.foot-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
}
.foot-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-legal-links a {
  color: var(--text-soft);
  transition: color 0.2s;
}
.foot-legal-links a:hover { color: var(--reagent); }
.foot-legal-meta {
  font-size: 11px;
  color: var(--text-mute);
  max-width: 60ch;
}

/* ============== REVEAL ANIMATIONS ============== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ============== PAGE HEADERS (interior pages) ============== */

.page-header {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--ink-rule);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 16px 0 24px;
}
.page-header h1 em { font-style: italic; font-weight: 300; color: var(--reagent); }
.page-header .lede { max-width: 56ch; }
.breadcrumb {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--reagent); }
.breadcrumb .sep { color: var(--reagent); }

/* ============== BLOG / RESOURCE LIST ============== */

.post-list { display: flex; flex-direction: column; }
.post-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-rule);
  align-items: baseline;
  transition: padding 0.3s;
}
.post-row:hover {
  padding-left: 16px;
}
.post-row:hover .post-title { color: var(--reagent); }
.post-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.post-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.post-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--reagent);
  border: 1px solid var(--ink-rule-2);
  padding: 6px 10px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .post-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .post-row:hover { padding-left: 0; }
}

/* ============== TEST PORTAL PREVIEW ============== */

.portal-hero {
  position: relative;
  padding: 60px 0;
}
.portal-mock {
  position: relative;
  background: linear-gradient(160deg, var(--bg-elev-2), var(--bg-elev));
  border: 1px solid var(--ink-rule-2);
  padding: 32px;
  font-family: var(--mono);
  font-size: 14px;
}
.portal-mock::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  width: 12px; height: 12px;
  background: var(--flame);
  border-radius: 50%;
  box-shadow: 20px 0 0 var(--copper), 40px 0 0 var(--reagent);
}
.portal-mock-body { margin-top: 32px; }
.portal-q {
  padding: 16px;
  background: var(--bg);
  border-left: 2px solid var(--reagent);
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--text);
}
.portal-opts { display: grid; gap: 8px; }
.portal-opt {
  padding: 12px 16px;
  border: 1px solid var(--ink-rule);
  background: var(--bg);
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 0.2s;
}
.portal-opt:hover { border-color: var(--reagent-dim); }
.portal-opt.correct {
  border-color: var(--reagent);
  background: rgba(198, 255, 61, 0.05);
  color: var(--reagent);
}
.portal-opt .letter {
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

.feature-list { list-style: none; }
.feature-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink-rule);
  align-items: start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--reagent-dim);
  color: var(--reagent);
  display: grid; place-items: center;
}
.feature-text h4 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 6px;
}
.feature-text p { color: var(--text-soft); font-size: 14px; }

/* ============== CONTACT ============== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-method {
  display: block;
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--ink-rule);
  margin-bottom: 16px;
  transition: all 0.25s;
  position: relative;
}
.contact-method:hover {
  border-color: var(--reagent-dim);
  transform: translateX(6px);
}
.contact-method .ico {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--reagent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-method .val {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.contact-method .sub {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 6px;
}
.contact-method::after {
  content: '→';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  color: var(--reagent);
  font-family: var(--mono);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.contact-method:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}

/* ============== ABOUT TIMELINE ============== */

.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--reagent), var(--ink-rule));
}
.tl-item {
  position: relative;
  padding-bottom: 48px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--reagent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--reagent);
}
.tl-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--reagent);
  margin-bottom: 8px;
}
.tl-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.tl-body { color: var(--text-soft); font-size: 15px; max-width: 60ch; }

/* ======================== REFERRAL STRIP ======================== */
.referral-strip {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(198, 255, 61, 0.05), transparent 60%),
    var(--bg-elev);
  border-top: 1px solid var(--ink-rule);
  border-bottom: 1px solid var(--ink-rule);
  position: relative;
  overflow: hidden;
}
.referral-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(198, 255, 61, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(255, 106, 26, 0.03) 0%, transparent 40%);
  pointer-events: none;
}
.referral-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.referral-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  color: var(--text-soft);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.referral-line-strong {
  color: var(--text);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
}
.referral-line-strong em {
  font-style: italic;
  color: var(--reagent);
  font-weight: 500;
}
.referral-sub {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 28px;
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .referral-strip { padding: 72px 0; }
}

/* ======================== CTA MICROCOPY ======================== */
.cta-microcopy {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.6;
}
.cta-microcopy em {
  color: var(--text-soft);
  font-style: italic;
}

/* ============== FEE-ON-REQUEST BLOCK ============== */
.course-price-private {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-rule);
}
.course-price-private .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.course-price-private .value {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.course-price-private .value em {
  font-style: italic;
  color: var(--reagent);
  font-weight: 400;
}
.course-price-private .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  margin-top: 6px;
}

/* ============== ANIMATED "REQUEST FEE" BUTTON ============== */
.btn-fee-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(198,255,61,0.08), rgba(198,255,61,0.02));
  color: var(--reagent);
  border: 1px solid rgba(198,255,61,0.35);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-fee-request::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(198,255,61,0.15), transparent);
  transform: translateX(-100%);
  animation: feeShimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes feeShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.btn-fee-request:hover {
  background: linear-gradient(135deg, rgba(198,255,61,0.16), rgba(198,255,61,0.06));
  border-color: var(--reagent);
  color: #d6ff5d;
  transform: translateY(-1px);
}
.btn-fee-request .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--reagent);
  box-shadow: 0 0 8px rgba(198,255,61,0.8);
  animation: feeDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes feeDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.15); }
}
.btn-fee-request .arrow {
  transition: transform 0.25s ease;
}
.btn-fee-request:hover .arrow {
  transform: translateX(4px);
}
