/* Jones Lumber × Brandcore — presentation stylesheet.
   One coherent system, zero override layers.
   Surfaces: Timber Carbon (#0B0F17 / #131B29) and Warm Millwork Paper (#F7F5F0 / #FFFFFF).
   Brand accents drawn from Jones Lumber's mark & timber yard:
   - Role A (Decorative Rule): #005B9E (Jones Royal Blue) / #F5A623 (Douglas Fir Amber)
   - Role B (Large Display on Dark): #F5A623 (8.9:1 on #0B0F17)
   - Role C (Small Text / Kicker on Dark): #F5A623 (8.9:1 on #0B0F17)
   - Role D (Small Text / Kicker on Light Paper): #8A4B08 (7.3:1 on #F7F5F0) & #004A82 (8.6:1 on #F7F5F0)
   Every text colour below is paired with the surface it actually sits on and
   measured at WCAG AAA (7:1+ for body/small/mono text, 4.5:1+ for large display text). */

@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 {
  --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;

  --black: #000000;
  --carbon-0: #06090F;
  --carbon: #0B0F17;         /* deep timber carbon slide */
  --carbon-1: #0B0F17;
  --carbon-2: #131B29;       /* elevated mill slate card */
  --carbon-3: #1B2538;       /* raised slate */
  --paper: #F7F5F0;          /* warm millwork paper slide */
  --paper-1: #F7F5F0;
  --paper-2: #EDE9E0;
  --paper-ink: #0B0F17;      /* 16.4:1 on #F7F5F0 */

  --jones-blue: #005B9E;     /* authentic Jones Lumber royal blue */
  --jones-blue-deep: #004A82;/* 8.6:1 on #F7F5F0 paper */
  --accent: #8A4B08;         /* Role D: 7.3:1 on #F7F5F0 paper */
  --accent-bright: #F5A623;  /* Role B & C: 8.9:1 on #0B0F17 carbon */
  --accent-rgb: 245, 166, 35;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

.carbon {
  --bg: var(--carbon);
  --surface: var(--carbon-2);
  --line: rgba(255, 255, 255, 0.13);
  --ink: #FFFFFF;            /* 18.8:1 on #0B0F17 */
  --ink-2: #E6EBF2;          /* 15.6:1 on #0B0F17 */
  --ink-3: #CBD4E1;          /* 12.1:1 on #0B0F17 */
  --em: var(--accent-bright);/* 8.9:1 on #0B0F17 */
  --rule: var(--accent-bright);
  --kicker-ink: var(--accent-bright);
  --tile-shadow: 0 0 0 1px rgba(245, 166, 35, 0.38) inset, 0 10px 24px rgba(0, 0, 0, 0.45);
}

.paper {
  --bg: var(--paper);
  --surface: #FFFFFF;
  --line: rgba(11, 15, 23, 0.12);
  --ink: var(--paper-ink);   /* 16.4:1 on #F7F5F0 */
  --ink-2: #242C3A;          /* 12.1:1 on #F7F5F0 */
  --ink-3: #364052;          /* 9.2:1 on #F7F5F0 */
  --em: var(--jones-blue-deep); /* 8.6:1 on #F7F5F0 */
  --rule: var(--accent);
  --kicker-ink: var(--accent);  /* 7.3:1 on #F7F5F0 */
  --tile-shadow: 0 0 0 1px rgba(0, 91, 158, 0.22) inset, 0 8px 20px rgba(11, 15, 23, 0.10);
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--carbon-0);
  color: #FFFFFF;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, a, input { font: inherit; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico, .date-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.14em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ canvas & slides */
.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--carbon-0);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.4vh, 30px) clamp(28px, 3.8vw, 60px);
  background: var(--bg);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vh, 22px);
}

.slide-body.two {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 3.2vw, 52px);
  align-items: center;
}

/* ------------------------------------------------------------------ header lockup: WIDE JONES LUMBER LOGO PLAQUE */
.slide-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(8px, 1.2vh, 13px);
  border-bottom: 1px solid var(--line);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 18px);
}

.header-logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.6vh, 56px);
  width: auto;
  padding: 6px 12px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 91, 158, 0.35);
  box-shadow: var(--tile-shadow);
  flex: none;
}

.header-logo-pill img,
.cover-badge img,
.profile-logo-overlay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.header-logo-pill img { width: auto; }

.header-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.header-wordmark small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--kicker-ink);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.header-meta::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rule);
}

/* ------------------------------------------------------------------ footer */
.slide-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(7px, 1vh, 12px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.page {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ type */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(4px, 0.7vh, 7px);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kicker-ink);
}

.eyebrow::before, .kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rule);
  flex: none;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

h1 em, h2 em {
  display: block;
  font-style: normal;
  color: var(--em);
}

