/* Cunningham, Malone & Morton — Brandcore strategic overview
   One stylesheet, no override layers. The desktop deck is designed on a fixed
   1640 × 920 stage and scaled to the viewport with --fit (set inline in index.html).
   Every text colour below is paired with the surface it sits on and clears WCAG AAA (7:1). */

@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif-4-wght-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif-4-wght-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  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 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --navy-900: #070D17;
  --navy-800: #0B1422;
  --navy-700: #111D31;
  --navy-600: #1A2840;
  --paper: #F5F0E6;
  --paper-card: #FFFFFF;
  --ivory: #FBF8F1;

  /* Ink on dark navy (contrast measured against #1A2840, the lightest dark surface) */
  --on-dark: #FFFFFF;
  --body-on-dark: #D9E1EC;   /* 11.2:1 */
  --muted-on-dark: #B8C4D4;  /* 8.4:1 */
  --gold-text: #E8C977;      /* 9.2:1 */

  /* Ink on paper / ivory (contrast measured against #F5F0E6) */
  --ink: #0B1422;            /* 16.3:1 */
  --body-on-paper: #2C3A4E;  /* 10.2:1 */
  --muted-on-paper: #3D4A5F; /* 7.9:1 */
  --gold-on-paper: #5E430C;  /* 8.1:1, 7.5:1 on the #F3E7C6 badge */

  /* Non-text accents */
  --gold: #C9A54A;
  --rule-dark: rgba(201, 165, 74, 0.28);
  --rule-paper: rgba(11, 20, 34, 0.14);

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--navy-900);
  color: var(--on-dark);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a, input { font: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { opacity: 1; filter: none; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(232, 201, 119, 0.14);
  color: var(--gold-text);
}

.ui-icon, .date-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.14em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Deck & slide frame ---------- */
#deck {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-800);
}

.slide {
  position: relative;
  display: none;
  flex-direction: column;
  padding: 36px 68px 26px;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(201, 165, 74, 0.07), transparent 70%),
    linear-gradient(155deg, var(--navy-800) 0%, #13213A 100%);
  background-color: var(--navy-800);
}
.slide.active { display: flex; }

.slide.paper {
  color: var(--ink);
  background:
    radial-gradient(80% 70% at 90% 0%, rgba(201, 165, 74, 0.10), transparent 70%),
    linear-gradient(180deg, #F7F3EA 0%, var(--paper) 100%);
  background-color: var(--paper);
}

/* ---------- Header: the client's nameplate ---------- */
.slide-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-dark);
}
.paper .slide-head { border-color: var(--rule-paper); }

.nameplate {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  height: 70px;
  padding: 8px 22px 8px 12px;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(201, 165, 74, 0.6), 0 12px 30px rgba(0, 0, 0, 0.38);
}
.paper .nameplate { box-shadow: 0 0 0 1px rgba(11, 20, 34, 0.14), 0 10px 26px rgba(11, 20, 34, 0.10); }
.nameplate img {
  display: block;
  height: 52px;
  width: auto;
}
.nameplate-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(11, 20, 34, 0.16);
}
.nameplate-text b {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.nameplate-text small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}

.head-section {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.head-section i {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
  color: var(--gold-text);
}
.paper .head-section { color: var(--muted-on-paper); }
.paper .head-section i { color: var(--gold-on-paper); }

/* ---------- Body & footer ---------- */
.slide-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}
.slide-body.two { display: grid; align-items: center; }

.slide-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.slide-foot b { color: var(--on-dark); }
.page {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
}
.paper .slide-foot { border-color: var(--rule-paper); color: var(--muted-on-paper); }
.paper .slide-foot b { color: var(--ink); }
.paper .page { color: var(--gold-on-paper); }
.source { color: inherit; text-decoration: none; }
.source:hover { text-decoration: underline; }

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.kicker::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: currentColor;
}
.paper .kicker { color: var(--gold-on-paper); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--on-dark);
}
h1 { font-size: 60px; line-height: 1.03; letter-spacing: -0.018em; }
h2 { font-size: 42px; line-height: 1.08; letter-spacing: -0.014em; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-text);
}
.paper h2 { color: var(--ink); }
.paper h2 em { color: var(--gold-on-paper); }

.lead {
  max-width: 60ch;
  margin-top: 14px;
  font-size: 17.5px;
  line-height: 1.54;
  color: var(--body-on-dark);
}
.paper .lead { color: var(--body-on-paper); }

