/* Company profile (src/profile.mjs). Three ways to see the same slides:
   1. Deck: on a screen at least 900px wide with scripts on, one slide at a time. Every slide is designed on a
      1280 x 720 grid; profile.js scales the whole frame to fit the window, so the sizes below are in px.
   2. Page: on a phone, or with scripts off, the slides stack into one long page (the rules marked "page").
   3. Print: one slide per landscape page, for saving as a PDF. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #13243F; --navy-2: #1B3052; --ivory: #F6F3EC; --surface: #FBFAF6;
  --crimson: #B23A28; --crimson-light: #E2604A; --slate: #4F5A6B;
  --line: #E3DED2; --line-dark: rgba(246, 243, 236, 0.16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--navy); background: var(--ivory); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: start; }
:focus-visible { outline: 2px solid var(--crimson-light); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--navy); color: var(--ivory); padding: 10px 14px; border-radius: 4px; }
.live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- slides: colours and type ---------- */
.slide { position: relative; overflow: hidden; background: var(--ivory); color: var(--navy); }
.slide.alt { background: var(--surface); }
.slide.dark { background: var(--navy); color: var(--ivory); }
.slide.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 78% 40%, rgba(64, 92, 140, 0.34), transparent 70%); }
.slide-in { position: relative; z-index: 1; }
.profile-flock { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.eyebrow, .label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); }
.dark .eyebrow, .dark .label { color: var(--crimson-light); }
.label { display: block; font-size: 11.5px; letter-spacing: 0.12em; margin-block-end: 6px; }
h1 { font-size: 78px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; margin-block-start: 18px; }
h2 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; margin-block-start: 14px; max-width: 22ch; }
h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--crimson); margin-block-start: 22px; }
.dark h2::after { background: var(--crimson-light); }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; }
.lede { font-size: 20px; line-height: 1.5; color: var(--slate); max-width: 58ch; margin-block-start: 22px; }
.dark .lede { color: rgba(246, 243, 236, 0.78); }
.note { font-size: 16px; color: var(--slate); margin-block-start: 18px; }
.dark .note { color: rgba(246, 243, 236, 0.7); }
.num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--crimson); font-variant-numeric: tabular-nums; }
.dark .num { color: var(--crimson-light); }
.fineprint { font-size: 12.5px; color: var(--slate); margin-block-start: 20px; }
.dark .fineprint { color: rgba(246, 243, 236, 0.55); }
.punch { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--crimson); margin-block-start: 28px; }
.dark .punch { color: var(--crimson-light); }
.arrow { display: inline-block; width: 16px; height: 16px; margin-inline-start: 8px; vertical-align: -3px; transition: transform 0.25s var(--ease); }
a:hover > .arrow, button:hover > .arrow, .case:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-block-end: 1px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.dark .chip { background: rgba(246, 243, 236, 0.07); border-color: var(--line-dark); }

