/* Future Vector, futurevector.org. One stylesheet for every page. */

@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/zilla-slab-400.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/zilla-slab-400i.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/zilla-slab-600.woff2") format("woff2"); }

:root {
  color-scheme: light dark;

  /* Colour: one ground, one ink, one accent, four fields. */
  --paper: #e9ece8;
  --ink: #1c1c1c;
  --soft: #3d464c;
  --slate: #a6b3bc;
  --sage: #b7c8be;
  --blush: #d6c4b8;
  --anchor: #2c3620;
  --anchor-ink: #e6eae5;
  --anchor-soft: #c6ccbd;
  --slip: #f1f2ef;
  --slip-ink: #1c1c1c;
  --surface: #f5f6f4;
  --accent: #2c3620;
  --accent-hover: #3b4a2b;
  --accent-ink: #eef1ed;
  --marker: #c9d8bf;
  --focus: #1d4f7a;

  /* Type: five sizes. */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.3125rem, 1.15rem + 0.7vw, 1.75rem);
  --step-head: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --step-display: clamp(4.25rem, 0.5rem + 12.8vw, 12.5rem);

  --face: "Zilla Slab", "Rockwell", "Roboto Slab", "Iowan Old Style", Georgia, serif;

  /* Space. */
  --m: clamp(16px, 2.4vw, 32px);
  --inset: clamp(12px, 1.4vw, 20px);
  --col-pad: clamp(20px, 4.4vw, 72px);
  --gap-section: clamp(96px, 12vw, 200px);
  --measure: 46ch;

  /* Motion. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161a14;
    --ink: #e6e8e3;
    --soft: #b5bbae;
    --slate: #29323a;
    --sage: #24302a;
    --blush: #3a2e28;
    --anchor: #222b19;
    --anchor-ink: #e6eae5;
    --anchor-soft: #c2c8b4;
    --slip: #e9ebe6;
    --slip-ink: #1c1c1c;
    --surface: #20261d;
    --accent: #c7d5a7;
    --accent-hover: #d6e2bb;
    --accent-ink: #18200f;
    --marker: #3c4c33;
    --focus: #9cc8ef;
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-body) / 1.55 var(--face);
  font-kerning: normal;
  overflow-x: clip;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.12em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--marker); color: var(--ink); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--m); top: -100px; z-index: 50;
  background: var(--accent); color: var(--accent-ink); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: var(--m); }

/* Buttons: one shape, square, flat. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-body) / 1.1 var(--face); letter-spacing: -0.005em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-hover) var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: var(--step-small); }
.on-anchor .btn { background: var(--anchor-ink); color: var(--anchor); }
.on-anchor .btn:hover { background: #ffffff; }
.on-anchor :focus-visible { outline-color: var(--anchor-ink); }
.footer-photo :focus-visible, .stage :focus-visible { outline-color: var(--ink); }

.textlink {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em;
  transition: color var(--t-hover) ease;
}

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.6vw, 26px);
  padding-block: var(--m);
  font-size: var(--step-small);
}
.site-header nav ul { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.site-header nav a, .lang {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 400;
  transition: color var(--t-hover) ease;
}
.site-header nav a:hover, .lang:hover { text-decoration: underline; }
.lang { font-weight: 600; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em;
}
.menu summary::-webkit-details-marker { display: none; }
.menu ul {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px;
  background: var(--surface); padding: 10px 0;
}
.menu li a { display: flex; min-height: 44px; align-items: center; padding: 0 18px; text-decoration: none; }
.menu li a:hover { text-decoration: underline; }

/* The split stage */
.split { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; /* taste-skill-ignore: fallback before svh */
  padding: var(--inset);
  min-height: 0;
}
.stage-field {
  position: relative; height: 100%; overflow: hidden;
  display: grid; place-items: center;
}
.field-slate { background: var(--slate); }
.field-sage { background: var(--sage); }
.field-blush { background: var(--blush); }
.column { padding: 0 var(--m) var(--gap-section) var(--col-pad); min-width: 0; }

