/* Calaveras Nursery · Brandcore presentation
   One theme system: every component reads its colors from the slide theme
   (.dark = Sunol forest, .paper = warm linen), so text keeps AAA contrast
   on both surfaces without per-element overrides. */

@font-face {
  font-family: 'Petrona';
  src: url('assets/fonts/petrona-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Petrona';
  src: url('assets/fonts/petrona-wght-italic.woff2') format('woff2');
  font-weight: 100 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;
}

:root {
  /* Sunol palette: oak-shade forest, golden summer hills, olive sage, linen */
  --forest: #0F2419;
  --forest-2: #143021;
  --forest-card: #16301F;
  --cream: #F7F2E8;
  --cream-muted: #C8D2C4;
  --gold: #E8C272;
  --sage: #A8CBA0;
  --linen: #F5EFE3;
  --linen-card: #FBF8F1;
  --ink: #13251A;
  --ink-muted: #3B4A40;
  --leaf: #1E5233;
  --bloom: #C7223F;
  --font-display: 'Petrona', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 18px;
}

.dark {
  --bg: var(--forest);
  --surface: var(--forest-card);
  --fg: var(--cream);
  --fg-muted: var(--cream-muted);
  --accent: var(--gold);
  --accent-2: var(--sage);
  --line: rgba(247, 242, 232, 0.16);
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.paper {
  --bg: var(--linen);
  --surface: var(--linen-card);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --accent: var(--leaf);
  --accent-2: var(--leaf);
  --line: rgba(19, 37, 26, 0.14);
  --shadow: 0 22px 48px rgba(19, 37, 26, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a, input { font: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.nowrap { white-space: nowrap; }

.ui-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#deck, .deck {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* =========================================================
   Slide shell
   ========================================================= */
.slide {
  position: relative;
  display: none;
  height: 100vh;
  min-height: 640px;
  padding: 2.8vh 4.2vw 4.4vh;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
}

.slide.active {
  display: flex;
  flex-direction: column;
}

.slide.dark {
  background: radial-gradient(120% 90% at 85% 0%, var(--forest-2) 0%, var(--forest) 62%);
}

.slide.paper {
  background: var(--linen);
}

/* Header: the client's name as a crisp typographic lockup on every slide */
.slide-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--fg);
}

.brand-rule {
  width: 1px;
  height: 26px;
  background: var(--accent);
}

.brand-place {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.head-section {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.head-section b {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
}

/* Type system */
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before, .eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

h2 {
  margin-top: 1.4vh;
  font-family: var(--font-display);
  font-size: clamp(32px, 2.9vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--fg);
  text-wrap: balance;
}

h2 em, .cover-statement em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  text-wrap: balance;
}

.lead {
  margin-top: 1.8vh;
  max-width: 58ch;
  font-size: clamp(16px, 1.05vw, 18.5px);
  line-height: 1.6;
  color: var(--fg-muted);
}

.page {
  position: absolute;
  right: 4.2vw;
  bottom: 2vh;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
}

/* Shared numbered list (slides 2 and 4) */
.pillars, .notes {
  margin-top: 2.6vh;
  display: grid;
  border-bottom: 1px solid var(--line);
}

.pillars li, .notes li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px;
  padding: 1.7vh 0;
  border-top: 1px solid var(--line);
}

.num {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  color: var(--accent);
}

.pillars h3, .notes h3 {
  font-size: clamp(19px, 1.3vw, 22px);
}

.pillars p, .notes p {
  margin-top: 5px;
  font-size: clamp(15px, 0.98vw, 17px);
  line-height: 1.55;
  color: var(--fg-muted);
}

/* Browser chrome (cover card, slide 4, slide 5) */
.browser-bar, .case-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 16px;
  background: #1A3626;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
}

.browser-dots {
  display: inline-flex;
  gap: 6px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E5675A;
}

.browser-dots i:nth-child(2) { background: #E8C272; }
.browser-dots i:nth-child(3) { background: #7FB77E; }

.browser-url, .case-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 420px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.browser-url .ui-icon { color: var(--sage); }

.browser-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =========================================================
   Slide 1 · Cover
   ========================================================= */
.slide.cover {
  padding: 0;
}

.slide.cover.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vh 3.4vw 7vh 4.6vw;
}

.cover-name {
  margin-top: 2.4vh;
  font-family: var(--font-display);
  font-size: clamp(50px, 4.7vw, 80px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--cream);
}

.cover-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 1.8vh;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}

.cover-tagline i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.cover-statement {
  margin-top: 3.4vh;
  padding-top: 3vh;
  border-top: 1px solid rgba(232, 194, 114, 0.4);
  font-family: var(--font-display);
  font-size: clamp(23px, 1.85vw, 32px);
  font-weight: 500;
  line-height: 1.22;
  color: var(--cream);
}

.cover .lead {
  font-size: clamp(16px, 1.02vw, 18px);
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2.8vh;
}

.fact-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(232, 194, 114, 0.5);
  background: rgba(15, 36, 25, 0.6);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
}

.fact-row .ui-icon { color: var(--gold); }

.prepared-by {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 3.4vh;
  font-size: 15px;
  color: var(--cream-muted);
}

.prepared-by img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.prepared-by b { color: var(--cream); font-weight: 700; }

.hero-visual {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--forest-2);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  opacity: 1;
  filter: none;
}

