/* CRC Auto Body · Brandcore website proposal
   One design system: carbon (dark) and paper (light) slides, CRC shield red as the only accent.
   Every text colour below is paired with its surface and measured at WCAG AAA
   (7:1 body/small text, 4.5:1 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;          /* the shield's own outline colour */
  --carbon-0: #0A0B0D;
  --carbon-1: #0F1114;       /* carbon slide */
  --carbon-2: #171A1F;       /* carbon card */
  --carbon-3: #1F232A;       /* raised */
  --paper-1: #F5F2EC;        /* paper slide */
  --paper-ink: #0D0F12;

  --crc-red: #FF2B2B;        /* graphics only: rules, dots, icons */
  --crc-red-deep: #A80000;   /* surfaces that carry white text (7.9:1) */
  --crc-red-ink: #9A0000;    /* small red text on paper/white (7.2:1+) */

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

/* Theme tokens. Carbon: ink #FFF 18.9:1, ink-2 #E6E9ED 12.9:1+, ink-3 #C9CED6 9.9:1+, em #FF4D4D 4.8:1+ (display only).
   Paper: ink #0D0F12 15.7:1+, ink-2 #2B2F36 11:1+, ink-3 #3D434C 8.2:1+, em #B00000 6:1+ (display only). */
.carbon {
  --bg: var(--carbon-1);
  --surface: var(--carbon-2);
  --line: rgba(255, 255, 255, 0.11);
  --ink: #FFFFFF;
  --ink-2: #E6E9ED;
  --ink-3: #C9CED6;
  --em: #FF4D4D;
  --rule: var(--crc-red);
  --tile-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 10px 24px rgba(0, 0, 0, 0.45);
}
.paper {
  --bg: var(--paper-1);
  --surface: #FFFFFF;
  --line: rgba(13, 15, 18, 0.12);
  --ink: var(--paper-ink);
  --ink-2: #2B2F36;
  --ink-3: #3D434C;
  --em: #B00000;
  --rule: #D10000;
  --tile-shadow: 0 10px 22px rgba(13, 15, 18, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  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;
}

/* ------------------------------------------------------------------ deck + slides */
#deck, .deck {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--carbon-1);
}

.slide {
  position: relative;
  display: none;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  padding: clamp(18px, 3vh, 32px) clamp(28px, 4.4vw, 76px) clamp(14px, 2.4vh, 26px);
  background: var(--bg);
  color: var(--ink);
}

.slide.active {
  display: flex;
  flex-direction: column;
}

.slide.carbon {
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(255, 43, 43, 0.07) 0%, rgba(255, 43, 43, 0) 60%),
    linear-gradient(160deg, #111317 0%, var(--carbon-1) 55%, #0C0D10 100%);
}

.slide.paper {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(209, 0, 0, 0.05) 0%, rgba(209, 0, 0, 0) 60%),
    var(--paper-1);
}

.slide-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(14px, 2.6vh, 30px) 0;
}

.slide-body.stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 3.8vh, 44px);
}

.slide-body.two {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 3.6vw, 64px);
  align-items: center;
}

/* ------------------------------------------------------------------ header lockup */
.slide-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(10px, 1.6vh, 16px);
  border-bottom: 1px solid var(--line);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1vw, 18px);
}

/* The shield sits in a black tile that continues its own black outline, so the mark reads
   identically on carbon and on paper. Never filtered, faded or recoloured. */
.header-logo-pill {
  display: grid;
  place-items: center;
  --tile: clamp(50px, 6.4vh, 64px);
  width: var(--tile);
  height: var(--tile);
  border-radius: 14px;
  background: var(--black);
  box-shadow: var(--tile-shadow);
  flex: none;
}

.header-logo-pill img,
.cover-badge img,
.profile-emblem img,
.phone-appbar img {
  display: block;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.header-logo-pill img { height: calc(var(--tile) * 0.84); }

.header-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink);
}

