/* La Rana Mexican Food · Brandcore website proposal
   Agave & Fiesta Culinary Authority design system:
   Deep Cantina Charcoal (#110E0C / #1A1512 / #211B17), Warm Masa Paper (#FAF6F0 / #F0E8DC),
   Agave Gold (#F5B73B), and Salsa Rojo (#8F2412).
   Every text colour below is paired with its surface and measured at WCAG AAA
   (7:1+ body/small text, 4.5:1+ large display text). */

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-500-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/plus-jakarta-sans-400-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-400-normal.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --black: #000000;
  --carbon-0: #0A0807;
  --carbon: #110E0C;         /* deep charcoal slide */
  --carbon-1: #110E0C;
  --carbon-2: #1A1512;       /* elevated charcoal surface */
  --carbon-3: #261F1A;       /* raised */
  --paper: #FAF6F0;          /* warm masa paper slide */
  --paper-1: #FAF6F0;
  --paper-2: #F0E8DC;        /* paper card / muted */
  --paper-ink: #1A1410;

  --accent: #8F2412;         /* Salsa Rojo for light surfaces & borders (7.55:1+ on paper) */
  --accent-bright: #F5B73B;  /* Agave Gold for dark surfaces & highlights (10.6:1+ on carbon) */
  --accent-rgb: 245, 183, 59;

  --accent-gold-deep: #8F2412;
  --accent-ink: #721B0D;

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

.carbon {
  --bg: var(--carbon);
  --surface: #211B17;
  --line: rgba(255, 255, 255, 0.13);
  --ink: #FFFFFF;
  --ink-2: #EDE6DF;
  --ink-3: #D6CBC0;
  --em: var(--accent-bright);
  --rule: var(--accent-bright);
  --tile-shadow: 0 0 0 1px rgba(245, 183, 59, 0.38) inset, 0 10px 24px rgba(0, 0, 0, 0.5);
}
.paper {
  --bg: var(--paper);
  --surface: #FFFFFF;
  --line: rgba(26, 20, 16, 0.13);
  --ink: var(--paper-ink);
  --ink-2: #332922;
  --ink-3: #463930;
  --em: #8F2412;
  --rule: var(--accent);
  --tile-shadow: 0 0 0 1px rgba(143, 36, 18, 0.35) inset, 0 10px 22px rgba(26, 20, 16, 0.15);
}

*, *::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;
}

/* ------------------------------------------------------------------ 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(20px, 3vh, 36px) clamp(28px, 4vw, 68px);
  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(14px, 2.5vh, 28px);
}

.slide-body.two {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(26px, 3.4vw, 58px);
  align-items: center;
}

/* ------------------------------------------------------------------ header lockup: LOGO IS THE STAR */
.slide-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(10px, 1.5vh, 15px);
  border-bottom: 1px solid var(--line);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.2vw, 20px);
}

/* Clean rounded dark plaque for La Rana Mexican Food wide logo lockup */
.header-logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 60px;
  padding: 5px 14px;
  border-radius: 12px;
  background: #1B1210;
  border: 1.5px solid rgba(245, 183, 59, 0.45);
  box-shadow: var(--tile-shadow);
  flex: none;
}

.header-logo-pill img,
.cover-badge img,
.profile-logo-overlay img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.phone-appbar img {
  display: block;
  width: auto;
  height: 6.2cqw;
  object-fit: contain;
  border-radius: 1cqw;
  filter: none;
  opacity: 1;
}

.header-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.header-wordmark small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.header-meta::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rule);
}

/* ------------------------------------------------------------------ footer */
.slide-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(8px, 1.3vh, 14px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.page {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ type */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(4px, 0.8vh, 8px);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow::before, .kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rule);
  flex: none;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

h1 em, h2 em {
  display: block;
  font-style: normal;
  color: var(--em);
}

h1 {
  font-size: clamp(32px, min(3.1vw, 5.4vh), 54px);
  line-height: 1.03;
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(28px, min(2.6vw, 4.7vh), 50px);
  line-height: 1.06;
  letter-spacing: -0.026em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.lead {
  max-width: 60ch;
  margin-top: clamp(6px, 1vh, 12px);
  font-size: clamp(14.5px, min(1.08vw, 1.95vh), 18px);
  line-height: 1.5;
  color: var(--ink-3);
}

.num-chip {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: clamp(32px, 3.8vh, 38px);
  height: clamp(32px, 3.8vh, 38px);
  border-radius: 10px;
  background: var(--carbon-2);
  border: 1px solid rgba(245, 183, 59, 0.4);
  box-shadow: 0 0 0 1px rgba(245, 183, 59, 0.2) inset;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}

.paper .num-chip {
  background: var(--carbon);
  border: 1px solid rgba(143, 36, 18, 0.4);
  color: var(--accent-bright);
}

.num-chip.featured,
.exec-phase-card.featured .exec-phase-num {
  background: var(--accent-bright);
  color: #110E0C;
  font-weight: 800;
  border-color: var(--accent-bright);
  box-shadow: 0 4px 14px rgba(245, 183, 59, 0.35);
}

/* ------------------------------------------------------------------ slide 1: cover */
.slide.cover { display: none; padding: 0; }

.slide.cover.active,
.slide.cover.is-leaving {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
}

/* While the sign breaks, the cover stays on screen under the incoming slide (desktop only). */
@media screen and (min-width: 861px) {
  .slide.cover.is-leaving { opacity: 1; z-index: 1; pointer-events: none; transition: none; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(14px, 2vh, 24px) clamp(24px, 2.6vw, 44px) 64px clamp(28px, 4vw, 64px);
}

.cover-collab {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  margin-bottom: clamp(6px, 1vh, 12px);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.brandcore-collab-logo {
  display: block;
  height: clamp(22px, 2.6vh, 28px);
  width: auto;
}

.collab-sep {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-bright);
}

.collab-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EDE6DF;
}

.cover-lockup {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 22px);
  margin-bottom: clamp(6px, 1vh, 12px);
}

/* Rounded dark plaque for La Rana Mexican Food cover emblem */
.cover-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: auto;
  height: clamp(84px, 12.5vh, 120px);
  padding: 8px 20px;
  border-radius: 14px;
  background: #1B1210;
  border: 2px solid rgba(245, 183, 59, 0.45);
  box-shadow:
    0 0 0 2px rgba(245, 183, 59, 0.22) inset,
    0 16px 36px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(245, 183, 59, 0.18);
}

.cover-wordmark b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, min(1.9vw, 3.5vh), 34px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.cover-wordmark span {
  display: block;
  margin-top: clamp(4px, 0.8vh, 8px);
  font-size: clamp(13.5px, 0.95vw, 16.5px);
  font-weight: 600;
  color: #EDE6DF;
}

.cover-wordmark small {
  display: block;
  margin-top: clamp(6px, 0.8vh, 10px);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.8vw, 10px);
  margin-top: clamp(8px, 1.2vh, 14px);
  padding: 0;
  list-style: none;
}

.fact-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(13px, 0.88vw, 14.5px);
  font-weight: 600;
  color: #FFFFFF;
}

.fact-pills .ico { color: var(--em); font-size: 1.08em; }

.cover-foot {
  position: absolute;
  left: clamp(28px, 4vw, 64px);
  right: clamp(24px, 2.6vw, 44px);
  bottom: clamp(14px, 2.2vh, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(8px, 1.2vh, 12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.prepared-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #DFD5CB;
}

.prepared-by b { color: #FFFFFF; font-weight: 700; }

.prepared-by img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--accent-bright);
}

/* Right stage: desktop + mobile preview on laser floor */
.hero-visual {
  position: relative;
  overflow: hidden;
  container-type: size;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(227, 15, 37, 0.20) 0%, transparent 70%),
    radial-gradient(80% 60% at 80% 100%, rgba(47, 158, 91, 0.16) 0%, transparent 70%),
    #140F0D;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-flags {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5.2cqh;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2772%27 height=%2728%27 viewBox=%270 0 72 28%27%3E%3Cpath d=%27M1 0h22L12 26z%27 fill=%27%23E30F25%27/%3E%3Cpath d=%27M25 0h22L36 26z%27 fill=%27%23F5B73B%27/%3E%3Cpath d=%27M49 0h22L60 26z%27 fill=%27%232F9E5B%27/%3E%3C/svg%3E") repeat-x 0 0 / auto 100%;
  opacity: 0.92;
}

