/* Startup Crash Test - a room in the Yellow Door house.
   Tokens are the Yellow Door's own (yd-standup-2026-09-08/site/tokens/colors.css and
   typography.css, type system B "The Salon"). Values copied, not re-invented: if the
   door changes a token, change it here to match. Mobile is the base; desktop is added. */

:root {
  --ink: #14130F; --ink-2: #2B2924; --ink-3: #5C5950; --ink-4: #65625A;
  --paper: #F2EEE3; --paper-deep: #E5DECE; --paper-pure: #FBFAF5; --paper-ink: #1B1A16;
  --signal: #DA1F12; --signal-deep: #A4140A;
  /* Small red text (11px mono) needs a deeper red on paper and a lighter one on ink to clear 4.5:1 -
     the signal itself is 4.33 on paper and 3.47 on ink, measured 18 Sep 2026. Large red stays --signal. */
  --signal-text: #A4140A; --signal-on-ink: #F5675C;
  --door: #E3A81A; --door-deep: #C0870E;
  --sct-yellow: #F7C600; /* the franchise mark's own yellow - used only beside the mark */
  --rule: rgba(20,19,15,.38); --rule-soft: rgba(20,19,15,.16);
  --rule-inv: rgba(242,238,227,.22);

  --font-display: 'Prata', 'Source Serif 4', 'Times New Roman', serif;
  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --font-grotesk: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'PT Mono', ui-monospace, 'SF Mono', monospace;

  --t-mega: clamp(2.75rem, 7.5vw, 6.5rem);
  --t-xl: clamp(1.85rem, 3.6vw, 3rem);
  --t-lg: clamp(1.5rem, 2.4vw, 2.05rem);
  --t-md: 1.375rem; --t-body: 1.0625rem; --t-sm: .9375rem; --t-xs: .8125rem; --t-micro: .75rem; /* 12px: the door's 11px micro fails the 12px legibility floor in the responsive matrix; one step up keeps the mono register */

  --gutter: 20px;
  --ease-out: cubic-bezier(.22,.8,.26,1);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.5 var(--font-serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.mono { font: 400 var(--t-micro)/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; line-height: 1.04; }

/* ---- top bar ---- */
.bar { display: flex; align-items: stretch; justify-content: space-between; border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); }
.bar a { text-decoration: none; }
.bar__crumbs { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 0 0 max(var(--gutter), env(safe-area-inset-left)); }
.bar__crumbs a { display: inline-flex; align-items: center; min-height: 48px; white-space: nowrap; }
.bar__crumbs .here { color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.bar__right { display: flex; align-items: stretch; }
.bar__lang { display: inline-flex; align-items: center; padding: 0 14px; min-height: 48px; border-left: 1px solid var(--rule-soft); }
.bar__cta { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 max(16px, env(safe-area-inset-right)) 0 16px; min-height: 48px; background: var(--signal); color: var(--paper-pure); }
@media (min-width: 600px) { .bar__crumbs .here { display: inline; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; font: 400 var(--t-micro)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.btn:active, .bar__cta:active { transform: scale(.97); }
.btn--signal { background: var(--signal); border-color: var(--signal); color: var(--paper-pure); }
.btn--inv { border-color: var(--paper); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--paper); }
  .btn--signal:hover { background: var(--signal-deep); border-color: var(--signal-deep); color: var(--paper-pure); }
  .btn--inv:hover { background: var(--paper); color: var(--ink); }
}
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---- hero ---- */
.hero { display: grid; border-bottom: 1px solid var(--rule); }
.hero__text { padding-top: 40px; padding-bottom: 40px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag { border: 1px solid var(--rule); padding: 6px 10px; color: var(--ink-3); }
.tag--signal { color: var(--signal-text); border-color: var(--signal); }
.hero h1 { font-size: var(--t-mega); }
.hero__lead { margin-top: 28px; font-size: var(--t-md); line-height: 1.45; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__photo { position: relative; min-height: 62vw; background: var(--paper-ink); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; }
.hero__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 8px 12px; color: var(--ink-3); max-width: 90%; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(86dvh, 860px); }
  .hero__text { display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 72px; border-right: 1px solid var(--rule); }
  .hero__photo { min-height: 0; }
}

/* ---- what it is (the Facebook description) ---- */
.what { padding-top: 64px; padding-bottom: 64px; display: grid; gap: 28px; border-bottom: 1px solid var(--rule); }
.what__label { color: var(--signal-text); }
.what__body p { font-size: var(--t-lg); line-height: 1.32; font-family: var(--font-display); letter-spacing: -.01em; max-width: 28ch; }
.what__body p + p { font: 400 var(--t-body)/1.6 var(--font-serif); letter-spacing: 0; max-width: 56ch; color: var(--ink-2); }
@media (min-width: 900px) { .what { grid-template-columns: 1fr 3fr; padding-top: 104px; padding-bottom: 104px; } .what__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; } }

/* ---- the numbers ---- */
.format { background: var(--paper-deep); padding-top: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--rule); }
.format h2 { font-size: var(--t-xl); max-width: 18ch; margin-bottom: 40px; }
.nums { display: grid; gap: 12px; }
.num { background: var(--paper-ink); color: var(--paper); border: 1px solid var(--signal); padding: 22px 22px 26px; }
.num .mono { color: var(--signal-on-ink); display: block; margin-bottom: 18px; }
.num strong { display: block; font: 400 clamp(3rem, 7vw, 4.75rem)/1 var(--font-display); color: var(--door); letter-spacing: -.02em; margin-bottom: 14px; }
.num p { font-size: var(--t-sm); line-height: 1.5; color: #D9D4C6; max-width: 34ch; }
@media (min-width: 768px) { .nums { grid-template-columns: repeat(3, 1fr); } .format { padding-top: 96px; padding-bottom: 96px; } }

/* ---- the rules ---- */
.rules { padding-top: 72px; padding-bottom: 72px; display: grid; gap: 44px; border-bottom: 1px solid var(--rule); }
.rules h2 { font-size: var(--t-xl); max-width: 14ch; }
.rules__copy p { max-width: 58ch; color: var(--ink-2); }
.rules__copy p + p { margin-top: 18px; }
.rules blockquote { margin-top: 32px; padding-left: 20px; border-left: 2px solid var(--door); font: italic 400 var(--t-md)/1.4 var(--font-serif); max-width: 34ch; }
.rules blockquote cite { display: block; margin-top: 12px; font-style: normal; color: var(--ink-4); }
.rules__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.rules__photos figure:nth-child(2) { margin-top: 40px; }
.ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ph figcaption { margin-top: 8px; color: var(--ink-4); }
.ph--ask img { object-position: 58% 40%; }
.ph--listen img { object-position: 48% 40%; }
@media (min-width: 900px) { .rules { grid-template-columns: 1fr 1fr; gap: 72px; padding-top: 120px; padding-bottom: 120px; align-items: center; } }

/* ---- two ways in ---- */
.ways { border-bottom: 1px solid var(--rule); }
.ways__head { padding-top: 72px; padding-bottom: 36px; }
.ways__head h2 { font-size: var(--t-xl); }
.steps { display: grid; border-top: 1px solid var(--rule); }
.step { padding: 26px var(--gutter) 30px; border-bottom: 1px solid var(--rule-soft); }
.step .mono { color: var(--signal-text); }
.step h3 { font: 400 var(--t-md)/1.2 var(--font-display); margin: 14px 0 10px; }
.step p { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { border-bottom: 0; border-right: 1px solid var(--rule-soft); padding: 32px 28px 44px; }
  .step:first-child { padding-left: var(--gutter); } .step:last-child { border-right: 0; }
}
.watch { display: grid; gap: 28px; padding-top: 56px; padding-bottom: 72px; border-top: 1px solid var(--rule); }
.watch h3 { font: 400 var(--t-lg)/1.15 var(--font-display); max-width: 16ch; }
.watch p { max-width: 54ch; color: var(--ink-2); }
.watch p + p { margin-top: 16px; }
.watch a, .form .consent a { text-decoration-color: var(--signal); text-underline-offset: 3px; padding: 11px 0; margin: -11px 0; }
@media (min-width: 900px) { .watch { grid-template-columns: 1fr 1.4fr; gap: 72px; padding-top: 80px; padding-bottom: 104px; } }

/* ---- history ---- */
.history { background: var(--paper-ink); color: var(--paper); }
.history__top { display: grid; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.history__mark { background: #4A433C; /* the lockup's own ground, so the mark is shown unaltered */ }
.history__mark img { width: 100%; }
.history h2 { font-size: var(--t-xl); color: var(--paper); }
.history h2 em { font-style: normal; color: var(--door); }
.history__copy p { margin-top: 20px; max-width: 56ch; color: #D9D4C6; }
.history__copy .slogan { margin-top: 28px; color: var(--sct-yellow); }
.timeline { border-top: 1px solid var(--rule-inv); }
.timeline li { display: grid; grid-template-columns: 7.5ch 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-inv); font-size: var(--t-sm); color: #D9D4C6; }
.timeline .mono { color: var(--door); padding-top: 3px; }
.history__pano img { width: 100%; max-height: 60dvh; object-fit: cover; object-position: 50% 60%; }
.history__pano figcaption { padding: 10px var(--gutter) 18px; color: #A9A497; }
@media (min-width: 900px) { .history__copy { order: 2; } .history__top { grid-template-columns: 1fr 1.15fr; gap: 80px; padding-top: 120px; padding-bottom: 88px; align-items: start; } }

/* ---- photographs ---- */
.album { padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--rule); }
.album h2 { font-size: var(--t-xl); margin-bottom: 32px; }
.album__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.album__grid figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.album__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.album__grid .wide { grid-column: 1 / -1; order: -1; } /* the panorama leads at every width, so the four singles always pair up */
.album__grid .wide img { aspect-ratio: 16 / 7; }
.album__grid figcaption { padding: 6px 0 10px; color: var(--ink-4); }
/* Desktop: the panorama leads and takes two of three columns; its height is set by the row, so its caption
   lines up with its neighbour's instead of running under the next row. */
@media (min-width: 900px) { .album { padding-top: 104px; padding-bottom: 104px; } .album__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .album__grid .wide { grid-column: span 2; } .album__grid .wide img { aspect-ratio: auto; height: 100%; } }

/* ---- the pull quote (the door's own line, kept at VJ's word, 18 Sep 2026) ---- */
.pull { background: var(--paper-deep); border-top: 1px solid var(--rule); padding-top: 72px; padding-bottom: 72px; }
.pull p { font-size: var(--t-xl); font-style: italic; max-width: 22ch; }
.pull cite { display: block; margin-top: 24px; font-style: normal; color: var(--signal-text); }
@media (min-width: 900px) { .pull { padding-top: 112px; padding-bottom: 112px; } .pull blockquote { margin-left: 25%; } }

/* ---- apply ---- */
.apply { background: var(--paper-ink); color: var(--paper); display: grid; gap: 40px; padding-top: 72px; padding-bottom: 80px; }
.apply .mono.k { color: var(--door); }
.apply h2 { font-size: var(--t-mega); margin-top: 18px; }
.apply__sub { margin-top: 20px; font: italic 400 var(--t-md)/1.45 var(--font-serif); color: #D9D4C6; max-width: 30ch; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; }
.form label > span { color: #A9A497; }
.form input[type=text], .form input[type=email], .form input[type=url], .form textarea { width: 100%; min-height: 52px; padding: 14px; background: transparent; color: var(--paper); border: 1px solid rgba(242,238,227,.5); border-radius: 0; font: 400 1rem/1.4 var(--font-grotesk); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 0; border-color: var(--door); }
.form .consent { grid-template-columns: 24px 1fr; gap: 12px; font: 400 var(--t-sm)/1.5 var(--font-grotesk); color: #D9D4C6; }
.form .consent { min-height: 44px; align-items: center; cursor: pointer; }
.form .consent input { position: absolute; left: -10px; top: 50%; width: 44px; height: 44px; margin: -22px 0 0; opacity: 0; cursor: pointer; }
.form .consent .box { width: 24px; height: 24px; border: 1.5px solid rgba(242,238,227,.72); /* a control border needs 3:1 - the 22% hairline measured about 1.6:1 on ink and the box all but vanished in the gate's frames */ display: grid; place-items: center; transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.form .consent .box::after { content: ''; width: 12px; height: 7px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform var(--t-fast) var(--ease-brake); }
.form .consent input:checked ~ .box { background: var(--door); border-color: var(--door); }
.form .consent input:checked ~ .box::after { transform: rotate(-45deg) scale(1); }
.form .consent input:focus-visible ~ .box { outline: 2px solid var(--door); outline-offset: 3px; }
.form .consent a { color: var(--paper); }
/* The honeypot: hidden by clipping, inside a positioned form - never parked at -9999px with no positioned ancestor,
   which resolves against the viewport (escaped-absolute.mjs caught exactly that, 18 Sep 2026). */
.form { position: relative; }
.form .hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__status { min-height: 1.6em; font: 400 var(--t-sm)/1.5 var(--font-grotesk); color: #D9D4C6; }
.form__status[data-state=sent] { color: var(--door); }
.form__status[data-state=error] { color: #FF8A7E; }
.form__status a { color: inherit; }
@media (min-width: 900px) { .apply { grid-template-columns: 1fr 1fr; gap: 88px; padding-top: 120px; padding-bottom: 128px; align-items: start; } .form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (max-width: 899px) { .form .pair { display: grid; gap: 18px; } }

/* ---- footer ---- */
.foot { padding-top: 40px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 28px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid transparent; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--signal-text); } }
.foot__note { font-size: var(--t-sm); color: var(--ink-3); max-width: 60ch; }
.credit { font: 400 11.5px/1.4 'Archivo', sans-serif; opacity: .86; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.credit b { font-weight: 400; }

/* ---- privacy page ---- */
.doc { padding-top: 56px; padding-bottom: 88px; max-width: 760px; }
.doc h1 { font-size: var(--t-xl); margin-bottom: 28px; }
.doc h2 { font: 400 var(--t-md)/1.25 var(--font-display); margin: 36px 0 10px; }
.doc p { color: var(--ink-2); overflow-wrap: anywhere; } .doc p + p, .doc address { margin-top: 14px; }
.doc address { font-style: normal; padding-left: 16px; border-left: 2px solid var(--door); line-height: 1.6; overflow-wrap: anywhere; }
.tk { background: #FFE9A8; padding: 0 4px; }

/* ---- motion: one entrance, transform and opacity only, and content never waits for JS ---- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .bar__cta { transition: none; } }

/* =====================================================================================
   MOTION - "impact and settle" (approved by VJ, 18 Sep 2026). A crash test is a fast arrival and a hard stop:
   every authored movement brakes, the focal ones overshoot once and settle. transform / opacity / clip-path only.
   Nothing here hides content: every rule sits under .js (set by site.js only when IntersectionObserver exists,
   with a timed reveal-all fallback) AND under prefers-reduced-motion: no-preference. Without JS, or with reduced
   motion, the page is the finished static page. Tokens below are the only timing numbers in the file. */
:root {
  --t-fast: 120ms; --t-base: 220ms; --t-slow: 420ms; --t-focal: 700ms;
  --ease-brake: cubic-bezier(.2, .9, .1, 1);        /* hard deceleration - things arriving */
  --ease-settle: cubic-bezier(.34, 1.22, .64, 1);    /* one overshoot, then rest - the dummy's head. Deliberate: the detector calls any y>1 'bounce'; this is a 5% settle, once, on two elements */
}
.album__grid figure { overflow: clip; }
.album__grid img { transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .album__grid figure:hover img { transform: scale(1.03); } }
.bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px; background: linear-gradient(rgba(20,19,15,.10), transparent); opacity: 0; transition: opacity var(--t-base) var(--ease-out); pointer-events: none; }
.bar { position: sticky; }
.bar.is-scrolled::after { opacity: 1; }
/* Form: the underline draws under whichever field has focus; the status line slides in; the arrow nudges while sending. */
.form label { position: relative; }
.form label::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--door); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-brake); pointer-events: none; }
.form label:focus-within::after { transform: scaleX(1); }
.form label.consent::after { display: none; }
.form__status { opacity: 0; transform: translateY(8px); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-brake); }
.form__status.is-on { opacity: 1; transform: none; }
.btn .arr { display: inline-block; margin-left: .6em; transition: transform var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arr { transform: translateX(3px); } }
.form.is-sending .arr { animation: sctNudge 600ms var(--ease-out) infinite alternate; }
@keyframes sctNudge { to { transform: translateX(5px); } }

@media (prefers-reduced-motion: no-preference) {
  /* --- Focal 1: the hero, once per session (sessionStorage), on first paint --- */
  .hero { overflow: clip; }
  .hero-play .hero h1 .w1 { animation: sctFromLeft var(--t-focal) var(--ease-brake) both; }
  .hero-play .hero h1 .w2 { animation: sctFromRight var(--t-focal) var(--ease-brake) 90ms both; }
  .hero-play .hero .tag { animation: sctStamp var(--t-slow) var(--ease-settle) both; }
  .hero-play .hero .tag:nth-child(2) { animation-delay: 60ms; }
  .hero-play .hero .tag--signal { animation-delay: 520ms; }
  .hero-play .hero__lead, .hero-play .hero__actions { animation: sctUp var(--t-slow) var(--ease-brake) 360ms both; }
  .hero-play .hero__photo img { animation: sctSettle 1100ms var(--ease-brake) both; }
  .hero-play .hero__photo figcaption { animation: sctUp var(--t-slow) var(--ease-brake) 700ms both; }
  @keyframes sctFromLeft { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
  @keyframes sctFromRight { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
  @keyframes sctStamp { from { opacity: 0; transform: scale(1.18); } to { opacity: 1; transform: none; } }
  @keyframes sctUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes sctSettle { from { transform: scale(1.04); } to { transform: none; } }
  .hero h1 .w { display: inline-block; }

  /* --- Scroll reveals: each fires once when its section enters; each has its own shape, not one fade-up for all --- */
  /* the display text wipes in from the left, like a line being set */
  .js .what__body > p:first-child { clip-path: inset(0 100% 0 0); transition: clip-path 600ms var(--ease-brake); }
  .js .what.in .what__body > p:first-child { clip-path: inset(0 0 0 0); }
  .js .what__body > p + p { opacity: 0; transform: translateY(10px); transition: opacity var(--t-slow) var(--ease-out) 260ms, transform var(--t-slow) var(--ease-brake) 260ms; }
  .js .what.in .what__body > p + p { opacity: 1; transform: none; }
  /* the numerals drop and settle, 80ms apart; the red frame draws round each */
  .js .num { position: relative; border-color: transparent; opacity: 0; transform: translateY(28px) scale(.96); transition: opacity var(--t-slow) var(--ease-out), transform 560ms var(--ease-settle); transition-delay: calc(var(--i) * 80ms); }
  .js .num::before { content: ''; position: absolute; inset: -1px; border: 1px solid var(--signal); clip-path: inset(0 100% 0 0); transition: clip-path var(--t-slow) var(--ease-brake) calc(var(--i) * 80ms + 200ms); pointer-events: none; }
  .js .format.in .num { opacity: 1; transform: none; }
  .js .format.in .num::before { clip-path: inset(0); }
  .js .format h2, .js .rules h2, .js .ways__head h2, .js .album h2, .js .apply h2 { opacity: 0; transform: translateY(12px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-brake); }
  .js .in h2, .js .in .ways__head h2 { opacity: 1; transform: none; }
  /* the two photographs beside the rules slide up out of their frames */
  .js .rules .ph img { clip-path: inset(100% 0 0 0); transition: clip-path 640ms var(--ease-brake); }
  .js .rules .ph:nth-child(2) img { transition-delay: 120ms; }
  .js .rules.in .ph img { clip-path: inset(0); }
  /* the four steps: each hairline draws across, then the number ticks in */
  .step { position: relative; }
  .js .step::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rule); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease-brake) calc(var(--i) * 110ms); }
  .js .step > * { opacity: 0; transform: translateY(8px); transition: opacity var(--t-base) var(--ease-out) calc(var(--i) * 110ms + 120ms), transform var(--t-base) var(--ease-brake) calc(var(--i) * 110ms + 120ms); }
  .js .ways.in .step::after { transform: scaleX(1); }
  .js .ways.in .step > * { opacity: 1; transform: none; }
  @media (min-width: 900px) { .js .step::after { left: auto; right: -1px; bottom: 0; top: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; } .js .ways.in .step::after { transform: scaleY(1); } }
  /* Focal 2: the mark rocks once and settles; its timeline ticks in beneath */
  .js .history__mark { transform-origin: 50% 0; transform: rotate(-2.5deg) translateY(10px); opacity: 0; transition: transform 640ms var(--ease-settle), opacity var(--t-slow) var(--ease-out); }
  .js .history.in .history__mark { transform: none; opacity: 1; }
  .js .timeline li { opacity: 0; transform: translateX(-10px); transition: opacity var(--t-base) var(--ease-out) calc(var(--i) * 90ms + 300ms), transform var(--t-base) var(--ease-brake) calc(var(--i) * 90ms + 300ms); }
  .js .history.in .timeline li { opacity: 1; transform: none; }
  /* the panorama is unveiled left to right, one slow brake - clip-path, so its box never exceeds its frame */
  .js .history__pano img { clip-path: inset(0 100% 0 0); transition: clip-path 1100ms var(--ease-brake) 200ms; }
  .js .history.in .history__pano img { clip-path: inset(0); }
  /* the album wipes up, staggered */
  .js .album__grid figure img { clip-path: inset(100% 0 0 0); transition: clip-path 560ms var(--ease-brake) calc(var(--i) * 70ms), transform var(--t-base) var(--ease-out); }
  .js .album.in .album__grid figure img { clip-path: inset(0); }
  /* the quote settles into place */
  .js .pull blockquote { opacity: 0; transform: translateY(16px) scale(.985); transition: opacity var(--t-slow) var(--ease-out), transform 560ms var(--ease-settle); }
  .js .pull.in blockquote { opacity: 1; transform: none; }
  .js .apply__sub, .js .form { opacity: 0; transform: translateY(12px); transition: opacity var(--t-slow) var(--ease-out) 120ms, transform var(--t-slow) var(--ease-brake) 120ms; }
  .js .apply.in .apply__sub, .js .apply.in .form { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .form.is-sending .arr { animation: none; }
  .form__status, .form label::after, .album__grid img { transition: none; }
}
