/* Ten of Us on the Form&Fun page, skin A (Specimen). Tokens first; every literal below reads one of them. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-wdth-wght.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"); size-adjust: 98%; ascent-override: 92%; descent-override: 24%; }

:root {
  /* PALETTE: monochromatic, hue 60 to 85 on the OKLCH circle. 60 ground, 30 ink and surface, 10 vermilion. */
  --ground: oklch(97.6% 0.008 85);
  --paper-2: oklch(94.2% 0.011 85);
  --paper-3: oklch(89.8% 0.014 82);
  --ink: oklch(17% 0.01 60);
  --mute: oklch(42% 0.012 60);
  --soft: oklch(50% 0.012 60);
  --rule: oklch(17% 0.01 60 / 0.16);
  --rule-strong: oklch(17% 0.01 60 / 0.7);
  --surface: oklch(16% 0.008 60);
  --surface-2: oklch(22% 0.01 60);
  --on-surface: oklch(95% 0.008 85);
  --on-surface-mute: oklch(78% 0.01 85);
  --accent: oklch(55% 0.2 33);
  --accent-ink: oklch(99% 0.004 85);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --grot: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, monospace;
  --gut: clamp(16px, 2vw, 28px);
  --gap: 14px;
  --radius: 10px;
  --bar-h: 72px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.645, 0.045, 0.355, 1);
  --t-arrive: 800ms;
  --t-ui: 220ms;
  --size-body: 17px;
  --size-label: 12px;
  --size-h1: clamp(40px, 6vw, 96px);
  --size-h2: clamp(52px, 7vw, 101px);
  --size-state: clamp(26px, 2.75vw, 42px);
  --size-h3: clamp(30px, 3.4vw, 49px);
  --size-card: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--size-body)/1.55 var(--grot); font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: var(--gut); top: -60px; z-index: 30; background: var(--surface); color: var(--on-surface); padding: 12px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }
.token { font-family: var(--mono); font-size: 0.9em; font-weight: 500; background: var(--ink); color: var(--ground); padding: 0.05em 0.35em; border-radius: 3px; white-space: nowrap; letter-spacing: 0; }
.label { font: 500 var(--size-label)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }

/* ---- the bar: mark, the chapter column, the menu and the door (Form&Fun's header, three columns) ---- */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--bar-h); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: var(--gut); padding: 0 var(--gut); transition: background-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
.bar.is-scrolled { background: oklch(97.6% 0.008 85 / 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--grot); letter-spacing: -0.01em; min-height: 44px; }
.mark__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.bar__tag { display: flex; align-items: center; min-height: 44px; overflow: hidden; }
.bar__tag p { font: 500 var(--size-label)/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.bar__right { display: flex; align-items: center; gap: 28px; }
/* The slot the three-look site's toggle mounts into; empty, it takes no room and adds no gap. */
.bar__look { display: flex; align-items: center; }
.bar__look:empty { display: none; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu__item { position: relative; }
.menu__label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 15px/1 var(--grot); color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.menu__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease); }
.menu__label:hover::after, .menu__label[aria-current="page"]::after, .is-open > .menu__label::after { transform: scaleX(1); transform-origin: left; }
.menu__label .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--t-ui) var(--ease); }
.is-open > .menu__label .caret { transform: translateY(2px) rotate(-135deg); }
.sub { position: absolute; top: calc(100% + 6px); left: -20px; width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; padding: 18px 20px; background: var(--ground); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 24px 48px -24px oklch(17% 0.01 60 / 0.35); opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity var(--t-ui) var(--ease), translate var(--t-ui) var(--ease), visibility 0s linear var(--t-ui); }
.is-open > .sub { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.sub__head { grid-column: 1 / -1; padding-bottom: 8px; }
.sub a { display: flex; align-items: center; min-height: 40px; font: 500 15px/1.2 var(--grot); text-decoration: none; border-bottom: 1px solid var(--rule); }
.sub a:hover { color: var(--accent); }
.door { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--surface); color: var(--on-surface); font: 600 15px/1 var(--grot); text-decoration: none; white-space: nowrap; transition: background-color var(--t-ui) var(--ease); }
.door:hover { background: var(--accent); color: var(--accent-ink); }
.door--light { background: var(--ground); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: 50%; background: none; cursor: pointer; place-items: center; padding: 0; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 2px 0; }
.sheet { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: calc(var(--bar-h) + 8px) var(--gut) 40px; background: var(--ground); color: var(--ink); overflow: auto; }
.sheet::backdrop { background: oklch(17% 0.01 60 / 0.4); }
.sheet ul { display: grid; gap: 0; }
.sheet a { display: flex; align-items: center; min-height: 52px; font: 400 30px/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--rule); }
.sheet .label { padding: 24px 0 8px; }
.sheet__close { position: fixed; top: 14px; right: var(--gut); }
.sheet .sheet__small a { font: 500 17px/1.2 var(--grot); min-height: 44px; }

