/* Angelou's Mexican Grill × Brandcore — presentation stylesheet.
   One coherent system: warm comal darks, cream paper, the logo's crimson,
   agave green and brass. Every text colour is chosen for 7:1+ contrast on
   the surface it actually sits on (large display text 4.5:1+). */

@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif-4-var.woff2') format('woff2');
  font-weight: 200 900;
  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 {
  /* Surfaces */
  --night: #1A0F0B;
  --night-deep: #110906;
  --card: #2A1912;
  --card-line: rgba(243, 184, 78, 0.20);
  --paper: #FBF6EC;
  --linen: #F3E8D7;
  --sheet: #FFFCF6;
  --line-light: rgba(28, 19, 14, 0.13);

  /* Ink */
  --ink: #1C130E;          /* 16:1 on paper */
  --ink-2: #4A3A30;        /* 10:1 on paper, 8.9:1 on linen */
  --ivory: #FBF4EA;        /* 17:1 on night */
  --ivory-2: #DCCBBC;      /* 11:1 on night, 10:1 on card */

  /* Brand accents drawn from the Angelou's mark */
  --crimson: #B8212B;      /* logo red: large display text on light */
  --crimson-deep: #8E1A1C; /* small text on light: 8.4:1 paper, 7.5:1 linen */
  --agave: #0B5233;        /* logo green, deepened: 8.6:1 on paper */
  --brass: #B0803F;        /* logo outline: hairlines only */
  --gold: #F3B84E;         /* small text on dark: 10:1 */
  --ember: #F47A45;        /* display text on dark: 6.9:1 */

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --pad-x: clamp(36px, 3.7vw, 64px);
  --pad-top: clamp(16px, 2.5vh, 28px);
  --pad-bottom: clamp(64px, 8vh, 86px);
  --logo-h: clamp(58px, 8.2vh, 86px);
  --gap: clamp(14px, 2.3vh, 28px);
  --radius-lg: 18px;
  --radius-md: 13px;
  --radius-sm: 9px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--night-deep);
  color: var(--ivory);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure { margin: 0; }
button, a, input, summary { font: inherit; }
img { max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.icon, .calendar-icon, .clock-icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Deck & slide architecture ---------- */
.deck { position: relative; width: 100%; overflow: hidden; }

.slide {
  position: relative;
  display: none;
  height: 100vh;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 92% -12%, rgba(244, 122, 69, 0.13), transparent 62%),
    radial-gradient(900px 600px at -8% 112%, rgba(243, 184, 78, 0.07), transparent 60%),
    linear-gradient(160deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--ivory);
}
.slide.active {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
/* Centre the body of every slide between its header and the controls. */
.slide:not(.cover) > header + * { margin-top: auto; }
.slide:not(.cover)::after { content: ''; margin-top: auto; }

.slide.paper, .slide.linen {
  color: var(--ink);
  background:
    radial-gradient(1000px 560px at 96% -14%, rgba(243, 184, 78, 0.16), transparent 62%),
    var(--paper);
}
.slide.linen {
  background:
    radial-gradient(1000px 560px at 96% -14%, rgba(184, 33, 43, 0.07), transparent 62%),
    var(--linen);
}

/* ---------- Header: logo plate + typeset wordmark ---------- */
.slide > header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(10px, 1.5vh, 16px);
  border-bottom: 1px solid var(--card-line);
}
.slide.paper > header, .slide.linen > header { border-bottom-color: var(--line-light); }

.header-brand { display: inline-flex; align-items: center; gap: clamp(14px, 1.2vw, 20px); min-width: 0; }

/* The mark is a transparent PNG with black cutlery and crimson lettering, so it
   always sits on a warm ivory plate trimmed in the logo's own brass outline. */
