/* Madi's Mexicali Stop × Brandcore — presentation stylesheet.
   One coherent system, zero override layers.
   Surfaces: Dark Comal Obsidian (#120B08 / #1D120D) and Warm Masa Crema Paper (#F7F4ED / #FFFFFF).
   Brand accents drawn from Madi's Mexicali Stop's mark & Sierra Foothills kitchens:
   - Role A (Decorative / Rule): Fiesta Chile Red (#C81E1E) & Warm Marigold (#D98218)
   - Role B (Large Display on Dark >= 4.5:1): Luminous Marigold Gold (#F5B851 — 11.4:1 on #120B08)
   - Role C (Small Text / Kicker on Dark >= 7:1): Crisp Marigold Gold (#F5B851 — 11.4:1 on #120B08)
   - Role D (Small Text / Kicker & Solid Badges on Light Paper >= 7.5:1): Deep Bronze-Ink (#6B3E07 — 8.3:1 on #F7F4ED) & Deep Chile Crimson (#8E1A1C — 8.4:1 on #F7F4ED)
   Every text colour below is paired with the surface it actually sits on and
   measured at WCAG AAA (7:1+ for body/small/mono text, 4.5:1+ for large display text). */

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

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

  --black: #000000;
  --carbon-0: #090504;
  --carbon: #120B08;         /* Dark Comal Obsidian (base dark) */
  --carbon-1: #120B08;
  --carbon-2: #1D120D;       /* Elevated comal card on dark */
  --carbon-3: #2A1A13;       /* Raised terracotta-slate accent */
  --paper: #F7F4ED;          /* Warm Masa Crema Paper (base light) */
  --paper-1: #F7F4ED;
  --paper-2: #ECE6DA;        /* Secondary stone surface */
  --paper-ink: #120B08;      /* 17.6:1 on #F7F4ED */

  --madi-red: #C81E1E;       /* Official Madi's chile red rule */
  --madi-crimson: #8E1A1C;   /* 8.4:1 on #F7F4ED paper */
  --accent: #D98218;         /* Role A decorative marigold */
  --accent-bright: #F5B851;  /* Role B/C luminous marigold on dark (11.4:1 on #120B08) */
  --accent-gold-deep: #6B3E07; /* Role D deep bronze on light paper (8.3:1 on #F7F4ED) */

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

.carbon {
  --bg: var(--carbon);
  --surface: var(--carbon-2);
  --line: rgba(255, 255, 255, 0.13);
  --ink: #FFFFFF;            /* 19.3:1 on #120B08 */
  --ink-2: #F0E6DC;          /* 15.6:1 on #120B08 */
  --ink-3: #D8C8B8;          /* 11.8:1 on #120B08 */
  --em: var(--accent-bright);
  --rule: var(--accent-bright);
  --kicker-ink: var(--accent-bright);
}

.paper {
  --bg: var(--paper);
  --surface: #FFFFFF;
  --line: rgba(18, 11, 8, 0.13);
  --ink: var(--paper-ink);   /* 17.6:1 on #F7F4ED */
  --ink-2: #241812;          /* 13.4:1 on #F7F4ED */
  --ink-3: #3D2B22;          /* 9.6:1 on #F7F4ED */
  --em: var(--madi-crimson); /* 8.4:1 on #F7F4ED */
  --rule: var(--madi-red);
  --kicker-ink: var(--accent-gold-deep); /* 8.3:1 on #F7F4ED */
}

*, *::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;
}

.nowrap { white-space: nowrap; }

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

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

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

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

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

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

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

.header-logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(132px, 10vw, 162px);
  height: clamp(44px, 5.2vh, 54px);
  padding: 4px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 30, 30, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  flex: none;
}

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

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

.header-wordmark small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.72vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kicker-ink);
}

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

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

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

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

/* ------------------------------------------------------------------ shared typography & chips */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(4px, 0.7vh, 7px);
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 0.86vw, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker-ink);
  line-height: 1.4;
}

.eyebrow::before, .kicker::before {
  content: '';
  width: 20px;
  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(2.9vw, 5vh), 48px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, min(2.42vw, 4.25vh), 44px);
  line-height: 1.06;
  letter-spacing: -0.028em;
}

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

.lead {
  max-width: 56ch;
  margin-top: clamp(6px, 0.9vh, 11px);
  font-size: clamp(16.5px, 1.18vw, 22px);
  line-height: 1.48;
  color: var(--ink-2);
}

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

.paper .num-chip {
  background: var(--madi-crimson);
  border: 1px solid var(--madi-crimson);
  color: #FFFFFF;
}

.num-chip.featured,
.exec-phase-card.featured .exec-phase-num {
  background: var(--accent-bright);
  color: #120B08;
  font-weight: 800;
  border-color: var(--accent-bright);
}

/* Calibrated .crop-chrome for full-bleed 16:9 nano-mockup.jpg */
.crop-chrome {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #120B08;
}

.crop-chrome img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: none;
}

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

.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: 0;
  padding: 4px 16px;
  border-radius: 8px;
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #F0E6DC;
}

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

/* === BEGIN SLIDE 1 CSS === */
.slide.cover { display: none; padding: 0; }

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

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

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

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

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

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

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

