/* Cascade Paint & Supply — Brandcore introduction
   Palette: Undercoat Charcoal + Primer White, with Cascade Emblem Orange taken from the logo.
   Every text colour below is paired with the surface it sits on; ratios are noted beside it. */

@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: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --char-950: #0E1013;
  --char-900: #15181D;
  --char-800: #1E2228;
  --char-700: #2A2F37;
  --primer: #F6F2EA;
  --primer-2: #EDE6D8;
  --paper: #FFFFFF;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: #DCD2C0;

  /* Ink on charcoal (#15181D) */
  --on-dark: #FFFFFF;          /* 18.4:1 */
  --on-dark-2: #D7DBE1;        /* 13.0:1 */
  --on-dark-3: #BFC5CE;        /* 10.1:1 */
  --signal: #FFA54F;           /* 9.6:1  small orange text on charcoal */

  /* Ink on primer (#F6F2EA) and paper (#FFFFFF) */
  --ink: #1B1E23;              /* 15.4:1 on primer */
  --ink-2: #3B4048;            /* 9.6:1 on primer */
  --ink-3: #4A4F57;            /* 7.4:1 on primer */
  --rust-lg: #B04E00;          /* 4.8:1 on primer, large display type only */

  /* Brand */
  --orange: #F58216;           /* Cascade emblem orange */
  --on-orange: #111214;        /* 7.3:1 on --orange */
  --slate-blue: #2B4C65;
  --brass: #D9A441;

  --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, 'Cascadia Mono', monospace;

  --pad-x: clamp(24px, 4.1vw, 72px);
  --pad-top: clamp(18px, 2.8vh, 32px);
  --pad-bottom: clamp(16px, 2.4vh, 28px);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --label: clamp(11.5px, 0.68vw, 13px);
  --body: clamp(14.5px, 0.98vw, 18px);
  --lead: clamp(15px, 1.1vw, 20px);
  --h2: clamp(30px, 3vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--char-950);
  color: var(--on-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, a, input { font: inherit; }
img { max-width: 100%; }

.ui-icon, .date-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.17em;
}

/* =========================================================
   Deck frame & slide skeleton
   ========================================================= */
#deck, .deck {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: relative;
  display: none;
  min-height: 100vh;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  overflow: hidden;
}

.slide.active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.slide.dark {
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(245, 130, 22, 0.11), transparent 62%),
    linear-gradient(160deg, #181B21 0%, var(--char-900) 55%, #121419 100%);
  color: var(--on-dark);
}

.slide.light {
  background:
    radial-gradient(900px 480px at 92% -6%, rgba(245, 130, 22, 0.08), transparent 60%),
    var(--primer);
  color: var(--ink);
}

.slide-body {
  align-self: center;
  min-height: 0;
  padding-block: clamp(14px, 2.4vh, 30px);
}

/* ---------- Header rail: the client's mark leads every slide ---------- */
.slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(10px, 1.5vh, 16px);
  border-bottom: 1px solid var(--line-dark);
}
.light .slide-header { border-bottom-color: var(--line-light); }

.header-brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.3vw, 22px);
  min-width: 0;
}

.header-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: clamp(7px, 0.9vh, 10px) clamp(12px, 1vw, 18px);
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  opacity: 1;
}
.light .header-logo-pill {
  border-color: var(--line-light);
  box-shadow: 0 8px 22px rgba(70, 48, 16, 0.09);
}

.header-logo-pill img {
  display: block;
  height: clamp(38px, 5vh, 54px);
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.header-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: clamp(14px, 1.3vw, 22px);
  border-left: 1px solid var(--line-dark);
  line-height: 1.15;
}
.light .header-wordmark { border-left-color: var(--line-light); }

.header-wordmark b {
  font-family: var(--font-display);
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--on-dark);
}
.header-wordmark small {
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.light .header-wordmark b { color: var(--ink); }
.light .header-wordmark small { color: var(--ink-3); }

.header-meta {
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--on-dark-2);
}
.header-meta b { color: var(--signal); font-weight: 700; }
.light .header-meta { color: var(--ink-2); }
.light .header-meta b { color: var(--ink); }