h1 {
  font-size: clamp(28px, min(2.75vw, 4.7vh), 46px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(24px, min(2.35vw, 4.1vh), 42px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.lead {
  max-width: 60ch;
  margin-top: clamp(5px, 0.8vh, 10px);
  font-size: clamp(15px, min(1.25vw, 2vh), 20px);
  line-height: 1.44;
  color: var(--ink-3);
}

.num-chip {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: clamp(32px, 3.6vh, 36px);
  height: clamp(32px, 3.6vh, 36px);
  border-radius: 10px;
  background: var(--carbon-2);
  border: 1px solid rgba(245, 166, 35, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.2) inset;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}

.paper .num-chip {
  background: var(--carbon);
  border: 1px solid rgba(11, 15, 23, 0.9);
  color: var(--accent-bright);
}

.num-chip.featured,
.exec-phase-card.featured .exec-phase-num {
  background: var(--accent-bright);
  color: #0B0F17;
  font-weight: 800;
  border-color: var(--accent-bright);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

/* === SLIDE 1: COVER === */
.slide.cover {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  padding: 0;
  transition: opacity 0.42s ease;
}

.slide.cover.active {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.1vh, 11px);
  padding: clamp(16px, 2.2vh, 26px) clamp(24px, 2.4vw, 40px) clamp(58px, 7.5vh, 72px) clamp(28px, 3.8vw, 58px);
}

.cover-collab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-bottom: clamp(2px, 0.5vh, 6px);
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brandcore-collab-logo {
  display: block;
  height: clamp(20px, 2.3vh, 26px);
  width: auto;
}

.collab-sep {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-bright);
}

.collab-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E6EBF2;
}

.cover-lockup {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.3vw, 20px);
  margin-bottom: clamp(2px, 0.5vh, 6px);
}

.cover-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(230px, 17.5vw, 300px);
  height: clamp(62px, 7.8vh, 82px);
  padding: 8px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 2px solid rgba(245, 166, 35, 0.65);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(0, 91, 158, 0.24);
}

.cover-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, min(1.75vw, 3.1vh), 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.cover-wordmark span {
  display: block;
  margin-top: 3px;
  font-size: clamp(12.5px, 0.88vw, 15px);
  font-weight: 600;
  color: #E6EBF2;
}

.cover-wordmark small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.7vw, 9px);
  margin-top: clamp(4px, 0.8vh, 10px);
  padding: 0;
  list-style: none;
}

.fact-pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(12.5px, 0.84vw, 14px);
  font-weight: 600;
  color: #FFFFFF;
}

.fact-pills .ico { color: var(--em); font-size: 1.05em; }

.cover-foot {
  position: absolute;
  left: clamp(28px, 3.8vw, 58px);
  right: clamp(24px, 2.4vw, 40px);
  bottom: clamp(12px, 1.8vh, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(7px, 1vh, 11px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.prepared-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #D3DCE8;
}

.prepared-by b { color: #FFFFFF; font-weight: 700; }

.prepared-by img {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  min-height: 56px;
  max-height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  container-type: size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 46px;
  background:
    radial-gradient(62% 42% at 50% 56%, rgba(245, 166, 35, 0.16) 0%, rgba(245, 166, 35, 0) 72%),
    radial-gradient(110% 70% at 55% 28%, #152338 0%, #0D1523 48%, #06090F 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.cover-photo {
  position: relative;
  z-index: 2;
  width: min(84cqw, 640px);
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #0B0F17;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.cover-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cover-photo figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  background: #0B0F17;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.cover-photo figcaption .ico { color: var(--accent-bright); flex: none; }

.cover-photo figcaption small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #C9D3E0;
  white-space: nowrap;
}

.cover-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(84cqw, 640px);
  margin: clamp(12px, 1.8cqh, 18px) 0 0;
}

.cover-proof div {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(11, 15, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cover-proof dt {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.3vw, 22px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent-bright);
}

.cover-proof dd {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: #E6EBF2;
}

.browser-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  height: clamp(30px, 3.8vh, 38px);
  padding: 0 14px;
  background: #131B29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.browser-dots { display: inline-flex; gap: 7px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.browser-dots i:nth-child(2) { background: #FEBC2E; }
.browser-dots i:nth-child(3) { background: #28C840; }

.browser-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 4px 16px;
  border-radius: 8px;
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #E6EBF2;
}

.browser-tag {
  justify-self: end;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #0B0F17;
}

/* === SLIDE 2: THE FOUNDATION === */
.foundation .narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.foundation .narrative-col h2 {
  font-size: clamp(22px, min(2vw, 3.6vh), 36px);
  line-height: 1.08;
}

.foundation .narrative-col .lead {
  margin-top: clamp(4px, 0.6vh, 8px);
  font-size: clamp(13px, min(0.9vw, 1.52vh), 15px);
  line-height: 1.38;
}

.narrative-pillars {
  display: grid;
  gap: clamp(6px, 0.85vh, 10px);
  margin-top: clamp(7px, 1.1vh, 12px);
}

.pillar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: clamp(8px, 1vh, 11px) clamp(12px, 1.1vw, 15px);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-left: 3px solid var(--jones-blue);
  box-shadow: 0 8px 20px rgba(11, 15, 23, 0.06);
}

.pillar-num { background: var(--carbon); color: var(--accent-bright); }

.pillar-card h3 {
  font-size: clamp(14.5px, 1vw, 17px);
  line-height: 1.18;
  color: var(--ink);
}

.pillar-card p {
  margin-top: 2px;
  font-size: clamp(12.5px, min(0.85vw, 1.4vh), 14px);
  line-height: 1.35;
  color: var(--ink-3);
}

.showcase-col { display: flex; flex-direction: column; justify-content: center; }

.profile-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.14);
  box-shadow:
    0 26px 56px rgba(11, 15, 23, 0.14),
    0 0 0 1px rgba(0, 91, 158, 0.16) inset;
}

.profile-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  background: var(--carbon);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.profile-band span { white-space: nowrap; }

.profile-band span + span { color: var(--accent-bright); letter-spacing: 0.08em; }

.profile-photo-strip {
  position: relative;
  width: 100%;
  height: clamp(132px, 18vh, 178px);
  background: #0B0F17;
  overflow: hidden;
}

.profile-photo-strip > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

.profile-logo-overlay {
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: clamp(142px, 11vw, 176px);
  height: clamp(40px, 5vh, 48px);
  padding: 5px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 2px solid rgba(245, 166, 35, 0.75);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.profile-main {
  padding: clamp(12px, 1.6vh, 18px) clamp(16px, 1.6vw, 22px);
}

.profile-name b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--paper-ink);
}