.cover-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(232px, 18.5vw, 290px);
  height: clamp(78px, 9.4vh, 96px);
  padding: 6px 12px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 2px solid rgba(245, 184, 81, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.cover-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.2vw, 23px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.cover-wordmark span {
  display: block;
  margin-top: 4px;
  font-size: clamp(13px, 0.92vw, 15.5px);
  font-weight: 600;
  color: #F0E6DC;
}

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

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

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

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

.cover-foot {
  position: absolute;
  left: clamp(28px, 3.8vw, 58px);
  right: auto;
  bottom: clamp(12px, 1.8vh, 20px);
  z-index: 3;
  width: calc(47% - clamp(62px, 6.2vw, 98px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: clamp(7px, 1vh, 10px);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

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

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

.prepared-by img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 2px var(--accent-bright);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  container-type: size;
  background:
    radial-gradient(72% 58% at 52% 42%, rgba(198, 84, 34, 0.34) 0%, rgba(84, 34, 16, 0.2) 44%, transparent 72%),
    radial-gradient(110% 80% at 50% 104%, rgba(216, 130, 24, 0.24) 0%, transparent 58%),
    linear-gradient(160deg, #1b0f0a 0%, #120b08 48%, #070403 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(245, 184, 81, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 81, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 65% at 50% 50%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 65% at 50% 50%, #000 0%, transparent 78%);
  pointer-events: none;
}

.stage-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 0;
  width: min(78%, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 92, 0.2) 0%, rgba(200, 30, 30, 0.12) 38%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

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

.cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12% 9%;
}
.cover-fallback[hidden] { display: none; }

.fallback-sign {
  position: relative;
  width: min(86%, 640px);
  padding: 4.5% 4%;
  border-radius: 14px;
  background: #ffffff;
  border: 3px solid #c81e1e;
  box-shadow:
    0 0 0 9px #2b1810,
    0 0 0 10px rgba(201, 151, 75, 0.75),
    0 38px 70px rgba(0, 0, 0, 0.6);
  transform: rotate(-3.5deg);
}
.fallback-sign img {
  display: block;
  width: 100%;
  height: auto;
}
.fallback-pin {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6d694, #9a6a24);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.fallback-pin-a { left: 10px; top: 10px; }
.fallback-pin-b { right: 10px; bottom: 10px; }
.fallback-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5b851;
}

.scene-hud {
  position: absolute;
  top: clamp(18px, 3.2vh, 30px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.scene-hud-left { left: clamp(18px, 2.4vw, 34px); }
.scene-hud-right { right: clamp(18px, 2.4vw, 34px); text-align: right; align-items: flex-end; }
body.static-cover .scene-hud-right { display: none; }
.hud-top {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 236, 212, 0.58);
}
.hud-bottom {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f5b851;
}
.scene-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2.4vh, 24px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: max-content;
  max-width: 84%;
  padding: 8px 15px;
  border-radius: 8px;
  background: rgba(9, 5, 4, 0.82);
  border: 1px solid rgba(245, 184, 81, 0.28);
  transform: translateX(-50%);
  text-align: center;
}
.scene-caption span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0e6dc;
}
.scene-caption b {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(245, 184, 81, 0.72);
}

.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(245, 184, 81, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 81, 0.28) 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(--accent-bright) 25%, var(--accent-bright) 75%, transparent);
  box-shadow: 0 0 18px 2px rgba(245, 184, 81, 0.45);
  opacity: 0.85;
}

.stage-browser {
  position: relative;
  z-index: 3;
  position: relative;
  width: 91cqw;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 46px 94px rgba(0, 0, 0, 0.68), 0 0 80px rgba(200, 30, 30, 0.22);
}

.stage-phone {
  position: absolute;
  z-index: 4;
  right: 3.4cqw;
  bottom: 5.5cqh;
  width: 22.5cqw;
  aspect-ratio: 9 / 15.8;
  container-type: inline-size;
  padding: 0.7cqw;
  border-radius: 3.4cqw;
  background: linear-gradient(150deg, #3D2419 0%, #120B08 38%, #1D120D 100%);
  box-shadow: 0 0 0 1px #000, 0 0 0 1px rgba(255, 255, 255, 0.24) inset, 0 40px 76px rgba(0, 0, 0, 0.74);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2.8cqw;
  background: #120B08;
}

.phone-island {
  position: absolute;
  top: 2cqw;
  left: 50%;
  z-index: 5;
  width: 24cqw;
  height: 4cqw;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  height: 13cqw;
  padding: 4.5cqw 3.8cqw 1cqw;
  background: #1D120D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-appbar img {
  width: 18cqw;
  height: 6.5cqw;
  padding: 0.5cqw 1cqw;
  border-radius: 1.5cqw;
  background: #FFFFFF;
  object-fit: contain;
}

.phone-appbar b {
  font-family: var(--font-display);
  font-size: 4.4cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  white-space: nowrap;
}

.phone-appbar .ico { margin-left: auto; font-size: 7.4cqw; }

.phone-hero {
  height: 52cqw;
  background: url('assets/google-place.jpg') center center / cover no-repeat;
}

.phone-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3cqw;
  padding: 4.6cqw 5.5cqw 5.5cqw;
}

.phone-body small {
  font-family: var(--font-mono);
  font-size: 4.2cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.phone-body b {
  font-family: var(--font-display);
  font-size: 6.8cqw;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.phone-body p {
  font-size: 4.5cqw;
  line-height: 1.35;
  color: #F0E6DC;
}

.phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  height: 13.8cqw;
  border-radius: 4cqw;
  background: var(--accent-bright);
  font-size: 4.8cqw;
  font-weight: 700;
  color: #120B08;
}

.phone-cta.ghost {
  background: transparent;
  color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32) inset;
}

.phone-addr {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  margin-top: auto;
  font-size: 4.3cqw;
  font-weight: 500;
  color: #D8C8B8;
}

