@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/inter-800.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #101010;
  --ink: #f7f7f7;
  --muted: #c6c6c6;
  --soft: #979797;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --white-soft: #e6e6e6;
  --accent-gradient: linear-gradient(135deg, #fff 0%, #e6e6e6 58%, #969696 100%);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 54px rgba(0, 0, 0, 0.44);
  --page-pad: 20px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.52;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  font-size: clamp(32px, 8.4vw, 48px);
  line-height: 1.03;
}

h2 {
  font-size: clamp(32px, 8.2vw, 48px);
  line-height: 1.04;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
  text-wrap: pretty;
}

p {
  color: var(--muted);
  font-size: clamp(17px, 4.4vw, 19px);
  line-height: 1.52;
}

strong {
  color: var(--ink);
  font-weight: 800;
}

em {
  color: var(--white-soft);
  font-style: italic;
}

.progress-line {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.progress-line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-gradient);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
}

.slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  place-items: start center;
  padding: 54px var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.04), transparent 27%),
    linear-gradient(180deg, #090909 0%, #050505 100%);
}

.slide:nth-of-type(even) {
  background:
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.032), transparent 25%),
    linear-gradient(180deg, #050505 0%, #090909 100%);
}

.slide::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.022;
  pointer-events: none;
  content: "";
}

.slide-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin-inline: auto;
}

.content-inner {
  max-width: 920px;
}

.eyebrow,
.profile-panel figcaption {
  color: var(--soft);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 8px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-intro > p:last-child {
  max-width: 700px;
  margin-top: 12px;
}

.hero {
  padding-top: calc(46px + env(safe-area-inset-top));
  padding-bottom: 46px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.075), transparent 28%),
    linear-gradient(180deg, #0a0a0a 0%, #030303 100%);
}

.hero-inner {
  max-width: 740px;
}

.hero-body {
  max-width: 690px;
  margin-top: 18px;
}

.body-copy p + p {
  margin-top: 10px;
}

.prose-body {
  max-width: 760px;
  margin-top: 18px;
}

.prose-body p + p {
  margin-top: 18px;
}

.neon-field {
  border: 1px solid rgba(230, 230, 230, 0.18);
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.95), rgba(0, 0, 0, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 12px 26px rgba(0, 0, 0, 0.34),
    0 0 7px rgba(230, 230, 230, 0.08),
    0 0 18px rgba(230, 230, 230, 0.025),
    0 20px 44px rgba(0, 0, 0, 0.3);
}

