/* After Human — a letter, from one athlete to another. Mobile first; one breakpoint at 760px. */

/* Geist (SIL OFL), self-hosted and subset to Latin (scripts/fonts has the full font) */
@font-face { font-family: "Geist"; src: url("Geist-Latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --text: #9b9b9b;
  --muted: #6b6b6b;
  --dim: #3d3d3d;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f2f2f2;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --gutter: 20px;
  --col: 540px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.72 var(--sans);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent); color: #000; }
p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- background texture: Reverse UI holographic dither mist, greyscale at ~10% ---------- */

.mist {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.1;
  filter: grayscale(1);
}

/* ---------- page ---------- */

.page {
  position: relative; z-index: 1;
  max-width: calc(var(--col) + var(--gutter) * 2);
  margin: 0 auto;
  padding: max(40px, env(safe-area-inset-top)) var(--gutter) max(40px, env(safe-area-inset-bottom));
  overflow-x: clip; /* hidden hover cards sit off to the side; never let them cause sideways scroll */
}

.top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 960px) { .top { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; } }
.brandmark { margin: 0; font-size: inherit; line-height: 0; } /* the page's h1 is the logo */
.logo { display: inline-block; transition: opacity 0.2s; }
.logo img { width: 124px; height: auto; }
.logo:hover { opacity: 0.7; }
.tagline {
  font-size: 9px; font-weight: 500; line-height: 1;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- record player (top right) ---------- */

/* hangs from the top edge: in the page corner on wide screens, top right on phones */
.corner { position: absolute; z-index: 2; top: 0; right: 14px; } /* flush with the top edge: the arm hangs from it */
.deck { position: relative; width: 104px; user-select: none; -webkit-user-select: none; }
@media (min-width: 760px) { .deck { width: 136px; } .corner { right: 24px; } }
@media (min-width: 960px) {
  .corner { right: 36px; }
  .deck { width: 156px; }
}
.deck__svg { display: block; width: 100%; height: auto; overflow: hidden; }
.deck__platter { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); }
.deck__disc { transform-box: view-box; transform-origin: 62px 40px; }
.deck__arm {
  transform-box: view-box; transform-origin: 140px -20px;
  transform: rotate(var(--arm, 0deg));
  transition: transform 0.7s var(--spring);
  filter: drop-shadow(-2px 4px 3px rgba(0, 0, 0, 0.55));
}
.deck.is-dragging .deck__arm { transition: none; }
.deck__grab { cursor: grab; pointer-events: stroke; touch-action: none; }
.deck.is-dragging .deck__grab { cursor: grabbing; }
.deck__disc { cursor: pointer; }
/* hover tooltip under the record: "play" / "stop" */
.deck__tip {
  position: absolute; left: 38.75%; top: calc(100% + 4px);
  padding: 4px 9px; border-radius: 999px;
  background: #1b1b1b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.4);
  color: var(--fg); font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -4px);
  transition: opacity 0.2s, transform 0.25s var(--ease);
  pointer-events: none;
}
@media (hover: hover) {
  .deck:hover .deck__tip { opacity: 1; transform: translate(-50%, 0); }
  .deck.is-dragging .deck__tip { opacity: 0; }
}
.deck:not(.is-playing):not(.is-dragging) .deck__arm { animation: nudge 4s var(--ease) 2.5s 2; }
@keyframes nudge { 0%, 80%, 100% { transform: rotate(0deg); } 88% { transform: rotate(4deg); } }

/* ---------- the letter ---------- */

.letter { margin-top: 64px; }
.para > * + * { margin-top: 1.1em; }
.para + .para { margin-top: 2.4em; }
.hi { color: var(--fg); }
em { font-style: normal; color: var(--fg); }

@media (min-width: 760px) {
  body { font-size: 17px; line-height: 1.75; }
  .page { padding-top: 64px; }
  .logo img { width: 148px; }
  .tagline { font-size: 11px; }
  .letter { margin-top: 112px; }
}

/* a banana. some toast. — hover / tap crosses them off */
.guesses { display: flex; flex-wrap: wrap; gap: 0 0.45em; }
.guess { position: relative; transition: color 0.25s; }
.guess::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 55%;
  height: 1.5px; background: var(--fg);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.guess:hover, .guess.is-crossed { color: var(--dim); }
.guess:hover::after, .guess.is-crossed::after { transform: scaleX(1); }

/* lol — letters hop */
.lol { color: var(--fg); display: inline-flex; }
.lol span { display: inline-block; }
.lol:hover span, .lol.is-hopping span { animation: hop 0.55s var(--spring) both; }
.lol span:nth-child(2) { animation-delay: 60ms !important; }
.lol span:nth-child(3) { animation-delay: 120ms !important; }
@keyframes hop { 40% { transform: translateY(-6px) rotate(-6deg); } 100% { transform: none; } }