/* cards */
.cards { display: grid; gap: 16px; margin-block-start: 34px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 24px; }
.alt .card { background: #fff; }
.card h3 + p { margin-block-start: 10px; }
.card p { font-size: 15.5px; color: var(--slate); }
.card .num { display: block; font-size: 15px; margin-block-end: 44px; }
.card .for { margin-block-start: 14px; padding-block-start: 12px; border-block-start: 1px solid var(--line); font-size: 14px; color: var(--navy); font-weight: 500; }
.card .for .label { display: inline; margin-inline-end: 8px; }
.cards.four .card { padding: 26px 24px 30px; }
.cards.four h3 { font-size: 22px; }
.cards.facts { gap: 14px; margin-block-start: 26px; }
.cards.facts .card { padding: 18px 22px 20px; }
.cards.facts h3 { font-size: 18px; }
.cards.facts p { font-size: 15px; }

/* tabs: a list of choices and one visible panel. Without scripts every panel shows. */
.js [data-panel]:not(.is-on) { display: none; }
.picker { display: grid; grid-template-columns: 330px 1fr; gap: 28px; margin-block-start: 34px; }
.picker.wide { grid-template-columns: 350px 1fr; }
.picker-list { display: grid; gap: 8px; align-content: start; }
.pick { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 17px; font-weight: 600; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.pick:hover { border-color: var(--navy); }
.pick.is-on { background: var(--navy); border-color: var(--navy); color: var(--ivory); transform: translateX(6px); }
.pick.is-on .num { color: var(--crimson-light); }
.dark .pick { background: rgba(246, 243, 236, 0.05); border-color: var(--line-dark); padding-block: 12px; font-size: 16px; }
.dark .pick:hover { border-color: rgba(246, 243, 236, 0.5); }
.dark .pick.is-on { background: var(--ivory); border-color: var(--ivory); color: var(--navy); }
.dark .pick.is-on .num { color: var(--crimson); }
.picker-panels { min-width: 0; }
.picker .panel { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px 34px; }
.dark .picker .panel { background: rgba(246, 243, 236, 0.05); border-color: var(--line-dark); padding: 26px 30px; }
.js .panel.is-on { animation: panel-in 0.35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.quote { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 26px 22px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.pairs dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); margin-block-end: 6px; }
.pairs dd { font-size: 16.5px; }
.panel-lede { font-size: 19px; line-height: 1.4; font-weight: 500; }
.ticks { margin-block: 18px; display: grid; gap: 7px 26px; }
.ticks.two { grid-template-columns: 1fr 1fr; }
.ticks li { position: relative; padding-inline-start: 20px; font-size: 15.5px; color: rgba(246, 243, 236, 0.86); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 8px; height: 2px; background: var(--crimson-light); }
.walk { font-size: 15.5px; padding-block-start: 16px; border-block-start: 1px solid var(--line-dark); color: rgba(246, 243, 236, 0.86); }

/* corners (slide 2) */
.corners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.corner { display: flex; flex-direction: column; gap: 6px; min-height: 132px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.corner strong { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.corner span { font-size: 15.5px; color: var(--slate); }
.corner:hover { border-color: var(--navy); }
.corner.is-on { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.corner.is-on span { color: rgba(246, 243, 236, 0.75); }
.corner-detail { margin-block-start: 18px; padding: 16px 20px 18px; border-inline-start: 3px solid var(--crimson); background: #fff; border-radius: 0 6px 6px 0; min-height: 86px; }

/* statement (slide 3) */
.is-statement h2 { font-size: 64px; max-width: 16ch; }
.is-statement .lede { font-size: 23px; max-width: 46ch; }
.is-statement .punch { font-size: 40px; }

/* domains (slide 7) */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 30px; }
.chip-btn { font-size: 14.5px; font-weight: 600; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn.is-on { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.domain-panels { margin-block-start: 20px; }
.domain-panels .panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 30px; min-height: 216px; }
.js .domain-panels .panel:not(.is-on) { display: none; }
.domain-panels h3 { font-size: 24px; }
.domain-panels h3 + p { font-size: 17px; color: var(--slate); margin-block-start: 10px; }
.asks li { font-size: 16px; font-weight: 500; padding-block: 8px; border-block-end: 1px solid var(--line); }
.asks li:last-child { border: 0; }

/* method (slide 8) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-block-start: 30px; }
.step { position: relative; padding: 20px 20px 22px; border: 1px solid var(--line-dark); border-radius: 6px; background: rgba(246, 243, 236, 0.04); transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.step h3 { font-size: 30px; letter-spacing: -0.025em; margin-block: 10px 6px; }
.step .ask { font-size: 16px; font-weight: 600; color: var(--ivory); }
.step p { font-size: 14.5px; color: rgba(246, 243, 236, 0.72); margin-block-start: 8px; }
.step .out { margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--line-dark); color: var(--ivory); font-weight: 500; }
.step.is-on { background: var(--ivory); border-color: var(--ivory); color: var(--navy); transform: translateY(-6px); }
.step.is-on .ask, .step.is-on .out { color: var(--navy); }
.step.is-on p { color: var(--slate); }
.step.is-on .num, .step.is-on .label { color: var(--crimson); }
.step.is-on .out { border-color: var(--line); }
.loop { margin-block-start: 20px; font-size: 15px; color: rgba(246, 243, 236, 0.7); }
.loop::before { content: "↻"; margin-inline-end: 8px; color: var(--crimson-light); }

/* ways (slide 10) */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); margin-block-start: 44px; position: relative; }
.ways::before { content: ""; position: absolute; inset-inline: 0; top: 43px; height: 1px; background: var(--line); }
.ways li { position: relative; padding-inline-end: 28px; }
.ways .when { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); height: 34px; }
.ways li::before { content: ""; display: block; position: absolute; top: 37px; inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 5px var(--surface); }
.ways h3 { font-size: 30px; letter-spacing: -0.025em; margin-block-start: 44px; }
.ways p { font-size: 16px; color: var(--slate); margin-block-start: 10px; }

/* track record (slide 11): the figures on the left, the organisations behind them on the right */
.is-record h2 { max-width: none; }
.record { display: grid; grid-template-columns: 476px 1fr; gap: 44px; margin-block-start: 22px; align-items: start; }
.tally li { display: grid; grid-template-columns: 126px 1fr; gap: 14px; align-items: baseline; padding-block: 5px; border-block-start: 1px solid var(--line); }
.tally li:last-child { border-block-end: 1px solid var(--line); }
.tally strong { font-size: 25px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; color: var(--crimson); font-variant-numeric: tabular-nums; }
.tally span { font-size: 13.5px; line-height: 1.3; color: var(--navy); }
.record .label { margin-block-end: 10px; }
/* the organisations: one white sheet ruled into cells, every mark in grey at about the same weight (colour on hover) */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.logos li { display: grid; place-items: center; height: 52px; padding: 6px 12px; background: #fff; font-size: 13px; font-weight: 600; text-align: center; color: var(--slate); }
.logos img { display: block; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s ease, opacity 0.25s ease; }
.logos li:hover img { filter: none; opacity: 1; }

/* selected work (slide 12): six short rows, each opens the case */
.is-proof h2 { max-width: none; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-block-start: 28px; }
.case { display: grid; grid-template-columns: 132px 1fr 20px; gap: 16px; align-items: center; height: 100%; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s; }
.case:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(19, 36, 63, 0.08); }
.case .figure { font-size: 30px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: var(--crimson); }
.case .what { font-size: 14.5px; line-height: 1.35; color: var(--navy); }
.case .where { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-block-end: 3px; }
.case .arrow { margin: 0; }
.sheet { position: absolute; z-index: 5; inset: -12px -16px; background: var(--navy); color: var(--ivory); border-radius: 8px; padding: 44px 56px; box-shadow: 0 30px 80px rgba(19, 36, 63, 0.35); }
.sheet { display: flex; flex-direction: column; justify-content: center; }
.sheet[hidden] { display: none; }
.js .sheet:not([hidden]) { animation: panel-in 0.35s var(--ease); }
.sheet article:not(.is-on) { display: none; }
.sheet .eyebrow { color: var(--crimson-light); }
.sheet h3 { font-size: 40px; letter-spacing: -0.028em; line-height: 1.1; margin-block-start: 12px; }
.sheet .with { font-size: 17px; color: rgba(246, 243, 236, 0.75); margin-block-start: 8px; }
.sheet .pairs { grid-template-columns: 1fr 1fr 1fr; border-color: var(--line-dark); gap: 32px; margin-block: 30px 28px; padding-block-start: 26px; }
.sheet .pairs dt { color: var(--crimson-light); }
.sheet .pairs dd { font-size: 17px; }
.sheet .pairs dd strong { display: block; font-size: 38px; line-height: 1.1; letter-spacing: -0.03em; margin-block-end: 6px; }
.sheet-close { position: absolute; top: 18px; inset-inline-end: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); text-align: center; font-size: 24px; line-height: 1; }
.sheet-close:hover { background: rgba(246, 243, 236, 0.1); }

/* regions (slide 14) */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-block-start: 48px; border-block-start: 1px solid var(--line-dark); }
.regions li { padding: 26px 26px 10px 0; }
.regions li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line-dark); }
.regions h3 { font-size: 26px; letter-spacing: -0.02em; margin-block: 54px 10px; min-height: 2.5em; display: flex; align-items: flex-end; }
.regions p { font-size: 16px; color: rgba(246, 243, 236, 0.75); }

