/* ============================================================
   yconic — molten intelligence
   Palette built around the brand vermilion #e3411c
   ============================================================ */
:root {
  --primary: #e3411c;     /* yconic vermilion (logo) */
  --ember:   #ff6a3d;     /* coral mid */
  --amber:   #ffae4d;     /* molten highlight */
  --oxblood: #7a1f0c;     /* deep shadow tone */
  --ink:     #f7f1ea;     /* warm cream text */
  --ink-dim: rgba(247, 241, 234, 0.62);
  --ink-faint: rgba(247, 241, 234, 0.38);
  --bg:      #0a0705;     /* obsidian, warm undertone */
  --bg-2:    #120a07;     /* panel */
  --line:    rgba(255, 106, 61, 0.16);
  --glow:    rgba(227, 65, 28, 0.55);
}

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

html {
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;          /* stop trackpad swipe-to-navigate (back/forward) */
  overscroll-behavior-x: none;
}
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
  overscroll-behavior: none;          /* belt-and-suspenders: no horizontal history gesture */
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: "Clash Display", "Space Grotesk", sans-serif; font-weight: 600; }

.accent { color: var(--primary); }
.amber  { color: var(--amber); }

/* ---------- Fixed nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(18px, 4vw, 48px);
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10,7,5,0.7), transparent);
}
.nav-logo { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: clamp(12px, 1.5vw, 22px); align-items: center; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 13px;
  letter-spacing: 0.04em; font-weight: 500; white-space: nowrap; transition: color .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--primary); border-radius: 100px;
  color: var(--ink) !important; background: rgba(227,65,28,0.12);
  transition: background .25s, box-shadow .25s;
}
.nav-cta:hover { background: var(--primary); box-shadow: 0 0 24px var(--glow); }
/* collapse the section menu items below desktop so the nav never overflows; pill stays */
@media (max-width: 1200px) { .nav-links .hide-sm { display: none; } }

/* ---------- Scrub (cinematic) sections ---------- */
.scrub { position: relative; }
.scrub.tall { height: 650vh; }   /* swirl + logo morph run together; background settles just after the logo forms */
.scrub.mid  { height: 420vh; }
.sticky {
  position: sticky; top: 0; height: 100vh; width: 100%;
  overflow: hidden; display: grid; place-items: center; background: var(--bg);
}
.scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 38%, rgba(0,0,0,0.72) 100%),
    linear-gradient(180deg, rgba(10,7,5,0.55) 0%, transparent 22%, transparent 64%, rgba(10,7,5,0.92) 100%);
}

/* ---------- Hero overlay copy ---------- */
.overlay { position: relative; z-index: 10; text-align: center; padding: 0 24px; }
.line {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1180px); text-align: center;
  font-family: "Clash Display", sans-serif; font-weight: 600;
  font-size: clamp(2.1rem, 6.4vw, 6rem); letter-spacing: -0.02em; line-height: 1.02;
  opacity: 0; text-shadow: 0 0 60px rgba(227,65,28,0.35); will-change: opacity, transform;
}
.line .accent { text-shadow: 0 0 70px var(--glow); }
.line-logo { height: clamp(40px, 9vw, 96px); width: auto; vertical-align: middle; filter: drop-shadow(0 0 50px var(--glow)); }

/* Swarm finale — particles MORPH into the logo */
#logo-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 4; pointer-events: none;
}
.hero-finale-scrim {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1240px); height: min(74vh, 600px); opacity: 0;
  z-index: 3; pointer-events: none; will-change: opacity, transform;
  background: radial-gradient(58% 58% at 50% 50%, rgba(6, 4, 3, 0.78), rgba(6, 4, 3, 0) 72%);
}
.hero-logo-tag {
  top: calc(50% + 150px) !important; z-index: 11;
  font-size: clamp(1rem, 2.4vw, 1.7rem) !important;
  font-weight: 500 !important; letter-spacing: 0.14em;
  color: var(--amber); text-shadow: 0 0 30px rgba(227, 65, 28, 0.45);
}
@media (max-width: 600px) { .hero-logo-tag { top: calc(50% + 92px) !important; } }