.youtube-result {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  width: min(100%, 620px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.youtube-result img {
  width: 100%;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
}

.youtube-result figcaption {
  min-width: 0;
  align-self: center;
  padding: 12px 14px;
}

.youtube-result figcaption strong,
.youtube-result figcaption span {
  display: block;
  overflow-wrap: anywhere;
}

.youtube-result figcaption strong {
  font-size: 16px;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.youtube-result figcaption span {
  margin-top: 6px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.proof-body {
  max-width: 760px;
  margin-top: 22px;
}

.formula-block {
  margin-top: 20px;
}

.formula-block + .formula-block,
.proof-body > .formula-block + p {
  margin-top: 18px;
}

.formula-label {
  color: var(--white-soft);
  font-size: 16px;
  font-weight: 700;
}

.formula-field {
  min-width: 0;
  margin-top: 8px;
}

.video-idea-list {
  display: grid;
  overflow: hidden;
  border-radius: 18px;
}

.video-idea-row {
  position: relative;
  display: grid;
  min-height: 58px;
  min-width: 0;
  place-items: center;
  padding: 14px 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.034), transparent 50%);
  text-align: center;
}

.video-idea-row:last-child {
  border-bottom: 0;
}

.video-idea-row h3 {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.video-number {
  position: absolute;
  left: 16px;
  color: var(--soft);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.packaging-grid {
  display: grid;
  gap: 12px;
}

.packaging-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.packaging-card figcaption {
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px 14px;
}

.packaging-card figcaption strong {
  font-size: 16px;
  letter-spacing: -0.018em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.proof-image {
  overflow: hidden;
  background: #030303;
}

.proof-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.packaging-count {
  margin-top: auto;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.section-followup {
  max-width: 720px;
  margin-top: 18px;
  color: var(--white-soft);
}

.profile-compare {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.profile-panel {
  width: min(100%, 315px);
  min-width: 0;
}

.profile-panel figcaption {
  margin-bottom: 8px;
}

.profile-panel:nth-child(2) figcaption {
  color: var(--ink);
}

.instagram-screenshot {
  width: 100%;
  border-radius: 42px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.terminal {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}

.terminal-lines {
  padding: 15px 16px;
}

.terminal-lines p {
  min-width: 0;
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.terminal-lines p + p {
  margin-top: 10px;
}

.bio-field {
  width: 100%;
  max-width: 720px;
  margin: 20px auto 0;
}

.profile-link {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.profile-link strong {
  font-weight: 700;
}

.links-field {
  max-width: 760px;
}

.close-slide {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  padding-right: 0;
  padding-bottom: calc(56px + env(safe-area-inset-bottom));
  padding-left: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.075), transparent 30%),
    #030303;
}

.close-inner {
  max-width: none;
}

.close-column {
  width: calc(100% - var(--page-pad) - var(--page-pad));
  max-width: 980px;
  margin-inline: auto;
}

/* ---- the close: one number, its receipt, the metrics, and a room --------
   the client photos are the ground the whole section stands on, sunk into
   the black rather than sitting in it. */

.close-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cb-layer {
  position: absolute;
  display: flex;
  inset: -4% -2%;
  flex-wrap: wrap;
  align-content: flex-start;
  opacity: 1;
  filter: saturate(0.82) brightness(calc(0.42 + 0.08 * var(--cb-lift, 0)));
  transform: translate3d(0, var(--cb-shift, 0px), 0);
  will-change: transform;
}

/* tiled so every one of the four is legible at a normal size and no single
   photo owns the section. object-position varies so repeats do not read as a
   repeating pattern. */
.cb-layer img {
  width: 25%;
  height: clamp(200px, 21vw, 340px);
  flex: 0 0 auto;
  object-fit: cover;
}

.cb-layer img:nth-child(4n + 1) { object-position: 50% 26%; }
.cb-layer img:nth-child(4n + 2) { object-position: 42% 40%; }
.cb-layer img:nth-child(4n + 3) { object-position: 58% 30%; }
.cb-layer img:nth-child(4n + 4) { object-position: 50% 46%; }

/* the scrim keeps every piece of copy above it at full contrast and hands the
   section back to pure black at both seams. */
.close-backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0.82) 40%, rgba(3, 3, 3, 0.42) 68%, rgba(3, 3, 3, 0.26) 100%),
    linear-gradient(180deg, #030303 0%, rgba(3, 3, 3, 0.1) 12%, rgba(3, 3, 3, 0.12) 82%, #030303 100%);
  content: "";
}

.proof-statement {
  width: calc(100% - var(--page-pad) - var(--page-pad));
  max-width: 980px;
  margin: 26px auto 0;
}

.proof-figure {
  color: var(--ink);
  font-size: clamp(74px, 15.5vw, 178px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.058em;
  line-height: 0.86;
  text-shadow: 0 8px 44px rgba(0, 0, 0, 0.6);
}

.proof-figure-note {
  max-width: 620px;
  margin-top: 16px;
  color: var(--white-soft);
  font-size: clamp(17px, 4.2vw, 20px);
  text-wrap: pretty;
}

.proof-receipt {
  width: calc(100% - var(--page-pad) - var(--page-pad));
  max-width: 980px;
  overflow: hidden;
  margin: 24px auto 0;
  padding: 0.9%;
  border-radius: 14px;
  background: #f6f8fa;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.26),
    0 0 78px rgba(255, 255, 255, 0.07),
    0 30px 74px rgba(0, 0, 0, 0.66);
}

.proof-receipt img {
  width: 100%;
  aspect-ratio: 2980 / 417;
  object-fit: contain;
}

.proof-wall {
  display: grid;
  width: calc(100% - var(--page-pad) - var(--page-pad));
  max-width: 1340px;
  min-width: 0;
  align-items: start;
  margin: 38px auto 0;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pw-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, calc(0.1 + 0.1 * max(var(--reveal, 0), var(--hv)))),
    0 26px 60px rgba(0, 0, 0, calc(0.5 + 0.22 * max(var(--reveal, 0), var(--hv))));
  transform:
    translate(var(--tx, 0px), calc(var(--ty, 0px) - 8px * max(var(--reveal, 0), var(--hv))))
    scale(var(--sc, 1));
  transition: --hv 260ms ease-out, box-shadow 260ms ease-out;
}

.pw-item img {
  display: block;
  width: 100%;
  height: auto;
}

.pw-item[data-shot] img {
  aspect-ratio: var(--crop);
  object-fit: cover;
  object-position: var(--crop-pos, center);
}

.pw-item:hover {
  --hv: 1;
  z-index: 3;
}

.pw-item[data-shot="cash"] {
  --crop: 620 / 172;
}

.pw-item[data-shot="dashboard"] {
  --crop: 633 / 288;
  --crop-pos: center top;
}

.pw-item[data-shot="payment"] {
  --crop: 695 / 400;
  --crop-pos: center top;
}

.pw-item[data-shot="closed-list"] {
  --crop: 904 / 520;
  --crop-pos: center top;
}

/* the four brought forward, lit and sharp, over the room they were already
   standing in. the wall stays; this is the foreground plate. */
.proof-row {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 46px;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-row::before {
  position: absolute;
  z-index: -1;
  inset: -26px -8px;
  background: radial-gradient(ellipse 62% 84% at 50% 50%, rgba(3, 3, 3, 0.72), transparent 76%);
  pointer-events: none;
  content: ;
}

.proof-row img {
  width: 100%;
  height: clamp(200px, 26vw, 370px);
  object-fit: cover;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.6);
}

.proof-row img:nth-child(1) { object-position: 50% 24%; }
.proof-row img:nth-child(2) { object-position: 46% 34%; }
.proof-row img:nth-child(3) { object-position: 50% 42%; }
.proof-row img:nth-child(4) { object-position: 54% 30%; }

.close-tail {
  margin-top: 46px;
}

.close-tail > p {
  max-width: 720px;
  margin-top: 0;
  color: var(--white-soft);
}

.close-tail > p + p {
  margin-top: 14px;
}

.primary-cta {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 15px 23px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #050505;
  background: var(--accent-gradient);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.44), 0 0 26px rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.primary-cta:hover {
  filter: brightness(1.08);
}

.motion-ready [data-reveal] > .slide-inner {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.motion-ready [data-reveal].is-active > .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready [data-reveal] [data-stage] {
  will-change: opacity, filter, translate, scale;
}

.motion-ready [data-reveal] [data-stage="image"] {
  opacity: 0.08;
  filter: brightness(0.72) saturate(0.82);
  translate: 0 12px;
  transition: opacity 540ms cubic-bezier(0.22, 1, 0.36, 1), filter 660ms cubic-bezier(0.22, 1, 0.36, 1), translate 660ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready [data-reveal] [data-stage="annotation"] {
  opacity: 0.03;
  scale: 0.95;
  translate: 0 7px;
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1), scale 500ms cubic-bezier(0.22, 1, 0.36, 1), translate 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready [data-reveal] [data-stage="copy"] {
  opacity: 0.04;
  translate: 0 9px;
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), translate 580ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready [data-reveal].is-active [data-stage="image"] {
  opacity: 1;
  filter: none;
  translate: 0 0;
  transition-delay: 60ms;
}

.motion-ready [data-reveal].is-active [data-stage="annotation"] {
  opacity: 1;
  scale: 1;
  translate: 0 0;
  transition-delay: 250ms;
}

.motion-ready [data-reveal].is-active [data-stage="copy"] {
  opacity: 1;
  translate: 0 0;
  transition-delay: 400ms;
}

.motion-ready [data-reveal] .pop-number {
  opacity: 0.18;
  scale: 0.84;
  transform-origin: right center;
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1), scale 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal].is-active .pop-number {
  opacity: 1;
  scale: 1;
  transition-delay: 320ms;
}

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

@media (min-width: 760px) {
  :root {
    --page-pad: 44px;
  }

  .slide {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero {
    padding-top: 68px;
    padding-bottom: 64px;
  }

  .section-intro {
    margin-bottom: 24px;
  }

  .packaging-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-compare {
    grid-template-columns: repeat(2, minmax(0, 315px));
    align-items: start;
    justify-content: center;
    gap: 22px;
  }

  .profile-panel {
    width: 100%;
  }

  .proof-wall {
    gap: 20px;
  }
}

@media (max-width: 759px) {
  .proof-wall {
    margin-top: 28px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-receipt {
    padding: 1.4%;
  }

  /* the banner is 7:1, so on a phone it crops to the cards that carry the
     number rather than shrinking to an unreadable strip. */
  .proof-receipt img {
    aspect-ratio: 930 / 417;
    object-fit: cover;
    object-position: left center;
  }

  .proof-row {
    margin-top: 32px;
    gap: 2px;
  }

  .proof-row img {
    height: clamp(150px, 41vw, 210px);
  }

  .cb-layer img {
    width: 50%;
    height: 210px;
  }

  .close-backdrop::after {
    background:
      linear-gradient(180deg, #030303 0%, rgba(3, 3, 3, 0.66) 10%, rgba(3, 3, 3, 0.7) 86%, #030303 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready [data-reveal] > .slide-inner,
  .motion-ready [data-reveal] [data-stage],
  .motion-ready [data-reveal] .pop-number {
    opacity: 1 !important;
    filter: none !important;
    scale: 1 !important;
    translate: none !important;
    transform: none !important;
  }

  .pw-item,
  .cb-layer {
    transform: none !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  body {
    background: #050505;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .progress-line {
    display: none !important;
  }

  .slide {
    padding: 14mm 12mm;
    break-inside: avoid;
  }

  .motion-ready [data-reveal] > .slide-inner,
  .motion-ready [data-reveal] [data-stage],
  .motion-ready [data-reveal] .pop-number {
    opacity: 1 !important;
    filter: none !important;
    scale: 1 !important;
    translate: none !important;
    transform: none !important;
  }

  .pw-item,
  .cb-layer {
    transform: none !important;
  }
}