.profile-name span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--jones-blue-deep);
}

.profile-dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vh, 14px) clamp(12px, 1.4vw, 18px);
  margin-top: clamp(8px, 1.2vh, 14px);
  padding-top: clamp(8px, 1.2vh, 14px);
  border-top: 1px solid rgba(11, 15, 23, 0.1);
}

.profile-dl-grid dt {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.profile-dl-grid dt svg {
  margin-right: 6px;
  color: var(--jones-blue-deep);
}

.profile-dl-grid dd {
  margin: 4px 0 0;
  font-size: clamp(13px, 0.92vw, 14.5px);
  font-weight: 600;
  line-height: 1.38;
  color: var(--paper-ink);
}

/* === SLIDE 3: THE CUSTOMER JOURNEY === */
.slide-body.stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vh, 22px);
}

.journey-head,
.proof-head,
.exec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(18px, 2.8vw, 40px);
  align-items: end;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: clamp(14px, 1.6vw, 24px);
}

.diagnostic-card {
  position: relative;
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: clamp(8px, 1.2vh, 12px);
  padding: clamp(14px, 1.9vh, 20px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-bright);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.diag-head { display: flex; align-items: center; gap: 10px; }

.diag-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.diag-ico {
  margin-left: auto;
  font-size: clamp(20px, 2.4vh, 24px);
  color: var(--em);
  stroke-width: 1.8;
}

.diag-thumb {
  position: relative;
  width: 100%;
  height: clamp(104px, 14.5vh, 142px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0B0F17;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.diag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.diag-thumb img.thumb-inventory { object-position: center 58%; }
.diag-thumb img.thumb-fir { object-position: center 40%; }
.diag-thumb img.thumb-fleet { object-position: center 45%; }

.diag-thumb-badge {
  position: absolute;
  left: 10px;
  bottom: 8px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(11, 15, 23, 0.90);
  border: 1px solid rgba(245, 166, 35, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.diagnostic-card h3 {
  font-size: clamp(17.5px, min(1.35vw, 2.2vh), 22px);
  line-height: 1.18;
  color: #FFFFFF;
}

.diagnostic-card p {
  font-size: clamp(13.5px, min(0.96vw, 1.65vh), 15.5px);
  line-height: 1.42;
  color: #E6EBF2;
}

.diag-meta-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: clamp(8px, 1.1vh, 11px) 12px;
  border-radius: var(--radius-sm);
  background: rgba(245, 166, 35, 0.11);
  border: 1px solid rgba(245, 166, 35, 0.38);
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.78vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.diag-meta-pill span { color: var(--accent-bright); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.13em; }
.diag-meta-pill b { color: #FFFFFF; font-weight: 700; }

/* === SLIDE 4: YOUR NEW WEBSITE === */
.slide-body.website-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }

.website .narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.website .narrative-col h2 {
  font-size: clamp(21px, min(1.9vw, 3.3vh), 33px);
  line-height: 1.08;
}

.website .narrative-col .lead {
  margin-top: clamp(4px, 0.6vh, 8px);
  font-size: clamp(13px, min(0.88vw, 1.46vh), 14.5px);
  line-height: 1.36;
}

.concept-notes {
  display: grid;
  gap: clamp(6px, 0.8vh, 9px);
  margin-top: clamp(7px, 1vh, 11px);
}

.concept-note-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: clamp(7px, 0.9vh, 10px) clamp(11px, 0.95vw, 14px);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--jones-blue);
  box-shadow: 0 10px 24px rgba(11, 15, 23, 0.05);
}

.concept-note-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(14.5px, 0.98vw, 16px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
}

.concept-note-item p {
  margin-top: 2px;
  font-size: clamp(12.2px, min(0.84vw, 1.35vh), 13.8px);
  line-height: 1.34;
  color: var(--ink-3);
}

.mockup-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  container-type: size;
}

.browser-window {
  width: min(100cqw, calc((100cqh - 84px) * 1.5 + 2px));
  overflow: hidden;
  border-radius: 16px;
  background: var(--carbon-0);
  border: 1px solid rgba(11, 15, 23, 0.18);
  box-shadow: 0 36px 72px rgba(11, 15, 23, 0.26);
}

.mock-hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #FFFFFF;
}

.mock-hero-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mockup-caption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* === SLIDE 5: CRAFT IN PRACTICE === */
.comparison {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
}

.case-frame {
  display: flex;
  flex-direction: column;
  width: calc(clamp(250px, 35vh, 370px) * 1.6);
  max-width: calc(50% - 12px);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.case-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  background: #131B29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.case-url {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #E6EBF2;
}

.case-tag {
  justify-self: end;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-tag.before { background: #2A3242; color: #FFFFFF; }
.case-tag.after { background: var(--accent-bright); color: #0B0F17; }

.case-viewport {
  position: relative;
  width: 100%;
  height: clamp(250px, 35vh, 370px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #FFFFFF;
}

.case-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.035);
  transform-origin: center top;
}

.case-frame figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #131B29;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 500;
  color: #D3DCE8;
}

.case-frame figcaption span {
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* === SLIDE 6: YOUR LAUNCH ROADMAP === */
.exec-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.exec-head h2 { font-size: clamp(24px, min(2.3vw, 4vh), 40px); }

.exec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(14px, 1.5vw, 24px);
}

.exec-phase-card {
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: clamp(8px, 1.2vh, 12px);
  padding: clamp(16px, 2.1vh, 24px) clamp(16px, 1.5vw, 24px);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.11);
  border-top: 3px solid var(--jones-blue);
  box-shadow: 0 18px 40px rgba(11, 15, 23, 0.08);
}

.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.exec-duration-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.exec-phase-card h3 {
  font-size: clamp(18px, min(1.38vw, 2.3vh), 22px);
  line-height: 1.2;
  color: var(--paper-ink);
}

.exec-phase-card > p {
  font-size: clamp(13.5px, min(0.96vw, 1.65vh), 15.5px);
  line-height: 1.44;
  color: #364052;
}

.exec-deliverables {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: clamp(8px, 1.2vh, 12px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(11, 15, 23, 0.1);
}

.exec-deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  font-size: clamp(13px, min(0.92vw, 1.55vh), 14.5px);
  font-weight: 600;
  line-height: 1.36;
  color: var(--paper-ink);
}

.exec-deliverables .ico {
  margin-top: 0.12em;
  font-size: 1.05em;
  stroke-width: 2.6;
  color: var(--jones-blue-deep);
}

.exec-phase-card.featured {
  background: var(--carbon);
  border-color: var(--carbon);
  border-top: 3px solid var(--accent-bright);
  box-shadow: 0 26px 56px rgba(11, 15, 23, 0.28);
}

.exec-phase-card.featured h3,
.exec-phase-card.featured .exec-deliverables li { color: #FFFFFF; }
.exec-phase-card.featured > p { color: #D3DCE8; }
.exec-phase-card.featured .exec-deliverables { border-top-color: rgba(255, 255, 255, 0.14); }
.exec-phase-card.featured .exec-deliverables .ico { color: var(--accent-bright); }
.exec-phase-card.featured .exec-duration-pill { background: var(--accent-bright); color: #0B0F17; font-weight: 800; }

.exec-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 15, 23, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #364052;
}

.exec-footer-bar span { padding: 10px 16px; text-align: center; }
.exec-footer-bar span + span { border-left: 1px solid rgba(11, 15, 23, 0.12); }
.exec-footer-bar b { margin-left: 6px; font-weight: 800; color: var(--paper-ink); }

/* === SLIDE 7: LET'S TALK === */
.slide-body.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.partner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 20px;
  align-items: center;
  margin-top: clamp(10px, 1.6vh, 18px);
  padding: clamp(14px, 2vh, 22px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.partner-avatar-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  min-height: 56px;
  max-height: 56px;
  overflow: hidden;
  border-radius: 50%;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.partner-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: none;
  opacity: 1;
}

.partner-meta-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.partner-name-heading {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.85vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  color: #FFFFFF;
}

.partner-role-sub {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}

.partner-quote {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--accent-bright);
  font-size: clamp(13px, min(0.92vw, 1.58vh), 15px);
  line-height: 1.44;
  color: var(--ink-2);
}

.partner-contact-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  min-height: 36px;
}

a.partner-pill:hover { background: rgba(245, 166, 35, 0.16); border-color: var(--em); }

.partner-pill .ico { color: var(--em); }

.partner-brand-signoff {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.partner-brand-logo {
  display: block;
  height: clamp(22px, 2.5vh, 28px);
  width: auto;
}

.partner-brand-address {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-align: right;
}

.concierge-col { display: flex; flex-direction: column; justify-content: center; }

.request {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: clamp(16px, 2.4vh, 26px) clamp(18px, 1.8vw, 28px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
}

.request::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), rgba(0, 91, 158, 0.8));
}

