/* Bob's Marine × Brandcore — presentation stylesheet (completion pass).
   Surfaces: Marine Abyss #07111F / Hull Navy #0D1D33 on dark, Deck Paper #F7F5EE on light.
   Accents come from the real mark: Logo Blue #000099 / Royal #00129A, Ice Sky #7DD3FC, one small Brass #FBBF24.
   Type is fluid (clamp) and sized for a room: ~19px body at 1600 wide, 16px floor at 1366. */

@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;

  --navy-0: #040B14;
  --navy: #07111F;
  --navy-2: #0D1D33;
  --navy-3: #132844;
  --logo-blue: #000099;
  --royal: #00129A;
  --sky: #7DD3FC;
  --sky-d: #38BDF8;
  --brass: #FBBF24;
  --paper: #F7F5EE;
  --paper-2: #ECE8DC;
  --alert: #F8A4A4;

  --gut: clamp(22px, 3.2vw, 64px);
  --fs-body: clamp(16px, 1.18vw, 24px);
  --fs-mid: clamp(16px, 1vw, 20px);
  --fs-small: clamp(14px, .92vw, 17px);
  --fs-label: clamp(13px, .86vw, 15px);
  --fs-h3: clamp(19px, 1.55vw, 31px);
  --fs-h2: clamp(30px, min(3vw, 5.5vh), 62px);
  --fs-h1: clamp(36px, min(4.1vw, 7.4vh), 84px);
  --head-h: clamp(56px, 8vh, 78px);
  --foot-h: clamp(40px, 5.4vh, 54px);
}

.carbon {
  --bg: var(--navy);
  --surface: var(--navy-2);
  --line: rgba(255, 255, 255, .14);
  --ink: #FFFFFF;
  --ink-2: #E2ECF5;
  --ink-3: #C4D4E4;
  --em: var(--sky);
  --rule: var(--brass);
  --kick: var(--brass);
}
.paper {
  --bg: var(--paper);
  --surface: #FFFFFF;
  --line: rgba(7, 17, 31, .14);
  --ink: #07111F;
  --ink-2: #1E293B;
  --ink-3: #334155;
  --em: var(--royal);
  --rule: #B45309;
  --kick: var(--royal);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; background: var(--navy-0); color: #fff; font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, a, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.paper :focus-visible { outline-color: var(--royal); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.14em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ deck + slides */
.deck { position: fixed; inset: 0; overflow: hidden; background: var(--navy-0); }
.deck::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: var(--charge, 0); background: radial-gradient(circle at 62% 45%, transparent 30%, rgba(2, 10, 20, .8) 100%); }
#scene { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; }
#scene[hidden] { display: none; }
/* Keep water glints off the headline while the cover is showing; the mask lifts the moment the slide changes so debris can cross. */
html[data-slide="1"] #scene { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 50%); mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 50%); }

.slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0 var(--gut); background: var(--bg); color: var(--ink); overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; }
.slide.active { visibility: visible; opacity: 1; pointer-events: auto; z-index: 2; }
.slide.is-leaving { visibility: visible; opacity: 1; z-index: 3; pointer-events: none; animation: slide-leave .56s cubic-bezier(.55, 0, .2, 1) both; }
.slide.is-entering { animation: slide-enter .6s cubic-bezier(.16, 1, .3, 1) both; }
.slide.is-boom { animation: boom-out .5s cubic-bezier(.7, 0, 1, 1) both; }
.slide.is-boom-in { animation: boom-in 1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes slide-leave { to { transform: translateX(calc(var(--dir, 1) * -12%)) scale(.96); opacity: 0; } }
@keyframes slide-enter { from { transform: translateX(calc(var(--dir, 1) * 14%)) scale(1.03); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes boom-out { to { transform: scale(1.14) translateX(-6%); opacity: 0; } }
@keyframes boom-in { 0% { transform: scale(.9); opacity: 0; } 35% { opacity: 1; } 100% { transform: none; opacity: 1; } }

.slide-head { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; height: var(--head-h); border-bottom: 1px solid var(--line); }
.lockup { display: inline-flex; align-items: center; gap: clamp(10px, 1vw, 16px); justify-self: start; min-width: 0; }
.bc-logo { display: block; height: clamp(20px, 2.8vh, 30px); width: auto; }
.lockup .x, .collab-x { font-family: var(--font-display); font-size: 1.25em; font-weight: 600; color: var(--brass); }
.paper .lockup .x { color: #B45309; }
.client-pill { display: inline-flex; height: clamp(34px, 4.6vh, 46px); aspect-ratio: 930 / 297; overflow: hidden; border-radius: 8px; background: var(--logo-blue); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.client-pill img { display: block; width: 100%; height: 100%; object-fit: contain; }
.head-label, .head-count { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.head-label { justify-self: center; text-align: center; }
.head-count { justify-self: end; }
.slide-foot { flex: none; display: flex; align-items: center; min-height: var(--foot-h); padding-right: 320px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }

.slide-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: clamp(12px, 2vh, 26px); padding: clamp(10px, 2vh, 28px) 0; justify-content: center; justify-content: safe center; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
.slide-body.two { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 3.4vw, 64px); align-items: center; align-content: center; align-content: safe center; }

/* ------------------------------------------------------------ type */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(6px, 1vh, 12px); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--kick, var(--brass)); }
.kicker::before, .eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--rule, var(--brass)); flex: none; }
h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; }
h1 em, h2 em { display: block; font-style: normal; color: var(--em); }
h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); }
.lead { max-width: 56ch; margin-top: clamp(8px, 1.4vh, 16px); font-size: var(--fs-body); line-height: 1.45; color: var(--ink-2); }
.fine { max-width: 60ch; margin-top: clamp(10px, 1.6vh, 18px); font-size: var(--fs-small); line-height: 1.45; color: var(--ink-3); }
.num { display: inline-grid; place-items: center; flex: none; width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); border-radius: 10px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; background: var(--navy-2); color: var(--brass); border: 1px solid rgba(251, 191, 36, .5); }
.paper .num { background: var(--logo-blue); color: #fff; border-color: var(--logo-blue); }

/* ------------------------------------------------------------ cover */
.cover { padding: 0; background: radial-gradient(120% 90% at 66% 40%, #0F2A4D 0%, #0A1B33 42%, #06101F 100%); }
.cover-grid { position: absolute; inset: 0 0 clamp(56px, 8vh, 84px) 0; display: grid; grid-template-columns: 47fr 53fr; }
.cover-copy { position: relative; z-index: 2; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1.4vh, 16px); padding: 0 clamp(16px, 2vw, 40px) 0 var(--gut); }
.cover-collab { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); }
.cover-collab .bc-logo { height: clamp(18px, 2.4vh, 26px); }
.collab-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E2ECF5; }
.cover .eyebrow { margin: 0; color: var(--sky); }
.cover .eyebrow::before { background: var(--sky); }
.cover h1 { max-width: 15ch; }
.cover .lead { margin-top: 0; max-width: 34ch; color: #E2ECF5; }
.fact-pills { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: clamp(2px, 1vh, 12px); }
.fact-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); font-size: var(--fs-small); font-weight: 600; color: #fff; }
.fact-pills .ico { color: var(--sky); }
.cover-stage { position: relative; display: grid; place-items: center; }
.stage-cue { position: absolute; right: var(--gut); bottom: 2px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C4D4E4; z-index: 7; }
.stage-cue .ico { color: var(--sky); }
.cover-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 0; z-index: 7; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: clamp(52px, 7.4vh, 76px); padding-right: 320px; border-top: 1px solid rgba(255, 255, 255, .16); }
.prepared-by { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 500; color: #E2ECF5; }
.prepared-by b { color: #fff; }
.prepared-by img { width: clamp(34px, 4.4vh, 44px); height: clamp(34px, 4.4vh, 44px); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--sky); }
.page-count { display: none; }

/* static fallback plate (no WebGL, phones, forced) */
.cover-fallback { display: none; position: relative; width: min(88%, 600px); aspect-ratio: 1 / .92; place-items: center; }
.helm { position: absolute; left: 50%; top: 50%; width: 88%; transform: translate(-50%, -50%); color: #C6D0DC; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
.nameplate { position: relative; width: 84%; padding: 3.4%; border-radius: 14px; background: linear-gradient(180deg, #E8EEF5, #A9B5C4 50%, #D3DCE7); box-shadow: 0 26px 54px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .55); }
.nameplate img { display: block; width: 100%; height: auto; border-radius: 5px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); }
.rv { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8895A5 70%); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.rv1 { left: 3%; top: 6%; } .rv2 { right: 3%; top: 6%; } .rv3 { left: 3%; bottom: 6%; } .rv4 { right: 3%; bottom: 6%; }
html[data-cover="static"] .cover-fallback { display: grid; }
html[data-cover="static"] .stage-cue { display: none; }

/* ------------------------------------------------------------ slide 2 foundation */
.pillars { display: grid; gap: clamp(8px, 1.3vh, 16px); margin-top: clamp(12px, 2vh, 24px); }
.pillars li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: clamp(10px, 1.4vh, 16px) clamp(14px, 1.2vw, 20px); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--logo-blue); border-radius: 12px; box-shadow: 0 8px 22px rgba(7, 17, 31, .07); }
.pillars h3 { font-size: clamp(17px, 1.3vw, 26px); }
.pillars p { margin-top: 4px; font-size: var(--fs-mid); line-height: 1.4; color: var(--ink-3); }
.profile { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 26px 54px rgba(7, 17, 31, .16); }
.profile-band { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 18px; background: var(--navy); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.profile-band span + span { color: var(--brass); }
.profile-photo { display: block; width: 100%; aspect-ratio: 750 / 350; object-fit: cover; }
.profile-main { padding: clamp(12px, 2vh, 22px) clamp(16px, 1.6vw, 26px); }
.profile-main > b { display: block; font-family: var(--font-display); font-size: clamp(22px, 1.8vw, 36px); line-height: 1.1; color: var(--ink); }
.profile-sub { display: block; margin-top: 4px; font-size: var(--fs-mid); font-weight: 600; color: var(--royal); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vh, 18px) 20px; margin-top: clamp(10px, 1.6vh, 18px); padding-top: clamp(10px, 1.6vh, 18px); border-top: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); }
.facts dd { margin-top: 3px; font-size: var(--fs-mid); line-height: 1.35; color: var(--ink); }