.photo-chip {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 36, 25, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.photo-chip .ui-icon { color: var(--gold); }

.hero-site-card {
  position: absolute;
  left: 7%;
  bottom: 7.5%;
  width: 60%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--forest);
  border: 1px solid rgba(247, 242, 232, 0.2);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5);
}

.hero-site-card .browser-bar { height: 34px; padding: 0 12px; }
.hero-site-card .browser-url { font-size: 12.5px; padding: 3px 10px; }

.hero-site-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
  object-position: center top;
}

.hero-site-card figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--forest);
}

.cover .page {
  right: auto;
  left: 4.6vw;
  color: var(--cream-muted);
  z-index: 2;
}

/* =========================================================
   Slide 2 · The Foundation
   ========================================================= */
.split {
  display: grid;
  gap: 3.6vw;
  align-items: center;
  margin-bottom: auto;
}

.foundation-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: clamp(210px, 33vh, 330px) clamp(140px, 19vh, 190px) auto;
  gap: 12px;
}

.tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--forest-2);
}

.tile-main { grid-column: 1 / -1; }

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.tile figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 36, 25, 0.9);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
}

.info-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.info-bar dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-bar dd {
  margin-top: 4px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

/* =========================================================
   Slide 3 · Growth Opportunities
   ========================================================= */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 3vh;
  margin-bottom: auto;
}

.opp-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.opp-card > img {
  display: block;
  width: 100%;
  height: clamp(150px, 22vh, 222px);
  object-fit: cover;
  object-position: center 55%;
}

.opp-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 2.4vh 24px 2.2vh;
}

.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.tag b {
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
}

.opp-card h3 { font-size: clamp(21px, 1.45vw, 25px); }

.opp-card p {
  font-size: clamp(15px, 0.98vw, 17px);
  line-height: 1.58;
  color: var(--fg-muted);
}

.opp-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-2);
}

/* =========================================================
   Slide 4 · Your New Website
   ========================================================= */
.website-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.website h2 { font-size: clamp(30px, 2.6vw, 46px); }

.browser-window {
  justify-self: end;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--forest);
  border: 1px solid rgba(19, 37, 26, 0.24);
  box-shadow: 0 34px 70px rgba(19, 37, 26, 0.28);
}

.mock-hero-stage {
  height: clamp(300px, 42vh, 440px);
  aspect-ratio: 1376 / 768;
  max-width: 100%;
  overflow: hidden;
  background: var(--forest);
}

.mock-hero-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  filter: none;
}