.visual-caption {
  position: relative;
  z-index: 5;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(18, 11, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F0E6DC;
}
/* === END SLIDE 1 CSS === */

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

.foundation .narrative-col h2 {
  font-size: clamp(27px, min(2.3vw, 3.9vh), 40px);
  line-height: 1.08;
}

.foundation .narrative-col .lead {
  margin-top: clamp(5px, 0.75vh, 9px);
  font-size: clamp(16.5px, 1.14vw, 20px);
  line-height: 1.44;
}

.narrative-pillars {
  display: grid;
  gap: clamp(9px, 1.2vh, 13px);
  margin-top: clamp(10px, 1.4vh, 16px);
}

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

.pillar-card h3 {
  font-size: clamp(19px, 1.34vw, 23px);
  line-height: 1.18;
  color: var(--ink);
}

.pillar-card p {
  margin-top: 4px;
  font-size: clamp(16px, 1.12vw, 20px);
  line-height: 1.42;
  color: var(--ink-3);
}

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

.profile-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--carbon-2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 56px rgba(18, 11, 8, 0.26);
}

.profile-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  background: var(--carbon);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #FFFFFF;
}

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

.profile-photo-strip {
  position: relative;
  width: 100%;
  height: clamp(165px, 23vh, 220px);
  background: #120B08;
  overflow: hidden;
}

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

.profile-logo-overlay {
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: clamp(156px, 12vw, 188px);
  height: clamp(54px, 6.6vh, 66px);
  padding: 5px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid rgba(245, 184, 81, 0.65);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
}

.profile-main {
  padding: clamp(14px, 1.8vh, 20px) clamp(16px, 1.8vw, 24px);
}

.profile-name b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.55vw, 25px);
  font-weight: 700;
  line-height: 1.08;
  color: #FFFFFF;
}

.profile-name span {
  display: block;
  margin-top: 4px;
  font-size: clamp(14px, 0.92vw, 16px);
  font-weight: 600;
  color: var(--accent-bright);
}

.profile-dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.3vh, 14px) clamp(14px, 1.5vw, 20px);
  margin-top: clamp(10px, 1.3vh, 14px);
  padding-top: clamp(10px, 1.3vh, 14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-dl-grid dt {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.78vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D8C8B8;
}

.profile-dl-grid dt svg {
  margin-right: 6px;
  color: var(--accent-bright);
}

.profile-dl-grid dd {
  margin: 5px 0 0;
  font-size: clamp(15px, 1.06vw, 18.5px);
  font-weight: 600;
  line-height: 1.42;
  color: #FFFFFF;
}
/* === END SLIDE 2 CSS === */

/* === BEGIN SLIDE 3 CSS === */
.slide-body.stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.2vh, 24px);
}

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

.slide-body.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 3.4vw, 54px);
  align-items: center;
}

.audit-copy { display: flex; flex-direction: column; justify-content: center; }
.audit-copy h2 { font-size: clamp(29px, min(2.42vw, 4.15vh), 42px); }

.audit-list {
  display: grid;
  gap: clamp(6px, 0.85vh, 9px);
  margin-top: clamp(10px, 1.3vh, 14px);
}

.audit-finding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: clamp(8px, 1vh, 11px) clamp(10px, 0.9vw, 13px);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid var(--madi-red);
}

.sev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 4px 6px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.sev-high { background: rgba(200, 30, 30, 0.2); border: 1px solid rgba(245, 120, 100, 0.55); color: #ffb4a4; }
.sev-mid { background: rgba(245, 184, 81, 0.14); border: 1px solid rgba(245, 184, 81, 0.45); color: var(--accent-bright); }

.audit-finding-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.audit-finding h3 {
  font-size: clamp(17px, 1.14vw, 19.5px);
  line-height: 1.22;
  color: #FFFFFF;
}
.audit-finding h3 b {
  font-family: var(--font-mono);
  font-size: 1.06em;
  color: var(--accent-bright);
}
.audit-finding p {
  margin-top: 2px;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.38;
  color: #F0E6DC;
}
.audit-finding .src {
  flex: none;
  max-width: 46%;
  text-align: right;
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 0.74vw, 12px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(245, 184, 81, 0.78);
}

.audit-evidence {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.7vh, 17px);
  min-width: 0;
}

.live-window { background: #0d0705; border-color: rgba(255, 255, 255, 0.16); }
.live-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.live-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.live-window figcaption {
  padding: 9px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #1D120D;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.76vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #D8C8B8;
}
.tag-live { background: #C81E1E; color: #FFFFFF; }

.audit-note {
  padding-left: 14px;
  border-left: 3px solid var(--madi-red);
  font-size: clamp(15.5px, 1.02vw, 18px);
  line-height: 1.45;
  color: #F0E6DC;
}
/* === END SLIDE 3 CSS === */

/* === BEGIN SLIDE 4 CSS === */
.slide-body.website-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }

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

.website .narrative-col h2 {
  font-size: clamp(27px, min(2.3vw, 3.9vh), 39px);
  line-height: 1.08;
}

.website .narrative-col .lead {
  margin-top: clamp(5px, 0.75vh, 9px);
  font-size: clamp(16.5px, 1.1vw, 19.5px);
  line-height: 1.42;
}

.concept-notes {
  display: grid;
  gap: clamp(8px, 1.1vh, 12px);
  margin-top: clamp(10px, 1.4vh, 15px);
}

.concept-note-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: clamp(10px, 1.3vh, 14px) clamp(12px, 1vw, 16px);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--madi-red);
  box-shadow: 0 10px 24px rgba(18, 11, 8, 0.05);
}

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

.concept-note-item p {
  margin-top: 3px;
  font-size: clamp(16px, 1.1vw, 19.5px);
  line-height: 1.38;
  color: var(--ink-3);
}