.header-logo-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-h);
  padding: 5px 9px;
  border-radius: 13px;
  background: linear-gradient(180deg, #FFFDF8 0%, #F9F0E0 100%);
  border: 1px solid rgba(176, 128, 63, 0.62);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65), 0 8px 20px rgba(60, 30, 12, 0.14);
}
.slide:not(.paper):not(.linen) .header-logo-pill {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65), 0 0 0 4px rgba(243, 184, 78, 0.10), 0 12px 28px rgba(0, 0, 0, 0.45);
}
.header-logo-pill img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.header-wordmark { display: flex; flex-direction: column; gap: 5px; line-height: 1; min-width: 0; }
.header-wordmark b {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.7vh, 29px);
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ivory);
}
.header-wordmark small {
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.18vh, 12.5px);
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.slide.paper .header-wordmark b, .slide.linen .header-wordmark b { color: var(--ink); }
.slide.paper .header-wordmark small, .slide.linen .header-wordmark small { color: var(--agave); }

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.12vh, 12px);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-2);
  white-space: nowrap;
}
.header-tag {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(243, 184, 78, 0.12);
  border: 1px solid rgba(243, 184, 78, 0.34);
}
.slide.paper .header-meta, .slide.linen .header-meta { color: var(--ink-2); }
.slide.paper .header-tag, .slide.linen .header-tag {
  color: #7A1517; /* 8.5:1 on the tinted pill, paper and linen alike */
  background: rgba(184, 33, 43, 0.07);
  border-color: rgba(142, 26, 28, 0.28);
}

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.22vh, 13px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(8px, 1.3vh, 14px);
}
.kicker::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(244, 122, 69, 0.18);
}
.slide.paper .kicker, .slide.linen .kicker { color: var(--crimson-deep); }
.slide.paper .kicker::before, .slide.linen .kicker::before { background: var(--crimson); box-shadow: 0 0 0 3px rgba(184, 33, 43, 0.14); }

h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 620;
  letter-spacing: -0.016em;
  color: inherit;
}
h1 { font-size: clamp(38px, 5.5vh, 62px); line-height: 1.03; }
h1, h2, h3, .partner-name-heading { text-wrap: balance; }
p, .lead, li { text-wrap: pretty; }
h2 { font-size: clamp(29px, 4.15vh, 47px); line-height: 1.06; }
/* Accent lines are set in roman, coloured — no italic swashes. */
h1 em, h2 em { display: block; font-style: normal; font-weight: 560; color: var(--ember); }
.slide.paper h2 em, .slide.linen h2 em { color: var(--crimson); }

.lead {
  margin-top: clamp(10px, 1.6vh, 18px);
  max-width: 60ch;
  font-size: clamp(14.5px, 1.68vh, 18.5px);
  line-height: 1.55;
  color: var(--ivory-2);
}
.slide.paper .lead, .slide.linen .lead { color: var(--ink-2); }
.lead b.domain { font-weight: 700; color: var(--gold); }

/* ---------- Layout primitives ---------- */
.two, .close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 64px);
  align-items: center;
  min-height: 0;
}
.close-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
}
.split-head .lead { margin-top: 0; }

/* ---------- Numbered pillar list ---------- */
.pillar-list { display: grid; gap: clamp(8px, 1.1vh, 12px); margin-top: clamp(14px, 2.2vh, 24px); }
.pillar-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: clamp(10px, 1.35vh, 15px) 16px;
  border-radius: var(--radius-md);
  background: var(--sheet);
  border: 1px solid var(--line-light);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 18px rgba(60, 30, 12, 0.05);
}
.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--crimson-deep);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.pillar-item h3 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.95vh, 20px);
  font-weight: 640;
  line-height: 1.2;
  color: var(--ink);
  margin: 1px 0 3px;
}
.pillar-item p { font-size: clamp(13px, 1.42vh, 15px); line-height: 1.45; color: var(--ink-2); }

