/* =========================================================
   Saccade — site-v4.css
   Story / hierarchy fixes after second review pass.
   Loaded AFTER site-v3.css, so it overrides where needed.

   Addresses:
   · Section eyebrows: drop 01/02/03 numbering, give each
     section a thematic chapter label.
   · Task cards (How it works): equalise heights so the 4
     visualisations line up across the row.
   · Bento (Why us): retile to a clean 6×3 grid; fix headset
     image overlap on c-1; redo c-5 deployment card so it
     reads as a coherent statement instead of a broken map.
   ========================================================= */

/* ---------- Chapter eyebrow (drop 01/02/03 numbering) ---------- */
.eyebrow{
  display:flex;align-items:center;gap:14px;
  font-family:"IBM Plex Mono", monospace;
  font-size:11px;letter-spacing:0.16em;
  color:var(--muted);
  text-transform:uppercase;
  margin:0 0 32px;
}
.eyebrow::before{
  width:48px;height:1px;background:var(--accent);
}
.eyebrow .num,
.eyebrow .dot{display:none;}
/* the remaining (3rd) span carries the chapter name */
.eyebrow > span:last-of-type{
  color:var(--accent);
  letter-spacing:0.22em;
  font-size:11px;
  font-weight:500;
}

/* dark-section variants */
.pharma .eyebrow > span:last-of-type,
.contact .eyebrow > span:last-of-type{color:var(--accent);}

/* ---------- Section alternating backgrounds for rhythm ---------- */
.mission{background:var(--bg);}
.stakes{background:var(--bg-warm);border-top:1px solid var(--rule);}
.how{background:var(--bg);border-top:1px solid var(--rule);}
.moat{background:var(--bg-warm);border-top:1px solid var(--rule);}
.science{background:var(--bg-warm);border-top:1px solid var(--rule);}
.evidence{background:var(--bg);border-top:1px solid var(--rule);}
.reg{background:var(--bg-warm);border-top:1px solid var(--rule);}
.team{background:var(--bg);border-top:1px solid var(--rule);}

/* ---------- TASKS: align the four cards across the row ---------- */
.task{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:12px;
  align-items:start;
}
.task .n{align-self:start;}
.task .t{min-height:44px;display:flex;align-items:flex-start;}
.task .d{
  min-height:84px;          /* equalise across cards */
  margin:0;
  font-size:13.5px;line-height:1.5;color:var(--muted);
}
.task .viz{
  align-self:end;
  margin-top:8px;
  aspect-ratio:1.4;
}
@media (max-width:920px){
  .task .d{min-height:0;}
  .task .t{min-height:0;}
}

/* ---------- BENTO: clean 6-col × 3-row tiling ---------- */
.bento{
  grid-template-columns:repeat(6,1fr);
  grid-auto-rows:minmax(200px, auto);
  gap:16px;
}

/* Row 1-2: big hardware card (left), then runs-itself & environment stacked (right) */
.bento .c-1{
  grid-column:1 / span 3;
  grid-row:1 / span 2;
  display:grid;
  grid-template-rows:auto 1fr;
  padding:28px 28px 0;
  overflow:hidden;
}
.bento .c-1 > div{padding-bottom:8px;}
.bento .c-1 h3{font-size:30px;max-width:18ch;}
.bento .c-1 p{max-width:36ch;font-size:15.5px;line-height:1.55;}
.bento .c-1 .tag{
  position:static;display:inline-block;
  margin-top:14px;
  padding:5px 10px;border:1px solid rgba(242,235,224,.18);
  background:rgba(242,235,224,.04);
  align-self:start;color:rgba(242,235,224,.7);
  border-radius:2px;
}
.bento .c-1 .headset{
  position:relative;
  right:auto;bottom:auto;
  width:min(440px, 92%);
  margin:0 auto -8px;
  justify-self:end;align-self:end;
  display:block;
  opacity:.92;transform:rotate(-4deg) translateY(8%);
  filter:drop-shadow(0 30px 60px rgba(0,0,0,.5));
  pointer-events:none;
}

.bento .c-2{
  grid-column:4 / span 3;
  grid-row:1 / span 1;
}
.bento .c-3{
  grid-column:4 / span 3;
  grid-row:2 / span 1;
}