.mockup-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.browser-window {
  overflow: hidden;
  border-radius: 16px;
  background: var(--carbon-0);
  border: 1px solid rgba(18, 11, 8, 0.2);
  box-shadow: 0 36px 76px rgba(18, 11, 8, 0.28);
}

.concept-window { border-color: rgba(18, 11, 8, 0.24); }

.mockup-caption {
  margin-top: 9px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.76vw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.mockup-detail-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 11px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18, 11, 8, 0.24);
  background: #FFFFFF;
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.82vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-ink);
  cursor: pointer;
}
.mockup-detail-btn:hover { background: var(--paper-2); }
.mockup-detail-btn .ico { color: var(--madi-crimson); }
/* === END SLIDE 4 CSS === */

/* === BEGIN SLIDE 5 CSS === */
.comparison {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
}

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

.case-frame.after {
  border-color: rgba(245, 184, 81, 0.55);
}

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

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

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

.case-tag.before { background: #38241B; color: #FFFFFF; }
.case-tag.after { background: var(--accent-bright); color: #120B08; font-weight: 700; }

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

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

.case-frame figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: #1D120D;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: clamp(13.5px, 0.94vw, 15px);
  font-weight: 500;
  color: #E8D9CA;
}

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

/* === BEGIN SLIDE 6 CSS === */
.exec-head { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); }
.exec-head h2 { font-size: clamp(25px, min(2.35vw, 4.1vh), 40px); }

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

.exec-phase-card {
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: clamp(8px, 1.3vh, 13px);
  padding: clamp(16px, 2.2vh, 24px) clamp(16px, 1.5vw, 24px);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid rgba(18, 11, 8, 0.12);
  border-top: 3px solid var(--madi-red);
  box-shadow: 0 18px 40px rgba(18, 11, 8, 0.08);
}

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

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

.exec-phase-card h3 {
  font-size: clamp(20px, 1.42vw, 24px);
  line-height: 1.18;
  color: var(--paper-ink);
}

.exec-phase-card > p {
  font-size: clamp(16px, 1.14vw, 20px);
  line-height: 1.45;
  color: var(--ink-3);
}

.exec-deliverables {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: clamp(10px, 1.3vh, 13px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(18, 11, 8, 0.11);
}

.exec-deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  font-size: clamp(15px, 1.06vw, 18.5px);
  font-weight: 600;
  line-height: 1.38;
  color: var(--paper-ink);
}

.exec-deliverables .ico {
  margin-top: 0.12em;
  font-size: 1.08em;
  stroke-width: 2.5;
  color: var(--madi-crimson);
}

.exec-phase-card.featured {
  background: var(--carbon);
  border-color: var(--carbon);
  border-top: 3px solid var(--accent-bright);
  box-shadow: 0 28px 60px rgba(18, 11, 8, 0.3);
}

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

.exec-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 11, 8, 0.14);
  background: #FFFFFF;
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.82vw, 13px);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.exec-footer-bar span { padding: 11px 14px; text-align: center; }
.exec-footer-bar span + span { border-left: 1px solid rgba(18, 11, 8, 0.12); }
.exec-footer-bar b { margin-left: 6px; font-weight: 800; color: var(--paper-ink); }
/* === END SLIDE 6 CSS === */

/* === BEGIN SLIDE 7 CSS === */
.slide-body.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(24px, 3.2vw, 52px);
  align-items: center;
}

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

.partner-avatar-wrap {
  width: clamp(128px, 16.5vh, 156px);
  height: clamp(128px, 16.5vh, 156px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
}

.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: clamp(11.5px, 0.78vw, 13px);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

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

.partner-role-sub {
  margin-top: 3px;
  font-size: clamp(14.5px, 0.94vw, 16.5px);
  font-weight: 600;
  color: var(--ink-3);
}

.partner-quote {
  margin-top: 8px;
  padding-left: 13px;
  border-left: 3px solid var(--accent-bright);
  font-size: clamp(16px, 1.1vw, 19.5px);
  line-height: 1.44;
  color: var(--ink-2);
}

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

.partner-pill {
  min-height: 44px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 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: clamp(13px, 0.9vw, 14.5px);
  font-weight: 600;
  color: #FFFFFF;
}

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

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

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

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

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

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

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

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

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

.request > p {
  font-size: clamp(16px, 1.1vw, 19.5px);
  line-height: 1.45;
  color: #E8D9CA;
}

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

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

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

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

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

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

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

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

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

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

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

a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 3px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--accent-bright);
  box-shadow: 0 14px 28px rgba(245, 184, 81, 0.28);
  font-family: var(--font-mono);
  font-size: clamp(13px, 0.88vw, 14.5px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #120B08;
}

a#contact:hover {
  background: #E5A63E;
  color: #120B08;
}

.request small {
  display: block;
  font-size: clamp(12.5px, 0.84vw, 14px);
  line-height: 1.42;
  color: var(--ink-3);
}

.print-contact { display: none; }
/* === END SLIDE 7 CSS === */

/* ------------------------------------------------------------------ controls & desktop stage */
.controls {
  position: fixed;
  left: 50%;
  bottom: 5px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(18, 11, 8, 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, .controls a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}

.controls button:hover { background: rgba(255, 255, 255, 0.1); }

.ctrl-index {
  gap: 7px;
  margin-left: 2px;
  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;
  color: #F0E6DC;
}
.ctrl-index .ico { font-size: 15px; color: var(--accent-bright); }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }

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

/* progress + rail + cut seam */
.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.progress-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--madi-red), var(--accent-bright));
  transform-origin: 0 50%;
  transform: scaleX(0.1428);
  transition: transform 0.4s ease;
}

