@charset "UTF-8";

/* ─── Brand ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Night: the city after the sun drops. */
  --ink: #16110e;
  --ink-2: #221a16;
  --line-night: #3a2f29;
  --text-night: #f3ece1;
  --muted-night: #a89a8b;
  /* Day: warm paper, like a field notebook. */
  --paper: #f3ece1;
  --paper-2: #e8dfd0;
  --line-paper: #d8ccba;
  --text-paper: #1d1713;
  --muted-paper: #6e6258;
  /* Light: golden hour and the bridge. */
  --gold: #f2b562;
  --gold-soft: #ffd9a0;
  --ember: #e0703a;
  --international-orange: #c4412e;

  --serif: "Instrument Serif", "New York", ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);

  color-scheme: light;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.home {
  background: var(--ink);
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 5px;
}
em {
  font-style: italic;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 30;
}
.skip:focus {
  top: 16px;
  background: var(--paper);
  color: var(--text-paper);
  padding: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--muted-paper);
}

/* ─── Header and mark ───────────────────────────────────────────────── */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px var(--gutter);
  position: relative;
  z-index: 20;
}
.site-header.on-dark {
  position: absolute;
  inset: 0 0 auto;
  color: var(--text-night);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.tld {
  font-family: var(--mono);
  font-size: 0.42em;
  letter-spacing: 0.02em;
  color: var(--gold);
  align-self: flex-end;
  margin: 0 0 0.3em -8px;
}
.site-header:not(.on-dark) .tld {
  color: var(--international-orange);
}
/* Five blades of grass that are also a voice waveform. */
.mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
  margin-right: 2px;
}
.mark i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 100% 0 100% 0 / 100% 0 100% 0;
  background: var(--gold);
  transform-origin: 50% 100%;
  transform: scaleY(0.4);
  animation: grow 1.3s ease-in-out infinite alternate;
}
.mark i:nth-child(1) {
  rotate: -9deg;
}
.mark i:nth-child(2) {
  rotate: -4deg;
  transform: scaleY(0.7);
  animation-delay: -0.5s;
}
.mark i:nth-child(3) {
  transform: scaleY(1);
  animation-delay: -0.9s;
}
.mark i:nth-child(4) {
  rotate: 4deg;
  transform: scaleY(0.7);
  animation-delay: -0.3s;
}
.mark i:nth-child(5) {
  rotate: 9deg;
  animation-delay: -0.7s;
}
.site-header:not(.on-dark) .mark i {
  background: var(--international-orange);
}
nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
}
nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.78;
}
nav a:hover,
nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
}

/* ─── The film ──────────────────────────────────────────────────────── */

