:root {
  --white: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --link: #0066cc;
  --black: #000000;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wide: 1120px;
  --read: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  height: 52px;
  background: rgba(251, 251, 253, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav__in { max-width: var(--wide); height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand span { font-weight: 400; color: var(--gray); }
.links { display: flex; gap: 30px; }
.links a { color: rgba(29, 29, 31, 0.8); font-size: 13px; letter-spacing: -0.01em; }
.links a:hover { color: var(--ink); text-decoration: none; }
.links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; color: inherit; text-wrap: balance; }
.display { font-size: clamp(48px, 7.4vw, 88px); line-height: 1.04; letter-spacing: -0.025em; }
.headline { font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.sub { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; font-weight: 400; color: var(--gray); letter-spacing: -0.01em; margin: 14px 0 0; }
.body-lg { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.5; color: var(--gray); }
.body-lg strong { color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* Links and buttons */
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 26px; font-size: 19px; }
.ctas.left { justify-content: flex-start; }
.more::after { content: "\203A"; margin-left: 4px; font-size: 1.15em; line-height: 0; }
.pill {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 17px; padding: 12px 22px; border-radius: 980px;
}
.pill:hover { background: #0077ed; text-decoration: none; }
.dark .more, .dark a.more { color: #2997ff; }

/* Sections */
.hero { text-align: center; padding: clamp(72px, 10vw, 120px) 22px 48px; }
.hero .sub { max-width: 760px; margin-left: auto; margin-right: auto; }
.band { padding: clamp(80px, 12vw, 160px) 22px; }
.band.center { text-align: center; }
.band .wrap { max-width: var(--wide); margin: 0 auto; }
.band .narrow { max-width: 860px; margin: 0 auto; }
.mist { background: var(--mist); }
.dark { background: var(--black); color: #f5f5f7; }
.dark .sub, .dark .body-lg { color: #a1a1a6; }

/* Full-bleed photograph */
.bleed { overflow: hidden; background: var(--mist); }
.bleed img { width: 100%; height: clamp(360px, 62vw, 760px); object-fit: cover; transform: scale(var(--zoom, 1)); will-change: transform; }

/* Tiles, like a product grid */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.tiles > * { min-width: 0; }
.tile {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--mist); color: var(--ink);
  min-height: 620px; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 56px 32px 0;
}
.tile.full { grid-column: 1 / -1; }
.tile .title { margin-bottom: 8px; }
.tile .sub { font-size: 21px; margin-top: 4px; }
.tile .ctas { font-size: 17px; margin-top: 16px; }
.tile figure { margin: auto 0 0; width: 100%; padding-top: 36px; }
.tile figure img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px 18px 0 0; }
.tile.portrait figure img { width: min(360px, 100%); height: 400px; margin: 0 auto; object-position: center 20%; }
.tile.photo { color: #fff; justify-content: flex-start; padding: 0; min-height: 640px; background: #111; }
.tile.photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0) 100%); }
.tile.photo .tile__text { position: relative; z-index: 1; padding: 56px 32px; }
.tile.photo .sub { color: rgba(255, 255, 255, 0.85); }
.tile.photo a.more { color: #fff; }

/* Feature columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; text-align: left; }
.cols.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cols h3 { font-size: 24px; line-height: 1.17; margin-bottom: 10px; }
.cols p { color: var(--gray); font-size: 17px; }
.dark .cols p { color: #a1a1a6; }
.step-n { display: block; font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px; color: var(--ink); }
.dark .step-n { color: #f5f5f7; }

/* Split: text beside photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--wide); margin: 0 auto; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; font-size: 19px; }
.checks li { padding: 14px 0; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }

/* Founder */
.headshot { max-width: 520px; margin: 56px auto 0; }
.headshot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 28px; }
.quote { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-align: center; max-width: 900px; margin: 0 auto; }
.quote cite { display: block; font-style: normal; font-size: 17px; font-weight: 400; color: var(--gray); letter-spacing: -0.01em; margin-top: 20px; }
.reading { max-width: var(--read); margin: 0 auto; }
.reading h3 { font-size: 28px; line-height: 1.14; margin: 56px 0 12px; }
.reading p { font-size: 19px; line-height: 1.58; color: #424245; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 56px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--gray); }
.facts dd { margin: 2px 0 0; font-size: 17px; }

.email { font-size: clamp(30px, 5.6vw, 64px); font-weight: 600; letter-spacing: -0.025em; word-break: break-word; }

/* Footer */
footer { background: var(--mist); color: var(--gray); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.foot { max-width: var(--wide); margin: 0 auto; padding: 20px 22px 32px; }
.foot p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.foot p:last-child { border-bottom: 0; }
.foot a { color: #424245; }

/* Quiet scroll reveal (only when JS is running) */
.motion .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .cols.reveal > *, .motion .cols.reveal li { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.motion .cols.reveal.in > * { opacity: 1; transform: none; }
.motion .cols.reveal.in > :nth-child(2) { transition-delay: .12s; }
.motion .cols.reveal.in > :nth-child(3) { transition-delay: .24s; }
.motion .cols.reveal.in > :nth-child(4) { transition-delay: .36s; }

@media (max-width: 860px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 560px; }
  .cols, .cols.four { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split img { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .links { gap: 18px; }
  .brand { font-size: 17px; }
  .tile { padding: 44px 20px 0; border-radius: 22px; }
  .tile figure img { height: 260px; }
  .tile.portrait figure img { height: 320px; }
  .ctas { font-size: 17px; gap: 12px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bleed img { transform: none !important; }
}

.split .body-lg { margin-top: 16px; }

/* ---------- Motion & interaction ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

.nav.hide { transform: translateY(-100%); }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--blue); transform-origin: 0 50%; transform: scaleX(0);
}

/* Hero headline: words sharpen into place */
.words .w { display: inline-block; }
.motion .words .w {
  opacity: 0; filter: blur(10px); transform: translateY(.22em);
  animation: wordIn 1s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i) * 80ms + 120ms);
}
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }
.motion .hero .sub, .motion .hero .ctas, .motion .hero .headshot {
  opacity: 0; transform: translateY(16px);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.motion .hero .sub { animation-delay: .55s; }
.motion .hero .ctas { animation-delay: .7s; }
.motion .hero .headshot { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* First photo grows from an inset card to full width */
.bleed.expand { background: var(--white); }
.motion .bleed.expand {
  clip-path: inset(0 calc((1 - var(--p, 1)) * 8vw) round calc((1 - var(--p, 1)) * 32px));
}

/* Statements that light up as you scroll */
.scrub { position: relative; height: 230vh; background: var(--black); }
.scrub__in { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 22px; }
.scrub__text {
  max-width: 980px; margin: 0; text-align: center;
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1.12; font-weight: 600; letter-spacing: -0.022em;
  color: #f5f5f7;
}
.scrub__text cite { display: block; font-style: normal; font-size: 17px; font-weight: 400; color: #86868b; letter-spacing: -0.01em; margin-top: 24px; }
.motion .scrub .sw { color: #3a3a3c; transition: color .35s ease; }
.motion .scrub .sw.lit { color: #f5f5f7; }
.motion .scrub .sw.gold.lit { color: #e3c07a; }

/* Tiles: lift, tilt and a soft light that follows the cursor */
.tile { transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s ease; transform-style: preserve-3d; }
.tile figure img, .tile.photo img.bg, .split img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12); }
.tile:hover figure img, .tile.photo:hover img.bg { transform: scale(1.045); }
.split .shot { overflow: hidden; border-radius: 28px; }
.split .shot img { border-radius: 0; }
.split .shot:hover img { transform: scale(1.04); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.35), transparent 40%);
  opacity: 0; transition: opacity .4s ease;
}
.tile:hover::before { opacity: 1; }
.tile.photo::before { background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.14), transparent 40%); }

/* Links and buttons respond */
.more::after { display: inline-block; transition: transform .3s ease; }
.more:hover::after { transform: translateX(4px); }
.pill { transition: background .2s, transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.pill:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3); }
.pill:active { transform: scale(.98); }

/* Process stepper */
.stepper { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: clamp(32px, 5vw, 72px); margin-top: 64px; text-align: left; align-items: start; }
.stepper__tabs { display: none; flex-direction: column; gap: 4px; }
.js .stepper__tabs { display: flex; }
.stepper__tabs button {
  position: relative; overflow: hidden; display: flex; align-items: baseline; gap: 16px;
  width: 100%; text-align: left; font: inherit; color: var(--gray); cursor: pointer;
  background: transparent; border: 0; border-radius: 18px; padding: 20px 22px;
  transition: background .3s ease, color .3s ease;
}
.stepper__tabs button:hover { color: var(--ink); }
.stepper__tabs button[aria-selected="true"] { background: var(--mist); color: var(--ink); }
.stepper__tabs .n { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; min-width: 28px; }
.stepper__tabs .t { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.stepper__tabs .bar { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 2px; border-radius: 2px; background: rgba(0, 0, 0, 0.08); opacity: 0; }
.stepper__tabs .bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); border-radius: inherit; }
.stepper__tabs button[aria-selected="true"] .bar { opacity: 1; }
.stepper__tabs button.run .bar::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.stepper__panel { display: grid; gap: 22px; margin-bottom: 40px; }
.js .stepper__panel { display: none; margin-bottom: 0; }
.js .stepper__panel.on { display: grid; animation: panelIn .7s cubic-bezier(.2, .7, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.stepper__panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px; }
.stepper__panel h3 { font-size: 28px; line-height: 1.14; }
.stepper__panel p { font-size: 19px; color: var(--gray); margin: 0; }
.js .stepper__panel h3 { display: none; }

/* Copy email */
.copy {
  display: none; align-items: center; gap: 8px; margin: 22px auto 0;
  font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
  background: var(--mist); border: 1px solid var(--line); border-radius: 980px; padding: 9px 18px;
  transition: background .2s, transform .2s;
}
.js .copy { display: inline-flex; }
.copy:hover { background: #ebebef; }
.copy:active { transform: scale(.97); }
.copy svg { width: 16px; height: 16px; }
.copy .ok { display: none; }
.copy.done { background: #e8f5ec; border-color: #b9e0c5; color: #1b7a3a; }
.copy.done .ok { display: block; }
.copy.done .clip { display: none; }

@media (max-width: 860px) {
  .stepper { grid-template-columns: 1fr; gap: 24px; }
  .js .stepper__tabs { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .stepper__tabs button { flex: 0 0 auto; width: auto; padding: 14px 18px; }
  .stepper__tabs .t { font-size: 17px; }
  .stepper__tabs .n { font-size: 22px; min-width: 0; }
  .scrub { height: 200vh; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .scrub { height: auto; }
  .scrub__in { position: static; height: auto; padding: 120px 22px; }
  .tile, .tile:hover { transform: none !important; }
}