/* ---------- Footer rail ---------- */
.slide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(10px, 1.3vh, 14px);
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: var(--label);
  letter-spacing: 0.06em;
  color: var(--on-dark-3);
}
.light .slide-foot { border-top-color: var(--line-light); color: var(--ink-3); }
.slide-foot small { font-size: inherit; }

.page {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--on-dark-2);
}
.light .page { color: var(--ink-2); }

.source {
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 165, 79, 0.4);
}
.source:hover { border-bottom-color: currentColor; }

/* ---------- Type ---------- */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}
.eyebrow::before, .kicker::before {
  content: '';
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
  flex: none;
}
.light .kicker, .cover .eyebrow { color: var(--ink); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  margin-top: clamp(10px, 1.4vh, 16px);
  font-size: var(--h2);
  line-height: 1.04;
  color: var(--on-dark);
}
h2 em { font-style: normal; color: var(--orange); }      /* 6.9:1, large text */
.light h2 { color: var(--ink); }
.light h2 em { color: var(--rust-lg); }                 /* 4.8:1, large text */

.lead {
  margin-top: clamp(10px, 1.5vh, 18px);
  max-width: 60ch;
  font-size: var(--lead);
  line-height: 1.55;
  color: var(--on-dark-2);
}
.light .lead { color: var(--ink-2); }

/* Number badges: solid chips, never pale text */
.pillar-num, .c-num, .path-num, .exec-phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 2.35em;
  height: 2.35em;
  padding: 0 0.5em;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.74vw, 14px);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: var(--on-orange);                              /* 7.3:1 */
}
.light .path-num { background: var(--ink); color: #FFFFFF; } /* 16.6:1 */

/* =========================================================
   Slide 1 — Cover
   ========================================================= */
.slide.cover {
  padding: 0;
  background: var(--primer);
  color: var(--ink);
}
.slide.cover.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-rows: minmax(0, 1fr);
}

.hero-copy {
  position: relative;
  align-self: center;
  padding: clamp(24px, 4vh, 48px) clamp(28px, 3.2vw, 56px) clamp(24px, 4vh, 48px) clamp(36px, 4.4vw, 76px);
}
/* A paint-chip strip runs down the cover's left edge */
.slide.cover::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(8px, 0.7vw, 12px);
  background: linear-gradient(180deg,
    #F58216 0 18%, #F2B66D 18% 32%, #E9D7B9 32% 46%, #B8A88E 46% 60%,
    #2B4C65 60% 74%, #4A4F57 74% 88%, #1B1E23 88% 100%);
}

.cover-brand-row { display: flex; margin-bottom: clamp(18px, 3.4vh, 38px); }

