/* Ray's Tech Services, redesign. Direction: "Type and nothing else" (taste skill, seed
   325491972) with the brand's own colours and typeface. Flat fields, no gradients, no
   shadows at rest, square corners, one button shape. */

:root {
  --ground: #0a0a0a;
  --ground-2: #141414; /* one tone step, for alternating rows */
  --ink: #f5f5f5;
  --ink-soft: #b8b8b8; /* secondary notes only */
  --paper: #f5f5f5;
  --paper-ink: #0a0a0a;
  --paper-2: #e8e8e8; /* one tone step on paper, for alternating rows */
  --paper-soft: #4a4a4a; /* secondary notes on paper */
  --magenta: #ed1aa8;
  --green: #15b85c;

  --face: "Space Grotesk", system-ui, sans-serif;

  /* type steps */
  --fs-small: 14px;
  --fs-body: 17px;
  --fs-lead: clamp(18px, 1.55vw, 22px);
  --fs-head: clamp(40px, 4.4vw, 64px);
  --fs-display: clamp(76px, 12.4vw, 200px);
  --fs-big: clamp(52px, 6.8vw, 116px); /* the price sentence */

  /* page margin: 24px, growing on big screens so the content never runs wider than 1760px
     (colour fields and the photograph still run edge to edge) */
  --m: max(24px, calc((100vw - 1760px) / 2));
  --section: clamp(120px, 14vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 720px) {
  :root { --m: 16px; --section: 96px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--face);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
::selection { background: var(--magenta); color: var(--paper-ink); }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 24px; }

/* ---- buttons: one shape, square corners ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font: 700 var(--fs-body) / 1 var(--face);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--light { background: var(--paper); color: var(--paper-ink); }
.btn--light:hover { background: var(--magenta); color: var(--paper-ink); }
.btn--dark { background: var(--paper-ink); color: var(--paper); }
.btn--dark:hover { background: var(--paper); color: var(--paper-ink); }

/* ---- top: wordmark and links, no bar; on phones a Menu button opens a full-screen sheet ---- */
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--m);
}
.top__brand { position: relative; z-index: 2; }
.top__brand img { width: 150px; }
.top__links { display: flex; gap: 24px; font-size: var(--fs-body); }
.top__links a { text-decoration: none; transition: color 0.2s ease; }
.top__links a:hover { color: var(--magenta); }
.top__menu {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: inherit;
  font: 700 var(--fs-body) / 1 var(--face);
  cursor: pointer;
}
@media (max-width: 720px) {
  .top__brand img { width: 124px; }
  .top__links { gap: 14px; }
  .top__links a:nth-child(n + 3) { display: none; } /* without JavaScript: two links stay inline */
  .js .top__menu { display: block; }
  .js .top__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    padding: 96px var(--m) calc(32px + env(safe-area-inset-bottom));
    background: var(--magenta);
    color: var(--paper-ink);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .js .top__links a { display: block; padding: 6px 0; font-size: var(--fs-head); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
  .js .top__links a:hover { color: var(--paper); }
  .js .top.is-open .top__links { visibility: visible; opacity: 1; transition: opacity 0.25s ease; }
  .js .top.is-open .top__brand img { filter: brightness(0); } /* the logo in solid black on the pink sheet */
  .js .top.is-open .top__menu { color: var(--paper-ink); }
}
@media (min-width: 721px) { .top__menu { display: none !important; } }

/* ---- 1. hero: a two-line statement stepping across the screen ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15svh var(--m) 28px;
}
.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line--right { text-align: right; }
.line__in { display: inline-block; }
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 18svh;
}
.hero__lead { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.4; }
@media (max-width: 720px) {
  .hero { min-height: 92svh; padding-top: 16svh; padding-bottom: 20px; }
  .hero__title { font-size: 17vw; line-height: 0.9; }
  .line--right { text-align: left; }
  .hero__row { flex-direction: column; align-items: stretch; padding-top: 12svh; gap: 20px; }
  .hero__lead { font-size: var(--fs-body); }
  .hero .btn { width: 100%; }
}

/* ---- 2. what Ray does: large lines on paper, the heading pinned beside them ---- */
.what {
  background: var(--paper);
  color: var(--paper-ink);
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}
.what__title { grid-column: 1 / 5; position: sticky; top: 32px; font-size: var(--fs-lead); font-weight: 700; line-height: 1.3; }
.what__list { grid-column: 5 / 13; list-style: none; }
.what__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); gap: 24px; align-items: baseline; padding: 18px 0; }
.what__name { font-size: var(--fs-head); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.what__note { font-size: var(--fs-body); max-width: 30ch; }
@media (max-width: 720px) {
  .what { display: block; }
  .what__title { position: static; margin-bottom: 16px; font-size: var(--fs-head); line-height: 1; letter-spacing: -0.03em; }
  .what__name { font-size: 30px; letter-spacing: -0.03em; }
  .what__list li { display: block; padding: 16px 0; }
  .what__note { display: block; margin-top: 8px; }
}

/* ---- before and after: one picture, a handle to drag between the two sites ---- */
.compare { padding: var(--section) var(--m); }
.compare__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}
.compare__title { grid-column: 1 / 7; font-size: var(--fs-head); line-height: 1; letter-spacing: -0.03em; }
.compare__text { grid-column: 8 / 13; max-width: 42ch; font-size: var(--fs-lead); line-height: 1.4; }
.ba { --pos: 50%; max-width: calc((100svh - 40px) * 1.6); margin-inline: auto; } /* never taller than the screen on wide, short displays */
.ba__frame { position: relative; overflow: hidden; background: #000; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba__img { display: block; width: 100%; height: auto; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 4px;
  margin-left: -2px;
  background: var(--paper);
  pointer-events: none;
}
.ba__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: var(--magenta);
  transition: transform 0.2s var(--ease-out);
}
.ba__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 30px;
  height: 14px;
  margin: -7px 0 0 -15px;
  background: var(--paper-ink);
  clip-path: polygon(0 50%, 35% 0, 35% 100%, 0 50%, 100% 50%, 65% 0, 65% 100%, 100% 50%);
}
.ba__frame:active .ba__handle::after { transform: scale(1.08); }
.ba__frame { cursor: ew-resize; }
/* the keyboard control: invisible, focusable; arrow keys move the handle */
.ba__range { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.ba__frame:focus-within .ba__handle { background: var(--magenta); }
.ba__frame:focus-within { outline: 3px solid var(--ink); outline-offset: 4px; }
.ba__tag {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  background: var(--paper-ink);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 700;
  pointer-events: none;
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; background: var(--paper); color: var(--paper-ink); }
.ba__cap { margin-top: 12px; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 720px) {
  .compare__top { display: block; margin-bottom: 28px; }
  .compare__text { margin-top: 16px; font-size: var(--fs-body); }
  .ba__frame { margin: 0 calc(var(--m) * -1); }
  .ba { max-width: none; }
  .ba__handle::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ba__tag { bottom: 10px; padding: 4px 8px; }
  .ba__tag--before { left: 10px; }
  .ba__tag--after { right: 10px; }
}

/* ---- full-bleed picture bands ---- */
.band { margin: 0; padding-bottom: 24px; }
.band__cap a { color: inherit; text-underline-offset: 2px; }
.band__media { width: 100%; max-height: 92svh; object-fit: cover; }
.band__cap { padding: 12px var(--m) 0; font-size: var(--fs-small); color: var(--ink-soft); }
.band__crop { overflow: hidden; }

/* ---- right here: a magenta sign set into the corner of the Main Street photo ---- */
.place { position: relative; padding-bottom: 72px; }
.place__photo .band__media { width: 100%; max-height: 92svh; object-fit: cover; object-position: 50% 62%; }
.place__sign {
  position: absolute;
  left: var(--m);
  bottom: 140px; /* sits on the photo, clear of the credit line */
  width: min(620px, 46vw);
  padding: 40px 40px 44px;
  background: var(--magenta);
  color: var(--paper-ink);
}
.place__title { font-size: var(--fs-head); line-height: 1; letter-spacing: -0.04em; }
.place__text { margin-top: 18px; max-width: 34ch; font-size: var(--fs-lead); line-height: 1.4; }
.place__credit { padding: 12px var(--m) 0; font-size: var(--fs-small); color: var(--ink-soft); }
.place__credit a { display: inline-block; padding: 3px 0; color: inherit; text-underline-offset: 2px; }
@media (max-width: 720px) {
  /* phones: the sign follows the photo and overlaps its bottom edge */
  .place { padding-bottom: 48px; }
  .place__photo .band__media { aspect-ratio: 4 / 5; max-height: none; object-position: 60% 50%; }
  .place__sign { position: relative; left: auto; bottom: auto; width: auto; margin: -64px var(--m) 0; padding: 28px 22px 30px; }
  .place__text { font-size: var(--fs-body); }
}

/* ---- 3. how: the process printed on a slip, on a green field ---- */
.how {
  background: var(--green);
  color: var(--paper-ink);
  padding: clamp(80px, 9vw, 140px) var(--m);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
}
.how__intro { grid-column: 1 / 6; }
.how__title { font-size: var(--fs-head); line-height: 1; letter-spacing: -0.03em; }
.how__text { margin-top: 24px; max-width: 36ch; font-size: var(--fs-lead); line-height: 1.4; }
.slip {
  grid-column: 7 / 12;
  justify-self: end;
  max-width: 500px;
  width: 100%;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 8px 28px 44px;
  font-variant-numeric: tabular-nums;
  /* zigzag cut along the bottom edge: a mask shape, not a visible gradient. taste-skill-ignore */
  --z: 14px;
  -webkit-mask: conic-gradient( /* taste-skill-ignore: zigzag mask */from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--z) 100%;
  mask: conic-gradient( /* taste-skill-ignore: zigzag mask */from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--z) 100%;
}
.slip__head { font-weight: 700; margin-top: 28px; }
.slip__row { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.slip__row > span:first-child { flex: 0 1 auto; }
.slip__dots { flex: 1 1 24px; border-bottom: 4px dotted currentColor; transform: translateY(-4px); opacity: 0.55; }
.slip__row > span:last-child { white-space: nowrap; }
.slip__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  margin: 28px -28px 0;
  padding: 0 28px;
  background: var(--paper-ink);
  color: var(--paper);
  font-weight: 700;
}
@media (max-width: 720px) {
  .how { display: block; }
  .slip { margin-top: 48px; padding: 4px 18px 40px; }
  .slip__total { margin: 24px -18px 0; padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---- 4. price: the live sentence and the plan it buys, on a magenta field ---- */
.price {
  background: var(--magenta);
  color: var(--paper-ink);
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 64px;
  align-items: start;
}
.price__main { grid-column: 1 / 8; }
.price__side { grid-column: 8 / 13; }
.price__sentence { font-size: var(--fs-big); line-height: 0.95; letter-spacing: -0.05em; }
.price__pages, .price__line { display: block; }
.price__fig {
  display: inline-block;
  background: var(--paper-ink);
  color: var(--paper);
  padding: 0 0.15em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.price__control { margin-top: 56px; max-width: 640px; }
.price__label { display: block; font-weight: 700; margin-bottom: 14px; }
.price__range {
  --thumb: 36px;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 48px;
  background: transparent;
  cursor: pointer;
}
.price__range::-webkit-slider-runnable-track { height: 8px; background: var(--paper-ink); }
.price__range::-moz-range-track { height: 8px; background: var(--paper-ink); }
.price__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc((8px - var(--thumb)) / 2);
  background: var(--paper);
  border: 4px solid var(--paper-ink);
  transition: transform 0.15s var(--ease-out);
}
.price__range::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  background: var(--paper);
  border: 4px solid var(--paper-ink);
  border-radius: 0;
  box-sizing: border-box;
}
.price__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.price__range:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 6px; }
/* tick labels sit under the value they name: thumb centre runs from thumb/2 to 100% - thumb/2 */
.price__ticks { position: relative; height: 22px; margin: 4px 0 0; font-size: var(--fs-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.price__ticks span { position: absolute; left: calc(18px + (100% - 36px) * (var(--v) - 1) / 15); transform: translateX(-50%); }
.price__jump { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.price__jump button {
  min-height: 52px;
  background: transparent;
  border: 2px solid var(--paper-ink);
  color: var(--paper-ink);
  font: 700 var(--fs-body) / 1 var(--face);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.price__jump button + button { margin-left: -2px; }
.price__jump button:hover { background: rgb(10 10 10 / 0.12); }
.price__jump button[aria-pressed="true"] { background: var(--paper-ink); color: var(--paper); }
.price__jump button:focus-visible { outline-offset: 3px; }

/* the plan the slider lands on, as a black slip */
.plan { background: var(--paper-ink); color: var(--paper); padding: 32px; }
.plan + .plan { margin-top: 16px; }
.js .plan { display: none; }
.js .plan.is-on { display: block; }
.plan__name { display: flex; align-items: center; gap: 12px; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.plan__flag { padding: 4px 10px; background: var(--green); color: var(--paper-ink); font-size: var(--fs-small); letter-spacing: 0; }
.plan__sum { margin-top: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.plan__list { list-style: none; margin-top: 24px; font-size: var(--fs-lead); line-height: 1.35; }
.plan__list li { padding: 10px 0 10px 32px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 16px; height: 4px; background: var(--magenta); }
.price__note { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.4; }
.price__ask { margin-top: 24px; width: 100%; }
.price__all { grid-column: 1 / 13; max-width: 68ch; font-size: var(--fs-body); }
@media (max-width: 960px) {
  .price { display: block; }
  .price__side { margin-top: 48px; }
  .price__all { margin-top: 40px; }
}
@media (max-width: 720px) {
  .price__sentence { font-size: 14vw; }
  .price__control { margin-top: 40px; }
  .price__ticks span:nth-child(5) { display: none; }
  .price__jump { grid-template-columns: repeat(2, 1fr); }
  .price__jump button:nth-child(3), .price__jump button:nth-child(4) { margin-top: -2px; }
  .price__jump button:nth-child(odd) { margin-left: 0; }
  .plan { padding: 24px 20px; }
  .plan__name { font-size: 32px; }
  .plan__list { font-size: var(--fs-body); }
  .price__note { font-size: var(--fs-body); }
}

/* ---- 6. questions, as reading text ---- */
.faq {
  padding: var(--section) var(--m);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}
.faq__title { grid-column: 1 / 4; font-size: var(--fs-head); line-height: 1; letter-spacing: -0.03em; }
.faq__text { grid-column: 5 / 13; columns: 2 30ch; column-gap: 56px; }
.faq__text p { break-inside: avoid; margin-bottom: 20px; }
.faq__text strong { font-weight: 500; }
@media (max-width: 900px) { .faq__text { columns: 1; } }
@media (max-width: 720px) {
  .faq { display: block; }
  .faq__text { margin-top: 32px; }
}

/* ---- 7. contact: the card, the address as the call to action ---- */
.contact {
  min-height: 86svh;
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(40px, 5vw, 72px) var(--m) 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto auto;
  column-gap: 24px;
}
.contact__lead { grid-column: 1 / 7; }
.contact__title { font-size: var(--fs-head); line-height: 1; letter-spacing: -0.03em; }
.contact__text { margin-top: 20px; max-width: 30ch; font-size: var(--fs-lead); line-height: 1.4; }

/* ---- the 3D card: drag on desktop, a spin slider on phones; the photo is the fallback ---- */
.card3d__stage { position: relative; aspect-ratio: 5 / 4; background: var(--paper-ink); overflow: hidden; }
.card3d__photo { width: 100%; height: 100%; object-fit: cover; }
.card3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.card3d canvas:active { cursor: grabbing; }
.card3d.is-3d .card3d__photo { visibility: hidden; }
.card3d__spin { display: block; margin-top: 16px; }
.card3d__label { display: block; font-weight: 700; margin-bottom: 6px; }
.card3d__spin input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  cursor: pointer;
}
.card3d__spin input::-webkit-slider-runnable-track { height: 6px; background: var(--paper-ink); }
.card3d__spin input::-moz-range-track { height: 6px; background: var(--paper-ink); }
.card3d__spin input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -13px; background: var(--magenta); border: 3px solid var(--paper-ink); }
.card3d__spin input::-moz-range-thumb { width: 32px; height: 32px; background: var(--magenta); border: 3px solid var(--paper-ink); border-radius: 0; box-sizing: border-box; }
.card3d__spin input:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 4px; }
/* desktop: the mouse turns the card; the slider is kept for keyboards and shown when focused */
@media (hover: hover) and (pointer: fine) {
  .card3d__spin:not(:focus-within) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.card3d__cap { margin-top: 12px; font-size: var(--fs-body); text-wrap: pretty; }
.contact__mail {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 120px 0 8vh;
  font-size: clamp(32px, 8.1vw, 146px); /* runs margin to margin */
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.contact__mail:hover { color: var(--magenta); }
.contact__foot { grid-column: 1 / -1; grid-row: 4; display: flex; justify-content: space-between; gap: 24px; font-size: var(--fs-body); }
.contact__foot a { display: inline-block; padding: 4px 0; }
.contact__foot p:last-child { text-align: right; }
@media (max-width: 720px) {
  .contact { display: block; min-height: 0; padding-top: 72px; }
  .contact__mail { display: block; font-size: 8.4vw; margin: 56px 0 48px; }
  .contact__foot { flex-direction: column; gap: 12px; }
  .contact__foot p:last-child { text-align: left; }
}

/* ---- the contact dock: three big targets pinned to the bottom of phone screens ---- */
.dock { display: none; }
@media (max-width: 720px) {
  .js .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper);
    color: var(--paper-ink);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .js .dock.is-on { transform: none; visibility: visible; transition: transform 0.35s var(--ease-out); }
  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-weight: 700;
    text-decoration: none;
  }
  .dock a + a { background: var(--paper-2); }
  .dock a:last-child { background: var(--paper-ink); color: var(--paper); }
  .dock a:active { transform: scale(0.97); }
  .dock a:focus-visible { outline-offset: -6px; }
}

/* ---- footer: columns above, the wordmark below ---- */
.end {
  display: grid;
  padding: 56px var(--m) 20px;
  background: var(--ground);
}
.end__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: var(--fs-small); color: var(--ink-soft); }
.end__cols a { display: inline-block; padding: 3px 0; text-decoration: none; }
.end__cols a:hover { color: var(--ink); text-decoration: underline; }
.end__first { color: var(--ink); font-weight: 500; }
.end__mark { width: 100%; margin-top: clamp(96px, 12vw, 200px); }
.end__legal { margin-top: 20px; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 720px) {
  .end__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

/* ---- motion: masked headline, section entrances, one drifting picture ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .line__in { transform: translateY(105%); }
  .js.hero-in .line__in { transform: none; transition: transform 0.9s var(--ease-out); }
  .js.hero-in .line--right .line__in { transition-delay: 0.11s; }
  .js .hero__row { opacity: 0; transform: translateY(16px); }
  .js.hero-in .hero__row { opacity: 1; transform: none; transition: opacity 0.6s ease 0.45s, transform 0.6s var(--ease-out) 0.45s; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease var(--d, 0s), transform 0.8s var(--ease-out) var(--d, 0s);
  }

  /* one slow push-in as the photo enters, then still */
  .js .band__crop .band__media { transform: scale(1.12); }
  .js .what__list li { transform: translateX(-32px); }
  .js .band__crop.is-in .band__media { transform: none; transition: transform 4.5s var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

}

/* ---- privacy and accessibility pages: plain reading pages ---- */
.top--static { position: static; }
.doc { padding: 48px var(--m) var(--section); }
.doc__title, .doc__lead { max-width: 720px; }
.doc__title { font-size: var(--fs-head); line-height: 1; letter-spacing: -0.03em; }
.doc__meta { margin-top: 16px; color: var(--ink-soft); }
.doc__lead { margin-top: 40px; font-size: var(--fs-lead); line-height: 1.45; }
.doc h2 { margin-top: 56px; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.doc p, .doc ul { margin-top: 16px; max-width: 65ch; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc a { text-underline-offset: 3px; }
.doc a:hover { color: var(--magenta); }
.end--doc { padding: 24px var(--m) 32px; }
.end__legal a { display: inline-block; padding: 4px 0; color: var(--ink); text-underline-offset: 3px; }
.end__legal a:hover { color: var(--magenta); }