/* ---------- Slide 1: cover ---------- */
.slide.cover.active {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 0;
  padding: 0;
}
.cover-copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2.1vh, 24px);
  padding: clamp(24px, 4vh, 48px) clamp(28px, 3vw, 56px) clamp(64px, 8.4vh, 90px) var(--pad-x);
  min-width: 0;
}
/* Genuine Three.js: a faint drift of warm string-light bokeh behind the copy. */
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
}
.cover-brand { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 30px); }
.cover-logo-pill {
  --logo-h: clamp(122px, 19vh, 200px);
  padding: clamp(8px, 1.1vh, 12px) clamp(10px, 1.2vh, 14px);
  border-radius: 20px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.7), 0 0 0 6px rgba(243, 184, 78, 0.10), 0 24px 50px rgba(0, 0, 0, 0.5) !important;
}
.cover-lockup { display: flex; flex-direction: column; gap: clamp(4px, 0.8vh, 9px); min-width: 0; }
.cover-lockup b {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vh, 50px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ivory);
}
.cover-lockup span {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.5vh, 27px);
  font-weight: 560;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.cover-lockup small {
  margin-top: clamp(2px, 0.6vh, 6px);
  padding-top: clamp(6px, 1vh, 10px);
  border-top: 1px solid rgba(243, 184, 78, 0.3);
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.18vh, 12.5px);
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ivory-2);
}
.cover-copy h1 { margin-top: clamp(4px, 1vh, 12px); }
.cover-copy .lead { margin-top: 0; max-width: 54ch; font-size: clamp(14.5px, 1.72vh, 18.5px); }

.cover-telemetry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.telemetry-tile {
  padding: clamp(9px, 1.25vh, 13px) 14px;
  border-radius: var(--radius-sm);
  background: rgba(42, 25, 18, 0.88);
  border: 1px solid var(--card-line);
}
.telemetry-tile span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.telemetry-tile b { display: block; font-size: clamp(13px, 1.45vh, 15px); font-weight: 700; line-height: 1.3; color: var(--ivory); }
.cover-credit {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

/* Stage: the real storefront fills the column edge to edge, at full strength,
   with the proposed homepage floating over the pavement. */
.stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border-left: 1px solid rgba(176, 128, 63, 0.55);
}
.stage-photo { position: absolute; inset: 0; }
.stage-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 0%;
  opacity: 1;
  filter: none;
}
.stage-chip {
  position: absolute;
  z-index: 3;
  top: clamp(16px, 2.6vh, 28px);
  left: clamp(16px, 1.6vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 9, 6, 0.86);
  border: 1px solid rgba(243, 184, 78, 0.4);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
}
.stage-chip b { color: var(--gold); font-weight: 750; }
.stage-browser {
  position: absolute;
  z-index: 3;
  left: 7%;
  right: 7%;
  bottom: clamp(78px, 9.6vh, 100px);
  border-radius: 14px;
  overflow: hidden;
  background: #120A07;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 34px 80px rgba(0, 0, 0, 0.6), 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Browser chrome shared by the cover and slide 4 */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: clamp(32px, 3.9vh, 40px);
  padding: 0 14px;
  background: linear-gradient(180deg, #2B1B14, #20130E);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-chrome .dots { display: inline-flex; gap: 6px; flex: none; }
.browser-chrome .dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: #E5534B; }
.browser-chrome .dots i:nth-child(2) { background: #E9B949; }
.browser-chrome .dots i:nth-child(3) { background: #4FB47E; }
.browser-chrome .url {
  flex: 1;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.34);
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.18vh, 12.5px);
  letter-spacing: 0.04em;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-chrome .tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* nano-mockup.jpg carries its own browser tab bar, a grey matte and a half-cut
   second heading line. Crop to the website itself (x 42–1336, y 81–738 of
   1376×768) so there is one frame only and every visible line is whole. */
.crop-chrome { position: relative; overflow: hidden; aspect-ratio: 1294 / 657; background: #121212; }
.crop-chrome img {
  position: absolute;
  left: -3.246%;
  top: -12.33%;
  width: 106.34%;
  height: 116.89%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0%;
  opacity: 1;
  filter: none;
}

/* ---------- Slide 2: kitchen showcase ---------- */
.showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  color: var(--ivory);
  border: 1px solid rgba(176, 128, 63, 0.4);
  box-shadow: 0 30px 60px rgba(60, 30, 12, 0.24);
}
.food-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  height: clamp(190px, 27vh, 285px);
  overflow: hidden;
  background: var(--card);
}
.food-mosaic img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; opacity: 1; filter: none; }
.food-mosaic .food-a { grid-row: 1 / 3; object-position: 22% 50%; }
.food-mosaic .food-b { object-position: 50% 40%; }
.food-mosaic .food-c { object-position: 50% 55%; }
.mosaic-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 9, 6, 0.86);
  border: 1px solid rgba(243, 184, 78, 0.4);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.showcase-body { display: grid; gap: clamp(10px, 1.4vh, 14px); padding: clamp(14px, 1.9vh, 20px) clamp(16px, 1.3vw, 22px); }