.cover-badge, .cover-logo-pill {
  display: inline-flex;
  align-items: center;
  padding: clamp(14px, 2vh, 22px) clamp(18px, 1.6vw, 28px);
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  box-shadow: 0 22px 48px rgba(70, 48, 16, 0.12), 0 2px 0 rgba(70, 48, 16, 0.04);
  opacity: 1;
}
.cover-badge .cover-logo-img {
  display: block;
  height: clamp(78px, 11.2vh, 122px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.cover h1 {
  margin-top: clamp(12px, 1.8vh, 20px);
  font-size: clamp(40px, 3.95vw, 70px);
  line-height: 0.99;
  color: var(--ink);
  text-wrap: balance;
}
.cover h1 em {
  display: block;
  margin-top: clamp(10px, 1.5vh, 16px);
  font-size: 0.47em;
  line-height: 1.16;
  letter-spacing: -0.012em;
  font-style: normal;
  color: var(--rust-lg);                                /* 4.8:1 at 30px+ bold */
}
.cover .lead {
  max-width: 54ch;
  margin-top: clamp(12px, 2vh, 22px);
  color: var(--ink-2);
}

.cover-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(14px, 2.4vh, 26px);
}
.cover-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.cover-facts .ui-icon { color: var(--rust-lg); }

.cover-subnote {
  display: block;
  margin-top: clamp(14px, 2.4vh, 26px);
  font-family: var(--font-mono);
  font-size: var(--label);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* Right-hand stage: the client's new homepage, full strength */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(28px, 4.4vh, 56px) clamp(26px, 2.6vw, 48px) clamp(52px, 7vh, 76px);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 72% 18%, #2A2F38 0%, rgba(42, 47, 56, 0) 62%),
    radial-gradient(70% 60% at 10% 100%, rgba(245, 130, 22, 0.16) 0%, rgba(245, 130, 22, 0) 60%),
    linear-gradient(165deg, #1A1D23 0%, #121418 100%);
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  display: grid;
  gap: clamp(14px, 2.2vh, 24px);
}

.hero-browser, .browser-window {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0F1216;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.browser-bar, .case-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: clamp(32px, 4vh, 40px);
  padding: 0 14px;
  background: #22262D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.b-dot { width: 10px; height: 10px; border-radius: 50%; }
.b-dot.red { background: #FF5F57; }
.b-dot.yellow { background: #FEBC2E; }
.b-dot.green { background: #28C840; }

.browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: 360px;
  height: 66%;
  padding: 0 12px;
  border-radius: 7px;
  background: #15181D;
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.66vw, 12.5px);
  color: #E6E9EE;                                       /* 13:1 */
}
.browser-url .ui-icon { color: #9FE0A9; width: 0.95em; height: 0.95em; }
.browser-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.62vw, 12px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  white-space: nowrap;
}

.hero-viewport {
  aspect-ratio: 1232 / 693;
  background: #12161C;
}
.hero-viewport img, .mock-hero-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  filter: none;
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 0.9vw, 16px);
}
.paint-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  align-content: center;
  padding: clamp(9px, 1.2vh, 12px) clamp(10px, 0.8vw, 14px);
  border-radius: var(--radius-sm);
  background: #FBF8F2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.chip-swatch {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: clamp(36px, 4.4vh, 46px);
  height: clamp(36px, 4.4vh, 46px);
  border-radius: 8px;
  font-size: clamp(17px, 2.1vh, 22px);
}
.swatch-orange { background: var(--orange); color: var(--on-orange); }
.swatch-slate { background: var(--slate-blue); color: #FFFFFF; }
.swatch-brass { background: var(--brass); color: var(--on-orange); }
.paint-chip b {
  font-size: clamp(13px, 0.8vw, 15px);
  line-height: 1.2;
  color: var(--ink);
}
.paint-chip small {
  font-size: clamp(11.5px, 0.68vw, 13px);
  color: var(--ink-3);
}

.hero-signature {
  position: absolute;
  left: clamp(26px, 2.6vw, 48px);
  bottom: clamp(16px, 2.6vh, 28px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.hero-signature img { height: clamp(16px, 2vh, 20px); width: auto; display: block; }

.cover > .page {
  position: absolute;
  right: clamp(26px, 2.6vw, 48px);
  bottom: clamp(16px, 2.6vh, 28px);
  z-index: 1;
  color: var(--on-dark-2);
}

/* =========================================================
   Two-column body (slides 2, 4)
   ========================================================= */
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 3.6vw, 72px);
  align-items: center;
}
.narrative-col { min-width: 0; }

/* Slide 2 — pillars */
.narrative-pillars {
  display: grid;
  gap: clamp(8px, 1.2vh, 14px);
  margin-top: clamp(16px, 2.6vh, 30px);
}
.pillar-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(12px, 1.7vh, 18px) clamp(14px, 1.2vw, 20px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
}
.pillar-content h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.24vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-dark);
}
.pillar-content p {
  margin-top: 4px;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--on-dark-2);
}

