/* =============================================================================
   MARCUS PIZZA CORNER - Design System  ·  "Eld & Deg"
   One stylesheet, cinematic dark base with cream editorial breaks.
   Palette drawn from the brand mark: char, ember, basil, gold, cream, San Marzano.
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root{
  /* brand */
  --char:        #17120e;   /* base background (fire-lit black) */
  --char-2:      #1f1812;   /* raised surface */
  --char-3:      #2a2019;   /* card surface on dark */
  --char-line:   #3a2e24;   /* hairline on dark */
  --cream:       #f4ead7;   /* primary text on dark / light-section bg */
  --cream-2:     #efe1c9;
  --cream-dim:   #c9b89f;   /* muted text on dark */
  --ember:       #e8562a;   /* primary accent (flame) */
  --flame:       #f59e2e;   /* accent 2 (glow) */
  --tomato:      #c6321e;   /* San Marzano */
  --basil:       #6ba368;   /* basil */
  --basil-deep:  #3f6b43;
  --gold:        #c79a54;   /* logo ring */
  --gold-soft:   #dcc08a;
  --ink:         #211a13;   /* text on cream */
  --ink-dim:     #6b5c48;

  /* semantic (dark by default) */
  --bg:          var(--char);
  --surface:     var(--char-2);
  --card:        var(--char-3);
  --line:        var(--char-line);
  --text:        var(--cream);
  --muted:       var(--cream-dim);
  --accent:      var(--ember);

  /* type */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* fluid type scale (min 360px → max 1280px) */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.24vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.95vw, 2.2rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.7vw, 3.2rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3vw, 4.6rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 6.4rem);

  /* space */
  --sp-1: .5rem; --sp-2: .875rem; --sp-3: 1.25rem; --sp-4: 2rem;
  --sp-5: 3rem; --sp-6: 4.5rem; --sp-7: 7rem;

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,.7);
  --shadow-gold: 0 10px 40px -12px rgba(199,154,84,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .6s;
}

/* light editorial section = flip semantic tokens */
.section--cream{
  --bg: var(--cream);
  --surface: #fbf5ea;
  --card: #ffffff;
  --line: #e6d8c0;
  --text: var(--ink);
  --muted: var(--ink-dim);
  background: var(--bg);
  color: var(--text);
}
.section--basil{
  --bg:#20301f; --surface:#26391f; --card:#2c4126; --line:#3c5335;
  --text:#eef3e6; --muted:#b7c9ab; --accent:var(--flame);
  background:var(--bg); color:var(--text);
}

/* ---- Reset --------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--char); color:var(--cream);
  font-family:var(--f-sans); font-size:var(--step-0); line-height:1.65;
  font-weight:400; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--f-display); font-weight:600; line-height:1.05;
  letter-spacing:-.015em; }
h1{ font-size:var(--step-4); } h2{ font-size:var(--step-3); }
h3{ font-size:var(--step-2); } h4{ font-size:var(--step-1); }
p{ margin:0 0 1em; }
:focus-visible{ outline:2.5px solid var(--flame); outline-offset:3px; border-radius:4px; }
::selection{ background:var(--ember); color:#fff; }

/* ---- Layout -------------------------------------------------------------- */
.wrap{ width:min(100% - 2.5rem, var(--wrap)); margin-inline:auto; }
.wrap--narrow{ width:min(100% - 2.5rem, var(--wrap-narrow)); margin-inline:auto; }
.section{ padding-block:var(--sp-7); position:relative; }
.section--tight{ padding-block:var(--sp-6); }
.grid{ display:grid; gap:var(--sp-4); }
@media (min-width:640px){ .grid-2{ grid-template-columns:repeat(2,1fr);} }
@media (min-width:760px){ .grid-3{ grid-template-columns:repeat(3,1fr);} }
@media (min-width:900px){ .grid-4{ grid-template-columns:repeat(4,1fr);} }
.stack{ display:flex; flex-direction:column; gap:var(--sp-3); }
.cluster{ display:flex; flex-wrap:wrap; gap:var(--sp-2); align-items:center; }
.center{ text-align:center; }
.mx-auto{ margin-inline:auto; }