.showcase-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.matrix-cell {
  padding: clamp(10px, 1.3vh, 14px) 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 244, 230, 0.10);
}
.matrix-cell span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.matrix-cell b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.85vh, 19px);
  font-weight: 640;
  color: var(--ivory);
}
.matrix-cell p { font-size: clamp(12.5px, 1.35vh, 14px); line-height: 1.42; color: var(--ivory-2); }
.showcase-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 244, 230, 0.12);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

/* ---------- Slide 3: customer journey ---------- */
.journey-grid, .exec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
  align-items: stretch;
}
.journey-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
  padding: clamp(16px, 2.3vh, 26px) clamp(16px, 1.4vw, 24px);
  border-radius: 16px;
  background: linear-gradient(180deg, #2F1C14 0%, var(--card) 100%);
  border: 1px solid var(--card-line);
  border-top: 3px solid var(--ember);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.journey-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.journey-step-tag {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.journey-status-pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 244, 230, 0.09);
  border: 1px solid rgba(255, 244, 230, 0.16);
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 1.02vh, 11px);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
}
.journey-card h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vh, 25px);
  font-weight: 640;
  line-height: 1.18;
  color: var(--ivory);
  margin-bottom: 6px;
}
.journey-card p { font-size: clamp(13.5px, 1.6vh, 16.5px); line-height: 1.52; color: var(--ivory-2); }
.journey-fix {
  margin-top: auto;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(243, 184, 78, 0.08);
  border-left: 3px solid var(--gold);
  font-size: clamp(12.5px, 1.42vh, 14.5px);
  line-height: 1.45;
  color: var(--ivory);
}
.journey-fix strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.06vh, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.journey-fix b { color: #FFFFFF; }
.slide-note {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

/* ---------- Slide 4: website showcase ---------- */
.slide.web .two { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.web-stage { display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.6vh, 16px); min-width: 0; }
.nano-browser-frame {
  width: min(100%, calc(clamp(300px, 42vh, 440px) * 1.9696));
  border-radius: 16px;
  overflow: hidden;
  background: #120A07;
  border: 1px solid rgba(176, 128, 63, 0.5);
  box-shadow: 0 40px 80px rgba(60, 30, 12, 0.3), 0 12px 28px rgba(60, 30, 12, 0.18);
}
.nano-browser-viewport.crop-chrome { aspect-ratio: auto; height: clamp(300px, 42vh, 440px); }
.web-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.web-caption span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sheet);
  border: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.12vh, 12px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson-deep);
}

/* ---------- Slide 5: local presence listing ---------- */
.local-presence-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  color: var(--ivory);
  border: 1px solid rgba(176, 128, 63, 0.4);
  box-shadow: 0 30px 60px rgba(60, 30, 12, 0.24);
}
.listing-photo { height: clamp(140px, 19vh, 210px); overflow: hidden; }
.listing-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 5%; opacity: 1; filter: none; }
.local-presence-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(12px, 1.6vh, 16px) clamp(16px, 1.3vw, 22px);
  border-bottom: 1px solid rgba(255, 244, 230, 0.12);
}
.listing-logo { --logo-h: clamp(52px, 6.6vh, 68px); margin-top: calc(clamp(52px, 6.6vh, 68px) * -0.55); box-shadow: 0 0 0 4px var(--card), 0 10px 22px rgba(0, 0, 0, 0.4) !important; }
.listing-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.listing-name b { font-family: var(--font-display); font-size: clamp(18px, 2.2vh, 23px); font-weight: 650; color: var(--ivory); line-height: 1.1; }
.listing-name span {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.listing-badge {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(243, 184, 78, 0.4);
  background: rgba(243, 184, 78, 0.1);
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 1.04vh, 11px);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
}
.local-presence-rows { display: grid; gap: 8px; padding: clamp(12px, 1.6vh, 18px) clamp(16px, 1.3vw, 22px) clamp(14px, 1.9vh, 20px); }
.local-presence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(8px, 1.1vh, 11px) 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 244, 230, 0.09);
}
.local-presence-row span { font-size: clamp(13px, 1.45vh, 15px); color: var(--ivory-2); }
.local-presence-row b {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vh, 12.5px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-align: right;
}