/* Slide 2 — fact chip (a paint fan-deck card) */
.showcase-col { display: flex; justify-content: center; }
.fact-chip {
  position: relative;
  width: min(100%, 500px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.fact-chip-top {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: clamp(18px, 2.8vh, 30px) clamp(20px, 1.8vw, 30px) clamp(14px, 2vh, 22px);
  background: var(--orange);
  color: var(--on-orange);
}
.fact-big {
  font-family: var(--font-display);
  font-size: clamp(64px, 9.2vh, 104px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.04em;
}
.fact-big sup { font-size: 0.5em; vertical-align: 0.62em; margin-left: 2px; }
.fact-big-label {
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 0.8vw, 15px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.fact-rows {
  display: grid;
  gap: clamp(8px, 1.3vh, 14px);
  padding: clamp(14px, 2.2vh, 24px) clamp(20px, 1.8vw, 30px) 0;
}
.fact-rows li { display: flex; gap: 12px; align-items: flex-start; }
.fact-rows .ui-icon { margin-top: 2px; color: var(--rust-lg); font-size: 1.05em; }
.fact-rows span {
  display: flex;
  flex-direction: column;
  font-size: clamp(13px, 0.82vw, 15px);
  line-height: 1.35;
  color: var(--ink-3);
}
.fact-rows b { font-size: clamp(14.5px, 0.95vw, 17px); color: var(--ink); }
.fact-brands {
  margin: clamp(12px, 2vh, 22px) clamp(20px, 1.8vw, 30px) 0;
  padding-top: clamp(10px, 1.6vh, 16px);
  border-top: 1px solid #E6DECF;
}
.fact-brands-label {
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fact-brands p {
  margin-top: 5px;
  font-size: clamp(13px, 0.8vw, 15px);
  line-height: 1.5;
  color: var(--ink);
}
.fact-swatches {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  height: clamp(12px, 1.6vh, 18px);
  margin-top: clamp(14px, 2.2vh, 24px);
}
.fact-swatches i:nth-child(1) { background: #F58216; }
.fact-swatches i:nth-child(2) { background: #F2B66D; }
.fact-swatches i:nth-child(3) { background: #E9D7B9; }
.fact-swatches i:nth-child(4) { background: #B8A88E; }
.fact-swatches i:nth-child(5) { background: #2B4C65; }
.fact-swatches i:nth-child(6) { background: #4A4F57; }
.fact-swatches i:nth-child(7) { background: #1B1E23; }

/* =========================================================
   Slide 3 — Customer journey (primer)
   ========================================================= */
.journey-head, .proof-head, .exec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 3.4vw, 64px);
  align-items: end;
}
.journey-head .lead, .proof-head .lead, .exec-head .lead { margin-top: 0; }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 26px);
  margin-top: clamp(22px, 3.8vh, 44px);
}
.path-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
  padding: clamp(18px, 2.8vh, 30px) clamp(18px, 1.5vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-top: 6px solid var(--chip, var(--orange));
  box-shadow: 0 24px 50px rgba(70, 48, 16, 0.09);
}
.path-card:nth-child(2) { --chip: var(--slate-blue); }
.path-card:nth-child(3) { --chip: var(--brass); }
.path-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.path-tag {
  padding: 6px 11px;
  border-radius: 999px;
  background: #FCEAD7;
  border: 1px solid rgba(245, 130, 22, 0.45);
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);                                     /* 13.6:1 */
}
.path-card h3 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.55vw, 29px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.path-card p {
  font-size: var(--body);
  line-height: 1.55;
  color: var(--ink-2);
}
.path-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: clamp(10px, 1.4vh, 14px);
  border-top: 1px solid #ECE4D6;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.path-foot .ui-icon { color: var(--rust-lg); }

/* =========================================================
   Slide 4 — Website (charcoal)
   ========================================================= */
.website-grid {
  --mock-h: clamp(300px, 42vh, 440px);
  grid-template-columns: minmax(0, 1fr) auto;
}
.concept-notes {
  display: grid;
  gap: clamp(8px, 1.2vh, 12px);
  margin-top: clamp(16px, 2.6vh, 30px);
}
.concept-note-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(12px, 1.6vh, 16px) clamp(14px, 1.2vw, 18px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
}
.concept-note-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16.5px, 1.1vw, 20px);
  line-height: 1.25;
  color: var(--on-dark);
}
.concept-note-item p {
  margin-top: 3px;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--on-dark-2);
}
.mockup-col { display: flex; justify-content: flex-end; }
.browser-window { width: min(100%, calc(var(--mock-h) * 1.7778)); }
.mock-hero-stage {
  height: var(--mock-h);
  background: #12161C;
}

/* =========================================================
   Slide 5 — Before & after (primer)
   ========================================================= */
.comparison {
  --case-h: clamp(280px, 38vh, 400px);
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 44px);
  margin-top: clamp(20px, 3.4vh, 40px);
}
.case-frame {
  width: calc(var(--case-h) * 1.6);
  max-width: calc(50% - 12px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #CFC5B3;
  box-shadow: 0 30px 60px rgba(50, 34, 10, 0.16);
}
.case-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.66vw, 12.5px);
  color: #E6E9EE;
  text-align: center;
}
.case-label {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.62vw, 12px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-label.before { background: #E7E1D6; color: var(--ink); }
.case-label.after { background: var(--orange); color: var(--on-orange); }
.case-viewport {
  position: relative;
  height: var(--case-h);
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #F2F2F2;
}
.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: flex-start;
  gap: 12px;
  padding: clamp(10px, 1.4vh, 14px) 16px;
  border-top: 1px solid #E6DECF;
  font-size: clamp(13px, 0.82vw, 15px);
  line-height: 1.4;
  color: var(--ink-2);
}
.case-frame figcaption b {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* =========================================================
   Slide 6 — Roadmap (charcoal)
   ========================================================= */
.exec-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.6fr); }
.exec-head h2 { font-size: clamp(28px, 2.75vw, 50px); }
.exec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 26px);
  margin-top: clamp(22px, 3.6vh, 42px);
}
.exec-phase-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 16px);
  padding: clamp(18px, 2.8vh, 30px) clamp(18px, 1.5vw, 28px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.exec-phase-card.featured {
  background: linear-gradient(165deg, rgba(245, 130, 22, 0.17) 0%, rgba(245, 130, 22, 0.05) 100%);
  border-color: rgba(245, 130, 22, 0.75);
}
.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.exec-duration-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 165, 79, 0.55);
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFBA75;                                       /* 9.4:1 on the pill */
}
.exec-phase-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.38vw, 25px);
  font-weight: 700;
  line-height: 1.16;
  color: var(--on-dark);
}
.exec-deliverables {
  display: grid;
  gap: clamp(8px, 1.3vh, 13px);
  padding-top: clamp(10px, 1.5vh, 16px);
  border-top: 1px solid var(--line-dark);
}
.exec-deliverables li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--body);
  line-height: 1.45;
  color: var(--on-dark-2);
}
.exec-deliverables .ui-icon {
  margin-top: 0.12em;
  color: var(--signal);
  stroke-width: 2.4;
}
.exec-footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-mono);
  font-size: var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.exec-footer-bar span { display: inline-flex; align-items: center; gap: 8px; }