/* ---------- Slide 1: cover ---------- */
.slide.cover {
  grid-template-columns: 1.04fr 0.96fr;
  padding: 0;
  background: linear-gradient(160deg, #0A121F 0%, #0E192B 100%);
  background-color: var(--navy-800);
}
.slide.cover.active { display: grid; }

.cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px 52px 72px;
}
.cover-nameplate {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  padding: 18px 32px 18px 20px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(201, 165, 74, 0.65), 0 26px 64px rgba(0, 0, 0, 0.5);
}
.cover-nameplate img {
  display: block;
  height: 112px;
  width: auto;
}
.cover-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
  border-left: 1px solid rgba(11, 20, 34, 0.16);
}
.cover-firm {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cover-sub {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}
.cover-sub2 { font-size: 14px; font-weight: 600; color: var(--muted-on-paper); }

.cover-facts { display: grid; gap: 11px; margin-top: 24px; }
.cover-facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--body-on-dark);
}
.cover-facts b { margin-right: 6px; font-weight: 700; color: var(--on-dark); }
.cover-facts .ui-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(201, 165, 74, 0.5);
  color: var(--gold-text);
  stroke-width: 1.6;
}
.cover-prepared {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cover-prepared b { color: var(--on-dark); }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 48px 68px 44px;
  overflow: hidden;
  border-left: 1px solid var(--rule-dark);
  background:
    radial-gradient(65% 55% at 52% 46%, rgba(201, 165, 74, 0.22), transparent 74%),
    linear-gradient(180deg, #0D1726 0%, #09101B 100%);
}
/* 3D architectural brass-and-ledger column stage commands the right hero stage */
.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-stage-badge {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 20, 34, 0.82);
  border: 1px solid rgba(201, 165, 74, 0.45);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-text);
  pointer-events: none;
}
.hero-stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5BAE7F;
  box-shadow: 0 0 10px #5BAE7F;
}
.hero-points {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: auto;
  pointer-events: none;
}
.hero-points li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(11, 20, 34, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.hero-points b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--on-dark); }
.hero-points span { font-size: 13.5px; color: var(--body-on-dark); }
.cover-page { position: absolute; right: 52px; bottom: 24px; z-index: 3; font-size: 12px; }

/* ---------- Numbered lists (slides 2 & 4) ---------- */
.numbered-list { display: grid; gap: 11px; margin-top: 20px; }
.numbered-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 6px;
  padding: 14px 20px 14px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(201, 165, 74, 0.22);
}
.num {
  padding-top: 1px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--gold-text);
}
.numbered-item h3 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--on-dark);
}
.numbered-item p { font-size: 14.5px; line-height: 1.5; color: var(--body-on-dark); }

/* ---------- Slide 2: Foundation + Forensic Site Audit ---------- */
.foundation-grid { grid-template-columns: 0.94fr 1.06fr; gap: 48px; }

.audit-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.audit-panel {
  padding: 22px 24px;
  border-radius: 18px;
  border-top: 4px solid var(--gold);
  background: rgba(11, 20, 34, 0.85);
  border-left: 1px solid rgba(201, 165, 74, 0.28);
  border-right: 1px solid rgba(201, 165, 74, 0.28);
  border-bottom: 1px solid rgba(201, 165, 74, 0.28);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.audit-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.audit-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.audit-url-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--body-on-dark);
}
.audit-cards {
  display: grid;
  gap: 11px;
}
.audit-card {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left-width: 4px;
}
.audit-card.audit-critical { border-left-color: #E25C52; }
.audit-card.audit-high { border-left-color: #E8A54B; }
.audit-card.audit-medium { border-left-color: #E8C977; }
.audit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.audit-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audit-badge.critical {
  background: rgba(226, 92, 82, 0.2);
  border: 1px solid rgba(226, 92, 82, 0.55);
  color: #FFACA6;
}
.audit-badge.high {
  background: rgba(232, 165, 75, 0.2);
  border: 1px solid rgba(232, 165, 75, 0.55);
  color: #FFD399;
}
.audit-badge.medium {
  background: rgba(232, 201, 119, 0.18);
  border: 1px solid rgba(232, 201, 119, 0.5);
  color: var(--gold-text);
}
.audit-source {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-on-dark);
}
.audit-card h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--on-dark);
  margin-bottom: 4px;
}
.audit-card p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--body-on-dark);
}
.audit-card b { color: var(--on-dark); }