/* ---------- Slide 6: UFG Works before & after ---------- */
.comparison {
  --case-h: clamp(280px, 38vh, 400px);
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 36px);
}
.case-frame {
  width: calc(var(--case-h) * 1.6);
  max-width: calc(50% - 12px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 244, 230, 0.16);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}
.case-frame.after { border-color: rgba(243, 184, 78, 0.55); }
.case-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: clamp(32px, 3.7vh, 38px);
  padding: 0 14px;
  background: linear-gradient(180deg, #2B1B14, #20130E);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.15vh, 12px);
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory);
}
.case-bar strong { color: var(--gold); }
.case-viewport {
  position: relative;
  height: var(--case-h);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0E141B;
}
.case-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.035);
  transform-origin: center top;
  opacity: 1;
  filter: none;
}
.case-frame figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(9px, 1.2vh, 12px) 14px;
  background: #20130E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(12.5px, 1.4vh, 14.5px);
  color: var(--ivory);
}
.case-frame figcaption span {
  flex: none;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 244, 230, 0.1);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
}
.case-frame.after figcaption span { background: var(--gold); color: var(--night); }

/* ---------- Slide 7: launch roadmap ---------- */
.exec-phase-card {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 12px);
  padding: clamp(16px, 2.3vh, 26px) clamp(16px, 1.4vw, 24px);
  border-radius: 16px;
  background: linear-gradient(180deg, #2F1C14 0%, var(--card) 100%);
  border: 1px solid var(--card-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.exec-phase-card.featured {
  border-color: var(--ember);
  background: linear-gradient(180deg, #3A2116 0%, #2C1912 100%);
  box-shadow: 0 0 0 1px rgba(244, 122, 69, 0.4), 0 24px 50px rgba(0, 0, 0, 0.4);
}
.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.exec-phase-num {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vh, 12.5px);
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.exec-duration-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(243, 184, 78, 0.12);
  border: 1px solid rgba(243, 184, 78, 0.45);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.exec-phase-card.featured .exec-duration-pill { background: var(--gold); color: var(--night); border-color: var(--gold); }
.exec-phase-card h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vh, 25px);
  font-weight: 640;
  line-height: 1.18;
  color: var(--ivory);
}
.exec-phase-card > p { font-size: clamp(13.5px, 1.55vh, 16px); line-height: 1.5; color: var(--ivory-2); }
.exec-deliverables {
  list-style: none;
  display: grid;
  gap: clamp(6px, 0.9vh, 9px);
  margin: 2px 0 0;
  padding: clamp(10px, 1.4vh, 14px) 0 0;
  border-top: 1px solid rgba(255, 244, 230, 0.12);
}
.exec-deliverables li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(13px, 1.45vh, 15px);
  line-height: 1.42;
  color: var(--ivory);
}
/* Drawn check mark (border geometry, not a text glyph). */
.exec-deliverables li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.38em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.exec-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
}
.exec-footer-bar span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: clamp(8px, 1.1vh, 11px) 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 244, 230, 0.12);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.08vh, 11.5px);
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.exec-footer-bar b { font-family: var(--font-body); font-size: clamp(13px, 1.5vh, 15.5px); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ivory); }