/* team (slide 14): one wall of faces, the same size for everyone; the panel on the left reads out the one picked */
.face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--line); }
.face.is-initials { display: grid; place-items: center; background: var(--navy); color: var(--ivory); font-weight: 700; letter-spacing: 0.02em; }
.roster .label { margin-block: 20px 10px; }
.roster .label:first-child { margin-block-start: 0; }
/* --cols and --face are set on the roster by src/profile.mjs from the size of the team, so the faces always fit */
.faces { display: grid; grid-template-columns: repeat(var(--cols, 8), var(--face, 64px)); gap: 10px; }
.who { display: block; border-radius: 50%; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.who .face { width: var(--face, 64px); height: var(--face, 64px); font-size: calc(var(--face, 64px) * 0.3); }
.who:hover, .who.is-on { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--crimson); }
.who-line { box-sizing: border-box; margin-block-start: 28px; padding: 18px 20px; min-height: 196px; background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--crimson); border-radius: 0 6px 6px 0; }
.who-line strong { display: block; font-size: 20px; line-height: 1.2; color: var(--navy); letter-spacing: -0.012em; }
.who-line em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); margin-block: 6px 10px; }
.who-line strong:empty, .who-line em:empty { display: none; }
.who-line span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.is-team .note { font-size: 14px; margin-block-start: 14px; }