.column p, .work-row .desc { max-width: 64ch; }

/* Hero */
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-copy {
  min-height: calc(100svh - 92px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(24px, 6vh, 72px) clamp(40px, 8vh, 96px);
}
.wordmark {
  font-size: var(--step-display); line-height: 0.88; letter-spacing: -0.045em;
  transform-origin: 0 100%;
}
.wordmark span { display: block; }
.hero-line {
  margin-top: clamp(28px, 4vh, 44px);
  font-size: var(--step-lead); line-height: 1.3; max-width: 26ch;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* About: the letter */
.letter { padding-top: var(--gap-section); }
.letter-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.letter-face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.letter h2 { font-size: var(--step-head); }
.letter p + p { margin-top: 1.1em; }
.letter mark { background: var(--marker); color: inherit; padding: 0.05em 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sign { margin-top: 40px; }
.sign-name { font-style: italic; font-size: var(--step-lead); line-height: 1.2; }
.sign-role { font-size: var(--step-small); color: var(--soft); }

/* Section headings in the reading column */
.col-head { font-size: var(--step-head); padding-top: clamp(72px, 9vw, 140px); margin-bottom: 20px; }
.col-intro { margin-bottom: 28px; }

/* Services with the live draft */
.need { padding-block: clamp(40px, 9vh, 96px) 0; }
.need:first-of-type { padding-top: 24px; }
.need h3 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 12px; }
.toggle {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  min-height: 48px; padding: 10px 18px 10px 12px; cursor: pointer;
  background: var(--surface); font-size: var(--step-small); font-weight: 600;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.toggle:active { transform: scale(0.97); }
.toggle input {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; flex: none;
  background: var(--paper); display: grid; place-items: center; cursor: pointer;
  outline-offset: 4px;
}
.toggle input::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border: solid var(--accent-ink); border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0); /* taste-skill-ignore: a check mark drawing in */
  transition: transform var(--t-hover) var(--ease-out);
}
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: rotate(-45deg) scale(1); }
.toggle:has(input:checked) { background: var(--marker); }

.draft {
  width: min(440px, 88%);
  background: var(--surface); color: var(--ink);
  font-size: var(--step-small); line-height: 1.5;
}
.draft-row { display: flex; gap: 12px; padding: 12px 20px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); } /* taste-skill-ignore: email header fields inside the data-ui draft */
.draft-row span { color: var(--soft); min-width: 4.5em; }
.draft-body { padding: 18px 20px 6px; min-height: 230px; }
.draft-body p + p, .draft-body ul + p, .draft-body p + ul { margin-top: 0.8em; }
.draft-needs li { padding-left: 1.1em; position: relative; animation: none; }
.draft-needs li::before { content: "–"; position: absolute; left: 0; }
.draft-empty { color: var(--soft); font-style: italic; }
.draft-foot { padding: 14px 20px 20px; }
.stage-note {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px;
  font-size: var(--step-small); color: var(--ink);
}