.request .kicker { margin-bottom: 0; }

.request h3 {
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.05;
  color: #FFFFFF;
}

.request > p {
  font-size: clamp(13.5px, 0.94vw, 15px);
  line-height: 1.44;
  color: #D3DCE8;
}

.screen-request { display: flex; flex-direction: column; gap: 10px; }

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.suggestions button {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  cursor: pointer;
}

.suggestions button:hover,
.suggestions button:focus-visible {
  background: var(--accent-bright);
  color: #0B0F17;
  border-color: var(--accent-bright);
}

.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.picker-col { display: flex; flex-direction: column; gap: 5px; }

.request label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.date-control { position: relative; display: block; }

.request input {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 6px 44px 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #FFFFFF;
  color-scheme: dark;
}

.request input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

.date-control #open-date,
.date-control #open-time {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  transform: translateY(-50%);
  cursor: pointer;
}

.date-control .date-icon { width: 18px; height: 18px; }

a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--accent-bright);
  box-shadow: 0 14px 28px rgba(245, 166, 35, 0.30);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0B0F17;
}

a#contact:hover {
  background: #E09212;
  color: #0B0F17;
}

.request small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-3);
}

.print-contact { display: none; }

/* ------------------------------------------------------------------ controls */
.controls {
  position: fixed;
  left: 50%;
  bottom: 1.2vh;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(11, 15, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}

#counter {
  min-width: 46px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#play {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: #E6EBF2;
}