.film {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background: var(--ink);
  color: var(--text-night);
}
.stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage::before {
  /* Legibility scrim for the headline and a soft lens vignette. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(15 12 30 / 0.45), transparent 38%),
    radial-gradient(ellipse 120% 90% at 60% 60%, transparent 55%, rgb(10 6 6 / 0.55));
}
.grain {
  position: absolute;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  background: url("/assets/grain.svg");
  opacity: 0.16;
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(4) infinite;
}

/* Scene paint */
.sun {
  fill: #fff6dc;
}
.sun-glow {
  animation: breathe 9s ease-in-out infinite alternate;
}
.hills-far {
  fill: #c9806f;
  opacity: 0.75;
}
.city-hills {
  fill: #c88470;
  opacity: 0.6;
}
.skyline {
  fill: #c07666;
  opacity: 0.7;
}
.haze {
  mix-blend-mode: screen;
}
.clouds {
  animation: drift 40s ease-in-out infinite alternate;
}
.cloud-lit {
  fill: #ffd29a;
  opacity: 0.85;
}
.rays {
  mix-blend-mode: screen;
  opacity: 0.09;
  filter: blur(6px);
  transform-box: view-box;
  transform-origin: 1092px 606px;
  animation: rays 24s ease-in-out infinite alternate;
}
.near-grass {
  fill: #0b0706;
}
.mote {
  fill: #fff2c8;
  animation: mote 7s ease-in-out infinite alternate;
}
.m1 {
  animation-duration: 9s;
  animation-delay: -3s;
}
.m2 {
  animation-duration: 6s;
  animation-delay: -1s;
}
.m3 {
  animation-duration: 11s;
  animation-delay: -6s;
}
.m4 {
  animation-duration: 8s;
  animation-delay: -2s;
}
.m5 {
  animation-duration: 10s;
  animation-delay: -5s;
}
.waves path {
  stroke: #ffd4a0;
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.18;
}
.waves {
  animation: drift 16s ease-in-out infinite alternate;
}
.glint {
  stroke: #fff0c8;
  stroke-width: 2.4;
  stroke-linecap: round;
  animation: glint 2.8s ease-in-out infinite;
}
.glint:nth-child(3n) {
  animation-duration: 3.6s;
  animation-delay: -1.2s;
}
.glint:nth-child(3n + 1) {
  animation-duration: 2.2s;
  animation-delay: -0.6s;
}
.glint:nth-child(5n) {
  animation-delay: -2s;
}
.fog ellipse {
  fill: #ffe7d6;
}
.fog-back {
  opacity: 0.5;
  animation: fog-back 46s ease-in-out infinite alternate;
}
.fog-front {
  opacity: 0.42;
  animation: fog-front 34s ease-in-out infinite alternate;
}

.tower.near {
  fill: #8f2f24;
}
.tower.far {
  fill: #b2493a;
  opacity: 0.9;
}
.tower-rim {
  stroke: #ffb47a;
  stroke-width: 1.6;
  opacity: 0.85;
}
.tower.far-rim {
  stroke-width: 0.9;
  opacity: 0.6;
}
.cable {
  fill: none;
  stroke: #a33a2c;
  stroke-width: 3.4;
  stroke-linecap: round;
}
.cable-mid {
  stroke-width: 2.8;
}
.cable-far {
  stroke: #b8503f;
  stroke-width: 1.6;
}
.cable-back {
  opacity: 0.55;
  stroke-width: 2;
}
.hangers {
  stroke: #a8402f;
  stroke-width: 0.9;
  opacity: 0.75;
}
.deck {
  fill: #7a2820;
}
.deck-rail {
  fill: none;
  stroke: #ff9a64;
  stroke-width: 1.4;
  opacity: 0.8;
}
.truss {
  stroke: #4c1a16;
  stroke-width: 1;
  opacity: 0.6;
}

.ridge-rim {
  fill: none;
  stroke: #ffbf73;
  stroke-width: 1.6;
  opacity: 0.55;
}
.blade {
  fill: #2a1b16;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sway 5s ease-in-out infinite alternate;
}
.blade.b1 {
  animation-duration: 6.5s;
  animation-delay: -2s;
}
.blade.b2 {
  animation-duration: 4.2s;
  animation-delay: -1s;
  fill: #3a241c;
}
.blade.b3 {
  animation-duration: 7s;
  animation-delay: -3.3s;
}
.blade.b4 {
  animation-duration: 5.6s;
  animation-delay: -4s;
  fill: #4a2d20;
}

.figure-ink {
  color: #150e0c;
}
.figure-rim {
  color: #ffc27c;
  opacity: 0.9;
}
#figure path,
#figure circle,
#figure ellipse {
  fill: currentColor;
}
#figure .limb {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.headband {
  fill: none;
  stroke: #0c0807;
  stroke-width: 4;
  stroke-linecap: round;
}
.earcup {
  fill: #2c211d;
  stroke: #ffbe7a;
  stroke-width: 1;
}
.watch-case {
  fill: #0d0908;
}
.watch-screen {
  fill: #ffe3ad;
}
.watch-glow {
  fill: url(#g-watch);
  animation: watch-glow 16s ease-in-out infinite;
}
.voice {
  animation: voice 16s linear infinite;
}
.v {
  fill: var(--gold-soft);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: talk 0.5s ease-in-out infinite alternate;
}
.v1,
.v3 {
  animation-delay: -0.2s;
  animation-duration: 0.42s;
}
.v2 {
  animation-delay: -0.35s;
  animation-duration: 0.6s;
}
.flock {
  animation: flight 70s linear infinite;
}
.bird path {
  fill: none;
  stroke: #2b1d2a;
  stroke-width: 1.6;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flap 0.7s ease-in-out infinite alternate;
}
.bird-1 path {
  animation-delay: -0.3s;
}

/* Overlay copy */
.film-copy {
  position: absolute;
  z-index: 3;
  inset: clamp(104px, 16vh, 170px) var(--gutter) clamp(28px, 6vh, 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.film-copy a {
  pointer-events: auto;
}
.film-head {
  max-width: 820px;
}
.film-foot {
  max-width: 360px;
}
.film-copy .label {
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.film h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 30px rgb(20 12 30 / 0.25);
}
.film h1 em {
  color: var(--gold-soft);
}
.film .lead {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px;
  color: rgb(243 236 225 / 0.86);
}
.cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid rgb(255 236 210 / 0.55);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgb(22 17 14 / 0.25);
  transition: background 0.2s;
}
.cta:hover {
  background: rgb(255 236 210 / 0.14);
}

.captions {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 60px);
  width: min(460px, calc(100% - 2 * var(--gutter)));
  height: 96px;
}
.caption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.25;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.6);
  opacity: 0;
  animation: caption 16s ease-in-out infinite both;
}
.caption strong {
  font-weight: 400;
  font-style: italic;
  color: var(--gold-soft);
}
.c2 {
  animation-delay: 4s;
}
.c3 {
  animation-delay: 8s;
}
.c4 {
  animation-delay: 12s;
}
.who {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.rec {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  animation: rec 1s steps(2) infinite;
}
.zoom-watch {
  display: none;
}

/* ─── Watch ─────────────────────────────────────────────────────────── */

.watch {
  --w: 200px;
  position: relative;
  width: var(--w);
  aspect-ratio: 41 / 49;
  padding: calc(var(--w) * 0.055);
  border-radius: 31% / 26%;
  background: linear-gradient(150deg, #5b4f47 0%, #221b18 38%, #120e0c 70%, #3a312b 100%);
  box-shadow:
    0 30px 70px rgb(0 0 0 / 0.45),
    inset 0 1px 1px rgb(255 255 255 / 0.25),
    inset 0 -2px 3px rgb(0 0 0 / 0.6);
  font-size: calc(var(--w) * 0.068);
  flex: none;
}
.watch::before,
.watch::after {
  content: "";
  position: absolute;
  right: calc(var(--w) * -0.03);
  width: calc(var(--w) * 0.045);
  border-radius: 3px;
  background: linear-gradient(90deg, #1c1614, #6a5c52 60%, #2a221e);
}
.watch::before {
  top: 24%;
  height: 15%;
}
.watch::after {
  top: 47%;
  height: 11%;
  opacity: 0.8;
}
.screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35em;
  width: 100%;
  height: 100%;
  padding: 14% 13%;
  border-radius: 27% / 22%;
  background: radial-gradient(120% 90% at 50% 0%, #1d1512, #000 70%);
  color: var(--text-night);
  overflow: hidden;
  line-height: 1.15;
  text-align: left;
}
.w-agent {
  font-family: var(--mono);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.w-project {
  font-family: var(--serif);
  font-size: 1.75em;
  line-height: 1;
}
.w-host {
  font-family: var(--mono);
  font-size: 0.72em;
  color: var(--muted-night);
}
.w-text {
  font-family: var(--serif);
  font-size: 1.2em;
  line-height: 1.2;
}
.w-text.mono {
  font-family: var(--mono);
  font-size: 0.82em;
  line-height: 1.6;
  color: var(--gold-soft);
}
.w-wave {
  display: flex;
  align-items: center;
  gap: 0.28em;
  height: 2.4em;
  margin: 0.3em 0;
}
.w-wave i {
  width: 0.34em;
  height: 100%;
  border-radius: 1em;
  background: var(--gold);
  animation: talk 0.55s ease-in-out infinite alternate;
}
.w-wave i:nth-child(2n) {
  animation-duration: 0.42s;
  animation-delay: -0.2s;
}
.w-wave i:nth-child(3) {
  animation-duration: 0.66s;
}
.w-status {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: 0.72em;
  color: var(--muted-night);
}
.w-status.ok {
  margin-top: 0.4em;
  color: #9fdc9a;
}
.w-actions {
  display: flex;
  gap: 0.4em;
  margin-top: 0.4em;
  font-family: var(--mono);
  font-size: 0.72em;
}
.w-actions i {
  font-style: normal;
  padding: 0.45em 0.8em;
  border-radius: 1em;
  background: #2a221e;
}
.w-actions .go {
  background: var(--gold);
  color: var(--ink);
}

/* ─── Sections ──────────────────────────────────────────────────────── */

.flow,
.letter {
  padding: clamp(96px, 16vh, 180px) var(--gutter);
}
.flow h2,
.letter h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
}

/* ─── Picnic ────────────────────────────────────────────────────────── */

.picnic {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #3e6a25;
}
.picnic-frame {
  position: absolute;
  inset: 0;
}
.picnic-art {
  width: 100%;
  height: 100%;
}
.picnic-title {
  position: absolute;
  left: var(--gutter);
  top: clamp(40px, 8vh, 80px);
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 2px 40px rgb(20 40 10 / 0.5);
}
.picnic-title em {
  color: var(--gold-soft);
}
.picnic text {
  font-size: 11px;
}
.t-serif {
  font-family: var(--serif);
}
.t-sans {
  font-family: var(--sans);
}
.t-mono {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.picnic .t-xs {
  font-size: 7.5px;
}
.picnic .t-xs2 {
  font-size: 9.5px;
}
.picnic .t-sm {
  font-size: 11.5px;
}
.picnic .t-md {
  font-size: 15px;
}
.picnic .t-lg {
  font-size: 20px;
}
.picnic .t-xl {
  font-size: 23px;
}
.t-gold {
  fill: var(--gold);
}
.t-paper {
  fill: var(--paper);
}
.t-muted {
  fill: var(--muted-night);
}
.t-ink {
  fill: var(--ink);
}
.t-green {
  fill: #9fdc9a;
}
.obj-shadow {
  fill: #0f2308;
  stroke: #0f2308;
  opacity: 0.42;
}
.p-light {
  mix-blend-mode: soft-light;
}
.leaf-shade {
  fill: #0d1f07;
  opacity: 0.5;
}
.leaf-light {
  fill: #ffe7a6;
  opacity: 0.35;
  mix-blend-mode: screen;
}
.dapple {
  animation: dapple 9s ease-in-out infinite alternate;
}
.ladybug-path {
  animation: crawl 40s linear infinite alternate;
}
.ladybug {
  transform: rotate(72deg);
}
.wb {
  fill: var(--gold);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: talk 0.5s ease-in-out infinite alternate;
}
.wb1,
.wb3,
.pb1,
.pb3 {
  animation-delay: -0.22s;
}
.wb2,
.pb2 {
  animation-duration: 0.64s;
}
.ph-bar {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: talk 0.45s ease-in-out infinite alternate;
}
.ph-ring {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: ring 1.8s ease-out infinite;
}
.ipad-msg {
  animation: appear 12s ease-in-out infinite;
}
.ipad-reply {
  animation: appear 12s ease-in-out infinite;
  animation-delay: 1.4s;
}

.flow {
  background: var(--paper);
  color: var(--text-paper);
}
.flow h2 em {
  color: var(--international-orange);
}
.flow {
  text-align: center;
}
.flow .steps {
  justify-items: center;
}
.steps {
  --sm: clamp(150px, 15vw, 210px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: clamp(56px, 9vh, 96px) 0 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: calc(var(--sm) * 49 / 41 / 2);
  left: 0;
  right: 0;
  border-top: 1px dashed var(--line-paper);
}
.steps li {
  position: relative;
}
.watch-sm {
  --w: var(--sm);
  margin-bottom: 28px;
  box-shadow:
    0 22px 40px rgb(60 36 20 / 0.22),
    inset 0 1px 1px rgb(255 255 255 / 0.25),
    inset 0 -2px 3px rgb(0 0 0 / 0.6);
}
.step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--international-orange);
}
.steps p {
  margin: 10px 0 0;
  max-width: 22em;
  color: var(--muted-paper);
  font-size: 16px;
}

.letter {
  max-width: calc(680px + 2 * var(--gutter));
  margin: 0 auto;
  color: var(--text-paper);
  text-align: center;
}
.letter-links {
  justify-content: center;
}
.letter h2 {
  font-size: clamp(38px, 4.4vw, 60px);
  margin-bottom: 32px;
}
.letter p {
  font-size: 18px;
  color: var(--muted-paper);
}
.letter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 36px;
}
.letter-links a,
.prose a {
  color: var(--international-orange);
}
.letter-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.home main {
  background: var(--paper);
}

/* ─── Footer ────────────────────────────────────────────────────────── */

.site-footer {
  padding: 0 var(--gutter) 28px;
  background: var(--ink);
  color: var(--muted-night);
  overflow: hidden;
}
.sign {
  margin: 0 0 0.04em;
  padding-top: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(120px, 30vw, 440px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-align: center;
  background: linear-gradient(180deg, #ffe0a8 10%, var(--ember) 55%, var(--international-orange) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-night);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-row a {
  margin-left: 24px;
}
.site-footer.plain {
  background: transparent;
  color: var(--muted-paper);
}
.site-footer.plain .footer-row {
  border-color: var(--line-paper);
}

/* ─── Letter pages: setup, support, privacy ─────────────────────────── */

.site-header.plain {
  max-width: calc(760px + 2 * var(--gutter));
  margin: 0 auto;
}
.prose {
  max-width: calc(760px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 10vh, 110px) var(--gutter) clamp(64px, 12vh, 140px);
}
.prose .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--international-orange);
  margin: 0 0 20px;
}
.prose h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.prose h2 {
  margin: 64px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
}
.prose h3 {
  margin: 32px 0 8px;
  font-size: 17px;
}
.prose .lead {
  font-size: 20px;
  color: var(--muted-paper);
}
.prose p,
.prose li {
  font-size: 17px;
  color: #3d342d;
}
.prose li {
  margin-block: 10px;
}
.prose li::marker {
  color: var(--international-orange);
  font-family: var(--mono);
  font-size: 0.85em;
}
code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: var(--paper-2);
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
td,
th {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line-paper);
}
th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-paper);
}