/* Work: the ledger and its stage */
.ledger { margin-top: 12px; }
.ledger li + li { margin-top: clamp(28px, 4vh, 44px); }
.work-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px;
  text-decoration: none; padding-block: 8px;
  transition: opacity var(--t-hover) ease;
}
.work-row .name { font-size: var(--step-lead); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.work-row .kind { font-size: var(--step-small); color: var(--soft); align-self: center; }
.work-row .desc { grid-column: 1 / -1; }
.work-row .more { grid-column: 1 / -1; font-size: var(--step-small); font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
.work-row .host { font-weight: 400; color: var(--soft); text-decoration: none; }
.work-row .inline-shot { display: none; }
.ledger:has(.work-row:is(:hover, :focus-visible)) .work-row:not(:is(:hover, :focus-visible)) { opacity: 0.55; }
.all-works { margin-top: 40px; }

.shots { position: relative; width: 86%; }
.shot { transition: opacity 260ms ease; }
.shot + .shot { position: absolute; inset: 0 0 auto 0; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { margin-top: 12px; font-size: var(--step-small); }
.shot { opacity: 0; }
.shot.is-first { opacity: 1; }
.works:has(.work-row:is(:hover, :focus-visible)) .shot { opacity: 0; }
.works:has(.work-row[data-w="equipe"]:is(:hover, :focus-visible)) .shot[data-w="equipe"],
.works:has(.work-row[data-w="ruzza"]:is(:hover, :focus-visible)) .shot[data-w="ruzza"],
.works:has(.work-row[data-w="vela"]:is(:hover, :focus-visible)) .shot[data-w="vela"] { opacity: 1; }

/* Client area: full width, on the anchor field */
.client-area {
  background: var(--anchor); color: var(--anchor-ink);
  padding: var(--gap-section) var(--m);
}
.client-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m);
  max-width: 1440px; margin-inline: auto; align-items: start;
}
.client-text { grid-column: 1 / 6; }
.client-text h2 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); margin-bottom: 24px; }
.client-text p { max-width: 34ch; }
.client-text p + p { margin-top: 1em; }
.client-text .btn { margin-top: 32px; }
.client-text a:not(.btn) { color: var(--anchor-ink); }
.slip {
  grid-column: 7 / 12;
  background: var(--slip); color: var(--slip-ink);
  padding: 36px clamp(22px, 2.6vw, 40px) 64px;
  font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 97.5% 100%, 95% calc(100% - 12px), 92.5% 100%, 90% calc(100% - 12px), 87.5% 100%, 85% calc(100% - 12px), 82.5% 100%, 80% calc(100% - 12px), 77.5% 100%, 75% calc(100% - 12px), 72.5% 100%, 70% calc(100% - 12px), 67.5% 100%, 65% calc(100% - 12px), 62.5% 100%, 60% calc(100% - 12px), 57.5% 100%, 55% calc(100% - 12px), 52.5% 100%, 50% calc(100% - 12px), 47.5% 100%, 45% calc(100% - 12px), 42.5% 100%, 40% calc(100% - 12px), 37.5% 100%, 35% calc(100% - 12px), 32.5% 100%, 30% calc(100% - 12px), 27.5% 100%, 25% calc(100% - 12px), 22.5% 100%, 20% calc(100% - 12px), 17.5% 100%, 15% calc(100% - 12px), 12.5% 100%, 10% calc(100% - 12px), 7.5% 100%, 5% calc(100% - 12px), 2.5% 100%, 0 calc(100% - 12px));
}
.slip-title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.slip-sub { font-size: var(--step-small); color: #454b45; margin-top: 4px; }
.slip h3 { font-size: var(--step-body); letter-spacing: 0; margin-top: 30px; margin-bottom: 6px; }
.slip-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; }
.slip-row span:last-child { color: #454b45; text-align: right; flex: none; }
.slip-total {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  margin-top: 30px; margin-inline: calc(-1 * clamp(22px, 2.6vw, 40px));
  padding: 12px clamp(22px, 2.6vw, 40px);
  background: var(--slip-ink); color: var(--slip); font-weight: 600;
}

/* Contact: one field */
.contact { padding: clamp(104px, 11vw, 160px) var(--m) clamp(110px, 12vw, 160px); }
.contact-inner { max-width: 640px; margin-inline: auto; }
.contact h2 { font-size: var(--step-head); }
.contact h2 .soft { display: block; color: var(--soft); }
.ask { margin-top: 32px; }
.ask-field { position: relative; }
.ask input {
  width: 100%; height: 68px; padding: 0 76px 0 22px;
  background: var(--surface); color: var(--ink); border: 0; border-radius: 0;
  font: 400 var(--step-body) / 1.2 var(--face);
}
.ask input::placeholder { color: var(--soft); opacity: 1; }
.ask input:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--focus); } /* taste-skill-ignore: focus ring */
.ask button {
  position: absolute; right: 10px; top: 10px; width: 48px; height: 48px; min-height: 0; padding: 0;
}
.ask-note { margin-top: 16px; font-size: var(--step-small); color: var(--soft); max-width: 52ch; }
.ask-picked { margin-top: 8px; font-size: var(--step-small); font-weight: 600; }
.contact-rows { margin-top: 64px; display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; }
.contact-rows dt { color: var(--soft); font-size: var(--step-small); padding-top: 0.2em; }
.contact-rows dd { overflow-wrap: anywhere; }