/* ---- Skip link ----------------------------------------------------------- */
.skip{ position:absolute; left:-9999px; top:0; z-index:200; background:var(--ember);
  color:#fff; padding:.7rem 1.1rem; border-radius:0 0 10px 0; font-weight:600; }
.skip:focus{ left:0; }

/* ---- Header / Nav -------------------------------------------------------- */
.site-header{ position:fixed; inset:0 0 auto 0; z-index:100;
  transition:background .3s var(--ease), backdrop-filter .3s, border-color .3s, padding .3s; }
.site-header::after{ content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  background:rgba(18,14,10,.82); backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid var(--char-line); transition:opacity .3s var(--ease); }
.site-header.is-stuck::after{ opacity:1; }
.nav{ display:flex; align-items:center; justify-content:space-between; gap:1rem;
  width:min(100% - 2.5rem, var(--wrap)); margin-inline:auto; padding-block:.9rem; }
.nav__brand{ display:flex; align-items:center; gap:.6rem; font-family:var(--f-display);
  font-weight:600; font-size:1.05rem; color:var(--cream); letter-spacing:-.01em; }
.nav__brand img{ width:44px; height:44px; border-radius:50%; box-shadow:0 0 0 1.5px var(--gold); }
.nav__brand b{ font-weight:700; }
.nav__links{ display:none; gap:.35rem; align-items:center; }
.nav__links a{ padding:.55rem .8rem; border-radius:var(--radius-pill); font-size:.94rem;
  font-weight:500; color:var(--cream-2); transition:color .2s, background .2s; }
.nav__links a:hover{ color:#fff; background:rgba(255,255,255,.07); }
.nav__links a[aria-current="page"]{ color:var(--flame); }
.nav__actions{ display:flex; align-items:center; gap:.6rem; }
.nav-toggle{ display:inline-flex; flex-direction:column; gap:5px; background:none; border:0;
  padding:.5rem; border-radius:10px; }
.nav-toggle span{ width:24px; height:2px; background:var(--cream); border-radius:2px;
  transition:transform .3s var(--ease), opacity .2s; }
.nav[data-open="true"] .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span:nth-child(2){ opacity:0; }
.nav[data-open="true"] .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (min-width:1000px){
  .nav__links{ display:flex; }
  .nav-toggle{ display:none; }
}
/* below desktop: logo + hamburger only — the CTA lives in the drawer */
@media (max-width:999px){
  .nav__actions .btn--primary{ display:none; }
}
@media (max-width:520px){
  .nav__brand img{ width:38px; height:38px; }
  .nav__brand span{ font-size:.98rem; }
  .nav{ padding-block:.7rem; }
}
@media (max-width:360px){
  .nav__brand span{ font-size:.9rem; }
}
/* mobile drawer */
.nav__drawer{ position:fixed; inset:0; z-index:90; display:grid; place-items:center;
  background:rgba(18,14,10,.97); backdrop-filter:blur(8px);
  opacity:0; visibility:hidden; transition:opacity .35s var(--ease), visibility .35s; }
.nav__drawer[data-open="true"]{ opacity:1; visibility:visible; }
.nav__drawer ul{ display:flex; flex-direction:column; gap:.4rem; text-align:center; }
.nav__drawer a{ font-family:var(--f-display); font-size:1.7rem; color:var(--cream);
  padding:.4rem 1rem; display:block; }
.nav__drawer a:hover, .nav__drawer a[aria-current="page"]{ color:var(--flame); }
@media (min-width:1000px){ .nav__drawer{ display:none; } }

/* ---- Buttons ------------------------------------------------------------- */
.btn{ display:inline-flex; align-items:center; gap:.55rem; padding:.85rem 1.4rem;
  border-radius:var(--radius-pill); font-weight:600; font-size:.96rem; border:1.5px solid transparent;
  transition:transform .2s var(--ease), box-shadow .3s, background .25s, color .2s, border-color .2s;
  will-change:transform; line-height:1; }
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn--primary{ background:linear-gradient(120deg,var(--ember),var(--flame)); color:#fff;
  box-shadow:0 12px 30px -12px rgba(232,86,42,.7); }
.btn--primary:hover{ box-shadow:0 18px 40px -12px rgba(245,158,46,.7); }
.btn--gold{ background:var(--gold); color:#241a0c; }
.btn--gold:hover{ background:var(--gold-soft); }
.btn--ghost{ border-color:var(--line); color:var(--text); background:transparent; }
.btn--ghost:hover{ border-color:var(--flame); color:var(--flame); }
.btn--lg{ padding:1.05rem 1.8rem; font-size:1.05rem; }
.btn--block{ width:100%; justify-content:center; }
.btn__arrow{ transition:transform .25s var(--ease); }
.btn:hover .btn__arrow{ transform:translateX(4px); }

/* ---- Eyebrow / kicker / pill --------------------------------------------- */
.kicker{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--f-mono);
  font-size:.74rem; letter-spacing:.22em; text-transform:uppercase; color:var(--flame);
  font-weight:400; }
.kicker::before{ content:""; width:26px; height:1px; background:var(--flame); opacity:.6; }
.kicker--center::after{ content:""; width:26px; height:1px; background:var(--flame); opacity:.6; }
.pill{ display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .8rem;
  border:1px solid var(--line); border-radius:var(--radius-pill); font-size:.78rem;
  color:var(--muted); font-weight:500; }
.tag{ font-family:var(--f-mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gold-soft); }
.text-gradient{ background:linear-gradient(100deg,var(--flame),var(--ember) 60%,var(--tomato));
  -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---- Section head -------------------------------------------------------- */
.sec-head{ max-width:62ch; margin-bottom:var(--sp-5); }
.sec-head--center{ margin-inline:auto; text-align:center; }
.sec-head__title{ margin:.6rem 0 .8rem; }
.sec-head__lead{ color:var(--muted); font-size:var(--step-1); line-height:1.5; }

/* ---- Hero ---------------------------------------------------------------- */
.hero{ position:relative; min-height:100svh; display:flex; align-items:flex-end;
  overflow:hidden; isolation:isolate; }
.hero__media{ position:absolute; inset:0; z-index:-2; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__media::after{ content:""; position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 18% 78%, rgba(245,158,46,.28), transparent 42%),
    linear-gradient(180deg, rgba(18,14,10,.62) 0%, rgba(18,14,10,.25) 30%, rgba(18,14,10,.9) 88%); }
.hero__glow{ position:absolute; z-index:-1; left:8%; bottom:14%; width:44vmax; height:44vmax;
  background:radial-gradient(circle, rgba(245,158,46,.32), rgba(232,86,42,.14) 40%, transparent 66%);
  filter:blur(8px); animation:flicker 5s ease-in-out infinite; pointer-events:none; }
@keyframes flicker{ 0%,100%{ opacity:.85; transform:scale(1);} 50%{ opacity:1; transform:scale(1.06);} }
.hero__inner{ padding-block:clamp(4rem,10vh,9rem); max-width:52rem; }
.hero__title{ font-size:var(--step-5); font-weight:600; letter-spacing:-.02em; }
.hero__lead{ color:var(--cream-2); font-size:var(--step-1); max-width:44ch; margin:1.3rem 0 2rem; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.8rem; }
.hero__scroll{ position:absolute; bottom:1.6rem; left:50%; transform:translateX(-50%);
  font-family:var(--f-mono); font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--cream-dim); display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.hero__scroll span{ width:1px; height:34px; background:linear-gradient(var(--flame),transparent);
  animation:scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot{ 0%{ transform:scaleY(0); transform-origin:top;} 50%{ transform:scaleY(1);} 100%{ transform:scaleY(0); transform-origin:bottom;} }

/* ---- Cards --------------------------------------------------------------- */
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card:hover{ transform:translateY(-5px); border-color:var(--gold); box-shadow:var(--shadow); }
.card__media{ aspect-ratio:4/3; overflow:hidden; }
.card__media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.card:hover .card__media img{ transform:scale(1.06); }
.card__body{ padding:1.4rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.card__title{ font-size:var(--step-1); }
.card__meta{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-soft); }
.card__text{ color:var(--muted); font-size:.96rem; margin:0; }
.card__link{ margin-top:auto; font-weight:600; color:var(--flame); display:inline-flex; gap:.4rem; align-items:center; }
.card__link .btn__arrow{ transition:transform .25s var(--ease); }
.card:hover .card__link .btn__arrow{ transform:translateX(4px); }

/* module / lesson cards */
.module-card{ position:relative; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:1.7rem 1.6rem; display:flex; flex-direction:column;
  gap:.7rem; transition:transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow:hidden; }
.module-card::before{ content:""; position:absolute; inset:0 auto 0 0; width:4px;
  background:linear-gradient(var(--flame),var(--ember)); opacity:.85; }
.module-card:hover{ transform:translateY(-5px); border-color:var(--gold); box-shadow:var(--shadow); }
.module-card__num{ font-family:var(--f-mono); font-size:.78rem; color:var(--gold-soft); letter-spacing:.1em; }
.module-card__title{ font-size:var(--step-1); }
.module-card ul.lessons{ display:flex; flex-direction:column; gap:.3rem; margin-top:.4rem; }
.module-card ul.lessons li{ color:var(--muted); font-size:.9rem; padding-left:1.1rem; position:relative; }
.module-card ul.lessons li::before{ content:"·"; position:absolute; left:.2rem; color:var(--flame); }

/* ---- Stats --------------------------------------------------------------- */
.stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
@media (min-width:760px){ .stats--4{ grid-template-columns:repeat(4,1fr);} }
.stat{ background:var(--surface); padding:1.6rem 1.3rem; text-align:center; }
.stat__num{ font-family:var(--f-display); font-size:var(--step-3); color:var(--flame); line-height:1;
  font-weight:600; letter-spacing:-.02em; }
.stat__label{ color:var(--muted); font-size:.82rem; margin-top:.4rem; letter-spacing:.02em; }

/* ---- Menu list ----------------------------------------------------------- */
.menu-list{ display:flex; flex-direction:column; }
.menu-item{ display:grid; grid-template-columns:1fr auto; gap:.3rem 1rem; align-items:baseline;
  padding:1.25rem 0; border-bottom:1px dashed var(--line); }
.menu-item__name{ font-family:var(--f-display); font-size:var(--step-1); color:var(--text); }
.menu-item__price{ font-family:var(--f-mono); color:var(--flame); font-weight:700; white-space:nowrap; }
.menu-item__desc{ grid-column:1/-1; color:var(--muted); font-size:.94rem; margin:0; max-width:60ch; }

/* ---- Pullquote ----------------------------------------------------------- */
.pullquote{ font-family:var(--f-display); font-size:var(--step-3); line-height:1.15;
  letter-spacing:-.02em; max-width:20ch; }
.pullquote--wide{ max-width:26ch; }
.pullquote cite{ display:block; margin-top:1.2rem; font-family:var(--f-mono); font-style:normal;
  font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-soft); }

/* ---- Split (image + text) ------------------------------------------------ */
.split{ display:grid; gap:var(--sp-5); align-items:center; }
@media (min-width:900px){ .split{ grid-template-columns:1fr 1fr; }
  .split--wide-text{ grid-template-columns:1.15fr .85fr; } }
.split__media{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow);
  aspect-ratio:4/5; }
.split__media img{ width:100%; height:100%; object-fit:cover; }
.split--reverse .split__media{ order:-1; }
@media (min-width:900px){ .split--reverse .split__media{ order:1; } }

/* ---- Prose (articles / lessons) ------------------------------------------ */
.prose{ max-width:70ch; }
.prose h2{ font-size:var(--step-2); margin:2.2rem 0 .8rem; }
.prose h3{ font-size:var(--step-1); margin:1.8rem 0 .6rem; color:var(--flame); }
.prose p, .prose li{ color:var(--muted); font-size:1.06rem; line-height:1.75; }
.prose ul, .prose ol{ margin:0 0 1.2em; padding-left:1.3rem; display:flex; flex-direction:column; gap:.4rem; }
.prose ul li{ list-style:disc; } .prose ol li{ list-style:decimal; }
.prose strong{ color:var(--text); }
.prose a{ color:var(--flame); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.prose blockquote{ border-left:3px solid var(--flame); margin:1.6rem 0; padding:.2rem 0 .2rem 1.3rem;
  font-family:var(--f-display); font-size:var(--step-1); color:var(--text); font-style:italic; }
.prose figure{ margin:1.8rem 0; }
.prose figure img{ border-radius:var(--radius); }
.prose figcaption{ font-size:.82rem; color:var(--muted); margin-top:.5rem; text-align:center; }
.prose code{ font-family:var(--f-mono); background:var(--char-3); padding:.12em .4em; border-radius:6px;
  font-size:.85em; color:var(--gold-soft); }

/* callout / note */
.callout{ border:1px solid var(--line); border-left:3px solid var(--flame);
  background:var(--surface); border-radius:12px; padding:1.1rem 1.3rem; margin:1.6rem 0; }
.callout__title{ font-weight:700; color:var(--text); margin-bottom:.3rem; display:flex; gap:.5rem; align-items:center; }
.callout p{ margin:0; color:var(--muted); font-size:.96rem; }

/* ---- Recipe / spec tables ------------------------------------------------ */
.recipe-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:1.6rem 1.7rem; }
.recipe-meta{ display:flex; flex-wrap:wrap; gap:1.4rem; margin-bottom:1.2rem; }
.recipe-meta div{ font-size:.82rem; color:var(--muted); }
.recipe-meta b{ display:block; font-family:var(--f-mono); color:var(--flame); font-size:1.05rem; }
.spec-table{ width:100%; border-collapse:collapse; font-size:.95rem; }
.spec-table th, .spec-table td{ text-align:left; padding:.7rem .6rem; border-bottom:1px solid var(--line); }
.spec-table th{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-soft); font-weight:400; }
.spec-table td:last-child, .spec-table th:last-child{ text-align:right; font-variant-numeric:tabular-nums; }
.spec-table tr:last-child td{ border-bottom:0; }

/* numbered steps */
.steps{ counter-reset:step; display:flex; flex-direction:column; gap:1.1rem; list-style:none; padding-left:0; }
.steps li{ position:relative; padding-left:3.2rem; color:var(--muted); list-style:none; }
/* kill any native ol marker so only the circle badge shows (also inside .prose) */
.prose ol.steps{ padding-left:0; }
.prose ol.steps li{ list-style:none; }
.steps li::before{ counter-increment:step; content:counter(step);
  position:absolute; left:0; top:-.1rem; width:2.2rem; height:2.2rem; border-radius:50%;
  display:grid; place-items:center; font-family:var(--f-mono); font-size:.9rem; color:#241a0c;
  background:linear-gradient(140deg,var(--flame),var(--gold)); font-weight:700; }
.steps li strong{ color:var(--text); display:block; margin-bottom:.15rem; }

/* ---- Calculators (tools) ------------------------------------------------- */
.calc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(1.4rem,3vw,2.2rem); }
.calc__grid{ display:grid; gap:1.6rem; }
@media (min-width:820px){ .calc__grid{ grid-template-columns:1fr 1fr; } }
.field{ margin-bottom:1.1rem; }
.field label{ display:flex; justify-content:space-between; align-items:baseline; font-weight:600;
  font-size:.9rem; margin-bottom:.45rem; }