.browser-window figcaption {
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cream);
  background: #1A3626;
}

/* =========================================================
   Slide 5 · Before & After
   ========================================================= */
.proof-head, .roadmap-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 3.6vw;
}

.proof-head .lead, .roadmap-head .lead { margin-top: 0; }

.roadmap-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.roadmap-head h2 { font-size: clamp(30px, 2.55vw, 44px); }

.comparison {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 3vh;
  margin-bottom: auto;
}

.case-frame {
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.case-bar .case-url { max-width: none; }

.badge-before, .badge-after {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge-before { background: rgba(247, 242, 232, 0.14); color: var(--cream); }
.badge-after { background: var(--gold); color: var(--ink); }

.case-viewport {
  position: relative;
  height: clamp(280px, 38vh, 400px);
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
  background: #FFFFFF;
}

.case-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.035);
  transform-origin: center top;
}

.case-frame figcaption {
  padding: 13px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg-muted);
}

/* =========================================================
   Slide 6 · Launch Roadmap
   ========================================================= */
.phase-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 3.2vh;
  margin-bottom: auto;
}

.phase {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 1.3vh;
  padding: 2.8vh 28px 2.6vh;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phase.featured {
  --surface: var(--forest);
  --fg: var(--cream);
  --fg-muted: var(--cream-muted);
  --accent: var(--gold);
  --line: rgba(247, 242, 232, 0.16);
  color: var(--fg);
  box-shadow: 0 30px 60px rgba(15, 36, 25, 0.32);
}

.phase-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 1.4vh;
  border-bottom: 1px solid var(--line);
}

.phase-days {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
}

.phase-days b {
  font-family: var(--font-display);
  font-size: clamp(48px, 4vw, 68px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.phase-when {
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.phase h3 { font-size: clamp(20px, 1.4vw, 24px); }

.phase p {
  font-size: clamp(15px, 0.98vw, 17px);
  line-height: 1.55;
  color: var(--fg-muted);
}

.checks {
  display: grid;
  align-content: start;
  gap: 1vh;
  padding-top: 1.4vh;
  border-top: 1px solid var(--line);
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(14.5px, 0.92vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
}

.checks .ui-icon {
  margin-top: 1px;
  stroke-width: 2.4;
  color: var(--accent);
}

/* =========================================================
   Slide 7 · Let's Talk
   ========================================================= */
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3.6vw;
  align-items: center;
  margin-bottom: auto;
}

.close h2 { font-size: clamp(36px, 3.3vw, 58px); }

.partner-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items: start;
  margin-top: 3vh;
  padding: 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.partner-avatar-wrap {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--forest-2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.partner-avatar-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.partner-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brandcore-mark {
  height: 26px;
  width: auto;
}

.partner-name-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--fg);
}

.partner-role-sub {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.partner-quote {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.12vw, 19.5px);
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
}

.partner-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.partner-contact-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.06);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.partner-contact-pills .ui-icon { color: var(--accent); }

/* Request card: a linen card on the forest slide */
.request {
  --bg: var(--linen);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --accent: var(--leaf);
  --line: rgba(19, 37, 26, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 30px 26px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.4);
}

.request h3 {
  font-size: clamp(28px, 2.1vw, 36px);
  line-height: 1.05;
}

.request > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.screen-request {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.suggestions button {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--leaf);
  background: var(--linen-card);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.suggestions button:hover,
.suggestions button[aria-pressed="true"] {
  background: var(--leaf);
  color: var(--cream);
}

.picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.picker-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.request label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.date-control {
  position: relative;
  display: flex;
  align-items: center;
}

.request input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 6px 46px 6px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(19, 37, 26, 0.3);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
}

.request input::-webkit-calendar-picker-indicator { display: none; }

.date-control button {
  position: absolute;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: rgba(30, 82, 51, 0.1);
  color: var(--leaf);
  font-size: 18px;
  cursor: pointer;
}

#picker-help {
  font-size: 14px;
  font-weight: 600;
  color: var(--leaf);
}