/* ------------------------------------------------------------ slide 3 audit */
.audit-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.audit-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #0A1930; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14); }
.shot-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 9px 14px; background: var(--navy-2); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.shot-url { display: inline-flex; align-items: center; gap: 8px; padding: 4px 16px; border-radius: 8px; background: var(--navy); border: 1px solid rgba(255, 255, 255, .12); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; color: #E2ECF5; }
.shot-tag { justify-self: end; padding: 4px 10px; border-radius: 6px; background: var(--brass); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #07111F; }
.shot-frame { position: relative; aspect-ratio: 1440 / 900; background: #fff; }
.shot-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pin, .pin-n { display: inline-grid; place-items: center; flex: none; width: clamp(26px, 2.1vw, 38px); height: clamp(26px, 2.1vw, 38px); border-radius: 50%; background: var(--brass); color: #07111F; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; }
.pin { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(7, 17, 31, .9), 0 8px 18px rgba(0, 0, 0, .55); }
.pin-n.dash { background: transparent; color: var(--brass); box-shadow: 0 0 0 2px var(--brass) inset; }
.audit-shot figcaption { padding: 9px 14px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .06em; color: #C4D4E4; background: var(--navy-2); }
.findings { display: grid; gap: clamp(8px, 1.5vh, 18px); margin-top: clamp(10px, 1.8vh, 22px); }
.findings li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding-bottom: clamp(8px, 1.5vh, 16px); border-bottom: 1px solid var(--line); }
.findings li:last-child { border-bottom: 0; }
.findings h3 { font-size: clamp(17px, 1.3vw, 26px); }
.findings p { margin-top: 3px; font-size: var(--fs-mid); line-height: 1.35; color: var(--ink-2); }
.findings small { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }

/* ------------------------------------------------------------ slide 4 path */
.path-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(18px, 3vw, 56px); align-items: end; }
.path-head .lead { margin-top: 0; }
.path-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px); }
.path-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(7, 17, 31, .12); }
.path-card img { display: block; width: 100%; aspect-ratio: 750 / 350; object-fit: cover; }
.path-text { padding: clamp(12px, 1.8vh, 20px) clamp(14px, 1.3vw, 22px) 0; }
.step { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.path-text p { margin-top: 6px; font-size: var(--fs-mid); line-height: 1.4; color: var(--ink-3); }
.build { margin: auto clamp(14px, 1.3vw, 22px) clamp(12px, 1.8vh, 20px); margin-top: clamp(10px, 1.6vh, 18px); padding: 10px 14px; border-radius: 10px; background: var(--logo-blue); color: #fff; }
.build small { display: block; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #BFD9FF; }
.build b { display: block; margin-top: 2px; font-size: var(--fs-mid); line-height: 1.3; font-weight: 700; }

/* ------------------------------------------------------------ slide 5 flagship + live mini-site */
.flag-grid { display: grid; grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 2.6vw, 48px); align-items: stretch; align-content: stretch; overflow: hidden; }
.flag-copy { align-self: center; overflow-y: auto; min-height: 0; max-height: 100%; scrollbar-width: thin; }
.flag-points { display: grid; gap: 10px; margin-top: clamp(12px, 2vh, 22px); }
.flag-points li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-mid); line-height: 1.35; color: var(--ink-2); }
.flag-points .ico { margin-top: .22em; color: var(--sky); font-size: 1.15em; }
.flag-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 17vw, 300px); grid-template-rows: minmax(0, 1fr); gap: clamp(12px, 1.4vw, 26px); align-items: stretch; min-height: 0; padding: clamp(6px, 1vh, 14px) 0; background: radial-gradient(70% 60% at 40% 50%, rgba(56, 189, 248, .16), transparent 70%); }
.browser { align-self: stretch; margin: 0; display: flex; flex-direction: column; min-height: 0; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; color: #07111F; font-size: clamp(13px, .95vw, 17px); box-shadow: 0 44px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .16), 0 0 90px rgba(56, 189, 248, .18); }
.browser .shot-bar { flex: none; }
.site-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; background: var(--paper); scrollbar-width: thin; }
.site-nav { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 1.2em; padding: .7em 1.2em; background: rgba(247, 245, 238, .97); border-bottom: 1px solid rgba(7, 17, 31, .14); }
.site-logo { display: inline-flex; height: 2.9em; aspect-ratio: 930 / 297; flex: none; overflow: hidden; border-radius: 5px; background: var(--logo-blue); }
.site-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tabs { display: flex; gap: .2em; flex: 1; min-width: 0; }
.tabs button { padding: .55em .9em; border: 0; border-radius: .5em; background: transparent; font-weight: 600; font-size: 1em; color: #1E293B; }
.tabs button:hover { background: rgba(0, 18, 154, .08); }
.tabs button[aria-selected="true"] { background: var(--logo-blue); color: #fff; }
.site-call { display: inline-flex; align-items: center; gap: .45em; flex: none; font-weight: 700; color: var(--royal); white-space: nowrap; }
.site-pane { padding: 1.2em 1.2em 1.6em; color: #07111F; }
.site-pane[hidden] { display: none; }
.site-pane h3 { font-size: 2.1em; line-height: 1.04; letter-spacing: -.03em; color: #07111F; }
.site-pane h4 { font-family: var(--font-display); font-size: 1.35em; color: #07111F; }
.s-hero-copy p { margin-top: .5em; font-size: 1.2em; color: #334155; }
.s-actions { display: flex; flex-wrap: wrap; gap: .7em; margin-top: 1em; }
.s-btn { padding: .65em 1.1em; border-radius: .5em; border: 2px solid var(--logo-blue); background: #fff; color: var(--logo-blue); font-weight: 700; font-size: 1em; }
.s-btn.primary { background: var(--logo-blue); color: #fff; }
.s-btn:hover { filter: brightness(1.08); }
.s-hero-photo { margin-top: 1.1em; border-radius: .6em; overflow: hidden; }
.s-hero-photo img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.s-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; margin-top: 1.3em; }
.s-cat img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5em; margin-bottom: .6em; background: #E6EAF2; }
.s-cat p { margin: .3em 0 .5em; line-height: 1.35; color: #334155; }
.s-link { display: inline-flex; align-items: center; gap: .3em; padding: .2em 0; border: 0; background: none; font-weight: 700; color: var(--royal); }
.s-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2em; align-items: center; margin-top: 1.4em; padding: 1em; border-radius: .7em; background: #E6EEFA; }
.s-visit img { display: block; width: 100%; aspect-ratio: 750 / 350; object-fit: cover; border-radius: .5em; }
.s-visit p { margin-top: .3em; line-height: 1.35; color: #1E293B; }
.s-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; flex-wrap: wrap; }
.chips { display: inline-flex; gap: .5em; }
.chip { padding: .4em 1em; border-radius: 999px; border: 2px solid var(--logo-blue); background: #fff; color: var(--logo-blue); font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--logo-blue); color: #fff; }
.s-note { margin: .8em 0; padding: .7em 1em; border-radius: .5em; background: #E6EEFA; line-height: 1.35; color: #1E293B; }
.s-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
.s-card { display: flex; flex-direction: column; gap: .35em; padding: .7em; border-radius: .7em; background: #fff; border: 2px solid transparent; box-shadow: 0 6px 18px rgba(7, 17, 31, .1); }
.s-card[hidden] { display: none; }
.s-card.selected { border-color: var(--logo-blue); }
.s-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .45em; }
.s-card b { font-size: 1.15em; }
.s-card span { color: #475569; }
.s-card .s-btn { margin-top: auto; align-self: flex-start; }
.s-motors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.s-motor { display: flex; flex-direction: column; align-items: center; gap: .35em; padding: .8em; border-radius: .7em; border: 2px solid transparent; background: #fff; box-shadow: 0 6px 18px rgba(7, 17, 31, .1); text-align: center; color: #07111F; }
.s-motor img { display: block; width: auto; max-width: 100%; height: 14em; object-fit: contain; }
.s-motor b { font-size: 1.15em; }
.s-motor span { color: #475569; }
.s-motor[aria-pressed="true"] { border-color: var(--logo-blue); background: #EEF3FF; }
.s-service { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.2em; align-items: start; margin-top: .9em; }
.s-service form { display: grid; gap: .4em; }
.s-service label { margin-top: .5em; font-weight: 700; color: #1E293B; }
.s-service select, .s-service input { padding: .6em .8em; border-radius: .5em; border: 2px solid #94A3B8; background: #fff; color: #07111F; }
.s-service .s-btn { justify-self: start; margin-top: .8em; }
.s-service-photos { display: grid; gap: .8em; }
.s-service-photos img { display: block; width: 100%; aspect-ratio: 750 / 350; object-fit: cover; border-radius: .5em; }
.s-service-photos figcaption { margin-top: .3em; font-weight: 600; color: #334155; }

.phone { margin: 0; container-type: inline-size; align-self: end; justify-self: center; width: min(100%, calc((100vh - var(--head-h) - var(--foot-h) - 70px) * .489)); aspect-ratio: 9 / 18.4; padding: 3.4cqw; border-radius: 13cqw; background: linear-gradient(150deg, #27456E 0%, #07111F 40%, #0D1D33 100%); box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(255, 255, 255, .22) inset, 0 44px 80px rgba(0, 0, 0, .75); }
.ph-screen { height: 100%; display: flex; flex-direction: column; gap: 3.2cqw; overflow: hidden; padding: 4cqw 4cqw 4.4cqw; border-radius: 10cqw; background: var(--paper); color: #07111F; font-size: 5.8cqw; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 3cqw; }
.ph-logo { display: inline-flex; width: 34cqw; aspect-ratio: 930 / 297; overflow: hidden; border-radius: 1.6cqw; background: var(--logo-blue); }
.ph-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ph-bar .ico { font-size: 7cqw; color: #07111F; }
.ph-hero { position: relative; border-radius: 3cqw; overflow: hidden; }
.ph-hero img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.ph-hero h4 { position: absolute; left: 0; right: 0; bottom: 0; padding: 8cqw 3.4cqw 2.6cqw; font-family: var(--font-display); font-size: 1.28em; line-height: 1.08; color: #fff; background: linear-gradient(0deg, rgba(7, 17, 31, .88), transparent); }
.ph-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.ph-btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.6cqw; padding: 2.8cqw 1cqw; border-radius: 2.6cqw; border: .6cqw solid var(--logo-blue); background: #fff; font-weight: 800; color: var(--logo-blue); }
.ph-btn.primary { background: var(--logo-blue); color: #fff; }
.ph-list { display: grid; gap: 1.6cqw; }
.ph-list li { display: flex; align-items: center; justify-content: space-between; padding: 2.6cqw 3.2cqw; border-radius: 2.6cqw; background: #fff; font-weight: 700; box-shadow: 0 .6cqw 2cqw rgba(7, 17, 31, .1); }
.ph-foot { margin-top: auto; font-size: .82em; line-height: 1.3; color: #334155; }

/* ------------------------------------------------------------ slide 6 proof */
.proof-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.proof-notes { display: grid; gap: 10px; margin-top: clamp(14px, 2.2vh, 26px); }
.proof-notes li { display: grid; grid-template-columns: 4.6em 1fr; gap: 12px; align-items: baseline; font-size: var(--fs-mid); line-height: 1.35; color: var(--ink-2); }
.proof-notes b { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.compare-wrap { margin: 0; justify-self: center; width: min(100%, calc((100vh - var(--head-h) - var(--foot-h) - 150px) * 1.436)); }
.compare { position: relative; aspect-ratio: 1920 / 1337; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px rgba(7, 17, 31, .3), 0 0 0 1px var(--line); touch-action: pan-y; cursor: ew-resize; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.c-before { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.c-tag { position: absolute; top: 12px; padding: 6px 12px; border-radius: 8px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(7, 17, 31, .9); color: #fff; }
.c-tag.before { left: 12px; }
.c-tag.after { right: 12px; background: var(--brass); color: #07111F; }
.c-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(7, 17, 31, .4), 0 0 18px rgba(0, 0, 0, .4); display: grid; place-items: center; }
.c-handle .ico { position: absolute; width: 1.1em; height: 1.1em; color: #07111F; }
.c-handle::before { content: ''; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.c-handle .ico:nth-child(1) { transform: translateX(-12px); }
.c-handle .ico:nth-child(2) { transform: translateX(12px); }
.c-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:focus-within { outline: 3px solid var(--royal); outline-offset: 3px; }
.compare-wrap figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .06em; color: var(--ink-3); }

/* ------------------------------------------------------------ slide 7 roadmap */
.road-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 56px); align-items: end; }
.road-head .lead { margin-top: 0; }
.road-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 26px); }
.road-card { display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 14px); padding: clamp(14px, 2vh, 24px) clamp(14px, 1.4vw, 24px); border-radius: 16px; background: var(--navy-2); border: 1px solid var(--line); }
.road-card.featured { background: #0F2A4D; border-color: rgba(125, 211, 252, .55); box-shadow: 0 0 0 1px rgba(125, 211, 252, .25) inset, 0 20px 50px rgba(0, 0, 0, .4); }
.road-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill { padding: 6px 12px; border-radius: 999px; background: rgba(125, 211, 252, .14); border: 1px solid rgba(125, 211, 252, .5); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.road-card ul { display: grid; gap: 8px; }
.road-card li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-mid); line-height: 1.35; color: var(--ink-2); }
.road-card li .ico { margin-top: .2em; color: var(--sky); font-size: 1.1em; }
.road-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.5vw, 26px); }
.road-foot p { padding: clamp(10px, 1.6vh, 16px) clamp(14px, 1.4vw, 22px); border-radius: 12px; border: 1px solid var(--line); font-size: var(--fs-mid); line-height: 1.4; color: var(--ink-2); }
.road-foot b { display: block; margin-bottom: 3px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }

/* ------------------------------------------------------------ slide 8 close */
.close-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.partner { display: grid; grid-template-columns: clamp(130px, 12vw, 230px) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 28px); align-items: center; margin-top: clamp(14px, 2.4vh, 28px); }
.portrait { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(7, 17, 31, .25), 0 0 0 3px var(--logo-blue); }
.partner-name { display: block; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 44px); line-height: 1.05; color: var(--ink); }
.partner-role { display: block; margin-top: 4px; font-size: var(--fs-mid); font-weight: 700; color: var(--royal); }
.partner-msg { margin-top: 10px; font-size: var(--fs-mid); line-height: 1.45; color: var(--ink-2); }
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(12px, 2vh, 22px); }
.c-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: var(--logo-blue); color: #fff; font-size: var(--fs-mid); font-weight: 700; text-decoration: none; }
.c-pill:hover { filter: brightness(1.15); }
.signoff { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: clamp(10px, 1.8vh, 20px); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.signoff .bc-logo { height: clamp(18px, 2.6vh, 28px); }
.scheduler { padding: clamp(18px, 3vh, 36px) clamp(18px, 2vw, 36px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 26px 60px rgba(7, 17, 31, .16); }
.scheduler h3 { font-size: clamp(26px, 2.4vw, 46px); }
.sched-lead { margin-top: 8px; font-size: var(--fs-mid); line-height: 1.4; color: var(--ink-2); }
.suggestions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(12px, 2vh, 20px); }
.suggestions button { padding: 12px 18px; border-radius: 10px; border: 2px solid var(--logo-blue); background: #fff; color: var(--logo-blue); font-size: var(--fs-mid); font-weight: 800; }
.suggestions button:hover { background: #EEF3FF; }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(12px, 2vh, 20px); }
.picker-col label { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.date-control { display: flex; align-items: stretch; border: 2px solid #64748B; border-radius: 10px; overflow: hidden; background: #fff; }
.date-control input { flex: 1; min-width: 0; padding: 12px 12px; border: 0; background: transparent; color: var(--ink); font-size: var(--fs-mid); }
.date-control button { padding: 0 14px; border: 0; border-left: 2px solid #CBD5E1; background: #F1F5F9; color: var(--logo-blue); font-size: 1.25em; }
#picker-help { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); }
.draft-cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: clamp(14px, 2.2vh, 24px); padding: 16px 20px; border-radius: 12px; background: var(--logo-blue); color: #fff; font-size: var(--fs-mid); font-weight: 800; text-decoration: none; }
.draft-cta:hover { filter: brightness(1.15); }
.scheduler small { display: block; margin-top: 12px; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-3); }

/* ------------------------------------------------------------ chrome: progress, controls, rail, index */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; background: rgba(255, 255, 255, .12); }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky-d), #fff); transition: width .5s cubic-bezier(.16, 1, .3, 1); }
.controls { position: fixed; right: var(--gut); bottom: max(8px, calc((var(--foot-h) - 42px) / 2)); z-index: 50; display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 999px; background: rgba(7, 17, 31, .96); border: 1px solid rgba(255, 255, 255, .26); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); color: #fff; }
.controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; min-height: 42px; padding: 4px 12px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 1.1rem; }
.controls button:hover { background: rgba(255, 255, 255, .12); }
.controls .ctl-index { border-left: 1px solid rgba(255, 255, 255, .22); border-radius: 0 999px 999px 0; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#counter { min-width: 56px; text-align: center; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; }
.controls :focus-visible { outline-color: var(--sky); }
.rail { position: fixed; right: 8px; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 6px; transform: translateY(-50%); }
.rail button { position: relative; display: block; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(148, 163, 184, .7); box-shadow: 0 0 0 1px rgba(7, 17, 31, .5); }
.rail button::before { content: ''; position: absolute; inset: -7px; }
.rail button[aria-current="true"] { background: var(--brass); transform: scale(1.35); }
.index { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gut); background: rgba(4, 11, 20, .94); }
.index[hidden] { display: none; }
.index-inner { width: min(1100px, 100%); max-height: 100%; overflow-y: auto; }
.index-inner header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-family: var(--font-mono); font-size: var(--fs-small); letter-spacing: .14em; text-transform: uppercase; }
.index-inner header button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 1.3rem; }
.index-inner ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.index-inner li button { display: block; width: 100%; height: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: var(--navy-2); text-align: left; color: #fff; }
.index-inner li button[aria-current="true"] { border-color: var(--brass); }
.index-inner li button:hover { background: var(--navy-3); }
.ix-n { display: block; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em; color: var(--brass); }
.ix-t { display: block; margin-top: 6px; font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.15; }
.ix-b { display: block; margin-top: 6px; font-size: var(--fs-small); line-height: 1.35; color: #C4D4E4; }

/* ------------------------------------------------------------ impact layers */
.flash { position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; background: radial-gradient(circle at 62% 45%, rgba(255, 255, 255, .98) 0, rgba(190, 232, 255, .72) 18%, rgba(56, 189, 248, .26) 46%, transparent 72%); }
.flash.run { animation: flash-pop .9s ease-out both; }
@keyframes flash-pop { 0% { opacity: 0; } 7% { opacity: 1; } 100% { opacity: 0; } }
.seam { position: fixed; top: 0; bottom: 0; left: 0; width: 4px; z-index: 44; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, var(--sky) 18%, #fff 50%, var(--sky) 82%, transparent); box-shadow: 0 0 26px 7px rgba(125, 211, 252, .55), 0 0 100px 34px rgba(56, 189, 248, .18); }
.seam.run { animation: seam-fwd .8s cubic-bezier(.4, 0, .2, 1) both; }
.seam.run[data-dir="-1"] { animation-name: seam-back; }
@keyframes seam-fwd { 0% { transform: translateX(104vw); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(-6vw); opacity: 0; } }
@keyframes seam-back { 0% { transform: translateX(-6vw); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(104vw); opacity: 0; } }
.deck.shake { animation: deck-shake .5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes deck-shake { 10%, 90% { transform: translate(-3px, 1px); } 20%, 80% { transform: translate(7px, -3px); } 30%, 50%, 70% { transform: translate(-12px, 5px); } 40%, 60% { transform: translate(12px, -5px); } }

/* ------------------------------------------------------------ stacked cover: tablets and tall windows */
@media (max-aspect-ratio: 27/20), (max-width: 900px) {
  .cover-grid { grid-template-columns: 1fr; grid-template-rows: 44% minmax(0, 1fr); }
  .cover-stage { order: -1; }
  .cover-copy { align-self: end; padding: 0 var(--gut) clamp(8px, 1.6vh, 20px); }
  .cover h1 { max-width: 20ch; font-size: clamp(32px, min(6vw, 5.4vh), 60px); }
  .stage-cue { left: var(--gut); right: auto; bottom: auto; top: 12px; }
  html[data-slide="1"] #scene { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 46%, transparent 58%); mask-image: linear-gradient(180deg, #000 0, #000 46%, transparent 58%); }
}

/* ------------------------------------------------------------ medium widths */
@media (max-width: 1100px) {
  .rail { display: none; }
  .flag-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(520px, 1fr); overflow-y: auto; }
  .flag-copy { max-height: none; overflow: visible; }
  .flag-stage { grid-template-columns: minmax(0, 1fr) clamp(150px, 22vw, 240px); }
  .road-cards, .path-cards { gap: 12px; }
}

/* ------------------------------------------------------------ tablets and phones: isolated scrolling slides, opaque chrome */
@media (max-width: 900px) {
  .deck { inset: 0 0 calc(64px + env(safe-area-inset-bottom)) 0; }
  .deck::after { display: none; }
  .slide { padding: 0 18px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .slide > * { flex: none; }
  .slide-head { position: sticky; top: 0; z-index: 8; grid-template-columns: 1fr auto; height: auto; min-height: 56px; padding: calc(8px + env(safe-area-inset-top)) 0 8px; background: var(--bg); }
  .head-label { display: none; }
  .slide-body, .slide-body.two, .slide-body.flag-grid { display: flex; flex-direction: column; flex: 1 0 auto; justify-content: flex-start; align-items: stretch; gap: 22px; padding: 18px 0 20px; overflow: visible; }
  .slide-foot { padding: 14px 0 24px; min-height: 0; flex-wrap: wrap; }
  .lead, .fine { max-width: none; }
  .slide.cover { padding: 0; overflow-y: auto; }
  .cover-grid { position: relative; inset: auto; flex: none; height: calc(100dvh - 64px - env(safe-area-inset-bottom) - 76px); }
  .cover-foot { position: relative; left: auto; right: auto; bottom: auto; flex-wrap: wrap; padding: 14px 0 22px; margin: 0 var(--gut); }
  .controls { left: 0; right: 0; bottom: 0; justify-content: center; gap: 18px; height: calc(64px + env(safe-area-inset-bottom)); padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .2); background: #07111F; box-shadow: none; }
  .controls .ctl-index { border-left: 0; border-radius: 999px; }
  .pillars li, .findings li { grid-template-columns: auto 1fr; }
  .path-head, .road-head, .road-foot { grid-template-columns: 1fr; }
  .path-cards, .road-cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .flag-grid { grid-template-rows: none; }
  .flag-stage { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding: 0; }
  .browser { height: 78vh; min-height: 520px; }
  .phone { align-self: center; width: min(78vw, 300px); }
  .proof-grid, .close-grid, .audit-grid { grid-template-columns: 1fr; }
  .compare-wrap { width: 100%; }
  .partner { grid-template-columns: clamp(110px, 30vw, 170px) minmax(0, 1fr); }
  .picker-grid { grid-template-columns: 1fr; }
  .s-cats, .s-motors { grid-template-columns: 1fr; }
  .s-motor img { height: 11em; }
  .s-grid, .s-service, .s-visit { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ phones: static cover, plain flow */
@media (max-width: 760px) {
  :root { --fs-body: 17px; --fs-mid: 16.5px; --fs-small: 15px; --fs-h2: clamp(28px, 8vw, 36px); }
  .cover-grid { grid-template-rows: none; display: flex; flex-direction: column; height: auto; }
  .cover-stage { order: -1; min-height: 250px; padding-top: 18px; }
  .cover-fallback { width: min(92%, 380px); }
  .cover h1 { font-size: clamp(32px, 9.4vw, 44px); max-width: none; }
  .cover-copy { padding: 8px 18px 8px; }
  .cover-foot { margin: 0 18px; }
  .bc-logo { height: 22px; }
  .client-pill { height: 36px; }
  .slide-head { gap: 10px; }
  .facts { grid-template-columns: 1fr; }
  .contact-pills { flex-direction: column; align-items: stretch; }
  .c-pill { justify-content: flex-start; }
  .browser { height: 74vh; min-height: 480px; font-size: 14px; }
  .site-nav { flex-wrap: wrap; gap: .6em; }
  .tabs { order: 3; flex-basis: 100%; overflow-x: auto; }
  .site-call { display: none; }
  .controls { gap: 8px; }
  #counter { min-width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-leaving, .slide.is-entering, .slide.is-boom, .slide.is-boom-in, .flash.run, .seam.run, .deck.shake { animation: none; }
  .progress i { transition: none; }
}

/* Focused homepage finish: keep the original eight-slide deck and one site DOM. */
.flag-stage { grid-template-columns:minmax(0,1fr)!important; }
.flag-stage > .phone { display:none!important; }
#site { container-type:inline-size; min-width:0; display:flex; flex-direction:column; }
#site .site-scroll { flex:1; min-height:0; overflow:auto; }
.s-mode-bar { display:flex; gap:8px; padding:8px 12px; background:#10223a; justify-content:flex-end; }
.s-mode-bar button { min-height:44px; padding:8px 14px; border:1px solid #9bb2ca; border-radius:8px; color:#fff; background:transparent; font-size:14px; cursor:pointer; }
.s-mode-bar button[aria-pressed=true] { background:#f4b72e; border-color:#f4b72e; color:#071425; }
#site[data-site-mode=phone] { width:min(100%,358px); justify-self:center; margin-inline:auto; }
#site[data-expanded=true] { position:fixed; inset:74px 18px 82px; z-index:100; width:auto; height:auto; max-width:none; margin:0; }
#site[data-expanded=true][data-site-mode=phone] { width:min(358px,calc(100vw - 36px)); margin-inline:auto; }
#site .s-hero-copy { padding:18px 18px 14px; }
#site .s-hero-copy h3 { font-size:clamp(24px,3cqw,34px); line-height:1.1; }
#site .s-hero-photo { margin:0 18px 18px; aspect-ratio:3/1; height:auto; overflow:hidden; border-radius:10px; }
#site .s-hero-photo img { width:100%; height:100%; object-fit:cover; }
#site button,#site a.s-btn { min-height:44px; font-size:14px; }
#site .s-btn.primary,#site #svc-form button { min-height:48px; font-size:16px; }
#site #svc-form input,#site #svc-form select,#site #svc-form textarea { min-height:48px; font-size:16px; }
.s-next-steps { padding:20px; border-top:1px solid #cbd7e3; background:#eef4f8; color:#10223a; }
.s-next-steps h4 { margin:0 0 14px; font-size:22px; }
.s-next-steps ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0; padding:0; list-style:none; counter-reset:sstep; }
.s-next-steps li { counter-increment:sstep; background:#fff; border:1px solid #cbd7e3; border-radius:10px; padding:14px; font-size:15px; line-height:1.45; }
.s-next-steps li::before { content:counter(sstep); display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; border-radius:50%; background:#f4b72e; color:#071425; font-weight:700; font-size:13px; margin-bottom:8px; }
.s-next-steps li b { display:block; font-size:16px; margin-bottom:4px; }
.s-next-steps li span { color:#3d5570; }
.s-home-footer { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); gap:18px; padding:20px 20px 22px; background:#10223a; color:#fff; font-size:14px; line-height:1.5; }
.s-home-footer b { font-size:16px; }
.s-home-footer p { margin:4px 0 0; color:#b9c9dc; }
.s-home-footer address { font-style:normal; color:#dce8f5; }
.s-home-footer a { color:#f4b72e; font-weight:600; text-decoration:none; }
.s-home-footer .s-btn { display:inline-flex; align-items:center; justify-content:center; margin-top:10px; padding:8px 14px; border:1px solid #9bb2ca; border-radius:8px; background:transparent; color:#fff; font-size:14px; cursor:pointer; }
.s-home-footer .s-btn:hover { background:#f4b72e; border-color:#f4b72e; color:#071425; }
.s-home-footer small { display:block; margin-top:10px; color:#9fb6cc; }
#site[data-site-mode=phone] .s-next-steps ol { grid-template-columns:1fr; }
#site[data-site-mode=phone] .s-home-footer { grid-template-columns:1fr; gap:14px; }
@container (max-width: 760px) {
  .s-next-steps ol { grid-template-columns:1fr; }
  .s-home-footer { grid-template-columns:1fr; gap:14px; }
}