.stage-browser {
  position: absolute;
  z-index: 3;
  top: 11cqh;
  left: 5cqw;
  width: min(80cqw, 112cqh);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.browser-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  height: clamp(32px, 4.2vh, 40px);
  padding: 0 14px;
  background: #1A1512;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots { display: inline-flex; gap: 7px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.browser-dots i:nth-child(2) { background: #FEBC2E; }
.browser-dots i:nth-child(3) { background: #28C840; }

.browser-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  padding: 5px 18px;
  border-radius: 8px;
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: #EDE6DF;
}

.browser-tag {
  white-space: nowrap;
  justify-self: end;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #110E0C;
}

/* ---- native website concept (all sizes in cqw so it scales as one piece) */
.site {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 1.4;
  overflow: hidden;
  background: #FAF6F0;
  color: #1A1410;
  font-family: var(--font-body);
}
.site .ico { font-size: 1.1em; }
.site-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2.4cqw;
  height: 8.4cqw;
  padding: 0 3.4cqw;
  background: #1B1210;
}
.site-nav > img { display: block; height: 6cqw; width: auto; }
.site-nav .links { display: flex; gap: 2.6cqw; margin-left: auto; font-size: 1.8cqw; font-weight: 700; color: #EDE6DF; }
.site-nav .links .on { color: #F5B73B; box-shadow: 0 0.45cqw 0 #F5B73B; }
.site-flags { flex: none; height: 2.2cqw; background: #1B1210 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2772%27 height=%2728%27 viewBox=%270 0 72 28%27%3E%3Cpath d=%27M1 0h22L12 26z%27 fill=%27%23E30F25%27/%3E%3Cpath d=%27M25 0h22L36 26z%27 fill=%27%23F5B73B%27/%3E%3Cpath d=%27M49 0h22L60 26z%27 fill=%27%232F9E5B%27/%3E%3C/svg%3E") repeat-x 0 0 / auto 100%; }
.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8cqw;
  height: 4.4cqw;
  padding: 0 2cqw;
  border-radius: 0.9cqw;
  background: #B80F26;
  color: #FFFFFF;
  font-size: 1.75cqw;
  font-weight: 700;
  white-space: nowrap;
}
.site-btn.gold { background: #F5B73B; color: #1A1410; }
.site-btn.ghost { background: transparent; color: #FFFFFF; box-shadow: 0 0 0 0.22cqw rgba(255, 255, 255, 0.6) inset; }
.site-btn.ghost-dark { background: transparent; color: #1A1410; box-shadow: 0 0 0 0.22cqw rgba(26, 20, 16, 0.5) inset; }
.site-hero {
  display: grid;
  flex: none;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
  align-items: center;
  height: 31cqw;
  padding: 2.6cqw 3.4cqw;
  background: #1B1210;
  color: #FFFFFF;
}
.site-hero-copy { display: flex; flex-direction: column; gap: 1.5cqw; align-items: flex-start; }
.site-hero-copy small { font-size: 1.45cqw; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #F5B73B; }
.site-hero-copy b { font-family: var(--font-display); font-size: 4.6cqw; font-weight: 700; line-height: 1.04; }
.site-hero-copy p { margin: 0; font-size: 1.85cqw; line-height: 1.4; color: #EDE6DF; }
.site-actions { display: flex; gap: 1.2cqw; margin-top: 0.4cqw; }
.site-hero-photo { display: block; width: 100%; height: 26cqw; object-fit: cover; object-position: center 55%; border-radius: 1.2cqw; box-shadow: 0 1.5cqw 3cqw rgba(0, 0, 0, 0.5); }
.site-cards { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 1.4cqw; padding: 2.4cqw 3.4cqw 0; }
.site-cards h4, .site-menu-cols h4, .site-visit h4 { margin: 0; font-family: var(--font-display); font-size: 2.4cqw; font-weight: 700; }
.site-card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.site-card-row > div { padding: 1.6cqw; border-radius: 1cqw; background: #FFFFFF; box-shadow: 0 0 0 0.15cqw rgba(26, 20, 16, 0.12) inset; }
.site-card-row b { display: block; font-family: var(--font-display); font-size: 1.95cqw; }
.site-card-row p { margin: 0.6cqw 0; font-size: 1.55cqw; line-height: 1.35; color: #463930; }
.site-card-row u { font-size: 1.5cqw; font-weight: 700; color: #B80F26; }
.site-foot {
  display: flex;
  flex: none;
  justify-content: space-between;
  gap: 2cqw;
  padding: 1.1cqw 3.4cqw;
  background: #F0E8DC;
  font-size: 1.35cqw;
  font-weight: 600;
  color: #332922;
}
.site-title { display: flex; flex: none; align-items: center; gap: 3cqw; padding: 2.2cqw 3.4cqw; background: #1B1210; color: #FFFFFF; }
.site-title > b { font-family: var(--font-display); font-size: 4cqw; font-weight: 700; }
.site-tabs { display: flex; gap: 1.2cqw; margin-left: auto; }
.site-tabs i { padding: 0.9cqw 1.8cqw; border-radius: 99cqw; font-size: 1.6cqw; font-style: normal; font-weight: 700; box-shadow: 0 0 0 0.2cqw rgba(255, 255, 255, 0.45) inset; }
.site-tabs i.on { background: #F5B73B; color: #1A1410; box-shadow: none; }
.site-menu-grid { display: grid; flex: 1; min-height: 0; grid-template-columns: 1.55fr 1fr; gap: 3cqw; padding: 3cqw 3.4cqw 2cqw; }
.site-menu-cols { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 2.4cqw 2.6cqw; }
.site-menu-cols h4 { padding-bottom: 0.7cqw; border-bottom: 0.3cqw solid #B80F26; font-size: 2.1cqw; }
.site-menu-cols ul { margin: 0.9cqw 0 0; padding: 0; list-style: none; font-size: 1.8cqw; line-height: 1.65; color: #332922; }
.site-visit { align-self: start; display: flex; flex-direction: column; align-items: stretch; gap: 1.3cqw; padding: 2.2cqw; border-radius: 1.2cqw; background: #FFFFFF; box-shadow: 0 0 0 0.2cqw rgba(26, 20, 16, 0.14) inset; }
.site-visit p { margin: 0; font-size: 1.75cqw; line-height: 1.45; color: #332922; }
.site-visit small { font-size: 1.45cqw; line-height: 1.35; color: #463930; }

/* ---- native phone concept */
.stage-phone {
  position: absolute;
  z-index: 4;
  right: 3.5cqw;
  bottom: 9cqh;
  width: min(25cqw, 31cqh);
}
.dev-phone {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 9 / 18.4;
}
.dev-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 2.4cqw solid #1D1612;
  border-radius: 11cqw;
  background: #FAF6F0;
  color: #1A1410;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 30px 60px rgba(0, 0, 0, 0.55);
}
.dev-island { position: absolute; top: 2.4cqw; left: 50%; z-index: 5; width: 24cqw; height: 5cqw; border-radius: 99cqw; background: #000; transform: translateX(-50%); }
.ph-bar { display: flex; flex: none; align-items: center; justify-content: space-between; height: 21cqw; padding: 8cqw 5cqw 1.5cqw; background: #1B1210; color: #FFFFFF; font-size: 7cqw; }
.ph-bar img { display: block; height: 10cqw; width: auto; }
.ph-hero { display: flex; flex: none; flex-direction: column; gap: 2cqw; padding: 5cqw 6cqw; background: #B80F26; color: #FFFFFF; }
.ph-hero small { font-size: 4.2cqw; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #FFD27A; }
.ph-hero b { font-family: var(--font-display); font-size: 8.2cqw; line-height: 1.1; }
.ph-title { flex: none; padding: 4.5cqw 6cqw 2cqw; font-family: var(--font-display); font-size: 8.6cqw; font-weight: 700; }
.ph-body { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 2.8cqw; padding: 4.5cqw 5cqw; }
.ph-btn { display: flex; flex: none; align-items: center; justify-content: center; gap: 2cqw; height: 13cqw; border-radius: 3.4cqw; font-size: 5.1cqw; font-weight: 700; }
.ph-btn.red { background: #B80F26; color: #FFFFFF; }
.ph-btn.line { color: #1A1410; box-shadow: 0 0 0 0.6cqw rgba(26, 20, 16, 0.5) inset; }
.ph-row { display: flex; flex: none; align-items: center; justify-content: space-between; padding: 3.2cqw 4cqw; border-radius: 3cqw; background: #FFFFFF; font-size: 5.1cqw; font-weight: 700; box-shadow: 0 0 0 0.4cqw rgba(26, 20, 16, 0.12) inset; }
.ph-chips { display: flex; flex: none; gap: 2cqw; padding: 0 5cqw; }
.ph-chips i { padding: 2cqw 3.6cqw; border-radius: 99cqw; font-size: 4.6cqw; font-style: normal; font-weight: 700; box-shadow: 0 0 0 0.5cqw rgba(26, 20, 16, 0.4) inset; }
.ph-chips i.on { background: #B80F26; color: #FFFFFF; box-shadow: none; }
.ph-item { display: flex; flex: none; flex-direction: column; gap: 0.6cqw; padding-bottom: 2.6cqw; border-bottom: 0.4cqw solid rgba(26, 20, 16, 0.14); }
.ph-item b { font-size: 5.6cqw; }
.ph-item small { font-size: 4.4cqw; color: #463930; }
.ph-dock { display: flex; flex: none; justify-content: space-around; padding: 3cqw 2cqw 5cqw; background: #1B1210; color: #FFFFFF; font-size: 4.4cqw; font-weight: 700; }
.ph-dock span { display: flex; flex-direction: column; align-items: center; gap: 1cqw; }
.ph-dock .ico { font-size: 6.4cqw; color: #F5B73B; }
.ph-field { display: flex; flex: none; flex-direction: column; gap: 1.6cqw; }
.ph-field small { font-size: 4.4cqw; font-weight: 700; color: #332922; }
.ph-field i { display: block; height: 10.5cqw; border-radius: 2.6cqw; background: #FFFFFF; box-shadow: 0 0 0 0.5cqw rgba(26, 20, 16, 0.3) inset; }
.ph-note { font-size: 4.2cqw; line-height: 1.35; color: #463930; }

.visual-caption {
  position: absolute;
  left: 5cqw;
  bottom: 4cqh;
  z-index: 5;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(17, 14, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EDE6DF;
}

/* ------------------------------------------------------------------ slide 2: foundation (paper) */
.foundation .narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.foundation .narrative-col h2 {
  font-size: clamp(28px, 2.3vw, 44px);
  line-height: 1.08;
}

.foundation .narrative-col .lead {
  margin-top: clamp(6px, 0.9vh, 12px);
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.48;
}

.narrative-pillars {
  display: grid;
  gap: clamp(6px, 0.9vh, 10px);
  margin-top: clamp(8px, 1.2vh, 14px);
}

.pillar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: clamp(8px, 1vh, 12px) clamp(12px, 1.1vw, 16px);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(26, 20, 16, 0.06);
}

.pillar-num { background: var(--carbon); color: var(--accent-bright); }

.pillar-card h3 {
  font-size: clamp(15px, 1.05vw, 17.5px);
  line-height: 1.2;
  color: var(--ink);
}

.pillar-card p {
  margin-top: 3px;
  font-size: clamp(13px, min(0.88vw, 1.45vh), 14.5px);
  line-height: 1.38;
  color: var(--ink-3);
}

.showcase-col { display: flex; flex-direction: column; justify-content: center; }

.profile-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  border: 1px solid rgba(26, 20, 16, 0.14);
  box-shadow:
    0 30px 60px rgba(26, 20, 16, 0.12),
    0 0 0 1px rgba(143, 36, 18, 0.18) inset;
}

.profile-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: var(--carbon);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  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(150px, 26vh, 250px);
  background: #110E0C;
  overflow: hidden;
}

.profile-photo-strip > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.profile-photo-strip > img.pos-store { object-position: center 18%; }

/* Rounded dark plaque for La Rana Mexican Food profile logo overlay */
.profile-logo-overlay {
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: auto;
  height: 54px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid rgba(245, 183, 59, 0.45);
  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(20px, 1.65vw, 26px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--paper-ink);
}

.profile-name span {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.profile-dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vh, 16px) clamp(14px, 1.6vw, 20px);
  margin-top: clamp(10px, 1.4vh, 16px);
  padding-top: clamp(10px, 1.4vh, 16px);
  border-top: 1px solid rgba(26, 20, 16, 0.1);
}

.profile-dl-grid dt {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.profile-dl-grid dt svg {
  margin-right: 6px;
  color: var(--accent);
}

.profile-dl-grid dd {
  margin: 6px 0 0;
  font-size: clamp(14px, 0.98vw, 15.5px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--paper-ink);
}

/* ------------------------------------------------------------------ slide 3: customer journey (carbon) */
.slide-body.stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.6vh, 28px);
}

.journey-head,
.proof-head,
.exec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: end;
}

.journey-head h2 {
  font-size: clamp(25px, min(2.2vw, 4vh), 38px);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
}

.diagnostic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.15vh, 12px);
  padding: clamp(14px, 1.8vh, 19px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.diag-head { display: flex; align-items: center; gap: 12px; }

.diag-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.diag-ico {
  margin-left: auto;
  font-size: clamp(22px, 2.8vh, 28px);
  color: var(--em);
  stroke-width: 1.8;
}

/* Visual preview frame inside each Slide 3 card so there is NEVER a blank middle void */
.diag-thumb {
  position: relative;
  width: 100%;
  height: clamp(116px, 15.8vh, 150px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #110E0C;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.diag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.diag-thumb img.pos-sign { object-position: center 16%; }
.diag-thumb img.pos-banner { object-position: center 82%; }
.diag-thumb-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(17, 14, 12, 0.9);
  border: 1px solid rgba(245, 183, 59, 0.45);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.diagnostic-card h3 {
  font-size: clamp(17.5px, min(1.3vw, 2.25vh), 21.5px);
  line-height: 1.18;
  color: #FFFFFF;
}

.diagnostic-card p {
  font-size: clamp(14px, min(0.96vw, 1.7vh), 15.5px);
  line-height: 1.44;
  color: #EDE6DF;
}

.diag-meta-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: auto;
  padding: clamp(10px, 1.3vh, 13px) 14px;
  border-radius: var(--radius-sm);
  background: rgba(245, 183, 59, 0.1);
  border: 1px solid rgba(245, 183, 59, 0.35);
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.diag-meta-pill span { color: var(--accent-bright); text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; }
.diag-meta-pill b { color: #FFFFFF; font-weight: 700; }

/* ------------------------------------------------------------------ slide 4: website (paper) */
.slide-body.website-grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }

.website .narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.website .narrative-col h2 {
  font-size: clamp(28px, 2.3vw, 44px);
  line-height: 1.08;
}

.website .narrative-col .lead {
  margin-top: clamp(6px, 0.9vh, 12px);
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.48;
}

.concept-notes {
  display: grid;
  gap: clamp(6px, 0.8vh, 9px);
  margin-top: clamp(7px, 1vh, 11px);
}

.concept-note-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: clamp(7px, 0.9vh, 10px) clamp(11px, 0.95vw, 14px);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(26, 20, 16, 0.05);
}

.concept-note-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(14.5px, 1vw, 16.5px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
}

.concept-note-item p {
  margin-top: 2px;
  font-size: clamp(12.5px, min(0.85vw, 1.38vh), 14px);
  line-height: 1.34;
  color: var(--ink-3);
}

.mockup-col { display: flex; flex-direction: column; justify-content: center; }

.browser-window {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--carbon-0);
  border: 1px solid rgba(26, 20, 16, 0.18);
  box-shadow: 0 40px 80px rgba(26, 20, 16, 0.28);
}

.mockup-caption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ slide 5: proof */
.comparison {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
}

.case-frame {
  display: flex;
  flex-direction: column;
  width: calc(clamp(280px, 38vh, 400px) * 1.6);
  max-width: calc(50% - 12px);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
}

.case-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: #1A1512;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-url {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: #EDE6DF;
}

.case-tag {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-tag.before { background: #362C26; color: #FFFFFF; }
.case-tag.after { background: var(--accent-bright); color: #110E0C; font-weight: 700; }

.case-viewport {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vh, 400px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #FFFFFF;
}

.case-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform: none;
  transform-origin: center top;
}

.case-viewport.case-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 40px);
  padding: 14px 0;
  background: radial-gradient(90% 90% at 50% 0%, #FFE9C2 0%, #F3E4D0 100%);
}
.case-phones .dev-phone { width: auto; height: 100%; flex: none; }

.case-frame figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1A1512;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(14px, 0.98vw, 15.5px);
  font-weight: 500;
  color: #DFD5CB;
}

.case-frame figcaption span {
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ------------------------------------------------------------------ slide 6: roadmap (paper) */
.exec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.exec-head h2 { font-size: clamp(26px, min(2.45vw, 4.3vh), 42px); }

.exec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
  align-items: stretch;
}

.exec-phase-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 14px);
  padding: clamp(18px, 2.5vh, 26px) clamp(18px, 1.6vw, 26px);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid rgba(26, 20, 16, 0.1);
  box-shadow: 0 18px 40px rgba(26, 20, 16, 0.08);
}

.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.exec-duration-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.exec-phase-card h3 {
  min-height: 2.4em;
  font-size: clamp(19px, min(1.45vw, 2.5vh), 23px);
  line-height: 1.2;
  color: var(--paper-ink);
}

.exec-phase-card > p {
  font-size: clamp(15px, min(1.05vw, 1.85vh), 17px);
  line-height: 1.5;
  color: #463930;
}

.exec-deliverables {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: clamp(10px, 1.4vh, 14px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(26, 20, 16, 0.1);
}

.exec-deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: clamp(14px, min(0.98vw, 1.75vh), 15.5px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper-ink);
}

.exec-deliverables .ico {
  margin-top: 0.12em;
  font-size: 1.1em;
  stroke-width: 2.6;
  color: var(--accent);
}

.exec-phase-card.featured {
  background: var(--carbon);
  border-color: var(--carbon);
  box-shadow: 0 28px 60px rgba(26, 20, 16, 0.3);
}

.exec-phase-card.featured h3,
.exec-phase-card.featured .exec-deliverables li { color: #FFFFFF; }
.exec-phase-card.featured > p { color: #DFD5CB; }
.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: #110E0C; 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(26, 20, 16, 0.14);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #463930;
}

.exec-footer-bar span { padding: 13px 18px; text-align: center; }
.exec-footer-bar span + span { border-left: 1px solid rgba(26, 20, 16, 0.12); }
.exec-footer-bar b { margin-left: 6px; font-weight: 800; color: var(--paper-ink); }

/* ------------------------------------------------------------------ slide 7: close (LARGE LUIS PORTRAIT + AGAVE GOLD CTA) */
.slide-body.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: center;
}

.partner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 24px;
  align-items: center;
  margin-top: clamp(16px, 2.5vh, 26px);
  padding: clamp(18px, 2.5vh, 26px);
  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(148px, 19.5vh, 178px);
  height: clamp(148px, 19.5vh, 178px);
  overflow: hidden;
  border-radius: 20px;
  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 center;
  filter: none;
  opacity: 1;
}

.partner-meta-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.partner-name-heading {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  color: #FFFFFF;
}

.partner-role-sub {
  margin-top: 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.partner-quote {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-bright);
  font-size: clamp(14.5px, min(1.02vw, 1.8vh), 16.5px);
  line-height: 1.5;
  color: var(--ink-2);
}

.partner-contact-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.partner-pill .ico { color: var(--em); }

.partner-brand-signoff {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.partner-brand-logo {
  display: block;
  height: clamp(24px, 2.8vh, 30px);
  width: auto;
}

.partner-brand-address {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-align: right;
}

.concierge-col { display: flex; flex-direction: column; justify-content: center; }

.request {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
  padding: clamp(20px, 3vh, 32px) clamp(20px, 2vw, 32px);
  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, 183, 59, 0.2));
}

.request .kicker { margin-bottom: 0; }

.request h3 {
  font-size: clamp(30px, 2.4vw, 40px);
  line-height: 1.05;
  color: #FFFFFF;
}

.request > p {
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.5;
  color: #DFD5CB;
}

.screen-request { display: flex; flex-direction: column; gap: 12px; }

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.suggestions button {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  cursor: pointer;
}

.suggestions button:hover,
.suggestions button:focus-visible {
  background: var(--accent-bright);
  color: #110E0C;
  border-color: var(--accent-bright);
}

.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picker-col { display: flex; flex-direction: column; gap: 6px; }

.request label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.date-control { position: relative; display: block; }

.request input {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 6px 48px 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 14px;
  color: #FFFFFF;
  color-scheme: dark;
}

.request input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

.date-control #open-date,
.date-control #open-time {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  transform: translateY(-50%);
  cursor: pointer;
}

.date-control .date-icon { width: 19px; height: 19px; }

a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--accent-bright);
  box-shadow: 0 16px 32px rgba(245, 183, 59, 0.32);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #110E0C;
}

a#contact:hover {
  background: #E5A629;
  color: #110E0C;
}

.request small {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
}

.print-contact { display: none; }

/* ------------------------------------------------------------------ controls */
.controls {
  position: fixed;
  left: 50%;
  bottom: 6px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(17, 14, 12, 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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}

#counter {
  min-width: 46px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#play {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 999px 999px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: #EDE6DF;
}


#download-deck { text-decoration: none; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.partner-pill { text-decoration: none; }
.partner-pill:hover, .partner-pill:focus-visible { border-color: var(--accent-bright); background: #362C26; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

/* ------------------------------------------------------------------ desktop frame */
@media screen and (min-width: 861px) {
  html, body { height: 100%; overflow: hidden; }

  body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, #241C17 0%, #0A0807 100%);
  }

  #deck, .deck {
    width: min(96vw, 1640px);
    height: min(calc(91vh - 12px), 908px);
    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);
    transform: translateY(-10px);
  }

  .slide { height: 100%; min-height: 0; }
}

/* ------------------------------------------------------------------ compact height (1366x768) */
@media screen and (max-height: 820px) {
  .slide {
    padding: 14px 32px;
  }

  .slide-head {
    padding-bottom: 8px;
  }

  .slide-foot {
    padding-top: 6px;
  }

  .slide-body,
  .slide-body.stack {
    gap: 12px;
  }

  .hero-copy {
    gap: 6px;
    padding: 12px 24px 54px 32px;
  }

  .cover-badge {
    height: 76px;
    padding: 6px 14px;
  }

  .cover-lockup {
    margin-bottom: 4px;
  }

  .fact-pills {
    margin-top: 6px;
    gap: 6px;
  }

  .fact-pills li {
    padding: 5px 11px;
    font-size: 12.5px;
  }

  .profile-photo-strip {
    height: 150px;
  }

  .profile-main {
    padding: 12px 16px;
  }

  .profile-dl-grid {
    gap: 8px 12px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .diag-thumb {
    height: 108px;
  }

  .diagnostic-card {
    gap: 8px;
    padding: 12px 14px;
  }

  .diagnostic-card h3 {
    font-size: 17px;
  }

  .diagnostic-card p {
    font-size: 13.5px;
    line-height: 1.38;
  }

  .diag-meta-pill {
    padding: 7px 10px;
  }

  .case-viewport {
    height: 230px;
  }

  .exec-phase-card {
    gap: 8px;
    padding: 12px 16px;
  }

  .exec-phase-card h3 {
    min-height: 0;
    font-size: 17.5px;
  }

  .exec-phase-card > p {
    font-size: 13.5px;
    line-height: 1.38;
  }

  .exec-deliverables {
    gap: 5px;
    padding-top: 8px;
  }

  .exec-deliverables li {
    font-size: 13px;
  }

  .exec-footer-bar span {
    padding: 9px 12px;
  }

  .partner-card {
    margin-top: 10px;
    padding: 14px 18px;
    gap: 12px 16px;
  }

  .partner-avatar-wrap {
    width: 118px;
    height: 118px;
  }

  .partner-quote {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.4;
  }

  .partner-pill {
    padding: 7px 11px;
    font-size: 12px;
  }

  .partner-brand-signoff {
    padding-top: 10px;
  }

  .request {
    gap: 9px;
    padding: 16px 20px;
  }

  .request h3 {
    font-size: 26px;
  }

  .request input {
    height: 40px;
  }

  a#contact {
    padding: 12px 14px;
  }
}


/* ------------------------------------------------------------------ mobile reading layout */
@media screen and (max-width: 860px) {
  html, body { height: 100%; overflow: hidden; }
  .deck { width: 100%; height: calc(100dvh - 76px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
  .slide { display: none; position: static; inset: auto; height: auto; min-height: 100%; padding: 24px 20px; gap: 26px; overflow: visible; }
  .slide.active, .slide.cover.active { display: flex; flex-direction: column; }
  .slide.cover { padding: 0; }
  .slide-body, .slide-body.stack, .slide-body.two, .slide-body.close-grid { display: flex; flex-direction: column; align-items: stretch; gap: 26px; min-height: auto; }
  .hero-copy { padding: 26px 22px; gap: 16px; }
  .cover-collab { flex-wrap: wrap; border-radius: 12px; gap: 10px; padding: 10px; margin: 0; }
  .brandcore-collab-logo { height: 24px; }
  .collab-label { font-size: 10px; letter-spacing: .08em; }
  .cover-lockup { flex-direction: column; align-items: flex-start; gap: 16px; margin: 4px 0 0; }
  .cover-badge { height: 84px; padding: 6px 14px; }
  .cover-wordmark b { font-size: 28px; }
  .cover-wordmark span { font-size: 15px; line-height: 1.5; }
  .cover-wordmark small { font-size: 11px; letter-spacing: .04em; line-height: 1.6; }
  h1 { font-size: 38px; line-height: 1.12; }
  h2, .journey-head h2, .proof-head h2, .exec-head h2 { font-size: 30px; line-height: 1.16; }
  .lead { font-size: 16px; line-height: 1.6; }
  .eyebrow, .kicker { font-size: 11px; line-height: 1.6; letter-spacing: .08em; }
  .fact-pills { margin: 0; gap: 8px; }
  .fact-pills li { padding: 10px 12px; font-size: 13px; line-height: 1.5; }
  .cover-foot { position: static; margin-top: 10px; padding-top: 18px; align-items: flex-start; gap: 12px; }
  .prepared-by { font-size: 13px; line-height: 1.6; }
  .prepared-by img { flex: none; }
  .cover-foot .page { flex: none; padding-top: 12px; }
  .hero-visual { flex: none; width: 100%; height: 355px; border-left: 0; border-top: 1px solid var(--line); }
  .stage-browser { left: 4cqw; top: 6cqh; width: 92cqw; }
  .stage-phone { display: none; }
  .browser-bar { height: 30px; gap: 6px; padding: 0 8px; }
  .browser-dots { gap: 4px; }
  .browser-dots i { width: 7px; height: 7px; }
  .browser-url { font-size: 9px; padding: 4px; min-width: 0; }
  .browser-tag { font-size: 8px; padding: 4px; letter-spacing: 0; }
  .visual-caption { font-size: 9px; letter-spacing: .05em; left: 4cqw; bottom: 16px; }
  .slide-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 0 18px; }
  .header-brand { flex-wrap: wrap; gap: 14px; min-width: 0; }
  .header-logo-pill { height: 52px; }
  .header-wordmark b { font-size: 22px; line-height: 1.2; }
  .header-wordmark small { font-size: 10px; letter-spacing: .03em; line-height: 1.6; }
  .header-meta { font-size: 10px; letter-spacing: .05em; }
  .journey-head, .proof-head, .exec-head, .diagnostic-grid, .exec-cards-grid, .comparison { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .narrative-pillars, .concept-notes { gap: 12px; margin-top: 20px; }
  .pillar-card, .concept-note-item { padding: 16px; gap: 12px; }
  .pillar-card h3, .concept-note-item b, .diagnostic-card h3, .exec-phase-card h3 { font-size: 19px; line-height: 1.3; min-height: 0; }
  .pillar-card p, .concept-note-item p, .diagnostic-card p, .exec-phase-card > p { font-size: 15px; line-height: 1.6; }
  .profile-band { flex-wrap: wrap; gap: 6px; font-size: 9px; letter-spacing: .03em; }
  .profile-photo-strip { height: 180px; }
  .profile-main { padding: 20px; }
  .profile-dl-grid { grid-template-columns: 1fr; gap: 16px; }
  .profile-dl-grid dd { font-size: 15px; }
  .diagnostic-card { padding: 18px; gap: 14px; }
  .diag-thumb { height: 180px; }
  .diag-tag { font-size: 10px; letter-spacing: .03em; }
  .diag-thumb-badge { font-size: 9px; letter-spacing: .02em; }
  .diag-meta-pill { margin-top: 0; }
  .diag-meta-pill b { font-size: 12px; line-height: 1.5; }
  .mockup-caption { font-size: 10px; line-height: 1.6; letter-spacing: .04em; }
  .comparison { width: 100%; min-width: 0; }
  .case-frame { width: 100%; max-width: 100%; min-width: 0; }
  .case-viewport { height: auto; aspect-ratio: 1440 / 1000; }
  .case-viewport.case-phones { height: 340px; aspect-ratio: auto; gap: 12px; }
  .case-url { font-size: 9px; letter-spacing: .02em; }
  .case-bar { gap: 6px; padding: 0 10px; }
  .case-frame figcaption { display: block; font-size: 13px; line-height: 1.6; padding: 14px; }
  .case-frame figcaption span { display: block; margin-bottom: 4px; }
  .exec-phase-card { padding: 22px; gap: 16px; }
  .exec-deliverables li { font-size: 14px; line-height: 1.6; }
  .exec-footer-bar { display: grid; grid-template-columns: 1fr; }
  .exec-footer-bar span { padding: 14px; }
  .partner-card { display: flex; flex-direction: column; gap: 18px; padding: 20px; margin: 0; }
  .partner-avatar-wrap { width: 126px; height: 126px; }
  .partner-meta-kicker { font-size: 10px; line-height: 1.6; letter-spacing: .06em; }
  .partner-quote { font-size: 15px; line-height: 1.6; }
  .partner-contact-pills { display: flex; flex-direction: column; gap: 10px; }
  .partner-pill { min-height: 46px; font-size: 12px; padding: 12px; }
  .partner-brand-signoff { flex-direction: column; align-items: flex-start; gap: 14px; }
  .partner-brand-address { text-align: left; font-size: 10px; line-height: 1.6; letter-spacing: .03em; }
  .request { padding: 22px 18px; gap: 16px; }
  .request h3 { font-size: 30px; }
  .request > p { font-size: 15px; line-height: 1.6; }
  .suggestions, .picker-grid { grid-template-columns: 1fr; gap: 12px; }
  .suggestions button, .request input { min-height: 48px; }
  .date-control #open-date, .date-control #open-time { width: 44px; height: 44px; right: 3px; }
  a#contact { min-height: 48px; font-size: 11px; line-height: 1.6; letter-spacing: .06em; text-align: center; padding: 14px 10px; }
  .slide-foot { flex-wrap: wrap; gap: 10px; padding-top: 18px; font-size: 9px; letter-spacing: .04em; line-height: 1.6; }
  .controls { left: 0; bottom: 0; width: 100%; height: 66px; border-radius: 0; justify-content: center; gap: 1px; transform: none; padding: 6px 4px 10px; background: #110E0C; }
  .controls button, .controls a { min-height: 44px; padding: 8px; }
  #prev, #next { min-width: 44px; }
  #counter { min-width: 42px; font-size: 11px; }
  #play { font-size: 9px; letter-spacing: .02em; padding-left: 8px; }
  #download-deck { font-size: 10px; }
}

/* ==================================================================
   2026-10-31 author pass — logo-led ceramic cover, audit, services,
   engagement, readable fluid type, tablet/mobile reflow.
   ================================================================== */

/* ---- cover stage: authentic mark as a painted talavera plaque ---- */
.hero-stage3d {
  background:
    radial-gradient(62% 48% at 52% 42%, rgba(214, 104, 46, 0.28) 0%, rgba(143, 36, 18, 0.10) 46%, transparent 74%),
    radial-gradient(90% 70% at 80% 100%, rgba(46, 107, 58, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #17100D 0%, #100C0A 60%, #0B0807 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stage3d::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(70% 70% at 50% 45%, transparent 40%, rgba(8, 6, 5, 0.55) 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}
.hero-stage3d::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 18%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(50% 100% at 50% 100%, rgba(255, 168, 92, 0.20), transparent 72%);
  filter: blur(6px);
}
.stage-halo {
  position: absolute;
  inset: 6% 4%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 120, 0.20), transparent 72%);
  filter: blur(8px);
}
#hero-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#hero-scene.is-ready { opacity: 1; }
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8%;
}
#hero-scene[data-webgl="unavailable"] + .hero-fallback { display: flex; }
#hero-scene[data-webgl="unavailable"] ~ .visual-caption { display: none; }
.seal-plaque {
  position: relative;
  width: min(86%, 560px);
  aspect-ratio: 1024 / 624;
  display: grid;
  place-items: center;
  padding: 9% 11%;
  border-radius: 26px;
  /* dark enamel field: the mark's cream tagline and red lettering are drawn to be read on dark */
  background: linear-gradient(180deg, #241914 0%, #120B08 100%);
  border: 9px solid #8F2412;
  box-shadow:
    0 0 0 5px #E9D5B2,
    0 0 0 7px rgba(46, 107, 58, 0.55),
    0 34px 70px rgba(0, 0, 0, 0.62),
    0 0 60px rgba(214, 104, 46, 0.28),
    inset 0 0 0 3px rgba(245, 183, 59, 0.5);
}
.seal-plaque img { display: block; width: 100%; height: auto; }
/* papel picado pennants above the fallback sign (the WebGL scene draws its own punched flags) */
.hero-fallback::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(18px, 5%, 34px);
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2772%27 height=%2728%27 viewBox=%270 0 72 28%27%3E%3Cpath d=%27M1 0h22L12 26z%27 fill=%27%23D1342B%27/%3E%3Cpath d=%27M25 0h22L36 26z%27 fill=%27%23F5B73B%27/%3E%3Cpath d=%27M49 0h22L60 26z%27 fill=%27%232F9E5B%27/%3E%3C/svg%3E") repeat-x 0 0 / auto 100%;
  opacity: 0.9;
}
.seal-ring {
  position: absolute;
  width: min(96%, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(245, 183, 59, 0.24);
  box-shadow: 0 0 0 1px rgba(245, 183, 59, 0.08) inset;
  pointer-events: none;
}
.hero-stage3d .visual-caption {
  left: 50%;
  bottom: clamp(16px, 2.8vh, 26px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(17, 14, 12, 0.72);
  border-color: rgba(245, 183, 59, 0.24);
  color: #F3E7D8;
}
#boom-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(46% 38% at 52% 46%, #FFF6E4 0%, rgba(255, 214, 158, 0.85) 34%, rgba(214, 104, 46, 0.25) 62%, transparent 78%);
  mix-blend-mode: screen;
}
#boom-flash.is-live { animation: boomFlash 0.62s cubic-bezier(.16,.84,.24,1) both; }
@keyframes boomFlash {
  0% { opacity: 0; transform: scale(0.55); }
  10% { opacity: 0.95; transform: scale(1); }
  38% { opacity: 0.5; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.16); }
}
.hero-stage3d.is-shaking { animation: stageShake 0.5s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes stageShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  12% { transform: translate3d(-9px, 6px, 0) rotate(-0.35deg); }
  26% { transform: translate3d(8px, -7px, 0) rotate(0.3deg); }
  42% { transform: translate3d(-6px, -3px, 0); }
  58% { transform: translate3d(5px, 5px, 0); }
  74% { transform: translate3d(-3px, 2px, 0); }
  90% { transform: translate3d(2px, -1px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  #hero-scene.is-ready { transition: none; }
  .hero-stage3d.is-shaking { animation: none; }
  #boom-flash.is-live { animation: none; opacity: 0; }
  .slide { transition: none; }
  .slide.active { transition: none; }
}

/* ---- audit slide ---- */
.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 2.6vw, 46px);
  align-items: start;
}
.audit-intro { display: flex; flex-direction: column; gap: clamp(8px, 1.1vh, 14px); min-width: 0; }
.audit-intro h2 { max-width: 22ch; font-size: clamp(30px, 2.55vw, 46px); line-height: 1.1; }
.audit-intro .lead { max-width: 42ch; }
.audit-evidence {
  display: grid;
  grid-template-columns: minmax(96px, 126px) minmax(0, 1fr);
  gap: clamp(12px, 1.3vw, 20px);
  align-items: center;
  margin-top: clamp(4px, 1vh, 10px);
}
.phone-frame {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: 24px;
  border: 5px solid #241C17;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 9px;
  border-radius: 99px;
  background: #241C17;
  transform: translateX(-50%);
}
.audit-evidence-copy { display: flex; flex-direction: column; gap: 6px; }
.audit-evidence-copy b {
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 0.82vw, 14.5px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.audit-evidence-copy p { font-size: clamp(15px, 0.98vw, 18px); line-height: 1.5; color: var(--ink-3); }
.source-note {
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.74vw, 13px);
  line-height: 1.5;
  color: #B4AB9B;
}
.finding-list { display: flex; flex-direction: column; gap: clamp(7px, 1vh, 11px); margin: 0; padding: 0; list-style: none; }
.finding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(10px, 1vw, 16px);
  align-items: start;
  padding: clamp(11px, 1.35vh, 16px) clamp(12px, 1.1vw, 18px);
  border-radius: 14px;
  background: #211B17;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 3px solid rgba(245, 183, 59, 0.5);
}
.finding:has(.sev.high) { border-left-color: #E2563C; }
.finding:has(.sev.med) { border-left-color: #F5B73B; }
.finding:has(.sev.low) { border-left-color: #7FB08A; }
.sev {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 0.68vw, 12px);
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sev.high { background: rgba(226, 86, 60, 0.20); color: #FFB4A2; }
.sev.med { background: rgba(245, 183, 59, 0.18); color: #FFD98A; }
.sev.low { background: rgba(127, 176, 138, 0.18); color: #B7DCC0; }
.finding b { display: block; font-family: var(--font-display); font-size: clamp(17px, 1.16vw, 21px); line-height: 1.25; color: #FFFFFF; }
.finding p { margin: 4px 0 0; font-size: clamp(14.5px, 0.96vw, 17.5px); line-height: 1.45; color: #D6CBC0; }
.finding .src {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 0.68vw, 12px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #B4AB9B;
}

/* ---- services slide ---- */
.services-head, .engagement-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: end;
}
.services-head h2, .engagement-head h2 { max-width: 20ch; }
.services-head .lead, .engagement-head .lead { max-width: 46ch; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(14px, 1.5vw, 22px);
  border-radius: 15px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 20, 16, 0.12);
  box-shadow: 0 8px 20px rgba(26, 20, 16, 0.06);
}
.service-ico {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1B1210;
  color: var(--accent-bright);
  font-size: 19px;
}
.service-card h3 { font-family: var(--font-display); font-size: clamp(18px, 1.35vw, 24px); line-height: 1.2; color: var(--ink); }
.service-card p { font-size: clamp(15px, 0.98vw, 18px); line-height: 1.45; color: var(--ink-3); }
.services-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(8px, 1.2vh, 14px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.78vw, 13.5px);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.services-foot b { color: var(--ink); }

/* ---- engagement slide ---- */
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); align-items: stretch; }
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 1.7vw, 24px);
  border-radius: 16px;
  background: #211B17;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tier-index { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent-bright); }
.tier-card h3 { font-family: var(--font-display); font-size: clamp(21px, 1.6vw, 28px); line-height: 1.15; color: #FFFFFF; }
.tier-for { font-size: clamp(14px, 0.9vw, 16px); line-height: 1.4; color: #D6CBC0; }
.tier-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tier-card li { position: relative; padding-left: 18px; font-size: clamp(14.5px, 0.95vw, 17px); line-height: 1.4; color: #EDE6DF; }
.tier-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }
.tier-card.featured { background: var(--paper); border-color: transparent; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.tier-card.featured h3 { color: var(--paper-ink); }
.tier-card.featured .tier-for, .tier-card.featured li { color: #332922; }
.tier-card.featured .tier-index { color: #8F2412; }
.tier-card.featured li::before { background: #8F2412; }
.tier-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--accent-bright);
  color: #1A1410;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.engagement-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(8px, 1.2vh, 14px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.78vw, 13.5px);
  letter-spacing: 0.04em;
  color: #D6CBC0;
}
.engagement-foot b { color: #FFFFFF; }

/* ---- mockup actions + readable concept dialog ---- */
.mockup-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.mockup-actions .mockup-caption { margin: 0; }
.concept-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(143, 36, 18, 0.4);
  background: #FFFFFF;
  color: #8F2412;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.concept-open:hover { background: #8F2412; color: #FFFFFF; }
dialog#concept-dialog {
  width: min(1120px, 92vw);
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: auto;
}
dialog#concept-dialog::backdrop { background: rgba(8, 6, 5, 0.72); backdrop-filter: blur(3px); }
.concept-detail { padding: clamp(20px, 2.4vw, 34px); }
.cd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(26, 20, 16, 0.16); }
.cd-head h3 { font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 36px); line-height: 1.1; }
.cd-close {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(26, 20, 16, 0.25);
  background: transparent;
  color: #1A1410;
  font-size: 20px;
  cursor: pointer;
}
.cd-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.45fr); gap: clamp(14px, 1.6vw, 24px); padding: 22px 0 16px; }
.cd-grid h4 { font-family: var(--font-display); font-size: clamp(17px, 1.2vw, 21px); padding-bottom: 6px; border-bottom: 3px solid #8F2412; }
.cd-grid ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: clamp(15px, 1vw, 17px); line-height: 1.4; color: #332922; }
.cd-grid aside { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: #FFFFFF; border: 1px solid rgba(26, 20, 16, 0.14); }
.cd-grid aside p { font-size: clamp(14.5px, 0.95vw, 16.5px); line-height: 1.45; }
.cd-grid aside small { font-size: clamp(12.5px, 0.82vw, 14px); line-height: 1.45; color: #463930; }
.cd-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 8px; background: #B80F26; color: #FFFFFF; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cd-action.ghost { background: transparent; color: #1A1410; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.5) inset; }
.cd-note { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: #463930; }

/* ---- interactive site tabs ---- */
.site-tab {
  padding: 0.9cqw 1.8cqw;
  border: 0;
  border-radius: 99cqw;
  background: transparent;
  font-size: 1.6cqw;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 0 0 0.2cqw rgba(255, 255, 255, 0.45) inset;
  cursor: pointer;
}
.site-tab.on { background: #F5B73B; color: #1A1410; box-shadow: none; }
.site-menu-cols section.is-hidden { display: none; }

/* ---- closing slide: larger real portrait ---- */
.partner-agenda { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.partner-agenda li { position: relative; padding-left: 17px; font-size: clamp(14.5px, 0.96vw, 17px); line-height: 1.45; color: var(--ink-2); }
.partner-agenda li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }

/* ==================================================================
   Readability scale — substantive body 18-22 at 1600, 20-24 ultrawide,
   16+ at 1366; meaningful labels >= 13-14.
   ================================================================== */
@media screen and (min-width: 861px) {
  h1 { font-size: clamp(40px, 4.35vw, 78px); line-height: 1.04; }
  h2 { font-size: clamp(32px, 3.05vw, 56px); line-height: 1.08; }
  .journey-head h2, .proof-head h2, .exec-head h2 { font-size: clamp(30px, 2.85vw, 52px); line-height: 1.09; }
  .lead { font-size: clamp(16.5px, 1.14vw, 22px); line-height: 1.5; }
  .eyebrow, .kicker { font-size: clamp(12.5px, 0.8vw, 14.5px); line-height: 1.55; }
  .pillar-card h3, .concept-note-item b, .diagnostic-card h3, .exec-phase-card h3 {
    font-size: clamp(19.5px, 1.48vw, 26px); line-height: 1.22;
  }
  .pillar-card p, .concept-note-item p, .diagnostic-card p, .exec-phase-card > p {
    font-size: clamp(16px, 1.06vw, 19.5px); line-height: 1.48;
  }
  .exec-deliverables li { font-size: clamp(15px, 0.98vw, 17.5px); line-height: 1.45; }
  .diag-tag { font-size: clamp(12.5px, 0.78vw, 14px); }
  .diag-meta-pill span { font-size: clamp(11.5px, 0.72vw, 13px); }
  .diag-meta-pill b { font-size: clamp(14px, 0.92vw, 16.5px); }
  .profile-band { font-size: clamp(11px, 0.72vw, 13px); }
  .profile-dl-grid dd { font-size: clamp(14.5px, 0.95vw, 17.5px); line-height: 1.45; }
  .profile-name b { font-size: clamp(21px, 1.55vw, 27px); }
  .profile-name span { font-size: clamp(14px, 0.9vw, 16px); }
  .header-wordmark b { font-size: clamp(20px, 1.4vw, 25px); }
  .header-wordmark small { font-size: clamp(11.5px, 0.78vw, 14px); }
  .header-meta { font-size: clamp(11.5px, 0.78vw, 13.5px); }
  .slide-foot { font-size: clamp(11px, 0.74vw, 13px); }
  .num-chip { font-size: clamp(12.5px, 0.8vw, 14.5px); }
  .fact-pills li { font-size: clamp(13px, 0.86vw, 15.5px); }
  .prepared-by { font-size: clamp(13px, 0.86vw, 15px); }
  .case-frame figcaption { font-size: clamp(12.5px, 0.8vw, 14.5px); }
  .case-url { font-size: clamp(10.5px, 0.68vw, 12px); }
  .browser-tag { font-size: clamp(10.5px, 0.68vw, 12px); }
  .browser-url { font-size: clamp(11.5px, 0.76vw, 13.5px); }
  .mockup-caption { font-size: clamp(11px, 0.72vw, 12.5px); }
  .partner-meta-kicker { font-size: clamp(11.5px, 0.74vw, 13px); }
  .partner-name-heading { font-size: clamp(30px, 2.3vw, 40px); }
  .partner-role-sub { font-size: clamp(15px, 0.98vw, 18px); }
  .partner-pill { font-size: clamp(13px, 0.88vw, 15.5px); }
  .partner-brand-address { font-size: clamp(11.5px, 0.76vw, 13.5px); }
  .request > p { font-size: clamp(15.5px, 1vw, 18px); }
  .request h3 { font-size: clamp(30px, 2.3vw, 42px); }
  .suggestions button { font-size: clamp(13.5px, 0.9vw, 16px); }
  .picker-col label { font-size: clamp(12px, 0.78vw, 13.5px); }
  a#contact { font-size: clamp(13.5px, 0.9vw, 16px); }
  .concierge-col > small { font-size: clamp(12px, 0.8vw, 14px); }
  .exec-footer-bar span { font-size: clamp(11.5px, 0.78vw, 13.5px); }
  .exec-duration-pill { font-size: clamp(12px, 0.78vw, 14px); }
  .request input { font-size: clamp(14px, 0.94vw, 16px); }
}
@media screen and (min-width: 861px) and (max-height: 820px) {
  .lead { font-size: clamp(16px, 1.16vw, 18.5px); }
  .pillar-card h3, .concept-note-item b, .diagnostic-card h3, .exec-phase-card h3 { font-size: clamp(18px, 1.4vw, 21px); }
  .pillar-card p, .concept-note-item p, .diagnostic-card p, .exec-phase-card > p { font-size: 16px; line-height: 1.42; }
  .exec-deliverables li { font-size: 14.5px; }
  .diagnostic-card { padding: 11px 13px; gap: 7px; }
  .diagnostic-card h3 { font-size: 18px; }
  .diagnostic-card p { font-size: 16px; line-height: 1.38; }
  .exec-phase-card { padding: 12px 15px; gap: 7px; }
  .exec-phase-card h3 { font-size: 18px; }
  .exec-phase-card > p { font-size: 16px; line-height: 1.38; }
  .diag-thumb { height: 104px; }
  .case-viewport { height: 236px; }
  .profile-photo-strip { height: 142px; }
  .profile-dl-grid dd { font-size: 15.5px; }
  .profile-name b { font-size: 21px; }
  .partner-avatar-wrap { width: 132px; height: 132px; }
  .partner-pill { font-size: 13.5px; }
  .request { padding: 15px 18px; }
  .request h3 { font-size: 28px; }
  .service-card { padding: 12px 14px; gap: 6px; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 15.5px; line-height: 1.4; }
  .service-ico { width: 32px; height: 32px; font-size: 17px; }
  .tier-card { padding: 13px 15px; gap: 5px; }
  .tier-card h3 { font-size: 22px; }
  .tier-card p, .tier-card li { font-size: 15px; }
  .finding { padding: 9px 12px; }
  .finding b { font-size: 17.5px; }
  .finding p { font-size: 15px; line-height: 1.38; }
  .audit-evidence { grid-template-columns: minmax(80px, 118px) minmax(0, 1fr); }
  .audit-intro .lead, .services-head .lead, .engagement-head .lead { font-size: 16px; }
}

/* ---- tablet / phone reflow for the new sections ---- */
@media screen and (max-width: 860px) {
  .hero-stage3d { height: 340px; min-height: 340px; }
  #hero-scene { display: none; }
  .hero-fallback { display: flex; }
  .stage-halo { inset: 0; }
  .hero-stage3d .visual-caption { display: none; }
  .seal-plaque { width: min(88%, 460px); border-width: 6px; border-radius: 18px; }

  .audit-grid, .services-head, .engagement-head { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .slide-foot { font-size: 11.5px; line-height: 1.5; letter-spacing: .03em; }
  .audit-intro h2, .services-head h2, .engagement-head h2 { max-width: none; }
  .audit-evidence { grid-template-columns: 130px minmax(0, 1fr); }
  .finding-list { gap: 10px; }
  .finding { padding: 13px 14px; }
  .finding b { font-size: 19px; }
  .finding p { font-size: 16px; line-height: 1.5; }
  .finding .src { font-size: 11.5px; }
  .source-note { font-size: 12px; }
  .service-grid, .tier-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 16px 18px; }
  .service-card h3 { font-size: 21px; }
  .service-card p { font-size: 16.5px; line-height: 1.5; }
  .services-foot, .engagement-foot { flex-direction: column; gap: 6px; font-size: 12.5px; }
  .tier-card { padding: 18px; }
  .tier-card h3 { font-size: 24px; }
  .tier-card p, .tier-card li { font-size: 16px; }
  .tier-badge { position: static; align-self: flex-start; margin-bottom: 2px; }
  .mockup-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .concept-open { justify-content: center; min-height: 46px; font-size: 12px; }
  .cd-grid { grid-template-columns: 1fr 1fr; }
  .cd-grid aside { grid-column: 1 / -1; }
  .partner-agenda li { font-size: 16px; }
  dialog#concept-dialog { width: 94vw; max-height: 86vh; }
}
@media screen and (min-width: 600px) and (max-width: 860px) {
  .slide { padding: 32px 34px; gap: 30px; }
  .slide.cover.active { justify-content: flex-start; }
  .hero-stage3d { flex: 1 1 auto; height: auto; min-height: 270px; }
  .seal-plaque { width: min(70%, 440px); }
  h1 { font-size: clamp(46px, 7vw, 58px); }
  h2, .journey-head h2, .proof-head h2, .exec-head h2 { font-size: clamp(34px, 5vw, 44px); }
  .lead { font-size: 18px; }
  .pillar-card h3, .concept-note-item b, .diagnostic-card h3, .exec-phase-card h3 { font-size: 22px; }
  .pillar-card p, .concept-note-item p, .diagnostic-card p, .exec-phase-card > p { font-size: 17px; }
  .diagnostic-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .case-viewport { height: 320px; }
  .header-wordmark b { font-size: 24px; }
  .header-wordmark small { font-size: 12.5px; }
  .partner-avatar-wrap { width: 170px; height: 170px; }
}
@media screen and (max-width: 520px) {
  .hero-copy { padding: 16px 18px 14px; gap: 10px; }
  .cover-collab { padding: 8px 10px; gap: 8px; }
  .brandcore-collab-logo { height: 21px; }
  .collab-label { font-size: 9.5px; letter-spacing: .06em; }
  h1 { font-size: clamp(31px, 8.6vw, 38px); }
  .lead { font-size: 16px; line-height: 1.5; }
  .eyebrow, .kicker { font-size: 10.5px; }
  .fact-pills { gap: 6px; margin-top: 2px; }
  .fact-pills li { padding: 7px 10px; font-size: 12.5px; gap: 6px; }
  .cover-foot { margin-top: 2px; padding-top: 12px; }
  .prepared-by { font-size: 12px; gap: 9px; }
  .prepared-by img { width: 36px; height: 36px; }
  .cover-foot .page { padding-top: 8px; }
  .hero-stage3d { order: -1; height: 232px; min-height: 232px; border-top: 0; border-bottom: 1px solid var(--line); }
  .seal-plaque { width: min(84%, 330px); border-width: 5px; }
  .hero-stage3d .visual-caption { width: 92%; font-size: 9px; bottom: 10px; padding: 6px 8px; }
  .partner-avatar-wrap { width: 148px; height: 148px; }
}

/* ==================================================================
   2026-10-31 completion pass (Sonnet 5.5): photo-led interactive
   concept, UI vignettes on the guest path, audit evidence tidy-up,
   readable phone concepts. Kept in one block so it can be audited.
   ================================================================== */

/* ---- slide 5: the concept column sizes itself from the free height, so nothing collides with the footer ---- */
@media screen and (min-width: 861px) {
  .website-grid .mockup-col {
    container-type: size;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .website-grid .browser-window,
  .website-grid .mockup-actions { width: min(100cqw, calc((100cqh - 100px) * 1.4)); }
}
@media screen and (max-width: 860px) {
  .website-grid .browser-window,
  .website-grid .mockup-actions { width: 100%; }
}

.concept-points {
  display: grid;
  gap: clamp(8px, 1.3vh, 16px);
  margin: clamp(10px, 1.8vh, 20px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: cp;
}
.concept-points li { position: relative; padding-left: 46px; counter-increment: cp; }
.concept-points li::before {
  content: "0" counter(cp);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--carbon);
  border: 1px solid rgba(143, 36, 18, 0.4);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-bright);
}
.concept-points b { display: block; font-family: var(--font-display); font-size: clamp(18px, 1.35vw, 25px); line-height: 1.2; color: var(--ink); }
.concept-points span { display: block; margin-top: 2px; font-size: clamp(15.5px, 1.02vw, 19px); line-height: 1.42; color: var(--ink-3); }

/* ---- the concept itself: Home / Menu / Visit (all sizes in cqw, so it scales as one piece) ---- */
.site-app .site-nav .links { gap: 0.8cqw; }
.site-page-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.7cqw 0.6cqw;
  cursor: pointer;
}
.site-page-tab:hover { color: #FFFFFF; }
.site-app .site-nav .links .site-page-tab.on { color: #F5B73B; box-shadow: 0 0.45cqw 0 #F5B73B; }
.site-app button.site-btn { appearance: none; border: 0; cursor: pointer; }
.site-app button.site-btn.ghost { box-shadow: 0 0 0 0.22cqw rgba(255, 255, 255, 0.6) inset; }
.site-app .site-btn.muted { background: #D9D0C4; color: #463930; cursor: default; }
.site-app .site-page-tab:focus-visible,
.site-app .site-btn:focus-visible,
.site-app .site-tab:focus-visible,
.site-app .site-link:focus-visible { outline: 0.4cqw solid #F5B73B; outline-offset: 0.2cqw; }

.site-page { display: none; flex: 1; min-height: 0; flex-direction: column; }
.site-page.is-on { display: flex; }
.site-app .site-hero { height: 31cqw; }
.site-app .site-hero-copy { gap: 1.3cqw; }
.site-app .site-hero-copy b { font-size: 4.5cqw; }
.site-app .site-hero-copy p { font-size: 1.9cqw; }
.site-app .site-hero-photo { height: 25.6cqw; object-position: center 55%; }

.site-tiles {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6cqw;
  padding: 2.2cqw 3.4cqw 1.8cqw;
}
.site-tile {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1cqw;
  background: #FFFFFF;
  box-shadow: 0 0 0 0.15cqw rgba(26, 20, 16, 0.12) inset;
}
.site-tile > img { display: block; width: 100%; height: 10.4cqw; flex: none; object-fit: cover; object-position: center 42%; }
.site-tile > img.pos-banner { object-position: center 78%; }
.site-tile b { display: block; padding: 1.1cqw 1.5cqw 0; font-family: var(--font-display); font-size: 2.1cqw; line-height: 1.2; color: #1A1410; }
.site-tile span { display: block; padding: 0.5cqw 1.5cqw 0; font-size: 1.65cqw; line-height: 1.35; color: #463930; }
.site-tile-visit { background: #F0E8DC; padding-top: 1.1cqw; }
.site-tile-visit b { padding-top: 0.4cqw; }
.site-link { display: inline-block; margin: 0.9cqw 1.5cqw 0; font-size: 1.7cqw; font-weight: 700; color: #8F2412; text-decoration: underline; text-underline-offset: 0.3cqw; }

.site-visit-grid { display: grid; flex: 1; min-height: 0; grid-template-columns: 1fr 1fr; gap: 3cqw; padding: 3cqw 3.4cqw 2cqw; align-content: start; }
.site-visit-grid .site-visit { align-self: stretch; }
.site-visit .site-hours { font-size: 1.6cqw; line-height: 1.4; color: #463930; }
.site-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw; }
.site-fld { display: flex; flex-direction: column; gap: 0.6cqw; }
.site-fld small { font-size: 1.45cqw; font-weight: 700; color: #332922; }
.site-fld i { display: block; height: 3.8cqw; border-radius: 0.8cqw; background: #FFFFFF; box-shadow: 0 0 0 0.22cqw rgba(26, 20, 16, 0.3) inset; }

/* ---- slide 4: UI vignettes (replace photos; the photographs live in the concept) ---- */
.diag-thumb.diag-ui {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: clamp(112px, 16vh, 160px);
  padding: 10px 14px;
  background: #FAF6F0;
  border-color: rgba(143, 36, 18, 0.35);
  color: #1A1410;
}
.diag-ui .diag-thumb-badge { display: none; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chips i {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.4) inset;
}
.ui-chips i.on { background: #B80F26; color: #FFFFFF; box-shadow: none; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 9px; border-radius: 8px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.14) inset; }
.ui-row b { font-size: 14px; }
.ui-row small { font-size: 12px; color: #463930; }
.ui-addr { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #332922; }
.ui-addr .ico { color: #B80F26; }
.ui-btns { display: flex; gap: 8px; }
.ui-btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.ui-btn.red { background: #B80F26; color: #FFFFFF; }
.ui-btn.line { color: #1A1410; box-shadow: 0 0 0 1.5px rgba(26, 20, 16, 0.5) inset; }
.diag-thumb.ui-form { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 8px 10px; }
.ui-fld { display: flex; flex-direction: column; gap: 3px; }
.ui-fld small { font-size: 12px; font-weight: 700; color: #332922; }
.ui-fld i { display: block; height: 22px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 0 0 1.5px rgba(26, 20, 16, 0.3) inset; }

/* ---- slide 3: source tag shares the title line (saves ~24px per finding); enlarge the capture ---- */
.finding > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; }
.finding > div > b { grid-column: 1; }
.finding > div > p { grid-column: 1 / -1; }
.finding > div > .src { grid-column: 2; grid-row: 1; margin-top: 0; text-align: right; }
.audit-intro h2 { max-width: 24ch; }
.shot-open {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 38px;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(245, 183, 59, 0.5);
  background: transparent;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.76vw, 13px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.shot-open:hover { background: rgba(245, 183, 59, 0.14); }
dialog.shot-dialog {
  width: min(560px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: auto;
}
dialog.shot-dialog::backdrop { background: rgba(8, 6, 5, 0.72); backdrop-filter: blur(3px); }
.shot-detail { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.2vw, 28px); }
.shot-img { display: block; width: 100%; max-width: 390px; height: auto; margin: 0 auto; border-radius: 12px; border: 1px solid rgba(26, 20, 16, 0.2); }

/* ---- slide 6: phone concepts, larger type inside the same frames ---- */
.case-phones .ph-title { font-size: 9.6cqw; padding-bottom: 3cqw; }
.case-phones .ph-chips i { font-size: 5.4cqw; }
.case-phones .ph-item b { font-size: 7cqw; }
.case-phones .ph-item small { font-size: 5.4cqw; }
.case-phones .ph-field small { font-size: 5.6cqw; }
.case-phones .ph-field i { height: 11cqw; }
.case-phones .ph-btn { height: 14cqw; font-size: 6.2cqw; }
.case-phones .ph-note { font-size: 5cqw; }
.case-phones .ph-dock { font-size: 5.2cqw; }
.case-phones .ph-dock .ico { font-size: 7cqw; }

/* ---- later cuts: comal-heat seam with papel picado pennants (desktop only, added by deck.js) ---- */
.cut-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  width: 34%;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(90deg,
    rgba(255, 140, 60, 0) 0%, rgba(255, 140, 60, 0.14) 34%, rgba(255, 226, 160, 0.46) 48.5%,
    rgba(255, 246, 222, 0.82) 50%, rgba(255, 226, 160, 0.46) 51.5%, rgba(255, 140, 60, 0.14) 66%, rgba(255, 140, 60, 0) 100%);
}
.cut-seam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2772%27 height=%2728%27 viewBox=%270 0 72 28%27%3E%3Cpath d=%27M1 0h22L12 26z%27 fill=%27%23D1342B%27/%3E%3Cpath d=%27M25 0h22L36 26z%27 fill=%27%23F5B73B%27/%3E%3Cpath d=%27M49 0h22L60 26z%27 fill=%27%232F9E5B%27/%3E%3C/svg%3E") repeat-x 0 0 / auto 100%;
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) { .cut-seam { display: none; } }

/* ---- compact laptop heights: give the audit column breathing room under the header rule ---- */
@media screen and (min-width: 861px) and (max-height: 820px) {
  .audit-evidence { grid-template-columns: minmax(78px, 100px) minmax(0, 1fr); }
  .audit-intro h2 { font-size: clamp(28px, 2.3vw, 36px); }
  .concept-points li::before { width: 30px; height: 30px; }
  .concept-points li { padding-left: 42px; }
}
