/* Allison Shamrell Pet Photography · Brandcore introduction
   One design system: warm gallery paper, Pacific navy drawn from the logo's dog mark,
   golden-hour bronze and gold accents. Every text pair below is 7:1 or better. */

@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/newsreader-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/newsreader-500-italic.woff2') format('woff2');
  font-weight: 500;
  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 {
  /* Light "gallery paper" surfaces */
  --paper: #FAF6EE;
  --paper-2: #F3ECE0;
  --card: #FFFFFF;
  --rule: #E3D9C8;
  --ink: #0E1B2E;          /* 16.0:1 on paper */
  --ink-2: #36414F;        /*  9.6:1 on paper */
  --bronze: #6F430A;       /*  7.9:1 on paper */
  --brand-blue: #0B4682;   /*  8.8:1 on paper, from the logo's dog mark */

  /* Pacific navy surfaces */
  --navy: #0B1D36;
  --navy-2: #10284A;
  --navy-card: #132E52;
  --navy-rule: rgba(255, 255, 255, 0.16);
  --on-navy: #FFFFFF;      /* 16.9:1 */
  --on-navy-2: #D3DCE8;    /* 12.2:1 on navy, 9.9:1 on navy card */
  --gold: #F2CB8A;         /* 11.0:1 on navy, 8.9:1 on navy card */
  --sky: #A9CBEE;          /* 10.0:1 on navy */
  --gold-line: #D9A54A;    /* decorative strokes only */

  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad-x: clamp(20px, 3.9cqw, 64px);
  --shadow-soft: 0 1px 0 rgba(14, 27, 46, 0.05), 0 14px 34px rgba(14, 27, 46, 0.10);
  --shadow-deep: 0 24px 60px rgba(4, 12, 26, 0.45);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: #07111F;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a, input { font: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
p, dd, figcaption, li { text-wrap: pretty; }

.ico {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Deck frame & slides ---------- */
#deck {
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
}

.slide {
  position: relative;
  display: none;
  padding: clamp(16px, 1.8cqw, 30px) var(--pad-x) clamp(40px, 3.6cqw, 58px);
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
}
.slide.active { display: flex; flex-direction: column; }

.slide.light {
  background-color: var(--paper);
  background-image: radial-gradient(110% 80% at 100% 0%, #FFFDF8 0%, rgba(255, 253, 248, 0) 60%);
}
.slide.dark {
  background-color: var(--navy);
  background-image: radial-gradient(120% 90% at 88% -10%, #173A66 0%, rgba(23, 58, 102, 0) 58%);
  color: var(--on-navy);
}

/* ---------- Slide header: client mark on every slide ---------- */
.slide-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(10px, 1cqw, 16px);
  margin-bottom: clamp(14px, 1.6cqw, 28px);
  border-bottom: 1px solid var(--rule);
}
.dark .slide-head { border-bottom-color: var(--navy-rule); }

.brand { display: flex; align-items: center; gap: clamp(12px, 1.2cqw, 20px); }

.brand-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7px, 0.65cqw, 11px) clamp(12px, 1.1cqw, 18px);
  background: #FFFFFF;
  border: 1px solid #E6DED0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.dark .brand-plate { border-color: #FFFFFF; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.brand-plate img {
  height: clamp(40px, 3.5cqw, 58px);
  width: auto;
  opacity: 1;
  filter: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: clamp(12px, 1.2cqw, 20px);
  border-left: 1px solid var(--rule);
}
.dark .brand-name { border-left-color: var(--navy-rule); }
.brand-name b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.3cqw, 22px);
  line-height: 1.1;
  color: var(--ink);
}
.brand-name small {
  font-size: clamp(10.5px, 0.72cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.dark .brand-name b { color: var(--on-navy); }
.dark .brand-name small { color: var(--sky); }

.head-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(10.5px, 0.74cqw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.head-meta b {
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--bronze);
}
.dark .head-meta { color: var(--on-navy-2); }
.dark .head-meta b { color: var(--gold); }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(8px, 0.8cqw, 14px);
  font-size: clamp(10.5px, 0.76cqw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.kicker::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
}
.dark .kicker { color: var(--gold); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
h1 { font-size: clamp(32px, 3.25cqw, 56px); line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(27px, 2.6cqw, 46px); line-height: 1.08; text-wrap: balance; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--bronze);
}
.dark h1, .dark h2 { color: var(--on-navy); }
.dark h1 em, .dark h2 em { color: var(--gold); }

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.3cqw, 22px);
  line-height: 1.2;
  color: var(--ink);
}
.dark h3 { color: var(--on-navy); }