.exec-footer-bar span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}
.exec-footer-bar b { color: var(--on-dark); }

/* =========================================================
   Slide 7 — Let's talk (primer)
   ========================================================= */
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(26px, 3.4vw, 64px);
  align-items: center;
}
.partner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 1.6vh, 18px) clamp(18px, 1.6vw, 26px);
  align-items: center;
  margin-top: clamp(18px, 3vh, 32px);
  padding: clamp(18px, 2.6vh, 28px) clamp(18px, 1.6vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-light);
  box-shadow: 0 26px 54px rgba(70, 48, 16, 0.1);
}
.partner-avatar-wrap {
  width: clamp(112px, 13.4vh, 140px);
  height: clamp(112px, 13.4vh, 140px);
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 0 3px var(--orange), 0 16px 32px rgba(70, 48, 16, 0.22);
}
.partner-avatar-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.partner-name-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 1.75vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}
.partner-role-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.partner-quote {
  margin-top: clamp(8px, 1.2vh, 12px);
  font-size: clamp(14.5px, 1vw, 18.5px);
  line-height: 1.5;
  color: var(--ink-2);
}
.partner-contact-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: clamp(12px, 1.6vh, 16px);
  border-top: 1px solid #ECE4D6;
}
.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--primer);
  border: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.72vw, 13.5px);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.partner-pill .ui-icon { color: var(--rust-lg); }
.partner-pill:hover { border-color: var(--ink); }

.concierge-col { min-width: 0; }
.request {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
  padding: clamp(20px, 3vh, 32px) clamp(20px, 1.8vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-top: 5px solid var(--orange);
  box-shadow: 0 26px 54px rgba(70, 48, 16, 0.12);
  color: var(--ink);
}
.request .kicker { color: var(--ink); }
.request h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.request > p { font-size: var(--body); line-height: 1.5; color: var(--ink-2); }
.screen-request { display: grid; gap: clamp(10px, 1.4vh, 14px); }
.suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggestions button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--primer);
  border: 1px solid #CFC5B3;
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.74vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.suggestions button:hover, .suggestions button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picker-col { display: grid; gap: 6px; }
.request label {
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.date-control { position: relative; display: flex; align-items: center; }
.request input {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 46px 0 12px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid #BDB2A0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  color-scheme: light;
}
.request input::-webkit-calendar-picker-indicator { opacity: 0; pointer-events: none; }
.date-control button {
  position: absolute;
  right: 4px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--primer);
  color: var(--rust-lg);
  cursor: pointer;
}
.date-control .date-icon { width: 20px; height: 20px; }
#picker-help { font-size: 13px; color: var(--ink-2); }
#picker-help[hidden] { display: none; }
a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #FFFFFF;                                        /* 16.6:1 */
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 0.78vw, 14px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(27, 30, 35, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}
a#contact .ui-icon { color: var(--orange); }
a#contact:hover { background: #000000; transform: translateY(-1px); }
.request small { font-size: clamp(12px, 0.72vw, 13.5px); line-height: 1.45; color: var(--ink-3); }
.print-contact { display: none; }