a#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--leaf);
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(30, 82, 51, 0.32);
  transition: transform 0.15s ease, background 0.15s ease;
}

a#contact:hover { background: #17432A; transform: translateY(-1px); }

.request small {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-muted);
}

.print-contact { display: none; }

/* =========================================================
   Controls
   ========================================================= */
.controls {
  position: fixed;
  left: 50%;
  bottom: 1.4vh;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(15, 36, 25, 0.95);
  border: 1px solid rgba(232, 194, 114, 0.38);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: var(--cream);
}

.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(--cream);
  font-size: 17px;
  cursor: pointer;
}

.controls button:hover { background: rgba(247, 242, 232, 0.1); }

#counter {
  min-width: 48px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

#play {
  padding-left: 14px;
  border-left: 1px solid rgba(247, 242, 232, 0.22);
  border-radius: 0 999px 999px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--gold);
}

.controls button:focus-visible, a:focus-visible, input:focus-visible, .suggestions button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.request a:focus-visible, .request input:focus-visible, .request button:focus-visible {
  outline-color: var(--leaf);
}

/* =========================================================
   Desktop: centered presentation frame
   ========================================================= */
@media screen and (min-width: 701px) {
  html, body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 28%, #183826 0%, #08140E 100%);
  }

  #deck, .deck {
    width: min(96vw, 1640px);
    height: min(91vh, 920px);
    margin: auto;
    border-radius: 20px;
    border: 1px solid rgba(232, 194, 114, 0.24);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
    background: var(--forest);
  }

  .slide {
    height: 100%;
    min-height: 0;
  }
}