.lead {
  margin-top: clamp(10px, 1cqw, 16px);
  max-width: 60ch;
  text-wrap: pretty;
  font-size: clamp(14.5px, 1.04cqw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
}
.dark .lead { color: var(--on-navy-2); }

.num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: clamp(36px, 2.6cqw, 44px);
  height: clamp(36px, 2.6cqw, 44px);
  border: 1.5px solid var(--bronze);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.05cqw, 18px);
  font-weight: 600;
  line-height: 1;
  color: var(--bronze);
  background: #FFFFFF;
}
.dark .num { border-color: var(--gold); color: var(--gold); background: transparent; }

.page {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(14px, 1.3cqw, 22px);
  font-size: clamp(10.5px, 0.72cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.dark .page { color: var(--on-navy-2); }

/* Shared layouts */
.split {
  flex: 1;
  min-height: 0;
  display: grid;
  align-items: center;
  gap: clamp(24px, 3.4cqw, 60px);
}
.copy { display: flex; flex-direction: column; align-items: flex-start; }

.intro {
  flex: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 12px clamp(24px, 3.4cqw, 60px);
  margin-bottom: clamp(16px, 1.8cqw, 30px);
}
.intro .lead { margin-top: 0; }
.intro--stack { display: block; }
.intro--stack .lead { margin-top: clamp(8px, 0.8cqw, 14px); max-width: 72rem; }

.numbered { display: grid; gap: clamp(10px, 1cqw, 16px); margin-top: clamp(16px, 1.7cqw, 28px); width: 100%; }
.numbered li { display: flex; align-items: flex-start; gap: clamp(12px, 1.1cqw, 18px); }
.numbered h3 { margin-bottom: 4px; }
.numbered p { font-size: clamp(13.5px, 0.92cqw, 15.5px); line-height: 1.5; color: var(--ink-2); }

/* ---------- Slide 1 · Cover ---------- */
.slide.cover { padding: 0; }
.slide.cover.active { display: grid; grid-template-columns: 1.06fr 0.94fr; }

.cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 3.2cqw, 54px) clamp(24px, 3.4cqw, 56px) clamp(52px, 4.6cqw, 76px) clamp(24px, 4.2cqw, 70px);
}

.cover-mark { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: clamp(18px, 2.2cqw, 36px); }
.brand-plate--hero {
  padding: clamp(14px, 1.4cqw, 24px) clamp(18px, 1.9cqw, 32px);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(14, 27, 46, 0.05), 0 22px 48px rgba(14, 27, 46, 0.14);
}
.brand-plate--hero img { height: clamp(72px, 6.6cqw, 112px); }
.cover-mark-caption,
.cover-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: clamp(10.5px, 0.74cqw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.cover-mark-caption i,
.cover-note i,
.photo-credit b i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.cover-copy h1 { max-width: 19ch; }
.cover-copy .lead { max-width: 54ch; }

.cover-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: clamp(16px, 1.8cqw, 30px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cover-stats > div { padding: clamp(10px, 1cqw, 16px) clamp(10px, 1cqw, 18px); }
.cover-stats > div + div { border-left: 1px solid var(--rule); }
.cover-stats > div:first-child { padding-left: 0; }
.cover-stats dt {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8cqw, 31px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--brand-blue);
}
.cover-stats dd {
  margin-top: 4px;
  font-size: clamp(12px, 0.82cqw, 14px);
  line-height: 1.4;
  color: var(--ink-2);
}

.cover-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: clamp(14px, 1.5cqw, 24px);
  font-size: clamp(12.5px, 0.86cqw, 14.5px);
  font-weight: 600;
  color: var(--ink);
}
.cover-contact li { display: inline-flex; align-items: center; gap: 8px; }
.cover-contact .ico { color: var(--bronze); }
.cover-note { margin-top: clamp(12px, 1.3cqw, 22px); color: var(--ink-2); }