/* eyebrow + HUD */
.eyebrow {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%); z-index: 12;
  font-size: 12px; letter-spacing: 0.42em; color: var(--amber); text-transform: uppercase;
}
.telemetry { position: absolute; z-index: 12; font-size: 11px; letter-spacing: 0.22em; color: var(--ink-faint); }
.telemetry b { color: var(--primary); }
.bl { bottom: 78px; left: clamp(18px,4vw,48px); }
.br { bottom: 78px; right: clamp(18px,4vw,48px); text-align: right; }
.progress {
  position: absolute; left: clamp(18px,4vw,48px); right: clamp(18px,4vw,48px); bottom: 52px;
  height: 2px; background: rgba(255,255,255,0.10); z-index: 12; border-radius: 2px; overflow: hidden;
}
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--amber), var(--primary)); box-shadow: 0 0 14px var(--glow); }
.scroll-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 12;
  font-size: 11px; letter-spacing: 0.4em; color: var(--ink-faint);
  animation: bob 1.8s ease-in-out infinite; transition: opacity .4s;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* caption overlay for scrub sections */
.scrub-caption {
  position: absolute; z-index: 11; left: 50%; bottom: 14vh; transform: translateX(-50%);
  text-align: center; max-width: min(760px, 90vw); padding: clamp(16px, 3vw, 32px);
}
/* soft dark scrim behind caption text so it stays legible on bright frames
   (no hard edges — radial fade sits above the frame, below the text) */
.scrub-caption::before {
  content: ""; position: absolute; inset: -6% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 72% at 50% 50%, rgba(8,5,4,0.72), rgba(8,5,4,0.40) 54%, transparent 80%);
}
.scrub-caption h2 {
  font-size: clamp(1.8rem, 5.4vw, 4rem); letter-spacing: -0.02em; line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0,0,0,0.85), 0 0 6px rgba(0,0,0,0.55);
}
.scrub-caption p {
  margin-top: 14px; color: var(--ink); font-size: clamp(1rem,1.6vw,1.18rem); line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0,0,0,0.92), 0 0 4px rgba(0,0,0,0.7);
}
/* standout event date (Enterprise AI Summit) */
.summit-date {
  display: inline-block; margin-top: 18px !important; padding: 6px 18px; border-radius: 999px;
  font-family: "Clash Display", sans-serif; font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem); letter-spacing: 0.10em; color: var(--amber);
  border: 1px solid rgba(255,174,77,0.45); background: rgba(10,7,5,0.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  text-shadow: 0 0 28px var(--glow); box-shadow: 0 0 34px rgba(227,65,28,0.30);
}

/* ---------- Standard content sections ---------- */
.section { position: relative; padding: clamp(90px, 13vh, 170px) clamp(20px, 6vw, 120px); }
.section.center { text-align: center; }
.section h2.title { font-size: clamp(2rem, 5.2vw, 4.2rem); letter-spacing: -0.025em; line-height: 1.02; max-width: 16ch; }
.section.center h2.title { margin-inline: auto; }
.lede { margin-top: 22px; max-width: 60ch; color: var(--ink-dim); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.62; }
.section.center .lede { margin-inline: auto; }

/* Numbered section eyebrow — pill style, legible on any background
   (dark sections, gradient overlays, and bright cinematic frames like the
   Enterprise planet). .idx and .kicker share one look so all 5 sections
   render identically. */
.idx,
.kicker {
  display: inline-block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(10, 7, 5, 0.55);
  border: 1px solid rgba(255, 174, 77, 0.38);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
          backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    0 0 32px rgba(227, 65, 28, 0.30),
    inset 0 0 0 1px rgba(247, 241, 234, 0.06);
  margin-bottom: 22px;
  opacity: 1;
}

/* feature grid */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); margin-top: clamp(38px, 6vh, 70px); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: 18px;
  background: linear-gradient(165deg, rgba(255,106,61,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--line); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(160deg, rgba(255,174,77,0.5), transparent 40%); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); transition: transform .4s; }