/* ---- the opening: the sentence centred, the prices under it, three finished sites under the prices ---- */
.hero { position: relative; padding: calc(var(--bar-h) + clamp(28px, 4vw, 64px)) var(--gut) 0; text-align: center; }
.hero__kicker { margin-bottom: clamp(18px, 2vw, 28px); text-wrap: balance; }
.hero h1 { font: 400 var(--size-h1)/1.04 var(--serif); letter-spacing: -0.012em; margin: 0 auto; max-width: 15.5em; }
.hero__sub { margin: clamp(14px, 1.6vw, 24px) auto 0; max-width: 32em; font: 800 clamp(20px, 2.3vw, 36px)/1.15 var(--grot); letter-spacing: -0.02em; }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin: clamp(22px, 2.6vw, 40px) auto 0; max-width: 1180px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); text-align: left; }
.prices > div { padding: 14px 18px; border-left: 1px solid var(--rule); display: grid; gap: 4px; align-content: center; }
.prices > div:first-child { border-left: 0; }
.prices dt { font: 500 var(--size-label)/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); text-wrap: balance; }
.prices dd { font: 500 18px/1.25 var(--mono); text-wrap: balance; }
.prices__go { display: flex; align-items: center; padding: 10px 0 10px 18px; border-left: 1px solid var(--rule); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: clamp(26px, 3vw, 44px) 0 0; text-align: left; }
.slot { position: relative; }
.slot__stage { position: relative; }
.slide { position: relative; }
.slot.is-cycling .slide:not(:first-child) { position: absolute; inset: 0 0 auto; }
.slide__img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.slide__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.slide__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; }
.cap__name { font: 600 var(--size-card)/1.3 var(--grot); }
.cap__tag { font: 500 11.5px/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); text-align: right; }
/* The screen crossfades over 900 ms; the caption leaves in 200 ms and the next one arrives once the screen has
   turned, so two names never sit on top of each other. */
.slot.is-cycling .slide__img { transition: opacity 900ms var(--ease-io), visibility 0s; }
.slot.is-cycling .slide:not(.is-on) .slide__img { opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease-io), visibility 0s linear 900ms; }
.slot.is-cycling .slide__cap { transition: opacity 500ms var(--ease) 600ms, visibility 0s; }
.slot.is-cycling .slide:not(.is-on) .slide__cap { opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s linear 200ms; }

/* ---- sections ---- */
.sec { padding: clamp(72px, 9vw, 140px) var(--gut) 0; }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: var(--gut); padding-bottom: 18px; }
.caps { font: 800 var(--size-h2)/0.9 var(--grot); letter-spacing: -0.02em; text-transform: uppercase; }
.sec__count { padding-bottom: 0.6em; text-align: right; }

/* how it works: the pale framed panel, the statement that fills as it is read, the drag rail */
.panel { background: var(--paper-2); border-radius: calc(var(--radius) * 1.6); padding: clamp(22px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 3.4vw, 56px); align-items: start; }
.panel__photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.panel__photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.panel__text { display: grid; gap: 22px; align-content: start; padding-top: 4px; }
.statement { font: 400 var(--size-state)/1.22 var(--serif); letter-spacing: -0.005em; --sf-ink: var(--ink); --sf-dim: oklch(62% 0.012 60); max-width: 34em; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--surface); color: var(--on-surface); font: 600 15px/1 var(--grot); text-decoration: none; vertical-align: middle; transition: background-color var(--t-ui) var(--ease); }
.pill:hover { background: var(--accent); color: var(--accent-ink); }
.pill .arrow { font-family: var(--mono); }
.rail { margin-top: var(--gap); }
.rail__view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.rail__view::-webkit-scrollbar { display: none; }
.rail__view.is-drag { overflow: hidden; cursor: grab; touch-action: pan-y; }
.rail__track { display: flex; gap: var(--gap); width: max-content; }
.step { scroll-snap-align: start; width: clamp(280px, 30vw, 440px); min-height: 300px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--paper-2); }
.step:nth-child(2) { background: var(--surface); color: var(--on-surface); }
.step:nth-child(2) .label { color: var(--on-surface-mute); }
.step:nth-child(4) { background: var(--paper-3); }
.step h3 { font: 400 var(--size-h3)/1.02 var(--serif); letter-spacing: -0.01em; }
.step p { max-width: 30ch; }
.rail__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.rail__btns { display: flex; gap: 8px; }
.rail__btns button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--ground); color: var(--ink); font: 500 16px/1 var(--mono); cursor: pointer; }
.rail__btns button:hover { background: var(--ink); color: var(--ground); }
.rail__dots { display: flex; gap: 6px; }
.rail__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule-strong); opacity: 0.35; }
.rail__dots i.is-on { opacity: 1; background: var(--accent); }

