/* appingale.dev
   Layout: a drawing board. The page is a sheet of graph paper (a blueprint in dark mode); the hero draws one screen of
   an app at a time on it, the studio's apps are pinned up as figures with numbered captions, the process is a strip
   of the same drawings, and the footer is the sheet's title block. Archivo in three widths: wide for headings, normal
   for text, narrow for captions and labels. Colors are drafting tools: graphite ink, non-photo blue pencil and the
   amber highlighter of the logo. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F2F3EE;
  --grid: rgba(56, 118, 160, .085);
  --grid-major: rgba(56, 118, 160, .17);
  --ink: #1A1F2B;
  --ink-2: #474E5B;
  --rule: #1A1F2B;
  --pencil: #4C9BCB;
  --pencil-text: #2A6A93;
  --marker: #FFC24A;
  --on-marker: #1A1F2B;
  --lit: #FFB547;
  --surface: #FFFFFF;
  --device: #171A21;
  --shadow-near: rgba(26, 31, 43, .18);
  --shadow-far: rgba(26, 31, 43, .16);
  --error: #B42D23;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 125%;
  --narrow: 75%;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #123158;
    --grid: rgba(200, 225, 255, .075);
    --grid-major: rgba(200, 225, 255, .15);
    --ink: #F2F6FB;
    --ink-2: #C3D2E4;
    --rule: #DCE7F3;
    --pencil: #8FD0F2;
    --pencil-text: #A9DDF7;
    --surface: #17396A;
    --device: #0B1220;
    --shadow-near: rgba(0, 10, 30, .4);
    --shadow-far: rgba(0, 10, 30, .45);
    --error: #FFB3AA;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #123158;
  --grid: rgba(200, 225, 255, .075);
  --grid-major: rgba(200, 225, 255, .15);
  --ink: #F2F6FB;
  --ink-2: #C3D2E4;
  --rule: #DCE7F3;
  --pencil: #8FD0F2;
  --pencil-text: #A9DDF7;
  --surface: #17396A;
  --device: #0B1220;
  --shadow-near: rgba(0, 10, 30, .4);
  --shadow-far: rgba(0, 10, 30, .45);
  --error: #FFB3AA;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- the sheet */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.6 var(--font); font-kerning: normal;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--pencil-text); }
:focus-visible { outline: 2px dashed var(--pencil-text); outline-offset: 4px; }
::selection { background: var(--marker); color: var(--on-marker); }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
h1, h2, h3 { font-stretch: var(--wide); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }

/* ---------------------------------------------------------------- header */

