.site { overflow-x: clip; }

.eyebrow {
  margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet);
}

/* Lines that rise into place */
.line { display: block; overflow: clip; padding-bottom: 0.06em; }
.line__in { display: inline-block; }
.js .line__in { translate: 0 105%; transition: translate 1.2s var(--ease); }
.js .is-ready .line__in { translate: 0 0; }
.js .is-ready .line:nth-child(2) .line__in { transition-delay: 0.08s; }
.js .is-ready .line:nth-child(3) .line__in { transition-delay: 0.16s; }
[data-weight] .ch { font-variation-settings: "wght" var(--w, 520); }

/* Hero */
.hero {
  position: relative; min-height: calc(100svh - 64px); padding: clamp(24px, 4vw, 48px) var(--gutter) 40px;
  display: grid; grid-template-rows: auto 1fr auto; overflow: clip; isolation: isolate;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 0.85rem; color: var(--quiet); }
.hero__meta li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); margin-right: 12px; vertical-align: middle; }
.hero__title {
  align-self: center; margin: 0; font-weight: 520; letter-spacing: -0.055em; line-height: 0.9;
  font-size: clamp(3.4rem, 11.5vw, 12.5rem);
}
.hero__title .serif { font-size: 1.08em; letter-spacing: -0.03em; padding-right: 0.06em; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.hero__lead { max-width: 30em; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4; letter-spacing: -0.01em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__cue {
  position: absolute; right: var(--gutter); top: 50%; margin: 0; writing-mode: vertical-rl;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--quiet);
}
.hero__cue::after { content: ""; display: block; width: 1px; height: 56px; margin: 12px auto 0; background: linear-gradient(var(--ink), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.sun {
  position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(92vw, 1100px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--sun) 80%, #ffd6a8), var(--sun) 62%);
  translate: -50% calc(62% - var(--hp, 0) * 38%);
  filter: saturate(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Buttons */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--ink); text-decoration: none; font-weight: 520; position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease);
}
.pill svg { width: 20px; height: 20px; transition: translate 0.5s var(--ease); }
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.pill:hover { color: var(--paper); }
.pill:hover::before { transform: translateY(0); }
.pill:hover svg { translate: 4px 0; }
.pill--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill--solid::before { background: var(--sun); }
.pill--solid:hover { color: #111110; }

/* Marquee */
.marquee { overflow: clip; border-block: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 480; letter-spacing: -0.03em; white-space: nowrap; }
.marquee__track i { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Work: a pinned row of screens, moved by the page's scroll */
.work { position: relative; }
.work__sticky { padding: 72px 0 40px; }
.work__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 24px; padding: 0 var(--gutter); margin-bottom: 36px; }
.work__head .eyebrow { grid-column: 1 / -1; }
.work__head h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.6rem); font-weight: 520; letter-spacing: -0.045em; line-height: 0.95; }
.work__count { margin: 0; font-variant-numeric: tabular-nums; color: var(--quiet); font-size: 1rem; }
.work__track { display: flex; gap: clamp(16px, 2.4vw, 36px); margin: 0; padding: 0 var(--gutter); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.shot { flex: none; width: min(78vw, 1040px); scroll-snap-align: center; }
.shot figure { margin: 0; }
.shot img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: clamp(10px, 1.2vw, 18px);
  box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgb(0 0 0 / 0.45); background: var(--raised);
}
.shot figcaption { margin-top: 16px; display: flex; gap: 14px; align-items: baseline; color: var(--quiet); }
.shot figcaption b { color: var(--ink); font-weight: 560; }
.shot--phones { width: auto; }
.phones { display: flex; gap: clamp(12px, 1.6vw, 24px); height: calc(min(78vw, 1040px) * 10 / 16); }
.phones img { width: auto; height: 100%; aspect-ratio: 780 / 1688; object-fit: cover; }
.work__bar { margin: 32px var(--gutter) 0; height: 2px; background: var(--line); }
.work__bar span { display: block; height: 100%; width: 100%; background: var(--sun); transform-origin: left; transform: scaleX(var(--wp, 0.05)); }

.js .work { height: var(--pin-h, 400vh); }
.js .work__sticky { position: sticky; top: 64px; height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0; overflow: clip; }
.js .work__track { overflow: visible; scroll-snap-type: none; transform: translate3d(calc(var(--wp, 0) * var(--dist, 0px) * -1), 0, 0); will-change: transform; }
.js .shot { width: min(70vw, calc((100svh - 300px) * 1.6)); }
.js .phones { height: calc(min(70vw, calc((100svh - 300px) * 1.6)) * 10 / 16); }

/* Numbers */
.numbers { padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(40px, 6vw, 80px); }
.numbers ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.numbers li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.numbers b { display: block; font-size: clamp(3.6rem, 8vw, 7.5rem); font-weight: 460; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 10px; color: var(--quiet); max-width: 18em; }

/* How we work */
.ways { padding: clamp(60px, 10vw, 140px) var(--gutter); }
.ways__title { margin: 0 0 48px; font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 520; letter-spacing: -0.05em; line-height: 0.95; }
.ways ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ways li { border-top: 1px solid var(--ink); padding-top: 18px; }
.ways__n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--sun); line-height: 1; }
.ways h3 { margin: 16px 0 10px; font-size: 1.5rem; font-weight: 560; letter-spacing: -0.02em; }
.ways p { margin: 0; color: var(--quiet); max-width: 26em; }