#download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 13px 5px 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 999px 999px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: #FFD08A;
  text-decoration: none;
}

#download:hover { color: #FFFFFF; }

/* ------------------------------------------------------------------ phone layout
   The active slide is its own scrollport above a separate navigation rail, so the
   rail never covers the prepared-by line, contact links or footer. */
@media screen and (max-width: 700px) {
  html, body { height: 100%; overflow: hidden; }

  #deck, .deck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    width: auto;
    height: auto;
  }

  .slide,
  .slide.cover.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px 26px;
  }

  .slide-head { flex-wrap: wrap; gap: 10px 14px; }
  .header-logo-pill { min-width: 0; }
  .header-wordmark b { font-size: 17px; }
  .header-wordmark small { font-size: 10.5px; letter-spacing: 0.06em; }
  .header-meta { width: 100%; font-size: 10.5px; }

  .slide-body,
  .slide-body.two,
  .slide-body.stack,
  .slide-body.website-grid,
  .slide-body.close-grid {
    display: flex;
    flex-direction: column;
    flex: none;
    justify-content: flex-start;
    gap: 18px;
  }

  .slide-body > *,
  .hero-copy,
  .hero-visual { min-width: 0; max-width: 100%; }
  .profile-band { flex-wrap: wrap; gap: 4px 12px; }
  .browser-bar { grid-template-columns: auto minmax(0, 1fr); }
  .browser-tag { display: none; }

  h1 { font-size: 33px; line-height: 1.08; }
  h2 { font-size: 27px; line-height: 1.12; }
  .lead { font-size: 15.5px; line-height: 1.55; }

  .journey-head,
  .proof-head,
  .exec-head { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

  .diagnostic-grid,
  .exec-cards-grid { display: flex; flex-direction: column; gap: 14px; }
  .comparison { flex-direction: column; gap: 14px; }
  .case-frame { width: 100%; max-width: none; }
  .exec-footer-bar { display: flex; flex-direction: column; gap: 6px; }
  .exec-footer-bar span + span { border-left: 0; border-top: 1px solid rgba(11, 15, 23, 0.12); }
  .profile-dl-grid { grid-template-columns: 1fr; }

  /* cover */
  .hero-copy { padding: 0; gap: 12px; }
  .cover-collab { flex-wrap: wrap; width: auto; }
  .cover-lockup { flex-wrap: wrap; gap: 10px; }
  .cover-badge { width: 190px; height: 66px; }
  .eyebrow { line-height: 1.6; }
  .fact-pills { flex-wrap: wrap; }
  .cover-foot {
    position: static;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
  }
  .hero-visual {
    order: 2;
    flex: none;
    min-height: 0;
    padding: 14px 0 0;
    container-type: normal;
    border-left: 0;
    background: none;
  }
  .hero-visual canvas { display: block; }
  .cover-photo,
  .cover-proof { width: 100%; }
  .cover-photo figcaption { flex-wrap: wrap; }
  .cover-photo figcaption small { margin-left: 0; width: 100%; }
  .cover-proof { grid-template-columns: 1fr; gap: 8px; }
  .mockup-col { height: auto; container-type: normal; }
  .browser-window { width: 100%; }
  .header-logo-pill { height: 46px; width: auto; }

  /* close */
  .partner-card { grid-template-columns: 1fr; gap: 14px; }
  .partner-avatar-wrap { width: 56px; height: 56px; }
  .partner-contact-pills { flex-direction: column; align-items: stretch; }
  .partner-pill { min-height: 44px; font-size: 13px; }
  .partner-brand-signoff { flex-wrap: wrap; gap: 8px; }
  .suggestions,
  .picker-grid { grid-template-columns: 1fr; }
  .suggestions button,
  #contact { min-height: 46px; }
  .date-control input { min-height: 44px; }

  .slide-foot { flex-wrap: wrap; gap: 6px 14px; }

  /* navigation rail: separate from the slide scrollport */
  .controls {
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-between;
    transform: none;
    border-radius: 0;
    border-width: 1px 0 0;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.5);
  }
  .controls button,
  #download { min-height: 44px; min-width: 44px; }
  #play,
  #download { padding: 5px 10px; font-size: 10.5px; letter-spacing: 0.08em; }
  #download { border-radius: 999px; }
}