/* ---------- Slide 8: partner sign-off ---------- */
.partner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 1.6vw, 26px);
  align-items: start;
  margin-top: clamp(14px, 2.2vh, 24px);
  padding: clamp(16px, 2.2vh, 24px) clamp(16px, 1.5vw, 26px);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--ivory);
  border: 1px solid rgba(176, 128, 63, 0.4);
  box-shadow: 0 26px 54px rgba(60, 30, 12, 0.22);
}
/* Edge-to-edge cover crop, no white framing. */
.partner-avatar-wrap {
  width: clamp(112px, 14.2vh, 140px);
  height: clamp(112px, 14.2vh, 140px);
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.partner-avatar-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 1;
  filter: none;
}
.partner-meta-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.partner-name-heading {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.2vh, 34px);
  font-weight: 640;
  line-height: 1.05;
  color: var(--ivory);
}
.partner-role-sub { margin-top: 4px; font-size: clamp(13px, 1.45vh, 15px); font-weight: 600; color: var(--ivory-2); }
.partner-quote {
  margin-top: clamp(8px, 1.2vh, 12px);
  font-family: var(--font-display);
  font-size: clamp(14.5px, 1.72vh, 18px);
  font-weight: 450;
  line-height: 1.45;
  color: var(--ivory);
}
.partner-contact-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(10px, 1.4vh, 14px); }
.partner-pill {
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(255, 244, 230, 0.08);
  border: 1px solid rgba(255, 244, 230, 0.16);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vh, 12.5px);
  font-weight: 650;
  color: var(--ivory);
}

.request {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 12px);
  padding: clamp(18px, 2.6vh, 28px) clamp(18px, 1.6vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--ivory);
  border: 1px solid rgba(176, 128, 63, 0.4);
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 60px rgba(60, 30, 12, 0.26);
}
.slide .request .kicker { color: var(--gold); margin-bottom: 0; }
.slide .request .kicker::before { background: var(--ember); }
.request h3 { font-family: var(--font-display); font-size: clamp(25px, 3.2vh, 34px); font-weight: 640; line-height: 1.08; color: var(--ivory); }
.request > p { font-size: clamp(13.5px, 1.55vh, 16px); line-height: 1.5; color: var(--ivory-2); }

#open-planner { display: none; }
#planner-fields { display: grid; gap: clamp(8px, 1.2vh, 12px); }
.suggestions, .picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggestions button {
  padding: clamp(9px, 1.25vh, 12px) 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 244, 230, 0.06);
  border: 1px solid rgba(255, 244, 230, 0.24);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.18vh, 12.5px);
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.suggestions button:hover { background: rgba(243, 184, 78, 0.16); }
.suggestions button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.picker-col { display: flex; flex-direction: column; gap: 6px; }
.request label {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vh, 11.5px);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-2);
}
.date-field { position: relative; display: flex; align-items: center; }
.request input {
  width: 100%;
  height: clamp(40px, 4.6vh, 46px);
  margin: 0;
  padding: 8px 46px 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 244, 230, 0.26);
  color: var(--ivory);
  color-scheme: dark;
  font-family: var(--font-mono);
  font-size: 13px;
}
.date-field input::-webkit-calendar-picker-indicator { opacity: 0; pointer-events: none; }
.date-field .calendar-trigger, .date-field .time-trigger {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.date-field .calendar-icon, .date-field .clock-icon { width: 20px; height: 20px; pointer-events: none; }
#selection, #picker-fallback {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.18vh, 12.5px);
  color: var(--gold);
}
a#draft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 1.25vh, 13px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
a#draft:hover { background: #F7C766; transform: translateY(-1px); }
.request small { font-size: clamp(11.5px, 1.25vh, 13px); line-height: 1.4; color: var(--ivory-2); }
.brand-signature { height: 22px; width: auto; align-self: flex-start; margin-top: 2px; }
.print-only { display: none; }

/* ---------- Folio & controls ---------- */
.folio {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(20px, 3vh, 32px);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ivory-2);
}
.slide.paper .folio, .slide.linen .folio { color: var(--ink-2); }
.slide.cover .folio {
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 9, 6, 0.86);
  color: var(--ivory);
}

.controls {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2vh, 22px);
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17, 9, 6, 0.94);
  border: 1px solid rgba(243, 184, 78, 0.3);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  color: var(--ivory);
}
.controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.controls button:hover { background: rgba(255, 244, 230, 0.1); }
#counter { min-width: 52px; text-align: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
#autoplay {
  border-left: 1px solid rgba(255, 244, 230, 0.2);
  border-radius: 0 999px 999px 0;
  padding-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--gold);
}
.controls button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Desktop: centred presentation frame ---------- */
@media screen and (min-width: 901px) {
  html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, #1D1410 0%, #080504 100%);
  }
  body {
    width: min(96vw, 1640px);
    height: min(91vh, 920px);
    margin: auto;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    border-radius: 18px;
    border: 1px solid rgba(176, 128, 63, 0.32);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.7);
  }
  .deck { height: 100%; }
  .slide { height: 100%; }
}