/* Footer: photograph half, menu half */
.site-footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--sage); }
.footer-photo { position: relative; overflow: hidden; }
.footer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.footer-menu { display: flex; flex-direction: column; padding: clamp(40px, 6vw, 80px) var(--col-pad) var(--m); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; font-size: var(--step-body); }
.footer-brand svg { width: 28px; height: 28px; }
.footer-nav { margin-top: clamp(32px, 5vh, 56px); }
.footer-nav li + li { margin-top: clamp(4px, 1vh, 12px); }
.footer-nav a {
  display: inline-block; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2;
  text-decoration: none; transition: transform var(--t-hover) var(--ease-out), opacity var(--t-hover) ease;
}
.footer-nav a:hover, .footer-nav a:focus-visible { transform: translateX(12px); }
.footer-nav ul:has(a:hover) a:not(:hover) { opacity: 0.6; }
.footer-blocks { margin-top: clamp(40px, 7vh, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: var(--step-small); }
.footer-blocks h2 { font-size: var(--step-small); letter-spacing: 0; margin-bottom: 8px; }
.footer-blocks a { display: inline-flex; min-height: 32px; align-items: center; overflow-wrap: anywhere; }
.legal { margin-top: auto; padding-top: 48px; font-size: var(--step-small); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal a { display: inline-flex; min-height: 32px; align-items: center; }

/* Plain pages: privacy, 404 */
.plain-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: var(--m);
}
.plain-header .site-header { padding: 0; }
.plain { padding: clamp(48px, 8vw, 120px) var(--m) var(--gap-section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); }
.plain-aside { grid-column: 1 / 5; }
.plain-aside h1 { font-size: clamp(2.75rem, 1.5rem + 4vw, 5.5rem); }
.plain-aside p { margin-top: 20px; color: var(--soft); font-size: var(--step-small); }
.plain-body { grid-column: 6 / 12; max-width: 62ch; }
.plain-body h2 { font-size: var(--step-lead); letter-spacing: -0.015em; margin-top: 48px; margin-bottom: 12px; }
.plain-body h2:first-child { margin-top: 0; }
.plain-body p + p, .plain-body p + ul, .plain-body ul + p { margin-top: 1em; }
.plain-body ul li { padding-left: 1.1em; position: relative; }
.plain-body ul li + li { margin-top: 0.5em; }
.plain-body ul li::before { content: "–"; position: absolute; left: 0; }
.plain-foot { background: var(--sage); padding: 40px var(--m); font-size: var(--step-small); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.plain-foot a { display: inline-flex; min-height: 32px; align-items: center; }
.lost { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); }
.lost .stage { position: relative; }
.lost-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--col-pad); }
.lost-copy h1 { font-size: clamp(2.75rem, 1.5rem + 4vw, 5.5rem); }
.lost-copy p { margin-top: 20px; max-width: 34ch; }
.lost-copy .hero-actions { margin-top: 32px; }

/* Tablet and phone */
@media (max-width: 1100px) {
  .site-header nav { display: none; }
  .menu { display: block; margin-right: auto; }
}