/* Keep the four control groups on one line on 320px phones. */
@media screen and (max-width: 380px) {
  .controls { gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  #counter { min-width: 34px; font-size: 11px; }
  #play { padding-left: 7px; padding-right: 7px; font-size: 9.5px; letter-spacing: 0.06em; }
  #download { gap: 4px; padding-left: 7px; padding-right: 7px; font-size: 9.5px; letter-spacing: 0.06em; }
  .header-brand { width: 100%; gap: 10px; }
  .header-logo-pill { height: 42px; padding: 4px 9px; }
  .header-wordmark { flex: 1; min-width: 0; }
  .header-wordmark b { font-size: 15px; white-space: nowrap; }
  .header-wordmark small { font-size: 9px; line-height: 1.35; }
}

/* ------------------------------------------------------------------ desktop frame */
@media screen and (min-width: 701px) {
  html, body { height: 100%; overflow: hidden; }

  body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, #152236 0%, #06090F 100%);
  }

  /* Centered when there is room; otherwise lifted so the frame ends above the control rail. */
  #deck, .deck {
    width: min(96vw, 1640px);
    height: min(91vh, 920px);
    margin: clamp(8px, calc(100vh - min(91vh, 920px) - 56px), calc((100vh - min(91vh, 920px)) / 2)) auto 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.65);
  }

  .slide { height: 100%; min-height: 0; }
}

/* ==================================================================
   ARGON INTERACTIVE UPGRADES — Jones Lumber bespoke layer
   Slides 1–5: cover HUD, forensic audit, path replay, yard console,
   and pointer-captured before/after comparison.
   ================================================================== */

/* ---------------------------------------------------------------- slide 1: cover HUD */
.hero-visual {
  justify-content: center;
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.hero-hud {
  position: absolute;
  z-index: 3;
  top: clamp(16px, 2.6vh, 28px);
  right: clamp(16px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(78%, 370px);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(11, 15, 23, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.hero-hud__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E6EBF2;
}

.hero-hud__pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18);
}

.hero-hud__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-hud__chips li {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-hud__chips b {
  color: var(--accent-bright);
  font-weight: 800;
}

/* ---------------------------------------------------------------- slide 2: forensic audit */
.forensic-audit {
  display: grid;
  gap: 8px;
  margin-top: clamp(8px, 1.2vh, 14px);
}

.forensic-audit__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
}

.forensic-audit__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.forensic-audit__head b {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1vw, 16px);
  color: var(--paper-ink);
}

