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

:root {
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ink: #080808;
  --paper: #fff;
  --soft-paper: #f6f6f4;
  --muted: #686868;
  --hairline: rgba(0, 0, 0, .10);
  --dark-hairline: rgba(255, 255, 255, .16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --space-section: clamp(5rem, 9vw, 10rem);
  --container: 1440px;
  --gutter: 24px;
  --header-h: 72px;

  --ease-fe3: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img { display: block; max-width: 100%; }
.media picture, .hero-media picture, .panel-media picture, .final-media picture { display: block; height: 100%; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }

/* Type */
.eyebrow {
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-size: clamp(2.6rem, 4.4vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 720;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
}

.muted-title { color: #9a9a9a; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 280ms var(--ease-fe3),
    background-color 280ms var(--ease-fe3),
    color 280ms var(--ease-fe3),
    box-shadow 280ms var(--ease-fe3);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); transition-duration: 80ms; }
.btn .arrow { width: 18px; height: 18px; transition: transform 280ms var(--ease-fe3); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #262626; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #ececec; }
.btn-sm { min-height: 40px; padding: 0 1rem; border-radius: var(--radius-sm); font-size: .9rem; }
.btn-lg { min-height: 60px; padding: 0 1.75rem; font-size: 1.0625rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 280ms var(--ease-fe3), box-shadow 280ms var(--ease-fe3);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; color: var(--ink); margin-right: auto; }
.logo { width: 52px; height: 38px; fill: currentColor; }
.nav { display: flex; gap: 2rem; }
.nav a {
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
  color: #3a3a3a;
  transition: color 200ms var(--ease-fe3);
}
.nav a:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .bars,
.menu-toggle .bars::before {
  display: block;
  width: 20px; height: 1.8px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 280ms var(--ease-fe3);
}
.menu-toggle .bars { transform: translateY(-3.5px); }
.menu-toggle .bars::before { content: ""; transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .bars { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::before { transform: rotate(-90deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 88% 50%;
  transform: scale(1.02);
  transition: transform 1600ms var(--ease-fe3);
}
.is-loaded .hero-media img { transform: scale(1); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, .98) 0%,
      rgba(255, 255, 255, .9) 30%,
      rgba(255, 255, 255, .45) 50%,
      rgba(255, 255, 255, .08) 66%,
      rgba(255, 255, 255, 0) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 18%);
}
.hero-content {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}
.hero-content > * { max-width: 44rem; }
.hero .eyebrow { color: #4a4a4a; margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(3.3rem, 6.3vw, 7.4rem);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 750;
  max-width: none;
}
.price-line { display: inline-block; }
.hero-copy {
  margin-top: 2rem;
  max-width: 31rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: #333;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.5rem;
}

.hero-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-fe3), transform 700ms var(--ease-fe3);
}
.is-loaded .hero-in { opacity: 1; transform: none; }
.is-loaded .hero-in:nth-child(2) { transition-delay: 80ms; }
.is-loaded .hero-in:nth-child(3) { transition-delay: 160ms; }
.is-loaded .hero-in:nth-child(4) { transition-delay: 240ms; }

/* Media */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--soft-paper);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-parallax] { will-change: transform; }
.media [data-parallax],
.panel-media [data-parallax],
.final-media [data-parallax] { height: 112%; margin-top: -6%; }

/* Offer */
.offer-grid {
  display: grid;
  gap: 3.5rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}
.offer-head .eyebrow { margin-bottom: 1.5rem; }
.offer-head .lede { margin-top: 2rem; }
.price-big {
  display: inline-block;
  font-size: 1.6em;
  letter-spacing: -.065em;
  line-height: .95;
  margin-top: .08em;
}
.offer-list > .eyebrow { margin-bottom: 1rem; }
.includes li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--hairline);
}
.includes li:last-child { border-bottom: 1px solid var(--hairline); }
.includes .n, .step-n {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: .3rem;
}
.includes h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.02em; }
.includes p { margin-top: .25rem; color: var(--muted); }
.fineprint {
  margin-top: 1.75rem;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44rem;
}
.media-wide { aspect-ratio: 16 / 9; }