.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: var(--wide); font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.mark { width: 26px; height: 26px; flex: none; }
.mark .m-dim { fill: var(--ink); opacity: .28; }
.mark .m-lit { fill: var(--lit); }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 22px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper);
  font: 600 16px/1 var(--font); font-stretch: 110%; text-decoration: none; cursor: pointer;
  transition: background-color .12s cubic-bezier(.4, 0, .2, 1), transform .12s cubic-bezier(.4, 0, .2, 1);
}
.btn:hover { color: var(--paper); background: var(--pencil-text); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { font-weight: 600; }

/* ---------------------------------------------------------------- hero */

.hero-grid { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); gap: 32px clamp(24px, 4vw, 64px); align-items: start; padding-block: clamp(16px, 3vw, 40px) clamp(72px, 9vw, 128px); }
.hero-copy { display: grid; gap: 34px; justify-items: start; padding-top: clamp(24px, 6vw, 96px); }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); line-height: .98; letter-spacing: -.025em; max-width: 7.2em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 27em; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.hero-fig { display: grid; gap: 14px; }
.board { width: 100%; height: auto; overflow: visible; }
.board text, .mini text { font-family: var(--font); }
.board .sh-near { flood-color: var(--shadow-near); }
.board .sh-far { flood-color: var(--shadow-far); }
.construct path { fill: none; stroke: var(--pencil); stroke-width: 1; stroke-dasharray: 3 5; }
.dim path { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }
.dim-bg { fill: var(--paper); }
.dim text, .fig-label { font-size: 14px; font-weight: 600; font-stretch: var(--narrow); fill: var(--ink-2); }
.device { fill: var(--device); }
.ui { font-family: var(--ui); }
.ui-time { font-size: 15px; font-weight: 600; }
.ui-h1 { font-size: 27px; font-weight: 700; letter-spacing: -.01em; }
.ui-h2 { font-size: 21px; font-weight: 700; }
.ui-title { font-size: 16px; font-weight: 700; }
.ui-sub { font-size: 14px; }
.ui-small { font-size: 12px; font-weight: 500; }
.ui-num { font-size: 17px; font-weight: 650; }
.ui-chip { font-size: 15px; font-weight: 600; }
.ui-label { font-size: 13px; font-weight: 650; }
.ui-btn { font-size: 16px; font-weight: 650; }
.ui-msg { font-size: 14.5px; }
.ui-strong { font-weight: 650; }
.ui-icon-label { font-size: 12px; font-weight: 600; }
.sk-paper { fill: #FBFBF8; }
.sk { fill: none; stroke: #3E8EC2; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.sk-strong { stroke-width: 3.6; }
.route { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.sk-faint { stroke-width: 1.6; opacity: .5; }
.sel { fill: none; stroke: #F2A11F; stroke-width: 2.5; }
.handle { fill: #FFFFFF; stroke: #F2A11F; stroke-width: 2.5; }
.tag { fill: #FFC24A; }
.tag-text { font-size: 12.5px; font-weight: 700; font-stretch: var(--narrow); fill: #1A1F2B; }
.meas { fill: none; stroke: #E0453A; stroke-width: 1.8; }
.meas-tag { fill: #E0453A; }
.meas-text { font-size: 12px; font-weight: 700; font-stretch: var(--narrow); fill: #FFFFFF; }
.tap { fill: #1B1F27; opacity: 0; }

/* at rest: the booking app, built */
.board .arch:not(.arch-1) { opacity: 0; }
.st-sketch, .st-marks, .st-home, .alive-typing { opacity: 0; }

.stages { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-left: 18%; font-size: 15px; font-weight: 600; font-stretch: var(--narrow); }
.stage span { position: relative; z-index: 0; padding-inline: 3px; }
.stage span::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 30%; bottom: 4%; background: var(--marker); opacity: 0; }
.stage + .stage::before { content: "→"; margin-right: 12px; color: var(--pencil-text); }
.stage { display: flex; }
.stage-3 span::before { opacity: 1; }
.stage-3 span { color: var(--on-marker); }
.fig-cap { padding-left: 18%; font-size: 14px; color: var(--ink-2); max-width: 40em; }
.fig-cap span, figcaption span { font-weight: 700; font-stretch: var(--narrow); color: var(--pencil-text); margin-right: 6px; }

/* ---------------------------------------------------------------- headings of the sheet */

.head { display: grid; gap: 14px; max-width: 40em; padding-bottom: clamp(24px, 3vw, 40px); }
.head h2 { font-size: clamp(34px, 4.4vw, 60px); }
.head p { color: var(--ink-2); font-size: 18px; }

/* ---------------------------------------------------------------- our apps */

.apps { padding-block: clamp(48px, 6vw, 88px); }
.work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 4vw, 56px); }
.work-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.work-flip .work-text { order: 2; }
.work-text { display: grid; gap: 16px; justify-items: start; }
.work-kind { font-size: 15px; font-weight: 600; font-stretch: var(--narrow); color: var(--pencil-text); }
.work-name { display: flex; align-items: center; gap: 16px; font-size: clamp(40px, 5vw, 66px); }
.work-name img { width: 52px; height: 52px; border-radius: 14px; }
.work-desc { max-width: 30em; }
.work-status { font-size: 15px; color: var(--ink-2); }
.work-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; }
.work-shots { display: flex; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.shot { width: min(250px, 46%); display: grid; gap: 12px; }
.shot:nth-child(2) { margin-top: clamp(40px, 6vw, 80px); }
.shot img { width: 100%; height: auto; border: 7px solid var(--device); border-radius: 30px; box-shadow: 0 1px 2px var(--shadow-near), 0 22px 40px -18px var(--shadow-far); }
.shot figcaption { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.next { display: flex; align-items: center; gap: 28px; padding-top: clamp(24px, 4vw, 48px); max-width: 40em; }
.next-phone { width: 84px; flex: none; }
.next-phone rect, .next-phone path { fill: none; stroke: var(--pencil); stroke-width: 2.5; stroke-dasharray: 7 6; stroke-linecap: round; }
.next h3 { font-size: 26px; padding-bottom: 6px; }
.next p { color: var(--ink-2); }

/* ---------------------------------------------------------------- how an app gets made */

.process { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.strip::before { content: ""; position: absolute; left: -2vw; right: -2vw; top: 22%; border-top: 1px dashed var(--pencil); }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.mini { width: min(100%, 190px); height: auto; }
.mini .device { fill: var(--device); }
.step h3 { font-size: 24px; padding-top: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }
.after { padding-top: clamp(28px, 4vw, 48px); max-width: 34em; font-size: 19px; }

/* ---------------------------------------------------------------- what every app gets */

.promise { padding-block: clamp(56px, 8vw, 128px); }
.promise-text { max-width: 22em; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.3; font-weight: 500; font-stretch: 112%; letter-spacing: -.012em; }
.promise-text mark {
  color: var(--on-marker); padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 60% / 100% 78%;
}

/* ---------------------------------------------------------------- contact */

.contact { padding-block: clamp(56px, 7vw, 112px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 112px); align-items: start; }
.contact-copy { display: grid; gap: 22px; }
.contact-copy h2 { font-size: clamp(34px, 4.4vw, 60px); }
.contact-copy > p:not(.contact-mail) { color: var(--ink-2); max-width: 26em; }
.contact-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; font-stretch: 112%; }
.contact-mail a { overflow-wrap: anywhere; }
.copy { font: 600 14px/1 var(--font); padding: 8px 12px; border-radius: 4px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.copy:hover { background: var(--ink); color: var(--paper); }
.form { display: grid; gap: 26px; padding-top: 8px; }
.field { display: grid; gap: 4px; }
.field label { font-size: 14px; font-weight: 600; font-stretch: var(--narrow); }
.opt { font-weight: 400; color: var(--ink-2); }
.form input, .form textarea {
  width: 100%; font: 400 18px/1.5 var(--font); color: var(--ink); background: transparent;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 8px 0;
}
.form textarea { resize: vertical; min-height: 7em; }
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-bottom-color: var(--pencil-text); background: rgba(76, 155, 203, .07); }
.form [aria-invalid="true"] { border-bottom-color: var(--error); }
.field-error { font-size: 14px; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: 15px; color: var(--ink-2); }
.form-status.ok { color: var(--pencil-text); font-weight: 600; }
.form-status.err { color: var(--error); font-weight: 600; }
.form-privacy { font-size: 14px; color: var(--ink-2); }

/* ---------------------------------------------------------------- footer: the sheet's title block */

.foot { padding-block: 24px 48px; }
.titleblock { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; grid-template-areas: "name name what year" "addr addr mail sheet" "apps apps apps note"; gap: 1px; background: var(--rule); border: 2px solid var(--rule); }
.titleblock > div { display: grid; gap: 4px; align-content: start; padding: 10px 14px 12px; background: var(--paper); }
.titleblock dt { font-size: 10.5px; font-weight: 700; font-stretch: var(--narrow); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.titleblock dd { font-size: 14.5px; }
.tb-name { grid-area: name; } .tb-what { grid-area: what; } .tb-year { grid-area: year; } .tb-addr { grid-area: addr; }
.tb-mail { grid-area: mail; } .tb-sheet { grid-area: sheet; } .tb-apps { grid-area: apps; } .tb-note { grid-area: note; }
.tb-name .brand { font-size: 22px; }
.tb-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---------------------------------------------------------------- small pages (/sent/, /send-failed/, 404) */

.page-msg { display: grid; gap: 22px; justify-items: start; padding-block: clamp(64px, 12vw, 160px); }
.page-msg h1 { font-size: clamp(34px, 4.4vw, 60px); }
.page-msg p { font-size: 19px; color: var(--ink-2); max-width: 32em; }
.page-msg .code { font-weight: 700; font-stretch: var(--narrow); color: var(--pencil-text); }

/* ---------------------------------------------------------------- narrow screens */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-top: 16px; }
  .hero-fig { max-width: 560px; }
  .work, .work-flip { grid-template-columns: minmax(0, 1fr); }
  .work-flip .work-text { order: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .step { scroll-snap-align: start; }
  .strip::before { display: none; }
}
@media (max-width: 640px) {
  .nav a[href="#process"] { display: none; }
  .stages, .fig-cap { padding-left: 0; }
  .titleblock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name name" "what year" "addr addr" "mail mail" "apps apps" "sheet note"; }
}

/* ---------------------------------------------------------------- motion
   Everything above is the resting state. With motion allowed, the board draws four kinds of app in a 32-second loop,
   eight seconds each: the pencil sketch draws itself, the inked design takes over and gets measured, the app is
   used once, and its icon lands on a home screen. The stage names follow along, and the highlighter marks in the
   promise are drawn as they scroll into view. */

@media (prefers-reduced-motion: no-preference) {
  .board .arch, .board .arch * { animation-delay: var(--d) !important; }
  .arch-1 { --d: .6s; } .arch-2 { --d: -23.4s; } .arch-3 { --d: -15.4s; } .arch-4 { --d: -7.4s; }
  .board .arch { animation: arch-on 32s linear infinite both; }
  .board .st-sketch { animation: s-sketch 32s linear infinite both; }
  .board .sk { animation: s-draw 32s cubic-bezier(.4, .1, .3, 1) infinite both; }
  .board .st-design { animation: s-design 32s linear infinite both; }
  .board .route { animation: s-route 32s linear infinite both; }
  .board .st-marks { animation: s-marks 32s linear infinite both; }
  .board .tap { transform-box: fill-box; transform-origin: center; animation: s-tap 32s ease-out infinite both; }
  .board .alive-pick { animation: a-pick 32s linear infinite both; }
  .board .alive-typing { animation: a-typing 32s linear infinite both; }
  .board .alive-in { animation: a-in 32s cubic-bezier(.2, .8, .2, 1) infinite both; }
  .board .alive-move { animation: a-move 32s linear infinite both; }
  .board .alive-grow, .board .alive-bar { transform-box: fill-box; transform-origin: left center; animation: a-grow 32s cubic-bezier(.4, 0, .2, 1) infinite both; }
  .board .alive-knob { animation: a-knob 32s cubic-bezier(.4, 0, .2, 1) infinite both; }
  .board .st-home { animation: s-home 32s linear infinite both; }
  .board .drop { animation: s-drop 32s cubic-bezier(.3, .7, .4, 1) infinite both; }

  .stage span::before { animation: stage-1 8s linear .6s infinite both; }
  .stage span { animation: stage-1-ink 8s linear .6s infinite both; }
  .stage-2 span::before { animation-name: stage-2; } .stage-2 span { animation-name: stage-2-ink; }
  .stage-3 span::before { animation-name: stage-3; } .stage-3 span { animation-name: stage-3-ink; }
  .stage-4 span::before { animation-name: stage-4; } .stage-4 span { animation-name: stage-4-ink; }
  .hero-fig.idle *, .hero-fig.idle *::before { animation-play-state: paused !important; }

  @supports (animation-timeline: view()) {
    .promise-text mark { animation: mark-sweep linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  }
}

@keyframes mark-sweep { from { background-size: 0% 78%; } }

/* 32-second loop, each kind of app gets the first 25 % of its own cycle (1 s = 3.125 %) */
@keyframes arch-on { 0%, 24.9% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes s-sketch { 0%, 6.6% { opacity: 1; } 7.6%, 100% { opacity: 0; } }
@keyframes s-draw { 0%, .6% { stroke-dashoffset: 1; } 5.6%, 100% { stroke-dashoffset: 0; } }
@keyframes s-design { 0%, 6.6% { opacity: 0; } 7.8%, 18.4% { opacity: 1; } 19.4%, 100% { opacity: 0; } }
@keyframes s-route { 0%, 7.8% { stroke-dashoffset: 1; } 10.6%, 100% { stroke-dashoffset: 0; } }
@keyframes s-marks { 0%, 8.2% { opacity: 0; } 9.2%, 12.6% { opacity: 1; } 13.4%, 100% { opacity: 0; } }
@keyframes s-tap { 0%, 14.6% { opacity: 0; transform: scale(.3); } 15% { opacity: .22; transform: scale(.5); } 17%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes a-pick { 0%, 15% { opacity: 0; } 15.6%, 100% { opacity: 1; } }
@keyframes a-typing { 0%, 13.2% { opacity: 0; } 13.8%, 15.8% { opacity: 1; } 16.2%, 100% { opacity: 0; } }
@keyframes a-in { 0%, 15.8% { opacity: 0; transform: translateY(16px); } 17%, 100% { opacity: 1; transform: none; } }
@keyframes a-move {
  0%, 13% { transform: translate(-140px, 90px); }
  15% { transform: translate(-140px, 28px); }
  17% { transform: translate(0, 28px); }
  18%, 100% { transform: none; }
}
@keyframes a-grow { 0%, 14.4% { transform: scaleX(.15); } 18%, 100% { transform: none; } }
@keyframes a-knob { 0%, 14.4% { transform: translateX(-88px); } 18%, 100% { transform: none; } }
@keyframes s-home { 0%, 18.6% { opacity: 0; } 19.6%, 24.4% { opacity: 1; } 24.9%, 100% { opacity: 0; } }
@keyframes s-drop { 0%, 20% { opacity: 0; transform: translateY(-80px); } 21.4% { opacity: 1; transform: translateY(5px); } 22.2%, 100% { opacity: 1; transform: none; } }

/* stage names, 8-second period: sketch 0–27.5 %, design 27.5–52.5 %, build 52.5–75 %, release 75–100 % */
@keyframes stage-1 { 0%, 27.4% { opacity: 1; } 27.5%, 100% { opacity: 0; } }
@keyframes stage-2 { 0%, 27.4% { opacity: 0; } 27.5%, 52.4% { opacity: 1; } 52.5%, 100% { opacity: 0; } }
@keyframes stage-3 { 0%, 52.4% { opacity: 0; } 52.5%, 74.9% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes stage-4 { 0%, 74.9% { opacity: 0; } 75%, 100% { opacity: 1; } }
@keyframes stage-1-ink { 0%, 27.4% { color: var(--on-marker); } 27.5%, 100% { color: var(--ink); } }
@keyframes stage-2-ink { 0%, 27.4% { color: var(--ink); } 27.5%, 52.4% { color: var(--on-marker); } 52.5%, 100% { color: var(--ink); } }
@keyframes stage-3-ink { 0%, 52.4% { color: var(--ink); } 52.5%, 74.9% { color: var(--on-marker); } 75%, 100% { color: var(--ink); } }
@keyframes stage-4-ink { 0%, 74.9% { color: var(--ink); } 75%, 100% { color: var(--on-marker); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
