@font-face { font-family: Montserrat; src: url("fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("fonts/Montserrat-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-VariableFont_wght.ttf") format("truetype"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --ink: #171717;
  --paper: #f8f8f6;
  --white: #fafafa;
  --yellow: #ffc800;
  --mint: #5ae09a;
  --cobalt: #3b6ce7;
  --rose: #d94f8c;
  --line: rgba(23, 23, 23, 0.18);
  --mono: "JetBrains Mono", monospace;
  --sans: Montserrat, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #000; }
body { font-family: var(--sans); color: var(--ink); }
deck-stage:not(:defined) { visibility: hidden; }

.slide {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  isolation: isolate;
}

.slide-header {
  position: absolute;
  z-index: 20;
  left: 86px;
  right: 86px;
  top: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kicker, .chapter, .day-stamp, .slide-number, figcaption, .lane-label, .lane-proof, .film-label {
  letter-spacing: 0;
  font-family: var(--mono);
  text-transform: uppercase;
}

.kicker { margin: 0; font-size: 22px; font-weight: 700; }
.chapter { margin: 0; font-size: 15px; font-weight: 700; }
.dark-ink { color: var(--ink); }
.light-ink { color: var(--white); }

h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { letter-spacing: 0; }
h1 { font-size: 98px; line-height: 0.98; font-weight: 900; }
h2 { font-size: 82px; line-height: 1.02; font-weight: 900; }
h3 { font-size: 34px; line-height: 1.08; font-weight: 900; }

.quote blockquote { font-size: 24px; line-height: 1.35; font-weight: 600; }
.quote figcaption { margin-top: 18px; font-size: 13px; line-height: 1.4; font-weight: 700; }
.quote-on-dark { color: var(--white); }
.quote-on-dark figcaption { color: rgba(250,250,250,0.64); }

/* Cover */
.cover { color: var(--white); background: #090909; }
.cover-media { position: absolute; inset: 0 0 0 44%; z-index: -3; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) contrast(1.12); }
.cover-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,8,8,0.99) 0%, rgba(8,8,8,0.97) 46%, rgba(8,8,8,0.56) 76%, rgba(8,8,8,0.68) 100%); }
.cover::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,0.22); pointer-events: none; }
.brand-row { position: absolute; top: 58px; left: 80px; right: 80px; display: flex; justify-content: space-between; align-items: center; }
.brand-lockup { width: 190px; height: auto; object-fit: contain; }
.day-stamp { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.76); }
.cover-copy { position: absolute; left: 82px; top: 214px; width: 1190px; }
.cover-copy .kicker { color: var(--yellow); margin-bottom: 28px; }
.cover-copy h1 { color: var(--white); font-size: 88px; text-wrap: balance; }
.cover-deck { margin-top: 34px; width: 890px; font-size: 28px; line-height: 1.42; font-weight: 500; color: rgba(255,255,255,0.76); }
.cover-quote { position: absolute; right: 88px; bottom: 84px; width: 640px; padding-left: 30px; border-left: 5px solid var(--yellow); }
.cover-quote blockquote { font-size: 26px; }
.slide-number { position: absolute; left: 86px; bottom: 72px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.56); }