.slide-rail {
  position: fixed;
  right: calc((100vw - min(96vw, 1640px)) / 2 + 12px);
  top: 50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-50%);
}
.rail-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.rail-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 184, 81, 0.35);
  transition: all 0.25s ease;
}
.rail-dot:hover span { background: var(--accent-bright); }
.rail-dot.is-on span { width: 6px; height: 18px; background: var(--accent-bright); box-shadow: 0 0 12px rgba(245, 184, 81, 0.7); }

.seam {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  width: 2px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #f5b851 16%, #fff3d4 50%, #c81e1e 84%, transparent);
  box-shadow: 0 0 22px rgba(245, 184, 81, 0.8), 0 0 60px rgba(200, 30, 30, 0.4);
}
.seam.run { animation: seam-sweep 560ms cubic-bezier(0.65, 0, 0.35, 1) both; }
.seam.run[style*="-1"] { animation-name: seam-sweep-reverse; }
@keyframes seam-sweep {
  0% { opacity: 0; transform: translateX(-4vw); }
  12% { opacity: 1; }
  80% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(104vw); }
}
@keyframes seam-sweep-reverse {
  0% { opacity: 0; transform: translateX(104vw); }
  12% { opacity: 1; }
  80% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(-4vw); }
}

/* cover detonation stage */
.boom-canvas {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}
.boom-canvas[hidden] { display: none; }

.is-booming #deck { animation: boom-shake 460ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes boom-shake {
  0% { transform: translate(0, 0) rotate(0); }
  12% { transform: translate(-7px, 5px) rotate(-0.25deg); }
  24% { transform: translate(8px, -6px) rotate(0.28deg); }
  38% { transform: translate(-5px, -4px) rotate(-0.18deg); }
  52% { transform: translate(4px, 4px) rotate(0.12deg); }
  70% { transform: translate(-2px, 2px) rotate(-0.06deg); }
  100% { transform: translate(0, 0) rotate(0); }
}

/* index overlay */
.index-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(6, 3, 2, 0.88);
  backdrop-filter: blur(10px);
}
.index-overlay[hidden] { display: none; }
.index-shell {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: 20px;
  background: var(--carbon);
  border: 1px solid rgba(245, 184, 81, 0.3);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}
.index-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.index-head h2 { font-size: clamp(24px, 2vw, 34px); color: #FFF; }
.index-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
  cursor: pointer;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.index-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 13px 15px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #FFF;
  cursor: pointer;
}
.index-card:hover, .index-card:focus-visible { background: rgba(245, 184, 81, 0.12); border-color: rgba(245, 184, 81, 0.45); }
.idx-num {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-bright);
}
.index-card b { font-family: var(--font-display); font-size: clamp(15px, 1.05vw, 18px); font-weight: 700; line-height: 1.2; }
.idx-open { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: #D8C8B8; }
.index-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D8C8B8;
}

@media screen and (min-width: 981px) {
  html, body { height: 100%; overflow: hidden; }

  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 64px;
    background: radial-gradient(circle at 50% 30%, #26150E 0%, #090504 100%);
  }

  #deck, .deck {
    width: min(96vw, 1640px);
    height: min(calc(100dvh - 80px), 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; }
}