.header-wordmark small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  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(8px, 1.4vh, 14px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  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(8px, 1.5vh, 16px);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.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(34px, min(3.3vw, 5.9vh), 60px);
  line-height: 1.02;
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(28px, min(2.65vw, 4.9vh), 52px);
  line-height: 1.06;
  letter-spacing: -0.026em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.lead {
  max-width: 60ch;
  margin-top: clamp(10px, 1.7vh, 18px);
  font-size: clamp(15px, min(1.12vw, 2vh), 19px);
  line-height: 1.55;
  color: var(--ink-3);
}

.num-chip {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: clamp(32px, 3.8vh, 38px);
  height: clamp(32px, 3.8vh, 38px);
  border-radius: 10px;
  background: var(--crc-red-deep);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

/* ------------------------------------------------------------------ slide 1: cover */
.slide.cover { display: none; padding: 0; }

.slide.cover.active {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vh, 48px) clamp(24px, 2.8vw, 52px) clamp(64px, 9vh, 96px) clamp(30px, 4.6vw, 80px);
}

.cover-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 30px);
  margin-bottom: clamp(18px, 3.6vh, 42px);
}

.cover-badge {
  display: grid;
  place-items: center;
  flex: none;
  --badge: clamp(124px, 19vh, 196px);
  width: var(--badge);
  height: var(--badge);
  border-radius: clamp(22px, 2.8vh, 32px);
  background: var(--black);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 26px 54px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(255, 43, 43, 0.14);
}

.cover-badge img { height: calc(var(--badge) * 0.86); }

.cover-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, min(2.6vw, 4.6vh), 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.cover-wordmark span {
  display: block;
  margin-top: clamp(8px, 1.2vh, 12px);
  font-size: clamp(15px, 1.12vw, 19px);
  font-weight: 600;
  color: #E6E9ED;
}

.cover-wordmark small {
  display: block;
  margin-top: clamp(6px, 1vh, 10px);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9CED6;
}

.hero-copy .lead { max-width: 54ch; }

.fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(16px, 2.8vh, 30px) 0 0;
  padding: 0;
  list-style: none;
}

.fact-pills li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: clamp(13.5px, 0.95vw, 15px);
  font-weight: 600;
  color: #FFFFFF;
}

.fact-pills .ico { color: var(--em); font-size: 1.08em; }

.cover-foot {
  position: absolute;
  left: clamp(30px, 4.6vw, 80px);
  right: clamp(24px, 2.8vw, 52px);
  bottom: clamp(16px, 2.8vh, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(10px, 1.6vh, 16px);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.prepared-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #D3D8DF;
}

.prepared-by b { color: #FFFFFF; font-weight: 700; }

.prepared-by img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 2px var(--crc-red);
}

/* Right stage: the proposed homepage on desktop and mobile, standing on a frame-measuring
   laser floor (the same red grid CRC's homepage hero shows under the car). */
.hero-visual {
  position: relative;
  overflow: hidden;
  container-type: size;
  background:
    radial-gradient(110% 70% at 55% 28%, #20242B 0%, #14161A 46%, #0A0B0D 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
}

.stage-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 46%;
  overflow: hidden;
  perspective: 620px;
  perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
}

.stage-floor-grid {
  position: absolute;
  left: -60%;
  right: -60%;
  top: 0;
  height: 230%;
  transform-origin: 50% 0;
  transform: rotateX(64deg);
  background-image:
    linear-gradient(rgba(255, 43, 43, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 43, 43, 0.42) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center top;
}

.stage-scan {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crc-red) 25%, var(--crc-red) 75%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 43, 43, 0.5);
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
  .stage-scan { animation: laser-scan 7s ease-in-out infinite alternate; }
}

@keyframes laser-scan {
  from { top: 34%; }
  to { top: 92%; }
}

.stage-browser {
  position: absolute;
  z-index: 3;
  top: 13cqh;
  left: 6cqw;
  width: 86cqw;
  border-radius: 14px;
  overflow: hidden;
  background: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(255, 43, 43, 0.1);
}