.forensic-audit__count {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
}

.forensic-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(11, 15, 23, 0.12);
  border-left: 4px solid #B42318;
  box-shadow: 0 8px 20px rgba(11, 15, 23, 0.05);
}

.forensic-card[data-severity="high"] { border-left-color: #B54708; }
.forensic-card[data-severity="medium"] { border-left-color: #175CD3; }

.forensic-badge {
  align-self: start;
  padding: 4px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #B42318;
}

.forensic-card[data-severity="high"] .forensic-badge { background: #B54708; }
.forensic-card[data-severity="medium"] .forensic-badge { background: #175CD3; }

.forensic-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(13.5px, 0.95vw, 15px);
  line-height: 1.2;
  color: var(--paper-ink);
}

.forensic-copy p {
  margin-top: 2px;
  font-size: clamp(11.8px, 0.8vw, 12.8px);
  line-height: 1.35;
  color: #364052;
}

.forensic-source {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6B7280;
}

.profile-inventory {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(11, 15, 23, 0.1);
  font-size: 11.5px;
  line-height: 1.4;
  color: #364052;
}

.profile-inventory b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--jones-blue-deep);
}

/* ---------------------------------------------------------------- slide 3: path replay */
.path-replay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--carbon-2);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.path-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: clamp(12px, 1.6vh, 18px) clamp(14px, 1.4vw, 20px);
}

.path-col--today {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.path-col--brandcore {
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.10), rgba(245, 166, 35, 0.03));
}

.path-col__head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.path-col__head b {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.05vw, 17px);
  color: #FFFFFF;
}

.path-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.path-badge--today {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E6EBF2;
}

.path-badge--brandcore {
  background: var(--accent-bright);
  color: #0B0F17;
}

.path-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-bright);
  white-space: nowrap;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(11, 15, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.path-steps li.is-staged {
  opacity: 0.22;
  transform: translateY(4px);
}

.path-steps li.is-revealed {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 255, 255, 0.16);
}

.path-col--brandcore .path-steps li {
  grid-template-columns: auto 1fr auto;
}

.path-step-num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
}

.path-col--brandcore .path-step-num {
  background: var(--accent-bright);
  color: #0B0F17;
}

.path-steps b {
  display: block;
  font-size: clamp(12px, 0.86vw, 13.5px);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.path-steps p {
  margin-top: 2px;
  font-size: clamp(11px, 0.78vw, 12.2px);
  line-height: 1.35;
  color: #CBD4E1;
}

.path-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  object-fit: cover;
}

.path-result {
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 12px;
  line-height: 1.35;
  color: #E6EBF2;
}

.path-result b { color: var(--accent-bright); }

.path-col--brandcore .path-result {
  border-color: rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.12);
}

.replay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.replay-bar p {
  font-size: 13px;
  line-height: 1.4;
  color: #CBD4E1;
}

.replay-bar p b { color: #FFFFFF; }

.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-bright);
  color: #0B0F17;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.28);
}

.replay-btn:hover { background: #E09212; }

.replay-btn:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- slide 4: yard console widget */
.argon-interactive-widget {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 64px rgba(11, 15, 23, 0.32);
  color: #FFFFFF;
  container-type: inline-size;
}

.widget-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #131B29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.widget-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 3px 8px;
  flex: none;
  border-radius: 7px;
  background: #FFFFFF;
}

.widget-logo-pill img {
  display: block;
  width: auto;
  height: 20px;
}

.widget-brand-copy b {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.widget-brand-copy small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #9FB0C7;
}

.widget-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7CF0C0;
  white-space: nowrap;
}

.widget-status__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.widget-status[data-state="closed"] {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.4);
  color: #FFD08A;
}