@media (max-width: 900px) {
  .split, .lost { grid-template-columns: minmax(0, 1fr); }
  .column { padding: 0 20px 96px; }

  .hero { display: flex; flex-direction: column; }
  .hero .column { display: contents; }
  .hero .site-header { order: -2; padding-inline: 20px; padding-block: 8px; }
  .hero .stage { order: -1; position: relative; height: 48svh; min-height: 300px; padding: 0 12px; }
  .hero-copy { min-height: 0; padding: 28px 20px 0; }
  .wordmark { font-size: clamp(4rem, 22vw, 9rem); }
  .hero-line { font-size: 1.1875rem; margin-top: 24px; }
  .letter { padding: 96px 20px 96px; }

  .services { display: flex; flex-direction: column; }
  .services .column { order: 1; padding-bottom: 48px; }
  .services .stage { order: 2; position: static; height: auto; padding: 0 12px; }
  .services .stage-field { height: auto; padding: 32px 0 0; }
  .services .draft { width: calc(100% - 32px); }
  .services .draft-body { min-height: 0; }
  .services .stage-note { position: static; padding: 16px 16px 24px; }
  .letter-head { flex-direction: column; align-items: flex-start; }

  .works .stage { display: none; }
  .work-row .inline-shot { display: block; grid-column: 1 / -1; margin-bottom: 14px; }
  .work-row .inline-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .ledger li + li { margin-top: 56px; }

  .client-area { padding: 96px 20px; }
  .client-text, .slip { grid-column: 1 / -1; }
  .slip { margin-top: 48px; padding-inline: 20px; }
  .slip-total { margin-inline: -20px; padding-inline: 20px; }

  .contact { padding: 112px 20px 104px; }
  .contact-rows { grid-template-columns: 1fr; gap: 4px; }
  .contact-rows dd + dt { margin-top: 16px; }

  .site-footer { grid-template-columns: 1fr; min-height: 0; }
  .footer-photo { height: 50svh; }
  .footer-menu { padding: 48px 20px 24px; }
  .footer-nav a { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .footer-blocks { grid-template-columns: 1fr; }

  .plain-header { padding: 12px 20px; }
  .plain { padding: 56px 20px 96px; }
  .plain-aside, .plain-body { grid-column: 1 / -1; }
  .plain-body { margin-top: 40px; }
  .lost .stage { height: 46svh; padding: 12px; }
  .lost-copy { padding: 40px 20px 72px; }
}

@media (max-width: 380px) {
  .site-header { gap: 10px; }
  .btn-small { padding-inline: 12px; }
}

/* Motion: only when the reader allows it. Every element is visible without it. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
  @keyframes settle { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
  @keyframes drift { from { scale: 1; } to { scale: 1.07; } }
  @keyframes shrink { to { scale: 0.93; } }
  @keyframes appear { from { opacity: 0; translate: -6px 0; } to { opacity: 1; translate: 0 0; } }

  .hero-photo { animation: settle 1.2s var(--ease-expo) both, drift 26s var(--ease-soft) 1.2s infinite alternate; transform-origin: 50% 35%; }
  .wordmark span { animation: rise var(--t-reveal) var(--ease-expo) both; }
  .wordmark span:nth-child(2) { animation-delay: 90ms; }
  .hero-line { animation: rise var(--t-reveal) var(--ease-expo) 180ms both; }
  .hero-actions { animation: rise var(--t-reveal) var(--ease-expo) 260ms both; }
  .draft-needs li { animation: appear 320ms var(--ease-out) both; }

  @supports (animation-timeline: scroll()) {
    .hero .wordmark { animation: shrink linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }

  .js .reveal > * {
    opacity: 0; translate: 0 24px;
    transition: opacity 700ms var(--ease-out), translate 900ms var(--ease-expo);
  }
  .js .reveal > :nth-child(2) { transition-delay: 80ms; }
  .js .reveal > :nth-child(3) { transition-delay: 160ms; }
  .js .reveal > :nth-child(n + 4) { transition-delay: 240ms; }
  .js .reveal.is-in > * { opacity: 1; translate: 0 0; }
  .js .reveal-pic { opacity: 0; scale: 1.06; transition: opacity 900ms var(--ease-out), scale 1600ms var(--ease-expo); }
  .js .reveal-pic.is-in { opacity: 1; scale: 1; }
}