.field .val{ font-family:var(--f-mono); color:var(--flame); }
.field input[type=range]{ width:100%; accent-color:var(--ember); }
.field input[type=number], .field select{ width:100%; padding:.7rem .8rem; border-radius:10px;
  border:1px solid var(--line); background:var(--char); color:var(--text); font:inherit; }
.field .hint{ font-size:.78rem; color:var(--muted); margin-top:.35rem; }
.result{ background:var(--char); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.result__row{ display:flex; justify-content:space-between; align-items:baseline; padding:.85rem 1.1rem;
  border-bottom:1px solid var(--line); }
.result__row:last-child{ border-bottom:0; }
.result__row .k{ color:var(--muted); font-size:.92rem; }
.result__row .v{ font-family:var(--f-mono); font-size:1.25rem; color:var(--text); font-variant-numeric:tabular-nums; }
.result__row.is-total{ background:linear-gradient(100deg,rgba(232,86,42,.14),rgba(245,158,46,.06)); }
.result__row.is-total .v{ color:var(--flame); font-size:1.5rem; }
.timeline{ display:flex; flex-direction:column; gap:0; }
.timeline__item{ display:grid; grid-template-columns:auto 1fr; gap:1rem; position:relative; padding-bottom:1.3rem; }
.timeline__item::before{ content:""; position:absolute; left:9px; top:20px; bottom:-4px; width:2px; background:var(--line); }
.timeline__item:last-child::before{ display:none; }
.timeline__dot{ width:20px; height:20px; border-radius:50%; background:var(--char-3);
  border:2px solid var(--flame); margin-top:2px; z-index:1; }
.timeline__time{ font-family:var(--f-mono); color:var(--flame); font-size:.95rem; }
.timeline__label{ font-weight:600; }
.timeline__desc{ color:var(--muted); font-size:.88rem; }

/* ---- Marquee (social proof) ---------------------------------------------- */
.marquee{ overflow:hidden; border-block:1px solid var(--line); padding-block:1.1rem;
  -webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee__track{ display:flex; gap:3rem; width:max-content; animation:scrollx 32s linear infinite; }
.marquee__track span{ font-family:var(--f-display); font-size:var(--step-2); color:var(--muted);
  display:inline-flex; align-items:center; gap:1rem; white-space:nowrap; }
.marquee__track span::after{ content:"·"; color:var(--flame); }
@media (prefers-reduced-motion:reduce){ .marquee__track{ animation:none; } }
@keyframes scrollx{ to{ transform:translateX(-50%); } }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band{ position:relative; overflow:hidden; border-radius:var(--radius-lg);
  padding:clamp(2.4rem,6vw,4.5rem); text-align:center; isolation:isolate; }
.cta-band__bg{ position:absolute; inset:0; z-index:-2; }
.cta-band__bg img{ width:100%; height:100%; object-fit:cover; }
.cta-band::after{ content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(120deg, rgba(18,14,10,.9), rgba(18,14,10,.55)),
    radial-gradient(100% 120% at 20% 100%, rgba(245,158,46,.35), transparent 55%); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer{ background:#100c08; border-top:1px solid var(--char-line); color:var(--cream-dim);
  padding-block:var(--sp-6) var(--sp-4); }
.site-footer a{ color:var(--cream-2); }
.site-footer a:hover{ color:var(--flame); }
.footer-grid{ display:grid; gap:var(--sp-4); grid-template-columns:1fr; margin-bottom:var(--sp-5); }
@media (min-width:720px){ .footer-grid{ grid-template-columns:1.6fr 1fr 1fr 1fr; } }
.footer-brand{ display:flex; align-items:center; gap:.7rem; margin-bottom:1rem; }
.footer-brand img{ width:52px; height:52px; border-radius:50%; box-shadow:0 0 0 1.5px var(--gold); }
.footer-brand b{ font-family:var(--f-display); color:var(--cream); font-size:1.15rem; }
.footer-col h4{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.15em; text-transform:uppercase;
  color:var(--gold-soft); font-weight:400; margin-bottom:.9rem; }
.footer-col ul{ display:flex; flex-direction:column; gap:.5rem; font-size:.92rem; }
.footer-bottom{ display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between;
  padding-top:var(--sp-4); border-top:1px solid var(--char-line); font-size:.82rem; }
.footer-bottom a{ color:var(--cream-dim); }

/* ---- Reveal animation ---------------------------------------------------- */
/* gated on .js so no-JS users (and crawlers) always see content */
.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion:reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
  .hero__glow, .hero__scroll span{ animation:none; }
}

/* ---- Misc utilities ------------------------------------------------------ */
.divider{ height:1px; background:var(--line); border:0; margin-block:var(--sp-5); }
.crust-rule{ height:8px; background:
  radial-gradient(circle at 6px -2px, var(--char-line) 6px, transparent 7px) 0 0/16px 8px repeat-x; opacity:.6; }
.u-muted{ color:var(--muted); }
.u-flame{ color:var(--flame); }
.u-mono{ font-family:var(--f-mono); }
.badge-ig{ display:inline-flex; align-items:center; gap:.5rem; }
.overline{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-soft); }