/* cover and closing */
.cover-logo { width: auto; height: 86px; }
.is-cover .eyebrow { margin-block-start: 54px; }
.is-cover .lede { font-size: 21px; max-width: 52ch; margin-block-start: 26px; }
.cover-hint { display: flex; align-items: center; gap: 12px; margin-block-start: 44px; font-size: 14px; color: rgba(246, 243, 236, 0.62); }
.key { display: inline-grid; place-items: center; width: 34px; height: 30px; border: 1px solid var(--line-dark); border-radius: 5px; font-size: 15px; color: var(--ivory); }
.is-close .cover-logo { height: 64px; margin-block-end: 46px; }
.is-close h2 { font-size: 64px; max-width: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.btn { display: inline-flex; align-items: center; padding: 15px 24px; border-radius: 4px; background: var(--ivory); color: var(--navy); font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid var(--ivory); transition: background 0.2s, color 0.2s; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--ivory); border-color: rgba(246, 243, 236, 0.4); }
.btn.ghost:hover { background: rgba(246, 243, 236, 0.1); }
.sign { display: flex; gap: 22px; margin-block-start: 54px; font-size: 14.5px; color: rgba(246, 243, 236, 0.65); }
.sign a { color: var(--ivory); font-weight: 600; text-decoration: none; }

/* ---------- chrome: the bar on top and the dock below ---------- */
.bar { display: flex; align-items: center; gap: 16px; }
.bar-brand img { height: 22px; width: auto; }
.bar-brand .on-dark { display: none; }
.bar-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.bar-tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.tool { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; color: inherit; transition: background 0.2s; }
.tool svg { width: 16px; height: 16px; }
.tool .arrow { margin: 0; }
.tool:hover { background: rgba(19, 36, 63, 0.07); }
.dock, .overview { display: none; }

/* ---------- page: phones, and any browser without scripts ---------- */
.bar { position: sticky; top: 0; z-index: 20; padding: 12px 20px; background: var(--surface); border-block-end: 1px solid var(--line); }
.bar-tools [data-act] { display: none; }
.slide { padding: 72px 20px; }
.slide-in { max-width: 1120px; margin-inline: auto; }

@media screen and (max-width: 899px), screen and (max-height: 479px) {
  h1 { font-size: 46px; }
  h2, .is-statement h2, .is-close h2 { font-size: 31px; }
  h2::after { margin-block-start: 16px; }
  .lede, .is-statement .lede, .is-cover .lede { font-size: 17.5px; }
  .punch, .is-statement .punch { font-size: 25px; }
  .quote { font-size: 23px; }
  .bar-title { display: none; }
  .slide { padding: 60px 20px; }
  .cards.four, .cards.three, .cards.two, .picker, .picker.wide, .pairs, .sheet .pairs, .ticks.two, .domain-panels .panel, .steps, .ways, .regions, .record, .cases { grid-template-columns: 1fr; }
  .card .num { margin-block-end: 18px; }
  .pick.is-on { transform: none; }
  .picker .panel, .dark .picker .panel { padding: 22px 20px; }
  .corner { min-height: 0; }
  .corner strong { font-size: 21px; }
  .domain-panels .panel { gap: 18px; padding: 22px 20px; }
  .step.is-on { transform: none; }
  .ways { margin-block-start: 30px; gap: 26px; }
  .ways::before, .ways li::before { display: none; }
  .ways .when { height: auto; }
  .ways h3 { margin-block-start: 4px; font-size: 25px; }
  .record { gap: 30px; }
  .tally li { grid-template-columns: 104px 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos::after { content: ""; background: #fff; grid-column: auto / -1; }   /* fills the last row when the count does not divide by three */
  .case { grid-template-columns: 96px 1fr 18px; }
  .case .figure { font-size: 24px; }
  .regions { border: 0; margin-block-start: 26px; }
  .regions li, .regions li + li { padding: 20px 0; border: 0; border-block-start: 1px solid var(--line-dark); }
  .regions h3 { margin-block-start: 8px; }
  .faces { grid-template-columns: repeat(auto-fill, 54px); gap: 10px; }
  .who .face { width: 54px; height: 54px; font-size: 16px; }
  .who-line { min-height: 0; margin-block-end: 22px; }
  .roster { margin-block-start: 26px; }
  .regions h3 { min-height: 0; }
  .cover-logo { height: 62px; }
  .is-cover .eyebrow { margin-block-start: 36px; }
  .cover-hint { display: none; }
  .sign { flex-direction: column; gap: 4px; }
  .sheet { position: fixed; inset: 0; border-radius: 0; padding: 64px 22px 30px; overflow: auto; z-index: 40; }
  .sheet h3 { font-size: 28px; }
  .sheet .pairs { gap: 20px; }
  .is-cover, .is-close { min-height: 86vh; display: grid; align-items: center; }
}

/* reveal: each marked element rises in when its slide is shown */
@media screen and (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(16px); }
  .js .is-active [data-rise] { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 140ms); }
}