.js [data-scroll-class] { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease), translate 1.2s var(--ease); }
.js [data-scroll-class].is-in { opacity: 1; translate: 0 0; }
.js .ways li:nth-child(2) { transition-delay: 0.08s; }
.js .ways li:nth-child(3) { transition-delay: 0.16s; }

/* Where next */
.go { border-top: 1px solid var(--line); }
.go__row {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px;
  padding: clamp(18px, 3vw, 34px) var(--gutter); border-bottom: 1px solid var(--line); text-decoration: none; overflow: clip; isolation: isolate;
}
.go__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sun); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.go__row:hover::before, .go__row:focus-visible::before { transform: scaleY(1); }
.go__row:hover, .go__row:focus-visible { color: #111110; }
.go__n { font-variant-numeric: tabular-nums; color: var(--quiet); transition: color 0.3s; }
.go__row:hover .go__n { color: #111110; }
.go__t { font-size: clamp(2.2rem, 7vw, 6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; transition: translate 0.6s var(--ease); }
.go__row:hover .go__t { translate: 16px 0; }
.go__row svg { width: clamp(28px, 4vw, 52px); height: auto; transition: rotate 0.6s var(--ease); rotate: -45deg; }
.go__row:hover svg { rotate: 0deg; }

/* The end */
.end { padding: clamp(56px, 8vw, 96px) var(--gutter) 24px; background: var(--ink); color: var(--paper); overflow: clip; }
.end a { color: inherit; }
.end__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.end__note { max-width: 28em; margin: 0; font-size: 1.15rem; line-height: 1.4; }
.end__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.end__links a { text-decoration: none; font-size: 1.05rem; }
.end__links a:hover { color: var(--sun); }
.end__word {
  margin: clamp(48px, 8vw, 96px) 0 0; font-size: 23.4vw; line-height: 0.78; font-weight: 640; letter-spacing: -0.07em;
  white-space: nowrap; margin-left: -0.04em;
}
.end__word span { display: inline-block; padding-right: 0.12em; }
.js .end__word span { clip-path: inset(calc((1 - var(--ep, 1)) * 100%) 0 0 0); translate: 0 calc((1 - var(--ep, 1)) * 30%); }
.end__small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgb(237 235 229 / 0.2); font-size: 0.85rem; color: rgb(237 235 229 / 0.65); }
.end__small p { margin: 0; }
@media (prefers-color-scheme: dark) {
  .end { background: #ecebe5; color: #111110; }
  .end__small { border-top-color: rgb(17 17 16 / 0.2); color: rgb(17 17 16 / 0.65); }
}

/* Cursor, on fine pointers */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
  }
  .cursor span {
    display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; mix-blend-mode: difference;
    transition: scale 0.4s var(--ease);
  }
  .cursor { opacity: 0; transition: opacity 0.3s; }
  .cursor.is-on { opacity: 1; }
  .cursor.is-big span { scale: 5; }
  .cursor { mix-blend-mode: difference; }
}

/* Datum page */
.dhero { padding: clamp(32px, 5vw, 64px) var(--gutter) 0; text-align: center; }
.dhero__title { margin: 12px 0 0; font-size: clamp(5rem, 26vw, 26rem); line-height: 0.82; letter-spacing: -0.07em; font-weight: 560; }
.dhero__tag { text-wrap: balance; margin: 18px auto 0; max-width: 22em; font-size: clamp(1.3rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.03em; }
.dhero__shot { margin: clamp(40px, 6vw, 80px) auto 0; max-width: 1280px; }
.dhero__shot img { border-radius: clamp(12px, 1.4vw, 22px); box-shadow: 0 60px 120px -60px rgb(0 0 0 / 0.55); }
.js [data-rise] { transform: perspective(1400px) rotateX(calc((1 - var(--rp, 1)) * 18deg)) scale(calc(0.9 + var(--rp, 1) * 0.1)); transform-origin: 50% 0; }

.feats { padding: clamp(80px, 12vw, 160px) var(--gutter) 40px; display: grid; gap: clamp(72px, 10vw, 140px); }
.feat { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 1.35fr 1fr; gap: 64px; }
  .feat--flip .feat__img { order: 2; }
}
.feat__img { margin: 0; }
.feat__img img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; object-position: left; }
.feat--flip .feat__img img { object-position: right; }
.feat__n { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--sun); }
.feat h2 { margin: 10px 0 14px; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 520; }
.feat p { margin: 0 0 20px; color: var(--quiet); font-size: 1.1rem; max-width: 26em; }