/* the work: caps head, the profession row sliding under it, the alternating grid */
.words { overflow: hidden; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: 10px 0; margin-bottom: var(--gap); }
.words__track { display: flex; gap: 0.9em; width: max-content; font: 300 clamp(22px, 2.6vw, 38px)/1 var(--grot); letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); white-space: nowrap; will-change: transform; }
.words__track span::after { content: "\2042"; margin-left: 0.9em; color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); }
.grid > li { grid-column: span 8; }
.grid > li:nth-child(4n + 2), .grid > li:nth-child(4n + 3) { grid-column: span 4; }
.grid > li:nth-child(4n + 3) { grid-column: span 4; }
.grid > li:nth-child(4n + 4) { grid-column: span 8; }
.card { display: block; text-decoration: none; position: relative; }
.card__frame { position: relative; height: clamp(320px, 42vw, 605px); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.card__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity var(--t-ui) var(--ease); }
.card__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; align-items: start; }
.card__name { font: 600 var(--size-card)/1.3 var(--grot); }
.card__tag { display: block; margin-top: 2px; font: 500 11.5px/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.card__line { display: block; margin-top: 6px; color: var(--mute); font-size: 15px; line-height: 1.45; max-width: 52ch; }
.card__state { flex: none; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.card__state--live { background: var(--surface); color: var(--on-surface); }
.card__state--wait { border: 1px solid var(--rule-strong); color: var(--mute); }
a.card:hover .card__state--live { background: var(--accent); color: var(--accent-ink); }
a.card:hover .card__name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sec__more { display: flex; justify-content: center; margin-top: 44px; }
.cursor { position: fixed; left: 0; top: 0; z-index: 25; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 14px/1 var(--grot); opacity: 0; scale: 0.6; visibility: hidden; transition: opacity 180ms var(--ease), scale 180ms var(--ease), visibility 0s linear 180ms; }
.cursor.is-on { opacity: 1; scale: 1; visibility: visible; transition-delay: 0s; }

/* the band */
.band { margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); position: relative; }
.band__rail { overflow: hidden; padding: 18px 0; }
.band__track { display: flex; width: max-content; }
.band__row { display: flex; gap: 0.5em; padding-right: 0.5em; font: 800 clamp(56px, 8.4vw, 128px)/1 var(--grot); letter-spacing: -0.02em; white-space: nowrap; }
.band__row span:nth-child(even) { font: 400 1em/1 var(--serif); color: var(--accent); }
.band__rail.is-live .band__track { animation-name: marquee-scroll; animation-duration: var(--marquee-dur, 40s); animation-timing-function: linear; animation-iteration-count: infinite; }
.band__rail.is-held .band__track, .band__rail.is-off .band__track { animation-play-state: paused; }
.band__rail.is-static .band__track { flex-wrap: wrap; width: auto; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--marquee-w, 50%))); } }
.band .marquee-toggle { position: absolute; right: var(--gut); bottom: -22px; z-index: 2; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--ground); font: 500 var(--size-label)/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }

/* what you get: three cards */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.offer { display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; padding: clamp(22px, 2.4vw, 34px); border-radius: calc(var(--radius) * 1.4); background: var(--paper-2); min-height: 560px; }
.offer--dark { background: var(--surface); color: var(--on-surface); }
.offer--dark .label { color: var(--on-surface-mute); }
.offer--deep { background: var(--paper-3); }
.offer h3 { font: 400 var(--size-h3)/1 var(--serif); letter-spacing: -0.01em; }
.offer__price { font: 500 22px/1.2 var(--mono); }
.offer ul { display: grid; align-content: start; }
.offer li { padding: 11px 0; border-top: 1px solid var(--rule); }
.offer--dark li { border-top-color: oklch(95% 0.008 85 / 0.2); }
.offer .link { justify-self: start; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1 var(--grot); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--accent); }
.offer--dark .link:hover { color: var(--on-surface); text-decoration-color: var(--accent); }