.card .dot { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(150deg, var(--primary), var(--oxblood)); box-shadow: 0 0 22px var(--glow); margin-bottom: 18px; display: grid; place-items: center; }
.card .dot span { width: 9px; height: 9px; background: var(--amber); border-radius: 2px; }   /* echoes the logo's square dot */
.card h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { color: var(--ink-dim); font-size: 0.98rem; line-height: 1.58; }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px,6vh,70px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(30px,5vh,52px) 0; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 30px 18px; } }
.stat { text-align: center; }
.stat .stat-num { font-family: "Clash Display", sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; background: linear-gradient(160deg, var(--amber), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .stat-label { margin-top: 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* split feature row */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(40px,6vh,70px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.bullets { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.bullets li { position: relative; padding-left: 30px; color: var(--ink-dim); line-height: 1.5; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--primary); box-shadow: 0 0 14px var(--glow); }
.bullets li b { color: var(--ink); font-weight: 600; }

.panel { border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(120% 100% at 0% 0%, rgba(227,65,28,0.12), transparent 55%), var(--bg-2); padding: clamp(26px, 3vw, 44px); }
.panel .big { font-family: "Clash Display"; font-size: clamp(2.6rem,6vw,4.6rem); line-height: 1; background: linear-gradient(160deg, var(--amber), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel .big + p { color: var(--ink-dim); margin-top: 10px; }
.panel hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 100px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 0 0 rgba(227,65,28,0); }
.btn-primary:hover { box-shadow: 0 0 34px var(--glow); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.section.center .cta-row { justify-content: center; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* divider glow */
.glow-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: .5; margin: 0 auto; max-width: 1100px; }

/* ---------- Teaser accents: chips + inline link ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.section.center .chips { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255, 106, 61, 0.06);
  font-size: 0.92rem; color: var(--ink-dim); letter-spacing: 0.01em; white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--primary); box-shadow: 0 0 10px var(--glow); flex: none; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  color: var(--primary); text-decoration: none; font-weight: 600; font-size: 1.02rem;
  transition: gap .25s, color .25s;
}
.text-link:hover { gap: 14px; color: var(--ember); }
.section.center .text-link { justify-content: center; }

/* ---------- Sub-hero (intro band below the cinematic hero) ---------- */
.subhero { text-align: center; padding: clamp(96px, 16vh, 200px) clamp(20px, 6vw, 120px) clamp(40px, 7vh, 90px); }
.subhero h2 { font-size: clamp(1.43rem, 3.45vw, 2.85rem); letter-spacing: -0.025em; line-height: 1.06; max-width: 26ch; margin-inline: auto; }
.subhero .sub { margin: 26px auto 0; max-width: 62ch; color: var(--ink-dim); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.6; }

/* ---------- Detail-page header (offerings.html) ---------- */
.dochead {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(10, 7, 5, 0.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.dochead img { height: 24px; width: auto; display: block; }
.dochead .back { color: var(--ink-dim); text-decoration: none; font-size: 13px; letter-spacing: 0.06em; transition: color .25s; }
.dochead .back:hover { color: var(--primary); }
.doc-section { scroll-margin-top: 90px; }   /* anchor offset under the sticky header */

/* ---------- Closing CTA ---------- */
.finale { position: relative; min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 22px; padding: 60px 24px; overflow: hidden; }
.finale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 42%, rgba(227,65,28,0.20), transparent 65%); pointer-events: none; }
.finale h2 { position: relative; font-size: clamp(2.4rem, 7vw, 6rem); letter-spacing: -0.03em; line-height: 0.98; }
.finale p { position: relative; color: var(--ink-dim); font-size: clamp(1.1rem,2vw,1.4rem); max-width: 46ch; margin-inline: auto; }
.finale .micro { position: relative; color: var(--ink-faint); font-size: 13px; letter-spacing: 0.06em; margin-top: 6px; }

/* footer */
.footer { padding: 48px clamp(20px,6vw,120px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer img { height: 22px; opacity: .9; }
.footer .links { display: flex; gap: 26px; }
.footer a { color: var(--ink-faint); text-decoration: none; font-size: 13px; letter-spacing: .04em; transition: color .25s; }
.footer a:hover { color: var(--primary); }
.footer .copy { color: var(--ink-faint); font-size: 12px; }

/* ---------- Lead / onboarding form ---------- */
.lead-form { max-width: 560px; margin-top: clamp(34px, 5vh, 56px); display: grid; gap: 22px; }
.lead-form .field { display: grid; gap: 8px; }
.lead-form label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.lead-form label .req { color: var(--primary); }
.lead-form input,
.lead-form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--ink-faint); }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none; border-color: var(--primary);
  background: rgba(255,255,255,0.05); box-shadow: 0 0 0 3px rgba(227,65,28,0.18);
}
.lead-form .btn-primary { border: none; }
.lead-form .btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.form-status { margin-top: 4px; font-size: 0.95rem; min-height: 1.2em; }
.form-status.ok  { color: var(--amber); }
.form-status.err { color: #ff7a6b; }

/* ---------- Enterprise page ---------- */
/* shorter cinematic beat than .mid (420vh) so a 6-beat page stays scrollable */
.scrub.beat { height: 300vh; }
/* tasteful logo accents (used sparingly: hero caption + finale) */
.cap-logo {
  height: clamp(30px, 4.4vw, 46px); width: auto; display: block; margin: 0 auto 18px;
  filter: drop-shadow(0 0 26px var(--glow)); opacity: 0.95;
}
.scrub-caption.center-cap { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
.scrub-caption .cap-cta { display: inline-block; margin-top: 22px; }
.finale-logo {
  position: relative; height: clamp(38px, 5.5vw, 58px); width: auto; margin: 0 auto 6px;
  filter: drop-shadow(0 0 32px var(--glow));
}
/* "Literal Intelligence" definition callout */
.def-callout {
  margin: clamp(26px, 4vh, 44px) 0; padding: clamp(20px, 3vw, 30px);
  border-left: 3px solid var(--primary); border-radius: 0 14px 14px 0;
  background: linear-gradient(120deg, rgba(227,65,28,0.10), rgba(255,255,255,0.012) 70%);
  max-width: 64ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--ink);
}
.def-callout b { color: var(--amber); }
.subhead { margin-top: 10px; color: var(--ink); font-size: clamp(1.1rem,1.9vw,1.45rem); font-weight: 500; max-width: 40ch; }
.section.center .subhead { margin-inline: auto; }

/* ---------- Onboarding / Get Started (world-class-simple, visible by default) ---------- */
.onboard {
  position: relative; min-height: calc(100vh - 84px);
  display: grid; place-items: center; padding: clamp(36px, 7vh, 80px) 24px; overflow: hidden;
}
.onboard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 48% at 50% 32%, rgba(227,65,28,0.16), transparent 64%);
}
.onboard-inner {
  position: relative; width: 100%; max-width: 520px;
  animation: onb-in .6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes onb-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.onboard h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.04; margin: 18px 0 12px; }
.onboard-sub { color: var(--ink-dim); font-size: clamp(1.04rem, 1.7vw, 1.2rem); line-height: 1.6; margin-bottom: clamp(26px, 4vh, 38px); max-width: 44ch; }
.onboard .lead-form { margin-top: 0; max-width: none; gap: 18px; }
.lead-form label .opt { color: var(--ink-faint); font-size: 0.82em; letter-spacing: 0.04em; text-transform: none; }
.onboard-submit { width: 100%; justify-content: center; margin-top: 4px; padding: 16px 30px; font-size: 1.05rem; }
.onboard-back { display: inline-block; margin-top: 18px; color: var(--ink-faint); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; transition: color .25s; }
.onboard-back:hover { color: var(--primary); }
/* success state */
.onboard-success { text-align: center; }
.onboard-success .check {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--primary), var(--oxblood)); box-shadow: 0 0 44px var(--glow);
  color: #fff; font-size: 30px; font-weight: 700;
}
.onboard-success h1 { margin-top: 0; }

/* ---------- Sandbox page: day timeline + duration tiers ---------- */
.duration-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4vh, 40px); }
.duration-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid rgba(255,174,77,0.40); background: rgba(10,7,5,0.45);
  font-weight: 600; letter-spacing: 0.04em; color: var(--ink); font-size: clamp(0.95rem,1.4vw,1.08rem);
}
.duration-pill b { color: var(--amber); font-family: "Clash Display", sans-serif; }
.timeline { display: grid; gap: 18px; margin-top: clamp(34px, 5vh, 56px); }
.tl-item {
  display: grid; grid-template-columns: clamp(54px, 7vw, 78px) 1fr; gap: clamp(16px, 2.4vw, 30px);
  align-items: start; padding: clamp(18px, 2.4vw, 28px); border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,106,61,0.05), rgba(255,255,255,0.012));
  border: 1px solid var(--line);
}
.tl-day { font-family: "Clash Display", sans-serif; font-size: clamp(1.2rem,2.4vw,1.7rem); color: var(--amber); line-height: 1; }
.tl-day small { display: block; margin-top: 6px; font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.tl-body h3 { font-size: clamp(1.1rem,1.9vw,1.35rem); letter-spacing: -0.01em; margin-bottom: 8px; }
.tl-body p { color: var(--ink-dim); font-size: clamp(0.98rem,1.5vw,1.1rem); line-height: 1.55; }
.tl-body .tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tl-tags span { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-dim); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); }
/* compact data table reused for metrics/labs */
.tbl { width: 100%; border-collapse: collapse; margin-top: clamp(28px,4vh,44px); font-size: clamp(0.95rem,1.5vw,1.08rem); }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--amber); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.tbl td b { color: var(--ink); }
.tbl tr:last-child td { border-bottom: none; }