.letterhead-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ivory);
  color: var(--ink);
  border-top: 3px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.letterhead-mini-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.letterhead-mini-item span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}
.letterhead-mini-item b {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Slide 3: Client Journey — Clock-Ticking Deadline + Interactive Path Replay ---------- */
.journey-head, .proof-head, .exec-head {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: end;
  gap: 44px;
  margin-bottom: 18px;
}
.journey-head .lead, .proof-head .lead, .exec-head .lead { margin-top: 0; }

.journey-scenario-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.journey-scenario-box .lead {
  font-size: 15.5px;
  line-height: 1.48;
}
.replay-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--navy-800);
  background: var(--navy-800);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 20, 34, 0.18);
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
}
.replay-btn .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-text);
}
.replay-btn:hover {
  background: #162642;
  transform: translateY(-1px);
}
.replay-status {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-on-paper);
  background: #F3E7C6;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 67, 12, 0.22);
}

.path-replay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.path-col {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(11, 20, 34, 0.12);
  background: var(--paper-card);
  box-shadow: 0 18px 44px rgba(11, 20, 34, 0.08);
}
.path-col.path-today {
  border-top: 4px solid #8A3B36;
}
.path-col.path-brandcore {
  border-top: 4px solid var(--gold);
  background: linear-gradient(165deg, #122038 0%, var(--navy-800) 100%);
  color: var(--on-dark);
  box-shadow: 0 0 0 1px rgba(201, 165, 74, 0.5), 0 24px 60px rgba(11, 20, 34, 0.28);
}
.path-col-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule-paper);
}
.path-brandcore .path-col-head {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.path-tag {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.today-tag { color: #8A261E; }
.brandcore-tag { color: var(--gold-text); }
.path-col-head h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.path-brandcore .path-col-head h3 { color: var(--on-dark); }
.path-metric {
  text-align: right;
  flex: none;
}
.path-metric b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.path-brandcore .path-metric b { color: var(--gold-text); }
.path-metric span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-on-paper);
}
.path-brandcore .path-metric span { color: var(--body-on-dark); }

.path-steps {
  display: grid;
  gap: 7px;
}
.path-brandcore .path-steps {
  gap: 12px;
}
.path-step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F8F5EE;
  border: 1px solid rgba(11, 20, 34, 0.1);
  opacity: 0.26;
  transform: translateY(4px);
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.path-brandcore .path-step {
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(201, 165, 74, 0.28);
}
.path-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.path-step.is-pulsing {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 165, 74, 0.35);
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-on-paper);
}
.path-brandcore .step-num { color: var(--gold-text); }
.step-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.step-body b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.path-brandcore .step-body b {
  font-size: 15px;
  color: var(--on-dark);
}
.step-body span {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--body-on-paper);
}
.path-brandcore .step-body span {
  font-size: 13.5px;
  color: var(--body-on-dark);
}
.step-time {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(11, 20, 34, 0.07);
  color: var(--muted-on-paper);
}
.path-brandcore .step-time {
  background: rgba(232, 201, 119, 0.16);
  color: var(--gold-text);
}

.path-outcome-banner {
  margin-top: auto;
  padding-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.outcome-pill {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(232, 201, 119, 0.1);
  border: 1px solid rgba(232, 201, 119, 0.32);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.outcome-pill span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.outcome-pill b {
  font-size: 13px;
  font-weight: 700;
  color: var(--on-dark);
}

/* ---------- Slide 4: The Website Upgrade — Interactive Tax & Advisory Scope Matcher Widget ---------- */
.website-grid { grid-template-columns: 0.78fr 1.22fr; gap: 44px; }
.numbered-list.compact { gap: 10px; margin-top: 20px; }
.numbered-list.compact .numbered-item { padding: 13px 18px 13px 15px; }
.numbered-list.compact h3 { font-size: 19px; }

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

.argon-interactive-widget {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: linear-gradient(165deg, #101C30 0%, #0B1422 100%);
  border: 1px solid rgba(201, 165, 74, 0.55);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.widget-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #080F1B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.widget-lock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--body-on-dark);
}
.widget-lock .ui-icon { color: var(--gold-text); }

.office-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(91, 174, 127, 0.14);
  border: 1px solid rgba(91, 174, 127, 0.45);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #D9F5E5;
}
.office-status-chip.is-after-hours {
  background: rgba(232, 201, 119, 0.14);
  border-color: rgba(232, 201, 119, 0.45);
  color: var(--gold-text);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5BAE7F;
  box-shadow: 0 0 8px #5BAE7F;
}
.office-status-chip.is-after-hours .status-dot {
  background: var(--gold-text);
  box-shadow: 0 0 8px var(--gold-text);
}

.widget-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.widget-tab {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--body-on-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.widget-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--on-dark);
}
.widget-tab.is-active {
  background: var(--gold-text);
  border-color: var(--gold-text);
  color: var(--ink);
  font-weight: 800;
}

.widget-panel {
  padding: 18px 20px 20px;
}
.widget-panel[hidden] {
  display: none !important;
}

.matcher-controls {
  display: grid;
  gap: 13px;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.control-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.pill-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.choice-pill {
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--body-on-dark);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
}
.choice-pill:hover {
  border-color: rgba(232, 201, 119, 0.55);
  color: var(--on-dark);
}
.choice-pill.is-selected {
  background: rgba(232, 201, 119, 0.18);
  border-color: var(--gold-text);
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px var(--gold-text);
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.slider-readout {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232, 201, 119, 0.16);
  border: 1px solid rgba(232, 201, 119, 0.4);
  color: var(--gold-text);
}
.scope-range {
  width: 100%;
  height: 7px;
  margin: 4px 0;
  accent-color: var(--gold-text);
  cursor: pointer;
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-on-dark);
}