/* the terms: Form&Fun's numbered table, with prices where it keeps awards */
.ledger { border-top: 1px solid var(--rule-strong); }
.ledger li { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 5fr) minmax(160px, 2fr); gap: var(--gut); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.ledger__n { font: 500 var(--size-label)/1 var(--mono); color: var(--mute); }
.ledger__what { font: 500 21.6px/1.3 var(--grot); }
.ledger__note { color: var(--mute); font-size: 16px; }
.ledger__price { font: 500 18px/1.3 var(--mono); text-align: right; }
.ledger li.is-else { background: var(--paper-2); padding-left: 14px; padding-right: 14px; margin: 0 -14px; border-radius: 6px; border-bottom-color: transparent; }
.refuse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 5vw, 72px); }
.refuse > div { padding: 22px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.refuse h3 { font: 400 clamp(24px, 2.3vw, 32px)/1.1 var(--serif); }
.refuse p { color: var(--mute); max-width: 40ch; }

/* your line of work: the tile wall where Form&Fun keeps its client logos */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tiles a { display: grid; align-content: space-between; gap: 34px; min-height: 180px; padding: 20px; border-radius: var(--radius); background: var(--paper-2); text-decoration: none; transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease); }
.tiles a:hover { background: var(--surface); color: var(--on-surface); }
.tiles a:hover .label { color: var(--on-surface-mute); }
.tile__name { font: 400 clamp(26px, 2.3vw, 34px)/1.05 var(--serif); }
.tile__foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.tile__arrow { font: 500 18px/1 var(--mono); }
.tiles a.tile--more { background: none; border: 1px dashed var(--rule-strong); }

/* the foot and its wordmark */
.foot { margin-top: clamp(96px, 11vw, 170px); padding: 0 var(--gut) 18px; border-top: 1px solid var(--rule-strong); }
.foot__ask { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gut); padding: clamp(40px, 5vw, 72px) 0; align-items: end; }
.foot__ask h2 { font: 400 clamp(44px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -0.012em; }
.foot__ask p { color: var(--mute); max-width: 44ch; margin-bottom: 18px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); padding: 28px 0 36px; border-top: 1px solid var(--rule); }
.foot__cols h3 { margin-bottom: 10px; }
.foot__cols a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-size: 15px; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__cols p { font-size: 15px; }
.foot__word { font: 800 23.6vw/0.78 var(--grot); letter-spacing: -0.045em; white-space: nowrap; margin: 0 -0.02em; padding-top: 0.06em; overflow: hidden; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--mute); }
.foot__legal a { margin-left: 18px; display: inline-flex; min-height: 32px; align-items: center; }