/* ---------- deck: one slide at a time ---------- */
@media screen and (min-width: 900px) and (min-height: 480px) {
  html.js, html.js body { height: 100%; overflow: hidden; }
  html.js body { background: var(--navy); }
  html.js .frame { position: fixed; top: 0; left: 0; width: 1280px; height: 720px; transform-origin: 0 0; }
  html.js .deck { position: absolute; inset: 0; }
  html.js .slide { position: absolute; inset: 0; padding: 0; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity 0.45s var(--ease), visibility 0s 0.45s; }
  html.js .slide.is-active { visibility: visible; opacity: 1; transition: opacity 0.45s var(--ease); z-index: 2; }
  html.js .slide-in { width: 1120px; height: 564px; max-width: none; margin: 0; }
  html.js .slide-in { display: flex; flex-direction: column; }
  html.js .is-cover .slide-in, html.js .is-statement .slide-in, html.js .is-close .slide-in { justify-content: center; align-items: flex-start; }
  html.js .is-split .slide-in { display: grid; grid-template-columns: 500px 1fr; gap: 64px; align-items: center; }
  html.js .is-split h2 { margin-block-start: 14px; }
  html.js .is-team .slide-in { grid-template-columns: 410px 1fr; gap: 70px; }
  html.js .is-proof .slide-in, html.js .is-record .slide-in { justify-content: center; }
  /* the main block of a slide grows to fill what the heading leaves, so no slide ends half empty */
  html.js .fill { flex: 1; min-height: 0; }
  html.js .cards.fill { grid-auto-rows: 1fr; }
  html.js .cards.four .card { display: flex; flex-direction: column; }
  html.js .cards.four .card h3 { margin-block-start: auto; }
  html.js .cards.four .num, html.js .regions .num { font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; margin: 0; }
  html.js .regions h3 { font-size: 29px; }
  html.js .regions p { font-size: 17px; }
  html.js .cards.four .card p { min-height: 4.6em; }
  html.js .cards.three:not(.cases) .card { display: flex; flex-direction: column; }
  html.js .cards.three:not(.cases) .card .for { margin-block-start: auto; }
  html.js .picker.fill { grid-template-rows: minmax(0, 1fr); }
  html.js .picker-list { grid-auto-rows: minmax(0, 1fr); align-content: stretch; }
  html.js .picker-panels { min-height: 0; }
  html.js .picker .panel.is-on { display: flex; flex-direction: column; }
  html.js .picker .panel > .chips, html.js .picker .panel > .walk { margin-block-start: auto; }
  html.js .domains { display: flex; flex-direction: column; }
  html.js .domain-panels { flex: 1; }
  html.js .domain-panels .panel { height: 100%; align-items: center; }
  html.js .steps { align-items: stretch; }
  html.js .step { display: flex; flex-direction: column; }
  html.js .step .out { margin-block-start: auto; }
  html.js .regions li { display: flex; flex-direction: column; }
  html.js .regions h3 { margin-block-start: auto; }
  html.js .regions p { min-height: 4.6em; }
  html.js .ways { align-content: center; }
  html.js .is-long h2 { font-size: 38px; max-width: none; }

  html.js .bar { position: absolute; z-index: 10; top: 0; inset-inline: 0; height: 72px; padding: 0 40px; background: none; border: 0; color: var(--navy); transition: color 0.3s; }
  html.js .bar-tools [data-act] { display: inline-flex; }
  html.js .dock { display: block; position: absolute; z-index: 10; bottom: 0; inset-inline: 0; height: 64px; color: var(--navy); transition: color 0.3s; }
  html.js .count { position: absolute; inset-inline-start: 40px; bottom: 20px; display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
  html.js .count b { font-size: 15px; font-weight: 700; }
  html.js .count span { opacity: 0.55; }
  html.js .count em { font-style: normal; opacity: 0.55; margin-inline-start: 10px; padding-inline-start: 14px; border-inline-start: 1px solid currentColor; }
  html.js .dock-nav { position: absolute; inset-inline-end: 40px; bottom: 14px; display: flex; gap: 8px; }
  html.js .nav-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; opacity: 0.75; transition: opacity 0.2s, background 0.2s; }
  html.js .nav-btn svg { width: 18px; height: 18px; }
  html.js .nav-btn:hover { opacity: 1; background: rgba(127, 127, 127, 0.16); }
  html.js .nav-btn:disabled { opacity: 0.25; cursor: default; }
  html.js .progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(127, 127, 127, 0.22); }
  html.js .progress i { display: block; height: 100%; width: 0; background: var(--crimson); transition: width 0.45s var(--ease); }

  html.js .on-dark-slide .bar, html.js .on-dark-slide .dock { color: var(--ivory); }
  html.js .on-dark-slide .bar-brand .on-light { display: none; }
  html.js .on-dark-slide .bar-brand .on-dark { display: block; }
  html.js .on-dark-slide .bar-title { color: rgba(246, 243, 236, 0.6); border-color: var(--line-dark); }
  html.js .on-dark-slide .tool:hover { background: rgba(246, 243, 236, 0.1); }
  html.js .on-dark-slide .progress i { background: var(--crimson-light); }

  html.js .overview { position: absolute; z-index: 30; inset: 0; background: var(--navy); color: var(--ivory); padding: 0 40px 40px; }
  html.js .overview:not([hidden]) { display: block; animation: panel-in 0.3s var(--ease); }
  html.js .overview-head { height: 72px; display: flex; align-items: center; justify-content: space-between; }
  html.js .overview-head p { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson-light); }
  html.js .overview ol { width: 1120px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  html.js .overview ol button { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 94px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 6px; font-size: 17px; font-weight: 600; transition: background 0.2s, border-color 0.2s; }
  html.js .overview ol button:hover, html.js .overview ol button[aria-current] { background: rgba(246, 243, 236, 0.09); border-color: rgba(246, 243, 236, 0.5); }
  html.js .overview ol button[aria-current] { border-color: var(--crimson-light); }
  html.js .overview .tool:hover { background: rgba(246, 243, 236, 0.1); }
}

