/* Almost Everything Auto Body Repair & Paint — Brandcore website proposal
   Brand system taken from the client's own artwork: AE red #C2000A, white, black.
   Two slide themes (carbon / paper) each define their own inks, so every text colour is
   chosen against the background it actually sits on (WCAG AAA: 7:1 body, 4.5:1 large). */

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-500-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/plus-jakarta-sans-400-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-400-normal.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ae-red: #C2000A;        /* exact red of the AE mark and banner */
  --ae-red-deep: #9A0008;   /* fills behind small white text (8.8:1) */
  --carbon: #0E0F12;
  --paper: #F6F3EE;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --pad-x: clamp(28px, 3.75vw, 72px);
  --pad-top: clamp(20px, 3.4vh, 40px);
  --pad-bottom: clamp(76px, 9vh, 100px);
  --gap: clamp(28px, 3.3vw, 64px);
  --radius: 14px;

  --fs-h1: clamp(36px, 3.2vw, 62px);
  --fs-h2: clamp(30px, 2.55vw, 50px);
  --fs-lead: clamp(16px, 1.05vw, 20.5px);
  --fs-h3: clamp(18.5px, 1.2vw, 23.5px);
  --fs-body: clamp(14.5px, 0.9vw, 17.5px);
  --fs-label: clamp(12px, 0.7vw, 14px);
}

/* Theme inks — measured contrast in comments */
.slide.dark {
  --bg: var(--carbon);
  --surface: #17191E;
  --surface-2: #1F2229;
  --ink: #FFFFFF;             /* 19.6:1 */
  --ink-2: #D3D7DD;           /* 13.4:1 */
  --ink-3: #B4BAC3;           /* 9.8:1 bg, 9.0:1 surface */
  --accent-large: #FF4A52;    /* 5.8:1, headline-size text only */
  --label: #FFFFFF;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
}
.slide.paper {
  --bg: var(--paper);
  --surface: #FFFFFF;
  --surface-2: #EFEAE2;
  --ink: #111216;             /* 17.3:1 */
  --ink-2: #33373E;           /* 11.0:1 */
  --ink-3: #4A4F57;           /* 7.5:1 bg, 8.3:1 surface */
  --accent-large: #C2000A;    /* 5.8:1, headline-size text only */
  --label: #9A0008;           /* 8.0:1 small red text */
  --line: rgba(17, 18, 22, 0.13);
  --shadow: 0 22px 50px -26px rgba(17, 18, 22, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--carbon);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow: hidden; }
button, a, input { font: inherit; }
a.partner-pill { text-decoration: none; min-height: 44px; }
.controls > a { text-decoration: none; font-size: 12px; }
img { max-width: 100%; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
p, li, figcaption { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
ul { padding: 0; list-style: none; }

/* ---------- Slide frame ---------- */
.deck { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; }
.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: clamp(16px, 2.4vh, 28px);
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}
.slide.active { display: grid; }
.slide.dark {
  background:
    radial-gradient(1200px 700px at 88% -10%, rgba(194, 0, 10, 0.16), transparent 60%),
    var(--carbon);
}
.slide.paper {
  background:
    linear-gradient(90deg, var(--ae-red) 0 6px, transparent 6px),
    var(--paper);
}

/* ---------- Header ---------- */
.slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(12px, 1.8vh, 18px);
  border-bottom: 1px solid var(--line);
}
.header-brand { display: flex; align-items: center; gap: clamp(14px, 1.2vw, 22px); min-width: 0; }

.logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: clamp(46px, 5.4vh, 58px);
  padding: 0 clamp(14px, 1.05vw, 20px);
  border-radius: 8px;
  background: var(--ae-red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 26px -14px rgba(154, 0, 8, 0.8);
}
.logo-plate img {
  display: block;
  height: 68%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.header-wordmark { display: flex; flex-direction: column; gap: 4px; line-height: 1.15; min-width: 0; }
.header-wordmark b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.02vw, 19.5px);
  letter-spacing: -0.005em;
  color: var(--ink);
}
.header-wordmark small {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.header-meta {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.header-meta b { color: var(--ink); font-weight: 800; }

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.07; }
h1 em, h2 em { font-style: normal; color: var(--accent-large); }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}
.bar { display: block; flex-shrink: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--ae-red); }
.dark .bar { background: #FF4A52; }

/* Number badges: own deep-red fill, white digits (8.8:1) on any theme */
.pillar-num, .c-num, .step-num, .exec-phase-num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: clamp(38px, 2.4vw, 46px);
  height: clamp(38px, 2.4vw, 46px);
  padding: 0 8px;
  border-radius: 9px;
  background: var(--ae-red-deep);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(14px, 0.86vw, 17px);
  letter-spacing: 0.04em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(11px, 0.65vw, 12.5px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.tag-dark { background: #000000; }
.tag-red { background: var(--ae-red-deep); }

.source, .slide-foot {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.source { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.source:hover { color: var(--ink); }
.slide-foot {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(24px, 3.2vh, 36px);
  max-width: calc(50% - var(--pad-x) - 190px);
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--gap);
  align-items: center;
  min-height: 0;
}
.narrative-col { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 20px); min-width: 0; }

/* ---------- Slide 1: Cover ---------- */
.cover { grid-template-rows: auto minmax(0, 1fr); }
.cover-topbar { display: flex; justify-content: space-between; align-items: center; }
.topbar-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-label);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--gap);
  min-height: 0;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2vh, 22px); min-width: 0; }
