/* LatenZ site styles. Shared by index.html, privacy.html and portfolio.html.
   The design is a working paper, not a landing page: ruled type on a light ground, framed sheets for the register,
   the two products and the screenshots, and small charts drawn to scale beside the figures they show.
   Colours and type live in the :root block: change them there and the site follows. */

@font-face {
  font-family: "Manrope";
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root, .on-light {
  --paper: #f3f5f8;
  --surface: #ffffff;
  --ink: #10203b;
  --soft: #33425c;
  --muted: #5a6880;
  --rule: #cdd5df;
  --accent: #0ea5e9;
  --accent-ink: #0369a1;
  --tint: #e7f2f9;
  --bar: #a3afc2;
  --fill: #d9ecf8;
  --btn-bg: #10203b;
  --btn-ink: #ffffff;
  color-scheme: light;
}

/* The products band, the closing band and the footer sit on the logo's navy. Re-pointing the tokens here restyles
   everything inside. A panel that goes back to white inside a navy band takes the class on-light. */
.contact, .site-footer, .on-navy {
  --paper: #0e1c36;
  --surface: #15284a;
  --ink: #f5f7fa;
  --soft: #d5dce8;
  --muted: #a9b6cb;
  --rule: #2c4169;
  --accent: #38bdf8;
  --accent-ink: #5cc9fa;
  --tint: #1b3558;
  --bar: #5b719a;
  --btn-bg: #f5f6f8;
  --btn-ink: #10203b;
  background: var(--paper);
  color: var(--ink);
}

.on-light { color: var(--ink); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

section[id], span[id] { scroll-margin-top: 96px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
h2 { font-size: clamp(29px, 3.4vw, 44px); line-height: 1.1; max-width: 18em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.lead { margin-top: 16px; max-width: 42em; color: var(--soft); }
.band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pad { padding-top: clamp(56px, 7vw, 84px); padding-bottom: clamp(56px, 7vw, 84px); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--btn-bg); color: var(--btn-ink); font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--btn-ink); opacity: 0.9; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 30px; width: auto; }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--soft); text-decoration: none; padding: 8px 0; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
/* Hero. The navy is painted by .hero-text::before: it runs from the top of the page to just under the founder strip,
   so the band ends there however tall the register is, and the register hangs over its lower edge. */
.hero.on-navy { position: relative; z-index: 0; overflow: hidden; background: #f3f5f8; }
.hero .wrap { padding-top: clamp(44px, 5.4vw, 72px); padding-bottom: clamp(48px, 5vw, 64px); }
.hero .kicker { margin-bottom: 16px; font-size: 16px; font-weight: 700; color: var(--accent); }
.hero-text { position: relative; }
.hero-text::before { content: ""; position: absolute; z-index: -1; left: -100vw; width: 300vw; bottom: -48px; height: 3000px;
  background: radial-gradient(ellipse 760px 560px at calc(100vw + 760px) calc(100% - 330px), #23477c 0%, rgba(35, 71, 124, 0) 72%), #0e1c36; }
.hero .sheet { position: relative; box-shadow: 0 28px 56px -28px rgba(3, 10, 26, 0.6); }

/* The other navy bands carry the same soft light from the top right */
section.on-navy:not(.hero), .contact { background-image: radial-gradient(ellipse 60% 85% at 78% 0%, #1f3f70 0%, rgba(31, 63, 112, 0) 70%); }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -0.03em; max-width: 15em; }
.hero-cols { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.hero .lede { font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 34em; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.actions .more { font-weight: 600; padding: 12px 0; }
.who { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; align-items: center; gap: 16px; max-width: 30em; }
.who img { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); }
.who p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.who strong { color: var(--ink); font-weight: 700; }

/* The register: a white sheet that hangs over the lower edge of the opening band */
.sheet { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 6px 6px 0 var(--rule); }
.sheet-head { padding: 22px 24px 0; }
.sheet-head h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.sheet-head p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.inputs { margin: 18px 24px 0; padding: 14px 16px; background: var(--paper); border-radius: 4px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.inputs label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.inputs input { width: 84px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--muted); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; text-align: right; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.register { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.register th, .register td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.register th:first-child, .register td:first-child { padding-left: 24px; }
.register th:last-child, .register td:last-child { padding-right: 24px; }
.register thead th { font-size: 12.5px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.register .num { text-align: right; white-space: nowrap; }
.register .step { background: linear-gradient(var(--fill), var(--fill)) no-repeat; background-size: var(--w, 0%) 100%; }
.register .call { font-weight: 700; white-space: nowrap; }
.register .call.automate { color: var(--accent-ink); }
.register .call.leave { color: var(--muted); font-weight: 600; }
.register tfoot td { border-bottom: 0; padding-top: 16px; padding-bottom: 6px; font-weight: 800; font-size: 16px; }
.register tfoot .total { display: inline-block; padding-bottom: 5px; border-bottom: 4px solid var(--accent); }
.sheet figcaption { padding: 14px 24px 22px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.sheet figcaption b { color: var(--ink); font-weight: 700; }

/* Client quote that opens the results */
.quote { margin: 0; }
.quote blockquote { margin: 0; font-weight: 600; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.38; letter-spacing: -0.012em; color: var(--ink); }
.quote figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); }
.lead-quote::before, .who-quote::before { content: ""; display: block; width: 56px; height: 6px; margin-bottom: 24px; background: var(--accent); }
.lead-quote blockquote { max-width: 27em; font-weight: 700; font-size: clamp(23px, 2.5vw, 33px); line-height: 1.3; letter-spacing: -0.018em; }
.ledger-note { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ledger-note a { font-weight: 600; }

/* Exhibits: what was measured, the figure, and a small chart drawn to scale */
.exhibits { margin: 40px 0 0; display: grid; gap: 20px; }
.exhibits.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.exhibits.two { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exhibit { display: flex; flex-direction: column; padding: 20px 22px 22px; background: var(--paper); border-radius: 4px; }
.exhibits.boxed .exhibit { background: var(--surface); border: 1px solid var(--rule); }
.exhibit dt { min-height: 2.8em; font-size: 14.5px; line-height: 1.4; color: var(--soft); }
.exhibit dd { flex: 1; display: flex; flex-direction: column; margin: 8px 0 0; font-size: 31px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.chart { margin-top: auto; padding-top: 20px; font-size: 12.5px; line-height: 1.3; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.chart span { display: block; }
.chart .bar + .bar { margin-top: 10px; }
.chart .bar i { display: block; height: 12px; min-width: 4px; margin-top: 5px; border-radius: 2px; background: var(--ink); }
.chart .bar.now i { background: var(--accent); }
.units { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; }
.units b { margin-top: 5px; font-size: 17px; line-height: 12px; font-weight: 800; color: var(--accent-ink); }
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.track i { display: block; height: 12px; border-radius: 2px; background: var(--rule); }
.track .on i { background: var(--accent); }
.track span { margin-top: 5px; }
.dots { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 3px; }
.dots i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--bar); }
.dots i.on { background: var(--accent); box-shadow: none; }
.chart .cap { margin-top: 8px; }
.axis { position: relative; height: 12px; margin-top: 5px; border-radius: 2px; background: var(--paper); }
.axis span { position: absolute; border-radius: 2px; }
.axis .believed { top: 0; bottom: 0; background: var(--ink); }
.axis .measured { top: -5px; bottom: -5px; width: 4px; margin-left: -2px; background: var(--accent); }
.ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.ends .m { color: var(--accent-ink); }
.hours { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.hours i { height: 16px; border-radius: 2px; background: var(--accent); }
.record { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.record .ledger-note { margin-top: 22px; font-size: 15px; }

/* The four kinds of manual work, each with a small process sketch */
.kinds { margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kind { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.kind dt { padding: 0 22px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
.kind dd { margin: 6px 0 0; padding: 0 22px 22px; font-size: 15.5px; color: var(--soft); }
.dg { display: block; width: calc(100% + 44px); height: auto; margin: 0 -22px 18px; background: var(--tint); border-bottom: 1px solid var(--rule); }
.dg .bx { fill: var(--surface); stroke: var(--ink); stroke-width: 1.8; }
.dg .ln { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dg .dash { stroke-dasharray: 4 5; }
.dg .rw { stroke: var(--bar); stroke-width: 2.4; stroke-linecap: round; }
.dg .hi { stroke: var(--accent); }
.dg .bx.hi { stroke-width: 2.4; }
.dg .ah { fill: var(--ink); }

/* Ruled term list: how we work */
.terms { margin: 36px 0 0; display: grid; gap: 0 40px; }
.terms.two { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
.terms dt::before { content: ""; display: block; width: 32px; height: 5px; margin-bottom: 14px; background: var(--accent); }
.terms dt { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
.terms dd { margin: 6px 0 0; font-size: 15.5px; color: var(--soft); }
.closing { margin-top: 32px; max-width: 42em; color: var(--soft); }

/* The work: two engagements on one path, the first leading to the second */
.path { margin: 44px 0 0; padding: 0; list-style: none; }
.stage { display: grid; grid-template-columns: 64px minmax(0, 1fr); }
.rail { grid-row: 1 / span 2; display: flex; flex-direction: column; }
.node { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--accent); border-radius: 50%; font-size: 17px; font-weight: 800; color: var(--accent); }
.stage:first-child .node { background: var(--accent); color: var(--paper); }
.stage:first-child .rail::after { content: ""; flex: 1; width: 2px; margin-left: 19px; background: var(--bar); }
.offer { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 290px; background: var(--surface); border-radius: 4px; overflow: hidden; }
.offer > * { margin: 0; padding: 30px 32px 32px; }
.offer-holds, .offer-fee { border-left: 1px solid var(--rule); }
.offer-fee { background: var(--paper); }
.tag { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.offer h3 { margin-top: 6px; font-size: 28px; line-height: 1.14; }
.essence { margin-top: 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.does { margin-top: 6px; font-size: 16px; color: var(--soft); }
.offer h4 { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.holds { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.holds li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.holds li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 6px; border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink); transform: rotate(-45deg); }
.offer-fee dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.offer-fee dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.offer-fee strong { display: block; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.offer-fee .from { margin-right: 2px; font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--soft); }
.offer-fee div + div { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.offer-fee div + div strong { font-size: 22px; letter-spacing: -0.02em; }
.credit { grid-column: 2; padding: 18px 0 20px; font-size: 15.5px; color: var(--soft); }
.on-navy .after-table { margin: 40px 0 0 64px; }
.after-table { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.after-table p { font-size: 15px; color: var(--muted); max-width: 40em; }

/* What we build */
.build { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--ink); }
.build-text { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.build-text p { font-size: 16px; color: var(--soft); max-width: 40em; }
.build-text .small { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.shots { margin-top: 28px; display: grid; gap: 24px; align-items: end; }
.shots.duo { grid-template-columns: minmax(0, 3.6fr) minmax(0, 1fr); }
.shots img { display: block; width: 100%; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 6px 6px 0 var(--rule); }

/* Who we are */
.people { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.person { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; gap: 20px; align-items: flex-start; }
.person img { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); }
.person .role { margin-top: 2px; font-size: 14.5px; font-weight: 700; color: var(--accent-ink); }
.person p.bio { margin-top: 10px; font-size: 16px; color: var(--soft); }
.person a { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; padding: 6px 0; }
.who-quote { margin-top: 32px; max-width: 46em; }

/* Published strip */
.published .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding-top: 32px; padding-bottom: 32px; }
.published b { font-size: 14.5px; color: var(--muted); }
.published p { flex: 1 1 420px; font-size: 16px; color: var(--soft); }
.published a { font-size: 15px; font-weight: 600; padding: 8px 0; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact h2 { color: var(--ink); }
.contact-details { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.contact-details a { font-weight: 600; padding: 6px 0; align-self: flex-start; }
.contact-details p { padding-top: 8px; font-size: 15px; color: var(--muted); }
.form { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--soft); }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 4px; border: 1px solid var(--muted); background: var(--paper); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.consent label { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-status { margin: 0; font-size: 14px; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--accent-ink); }
.form-status.error { color: #fca5a5; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; padding-bottom: 44px; font-size: 13px; color: var(--muted); }
.site-footer img { align-self: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { padding: 6px 0; }
.site-footer p { max-width: 820px; }

/* Privacy page */
.policy-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 8px; }
.policy-head .wrap, .policy .wrap { max-width: 800px; }
.policy-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.policy-head p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.policy { padding-top: 24px; padding-bottom: clamp(56px, 7vw, 88px); }
.policy h2 { font-size: 22px; letter-spacing: -0.015em; margin-top: 40px; margin-bottom: 14px; max-width: none; }
.policy p { color: var(--soft); line-height: 1.75; margin-bottom: 16px; }
.policy ul { color: var(--soft); line-height: 1.75; margin: 0 0 16px; padding-left: 24px; }
.policy li { margin-bottom: 8px; }
.policy strong { color: var(--ink); }

@media (max-width: 900px) {
  .site-header { position: static; }
  .site-header .wrap { flex-wrap: wrap; gap: 6px 16px; }
  .site-header .btn-small { order: 2; margin-left: auto; }
  .site-nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 4px 22px; }
  .hero-cols, .record, .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-text::before { bottom: -150px; background: radial-gradient(ellipse 520px 420px at calc(100vw + 260px) calc(100% - 520px), #23477c 0%, rgba(35, 71, 124, 0) 72%), #0e1c36; }
  .build-text { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .kinds, .exhibits.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .offer, .credit { grid-column: 1; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-holds, .offer-fee { border-left: 0; border-top: 1px solid var(--rule); }
  .offer-fee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .offer-fee div + div { margin-top: 0; padding-top: 0; border-top: 0; }
  .on-navy .after-table { margin-left: 0; }
  .people { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sheet, .shots img { box-shadow: 4px 4px 0 var(--rule); }
  .sheet-head { padding: 18px 16px 0; }
  .inputs { margin: 16px 16px 0; }
  .sheet figcaption { padding: 14px 16px 18px; }
  .register { min-width: 0; font-size: 14px; }
  .register .hrs { display: none; }
  .register th, .register td { padding-left: 8px; padding-right: 8px; }
  .register th:first-child, .register td:first-child { padding-left: 16px; }
  .register th:last-child, .register td:last-child { padding-right: 16px; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .exhibits.four .exhibit dd { font-size: 23px; }
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 250px; }
  .offer > * { padding: 26px 26px 28px; }
  .offer-fee strong { font-size: 25px; }
}

@media (max-width: 560px) {
  .site-nav { font-size: 13.5px; gap: 4px 14px; }
  .shots img.wide { height: 250px; object-fit: cover; object-position: left top; }
  .terms.two, .kinds, .exhibits.four, .exhibits.two { grid-template-columns: minmax(0, 1fr); }
  .terms.two { row-gap: 20px; }
  .exhibit dt { min-height: 0; }
  .offer > * { padding: 24px 20px; }
  .offer-fee { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* On a phone each register line stacks: the step across the sheet, then its cost and its call */
  .register, .register tbody, .register tfoot { display: block; }
  .register thead { position: absolute; left: -9999px; }
  .register tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--rule); }
  .register tfoot tr { border-bottom: 0; }
  .register td { border-bottom: 0; }
  .register .step, .register tfoot td:first-child { grid-column: 1 / -1; padding-bottom: 2px; }
  .register td.num { padding-top: 4px; padding-left: 16px; text-align: left; font-weight: 700; }
  .register tbody td.num::after { content: " a year"; font-weight: 500; color: var(--muted); }
  .register td.call { padding-top: 4px; text-align: right; }
  .register tfoot td { padding-top: 14px; }
  .register tfoot td.num { padding-top: 2px; padding-bottom: 10px; }
  .person { flex-direction: column; gap: 14px; }
  .shots.duo { grid-template-columns: minmax(0, 1fr); }
  .shots.duo img:last-child { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  /* The register's fills grow from nothing when the page opens, one line after the next */
  .register .step { animation: fill 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .register tr:nth-child(1) .step { animation-delay: 0.35s; } .register tr:nth-child(2) .step { animation-delay: 0.45s; }
  .register tr:nth-child(3) .step { animation-delay: 0.55s; } .register tr:nth-child(4) .step { animation-delay: 0.65s; }
  .register tr:nth-child(5) .step { animation-delay: 0.75s; } .register tr:nth-child(6) .step { animation-delay: 0.85s; }
  .register tr:nth-child(7) .step { animation-delay: 0.95s; }
  .register .still .step { animation: none; }
  @keyframes fill { from { background-size: 0% 100%; } }
  .draw .exhibit .chart i, .draw .exhibit .axis span { transform-origin: left center; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0ms) + var(--e, 0ms)); }
  .draw .exhibit .bar.now > i { --e: 180ms; }
  .draw .exhibit .dots i { transform-origin: center; transition-duration: 0.3s; }
  .draw .exhibit:not(.in) .chart i, .draw .exhibit:not(.in) .axis span { transform: scaleX(0); }
  .draw .exhibit:not(.in) .dots i { transform: scale(0); }
  .register tfoot .total.flash { animation: flash 0.5s ease-out; }
  @keyframes flash { from { background: var(--tint); } to { background: transparent; } }
}