/* =========================================================
   Presentation controls
   ========================================================= */
.controls {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(17, 19, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
}
.controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}
.controls button:hover { background: rgba(255, 255, 255, 0.1); }
#counter {
  min-width: 48px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
#play {
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  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: var(--signal);
}
.controls button:focus-visible, a:focus-visible, input:focus-visible, .suggestions button:focus-visible, .date-control button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* =========================================================
   Desktop: centred presentation frame
   ========================================================= */
@media screen and (min-width: 701px) {
  html, body { height: 100%; overflow: hidden; }
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 56px;
    background: radial-gradient(circle at 50% 30%, #1B2028 0%, #08090C 100%);
  }
  #deck, .deck {
    width: min(96vw, 1640px);
    height: min(calc(100vh - 88px), 920px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.65);
    background: var(--char-900);
  }
  .slide {
    height: 100%;
    min-height: 0;
  }
}

/* Shorter desktop windows: tighten the vertical rhythm */
@media screen and (min-width: 701px) and (max-height: 820px) {
  :root { --lead: clamp(14.5px, 1vw, 17px); --body: clamp(13.5px, 0.9vw, 16px); }
  .pillar-content p, .concept-note-item p { line-height: 1.42; }
  .exec-deliverables li { line-height: 1.38; }
}

/* =========================================================
   Phones & narrow tablets: stacked, natively scrolling slides
   ========================================================= */
@media screen and (max-width: 700px) {
  :root {
    --pad-x: 18px;
    --label: 12px;
    --body: 15px;
    --lead: 16px;
    --h2: 30px;
  }
  html, body { overflow-x: hidden; }
  .slide { min-height: 100svh; padding: 18px var(--pad-x) 96px; }
  .slide.active { display: block; }
  .slide-body { padding-block: 22px; }
  .slide-header { flex-wrap: wrap; gap: 12px; }
  .header-logo-pill img { height: 40px; }
  .header-wordmark { display: none; }
  .header-meta { white-space: normal; }
  .slide-foot { flex-wrap: wrap; }

  .slide.cover.active { display: block; padding: 0 0 96px; }
  .hero-copy { padding: 26px 18px 28px 26px; }
  .cover-badge, .cover-logo-pill { display: block; width: 100%; max-width: 460px; padding: 14px 16px; }
  .cover-badge .cover-logo-img { height: auto; width: 100%; }
  .browser-tag { display: none; }
  .cover h1 { font-size: 40px; }
  .hero-visual { padding: 28px 16px 64px; }
  .chip-row { grid-template-columns: 1fr; }
  .cover > .page { bottom: 108px; }
  .hero-signature { bottom: 20px; }

  .two, .website-grid, .close-grid, .journey-head, .proof-head, .exec-head,
  .journey-grid, .exec-cards-grid { grid-template-columns: 1fr; }
  .fact-chip { margin-top: 8px; }
  .mockup-col { justify-content: center; }
  .browser-window { width: 100%; }
  .mock-hero-stage { height: auto; aspect-ratio: 1232 / 693; }
  .comparison { flex-direction: column; }
  .case-frame { width: 100%; max-width: none; }
  .case-viewport { height: auto; }
  .partner-card { grid-template-columns: 1fr; justify-items: start; }
  .picker-grid, .suggestions { grid-template-columns: 1fr; }
  .controls { bottom: 12px; }
}

@media print {
  .controls, .screen-request, #scene { display: none !important; }
  .print-contact { display: block; margin-top: 8px; color: var(--ink); }
}

/* === 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;
}