/* The cover shows the homepage down to the hero; its trust bar is shown in full on slide 4. */
.stage-shot { aspect-ratio: 1258 / 548; background: #0F1114; }

.stage-shot img,
.mock-hero-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  filter: none;
}

/* Browser chrome shared by the cover and slide 4 */
.browser-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  height: clamp(32px, 4.2vh, 40px);
  padding: 0 14px;
  background: #1A1D22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.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: 260px;
  padding: 5px 18px;
  border-radius: 8px;
  background: var(--carbon-1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: #E6E9ED;
}

.browser-url .ico { font-size: 0.95em; }

.browser-tag {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--crc-red-deep);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* Phone. Its UI is sized in its own container units so it scales as one object. */
.stage-phone {
  position: absolute;
  z-index: 4;
  right: 4.5cqw;
  /* top edge lands on the laser floor below the car (475 of the 548px-tall cover shot) */
  top: calc(13cqh + clamp(32px, 4.2vh, 40px) + 32.5cqw);
  width: 22cqw;
  aspect-ratio: 9 / 18.6;
  container-type: inline-size;
  padding: 0.7cqw;
  border-radius: 3.4cqw;
  background: linear-gradient(150deg, #34373D 0%, #0B0C0E 38%, #1C1E22 100%);
  box-shadow:
    0 0 0 1px #000,
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 44px 80px rgba(0, 0, 0, 0.7);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 12cqw;
  background: var(--carbon-1);
}

.phone-island {
  position: absolute;
  top: 3cqw;
  left: 50%;
  z-index: 2;
  width: 30cqw;
  height: 8.4cqw;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 3.4cqw;
  padding: 15cqw 6cqw 4cqw;
  color: #FFFFFF;
}

.phone-appbar img { height: 13cqw; }

.phone-appbar b {
  font-family: var(--font-display);
  font-size: 6cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.phone-appbar .ico { margin-left: auto; font-size: 8cqw; }

.phone-hero {
  height: 58cqw;
  background: url('assets/nano-mockup.jpg') 84% 59% / 300% auto no-repeat;
}

.phone-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3.6cqw;
  padding: 5.5cqw 6cqw 6cqw;
}

.phone-body small {
  font-family: var(--font-mono);
  font-size: 4.6cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E6E9ED;
}

.phone-body b {
  font-family: var(--font-display);
  font-size: 7.8cqw;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.phone-body p {
  font-size: 5cqw;
  line-height: 1.4;
  color: #D3D8DF;
}

.phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  height: 15cqw;
  border-radius: 4.5cqw;
  background: var(--crc-red-deep);
  font-size: 5.4cqw;
  font-weight: 700;
  color: #FFFFFF;
}

.phone-cta.ghost {
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32) inset;
}

.phone-addr {
  display: flex;
  align-items: center;
  gap: 2cqw;
  margin-top: auto;
  font-size: 4.8cqw;
  font-weight: 500;
  color: #C9CED6;
}

.visual-caption {
  position: absolute;
  left: 6cqw;
  bottom: 4.5cqh;
  z-index: 5;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(10, 11, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E6E9ED;
}

/* ------------------------------------------------------------------ slide 2: foundation (paper) */
.narrative-col { display: flex; flex-direction: column; justify-content: center; }

.narrative-pillars {
  display: grid;
  gap: clamp(10px, 1.4vh, 14px);
  margin-top: clamp(16px, 2.8vh, 30px);
}

.pillar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: clamp(12px, 1.8vh, 18px) 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(13, 15, 18, 0.05);
}

.pillar-card h3 {
  font-size: clamp(17px, 1.25vw, 20.5px);
  line-height: 1.2;
}

.pillar-card p {
  margin-top: 4px;
  font-size: clamp(14.5px, min(1vw, 1.8vh), 16.5px);
  line-height: 1.5;
  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(13, 15, 18, 0.1);
  box-shadow: 0 34px 70px rgba(13, 15, 18, 0.16);
}