.widget-status[data-state="closed"] .widget-status__dot {
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.widget-status__time {
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #E6EBF2;
}

.widget-tabs {
  display: flex;
  gap: 2px;
  padding: 0 10px;
  background: #0E1520;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #9FB0C7;
  font-family: var(--font-mono);
  font-size: clamp(8.5px, 1.35cqi, 11px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-tab:hover { color: #FFFFFF; }

.widget-tab.is-active {
  color: #FFFFFF;
  border-bottom-color: var(--accent-bright);
}

.widget-tab:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: -2px;
}

.widget-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.widget-panel {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(12px, 1.6vh, 18px) clamp(12px, 1.4vw, 20px);
}

.widget-panel.is-active {
  display: flex;
  flex-direction: column;
}

.widget-panel[hidden] { display: none !important; }

.widget-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FB0C7;
}

.widget-label b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #FFFFFF;
}

.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(12px, 1.4vw, 20px);
  height: 100%;
  min-height: 0;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.material-picker,
.delivery-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.material-btn,
.delivery-btn {
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #CBD4E1;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.material-btn:hover,
.delivery-btn:hover {
  border-color: rgba(255, 255, 255, 0.34);
  color: #FFFFFF;
}

.material-btn.is-active,
.delivery-btn.is-active {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #0B0F17;
  font-weight: 800;
}

.material-btn:focus-visible,
.delivery-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.widget-range {
  width: 100%;
  height: 26px;
  cursor: pointer;
  accent-color: var(--accent-bright);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #7E90AA;
}

.estimator-output {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.rec-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.12), rgba(245, 166, 35, 0.03));
  border: 1px solid rgba(245, 166, 35, 0.34);
}

.rec-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.rec-head b {
  font-family: var(--font-display);
  font-size: clamp(13px, 0.98vw, 15px);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
}

.rec-chip {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.rec-card p {
  font-size: clamp(11.2px, 0.8vw, 12.6px);
  line-height: 1.38;
  color: #E6EBF2;
}

.rec-meta {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rec-meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rec-meta dt {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9FB0C7;
}

.rec-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-align: right;
  color: #FFFFFF;
}

.rec-meter {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.rec-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10B981, var(--accent-bright));
  transition: width 0.35s ease;
}

.rec-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--accent-bright);
  color: #0B0F17;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.rec-cta:hover { background: #E09212; }

.rec-foot {
  font-size: 9.5px;
  line-height: 1.4;
  color: #7E90AA;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-block {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.spec-block p {
  margin-top: 4px;
  font-size: clamp(11px, 0.78vw, 12.2px);
  line-height: 1.4;
  color: #CBD4E1;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.hours-block {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-block--wide {
  grid-column: 1 / -1;
  background: rgba(245, 166, 35, 0.09);
  border-color: rgba(245, 166, 35, 0.3);
}

.hours-dl {
  display: grid;
  gap: 5px;
  margin: 6px 0 0;
}

.hours-dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.hours-dl dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9FB0C7;
}

.hours-dl dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-align: right;
  color: #FFFFFF;
}

.hours-block p {
  margin-top: 4px;
  font-size: clamp(11px, 0.78vw, 12.2px);
  line-height: 1.4;
  color: #E6EBF2;
}

/* ---------------------------------------------------------------- slide 5: drag comparison */
.compare {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.compare__stage {
  position: relative;
  width: 100%;
  height: clamp(260px, 42vh, 430px);
  overflow: hidden;
  border-radius: 16px;
  background: #0B0F17;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.compare__after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transform: translateX(-1px);
  pointer-events: auto;
  cursor: ew-resize;
}

.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-bright);
  color: #0B0F17;
  font-size: 17px;
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(245, 166, 35, 0.22);
}

.compare__tag {
  position: absolute;
  top: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(11, 15, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.compare__tag--before { left: 12px; }

.compare__tag--after {
  right: 12px;
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #0B0F17;
}

.compare__range {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  margin: 0;
  opacity: 0;
  pointer-events: none !important;
}

.compare:focus-within .compare__stage {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.compare-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 1120px);
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.4;
  color: #CBD4E1;
}

.compare-legend b {
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* ---------------------------------------------------------------- responsive upgrades */
@media screen and (max-width: 1100px) and (min-width: 701px) {
  .estimator-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 700px) {
  .hero-visual {
    order: 2;
    flex: none;
    min-height: 260px;
    padding: 16px;
    container-type: normal;
    border-left: 0;
    background: linear-gradient(180deg, rgba(11, 15, 23, 0.55), rgba(11, 15, 23, 0.92)), url('assets/jones-yard-aerial-contact.jpg') center / cover no-repeat;
  }

  .hero-hud {
    position: relative;
    top: auto;
    right: auto;
    max-width: none;
    width: 100%;
  }

  .forensic-card { grid-template-columns: 1fr; }

  .forensic-badge { justify-self: start; }

  .path-replay { grid-template-columns: 1fr; }

  .path-col--today {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .estimator-grid { grid-template-columns: 1fr; }

  .specs-grid,
  .hours-grid { grid-template-columns: 1fr; }

  .hours-block--wide { grid-column: auto; }

  .widget-tab {
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .widget-status__time { display: none; }

  .compare__stage { height: 280px; }

  .compare-legend { grid-template-columns: 1fr; }
}

@media screen and (max-width: 380px) {
  .hero-hud__chips li { font-size: 10.5px; }
  .widget-brand-copy small { display: none; }
}