/* Short desktop viewports (e.g. 1366 x 768 laptops) */
@media screen and (min-width: 701px) and (max-height: 820px) {
  .slide { padding: 2.2vh 3.8vw 4.6vh; }
  .slide-head { min-height: 54px; padding-bottom: 10px; }
  .brand-name { font-size: 25px; }
  h2 { font-size: clamp(28px, 2.6vw, 40px); margin-top: 1vh; }
  .lead { margin-top: 1.2vh; font-size: 15px; line-height: 1.5; }
  .pillars, .notes { margin-top: 1.6vh; }
  .pillars li, .notes li { padding: 1.2vh 0; }
  .pillars p, .notes p { font-size: 14.5px; line-height: 1.45; }
  .mosaic { grid-template-rows: clamp(180px, 30vh, 300px) clamp(110px, 17vh, 170px) auto; gap: 10px; }
  .info-bar { padding: 10px 16px; gap: 14px; }
  .info-bar dd { font-size: 13.5px; }
  .cover-tagline { font-size: 12.5px; letter-spacing: 0.14em; gap: 4px 10px; }
  .card-row, .phase-row, .comparison { margin-top: 2.2vh; }
  .opp-card > img { height: clamp(120px, 19vh, 200px); }
  .opp-body { gap: 7px; padding: 1.8vh 20px; }
  .opp-card p, .phase p { font-size: 14.5px; line-height: 1.48; }
  .phase { padding: 2.2vh 22px; gap: 1vh; }
  .checks li { font-size: 14px; }
  .cover-name { font-size: clamp(44px, 4.3vw, 66px); }
  .cover-statement { margin-top: 2.4vh; padding-top: 2.2vh; font-size: clamp(21px, 1.7vw, 27px); }
  .fact-row { margin-top: 2vh; }
  .fact-row li { padding: 7px 12px; font-size: 13.5px; }
  .prepared-by { margin-top: 2.4vh; }
  .partner-card { grid-template-columns: 112px 1fr; padding: 20px; gap: 20px; margin-top: 2vh; }
  .partner-avatar-wrap { width: 112px; height: 112px; }
  .partner-name-heading { font-size: 27px; }
  .partner-quote { font-size: 16px; margin-top: 10px; }
  .request { padding: 22px 24px 20px; gap: 9px; }
  .request input { height: 42px; }
  a#contact { padding: 13px 16px; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media screen and (max-width: 700px) {
  html, body { overflow-y: auto; }

  .slide {
    height: auto;
    min-height: 100svh;
    padding: 18px 18px 104px;
    overflow: visible;
  }

  .slide.active { display: flex; }

  .slide-head {
    flex-wrap: wrap;
    gap: 8px 14px;
    min-height: 0;
    margin-bottom: 18px;
  }

  .brand-lockup { flex-direction: column; align-items: flex-start; gap: 5px; white-space: normal; }
  .brand-name { font-size: 24px; }
  .brand-rule { display: none; }
  .brand-place { font-size: 12px; }
  .head-section { font-size: 12px; }
  .head-section b { font-size: 17px; }

  h2 { font-size: 31px; }
  .lead { font-size: 16px; }

  .slide.cover { padding: 0 0 104px; }
  .slide.cover.active { display: flex; flex-direction: column; }
  #scene { width: 100%; }
  .hero-copy { padding: 26px 20px 8px; }
  .cover-name { font-size: 46px; }
  .cover-tagline { font-size: 12.5px; letter-spacing: 0.14em; }
  .cover-tagline i { display: none; }
  .phase-top { flex-wrap: wrap; }
  .cover-statement { font-size: 24px; }
  .hero-visual { height: 520px; margin: 24px 16px 0; border-radius: 18px; }
  .hero-site-card { left: 5%; width: 90%; bottom: 5%; }
  .photo-chip { top: 16px; left: 16px; font-size: 12px; }
  .cover .page { left: 20px; bottom: 82px; }

  .split, .foundation-grid, .website-grid, .close-grid, .proof-head, .roadmap-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mosaic { grid-template-rows: 230px 150px auto; }
  .info-bar { grid-template-columns: 1fr; gap: 10px; }
  .info-bar dd { white-space: normal; }
  .card-row, .phase-row { grid-template-columns: 1fr; gap: 16px; }
  .opp-card > img { height: 190px; }
  .comparison { flex-direction: column; gap: 18px; }
  .case-viewport, .mock-hero-stage { width: 100%; height: auto; }
  .browser-window { justify-self: stretch; }
  .browser-url { font-size: 12px; }
  .browser-tag { display: none; }
  .partner-card { grid-template-columns: 1fr; padding: 20px; }
  .partner-avatar-wrap { width: 120px; height: 120px; }
  .suggestions, .picker-grid { grid-template-columns: 1fr; }
  .page { bottom: 82px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   Print: light pages, legible dark copy
   ========================================================= */
@media print {
  @page { size: letter landscape; margin: 0.3in; }

  html, body { background: #FFFFFF; color: var(--ink); }

  #deck, .deck {
    width: 100%;
    height: auto;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .slide, .slide.active, .slide.cover {
    --bg: #FFFFFF;
    --surface: #FBF8F1;
    --fg: var(--ink);
    --fg-muted: var(--ink-muted);
    --accent: var(--leaf);
    --accent-2: var(--leaf);
    --line: rgba(19, 37, 26, 0.2);
    display: flex !important;
    flex-direction: column;
    height: 7.7in;
    min-height: 0;
    padding: 0.25in 0.3in;
    overflow: hidden;
    background: #FFFFFF !important;
    color: var(--ink);
    break-after: page;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .slide:last-child { break-after: auto; }
  .slide.cover { display: grid !important; grid-template-columns: 1fr 1fr; padding: 0; }
  .cover-name, .cover-statement, .fact-row li, .prepared-by b { color: var(--ink); }
  .cover-tagline { color: var(--leaf); }
  .fact-row li { background: #FFFFFF; border-color: var(--leaf); }
  .controls, canvas, .page, .screen-request { display: none !important; }
  .print-contact { display: block; font-size: 12pt; font-weight: 700; color: var(--ink); }
}