/* collapsible day agenda (native <details>) */
/* override .tl-item's grid: the <details> itself must be a block so the
   summary and agenda stack full-width instead of falling into grid columns */
.day-acc { display: block; padding: 0; overflow: hidden; }
.day-acc > summary {
  list-style: none; cursor: pointer; display: grid;
  grid-template-columns: clamp(54px, 7vw, 78px) 1fr auto; gap: clamp(16px, 2.4vw, 30px);
  align-items: start; padding: clamp(18px, 2.4vw, 28px); transition: background .2s;
}
.day-acc > summary::-webkit-details-marker { display: none; }
.day-acc > summary:hover { background: rgba(255,106,61,0.05); }
.day-acc > summary:focus { outline: none; }
.day-acc > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
@media (max-width: 600px) {
  .day-acc > summary { grid-template-columns: 1fr auto; }
  .day-acc > summary .tl-day { grid-column: 1 / -1; }
}
.day-acc .chev { align-self: center; color: var(--amber); font-size: 1.1rem; transition: transform .25s; }
.day-acc[open] .chev { transform: rotate(180deg); }
.day-acc .tl-body .hint { color: var(--ink-faint); font-size: 13px; letter-spacing: 0.04em; margin-top: 8px; }
.agenda {
  padding: 4px clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 30px)
           calc(clamp(54px, 7vw, 78px) + clamp(16px, 2.4vw, 30px) + clamp(18px, 2.4vw, 28px));
}
@media (max-width: 640px) { .agenda { padding-left: clamp(18px, 2.4vw, 28px); } }
.agenda .slot { padding: 13px 0; border-top: 1px solid var(--line); }
.agenda .slot:first-child { border-top: none; padding-top: 4px; }
.agenda .time { display: inline-block; min-width: 64px; font-family: "Clash Display", sans-serif; color: var(--amber); font-size: 0.95rem; letter-spacing: 0.03em; }
.agenda .what { font-weight: 600; color: var(--ink); }
.agenda .desc { color: var(--ink-dim); font-size: 0.98rem; line-height: 1.55; margin-top: 5px; }
.agenda .slot.break .what { color: var(--ink-dim); font-weight: 500; }