.profile-band {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.profile-band span + span { color: #E6E9ED; letter-spacing: 0.08em; text-transform: none; font-weight: 600; }

.profile-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 2.6vw, 44px);
  align-items: center;
  padding: clamp(22px, 3.6vh, 42px) clamp(22px, 2.6vw, 44px);
}

.profile-emblem img { height: clamp(190px, min(35vh, 17vw), 340px); }

.profile-name b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.75vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper-ink);
}

.profile-name span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #3D434C;
}

.profile-facts dl {
  display: grid;
  gap: clamp(10px, 1.6vh, 16px);
  margin-top: clamp(14px, 2.4vh, 24px);
}

.profile-facts dl > div {
  padding-top: clamp(10px, 1.4vh, 14px);
  border-top: 1px solid rgba(13, 15, 18, 0.1);
}

.profile-facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crc-red-ink);
}

.profile-facts dd {
  margin-top: 5px;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 600;
  line-height: 1.42;
  color: var(--paper-ink);
}

/* ------------------------------------------------------------------ slide 3: journey */
.journey-head, .proof-head, .exec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
}

.journey-head .lead, .proof-head .lead, .exec-head .lead { margin-top: 0; }

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
  align-items: stretch;
}

.diagnostic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.9vh, 20px);
  overflow: hidden;
  padding: clamp(18px, 3.3vh, 36px) clamp(18px, 1.8vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
}

.diagnostic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crc-red), rgba(255, 43, 43, 0) 75%);
}

.diag-head { display: flex; align-items: center; gap: 12px; }

.diag-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.diag-ico {
  margin-left: auto;
  font-size: clamp(24px, 3.2vh, 32px);
  color: var(--em);
  stroke-width: 1.6;
}

.diagnostic-card h3 {
  font-size: clamp(20px, min(1.6vw, 2.8vh), 28px);
  line-height: 1.2;
}

.diagnostic-card p {
  font-size: clamp(16px, min(1.16vw, 2.05vh), 19.5px);
  line-height: 1.52;
  color: #D3D8DF;
}

.diag-meta-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: auto;
  padding: clamp(10px, 1.4vh, 14px) 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.diag-meta-pill span { color: var(--ink-3); white-space: nowrap; }
.diag-meta-pill b { color: #FFFFFF; font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------------------------ slide 4: website */
.slide-body.website-grid { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); }

.concept-notes {
  display: grid;
  gap: clamp(10px, 1.4vh, 14px);
  margin-top: clamp(16px, 2.8vh, 30px);
}

.concept-note-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: clamp(12px, 1.7vh, 16px) 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.concept-note-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16.5px, 1.18vw, 19px);
  font-weight: 700;
  line-height: 1.22;
  color: #FFFFFF;
}

.concept-note-item p {
  margin-top: 4px;
  font-size: clamp(14.5px, min(1vw, 1.8vh), 16.5px);
  line-height: 1.5;
  color: var(--ink-3);
}

.mockup-col { display: flex; flex-direction: column; justify-content: center; }

.browser-window {
  overflow: hidden;
  border-radius: 16px;
  background: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.55), 0 0 90px rgba(255, 43, 43, 0.08);
}

.mock-hero-stage {
  position: relative;
  width: 100%;
  height: clamp(300px, 42vh, 440px);
  overflow: hidden;
  background: #0F1114;
}

.mockup-caption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ slide 5: proof */
.comparison {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
}

.case-frame {
  display: flex;
  flex-direction: column;
  width: calc(clamp(280px, 38vh, 400px) * 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.14);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
}

.case-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: #1A1D22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-url {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: #E6E9ED;
}

.case-tag {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.case-tag.before { background: #2E3239; }
.case-tag.after { background: var(--crc-red-deep); }

.case-viewport {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vh, 400px);
  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;
  opacity: 1;
  filter: none;
}

.case-frame figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1A1D22;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(14px, 0.98vw, 15.5px);
  font-weight: 500;
  color: #D3D8DF;
}

.case-frame figcaption span {
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ------------------------------------------------------------------ slide 6: roadmap (paper) */
.exec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.exec-head h2 { font-size: clamp(26px, min(2.45vw, 4.3vh), 42px); }

.exec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
  align-items: stretch;
}