.really { transition: letter-spacing 0.4s var(--ease); }
.really:hover { letter-spacing: 0.05em; }

/* highlighter swipe on "i'm looking for the first 100 runners" */
.marker {
  color: var(--fg);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 50% / 0% 100%;
  padding: 0.05em 0.2em;
  margin: 0 -0.1em;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.9s var(--ease) 0.3s, color 0.3s 0.5s;
}
.is-in .marker, html:not(.js) .marker { background-size: 100% 100%; color: #0a0a0a; }

/* ---------- roadmap: a quiet timeline ---------- */

.roadmap { margin-top: 1.2em !important; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 0 0 1em 22px;
  color: var(--muted);
  transition: color 0.25s;
}
.step::before { /* the line joining the dots */
  content: ""; position: absolute; left: 3px; top: 1.05em; bottom: -0.35em;
  width: 1px; background: rgba(255, 255, 255, 0.1);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { content: none; }
.step__when { font-size: 0.82em; font-weight: 500; color: var(--dim); line-height: 2.1; transition: color 0.25s; }
.step__dot {
  position: absolute; left: 0; top: 0.68em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--dim);
}
.step__what { transition: transform 0.35s var(--ease); }
.step:hover { color: var(--fg); }
.step:hover .step__when { color: var(--muted); }
.step:hover .step__what { transform: translateX(3px); }

.step.is-now { color: var(--fg); }
.step.is-now .step__when { color: var(--accent); }
.step.is-now .step__dot { background: var(--accent); box-shadow: none; }
.step.is-now .step__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* ---------- link preview (Reverse UI) ---------- */

.lp { position: relative; display: inline; }
.lp__trigger {
  color: var(--fg);
  text-decoration: underline dotted rgba(255, 255, 255, 0.4) 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.lp:hover .lp__trigger, .lp.is-open .lp__trigger { text-decoration-color: var(--fg); }
.lp__card {
  position: absolute;
  left: 50%;
  bottom: 100%;
  margin-bottom: 10px;
  z-index: 2;
  display: flex;
  width: 220px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  /* --x is the spring-driven x from theme.js; scale/opacity match the 0.2s enter/exit */
  translate: var(--x, 0px) 0;
  opacity: 0;
  scale: 0.8;
  transition: opacity 0.2s, scale 0.2s;
}
.lp.is-open .lp__card { opacity: 1; scale: 1; }
.lp__card img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Instagram profile card: mirrors the @hey.vinit header */
.lp__card--ig { width: 264px; padding: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.ig {
  display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 16px;
  background: #fff; color: #0c1014; font-size: 13px; line-height: 1.4; letter-spacing: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.ig__head { display: flex; align-items: center; gap: 12px; }
.ig__avatar { flex: none; width: 56px; height: 56px; padding: 3px; border-radius: 50%; box-shadow: inset 0 0 0 2px #dbdfe4; }
.ig__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ig__id { display: flex; flex-direction: column; gap: 1px; }
.ig__handle { font-size: 14px; font-weight: 700; }
.ig__name { color: #737373; font-size: 13px; }
.ig__bio { color: #0c1014; }
.ig__at { color: #4150f7; }
.ig__foot { display: flex; align-items: center; gap: 10px; }
.ig__btn { flex: 1; padding: 7px 0; border-radius: 8px; background: #4a5df9; color: #fff; text-align: center; font-size: 13px; font-weight: 600; }
.ig__glyph { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #efefef; color: #0c1014; }
.ig__glyph svg { width: 16px; height: 16px; }

/* ---------- join ---------- */

.join { margin-top: 1.6em !important; }
.join__shell { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 22px;
  border-radius: 999px;
  background: var(--fg); color: #0a0a0a;
  font-size: 15px; font-weight: 500;
  transition: transform 0.3s var(--spring), background 0.2s;
}
.cta:hover { background: #fff; }
.cta:active { transform: scale(0.96); }
/* text roll: label slides up, a copy slides in from below */
.cta__roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.cta__roll > span { display: inline-block; transition: transform 0.4s var(--ease); }
.cta__roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; transition: transform 0.4s var(--ease); }
.cta:hover .cta__roll > span, .cta:hover .cta__roll::after { transform: translateY(-100%); }

.join__shell.is-open .cta { display: none; }
.join__fields {
  display: flex; gap: 6px; width: 100%; max-width: 420px;
  padding: 4px; border-radius: 999px;
  background: #151515;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: grow 0.45s var(--ease) both;
}
.join__fields[hidden] { display: none; }
.join__fields:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.join__fields[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #ff8a7a; }
@keyframes grow { from { opacity: 0; clip-path: inset(0 60% 0 0 round 999px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 999px); } }
.join__fields input {
  flex: 1; min-width: 0; height: 38px; padding: 0 14px;
  border: 0; background: transparent; color: var(--fg);
  font: 400 16px/1 var(--sans); /* 16px stops iOS zooming in */
  outline: none;
}
.join__fields input::placeholder { color: var(--dim); }
.join__submit {
  height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--fg); color: #0a0a0a; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.join__submit:hover { background: #fff; }
.join__submit:active { transform: scale(0.96); }
.join__submit[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join__done { color: var(--fg); animation: card-in 0.5s var(--ease) both; }
.join__done[hidden] { display: none; }
@keyframes card-in { from { opacity: 0; transform: translateY(6px); } }
.join__error { margin-top: 10px; color: #ff8a7a; font-size: 14px; }

/* ---------- sign off ---------- */

.signoff { margin-top: 3em !important; }
.sig { margin-top: 0.4em !important; color: var(--fg); }
.signature { width: 138px; height: auto; overflow: visible; }
.signature path {
  stroke: currentColor; stroke-width: 1.5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  fill: currentColor; fill-opacity: 0;
}
.sig.is-drawn .signature path {
  animation: draw 0.9s var(--ease) forwards, ink 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.22s), calc(var(--i) * 0.22s + 0.6s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ink { to { fill-opacity: 1; } }

/* ---------- footer ---------- */

.foot { margin-top: 96px; }
.foot__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 20px;
}

/* like button (Reverse UI) */
.like {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  height: 40px; border-radius: 12px;
  background: linear-gradient(rgb(35 35 35) 0%, rgb(28 28 28) 100%);
  box-shadow:
    rgba(255, 255, 255, 0.02) 1px 1px 0 0 inset, rgba(255, 255, 255, 0.02) -1px -1px 0 0 inset,
    rgba(255, 255, 255, 0.02) 1px -1px 0 0 inset, rgba(255, 255, 255, 0.02) -1px 1px 0 0 inset,
    rgba(255, 255, 255, 0.05) 0 1px 0 0 inset, rgba(0, 0, 0, 0.175) 0 4px 8px 0;
  user-select: none;
  transition: background 0.2s ease-out;
}
.like:hover { background: linear-gradient(rgb(35 35 35) 0%, rgb(35 35 35) 100%); }
.like__main { display: flex; align-items: center; gap: 16px; padding-left: 12px; }
.like:not(:has(.like__count)) .like__main { padding-right: 16px; }
.like__label { font-size: 15px; font-weight: 500; color: hsl(0 0% 99%); }
.like__icon { position: relative; width: 20px; height: 20px; margin-top: 6px; }
.like__thumb { position: absolute; display: flex; transition: transform 0.5s var(--ease); }
.like__thumb--front { left: 2px; bottom: 2px; z-index: 2; }
.like__thumb--back { right: -5px; bottom: 8px; z-index: 1; transition-delay: 50ms; }
.like__thumb svg {
  stroke: #8c8c8c; fill: rgb(35 35 35);
  filter: drop-shadow(2px 0 0 rgb(35 35 35)) drop-shadow(-2px 0 0 rgb(35 35 35)) drop-shadow(0 2px 0 rgb(35 35 35)) drop-shadow(0 -2px 0 rgb(35 35 35));
}
.like.is-liked .like__thumb svg { stroke: hsl(0 0% 99%); fill: hsl(0 0% 99%); }
.like.is-bursting .like__thumb--front { transform: translate(-2px, -6px) rotate(-2deg); }
.like.is-bursting .like__thumb--back { transform: translate(1px, -8px) rotate(2deg); }
.like__confetti { position: absolute; display: block; pointer-events: none; }
.like__confetti--dot { border-radius: 50%; background: hsl(0 0% 50%); }
.like__confetti--star { display: flex; }
.like__divider { align-self: stretch; padding: 6px 0; }
.like__divider span { display: block; width: 1px; height: 100%; background: rgba(255, 255, 255, 0.05); }
.like__count {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; padding: 9px 16px 9px 0;
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums;
}
.like__hack { visibility: hidden; height: 0; }
.like__num { position: relative; transition: transform 0.3s var(--ease), opacity 0.3s; }
.like__num--to { position: absolute; color: hsl(0 0% 99%); opacity: 0; transform: translateY(22px); }
.like.is-liked .like__num--from { position: absolute; opacity: 0; transform: translateY(-22px); }
.like.is-liked .like__num--to { position: relative; opacity: 1; transform: none; }

/* reach out to vinit → Gmail-style compose card */
.reach { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }

/* instagram link: icon tile pops up on hover (Reverse UI social links) */
.social { position: relative; color: var(--fg); text-decoration: none; transition: opacity 0.25s; }
.reach:hover .social:not(:hover) { opacity: 0.5; }
.social__tile {
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translate(-50%, 10px) scale(0.6) rotate(-8deg);
  transition: opacity 0.2s, transform 0.4s var(--spring);
  pointer-events: none;
}
.social__tile svg { width: 18px; height: 18px; }
.social:hover .social__tile, .social:focus-visible .social__tile { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0); }
.reach .lp__trigger { text-decoration-style: solid; text-decoration-color: rgba(255, 255, 255, 0.3); }

.lp__card--mail { width: 300px; padding: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.gm { display: flex; flex-direction: column; width: 100%; color: #1f1f1f; font-size: 13px; line-height: 1.35; letter-spacing: 0; background: #fff; }
.gm__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #f2f6fc; font-weight: 600; font-size: 13px; text-transform: capitalize;
}
.gm__ctrls { display: flex; gap: 10px; }
.gm__ctrls i { display: block; width: 10px; height: 2px; margin-top: 4px; border-radius: 1px; background: #444746; }
.gm__ctrls i:nth-child(2) { height: 9px; width: 9px; margin-top: 0; background: none; border: 1.6px solid #444746; border-radius: 1px; }
.gm__ctrls i:nth-child(3) { position: relative; background: none; width: 10px; height: 10px; margin-top: 0; }
.gm__ctrls i:nth-child(3)::before, .gm__ctrls i:nth-child(3)::after {
  content: ""; position: absolute; left: 4px; top: -1px; width: 1.8px; height: 12px; background: #444746; border-radius: 1px; transform: rotate(45deg);
}
.gm__ctrls i:nth-child(3)::after { transform: rotate(-45deg); }
.gm__row { display: flex; align-items: center; gap: 8px; margin: 0 14px; padding: 8px 0; border-bottom: 1px solid #e3e3e3; }
.gm__key { color: #5f6368; text-transform: capitalize; }
.gm__chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border-radius: 999px; background: #f1f3f4; font-size: 12.5px; }
.gm__dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #111; color: #fff; font-size: 11px; font-weight: 600; }
.gm__subj { min-width: 0; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm__body { display: block; min-height: 64px; padding: 10px 14px; color: #1f1f1f; }
.gm__caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: #0b57d0; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.gm__foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 14px; }
.gm__send { padding: 8px 22px; border-radius: 999px; background: #0b57d0; color: #fff; font-weight: 600; text-transform: capitalize; }
.gm__tools { display: flex; align-items: center; gap: 12px; color: #444746; }
.gm__tools b { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.gm__tools svg { width: 17px; height: 17px; }

/* 3D chrome logo: full column width, flush with the bottom of the page, bottom edge cropped.
   All sizes are % of the column width (W): the letter box is W/4.2 tall, the visible window shows
   the letters down to W/6.2, and --room (60% of a letter box) of free space above lets the logo
   tilt without its top being sliced off. */
.logo3d {
  --room: 14.2857%;               /* 0.6 × (100% / 4.2) */
  position: relative;
  height: 0;
  padding-bottom: calc(var(--room) + 16.129%);    /* room + W/6.2 */
  margin-top: calc(72px - var(--room));           /* the room overlaps the gap above, so nothing moves */
  margin-bottom: calc(max(40px, env(safe-area-inset-bottom)) * -1); /* cancel .page bottom padding */
  overflow: hidden;               /* only the page-bottom cut shows; the top has room to spare */
  cursor: grab;
}
.logo3d:active { cursor: grabbing; }
.logo3d.is-ready model-viewer { opacity: 1; }
.logo3d__poster {
  position: absolute; left: 0; top: 0;
  margin-top: var(--room);        /* the still sits where the 3D letters sit */
  display: block; width: 100%; height: auto; aspect-ratio: 4.2 / 1;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.logo3d.is-ready .logo3d__poster { opacity: 0; }
.logo3d model-viewer {
  opacity: 0; transition: opacity 0.6s var(--ease);
  position: absolute; left: 0; top: 0;
  display: block; width: 100%;
  height: auto;                   /* model-viewer defaults to 150px tall, which skews the crop on phones */
  aspect-ratio: 1.909 / 1;        /* room + letter box + room, so the letters stay centred */
  background: transparent;
  --poster-color: transparent;
  --progress-bar-height: 0px;
}
@media (min-width: 760px) { .logo3d { margin-top: calc(96px - var(--room)); } }

/* ---------- reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .signature path { stroke-dashoffset: 0; fill-opacity: 1; }
}
.deck.is-touched .deck__arm { animation: none; }
.js .corner { animation: corner-in 0.9s var(--ease) 0.2s both; } /* fade only: sliding would expose the arm's cut top */
@keyframes corner-in { from { opacity: 0; } }