/* ─── Motion ────────────────────────────────────────────────────────── */

@keyframes talk {
  from {
    transform: scaleY(0.25);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes grow {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes breathe {
  from {
    opacity: 0.82;
  }
  to {
    opacity: 1;
  }
}
@keyframes drift {
  from {
    transform: translateX(-20px);
  }
  to {
    transform: translateX(24px);
  }
}
@keyframes glint {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.95;
  }
}
@keyframes fog-back {
  from {
    transform: translateX(-70px);
  }
  to {
    transform: translateX(90px);
  }
}
@keyframes fog-front {
  from {
    transform: translateX(110px);
  }
  to {
    transform: translateX(-90px);
  }
}
@keyframes sway {
  from {
    transform: rotate(-3deg);
  }
  to {
    transform: rotate(5deg);
  }
}
@keyframes flight {
  from {
    transform: translate(820px, 300px);
  }
  to {
    transform: translate(1700px, 150px);
  }
}
@keyframes flap {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(-0.4);
  }
}
@keyframes caption {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  3%,
  21% {
    opacity: 1;
    transform: none;
  }
  25%,
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}
/* The voice shows while "you" speak (captions 1 and 4). */
@keyframes voice {
  0%,
  22% {
    opacity: 1;
  }
  25%,
  74% {
    opacity: 0;
  }
  77%,
  100% {
    opacity: 1;
  }
}
/* The watch brightens while the agent replies (captions 2 and 3). */
@keyframes watch-glow {
  0%,
  22% {
    opacity: 0.45;
  }
  28%,
  72% {
    opacity: 1;
  }
  78%,
  100% {
    opacity: 0.45;
  }
}
@keyframes rec {
  to {
    opacity: 0.25;
  }
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-3%, 2%);
  }
  50% {
    transform: translate(2%, -3%);
  }
  75% {
    transform: translate(-2%, -1%);
  }
}
@keyframes rays {
  from {
    transform: rotate(-3deg);
  }
  to {
    transform: rotate(3deg);
  }
}
@keyframes mote {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  30% {
    opacity: 0.9;
  }
  100% {
    transform: translate(26px, -60px);
    opacity: 0.1;
  }
}
@keyframes dapple {
  from {
    transform: translate(-14px, -6px) rotate(-1deg);
  }
  to {
    transform: translate(16px, 8px) rotate(1deg);
  }
}
@keyframes crawl {
  from {
    transform: translate(300px, 880px);
  }
  to {
    transform: translate(620px, 850px);
  }
}
@keyframes ring {
  from {
    transform: scale(0.8);
    opacity: 0.9;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}
@keyframes appear {
  0%,
  8% {
    opacity: 0;
    transform: translateY(6px);
  }
  14%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

/* Scroll the film: the camera pushes in to the wrist, then the watch takes the screen. */
@supports (animation-timeline: view()) {
  .film {
    height: 290vh;
    view-timeline: --film block;
  }
  .stage {
    position: sticky;
    top: 0;
  }
  #camera {
    transform-box: view-box;
    transform-origin: 767px 748px;
    animation: push linear both;
    animation-timeline: --film;
    animation-range: contain 22% contain 92%;
  }
  .film-copy {
    animation: rise-out linear both;
    animation-timeline: --film;
    animation-range: contain 0% contain 22%;
  }
  .captions {
    animation: fade-out linear both;
    animation-timeline: --film;
    animation-range: contain 18% contain 34%;
  }
  .stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    animation: fade-in linear both;
    animation-timeline: --film;
    animation-range: contain 64% contain 84%;
  }
  .zoom-watch {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    opacity: 0;
    animation: watch-in linear both;
    animation-timeline: --film;
    animation-range: contain 66% contain 96%;
  }
  .watch-lg {
    --w: min(300px, 64vw);
  }
  .picnic-frame {
    animation: settle linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
  }
}
@keyframes push {
  to {
    transform: scale(11);
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
@keyframes rise-out {
  to {
    opacity: 0;
    transform: translateY(-48px);
  }
}
@keyframes watch-in {
  from {
    opacity: 0;
    transform: scale(0.35);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes settle {
  from {
    transform: scale(1.12) rotate(-1.5deg);
  }
  to {
    transform: none;
  }
}

/* ─── Small screens ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }
  .steps::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .film-copy {
    top: 118px;
    justify-content: flex-start;
    gap: 22px;
  }
  .film-foot {
    max-width: 30em;
  }
  .captions {
    left: var(--gutter);
    bottom: 22px;
  }
  .caption {
    text-align: center;
    font-size: 19px;
  }
  .who {
    justify-content: center;
  }
  .steps {
    --sm: calc((100vw - 2 * var(--gutter) - 20px) / 2);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 36px;
  }
  .watch-sm {
    margin-bottom: 14px;
  }
  .picnic {
    height: auto;
    min-height: 0;
  }
  .picnic-frame {
    position: relative;
    aspect-ratio: 1;
  }
  .picnic-title {
    top: auto;
    bottom: 14px;
    font-size: 32px;
  }
  .footer-row a {
    margin: 0 20px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .film {
    height: 100svh;
  }
  .stage {
    position: relative;
  }
  .zoom-watch,
  .stage::after {
    display: none;
  }
  .caption.c3 {
    opacity: 1;
  }
}