.exec-phase-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 14px);
  padding: clamp(18px, 2.5vh, 26px) clamp(18px, 1.6vw, 26px);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid rgba(13, 15, 18, 0.1);
  box-shadow: 0 18px 40px rgba(13, 15, 18, 0.08);
}

.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.exec-duration-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.exec-phase-card h3 {
  min-height: 2.4em;
  font-size: clamp(19px, min(1.45vw, 2.5vh), 23px);
  line-height: 1.2;
  color: var(--paper-ink);
}

.exec-phase-card > p {
  font-size: clamp(15px, min(1.05vw, 1.85vh), 17px);
  line-height: 1.5;
  color: #3D434C;
}

.exec-deliverables {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: clamp(10px, 1.4vh, 14px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(13, 15, 18, 0.1);
}

.exec-deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: clamp(14px, min(0.98vw, 1.75vh), 15.5px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper-ink);
}

.exec-deliverables .ico {
  margin-top: 0.12em;
  font-size: 1.1em;
  stroke-width: 2.6;
  color: #C40000;
}

.exec-phase-card.featured {
  background: var(--paper-ink);
  border-color: var(--paper-ink);
  box-shadow: 0 28px 60px rgba(13, 15, 18, 0.3);
}

.exec-phase-card.featured h3,
.exec-phase-card.featured .exec-deliverables li { color: #FFFFFF; }
.exec-phase-card.featured > p { color: #D3D8DF; }
.exec-phase-card.featured .exec-deliverables { border-top-color: rgba(255, 255, 255, 0.14); }
.exec-phase-card.featured .exec-deliverables .ico { color: #FF4D4D; }
.exec-phase-card.featured .exec-duration-pill { background: #FFFFFF; color: var(--paper-ink); }

.exec-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 15, 18, 0.14);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3D434C;
}

.exec-footer-bar span { padding: 13px 18px; text-align: center; }
.exec-footer-bar span + span { border-left: 1px solid rgba(13, 15, 18, 0.12); }
.exec-footer-bar b { margin-left: 6px; font-weight: 800; color: var(--paper-ink); }

/* ------------------------------------------------------------------ slide 7: close */
.slide-body.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 3.4vw, 60px);
  align-items: center;
}

.partner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 22px;
  align-items: center;
  margin-top: clamp(16px, 2.6vh, 28px);
  padding: clamp(16px, 2.3vh, 24px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

/* Portrait: edge-to-edge cover crop, no white framing. */
.partner-avatar-wrap {
  width: clamp(112px, 15vh, 140px);
  height: clamp(112px, 15vh, 140px);
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 0 2px var(--crc-red), 0 16px 32px rgba(0, 0, 0, 0.5);
}

.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: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.partner-name-heading {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  color: #FFFFFF;
}

.partner-role-sub {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
}

.partner-quote {
  margin-top: 10px;
  font-size: clamp(15px, min(1.05vw, 1.85vh), 17px);
  line-height: 1.5;
  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: 8px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.partner-pill .ico { color: var(--em); }

.concierge-col { display: flex; flex-direction: column; justify-content: center; }

.request {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: clamp(18px, 2.8vh, 30px) clamp(18px, 1.8vw, 30px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
}

.request::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crc-red), rgba(255, 43, 43, 0.2));
}

.request .kicker { margin-bottom: 0; }

.request h3 {
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.05;
  color: #FFFFFF;
}

.request > p {
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.5;
  color: #D3D8DF;
}