.matcher-output {
  margin-top: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--ivory);
  color: var(--ink);
  border-left: 5px solid var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.output-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.output-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}
.output-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
}
.output-badge {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--navy-800);
  color: var(--gold-text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.output-summary {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--body-on-paper);
  margin-bottom: 10px;
}
.output-checklist {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-paper);
}
.checklist-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}
.checklist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.checklist-pills li {
  padding: 4px 10px;
  border-radius: 6px;
  background: #F3E7C6;
  border: 1px solid rgba(94, 67, 12, 0.22);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Tab 2: Practice Specialties */
.specialties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.specialty-card {
  padding: 15px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 165, 74, 0.26);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.spec-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(232, 201, 119, 0.16);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.spec-top b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-on-dark);
}
.specialty-card h4 {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--on-dark);
}
.specialty-card p {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--body-on-dark);
}

/* Tab 3: Client Portal & Onboarding */
.portal-hub {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.portal-action-card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 165, 74, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portal-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 201, 119, 0.16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.portal-action-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--on-dark);
}
.portal-action-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-on-dark);
}
.portal-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.portal-meta span { color: var(--muted-on-dark); }
.portal-meta b { color: var(--gold-text); }
.portal-desk-bar {
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.portal-desk-bar span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}
.portal-desk-bar b {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
.portal-cta-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--navy-800);
  color: var(--gold-text) !important;
  font-size: 11.5px !important;
  white-space: nowrap;
}

/* ---------- Slide 5: Interactive Before & After Drag Slider ---------- */
.proof-compare-layout {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 32px;
  align-items: center;
}
.compare {
  position: relative;
  width: 100%;
  height: 430px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 0 0 1px rgba(201, 165, 74, 0.6), 0 36px 80px rgba(0, 0, 0, 0.55);
  user-select: none;
  touch-action: none;
}
.compare__before,
.compare__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.compare__before img,
.compare__after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.compare__after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.compare__pill {
  position: absolute;
  top: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}
.compare__pill--before {
  left: 14px;
  background: rgba(11, 20, 34, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--on-dark);
}
.compare__pill--after {
  right: 14px;
  background: var(--gold-text);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  transform: translateX(-50%);
  background: var(--gold-text);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.65);
  z-index: 3;
}
.compare__handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--gold-text);
  color: var(--gold-text);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none !important;
}

.proof-Callouts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof-callout-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.proof-callout-card.after-callout {
  background: rgba(232, 201, 119, 0.08);
  border-color: rgba(201, 165, 74, 0.45);
}
.callout-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.proof-callout-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 6px;
}
.proof-callout-card p {
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--body-on-dark);
}

/* ---------- Slide 6: launch roadmap (paper) ---------- */
.exec-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.exec-phase-card {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(11, 20, 34, 0.10);
  background: var(--paper-card);
  box-shadow: 0 22px 50px rgba(11, 20, 34, 0.09);
}
.phase-days { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 14px; }
.phase-days b {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.phase-days span {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1;
  color: var(--gold-on-paper);
}
.phase-days small {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}
.exec-phase-num {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-on-paper);
}
.exec-phase-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
}
.exec-phase-card > p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.54; color: var(--body-on-paper); }
.exec-deliverables {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule-paper);
}
.exec-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.exec-deliverables .ui-icon { width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.4; color: var(--gold-on-paper); }