.cover-stage {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.cover-photo,
.cover-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover-photo {
  object-fit: cover;
  object-position: 90% 60%;
  opacity: 1;
  filter: none;
}
.cover-stage canvas { display: block; pointer-events: none; }

.photo-credit {
  position: absolute;
  left: clamp(16px, 1.7cqw, 28px);
  bottom: clamp(16px, 1.7cqw, 28px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 16px 11px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(4, 12, 26, 0.28);
}
.photo-credit b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10.5px, 0.72cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.photo-credit span { font-size: clamp(12px, 0.8cqw, 13.5px); color: var(--ink-2); }

.cover .page { right: auto; left: clamp(24px, 4.2cqw, 70px); }

/* ---------- Slide 2 · The Studio ---------- */
.split--studio { grid-template-columns: 0.96fr 1.04fr; }
.split--studio h2 { max-width: 22ch; }

.pull {
  margin-top: clamp(16px, 1.7cqw, 28px);
  padding: clamp(12px, 1.1cqw, 18px) clamp(16px, 1.4cqw, 24px);
  background: #FFFFFF;
  border-left: 3px solid var(--gold-line);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-soft);
}
.pull p {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.1cqw, 18.5px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.pull cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: clamp(10.5px, 0.72cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.mosaic {
  height: 100%;
  max-height: 640px;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(10px, 0.9cqw, 16px);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: var(--shadow-soft);
}
.tile--tall { grid-row: 1 / span 2; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
}
.tile--tall img { object-position: 50% 62%; }
.tile--studio img { object-position: 70% 40%; }
.tile figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  background: #FFFFFF;
  border-radius: 999px;
  font-size: clamp(10px, 0.7cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(4, 12, 26, 0.22);
}

/* ---------- Slide 3 · Ideas ---------- */
.idea-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5cqw, 26px);
}
.idea-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--navy-card);
  border: 1px solid var(--navy-rule);
  border-radius: 16px;
}
.idea-media { flex: none; height: clamp(150px, 31vh, 340px); overflow: hidden; background: var(--navy-2); }
.idea-media img { width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: none; }
.idea-card:nth-child(1) .idea-media img { object-position: 50% 30%; }
.idea-card:nth-child(2) .idea-media img { object-position: 50% 32%; }
.idea-card:nth-child(3) .idea-media img { object-position: 50% 40%; }
.idea-body { flex: none; padding: clamp(14px, 1.4cqw, 24px) clamp(16px, 1.5cqw, 26px) clamp(16px, 1.5cqw, 26px); }
.idea-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(10px, 0.9cqw, 14px); }
.tag {
  padding: 6px 12px;
  border: 1px solid rgba(169, 203, 238, 0.45);
  border-radius: 999px;
  font-size: clamp(10px, 0.68cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.idea-body h3 { margin-bottom: 6px; }
.idea-body p { font-size: clamp(13px, 0.9cqw, 15px); line-height: 1.5; color: var(--on-navy-2); }

/* ---------- Browser frames (slides 4 & 5) ---------- */
.browser {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #DCD2C2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(14, 27, 46, 0.05), 0 26px 56px rgba(14, 27, 46, 0.16);
}
.browser-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  background: #F4EFE6;
  border-bottom: 1px solid #E2D8C7;
}
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #E46A5E; }
.dots i:nth-child(2) { background: #E9B54A; }
.dots i:nth-child(3) { background: #5DB46A; }
.url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 26px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid #E2D8C7;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.url .ico { width: 13px; height: 13px; color: var(--ink-2); }
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.browser-view { overflow: hidden; background: #FFFFFF; }
.browser-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  filter: none;
}
.browser figcaption {
  padding: 11px 16px 12px;
  border-top: 1px solid #E2D8C7;
  font-size: clamp(12px, 0.8cqw, 13.5px);
  line-height: 1.45;
  color: var(--ink-2);
}

/* ---------- Slide 4 · Website concept ---------- */
.split--website { grid-template-columns: 1fr auto; }
.split--website h2 { max-width: 26ch; }
.browser--concept { width: calc(clamp(300px, 42vh, 440px) * 1.7917 + 2px); max-width: 100%; justify-self: end; }
.browser-view--concept { height: clamp(300px, 42vh, 440px); }

/* ---------- Slide 5 · Before & after ---------- */
.compare {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4cqw, 44px);
}
.browser--case {
  flex: 0 1 auto;
  width: calc(clamp(280px, 38vh, 400px) * 1.6);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-deep);
}
.browser-view--case { height: clamp(280px, 38vh, 400px); aspect-ratio: 16 / 10; }
.browser--case figcaption { display: flex; flex-direction: column; gap: 2px; }
.browser--case figcaption b {
  font-size: clamp(10.5px, 0.72cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
/* the source capture carries a 16px scrollbar strip on its right edge */
.browser-view--case img.trim-scrollbar { width: calc(100% + 6px); max-width: none; }
.chip--before { background: #4A5361; }
.chip--after { background: var(--brand-blue); }

/* ---------- Slide 6 · Roadmap ---------- */
.roadmap h2 { font-size: clamp(25px, 2.35cqw, 42px); }
.roadmap .intro { margin-top: auto; }
.roadmap .fact-bar { margin-bottom: auto; }
.phase-grid {
  flex: none;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: clamp(14px, 1.5cqw, 26px);
}
.phase {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.5cqw, 26px);
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.phase-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: clamp(10px, 0.9cqw, 14px);
  margin-bottom: clamp(10px, 0.9cqw, 14px);
  border-bottom: 1px solid var(--rule);
}
.phase-days {
  display: block;
  line-height: 1;
  font-size: clamp(12px, 0.8cqw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.phase-days b {
  margin-right: 8px;
  font-family: var(--font-display);
  font-size: clamp(44px, 4cqw, 68px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--brand-blue);
}
.phase-tag {
  /* lift onto the numeral's baseline: the numeral line box carries its descent below */
  padding-bottom: calc(0.2em + clamp(44px, 4cqw, 68px) * 0.19);
  font-size: clamp(10px, 0.68cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.phase h3 { margin-bottom: 8px; font-size: clamp(19px, 1.45cqw, 25px); }
.phase > p { font-size: clamp(13.5px, 0.98cqw, 16.5px); line-height: 1.55; color: var(--ink-2); }
.checks-label {
  margin-top: auto;
  padding-top: clamp(12px, 1.2cqw, 20px);
  font-size: clamp(10px, 0.68cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.checks { display: grid; gap: clamp(7px, 0.65cqw, 11px); margin-top: clamp(8px, 0.7cqw, 12px); padding-top: clamp(10px, 0.9cqw, 14px); border-top: 1px dashed var(--rule); }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: clamp(13px, 0.92cqw, 15.5px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.checks .ico { margin-top: 1px; color: var(--brand-blue); stroke-width: 2.4; }

.phase--feature { background: var(--navy); border-color: var(--navy); box-shadow: 0 24px 50px rgba(11, 29, 54, 0.32); }
.phase--feature .phase-top { border-bottom-color: var(--navy-rule); }
.phase--feature .phase-days { color: var(--on-navy-2); }
.phase--feature .phase-days b { color: var(--gold); }
.phase--feature .phase-tag { color: var(--gold); }
.phase--feature .checks-label { color: var(--sky); }
.phase--feature .checks { border-top-color: var(--navy-rule); }
.phase--feature h3 { color: var(--on-navy); }
.phase--feature > p { color: var(--on-navy-2); }
.phase--feature .checks li { color: var(--on-navy); }
.phase--feature .checks .ico { color: var(--gold); }

.fact-bar {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(14px, 1.4cqw, 22px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.fact-bar span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: clamp(9px, 0.8cqw, 13px) clamp(14px, 1.3cqw, 22px);
  font-size: clamp(12px, 0.84cqw, 14px);
  font-weight: 600;
  color: var(--ink-2);
}
.fact-bar span + span { border-left: 1px solid var(--rule); }
.fact-bar b {
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Slide 7 · Sign-off & concierge ---------- */
.close-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(24px, 3cqw, 52px);
}
.close-grid h2 { max-width: 21ch; }

.partner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(16px, 1.6cqw, 26px);
  width: 100%;
  margin-top: clamp(16px, 1.7cqw, 28px);
  padding: clamp(16px, 1.5cqw, 24px);
  background: var(--navy-card);
  border: 1px solid var(--navy-rule);
  border-radius: 18px;
}
.partner-avatar-wrap {
  width: clamp(112px, 8.3cqw, 136px);
  height: clamp(112px, 8.3cqw, 136px);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold-line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.partner-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 1;
  filter: none;
}
.partner-kicker {
  font-size: clamp(10px, 0.7cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.partner-name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(24px, 1.9cqw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--on-navy);
}
.partner-role { margin-top: 3px; font-size: clamp(13px, 0.88cqw, 15px); font-weight: 600; color: var(--sky); }
.partner-quote {
  margin-top: clamp(8px, 0.8cqw, 12px);
  font-size: clamp(13px, 0.9cqw, 15px);
  line-height: 1.55;
  color: var(--on-navy-2);
}
.partner-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(10px, 1cqw, 16px); }
.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: clamp(12px, 0.8cqw, 13.5px);
  font-weight: 600;
  color: var(--on-navy);
  text-decoration: none;
  white-space: nowrap;
}
.partner-pill .ico { color: var(--gold); }
.partner-pill:hover { background: rgba(255, 255, 255, 0.08); }

.request {
  padding: clamp(20px, 1.9cqw, 32px);
  background: var(--paper);
  border-radius: 18px;
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}
.request .kicker { color: var(--bronze); }
.request h3 { font-size: clamp(24px, 1.9cqw, 32px); color: var(--ink); }
.request > p { margin-top: 8px; font-size: clamp(13px, 0.9cqw, 15px); line-height: 1.5; color: var(--ink-2); }
.screen-request { margin-top: clamp(14px, 1.3cqw, 20px); display: grid; gap: clamp(10px, 1cqw, 14px); }
.suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggestions button {
  padding: 11px 12px;
  background: #FFFFFF;
  border: 1px solid #CFC3AF;
  border-radius: 10px;
  font-size: clamp(11px, 0.74cqw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.suggestions button:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picker-col { display: grid; gap: 6px; }
.picker-col label {
  font-size: clamp(10px, 0.68cqw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.date-control {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #CFC3AF;
  border-radius: 10px;
  overflow: hidden;
}
.date-control input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  color-scheme: light;
}
.date-control input::-webkit-calendar-picker-indicator { opacity: 0; width: 0; padding: 0; margin: 0; }
.date-control button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  align-self: stretch;
  border: 0;
  border-left: 1px solid #E2D8C7;
  background: #F4EFE6;
  color: var(--ink);
  cursor: pointer;
}
#picker-help { font-size: 13px; color: var(--ink-2); }
#contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--navy);
  border-radius: 12px;
  font-size: clamp(11.5px, 0.78cqw, 13px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(11, 29, 54, 0.28);
}
#contact:hover { background: var(--navy-2); }
#contact .ico { color: var(--gold); }
.request-note { display: block; margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.print-contact { display: none; }

/* ---------- Controls ---------- */
.controls {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}
.controls button:hover { background: rgba(255, 255, 255, 0.1); }
#counter { min-width: 44px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
#play {
  margin-left: 2px;
  padding: 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 999px 999px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--gold);
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-line);
  outline-offset: 2px;
}

/* ---------- Desktop stage ---------- */
@media screen and (min-width: 701px) {
  html, body { height: 100%; overflow: hidden; }
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    background: radial-gradient(90% 70% at 50% 40%, #0D2140 0%, #07111F 70%);
  }
  #deck {
    --deck-h: min(920px, calc(100vh - 84px));
    container-type: size;
    width: min(96vw, calc(var(--deck-h) * 1.7826));
    height: var(--deck-h);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  }
  .slide { height: 100%; }
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 700px) {
  #deck { min-height: 100svh; }
  .slide { min-height: 100svh; padding: 16px 16px 92px; }
  .slide.cover.active { grid-template-columns: 1fr; }
  .cover-copy { padding: 22px 16px 8px; }
  .cover-stage { min-height: 360px; margin: 0 16px 92px; border-radius: 16px; }
  .cover .page { display: none; }
  .slide-head { flex-wrap: wrap; }
  .head-meta { display: none; }
  .brand-name { display: none; }
  .split, .split--studio, .split--website, .close-grid, .intro { grid-template-columns: minmax(0, 1fr); }
  .browser--concept { width: 100%; }
  .browser-view--concept { height: auto; aspect-ratio: 1376 / 768; }
  .mosaic { height: 420px; }
  .idea-grid, .phase-grid, .fact-bar { grid-template-columns: 1fr; }
  .idea-media { height: 200px; flex: none; }
  .fact-bar span + span { border-left: 0; border-top: 1px solid var(--rule); }
  .compare { flex-direction: column; }
  .browser--case { width: 100%; }
  .browser-view--case { height: auto; width: 100%; }
  .cover-stats { grid-template-columns: 1fr; }
  .cover-stats > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .cover-stats > div { padding-left: 0; }
  .partner-card { grid-template-columns: 1fr; }
  .picker-grid, .suggestions { grid-template-columns: 1fr; }
  .page { bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  @page { size: letter landscape; margin: 0.25in; }
  html, body { background: #FFFFFF; }
  #deck { width: 100%; height: auto; overflow: visible; container-type: inline-size; }
  .slide, .slide.cover {
    display: flex;
    flex-direction: column;
    height: 7.9in;
    break-after: page;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .slide.cover { display: grid; grid-template-columns: 1.06fr 0.94fr; }
  .slide:last-child { break-after: auto; }
  .controls, canvas, .page, .screen-request { display: none; }
  .print-contact { display: block; margin-top: 12px; font-size: 11pt; font-weight: 700; color: var(--ink); }
}