.cover-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cover-plate {
  height: clamp(74px, 9.6vh, 108px);
  padding: 0 clamp(16px, 1.3vw, 26px);
  border-radius: 12px;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 50px -22px rgba(194, 0, 10, 0.75);
}
.cover-sublabel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.cover-sublabel b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 1.3vw, 25px); letter-spacing: -0.01em; color: #FFFFFF;
}
.cover-sublabel small {
  font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fact-row li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: clamp(12.5px, 0.78vw, 15px);
  color: #FFFFFF;
}
.fact-row svg, .partner-pill svg {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.fact-row svg { color: #FF4A52; }
.prepared { font-size: var(--fs-body); color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.prepared b { color: #FFFFFF; }
.prepared-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center 20%;
  border: none !important;
}

/* Slide 1 Hero Visual (3D Automotive Paint-Booth Showcase) */
.hero-visual {
  position: relative;
  min-height: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
#scene[data-webgl="unavailable"] { display: none; }
.scene-hud {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  pointer-events: none;
}
.scene-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.hud-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 8px #28C840;
  animation: pulse-hud 2s infinite;
}
@keyframes pulse-hud {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.scene-hud-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(14, 15, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
}
.scene-hud-caption b { color: #FFFFFF; }

/* ---------- Slide 2: Foundation & Forensic Audit ---------- */
.foundation-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 2.8vw, 48px);
  align-items: start;
}
.foundation-cred-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.cred-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cred-item b {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.1vw, 20px);
  color: var(--ae-red-deep);
  line-height: 1.1;
}
.cred-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  line-height: 1.3;
}
.foundation-work-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.work-thumb-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.thumb-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.82);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.thumb-tag.red { background: var(--ae-red-deep); }
.work-caption {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.work-caption b { color: var(--ink); }

/* Audit Stack */
.audit-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.audit-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
}
.audit-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ae-red-deep);
}
.audit-tested {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
}
.audit-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audit-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(12px, 1.6vh, 16px) clamp(14px, 1.2vw, 20px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-left: 5px solid #5A5F68;
}
.audit-card.critical { border-left-color: #D32F2F; }
.audit-card.high { border-left-color: #F57C00; }
.audit-card.medium { border-left-color: #1976D2; }

.audit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sev-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.sev-critical { background: #D32F2F; }
.sev-high { background: #F57C00; }
.sev-medium { background: #1976D2; }

.source-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.audit-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14.5px, 0.98vw, 17.5px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.audit-card p {
  font-size: clamp(12.5px, 0.8vw, 14.5px);
  line-height: 1.45;
  color: var(--ink-2);
}

/* ---------- Slide 3: Clock-Ticking Commuter & Paths Replay ---------- */
.journey { grid-template-rows: auto auto minmax(0, 1fr); }
.gap-moment-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--gap);
  align-items: end;
  row-gap: 12px;
}
.gap-moment-head .kicker { grid-column: 1 / -1; }
.moment-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.moment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.moment-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
}
.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--ae-red-deep);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(154, 0, 8, 0.8);
  transition: transform 0.15s ease, background 0.15s ease;
}
.replay-btn:hover { background: #7A0006; transform: translateY(-1px); }
.replay-btn.is-active { background: #550004; transform: scale(0.98); }
.replay-btn .ui-icon { width: 15px; height: 15px; }

.paths-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  min-height: 0;
  align-items: stretch;
}
.path-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(14px, 1.8vh, 20px) clamp(16px, 1.4vw, 22px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 0;
}
.path-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.path-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-friction { background: #2A1012; color: #FF6B6B; border: 1px solid rgba(255, 107, 107, 0.3); }
.tag-win { background: #0F2E1B; color: #4ADE80; border: 1px solid rgba(74, 222, 128, 0.3); }
.path-metric {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.path-metric b { color: var(--ink); }

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.path-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.25s ease;
}
.path-step.is-active {
  background: rgba(255, 74, 82, 0.14);
  border-color: rgba(255, 74, 82, 0.45);
  transform: translateX(4px);
}
.path-brandcore .path-step.is-active {
  background: rgba(40, 200, 64, 0.14);
  border-color: rgba(40, 200, 64, 0.45);
}
.step-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
}
.step-badge.brandcore {
  width: auto;
  padding: 0 7px;
  background: var(--ae-red-deep);
  color: #FFFFFF;
}
.step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.step-content b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12.5px, 0.85vw, 14.5px);
  color: var(--ink);
  line-height: 1.25;
}
.step-content p {
  font-size: clamp(11.5px, 0.76vw, 13px);
  line-height: 1.35;
  color: var(--ink-3);
  margin: 0;
}
.path-summary-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.path-summary-card.is-active {
  animation: pulse-summary 0.6s ease;
}
@keyframes pulse-summary {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.summary-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-stat b {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.4vw, 26px);
  color: #4ADE80;
  line-height: 1;
}
.summary-stat span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Slide 4: Interactive Paint & Collision Triage Widget ---------- */
.website-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 2.8vw, 48px);
}
.argon-interactive-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--carbon);
  border: 1px solid rgba(17, 18, 22, 0.25);
  box-shadow: 0 46px 90px -40px rgba(17, 18, 22, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.widget-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #1A1C22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.widget-dots { display: flex; gap: 6px; }
.w-dot { width: 10px; height: 10px; border-radius: 50%; }
.w-dot.red { background: #FF5F57; }
.w-dot.yellow { background: #FEBC2E; }
.w-dot.green { background: #28C840; }
.widget-url {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #B4BAC3;
}
.widget-url .ui-icon { width: 14px; height: 14px; }
.shop-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #4ADE80;
}
.shop-status-chip:not(.is-open) {
  background: rgba(255, 188, 46, 0.12);
  border-color: rgba(255, 188, 46, 0.35);
  color: #FEBC2E;
}
.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

/* Tabs */
.widget-tab-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #14161B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.widget-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #A0A5AF;
  font-family: var(--font-display);
  font-size: clamp(12px, 0.8vw, 14px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.widget-tab:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.02); }
.widget-tab.is-active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--ae-red);
}
.tab-ico { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.widget-content {
  padding: clamp(14px, 1.8vh, 20px);
  background: #121317;
  overflow-y: auto;
}
.widget-panel { display: none; }
.widget-panel.is-active { display: block; }

/* Estimator Controls & Result */
.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 18px;
}
.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.control-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D3D7DD;
}
.button-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.button-toggle-group.size-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.toggle-btn {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1C1E24;
  color: #C0C5CC;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.button-toggle-group.size-group .toggle-btn { text-align: center; }
.toggle-btn:hover { background: #242730; color: #FFFFFF; }
.toggle-btn.is-selected {
  background: var(--ae-red-deep);
  border-color: #FF4A52;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(154, 0, 8, 0.6);
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.active-tier-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #FF4A52;
}
.range-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tier-slider {
  width: 100%;
  accent-color: var(--ae-red);
  cursor: pointer;
}
.tier-ticks {
  display: flex;
  justify-content: space-between;
}
.tier-ticks .tick {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: #8C929C;
  cursor: pointer;
}
.tier-ticks .tick.active {
  color: #FFFFFF;
  font-weight: 800;
}

/* Result Card */
.estimator-result-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: #191B21;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.result-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D3D7DD;
}
.result-booth-tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 74, 82, 0.14);
  color: #FF4A52;
  border: 1px solid rgba(255, 74, 82, 0.3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.result-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #A0A5AF;
  text-transform: uppercase;
}
.spec-value {
  font-size: 12px;
  line-height: 1.45;
  color: #FFFFFF;
  margin: 0;
}
.result-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.metric-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #8C929C;
  text-transform: uppercase;
}
.m-val {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
}
.result-action-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bay-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--ae-red);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 20px -8px rgba(194, 0, 10, 0.8);
}
.bay-book-btn:hover { background: #E0000C; }
.bay-note {
  font-size: 10.5px;
  color: #8C929C;
  text-align: center;
}

/* Panel 2: Tiers Grid */
.tiers-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tier-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #191B21;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tier-card.featured-tier {
  border-color: rgba(194, 0, 10, 0.6);
  background: #1F222B;
}
.tier-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #8C929C;
  text-transform: uppercase;
}
.tier-badge.popular { color: #FF4A52; }
.tier-card h4 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
.tier-desc {
  font-size: 11.5px;
  line-height: 1.4;
  color: #B4BAC3;
  margin: 0;
}
.tier-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.tier-features li {
  font-size: 11px;
  color: #D3D7DD;
  position: relative;
  padding-left: 14px;
}
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28C840;
}