.exec-phase-card.featured {
  border-color: var(--navy-800);
  background: linear-gradient(160deg, #13213A 0%, var(--navy-800) 100%);
  box-shadow: 0 0 0 1px rgba(201, 165, 74, 0.55), 0 30px 70px rgba(11, 20, 34, 0.35);
}
.featured .phase-days b, .featured h3, .featured li { color: var(--on-dark); }
.featured .phase-days span, .featured .exec-phase-num, .featured li .ui-icon { color: var(--gold-text); }
.featured .phase-days small { color: var(--muted-on-dark); }
.featured > p { color: var(--body-on-dark); }
.featured .exec-deliverables { border-color: rgba(255, 255, 255, 0.14); }

/* ---------- Slide 7: partner sign-off ---------- */
.slide-body.close-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; align-items: center; gap: 48px; }
.partner-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid rgba(201, 165, 74, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.partner-avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}
.partner-meta-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.partner-name-heading {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--on-dark);
}
.partner-role-sub { margin-top: 4px; font-size: 15px; color: var(--body-on-dark); }
.partner-quote {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 16.5px;
  font-style: italic;
  line-height: 1.52;
  color: #EEF2F7;
}
.partner-contact-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 74, 0.38);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-dark);
  text-decoration: none;
  min-height: 42px;
}
.partner-pill .ui-icon { color: var(--gold-text); }

/* Request card: ivory stationery on navy */
.concierge-col { display: flex; flex-direction: column; justify-content: center; }
.request {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 30px 26px;
  border-radius: 20px;
  border-top: 6px solid var(--gold);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.5);
}
.request .kicker { margin-bottom: 0; color: var(--gold-on-paper); }
.request h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}
.request > p { font-size: 16px; line-height: 1.48; color: var(--body-on-paper); }
.screen-request { display: flex; flex-direction: column; gap: 12px; }
.suggestions, .picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggestions button {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(11, 20, 34, 0.22);
  background: var(--paper-card);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.suggestions button:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--on-dark); }
.picker-col { display: flex; flex-direction: column; gap: 6px; }
.request label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
}
.date-control { position: relative; display: flex; align-items: center; }
.request input {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 6px 44px 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(11, 20, 34, 0.24);
  background: var(--paper-card);
  font-size: 14.5px;
  color: var(--ink);
  color-scheme: light;
}
.request input::-webkit-calendar-picker-indicator { opacity: 0; pointer-events: none; }
.date-control button {
  position: absolute;
  right: 4px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gold-on-paper);
  cursor: pointer;
}
.date-control button:hover { background: #F3E7C6; }
.date-icon { width: 20px; height: 20px; }
#picker-help { font-size: 13px; color: var(--body-on-paper); }
a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--navy-800);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
  box-shadow: 0 14px 30px rgba(11, 20, 34, 0.25);
  transition: background 0.18s ease, color 0.18s ease;
}
a#contact .ui-icon { color: var(--gold-text); }
a#contact:hover { background: var(--gold-text); color: var(--ink); }
a#contact:hover .ui-icon { color: var(--ink); }
.request small { font-size: 12.5px; line-height: 1.45; color: var(--muted-on-paper); }
.print-contact { display: none; }

/* ---------- Presentation controls ---------- */
.controls {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 74, 0.4);
  background: rgba(8, 14, 24, 0.94);
  color: var(--on-dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.controls button, .controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  min-height: 44px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.controls .download-deck { font-size: 11px; font-weight: 700; color: var(--gold-text); white-space: nowrap; }
.controls button:hover, .controls a:hover { background: rgba(255, 255, 255, 0.1); }
#counter {
  min-width: 48px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
#play {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 999px 999px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--gold-text);
}
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 2px;
}
.request button:focus-visible, .request a:focus-visible, .request input:focus-visible { outline-color: var(--gold-on-paper); }