.screen-request { display: flex; flex-direction: column; gap: 12px; }

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.suggestions button {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.suggestions button:hover,
.suggestions button:focus-visible {
  background: var(--crc-red-deep);
  border-color: var(--crc-red-deep);
}

.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picker-col { display: flex; flex-direction: column; gap: 6px; }

.request label {
  font-family: var(--font-mono);
  font-size: 12px;
  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: 46px;
  margin: 0;
  padding: 6px 48px 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--carbon-1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 14px;
  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: 6px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  transform: translateY(-50%);
  cursor: pointer;
}

.date-control .date-icon { width: 19px; height: 19px; }

#picker-help {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--crc-red-deep);
  box-shadow: 0 16px 32px rgba(168, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFFFFF;
  transition: background 0.15s ease, transform 0.15s ease;
}

a#contact:hover { background: #8C0000; transform: translateY(-1px); }

.request small {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  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(15, 17, 20, 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;
}

.controls button:hover { background: rgba(255, 255, 255, 0.1); }

.controls button:focus-visible,
a:focus-visible,
input:focus-visible,
.request button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

#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 999px 999px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: #E6E9ED;
}

/* ------------------------------------------------------------------ desktop frame */
@media screen and (min-width: 701px) {
  html, body { height: 100%; overflow: hidden; }

  body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, #1A1E25 0%, #07080A 100%);
  }

  #deck, .deck {
    width: min(96vw, 1640px);
    height: min(91vh, 920px);
    margin: auto;
    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; }
}

/* ------------------------------------------------------------------ phones */
@media screen and (max-width: 700px) {
  html, body { overflow-x: hidden; }

  .slide {
    height: auto;
    min-height: 100svh;
    padding: 18px 16px 92px;
  }

  .slide-head { flex-wrap: wrap; gap: 10px; }
  .header-meta { font-size: 11.5px; }
  .slide-foot { flex-wrap: wrap; font-size: 11px; }

  .slide.cover.active { display: flex; flex-direction: column; }
  .hero-copy { padding: 20px 16px 24px; }
  .cover-lockup { gap: 16px; }
  .cover-badge { --badge: 112px; }
  .cover-foot { position: static; margin-top: 22px; }

  .hero-visual {
    container-type: normal;
    padding: 22px 14px 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stage-browser { position: relative; top: auto; left: auto; width: 100%; }
  .stage-phone, .stage-floor, .visual-caption { display: none; }

  .slide-body.two,
  .slide-body.website-grid,
  .slide-body.close-grid,
  .journey-head, .proof-head, .exec-head,
  .diagnostic-grid, .exec-cards-grid {
    grid-template-columns: 1fr;
  }

  .profile-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .profile-facts { width: 100%; text-align: left; }
  .profile-emblem img { height: 190px; }
  .profile-band { padding: 12px 16px; }

  .browser-bar { grid-template-columns: auto 1fr; }
  .browser-url { min-width: 0; justify-self: stretch; }
  .browser-tag { display: none; }
  .mock-hero-stage { height: auto; aspect-ratio: 1258 / 636; }

  .comparison { flex-direction: column; }
  .case-frame { width: 100%; max-width: none; }
  .case-viewport { height: auto; }

  .exec-footer-bar { grid-template-columns: 1fr; }
  .exec-footer-bar span + span { border-left: 0; border-top: 1px solid rgba(13, 15, 18, 0.12); }

  .partner-card { grid-template-columns: 1fr; }
  .partner-avatar-wrap { width: 120px; height: 120px; }
  .exec-phase-card h3 { min-height: 0; }
  .picker-grid, .suggestions { grid-template-columns: 1fr; }

  .controls { bottom: 10px; }
}

/* ------------------------------------------------------------------ print */
@media print {
  @page { size: letter landscape; margin: 0.25in; }

  html, body { background: #FFFFFF; overflow: visible; }

  #deck, .deck { width: 100%; height: auto; overflow: visible; border: 0; box-shadow: none; }

  .slide, .slide.active, .slide.cover, .slide.cover.active {
    display: flex !important;
    flex-direction: column;
    height: 7.9in;
    min-height: 0;
    break-after: page;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .slide.cover, .slide.cover.active { display: grid !important; }
  .slide:last-child { break-after: auto; }

  .controls, canvas, .screen-request, .stage-scan { display: none !important; }
  .print-contact { display: block; font-family: var(--font-mono); font-size: 11pt; font-weight: 700; color: #FFFFFF; }
}

/* === 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;
}