/* Row 3: three equal-width cards across the bottom */
.bento .c-4{
  grid-column:1 / span 2;
  grid-row:3 / span 1;
  background:var(--accent);color:#fff;
}
.bento .c-4 h3{color:#fff;font-size:30px;max-width:9ch;}
.bento .c-4 p{color:rgba(255,255,255,.92);font-size:14.5px;}
.bento .c-4 .ix{color:rgba(255,255,255,.7);}
.bento .c-4 .tag{color:rgba(255,255,255,.7);}

.bento .c-5{
  grid-column:3 / span 2;
  grid-row:3 / span 1;
  background:var(--paper);
  display:flex;flex-direction:column;justify-content:space-between;
  position:relative;overflow:hidden;
}
.bento .c-5 .map-viz{display:none;}   /* hide broken canvas */
.bento .c-5::after{
  /* tasteful crate / site-grid pattern instead of broken map */
  content:"";
  position:absolute;right:18px;bottom:34px;
  width:96px;height:60px;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size:24px 20px;
  opacity:.18;
  pointer-events:none;
}
.bento .c-5 .ship-dots{
  position:absolute;right:18px;bottom:34px;
  width:96px;height:60px;pointer-events:none;
}

.bento .c-6{
  grid-column:5 / span 2;
  grid-row:3 / span 1;
}

.bento .cell{padding:24px 24px;}
.bento .cell h3{font-size:21px;margin:10px 0 10px;}

/* Tag chip baseline so they read as labels, not floating text */
.bento .cell:not(.c-1) .tag{
  position:static;
  display:inline-block;
  margin-top:14px;
  padding:4px 9px;
  border:1px solid var(--rule);
  background:rgba(20,20,18,.02);
  border-radius:2px;
  font-size:9.5px;letter-spacing:0.14em;
}
.bento .c-4 .tag{
  border-color:rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);
  color:#fff;
}

/* ---------- BENTO responsive ---------- */
@media (max-width:1080px){
  .bento{grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(180px,auto);}
  .bento .c-1{grid-column:1 / span 4;grid-row:auto;min-height:380px;}
  .bento .c-2{grid-column:1 / span 2;grid-row:auto;}
  .bento .c-3{grid-column:3 / span 2;grid-row:auto;}
  .bento .c-4{grid-column:1 / span 2;grid-row:auto;}
  .bento .c-5{grid-column:3 / span 2;grid-row:auto;}
  .bento .c-6{grid-column:1 / span 4;grid-row:auto;}
  .bento .c-1 .headset{width:min(360px, 70%);}
}
@media (max-width:720px){
  .bento{grid-template-columns:1fr;}
  .bento .c-1,.bento .c-2,.bento .c-3,
  .bento .c-4,.bento .c-5,.bento .c-6{grid-column:1 / -1;}
  .bento .c-1{min-height:auto;}
  .bento .c-1 .headset{width:min(320px, 80%);margin-top:24px;}
}

/* ---------- Hide stray fp-right column that doubled the "wasted spend" ---------- */
/* (kept until cleaned in markup) */

/* ---------- General polish ---------- */
.mission h2{font-size:clamp(30px,3.4vw,46px);}
.stakes-grid{align-items:start;}

/* ---------- EYE FIGURE: switch to wide live gif ---------- */
.eye-figure .eye-frame-live{
  aspect-ratio:16/9;
  background:#000;
}
.eye-figure .eye-frame-live img{
  filter:none;             /* let the gif's own contrast carry */
  object-fit:cover;
  image-rendering:auto;
}
.eye-figure .eye-frame-live .ovl{
  background:linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.55) 100%);
}

/* ---------- EVIDENCE: stacked operator + report visuals ---------- */
.report-stack{
  display:flex;flex-direction:column;gap:20px;
  position:sticky;top:90px;
}
.report-stack .report-card{
  position:static;          /* parent is the sticky element now */
  background:#0E0D0B;padding:6px;border:1px solid var(--ink);
}
.report-stack .report-card.report-live{
  background:#1a1815;
}
.report-stack .report-card.report-live img{
  aspect-ratio:16/9;
  width:100%;height:auto;display:block;
  object-fit:cover;
  filter:contrast(1.02);
}
@media (max-width:1080px){
  .report-stack{position:static;top:auto;}
}