/* Problem */
.problem { background: var(--paper); }
.problem::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(23,23,23,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,23,.045) 1px, transparent 1px); background-size: 42px 42px; z-index: -1; }
.problem-statement { position: absolute; left: 86px; top: 155px; width: 910px; }
.problem-statement h2 { font-size: 75px; }
.problem-statement p { margin-top: 28px; width: 780px; font-size: 25px; line-height: 1.45; font-weight: 500; color: #55555b; }
.problem-map { position: absolute; right: 64px; top: 138px; width: 880px; height: 700px; }
.problem-lines { position: absolute; inset: 48px 0 auto 0; width: 880px; height: 560px; z-index: 0; overflow: visible; }
.problem-lines path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 11; opacity: .34; }
.orbit, .store-core { position: absolute; z-index: 2; display: flex; flex-direction: column; justify-content: center; border: 3px solid var(--ink); }
.orbit { width: 265px; height: 172px; padding: 24px 26px; background: var(--white); box-shadow: 8px 8px 0 var(--ink); }
.orbit strong { margin-top: 8px; font-size: 22px; font-weight: 900; }
.orbit small { margin-top: 8px; font-size: 15px; line-height: 1.35; font-weight: 600; color: #64646b; }
.orbit-index { font-family: var(--mono); font-size: 13px; font-weight: 800; }
.orbit-operator { left: 8px; top: 5px; border-color: var(--cobalt); }
.orbit-civic { right: 6px; top: 0; border-color: var(--mint); }
.orbit-community { left: 320px; bottom: 0; border-color: var(--rose); }
.store-core { left: 318px; top: 230px; width: 266px; height: 220px; align-items: center; text-align: center; background: var(--yellow); box-shadow: 12px 12px 0 var(--ink); }
.store-mark { display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid var(--ink); border-radius: 50%; font-size: 21px; font-weight: 900; }
.store-core strong { margin-top: 16px; font-size: 30px; font-weight: 900; }
.store-core small { margin-top: 7px; font-size: 15px; font-weight: 700; }
.problem-quote { position: absolute; left: 86px; bottom: 78px; width: 1090px; padding: 25px 34px; border-left: 7px solid var(--yellow); background: rgba(255,255,255,.72); }
.problem-quote blockquote { font-size: 27px; }
.problem-quote figcaption { color: #69696f; }

/* Solution */
.solution { color: var(--white); background: #121212; }
.solution::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 690px; background: #191919; border-right: 1px solid rgba(255,255,255,.13); }
.solution-copy { position: absolute; left: 86px; top: 164px; width: 560px; }
.solution-copy h2 { color: var(--white); font-size: 67px; }
.solution-copy > p { margin-top: 28px; font-size: 22px; line-height: 1.5; color: rgba(255,255,255,.69); }
.flow-line { display: flex; align-items: center; gap: 13px; margin-top: 42px; color: var(--yellow); font-family: var(--mono); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.flow-line i { display: block; width: 30px; height: 1px; background: rgba(255,255,255,.32); }
.solution-quote { margin-top: 45px; padding-left: 25px; border-left: 5px solid var(--yellow); }
.solution-quote blockquote { font-size: 21px; }
.film-shell { position: absolute; left: 740px; top: 128px; width: 1090px; height: 614px; background: #000; border: 1px solid rgba(255,255,255,.22); box-shadow: 18px 18px 0 var(--yellow); overflow: hidden; }
.film-shell video { display: block; width: 100%; height: 100%; object-fit: cover; background: #050505; }
.film-label { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; background: rgba(0,0,0,.72); color: var(--white); font-size: 12px; font-weight: 700; pointer-events: none; }
.product-strip { position: absolute; left: 740px; right: 90px; bottom: 61px; height: 226px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.product-strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,.17); filter: saturate(.9); }

/* Audiences */
.audiences { background: var(--paper); }
.audience-title { position: absolute; left: 86px; top: 144px; }
.audience-title h2 { font-size: 70px; }
.audience-rivers { position: absolute; left: 86px; right: 86px; top: 276px; height: 515px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.audience-lane { position: relative; display: grid; grid-template-rows: 92px 1fr 68px; padding: 0 38px; border-right: 2px solid var(--ink); overflow: hidden; }
.audience-lane:last-child { border-right: 0; }
.audience-lane::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--lane-color); }
.lane-operator { --lane-color: var(--cobalt); }
.lane-civic { --lane-color: var(--mint); }
.lane-community { --lane-color: var(--rose); }
.lane-number { padding-top: 31px; font-family: var(--mono); font-size: 16px; font-weight: 800; }
.lane-body { align-self: start; }
.lane-label { margin-bottom: 23px; font-size: 14px; font-weight: 800; color: #6c6c72; }
.lane-body h3 { width: 95%; }
.lane-body > p:last-child { margin-top: 24px; font-size: 20px; line-height: 1.5; font-weight: 500; color: #505056; }
.lane-proof { align-self: center; display: flex; align-items: center; height: 40px; padding-left: 16px; border-left: 5px solid var(--lane-color); font-size: 13px; font-weight: 800; }
.audience-quote { position: absolute; left: 86px; bottom: 58px; width: 850px; padding-left: 24px; border-left: 5px solid var(--yellow); }
.audience-quote blockquote { font-size: 22px; }
.audience-quote figcaption { margin-top: 12px; color: #6c6c72; }
.audience-close { position: absolute; right: 86px; bottom: 72px; text-align: right; }
.audience-close span, .audience-close strong { display: block; }
.audience-close span { font-size: 23px; font-weight: 600; color: #6c6c72; }
.audience-close strong { margin-top: 5px; font-size: 38px; font-weight: 900; }

@media (prefers-reduced-motion: no-preference) {
  .slide[data-deck-active] .cover-copy,
  .slide[data-deck-active] .problem-statement,
  .slide[data-deck-active] .solution-copy,
  .slide[data-deck-active] .audience-title { animation: rise .75s cubic-bezier(.16,1,.3,1) both; }
  .slide[data-deck-active] .film-shell,
  .slide[data-deck-active] .problem-map,
  .slide[data-deck-active] .audience-rivers { animation: reveal .9s .12s cubic-bezier(.16,1,.3,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes reveal { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
}

@media print {
  @page { size: 1920px 1080px; margin: 0; }
  body { background: #fff; }
}