/* ---------- print: one slide per page ---------- */
@page { size: 1280px 720px; margin: 0; }
@media print {
  html, body { background: #fff !important; height: auto !important; overflow: visible !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .bar { position: static; }
  .bar, .dock, .overview, .skip, .live, .profile-flock, .cover-hint, .sheet, .who-line { display: none !important; }
  .frame { position: static !important; transform: none !important; width: auto !important; height: auto !important; }
  .slide { position: relative !important; visibility: visible !important; opacity: 1 !important; width: 1280px; height: 720px; padding: 0 !important; display: grid !important; place-items: center; break-after: page; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .slide-in { width: 1120px; height: 564px; max-width: none; margin: 0; }
  .slide-in { display: flex; flex-direction: column; }
  .is-cover .slide-in, .is-statement .slide-in, .is-close .slide-in { justify-content: center; align-items: flex-start; }
  .is-split .slide-in { display: grid; grid-template-columns: 500px 1fr; gap: 64px; align-items: center; }
  .fill { flex: 1; min-height: 0; }
  .cards.fill { grid-auto-rows: 1fr; }
  .is-team .slide-in { grid-template-columns: 410px 1fr; gap: 70px; }
  .is-proof .slide-in, .is-record .slide-in { justify-content: center; }
  .is-long h2 { font-size: 38px; max-width: none; }
  .picker.fill { grid-template-rows: minmax(0, 1fr); }
  .picker-list { grid-auto-rows: minmax(0, 1fr); align-content: stretch; }
  .cards.four .card, .regions li, .step, .picker .panel.is-on { display: flex; flex-direction: column; }
  .cards.four .card h3, .regions h3, .step .out, .picker .panel > .chips, .picker .panel > .walk { margin-block-start: auto; }
  .cards.four .num, .regions .num { font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; margin: 0; }
  .domains { display: flex; flex-direction: column; }
  .domain-panels { flex: 1; }
  .domain-panels .panel { height: 100%; align-items: center; }
  [data-rise] { opacity: 1 !important; transform: none !important; }
}