/* ---------- Desktop: fixed 1640 × 920 stage scaled to fit ---------- */
@media screen and (min-width: 701px) {
  html, body { height: 100%; overflow: hidden; }
  body {
    display: grid;
    place-items: center;
    padding: 12px 0 60px;
    background: radial-gradient(ellipse at 50% 40%, #0E1828 0%, var(--navy-900) 70%);
  }
  #deck {
    width: 1640px;
    height: 920px;
    zoom: var(--fit, 1);
    border-radius: 20px;
    border: 1px solid rgba(201, 165, 74, 0.32);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  }
  .slide { height: 100%; }
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 700px) {
  html, body { height: 100%; overflow: hidden; }
  body { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100dvh; }
  #deck { height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; }
  .controls { position: relative; left: auto; bottom: auto; transform: none; justify-self: center; margin: 6px 4px; gap: 1px; padding: 4px; max-width: calc(100vw - 8px); }
  .controls button, .controls a { padding: 7px 8px; min-width: 44px; }
  .date-control button { width: 44px; height: 44px; right: 0; }
  #counter { min-width: 38px; }
  #play { font-size: 10px; letter-spacing: .06em; padding-left: 8px; }
  .controls .download-deck { font-size: 10px; }

  .slide { min-height: 100%; padding: 20px 16px 28px; overflow: visible; }
  .slide-head { flex-wrap: wrap; gap: 12px; }
  .nameplate { height: auto; gap: 12px; padding: 8px 14px 8px 10px; }
  .nameplate img { height: 42px; }
  .nameplate-text { padding-left: 12px; }
  .nameplate-text b { font-size: 15.5px; }
  .nameplate-text small { font-size: 10px; letter-spacing: 0.12em; }
  .head-section { font-size: 11px; }
  .head-section i { font-size: 19px; }
  .slide-body { padding: 18px 0; }
  .slide-body.two,
  .slide-body.close-grid,
  .journey-head,
  .proof-head,
  .exec-head,
  .path-replay-grid,
  .proof-compare-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .exec-cards-grid,
  .suggestions,
  .picker-grid,
  .hero-points,
  .letterhead-mini,
  .path-outcome-banner,
  .widget-tabs,
  .pill-selector,
  .specialties-grid,
  .portal-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .narrative-col, .mockup-col, .concierge-col, .audit-aside { min-width: 0; }
  .widget-chrome, .portal-desk-bar, .output-head, .audit-panel-head { flex-wrap: wrap; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .lead { font-size: 15.5px; }
  .slide.cover { grid-template-columns: 1fr; }
  .cover-copy { padding: 22px 16px 12px; }
  .cover-nameplate { gap: 14px; margin-bottom: 22px; padding: 14px 16px; }
  .cover-nameplate img { height: 68px; }
  .cover-name { padding-left: 14px; }
  .cover-firm { font-size: 22px; }
  .hero-visual { min-height: 320px; padding: 16px 16px 24px; border-left: 0; border-top: 1px solid var(--rule-dark); }
  .cover-page { display: none; }
  .compare { height: 260px; }
  .partner-card { grid-template-columns: 1fr; padding: 20px 18px; }
  .partner-details { min-width: 0; }
  .partner-brand-signoff { flex-direction: column; align-items: flex-start; }
  .request h3 { font-size: 32px; }
  .slide-foot { flex-wrap: wrap; font-size: 10.5px; }
}

/* ---------- Print: every slide on its own landscape page ---------- */
@media print {
  @page { size: letter landscape; margin: 0.25in; }
  html, body { height: auto; overflow: visible; background: #FFFFFF; }
  #deck {
    width: 1640px;
    height: auto;
    zoom: 0.6;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .slide, .slide.active {
    display: flex !important;
    height: 920px;
    break-after: page;
    page-break-after: always;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .slide.cover, .slide.cover.active { display: grid !important; }
  .slide:last-child { break-after: auto; page-break-after: auto; }
  .controls, canvas, .screen-request { display: none !important; }
  .print-contact { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
}

/* === Brandcore Official Co-Branding & Sign-off Lockups === */
.cover-collab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 13px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: fit-content;
  max-width: 100%;
}
.cover-collab--light {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.14);
}
.brandcore-badge-logo {
  height: 18px;
  width: auto;
  display: block;
  object-fit: contain;
}
.cover-collab-sep {
  font-size: 12px;
  opacity: 0.55;
  line-height: 1;
}
.cover-collab-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}
.partner-brand-signoff {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  width: 100%;
}
.partner-brand-signoff--light {
  border-top-color: rgba(15, 23, 42, 0.14);
}
.signoff-brandcore-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}
.signoff-brandcore-meta {
  font-size: 11px;
  opacity: 1;
  letter-spacing: 0.02em;
}