@media screen and (max-width: 980px) {
  html, body { min-height: 100%; }
  body { display: flex; flex-direction: column; min-height: 100dvh; padding-bottom: 0; }
  .deck, #deck {
    width: 100%;
    height: calc(100dvh - 68px);
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
  .slide {
    position: relative;
    inset: auto;
    display: none;
    width: 100%;
    height: auto;
    min-height: 100%;
    padding: 22px 20px 28px;
    overflow: visible;
  }
  .slide.active, .slide.cover.active { display: flex; flex-direction: column; gap: 26px; }
  .slide-body.two, .slide-body.website-grid, .slide-body.close-grid, .slide-body.audit-grid,
  .proof-head, .exec-head, .comparison, .partner-card, .picker-grid, .suggestions,
  .exec-cards-grid, .exec-footer-bar {
    display: flex; flex-direction: column; width: 100%; gap: 22px;
  }
  .slide-body { flex: none; }
  .proof-head, .exec-head { align-items: flex-start; }
  .proof-head > div, .exec-head > div { width: 100%; }
  .partner-card { align-items: stretch; }
  .partner-contact-pills { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .partner-brand-signoff { width: 100%; }
  .slide.cover.active { padding: 22px 20px 26px; }
  .hero-copy { padding: 0; gap: 17px; order: 1; }
  .hero-visual { flex: none; height: 430px; min-height: 430px; border-left: 0; border-radius: 16px; order: 0; }
  .cover-foot { position: relative; left: auto; right: auto; bottom: auto; order: 2; width: 100%; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .cover-foot .page { margin-left: auto; }
  .cover-lockup { flex-direction: column; align-items: flex-start; gap: 13px; }
  .cover-badge { width: min(300px, 100%); height: 88px; }
  .cover-wordmark b { font-size: clamp(23px, 4.6vw, 30px); }
  .cover-wordmark span { font-size: 16px; line-height: 1.5; }
  .cover-wordmark small, .header-wordmark small { letter-spacing: .07em; line-height: 1.6; }
  .cover-collab { gap: 9px; max-width: 100%; flex-wrap: wrap; }
  .collab-label { font-size: 10.5px; letter-spacing: .08em; }
  .prepared-by { font-size: 13.5px; line-height: 1.5; }
  .fact-pills { gap: 7px; }
  .fact-pills li { font-size: 13.5px; padding: 7px 11px; }
  .header-brand { flex-direction: row; align-items: center; gap: 10px; }
  .header-logo-pill { width: 120px; height: 40px; }
  .header-wordmark b { font-size: 16px; }
  .header-wordmark small { font-size: 10.5px; }
  .slide-head { align-items: flex-start; gap: 12px; }
  .header-meta { max-width: 118px; font-size: 10.5px; line-height: 1.55; gap: 7px; letter-spacing: .05em; text-align: right; }
  .header-meta::before { width: 12px; flex: none; }
  h1 { font-size: clamp(34px, 7vw, 46px); line-height: 1.08; }
  h2, .website .narrative-col h2, .foundation .narrative-col h2, .audit-copy h2 { font-size: clamp(28px, 5.2vw, 38px); line-height: 1.1; }
  .lead { font-size: 17px; line-height: 1.55; max-width: 100%; }
  .eyebrow, .kicker { font-size: 12.5px; letter-spacing: .08em; line-height: 1.55; }
  .pillar-card, .concept-note-item, .audit-finding, .exec-phase-card { display: flex; flex-direction: column; gap: 12px; }
  .pillar-card p, .concept-note-item p, .exec-phase-card p, .exec-deliverables li, .audit-finding p { font-size: 16px; line-height: 1.5; }
  .pillar-card h3, .concept-note-item b, .exec-phase-card h3, .audit-finding h3 { font-size: 20px; line-height: 1.24; }
  .profile-band { flex-wrap: wrap; gap: 8px; line-height: 1.5; }
  .profile-dl-grid { grid-template-columns: 1fr; }
  .profile-photo-strip { height: 230px; }
  .audit-evidence { gap: 16px; }
  .live-window { width: 100%; }
  .audit-note { font-size: 16px; }
  .case-frame { width: 100%; max-width: 100%; }
  .case-viewport { height: 240px; }
  .exec-footer-bar { gap: 0; }
  .exec-footer-bar span { text-align: left; padding: 12px 14px; }
  .exec-footer-bar span + span { border-left: 0; border-top: 1px solid rgba(18, 11, 8, 0.12); }
  .exec-footer-bar b { display: block; margin: 3px 0 0; }
  .partner-avatar-wrap { align-self: flex-start; width: 150px; height: 150px; }
  .partner-brand-signoff { flex-direction: column; align-items: flex-start; }
  .partner-brand-address { line-height: 1.6; text-align: left; }
  .partner-contact-pills { flex-direction: column; align-items: stretch; }
  .partner-pill { min-height: 48px; justify-content: center; }
  .suggestions button, .request input, .date-control #open-date, .date-control #open-time { min-height: 48px; }
  .date-control #open-date, .date-control #open-time { width: 48px; }
  .slide-foot { align-items: flex-start; font-size: 10.5px; letter-spacing: .06em; line-height: 1.6; }
  .slide-rail { display: none; }
  .controls { position: fixed; left: 0; bottom: 0; width: 100%; height: 68px; transform: none; border-radius: 0; justify-content: center; gap: 0; padding: 4px; }
  .controls button, .controls a { min-width: 44px; min-height: 44px; padding: 5px 10px; }
  .ctrl-index { font-size: 10px; letter-spacing: .06em; padding: 5px 10px; }
  .ctrl-index .ico { font-size: 17px; }
  #counter { min-width: 42px; font-size: 11.5px; }
  .index-grid { grid-template-columns: 1fr; }
  .index-shell { max-height: 86dvh; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .seam, .is-booming #deck { animation: none !important; }
}


/* === Website concept: working mini-site === */
[hidden] { display: none !important; }

.site-mock {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #FFF9F0;
  color: #1A0F0A;
  overflow: hidden;
}

.sm-top {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2cqw, 16px);
  padding: 11px clamp(12px, 1.6cqw, 18px);
  background: #FFFFFF;
  border-bottom: 3px solid #C81E1E;
}
.sm-top img { height: clamp(30px, 3.1cqw, 40px); width: auto; display: block; flex: none; }
.sm-tabs { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.sm-tab {
  border: 0;
  background: transparent;
  padding: 9px clamp(8px, 0.9cqw, 12px);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.02cqw, 14px);
  font-weight: 700;
  color: #3A2418;
  cursor: pointer;
  white-space: nowrap;
}
.sm-tab.is-on { background: #F7E9D6; color: #9E1B1F; }
.sm-order {
  flex: none;
  border: 0;
  padding: 9px clamp(10px, 1.1cqw, 14px);
  border-radius: 999px;
  background: #C81E1E;
  font-family: var(--font-body);
  font-size: clamp(11.5px, 0.95cqw, 13px);
  font-weight: 800;
  color: #FFFFFF;
  cursor: pointer;
  white-space: nowrap;
}

.sm-panel { display: flex; flex-direction: column; }

.sm-hero { position: relative; min-height: clamp(200px, 31cqw, 260px); display: flex; align-items: flex-end; background: #120B08; overflow: hidden; }
.sm-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.sm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 6, 4, 0.94) 0%, rgba(12, 6, 4, 0.78) 44%, rgba(12, 6, 4, 0.08) 78%);
}
.sm-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-width: 62%;
  padding: clamp(18px, 2.4cqw, 26px);
}
.sm-hero-copy small {
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 0.82cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5B851;
  line-height: 1.4;
}
.sm-hero-copy b {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.05cqw, 27px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.sm-hero-copy em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.05cqw, 27px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F5B851;
}
.sm-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.sm-btn {
  border: 0;
  padding: 9px 13px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: clamp(10.5px, 0.88cqw, 12.5px);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.sm-btn.gold { background: #F5B851; color: #1A0F0A; }
.sm-btn.ghost { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72); }

.sm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: clamp(10px, 1.4cqw, 15px); }
.sm-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: clamp(9px, 1.1cqw, 12px) clamp(10px, 1.1cqw, 13px);
  border: 1px solid rgba(26, 15, 10, 0.16);
  border-left: 4px solid #C81E1E;
  border-radius: 7px;
  background: #FFFFFF;
  text-align: left;
  cursor: pointer;
}
.sm-card:hover { background: #FFF2E1; }
.sm-card b { font-family: var(--font-display); font-size: clamp(12.5px, 1.02cqw, 14.5px); line-height: 1.2; }
.sm-card span { font-size: clamp(10.5px, 0.84cqw, 12px); font-weight: 600; color: #4A3328; line-height: 1.35; }

.sm-menu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px 14px;
  padding: clamp(12px, 1.6cqw, 18px) clamp(12px, 1.6cqw, 18px) 8px;
}
.sm-menu-head small {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 0.8cqw, 11px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9E1B1F;
}
.sm-menu-head h4 { margin: 2px 0 0; font-family: var(--font-display); font-size: clamp(18px, 1.75cqw, 23px); line-height: 1.12; color: #1A0F0A; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.sm-chip {
  border: 1px solid rgba(26, 15, 10, 0.18);
  background: #FFFFFF;
  padding: 6px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.76cqw, 10.5px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4A3328;
  cursor: pointer;
}
.sm-chip.is-on { background: #C81E1E; border-color: #C81E1E; color: #FFFFFF; }

.sm-dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 4px clamp(12px, 1.6cqw, 18px) 0; }
.sm-dish { padding: clamp(8px, 1cqw, 11px) clamp(9px, 1cqw, 12px); border-radius: 7px; background: #FFFFFF; border: 1px solid rgba(26, 15, 10, 0.13); }
.sm-dish span { font-family: var(--font-mono); font-size: clamp(8.5px, 0.7cqw, 9.5px); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9E1B1F; }
.sm-dish b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: clamp(12px, 0.98cqw, 14px); line-height: 1.18; color: #1A0F0A; }
.sm-dish p { margin: 2px 0 0; font-size: clamp(9.5px, 0.78cqw, 11px); line-height: 1.36; color: #4A3328; }
.sm-fine { padding: 8px clamp(12px, 1.6cqw, 18px) 11px; font-family: var(--font-mono); font-size: clamp(8.5px, 0.7cqw, 9.5px); line-height: 1.4; letter-spacing: 0.02em; color: #6E5546; }

.sm-loc-lead { margin: 0; font-size: clamp(10.5px, 0.84cqw, 12px); font-weight: 700; color: #4A3328; }
.sm-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 4px clamp(12px, 1.6cqw, 18px) 0; }
.sm-loc { padding: clamp(10px, 1.2cqw, 14px); border-radius: 8px; background: #FFFFFF; border: 1px solid rgba(26, 15, 10, 0.14); border-top: 3px solid #C81E1E; }
.sm-loc-kicker { font-family: var(--font-mono); font-size: clamp(8.5px, 0.7cqw, 9.5px); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9E1B1F; }
.sm-loc b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: clamp(13px, 1.05cqw, 15px); line-height: 1.15; }
.sm-loc p { margin: 3px 0 0; font-size: clamp(10px, 0.8cqw, 11.5px); line-height: 1.4; color: #4A3328; }
.sm-loc-actions { display: flex; gap: 6px; margin-top: 7px; }
.sm-loc-actions a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 6px;
  background: #F5B851;
  color: #1A0F0A;
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.74cqw, 10.5px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.sm-loc-actions a + a { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(26, 15, 10, 0.24); }

@container (max-width: 620px) {
  .sm-top { flex-wrap: wrap; gap: 6px 10px; }
  .sm-tabs { order: 3; width: 100%; margin-left: 0; border-top: 1px solid rgba(26, 15, 10, 0.1); padding-top: 6px; }
  .sm-tab { flex: 1; }
  .sm-order { margin-left: auto; }
  .sm-cards { grid-template-columns: 1fr; }
  .sm-hero { min-height: 240px; }
  .sm-hero-copy { max-width: 78%; }
  .sm-dish-grid { grid-template-columns: 1fr 1fr; }
  .sm-loc-grid { grid-template-columns: 1fr; }
}

/* === Mobile concept dialog === */
.mock-detail {
  width: min(430px, 94vw);
  max-height: 94dvh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #FFFFFF;
  overflow: visible;
}
.mock-detail::backdrop { background: rgba(5, 3, 2, 0.9); backdrop-filter: blur(9px); }
.mock-detail[open] { display: block; }
.mock-detail-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 94dvh;
  padding: 18px;
  border-radius: 24px;
  background: var(--carbon);
  border: 1px solid rgba(245, 184, 81, 0.34);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}
.mock-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mock-detail-head h3 { margin-top: 2px; font-family: var(--font-display); font-size: 24px; line-height: 1.1; color: #FFF; }
.detail-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: #FFF;
  cursor: pointer;
}

.phone-frame {
  position: relative;
  width: min(330px, 100%);
  margin: 0 auto;
  padding: 9px;
  border-radius: 32px;
  background: linear-gradient(155deg, #4A2A1B 0%, #180D09 45%, #2B1810 100%);
  box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 26px 60px rgba(0, 0, 0, 0.6);
}
.phone-notch { width: 88px; height: 7px; margin: 1px auto 7px; border-radius: 99px; background: #000; }
.mock-detail .phone-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
  padding: 7px 10px;
  border-radius: 20px 20px 0 0;
  background: #1D120D;
  border-bottom: 2px solid #C81E1E;
}
.mock-detail .phone-appbar img { width: 96px; height: 32px; padding: 2px 4px; border-radius: 5px; background: #FFF; object-fit: contain; }
.mock-detail .phone-appbar b { font-family: var(--font-display); font-size: 15px; color: #FFF; }
.phone-tabs { display: flex; background: #1D120D; padding: 0 8px 8px; gap: 4px; }
.phone-tab {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D8C8B8;
  cursor: pointer;
}
.phone-tab.is-on { background: #F5B851; color: #1A0F0A; }
.phone-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 58dvh;
  overflow-y: auto;
  padding: 12px;
  border-radius: 0 0 22px 22px;
  background: #FFF9F0;
  color: #1A0F0A;
}
.phone-panel { display: flex; flex-direction: column; gap: 8px; }
.phone-menu-head small { display: block; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9E1B1F; }
.phone-menu-head b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 20px; line-height: 1.12; color: #1A0F0A; }
.phone-dish { padding: 9px 10px; border-radius: 8px; background: #FFF; border: 1px solid rgba(26, 15, 10, 0.13); border-left: 3px solid #C81E1E; }
.phone-dish span { font-family: var(--font-mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9E1B1F; }
.phone-dish b { display: block; margin-top: 1px; font-family: var(--font-display); font-size: 14px; line-height: 1.2; color: #1A0F0A; }
.phone-dish p { margin: 2px 0 0; font-size: 11px; line-height: 1.38; color: #4A3328; }
.phone-cta {
  height: auto;
  min-height: 44px;
  margin-top: 2px;
  border: 0;
  border-radius: 9px;
  background: #F5B851;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1A0F0A;
  cursor: pointer;
}
.phone-loc-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.phone-loc { min-height: 40px; border-radius: 7px; border: 1px solid rgba(26, 15, 10, 0.2); background: #FFF; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: #4A3328; cursor: pointer; }
.phone-loc.is-on { background: #C81E1E; border-color: #C81E1E; color: #FFF; }
.phone-loc-card { padding: 11px; border-radius: 9px; background: #FFF; border: 1px solid rgba(26, 15, 10, 0.14); }
.phone-loc-card > span { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #9E1B1F; }
.phone-loc-card > b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 17px; line-height: 1.2; color: #1A0F0A; }
.phone-loc-card p { margin: 3px 0 0; font-size: 11.5px; line-height: 1.38; color: #4A3328; }
.phone-loc-actions { display: flex; gap: 6px; margin-top: 8px; }
.phone-call, .phone-directions {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  background: #F5B851;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1A0F0A;
}
.phone-directions { background: #FFF; box-shadow: inset 0 0 0 1px rgba(26, 15, 10, 0.24); }
.phone-body .phone-fine { margin: 0; font-family: var(--font-mono); font-size: 8.5px; line-height: 1.4; color: #6E5546; }
.detail-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: #D8C8B8; text-align: center; }

@media screen and (max-width: 980px) {
  .mock-detail { width: min(420px, 96vw); }
  .mock-detail-shell { padding: 15px; }
  .phone-body { max-height: 56dvh; }
}

@media screen and (max-width: 520px) {
  .hero-visual { height: 280px; min-height: 280px; }
  .cover-wordmark { display: none; }
  .cover-badge { width: 240px; height: 70px; }
  .cover-lockup { gap: 0; }
  .scene-hud { display: none; }
  .index-head { padding-bottom: 12px; }
  .index-grid { gap: 7px; margin-top: 12px; }
  .index-card { padding: 10px 12px; }
  .index-note { margin-top: 12px; padding-top: 10px; font-size: 10px; line-height: 1.5; }
  .mock-detail-shell { padding: 13px; }
  .phone-body { max-height: 48dvh; }
  .detail-note { font-size: 11.5px; }
  .scene-caption { bottom: 12px; max-width: 92%; padding: 6px 10px; }
  .scene-caption span { font-size: 9px; }
  .scene-caption b { font-size: 8px; }
  .header-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .header-wordmark b { font-size: 15px; letter-spacing: .02em; }
  .header-wordmark small { display: none; }
  .header-meta { display: none; }
  .header-logo-pill { width: 112px; height: 38px; }
  .cover-foot { flex-direction: column; align-items: flex-start; }
  .cover-foot .page { margin-left: 0; }
  .partner-contact-pills { flex-direction: column; }
  .audit-finding-head { display: block; }
  .audit-finding .src { display: block; max-width: 100%; text-align: left; margin-top: 2px; }
  .slide-foot { flex-wrap: wrap; gap: 4px 12px; }
  .slide-foot .page { margin-left: auto; }
  .exec-footer-bar span { text-align: left; }
  .case-viewport { height: 200px; }
  .partner-avatar-wrap { width: 138px; height: 138px; }
  .mock-detail { width: 96vw; }
  .phone-frame { width: 100%; }
}

@media screen and (max-width: 400px) {
  .sm-hero-copy { max-width: 88%; }
  .sm-top { padding: 8px 10px; }
  .sm-top img { height: 27px; }
  .sm-order { display: none; }
  .sm-tab { font-size: 11.5px; padding: 8px 6px; }
  .sm-dish-grid { grid-template-columns: 1fr; }
  .sm-menu-head { padding: 10px 10px 6px; }
  .sm-dish-grid { padding: 4px 10px 0; }
  .sm-cards { padding: 9px 10px; }
  .sm-loc-grid { padding: 4px 10px 0; }
  .sm-btn { font-size: 10.5px; }
}