/* Panel 3: Fleet Grid */
.fleet-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fleet-info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: #191B21;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fleet-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #FF4A52;
  text-transform: uppercase;
}
.fleet-info-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
.fleet-info-card p {
  font-size: 12px;
  line-height: 1.45;
  color: #B4BAC3;
  margin: 0;
}
.carrier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.carrier-badges span {
  padding: 3px 7px;
  border-radius: 4px;
  background: #242730;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #D3D7DD;
}
.fleet-perks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.fleet-perks li {
  font-size: 11.5px;
  color: #D3D7DD;
  position: relative;
  padding-left: 14px;
}
.fleet-perks li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #FF4A52;
}

/* ---------- Slide 5: Bulletproof Pointer-Events Compare Slider ---------- */
.proof { grid-template-rows: auto auto minmax(0, 1fr); }
.proof-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--gap);
  row-gap: 12px;
  align-items: end;
}
.proof-head .kicker { grid-column: 1 / -1; }

.proof-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.compare {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: ew-resize !important;
}
.compare__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: clamp(34px, 3.8vh, 42px);
  padding: 0 14px;
  background: #1F2229;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.compare__url {
  flex: 1;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  color: #D3D7DD;
}
.compare__status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #FF4A52;
  text-transform: uppercase;
}

.compare__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  max-height: 480px;
  overflow: hidden;
  background: #090D12;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}