/* Pillars */
.pillars { background: var(--soft-paper); }
.pillars-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.pillars-head .eyebrow { margin-bottom: 1.5rem; }
.pillars-head .section-title { max-width: 18ch; }
.pillar-grid { display: grid; gap: 3.5rem; }
.pillar-media { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
.pillar-media img { transition: transform 900ms var(--ease-fe3); }
.pillar:hover .pillar-media img { transform: scale(1.025); }
.pillar h3 {
  margin-top: 1.75rem;
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1;
}
.pillar p { margin-top: .9rem; color: var(--muted); max-width: 30ch; font-size: 1.0625rem; }

/* How */
.how-head { display: grid; gap: 2rem; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.how-head .eyebrow { margin-bottom: -.5rem; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  padding: 2rem 0;
  border-top: 1px solid var(--ink);
}
.step-n { display: block; font-size: .85rem; color: var(--ink); }
.step h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.step p { margin-top: .75rem; color: var(--muted); max-width: 30ch; }
.note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: .95rem;
  color: var(--muted);
  max-width: 50rem;
}

/* Work */
.work { padding-top: 0; }
.work-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.work-head .eyebrow { margin-bottom: 1.5rem; }
.work-grid { display: grid; gap: 3.5rem; }
.case { display: block; }
.case-media { aspect-ratio: 4 / 3; }
.case-lead .case-media { aspect-ratio: 16 / 9; }
.case-media img { transition: transform 900ms var(--ease-fe3); }
.case:hover .case-media img { transform: scale(1.025); }
.case-body { padding-top: 1.5rem; max-width: 42rem; }
.tag {
  display: inline-block;
  padding: .3rem .6rem;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.case h3 {
  margin-top: .9rem;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1;
}
.case p { margin-top: .75rem; color: var(--muted); }
.case strong { color: var(--ink); font-weight: 600; }

/* Photo panel */
.panel {
  position: relative;
  min-height: min(92svh, 60rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
}
.panel-media { position: absolute; inset: 0; z-index: -2; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.panel::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(8, 8, 8, .82) 0%, rgba(8, 8, 8, .35) 45%, rgba(8, 8, 8, .05) 75%),
    linear-gradient(90deg, rgba(8, 8, 8, .45) 0%, rgba(8, 8, 8, 0) 60%);
}
.panel-content { padding-block: clamp(4rem, 8vw, 7rem); }
.panel-content > * { max-width: 42rem; }
.panel .eyebrow { color: rgba(255, 255, 255, .72); margin-bottom: 1.5rem; }
.panel p:not(.eyebrow) { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 32rem; }
.panel .btn { margin-top: 2rem; }

/* FAQ */
.faq-grid { display: grid; gap: 3rem; }
.faq-head .eyebrow { margin-bottom: 1.5rem; }
.faq-list details { border-top: 1px solid var(--hairline); }
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.5rem 3rem 1.5rem 0;
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  font-weight: 620;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 14px; height: 1.8px;
  background: currentColor;
  transition: transform 280ms var(--ease-fe3);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p {
  padding: 0 3rem 1.75rem 0;
  color: var(--muted);
  max-width: 44rem;
}

/* Final CTA */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.final-media { position: absolute; inset: 0; z-index: -2; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.final::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .85) 0%, rgba(8, 8, 8, .25) 30%, rgba(8, 8, 8, .15) 55%, rgba(8, 8, 8, .92) 100%);
}
.final-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 8rem 4rem;
}
.final .eyebrow { color: rgba(255, 255, 255, .75); }
.final-title {
  margin: 1.5rem 0 2.75rem;
  font-size: clamp(3.4rem, 9vw, 9rem);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 750;
}
.final-support {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 550;
  color: rgba(255, 255, 255, .8);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--dark-hairline);
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}
.site-footer .brand { color: var(--paper); margin-right: 0; }
.site-footer .logo { width: 40px; height: 29px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-right: auto; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--paper); }

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms var(--ease-fe3), transform 650ms var(--ease-fe3);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 64px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--hairline);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 280ms var(--ease-fe3), transform 280ms var(--ease-fe3), visibility 0s 280ms;
  }
  .nav a { padding: .9rem 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); border-bottom: 1px solid var(--hairline); }
  .nav a:last-child { border-bottom: 0; }
  .is-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-toggle { display: block; }
  .header-inner { gap: .5rem; }
  .logo { width: 46px; height: 33px; }

  .hero { min-height: 92svh; align-items: flex-end; }
  .hero-media img { object-position: 84% 40%; }
  .hero::after {
    background:
      linear-gradient(0deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, .96) 42%,
        rgba(255, 255, 255, .55) 62%,
        rgba(255, 255, 255, 0) 82%),
      linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 16%);
  }
  .hero-content { padding-bottom: 2.25rem; }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero-title { font-size: clamp(2.9rem, 13.6vw, 5rem); }
  .hero-copy { margin-top: 1.25rem; font-size: 1.0625rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 1.75rem; }

  .media { border-radius: var(--radius-md); }
  .media-wide { aspect-ratio: 4 / 3; }
  .pillar-media { aspect-ratio: 5 / 4; }
  .case-lead .case-media { aspect-ratio: 4 / 3; }
  .faq-list summary { padding-right: 2.25rem; }
  .faq-list details p { padding-right: 0; }
  .final-content { padding-block: 7rem 3.5rem; }
  .final .btn-lg { align-self: stretch; }
}

@media (min-width: 768px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem 1.5rem; }
  .case-lead { grid-column: 1 / -1; }
  .work-head { grid-template-columns: 1fr auto; align-items: end; }
  .work-head .lede { max-width: 28rem; }
}

@media (min-width: 1024px) {
  .offer-grid { grid-template-columns: 5fr 6fr; gap: 6rem; align-items: start; }
  .offer-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .how-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; }
  .how-head .eyebrow { grid-column: 1 / -1; margin-bottom: -2rem; }
  .faq-grid { grid-template-columns: 5fr 7fr; gap: 6rem; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .case-lead { display: grid; grid-template-columns: 8fr 4fr; gap: 2.5rem; align-items: end; }
  .case-lead .case-body { padding-top: 0; }
}

@media (min-width: 1440px) {
  :root { --gutter: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
}