.phonerow { display: flex; justify-content: center; gap: clamp(12px, 3vw, 48px); padding: clamp(60px, 10vw, 140px) var(--gutter); }
.phonerow img { width: min(28vw, 320px); border-radius: clamp(14px, 2.4vw, 32px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.5); }
.phonerow img:nth-child(2) { margin-top: clamp(30px, 6vw, 90px); }

.index { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.index__title { margin: 0 0 40px; font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 520; letter-spacing: -0.05em; line-height: 0.95; }
.index__cols { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.index h3 { margin: 0; padding: 12px 0; border-top: 1px solid var(--ink); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.index ul { list-style: none; margin: 0; padding: 0; }
.index li { padding: 12px 0; border-top: 1px solid var(--line); }

.spec { padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.spec dl { margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.spec dl div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--quiet); font-size: 0.85rem; }
.spec dd { margin: 4px 0 0; font-size: 1.2rem; letter-spacing: -0.01em; }

@media (max-width: 599px) {
  .hero__cue { display: none; }
  .js .shot { width: 86vw; }
  .js .shot--phones { width: auto; }
  .js .phones { height: min(62svh, 86vw * 1.2); }
  .go__row { grid-template-columns: 32px 1fr auto; }
  .phonerow img:nth-child(3) { display: none; }
  .phonerow img { width: 42vw; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .js .line__in, .js [data-scroll-class] { translate: none; opacity: 1; }
  .js .end__word span { clip-path: none; translate: none; }
  .js [data-rise] { transform: none; }
}

/* Support: always light, since the form can't follow a dark page */
.page-light {
  --paper: #f4f2ec;
  --ink: #111110;
  --quiet: #605f59;
  --line: rgb(17 17 16 / 0.14);
  --raised: #e7e4dc;
  --sun: #ff4d12;
  color-scheme: light;
  font-weight: 380;
}
.page-light .end { background: #111110; color: #edebe5; }
.page-light .end__small { border-top-color: rgb(237 235 229 / 0.2); color: rgb(237 235 229 / 0.65); }

/* Two halves: the words on the page's paper, the form on a white half that is the form's own ground */
.help { display: grid; }
.help__side { padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(56px, 8vw, 120px); }
@media (min-width: 1000px) {
  .help { grid-template-columns: 1fr 1fr; min-height: calc(100svh - 64px); }
}
.help__title { margin: 14px 0 0; font-size: clamp(3.6rem, 10vw, 9.5rem); font-weight: 520; letter-spacing: -0.06em; line-height: 0.9; }
.help__title .serif { font-size: 1.06em; letter-spacing: -0.03em; color: var(--sun); padding-right: 0.08em; }
.help__lead { margin: 28px 0 0; max-width: 28em; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.4; letter-spacing: -0.01em; }
.help__block { margin-top: 44px; }
.help__block h2 { margin: 0 0 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet); }
.help__block ol { margin: 0; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.help__block ol li { counter-increment: s; position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.help__block ol li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--sun); line-height: 1.3; }
.help__block details { border-bottom: 1px solid var(--line); }
.help__block details:first-of-type { border-top: 1px solid var(--line); }
.help__block summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; font-weight: 560;
}
.help__block summary::-webkit-details-marker { display: none; }
.help__block details ul, .help__block details p { margin: 0 0 16px; color: var(--quiet); }
.help__block details ul { padding-left: 18px; }

.help__form { background: #fff; padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(56px, 8vw, 120px); }
.tally { display: block; width: 100%; border: 0; }
.help__note { margin: 12px 0 4px; font-size: 0.85rem; color: var(--quiet); }