.compare__after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.compare__badge {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare__badge--before {
  left: 14px;
  background: rgba(0, 0, 0, 0.85);
  color: #D3D7DD;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.compare__badge--after {
  right: 14px;
  background: var(--ae-red-deep);
  color: #FFFFFF;
  border: 1px solid #FF4A52;
}

.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--ae-red-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.25);
  z-index: 6;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  pointer-events: auto;
}
.compare__grip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ae-red-deep);
}
.compare__grip .ui-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  pointer-events: none !important;
  z-index: 1;
}
.compare-instruction {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Slide 6: Roadmap ---------- */
.execution-slide { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.execution-slide .slide-head { grid-row: 1; }
.execution-slide .exec-head { grid-row: 2; }
.execution-slide .exec-cards-grid { grid-row: 3; }
.execution-slide .exec-footer-bar { grid-row: 4; }
.exec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gap);
  align-items: end;
}
.exec-head > div { display: flex; flex-direction: column; gap: clamp(10px, 1.6vh, 18px); }
.exec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
  align-content: center;
  min-height: 0;
}
.exec-phase-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(18px, 2.2vh, 26px) clamp(18px, 1.4vw, 24px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.exec-phase-card.featured { background: var(--carbon); border-color: var(--carbon); }
.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.exec-duration-pill {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--font-mono); font-weight: 800; font-size: var(--fs-label);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.exec-big { display: flex; align-items: flex-end; gap: 10px; margin-top: 2px; }
.exec-big b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(50px, 4.2vw, 82px); line-height: 0.9; letter-spacing: -0.045em;
  color: var(--accent-large);
}
.exec-big span {
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(13px, 0.85vw, 16px);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.exec-phase-card.featured .exec-big b { color: #FF4A52; }
.exec-phase-card.featured .exec-big span { color: #D3D7DD; }
.exec-phase-card h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.exec-phase-card > p { font-size: var(--fs-body); line-height: 1.48; color: var(--ink-3); }
.exec-deliverables { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.exec-deliverables li { position: relative; padding-left: 20px; font-size: var(--fs-body); line-height: 1.4; color: var(--ink-2); }
.exec-deliverables li::before {
  content: '';
  position: absolute; left: 2px; top: 0.5em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--ae-red);
}
.exec-phase-card.featured h3, .exec-phase-card.featured .exec-deliverables li { color: #FFFFFF; }
.exec-phase-card.featured > p { color: #D3D7DD; }
.exec-phase-card.featured .exec-duration-pill { background: #2A2E36; color: #FFFFFF; }
.exec-phase-card.featured .exec-deliverables { border-top-color: rgba(255, 255, 255, 0.16); }
.exec-phase-card.featured .exec-deliverables li::before { background: #FF4A52; }
.exec-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 18px;
  margin-bottom: clamp(0px, 1vh, 8px);
  border-radius: 12px;
  background: var(--surface-2);
  font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.exec-footer-bar b { margin-left: 8px; color: var(--ink); font-weight: 800; }

/* ---------- Slide 7: Close & Clean 56px Rep Avatar ---------- */
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--gap);
  align-items: center;
  min-height: 0;
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
  padding: clamp(16px, 2.2vh, 24px);
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.partner-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}
.partner-avatar-wrap {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex-shrink: 0;
}
.partner-avatar-wrap img, .concierge-avatar, .rep-avatar {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
}

.partner-details { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.partner-meta-kicker {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-label);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.partner-name-heading { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 1.6vw, 30px); letter-spacing: -0.02em; color: #FFFFFF; }
.partner-role-sub { font-weight: 700; font-size: var(--fs-body); color: var(--ink-3); }
.partner-quote { margin-top: 4px; font-size: var(--fs-body); line-height: 1.5; color: var(--ink-2); }
.partner-contact-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 700; font-size: clamp(13px, 0.8vw, 15px); color: #FFFFFF;
}
.partner-pill svg { color: #FF4A52; }

.request {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.6vh, 30px) clamp(20px, 1.6vw, 30px);
  border-radius: 18px;
  background: var(--paper);
  color: #111216;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.9);
}
.request .kicker { color: #9A0008; }
.request .bar { background: var(--ae-red); }
.request h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.4vw, 44px); letter-spacing: -0.03em; line-height: 1; color: #111216; }
.request > p { font-size: var(--fs-body); line-height: 1.45; color: #33373E; }
.request small { font-size: clamp(12.5px, 0.74vw, 14px); line-height: 1.4; color: #4A4F57; }
.screen-request { display: flex; flex-direction: column; gap: 12px; }
.suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggestions button {
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #111216;
  background: #FFFFFF;
  color: #111216;
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(12px, 0.72vw, 14px);
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.suggestions button:hover, .suggestions button:focus-visible { background: #111216; color: #FFFFFF; }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.picker-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.picker-col label { font-weight: 700; font-size: clamp(12.5px, 0.76vw, 14px); color: #33373E; }
.date-control { position: relative; display: block; }
.date-control input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(17, 18, 22, 0.35);
  background: #FFFFFF;
  color: #111216;
  font-size: 15px;
  color-scheme: light;
}
.date-control input::-webkit-calendar-picker-indicator { opacity: 0; }
.date-control button {
  position: absolute; right: 4px; top: 4px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  background: transparent;
  color: #111216;
  cursor: pointer;
}
.date-control button:hover { background: #EFEAE2; }
.date-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#picker-help { font-size: 13px; color: #33373E; }
#contact {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--ae-red-deep);
  color: #FFFFFF;
  font-family: var(--font-mono); font-weight: 800; font-size: clamp(13px, 0.8vw, 15px);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 30px -16px rgba(154, 0, 8, 0.9);
}
#contact:hover, #contact:focus-visible { background: #7A0006; }
#contact .ui-icon { width: 1.15em; height: 1.15em; }
.print-contact { display: none; }

/* ---------- Controls ---------- */
.controls {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 2.4vh, 26px);
  transform: translateX(-50%);
  z-index: 20;
  display: flex; align-items: center; gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}
.controls button, .controls > a {
  display: inline-grid; place-items: center;
  height: 42px; min-width: 42px;
  padding: 0 12px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}
.controls button:hover, .controls button:focus-visible, .controls > a:hover { background: #2A2E36; }
.controls .ui-icon { width: 18px; height: 18px; }
#counter {
  min-width: 60px; text-align: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; letter-spacing: 0.08em; color: #FFFFFF;
}
#play {
  padding: 0 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 999px 999px 0;
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; color: #FFFFFF;
}
:focus-visible { outline: 3px solid #FF4A52; outline-offset: 3px; }
.paper :focus-visible { outline-color: #9A0008; }

/* ---------- Responsive Breakpoints ---------- */
@media screen and (max-width: 1180px), screen and (max-height: 700px) {
  .deck { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
  .slide { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
  .slide-foot { position: static; max-width: none; }
}
@media screen and (max-width: 1180px) {
  .cover-grid, .split, .foundation-grid, .website-grid, .close-grid, .exec-head, .proof-head, .gap-moment-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual { min-height: 440px; }
  .paths-grid, .exec-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .argon-interactive-widget { max-height: none; }
  .estimator-grid { grid-template-columns: minmax(0, 1fr); }
  .tiers-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .fleet-content-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone (390px Viewport Support) ---------- */
@media screen and (max-width: 700px) {
  body { height: 100dvh; padding-top: 72px; }
  .deck { height: calc(100dvh - 72px); }
  .slide { min-height: calc(100dvh - 72px); padding: 18px 16px 36px; }
  .controls { top: 8px; bottom: auto; width: calc(100vw - 16px); justify-content: center; gap: 0; }
  .controls button, .controls > a { padding: 0 8px; }
  #play { font-size: 10px; padding: 0 8px; }
  #counter { min-width: 48px; }
  .slide-head { flex-wrap: wrap; gap: 10px; }
  .header-brand { flex-direction: column; align-items: flex-start; width: 100%; gap: 10px; }
  .header-wordmark { width: 100%; }
  .header-logo-pill { max-width: 100%; }
  .logo-plate { height: 42px; }
  .cover-plate { height: 60px; }
  .header-meta { font-size: 11px; }
  .hero-visual { min-height: 320px; }
  .scene-hud { position: static; max-width: 100%; margin-top: 12px; }
  .foundation-cred-bar { grid-template-columns: 1fr; }
  .work-thumb-pair { grid-template-columns: 1fr; }
  .audit-cards-stack { gap: 10px; }
  .button-toggle-group.size-group { grid-template-columns: 1fr; }
  .widget-tab-nav { grid-template-columns: 1fr; }
  .suggestions, .picker-grid, .exec-footer-bar { grid-template-columns: minmax(0, 1fr); }
  .request input, .request a, .suggestions button { scroll-margin-block: 20px; }
}

/* ---------- Print ---------- */
@media print {
  @page { size: 16in 9in; margin: 0; }
  html, body { overflow: visible; height: auto; background: #FFFFFF; }
  .deck { height: auto; overflow: visible; }
  .slide, .slide.active {
    display: grid !important;
    width: 16in; height: 9in;
    padding: 0.45in 0.7in;
    break-after: page;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .controls, #scene, .screen-request { display: none !important; }
  .print-contact { display: block; font-size: 13pt; font-weight: 700; color: #111216; }
  .slide-foot { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* === Brandcore Official Co-Branding & Sign-off Lockups === */
.cover-collab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 13px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: fit-content;
  max-width: 100%;
}
.cover-collab--light {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.14);
}
.brandcore-badge-logo {
  height: 18px;
  width: auto;
  display: block;
  object-fit: contain;
}
.cover-collab-sep {
  font-size: 12px;
  opacity: 0.55;
  line-height: 1;
}
.cover-collab-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}
.partner-brand-signoff {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
}
.partner-brand-signoff--light {
  border-top-color: rgba(15, 23, 42, 0.14);
}
.signoff-brandcore-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}
.signoff-brandcore-meta {
  font-size: 11px;
  opacity: 0.72;
  letter-spacing: 0.02em;
}