/* ---------- Pitch-deck intro panel ---------- */
.deck-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(30px, 4vh, 48px); padding: clamp(28px, 4vw, 52px);
  border-radius: 22px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(227,65,28,0.16), transparent 55%),
    linear-gradient(160deg, rgba(255,106,61,0.06), rgba(255,255,255,0.012));
  overflow: hidden;
}
.deck-copy h3 { font-family: "Clash Display", sans-serif; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 14px; }
.deck-copy p { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; max-width: 46ch; }
.deck-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.deck-meta span { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-dim); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); }
.deck-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* CSS-only stacked-slide visual (browser frame + slide stack) */
.deck-visual { position: relative; min-height: 210px; display: grid; place-items: center; }
.deck-frame {
  position: relative; width: min(360px, 100%); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 40px var(--glow);
}
.deck-frame .bar { display: flex; gap: 6px; padding: 11px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--line); }
.deck-frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint); }
.deck-frame .bar i:first-child { background: var(--primary); }
.deck-slide { padding: 22px 20px 26px; }
.deck-slide .eb { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--amber); }
.deck-slide .hl { font-family: "Clash Display", sans-serif; font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0 14px; }
.deck-slide .hl b { color: var(--primary); }
.deck-slide .rows { display: grid; gap: 7px; }
.deck-slide .rows i { height: 7px; border-radius: 4px; background: var(--line); display: block; }
.deck-slide .rows i:nth-child(1){ width: 86%; } .deck-slide .rows i:nth-child(2){ width: 70%; } .deck-slide .rows i:nth-child(3){ width: 78%; }
.deck-frame.back { position: absolute; inset: auto; transform: translate(14px, 18px) rotate(3deg) scale(0.96); opacity: 0.5; z-index: -1; }
.deck-frame.back2 { transform: translate(26px, 34px) rotate(6deg) scale(0.92); opacity: 0.28; }
@media (max-width: 820px) {
  .deck-panel { grid-template-columns: 1fr; }
  .deck-visual { order: -1; min-height: 180px; }
}