/* inner pages: the shared blocks the fragments carry */
.page { padding: clamp(64px, 8vw, 120px) var(--gut) 0; }
.in { max-width: 1240px; margin: 0 auto; }
.page-head { font: 400 clamp(40px, 5vw, 76px)/1.04 var(--serif); letter-spacing: -0.012em; margin-bottom: 26px; max-width: 18em; }
.kicker { font: 500 var(--size-label)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.lead { font: 400 clamp(22px, 2.1vw, 30px)/1.3 var(--serif); max-width: 32em; margin-bottom: 22px; }
.body { max-width: 66ch; color: var(--mute); margin-bottom: 22px; }
.go { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--surface); color: var(--on-surface); font: 600 16px/1 var(--grot); text-decoration: none; transition: background-color var(--t-ui) var(--ease); }
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.top { padding: calc(var(--bar-h) + clamp(32px, 5vw, 72px)) var(--gut) 0; display: grid; gap: clamp(28px, 3vw, 48px); }
.top__text { max-width: 1100px; margin: 0 auto; text-align: center; }
.top h1 { font: 400 var(--size-h1)/1.04 var(--serif); letter-spacing: -0.012em; }
.top__lede { font-size: 20px; line-height: 1.5; color: var(--mute); max-width: 60ch; margin: 22px auto 0; }
.top .go { justify-content: center; }
.top__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
.top__photo img { width: 100%; height: 100%; object-fit: cover; }
.week { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--gut); max-width: 1100px; }
.week p { padding-top: 14px; border-top: 1px solid var(--rule); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.steps > li { padding: 24px; border-radius: var(--radius); background: var(--paper-2); display: grid; gap: 12px; align-content: start; }
.steps h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.05 var(--serif); }
.steps__when { font: 500 var(--size-label)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px var(--gut); }
.plan > li { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; }
.plan h3 { font: 600 19px/1.3 var(--grot); }
.note { margin-top: 30px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper-2); max-width: 74ch; }
.qa { display: grid; border-top: 1px solid var(--rule-strong); max-width: 1000px; }
.qa > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gut); padding: 22px 0; border-bottom: 1px solid var(--rule); }
.qa dt { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.qa dd { color: var(--mute); }
.ptable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule-strong); }
.ptable th, .ptable td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.ptable thead th { font: 500 var(--size-label)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.ptable tbody th { font: 500 20px/1.3 var(--grot); padding-right: var(--gut); }
.ptable .what { display: block; font: 400 15px/1.45 var(--grot); color: var(--mute); margin-top: 4px; }
.ptable td { font: 500 18px/1.3 var(--mono); text-align: right; white-space: nowrap; }
.ptable thead th:last-child { text-align: right; }
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); margin-top: 20px; }
.prose h3 { font: 600 19px/1.3 var(--grot); margin-top: 8px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.letter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gut); align-items: start; }
.ticket { background: var(--surface); color: var(--on-surface); border-radius: calc(var(--radius) * 1.4); padding: 28px; display: grid; gap: 14px; }
.ticket__head { display: flex; justify-content: space-between; font: 500 var(--size-label)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-surface-mute); }
.ticket__price { font: 400 64px/1 var(--serif); }
.ticket__price small { font: 500 15px/1 var(--mono); margin-left: 10px; color: var(--on-surface-mute); }
.ticket li { padding: 10px 0; border-top: 1px solid oklch(95% 0.008 85 / 0.2); }
.page--dark { background: var(--surface); color: var(--on-surface); padding-bottom: clamp(64px, 8vw, 120px); margin-top: clamp(64px, 8vw, 120px); }
.page--dark .body, .page--dark .kicker { color: var(--on-surface-mute); }
.page--sheet, .page--canary { background: var(--paper-2); border-radius: calc(var(--radius) * 1.6); margin: clamp(64px, 8vw, 120px) var(--gut) 0; padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 64px); }
.page--canary { background: var(--paper-3); }
.page--sheet .steps > li, .page--sheet .note { background: var(--ground); }
.nw { white-space: nowrap; }
.sheet__close { display: grid; }