/* ---------- Tablet & phone: natural scrolling slides ---------- */
@media screen and (max-width: 900px) {
  .slide {
    height: auto;
    min-height: 100svh;
    padding: 84px 22px 40px;
    overflow: visible;
  }
  .slide:not(.cover) > header + * { margin-top: 0; }
  .slide:not(.cover)::after { display: none; }
  .slide > header { flex-wrap: wrap; }
  .slide.cover.active { display: flex; flex-direction: column; padding: 76px 0 0; }
  .cover-copy { padding: 8px 22px 28px; }
  .stage { height: min(118vw, 560px); border-left: 0; border-top: 1px solid rgba(176, 128, 63, 0.55); }
  .stage-browser { bottom: 18px; left: 5%; right: 5%; }
  .two, .close-grid, .split-head, .slide.web .two { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .journey-grid, .exec-cards-grid, .exec-footer-bar { grid-template-columns: minmax(0, 1fr); }
  .comparison { flex-direction: column; align-items: center; --case-h: auto; }
  .case-frame { width: 100%; max-width: 640px; }
  .case-viewport { height: auto; width: 100%; }
  .nano-browser-viewport.crop-chrome { height: auto; aspect-ratio: 1294 / 657; }
  .folio { display: none; }
  .controls { top: 12px; bottom: auto; }
  #open-planner {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: var(--night);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    cursor: pointer;
    margin-bottom: 10px;
  }
  .js-ready #planner-fields { display: none; }
  .js-ready .planner-open #planner-fields { display: grid; }
  html { scroll-padding-top: 80px; }
  input, .request button, #draft { scroll-margin-top: 80px; }
}
@media screen and (max-width: 560px) {
  .header-meta { display: none; }
  .cover-brand { flex-direction: column; align-items: flex-start; }
  .cover-telemetry, .suggestions, .picker-grid, .showcase-matrix { grid-template-columns: minmax(0, 1fr); }
  .partner-card { grid-template-columns: minmax(0, 1fr); }
  .local-presence-head { flex-wrap: wrap; }
  .listing-name { flex: 1 1 calc(100% - 100px); }
  .listing-badge { margin-left: calc(clamp(52px, 6.6vh, 68px) + 14px); }
  .local-presence-row { flex-direction: column; align-items: flex-start; }
  .local-presence-row b { text-align: left; }
  .controls button, .suggestions button, #draft { min-height: 44px; }
}

/* ---------- Wheel transitions (reduced motion stays still) ---------- */
@media screen and (prefers-reduced-motion: no-preference) {
  .deck .slide.wheel-leaving {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    animation: deck-wheel-leave 420ms cubic-bezier(.22, .61, .36, 1) both;
  }
  .deck .slide.active.wheel-entering {
    position: relative;
    z-index: 2;
    animation: deck-wheel-enter 420ms cubic-bezier(.22, .61, .36, 1) both;
  }
  @keyframes deck-wheel-enter { from { transform: translateY(calc(var(--wheel-sign, 1) * 100%)); } to { transform: translateY(0); } }
  @keyframes deck-wheel-leave { from { transform: translateY(0); } to { transform: translateY(calc(var(--wheel-sign, 1) * -100%)); } }
}

/* ---------- Internal print ---------- */
@media print {
  @page { size: letter landscape; margin: 0.25in; }
  html, body { background: #FFFFFF; }
  .deck { overflow: visible; }
  .slide, .slide.active, .slide.cover {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    height: 7.9in;
    padding: 0.3in 0.4in;
    overflow: hidden;
    break-after: page;
    page-break-after: always;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .slide.cover { display: grid !important; grid-template-columns: 1fr 1fr; padding: 0; }
  .slide:last-child { break-after: auto; page-break-after: auto; }
  .controls, canvas, .folio, .screen-only { display: none !important; }
  .print-only { display: block !important; font-family: var(--font-mono); font-size: 11pt; font-weight: 700; color: var(--ivory); }
}