/* ---- motion: every start state lives under a class a script adds, so the page without script is finished ---- */
html.reveals-armed [data-reveal]:not(.is-in) { opacity: 0; translate: 0 1.6rem; }
html.reveals-armed [data-reveal] { transition: opacity var(--t-arrive) var(--ease) calc(var(--i, 0) * var(--reveal-stagger, 0.08s) + var(--reveal-delay, 0s)), translate var(--t-arrive) var(--ease) calc(var(--i, 0) * var(--reveal-stagger, 0.08s) + var(--reveal-delay, 0s)); }
html.reveals-armed [data-split]:not(.is-split) { opacity: 0; }
.mosaic__hold { position: absolute; right: var(--gut); margin-top: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: none; color: var(--mute); font: 500 var(--size-label)/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.mosaic__hold:hover { border-color: var(--rule-strong); color: var(--ink); }
/* the arrival plays only where the page script runs; without it every line is in place at once (A6) */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .hero h1[data-split] { animation-name: wait; animation-duration: 1ms; animation-delay: 1.2s; animation-fill-mode: both; }
.bar { animation-name: arrive; animation-duration: 600ms; animation-timing-function: var(--ease); animation-delay: 250ms; animation-fill-mode: both; }
.hero__kicker { animation-name: arrive; animation-duration: 700ms; animation-timing-function: var(--ease); animation-delay: 100ms; animation-fill-mode: both; }
.hero__sub { animation-name: arrive; animation-duration: 700ms; animation-timing-function: var(--ease); animation-delay: 1250ms; animation-fill-mode: both; }
.prices { animation-name: arrive; animation-duration: 800ms; animation-timing-function: var(--ease); animation-delay: 900ms; animation-fill-mode: both; }
.mosaic .slot { animation-name: arrive-whole; animation-duration: 900ms; animation-timing-function: var(--ease); animation-fill-mode: both; }
.mosaic .slot:nth-child(1) { animation-delay: 1150ms; }
.mosaic .slot:nth-child(2) { animation-delay: 1300ms; }
.mosaic .slot:nth-child(3), .mosaic__hold { animation-delay: 1450ms; }
  .mosaic__hold { animation-name: arrive-whole; animation-duration: 900ms; animation-fill-mode: both; }
  @supports (animation-timeline: view()) {
    .hero__head { will-change: translate, opacity; animation-name: lift; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: view(); animation-range-start: exit 0%; animation-range-end: exit 100%; }
    .panel__photo img { animation-name: drift; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: view(); animation-range-start: cover 0%; animation-range-end: cover 100%; }
  }
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; }
@keyframes wait { from { opacity: 0; } to { opacity: 1; } }
@keyframes arrive { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes arrive-whole { from { opacity: 0; } to { opacity: 1; } }
@keyframes lift { from { translate: 0 0; opacity: 1; } to { translate: 0 -18%; opacity: 0.25; } }
@keyframes drift { from { translate: 0 -5%; } to { translate: 0 5%; } }

/* ---- the phone ---- */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: grid; }
  .bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bar__tag { justify-content: center; }
}
@media (max-width: 860px) {
  :root { --bar-h: 64px; --gap: 12px; }
  .bar__tag { display: none; }
  .bar { grid-template-columns: minmax(0, 1fr) auto; }
  .bar__right { gap: 10px; }
  .door { padding: 0 16px; font-size: 14px; }
  .hero h1 { max-width: none; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices > div { padding: 12px 12px; }
  .prices > div:nth-child(3) { border-left: 0; }
  .prices > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .prices dd { font-size: 16px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .slot:nth-child(n + 2) { display: none; }
  .panel { grid-template-columns: 1fr; }
  .panel__photo { aspect-ratio: 4 / 3; }
  .step { width: 82vw; min-height: 260px; }
  .sec__head { flex-direction: column; align-items: start; gap: 8px; }
  .sec__count { text-align: left; padding: 0; }
  .grid { grid-template-columns: 1fr; gap: 34px; }
  .grid > li, .grid > li:nth-child(n) { grid-column: auto; }
  .card__frame { height: auto; aspect-ratio: 16 / 10; }
  .trio { grid-template-columns: 1fr; }
  .offer { min-height: 0; }
  .ledger li { grid-template-columns: 34px minmax(0, 1fr) auto; row-gap: 6px; }
  .ledger__note { grid-column: 2 / -1; grid-row: 2; }
  .ledger__price { text-align: right; }
  .refuse { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles a { min-height: 140px; padding: 16px; gap: 20px; }
  .foot__ask { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols a, .foot__legal a { min-height: 44px; }
  .foot__cols > div:nth-child(3) h3 { display: none; }
  .foot__cols > div:nth-child(3) { margin-top: -18px; }
  .week, .steps, .plan, .letter { grid-template-columns: 1fr; }
  .qa > div { grid-template-columns: 1fr; gap: 8px; }
  .top__photo { aspect-ratio: 4 / 3; }
}

/* Keyboard focus answers the way the pointer does, control by control, and a press shows before the page moves (A10). */
.menu__label:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.sub a:focus-visible { color: var(--accent); }
.door:focus-visible { background: var(--accent); color: var(--accent-ink); }
.pill:focus-visible { background: var(--accent); color: var(--accent-ink); }
.btn:focus-visible { background: var(--accent); color: var(--accent-ink); }
.rail__btns button:focus-visible { background: var(--ink); color: var(--ground); }
a.card:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
a.card:focus-visible .card__state--live { background: var(--accent); color: var(--accent-ink); }
.tiles a:focus-visible { background: var(--surface); color: var(--on-surface); }
.foot__cols a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.mosaic__hold:focus-visible { border-color: var(--rule-strong); color: var(--ink); }
.foot__legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.burger:hover { border-color: var(--ink); }
.sheet a:hover { color: var(--accent); }
.sheet__close:hover { background: var(--accent); color: var(--accent-ink); }
.mark:hover .mark__dot { scale: 1.25; }
.ledger li:hover .ledger__price { color: var(--accent); }
.door:active, .pill:active, .btn:active { scale: 0.97; }
.rail__btns button:active { scale: 0.94; }
.burger:active, .mosaic__hold:active { scale: 0.96; }
