/* E · Catalogue — everything DGP has built, numbered.
   Near-white ground, pure black type, giant condensed Archivo (wdth 62) with tabular numerals.
   A brand's colour only appears while that brand is active. Grounds is set in Instrument Serif. */

:root {
  --bg: #f2f2f0;
  --ink: #000;
  --dim: #5c5c58;
  --rule: rgb(0 0 0 / .16);
  --paper: #fff;
  --inv: #fff;
  --pad: clamp(16px, 3.2vw, 48px);
  --sans: 'Archivo', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums lining-nums; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--inv); padding: 10px 14px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

/* Display: the catalogue's voice. Condensed, heavy, set tight. */
.x { font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .84;
  letter-spacing: -.004em; font-variant-numeric: tabular-nums lining-nums; }
.x em, h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; font-stretch: 100%; }
.gr-word { font-family: var(--serif); font-weight: 400; text-transform: none; font-stretch: 100%; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; max-width: 44ch; margin: 0; }
.muted { color: var(--dim); }

/* Buttons: two, one primary. */
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-block; line-height: 44px; min-height: 48px; padding: 0 20px; text-align: center; border: 2px solid currentColor;
  font-weight: 700; font-size: 16px; letter-spacing: .005em; white-space: nowrap; }
.btn.pri { background: var(--ink); color: var(--inv); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--inv); border-color: var(--ink); }
  .btn.pri:hover { background: transparent; color: var(--ink); }
}

/* Needs input: a dashed blank, never a made-up value. */
.need { display: inline-flex; align-items: center; gap: .4em; padding: 2px 8px; border: 1.5px dashed currentColor; border-radius: 2px;
  font: 600 13px/1.4 var(--sans); font-stretch: 100%; text-transform: none; letter-spacing: 0; white-space: nowrap; color: inherit; opacity: .8; cursor: help; }

/* ── Header ─────────────────────────────────────────── */
/* The header stays at the top while the page scrolls. It has the page ground behind it so content passes under it
   cleanly; while a catalogue row is lit the reel shows through, so it goes clear then (body.lit below). */
.top { position: sticky; top: 0; background: var(--bg); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad); }
.mark { font: 900 30px/1 var(--sans); font-stretch: 62%; letter-spacing: .01em; display: flex; align-items: center; height: 1em; }
/* The wordmark is an outlined SVG (site.js DGP_MARK): sized in em of the old type so it sits where the text did. */
.dgp-mark { display: block; height: .712em; width: auto; margin-left: .04em; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); font-weight: 600; font-size: 16px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { border-color: currentColor; } }
.menu-btn { display: none; min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 700; font-size: 16px; cursor: pointer; }
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 4px var(--pad) 20px; background: var(--bg); color: var(--ink); border-bottom: 2px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { font: 800 44px/1.04 var(--sans); font-stretch: 62%; text-transform: uppercase; padding: 6px 0; border: 0; border-top: 1px solid var(--rule); }
}

/* ── The catalogue (home hero, companies page) ─────── */
.cat { --big: clamp(52px, min(10.4vh, 8.4vw), 148px); position: relative; z-index: 2; padding: 0 var(--pad) 28px; min-height: calc(100svh - 70px); display: flex; flex-direction: column; }
/* top-aligned (the user, 2026-11-16): the lede's first line starts level with the top of "WE BUILD BRANDS." —
   the h1's cap top sits 6.3px into its box and the lede's 6.7px into its box, so aligning the boxes aligns the letters */
.cat-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px 48px; align-items: start; padding: clamp(12px, 3vh, 36px) 0 clamp(18px, 3.4vh, 40px); }
.cat-head h1 { margin: 0; font-size: clamp(56px, 7.4vw, 124px); }
.cat-head .side { display: grid; gap: 20px; justify-items: start; }
.cat-head .lede { max-width: 34ch; }
.ix-cols, .ix-row a { display: grid; grid-template-columns: calc(var(--big) * 1.06) minmax(0, 1fr) 160px 12ch 13ch 1.2ch; column-gap: clamp(14px, 2vw, 32px); align-items: baseline; }
.ix-cols { font-size: 13px; font-weight: 600; color: var(--dim); padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.ix-cols span:nth-child(1) { grid-column: 1 / 3; }
.ix { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.ix-row { flex: 1; border-bottom: 1px solid var(--rule); display: flex; }
.ix-row a { flex: 1; padding: clamp(4px, .8vh, 10px) 0 clamp(2px, .5vh, 6px); align-content: center; min-height: 64px; }
.ix-row .no, .ix-row .nm { font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .82;
  font-size: var(--big); letter-spacing: -.004em; }
.ix-row .no { font-weight: 500; }
.ix-row .nm { white-space: nowrap; }
.ix-row .nm .gr-word { font-size: 1.04em; line-height: .8; }
/* Plain rows on the index (Rx.Me, formerly Dermacare): Archivo at normal width, medium weight, sentence case (2026-11-10) */
.ix-row .nm .ar-word { font-family: var(--sans); font-stretch: 100%; font-weight: 500; text-transform: none; letter-spacing: -.01em; font-size: .72em; line-height: 1; }
.ix-row .mk { display: flex; align-items: center; height: 28px; align-self: center; }
.ix-row .mk img { height: var(--lh, 22px); width: auto; max-width: 140px; }
.ix-row .mk .gr-word { font-size: 30px; line-height: 1; }
.ix-row .mk .l { display: none; }
.ix-row .yr { font-weight: 600; font-size: 17px; }
.ix-row .mk, .ix-row .yr, .ix-row .st, .ix-row .go { align-self: center; }
.ix-row .st { font-size: 15px; font-weight: 600; justify-self: start; padding: 2px 8px; margin-left: -8px; }
.ix-row .go { font-size: 22px; font-weight: 600; justify-self: end; }
.ix-row .line { display: none; }
.cat.detail .ix-row .line { display: block; grid-column: 2 / 6; font-size: 16px; color: var(--dim); padding-top: 8px; }

/* The hook: a row lit → its reel fills the viewport behind the type, the type turns white. No fades. */
.stage { position: fixed; inset: 0; z-index: 1; visibility: hidden; background: #000; pointer-events: none; }
.stage.on { visibility: visible; }
.stage .layer { position: absolute; inset: 0; visibility: hidden; background: #000 var(--poster, none) center / cover no-repeat; }
.stage .layer.on { visibility: visible; }
.stage .layer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / .42), rgb(0 0 0 / .22) 40%, rgb(0 0 0 / .5)); }
.stage .layer.plain { background: #1b1a17; }
/* Rx.Me's roll-over is full screen like the others (2026-11-15, rxme-full): a bold take on rx.me in a browser window
   that sits in the open band right of the names. Its copy avoids the index, so the navy scrim stays light. */
.stage .layer[data-k="rxme"] { background-color: #001a52; }
.stage .layer[data-k="rxme"]::after { background: linear-gradient(rgb(0 16 56 / .3), rgb(0 16 56 / .12) 40%, rgb(0 16 56 / .36)); }
/* Phones play the tall cut (rxme-full-m: the patient flow as motion, no words); a medium scrim keeps the names on top. */
@media (max-aspect-ratio: 4/5), (max-width: 720px) { .stage .layer[data-k="rxme"]::after { background: linear-gradient(rgb(0 16 56 / .45), rgb(0 16 56 / .3) 40%, rgb(0 16 56 / .5)); } }
/* When a screen wider than 9:16 (portrait tablets) crops the tall cut top and bottom, keep the crop high enough that
   the nurses' heads stay in frame (2026-11-22; was 58% for the old diagram copy). */
.stage .layer video[data-reel="rxme-full-m"] { object-position: 50% 35%; }
.stage .layer[data-reel-k="rxme-full-m"] { background-position: 50% 35%; }
/* Phones: the clip lives in the catalogue section (site.js .cat-reel), behind the rows, and scrolls with them. */
.cat-reel { position: absolute; inset: 0; z-index: -1; visibility: hidden; pointer-events: none; overflow: hidden;
  background: #001a52 var(--poster, none) 50% 58% / cover no-repeat; }
.cat-reel.on { visibility: visible; }
.cat-reel video[data-reel] { object-position: 50% 35%; } /* 2026-11-22: keep the nurses' heads in frame (was 58%) */
.cat-reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(0 16 56 / .45), rgb(0 16 56 / .3) 40%, rgb(0 16 56 / .5)); }
/* A plain row with no confirmed year (Rx.Me) shows its name instead, sized to fit the width */
.stage .layer.plain .big:not(.num) { font-size: min(40vh, 24vw); white-space: nowrap; }
.stage .big { position: absolute; right: var(--pad); bottom: -.08em; font: 800 min(62vh, 52vw)/.8 var(--sans); font-stretch: 62%; color: rgb(255 255 255 / .1); }
.stage .layer.yours { background: #000; }
.stage .layer.yours .big { color: rgb(255 255 255 / .16); }
.stage .layer.yours .big small { display: block; font-size: .08em; font-stretch: 100%; font-weight: 600; text-align: right; line-height: 1; margin-top: .3em; color: rgb(255 255 255 / .6); }
html video[data-reel][poster] { opacity: 1; transition: none; } /* reels never fade in this direction: they start in place on their first frame */

body.lit .top, body.lit .cat { color: var(--inv); }
body.lit .top { background: transparent; }
/* Once scrolling starts, a blurred bar sits behind the clear header so it reads over the reel (2026-11-15).
   It is a pseudo-element, not backdrop-filter on .top itself, which would trap the fixed phone menu inside the bar. */
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: rgb(13 13 12 / .28); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgb(255 255 255 / .1); transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1); }
body.lit .top.scrolled:not(.menu-open)::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .top::before { transition: none; } }
body.lit .top .menu-btn { color: var(--inv); }
body.lit .cat .btn { border-color: var(--inv); }
body.lit .cat .btn.pri { background: var(--inv); color: var(--ink); }
body.lit .ix-cols { color: rgb(255 255 255 / .7); }
body.lit .ix-row { border-color: rgb(255 255 255 / .22); }
body.lit .ix-row:not(.on) { color: rgb(255 255 255 / .34); }
body.lit .ix-row .mk .d { display: none; }
body.lit .ix-row .mk .l { display: block; }
body.lit .cat.detail .ix-row .line { color: rgb(255 255 255 / .75); }
.ix-row.on .st { background: var(--c, #fff); color: var(--on-c, #000); }
body.lit .cat-head .lede, body.lit .ix-cols { text-shadow: 0 1px 12px rgb(0 0 0 / .35); }

@media (max-width: 900px) {
  .cat { min-height: 0; }
  .cat-head { grid-template-columns: 1fr; padding-top: 18px; }
  .ix-cols { display: none; }
  /* 2026-11-22: no rule above the first index row on narrow screens (the user) */
  .ix-row a { grid-template-columns: 2.4ch minmax(0, 1fr) auto auto; grid-template-rows: auto auto; row-gap: 8px; column-gap: 10px; padding: 12px 0 12px; align-items: start; }
  .ix-row .no { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: 0; grid-row: 1; }
  .ix-row .nm { grid-column: 2 / 5; grid-row: 1; font-size: clamp(46px, 14.5vw, 88px); }
  .ix-row .mk { grid-column: 2; grid-row: 2; height: 24px; }
  .ix-row .mk img { height: min(var(--lh, 22px), 18px); }
  .ix-row .mk .gr-word { display: none; }
  .ix-row .yr, .ix-row .st { grid-row: 2; font-size: 15px; }
  .ix-row .st { grid-column: 3; margin-left: 0; padding: 1px 6px; }
  .ix-row .yr { grid-column: 4; justify-self: end; }
  .ix-row .go { display: none; }
  .cat.detail .ix-row .line { grid-column: 2 / 5; grid-row: 3; padding-top: 0; }
}

/* ── Bands (home flow 2–9) ─────────────────────────── */
.band { position: relative; z-index: 2; background: var(--bg); padding: clamp(64px, 11vh, 140px) var(--pad); border-top: 2px solid var(--ink); }
/* The index's last row rule closes the catalogue; no heavy rule under it (2026-11-15). */
.cat + .band { border-top: 0; }
.band > h2, .band .h2 { margin: 0 0 clamp(28px, 4vh, 48px); font-size: clamp(44px, 6.4vw, 104px); max-width: 24ch; }


/* 3 · Mission */
.mission h2 { font-size: clamp(60px, 11.2vw, 210px); max-width: none; margin-bottom: clamp(28px, 5vh, 56px); }
.mission p { margin: 0 0 0 auto; max-width: 52ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }

/* 4 · Rules: three oversized numbered statements */
.rules ol { list-style: none; margin: 0; padding: 0; }
.rules li { display: grid; grid-template-columns: clamp(64px, 11vw, 200px) minmax(0, 1fr) minmax(0, 34ch); gap: 8px clamp(16px, 3vw, 48px); align-items: start;
  padding: clamp(18px, 3vh, 32px) 0; border-top: 1px solid var(--rule); }
.rules .n { font-size: clamp(64px, 11vw, 200px); line-height: .78; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.rules h3 { margin: 0; font-size: clamp(40px, 5.2vw, 92px); }
.rules p { margin: 0; padding-top: 4px; }
@media (max-width: 900px) {
  .rules li { grid-template-columns: 56px minmax(0, 1fr); }
  .rules .n { font-size: 64px; -webkit-text-stroke-width: 1.5px; }
  .rules p { grid-column: 2; }
}

/* 5 · What we build */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); }
.tile a { display: grid; gap: 14px; }
/* "Built to be #1", set like a catalogue count (2026-11-15): the words on the left, a large #1 flush right,
   both on the heading's own 2px rule. Same move as the role counts on Careers and the index's year column. */
.band > #build-h { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
#build-h .n1 { font-size: 2.6em; font-weight: 900; line-height: .76; letter-spacing: -.01em; }
.tile .media { aspect-ratio: 4 / 5; background: #111 var(--poster) center / cover no-repeat; position: relative; }
.tile .media .tag { position: absolute; left: 12px; top: 10px; z-index: 2; color: #fff; font: 800 44px/.9 var(--sans); font-stretch: 62%; text-shadow: 0 1px 14px rgb(0 0 0 / .4); }
/* .who hover fill: short ease-out, quicker on the way out; fill, text colour and logo swap share one clock */
.tile .who { --who-t: 150ms; --who-ease: cubic-bezier(0.25, 1, 0.5, 1);
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  /* One fixed height for every label (logos differ in height), so the rules and the lines under them align across tiles.
     Logos sit on one line 10px above the rule, so the logo-to-tagline gap is the same on every tile (2026-11-10) */
  height: 48px; border-bottom: 2px solid var(--ink); padding: 0 0 10px; transition: color var(--who-t) var(--who-ease); }
/* At rest the logo sits flush with the reel and the tagline; on hover it slides in 14px so it clears the fill's edge (2026-11-10) */
.tile .who > * { transition: transform var(--who-t) var(--who-ease); }
.tile .who::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--ink)); transform: translate3d(0, 100%, 0); will-change: transform; transition: transform var(--who-t) var(--who-ease); }
.tile .who .lg { display: grid; }
.tile .who .lg img { grid-area: 1 / 1; height: var(--lh, 20px); width: auto; transition: opacity var(--who-t) var(--who-ease); }
.tile .who .lg .l { opacity: 0; filter: invert(1); } /* the hover copy of the (black) logo shows white on the brand fill (2026-11-15) */
.tile .who .gr-word { font-size: 32px; line-height: 1; color: #000; }
.tile .who span:last-child:not(.gr-word):not(.lg):not(.rx-word) { font-size: 14px; font-weight: 600; color: var(--dim); }
.tile p { margin: 0; }
.tile p em { font-family: var(--serif); font-size: 1.12em; }
.closer { margin: clamp(28px, 4vh, 44px) 0 0; font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; line-height: 1.2; max-width: 30ch; }
@media (hover: hover) and (pointer: fine) and (min-width: 721px) {
  /* Hover fills the .who band with the brand colour, sliding up from the bottom; leaving slides it back down.
     Not on the phone layout, where the band has no height or rule to fill. */
  .tile a:hover .who { --who-t: 200ms; color: var(--on-c, #000); }
  .tile a:hover .who::before { transform: translate3d(0, 0, 0); }
  .tile a:hover .who > * { transform: translate3d(14px, 0, 0); }
  .tile a:hover .who .lg .d { opacity: 0; }
  .tile a:hover .who .lg .l { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .tile .who, .tile .who::before, .tile .who > *, .tile .who .lg img { transition: none; } }
/* Desktop (2026-11-15): the tiles are a larger horizontal carousel that bleeds to the page edges and snaps
   tile by tile; the previous/next buttons under it serve mouse users. Tablet and phone keep the grid below. */
.tiles-nav { display: none; }
@media (min-width: 901px) {
  .tiles { display: flex; gap: clamp(14px, 1.4vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles::after { content: ""; flex: 0 0 1px; } /* keeps the end padding when scrolled all the way */
  /* About 2.6 tiles in view, so the cut-off one says "there's more". */
  .tile { flex: 0 0 clamp(340px, 36vw, 600px); scroll-snap-align: start; }
  .tiles-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: clamp(20px, 3vh, 32px); }
  .tiles-nav button { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 0;
    background: none; color: var(--ink); font: 700 22px/1 var(--sans); cursor: pointer; transition: background 150ms ease-out, color 150ms ease-out, opacity 150ms ease-out; }
  .tiles-nav button:disabled { opacity: .25; cursor: default; }
  .tiles-nav button:active:not(:disabled) { transform: scale(.96); }
  .tiles-nav button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .tiles-nav button:hover:not(:disabled) { background: var(--ink); color: var(--inv); }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) { .tiles { scroll-behavior: smooth; } }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile .media { aspect-ratio: 1; }
  /* Five tiles in two columns: the last one runs the full width rather than sitting alone. */
  .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } .tile:last-child:nth-child(odd) .media { aspect-ratio: 2.1; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile .media { aspect-ratio: 16 / 10; } }
/* Phones: no rule under the brand band on tiles, and no band padding, so the logo lines up with
   the reel and the tagline and sits close to its tagline (2026-11-10) */
@media (max-width: 720px) { .tiles { row-gap: 36px; } .tile .who { border-bottom: 0; height: auto; padding: 6px 0 0; } }

/* 6 · Engine: five platform words, the brand numbers under each */
.engine .body { margin: 0 0 clamp(36px, 6vh, 64px); max-width: 56ch; font-size: clamp(18px, 1.5vw, 22px); }
.plats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.plats li { min-width: 0; padding: 18px clamp(8px, 1vw, 16px) 18px 0; border-right: 1px solid var(--rule); display: grid; gap: 18px; align-content: space-between; min-height: 200px; }
.plats li + li { padding-left: clamp(8px, 1vw, 16px); }
.plats li:last-child { border-right: 0; }
.plats b { font-size: clamp(22px, 2.1vw, 38px); font-weight: 800; line-height: 1.02; overflow-wrap: anywhere; hyphens: none; }
.plats .nos { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; font-size: 16px; }
.plats .nos span { min-width: 2ch; }
.engine .foot-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 15px; color: var(--dim); }
@media (max-width: 900px) {
  .plats { grid-template-columns: 1fr; }
  .plats li, .plats li + li { min-height: 0; grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .plats b { font-size: clamp(32px, 9.4vw, 60px); white-space: normal; }
  .plats .nos { flex-wrap: nowrap; }
}

/* 7 · People: dense face wall */
.people .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 4vh, 48px); }
.people .intro h2 { margin: 0; }
.people .intro p { margin: 0; }
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 2px; }
.wall a { display: block; aspect-ratio: 3 / 4; background: #ddd; position: relative; overflow: hidden; }
.wall img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.wall a:focus-visible { outline-offset: -2px; z-index: 1; }
.wall a:focus-visible img { filter: none; }
@media (hover: hover) and (pointer: fine) { .wall a:hover img { filter: none; } }
.wall-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-top: 16px; min-height: 28px; font-weight: 600; }
.wall-cap .who { font-size: 18px; }
.wall-cap .who .num { color: var(--dim); margin-right: 10px; }
/* 2026-11-22: the button stays at the right when a long name wraps the row; on phones the name gets its own line
   (reserved even when empty) so neither the button nor the page below moves as names come and go */
.wall-cap .btn { margin-left: auto; }
@media (max-width: 720px) { .wall-cap .who { flex: 1 0 100%; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } }
.people .quotes { margin-top: 22px; color: var(--dim); font-size: 15px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 1100px) { .wall { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .people .intro { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wall li:nth-child(n+43) { display: none; }
}

/* 8 · Where (home + contact) */
.where { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px clamp(24px, 4vw, 64px); align-items: start;
  --map-land: rgb(0 0 0 / .05); --map-line: rgb(0 0 0 / .22); --map-on: rgb(0 0 0 / .2); --map-remote: rgb(0 0 0 / .1);
  --map-pin: #000; --map-label: #000; --map-halo: var(--bg); --map-font: 'Archivo', sans-serif; }
.where .map p { margin: 14px 0 0; color: var(--dim); font-size: 15px; }
.offices { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.offices li { padding: 16px 0 18px; cursor: default; outline-offset: -2px; }
/* 2026-11-22 (the user: "restrict the underline to only the city names"): each office's rule sits under its city name only,
   not across the row; the lit office's thick underline is on the city too. */
.offices h3 .ct { font: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.offices h3 { margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: clamp(44px, 4.6vw, 76px); }
.offices h3 span { font: 600 15px/1 var(--sans); text-transform: none; color: var(--dim); }
.offices p { margin: 0; max-width: 46ch; }
.offices li.on h3 .ct { text-decoration-color: currentColor; text-decoration-thickness: 4px; text-underline-offset: 6px; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }

/* 9 · Close: 06 is yours */
.close { background: var(--ink); color: var(--inv); border-top: 0; }
.close .six { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 48px); align-items: end; margin-bottom: clamp(32px, 6vh, 64px); }
.close .six .n { font-size: clamp(140px, 26vw, 420px); line-height: .76; }
.close .six h2 { margin: 0; font-size: clamp(40px, 5.4vw, 92px); max-width: 13ch; }
.close .six .yours { display: block; font: 600 16px/1.3 var(--sans); text-transform: none; margin-bottom: 14px; color: rgb(255 255 255 / .7); }
.paths { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--inv); }
.paths a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / .25); }
.paths b { font-size: clamp(48px, 7vw, 120px); }
.paths .c { font-size: clamp(48px, 7vw, 120px); }
.paths .m { grid-column: 1 / -1; color: rgb(255 255 255 / .72); }
@media (hover: hover) and (pointer: fine) { .paths a:hover b { text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 8px; } }
.close .mail { margin: 28px 0 0; font-size: 18px; }
.close .mail a { border-bottom: 2px solid currentColor; font-weight: 600; }
@media (max-width: 900px) { .close .six { grid-template-columns: 1fr; } .close .six .n { font-size: 52vw; } .close .six h2 { max-width: none; } }

/* ── Inner pages ───────────────────────────────────── */
.head { position: relative; z-index: 2; padding: clamp(28px, 7vh, 88px) var(--pad) clamp(28px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.head h1 { margin: 0; font-size: clamp(56px, 8.6vw, 150px); }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } }
.sec { padding: clamp(48px, 9vh, 110px) var(--pad); border-top: 2px solid var(--ink); position: relative; z-index: 2; background: var(--bg); }
.sec > h2 { margin: 0 0 28px; font-size: clamp(40px, 5.4vw, 92px); max-width: 18ch; }
.prose p { margin: 0 0 1em; max-width: 62ch; }
.prose .note { font-size: 14px; color: var(--dim); }
/* Back button (2026-11-15): arrow + "Back", a 44px hit area, the arrow nudges left on hover like the → arrows nudge right */
.crumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 var(--pad); padding-right: 6px; font-weight: 700; font-size: 16px; }
.crumb .bk { display: inline-block; font-size: 1.25em; line-height: 1; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .crumb:hover span:last-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .crumb:hover .bk { transform: translateX(-4px); }
}
@media (prefers-reduced-motion: reduce) { .crumb .bk { transition: none; } }

/* Filter bar (careers, team) */
.bar { position: relative; z-index: 2; padding: 0 var(--pad) 16px; display: grid; gap: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--ink); justify-self: start; max-width: 100%; }
.seg button { min-height: 48px; padding: 0 18px; border: 0; border-right: 2px solid var(--ink); background: none; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--inv); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 40px; padding: 0 12px; border: 1.5px solid var(--ink); background: none; font-weight: 600; font-size: 15px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--inv); }
.bar-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.count { margin: 0; font-weight: 600; color: var(--dim); }
.track-note { margin: 0; color: var(--dim); }
.empty { padding: 40px var(--pad) 64px; position: relative; z-index: 2; }
.empty p { font-size: 22px; margin: 0 0 16px; }

/* Index list (careers, team) */
.list { list-style: none; margin: 0; padding: 0 var(--pad); position: relative; z-index: 2; border-top: 0; }
.list > li { border-bottom: 1px solid var(--rule); }
.list > li:first-child { border-top: 2px solid var(--ink); }
/* Careers: no heavy rules above the roles or under them (2026-11-15); the thin row lines stay */
#roles > li:first-child { border-top: 0; }
body[data-page="careers"] .sec { border-top: 0; }
body[data-page="about"] .sec, body[data-page="about"] .foot { border-top: 0; } /* 2026-11-22: no rules on About */
body[data-page="about"] .say + .sec { border-top: 2px solid var(--ink); } /* 2026-11-22: one divider, under the hero */
body[data-page="home"] .band, body[data-page="home"] .foot { border-top: 0; } /* 2026-11-22: no section dividers on home either */
.list a { display: grid; grid-template-columns: 3ch minmax(0, 1fr) 16ch 18ch 8ch 7ch; gap: 6px clamp(12px, 1.6vw, 28px); align-items: baseline; padding: 14px 0 12px; }
.list .no { font-weight: 700; color: var(--dim); }
.list .t { font-size: clamp(30px, 3.2vw, 52px); }
.list .meta { display: contents; }
.list .d, .list .l, .list .md { font-size: 15px; }
.list .ap { font-weight: 700; justify-self: end; border-bottom: 2px solid currentColor; }
@media (hover: hover) and (pointer: fine) { .list a:hover { background: var(--ink); color: var(--inv); box-shadow: -12px 0 0 var(--ink), 12px 0 0 var(--ink); } .list a:hover .no { color: inherit; } }
@media (max-width: 900px) {
  .list a { grid-template-columns: 3ch minmax(0, 1fr) auto; }
  .list .t { grid-column: 2 / 4; font-size: clamp(30px, 9vw, 44px); }
  .list .meta { grid-column: 2; display: block; font-size: 15px; color: var(--dim); }
  .list .meta > span + span::before { content: ' · '; }
  .list .ap { grid-column: 3; grid-row: 2; align-self: end; }
  .seg { display: grid; grid-template-columns: auto 1fr 1fr; justify-self: stretch; }
  .seg button { padding: 6px 10px; font-size: 15px; justify-content: center; text-align: center; min-height: 56px; flex-direction: column; gap: 0; line-height: 1.2; }
}

/* Team list */
.team a { grid-template-columns: 4ch 52px minmax(0, 1fr) minmax(0, 1fr) 20ch; align-items: center; padding: 8px 0; }
.team img { width: 52px; height: 66px; object-fit: cover; filter: grayscale(1); background: #ddd; }
.team .t { font-size: clamp(28px, 2.8vw, 44px); }
@media (max-width: 900px) {
  .team a { grid-template-columns: 4ch 48px minmax(0, 1fr); }
  .team img { grid-row: 1 / 3; width: 48px; height: 60px; }
  .team .t { grid-column: 3; font-size: 30px; }
  .team .r { grid-column: 3; font-size: 15px; }
  .team .d { display: none; }
  .team .no { grid-row: 1 / 3; align-self: center; }
}

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px clamp(24px, 4vw, 64px); padding: 24px var(--pad) clamp(48px, 8vh, 96px); position: relative; z-index: 2; align-items: end; }
.person figure { margin: 0; aspect-ratio: 3 / 4; background: #ddd; max-height: 78svh; }
.person figure img { width: 100%; height: 100%; object-fit: cover; }
.person .no { font-size: clamp(80px, 12vw, 200px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.person h1 { margin: 16px 0 12px; font-size: clamp(56px, 7.6vw, 130px); }
.person dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 24px 0 0; border-top: 2px solid var(--ink); padding-top: 16px; }
.person dt { color: var(--dim); font-weight: 600; }
.person dd { margin: 0; }
.person dd a { border-bottom: 2px solid currentColor; font-weight: 600; }
@media (max-width: 900px) { .person { grid-template-columns: 1fr; } .person figure { max-width: 360px; } }

/* Prev / next as index rows */
.pn { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; border-top: 2px solid var(--ink); background: var(--bg); }
.pn a { padding: 22px var(--pad); display: grid; gap: 4px; }
.pn a + a { border-left: 1px solid var(--rule); text-align: right; }
.pn span { font-weight: 600; color: var(--dim); font-size: 15px; }
.pn b { font-size: clamp(40px, 5vw, 84px); }

/* Brand page */
.bhero { position: relative; z-index: 2; height: min(82svh, 900px); min-height: 460px; color: #fff; background: #111 var(--poster) center / cover no-repeat; display: flex; }
.bhero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgb(0 0 0 / .1) 30%, rgb(0 0 0 / .6)); }
.bhero .over { position: relative; z-index: 2; align-self: end; width: 100%; padding: 0 var(--pad) clamp(18px, 3vh, 32px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px clamp(16px, 2.4vw, 40px); align-items: end; }
.bhero .no { font-size: clamp(120px, 22vw, 360px); line-height: .76; }
.bhero .logo img { height: var(--lh, 40px); width: auto; max-width: 100%; }
.bhero .logo .gr-word { font-size: clamp(64px, 8vw, 128px); line-height: .9; }
/* Rx.Me has no logo file: its wordmark is Helvetica Neue bold, as on rx.me (2026-11-15) */
.bhero .logo .rx-word { display: block; font: 700 clamp(56px, 7vw, 112px)/.9 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -.02em; }
.bhero .chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bhero .chips2 span { padding: 3px 9px; border: 1.5px solid currentColor; font-weight: 600; font-size: 15px; }
.bhero .chips2 .c { background: var(--c); color: var(--on-c); border-color: var(--c); }
.bbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px clamp(24px, 5vw, 80px); padding: clamp(40px, 8vh, 96px) var(--pad); position: relative; z-index: 2; background: var(--bg); }
/* widows.js glues a headline's last two words, so "Focus, prescribed." or "Something Bigger." can't wrap. Cap the size
   to the column (container query) so the widest two-word tail (~7.4em) always fits (2026-11-15). */
.bbody > div:first-child { container-type: inline-size; }
.bbody h1 { margin: 0; font-size: min(clamp(48px, 6vw, 104px), 13cqi); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 28px 0 0; padding-top: 16px; border-top: 2px solid var(--ink); }
.facts dt { color: var(--dim); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
.bbody .acts { margin-top: 28px; }
@media (max-width: 900px) {
  .bhero { height: 72svh; min-height: 420px; }
  .bhero .over { grid-template-columns: 1fr; }
  .bhero .no { font-size: 34vw; }
  .bbody { grid-template-columns: 1fr; }
}

/* About */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px clamp(24px, 4vw, 64px); align-items: start; }
.story h2 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 84px); }
.story figure { margin: 0; }
.story figure img { width: 100%; height: auto; }
.story figcaption { margin-top: 10px; font-size: 15px; color: var(--dim); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stages li { padding: 20px clamp(12px, 1.6vw, 24px) 24px 0; border-right: 1px solid var(--rule); }
.stages li + li { padding-left: clamp(12px, 1.6vw, 24px); }
.stages li:last-child { border-right: 0; }
.stages h3 { margin: 0 0 12px; font-size: clamp(56px, 6vw, 104px); }
.stages p { margin: 0 0 16px; }
.stages .proof-l { font-weight: 600; font-size: 15px; color: var(--dim); }
.stages .proof-l a { color: var(--ink); border-bottom: 2px solid currentColor; }
@media (max-width: 900px) { .story, .stages { grid-template-columns: 1fr; } .stages li, .stages li + li { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--rule); } }

/* Contact */
.ways { list-style: none; margin: 0; padding: 0; }
.ways li:first-child { padding-top: 0; }
.ways li { display: grid; grid-template-columns: minmax(0, 18ch) minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ways span { font-weight: 600; color: var(--dim); }
.ways a, .ways p { font-size: clamp(32px, 4.4vw, 72px); margin: 0; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .ways a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; } }
@media (max-width: 700px) { .ways li { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; max-width: 680px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea { min-height: 52px; padding: 10px 12px; border: 2px solid var(--ink); background: var(--paper); font-size: 17px; border-radius: 0; }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { margin: 0; color: var(--dim); font-size: 15px; }
.form .btn { justify-self: start; cursor: pointer; }

/* ── Footer ────────────────────────────────────────── */
.foot { position: relative; z-index: 2; overflow: clip; background: var(--ink); color: var(--inv); padding: clamp(40px, 7vh, 72px) var(--pad) 24px; border-top: 1px solid rgb(255 255 255 / .2); } /* clip: the .word wordmark's text box (line-height .76) overflows the footer and left a light strip below the page */
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.foot h2 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: rgb(255 255 255 / .6); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.foot p { margin: 0; }
.foot .word { margin-top: clamp(32px, 6vh, 64px); font: 900 clamp(120px, 31vw, 560px)/.76 var(--sans); font-stretch: 62%; letter-spacing: -.01em; }
.foot .word { display: flow-root; } /* keeps the mark's margins inside, so the box stays .76em tall like the old text */
.foot .word .dgp-mark { margin-block: .0135em .0345em; }
.foot .legal { margin-top: 18px; font-size: 14px; color: rgb(255 255 255 / .6); }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
body.lit .ix-row:not(.on) .mk { opacity: .34; }
.people .intro h2 { font-size: clamp(44px, 6.4vw, 104px); }

/* ── Inner-page openings (2026-11-08): each page opens its own way ── */

/* About: a centred statement, then Build · Operate · Grow as three tall numbered columns */
.say { position: relative; z-index: 2; padding: clamp(56px, 14vh, 180px) var(--pad) clamp(56px, 11vh, 140px); text-align: center; }
.say h1 { margin: 0 auto; font-size: clamp(52px, 7.4vw, 128px); max-width: 15ch; }
.say .lede { margin: clamp(20px, 3vh, 32px) auto 0; max-width: 40ch; }
.model > h2 { max-width: 22ch; }
.model > .body { margin: clamp(20px, 3vh, 32px) 0 0; max-width: 56ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; } /* 2026-11-22: one paragraph replaces the three columns */
#plat-h { max-width: none; } /* 2026-11-22: each statement on its own line (newlines in engine.h2); 18ch would split "Full collaboration." */
body[data-page="about"] .model { container-type: inline-size; }
#model-h em { display: block; margin-top: .1em; font-size: min(1.12em, 9.85cqw); line-height: .95; letter-spacing: -.02em; white-space: nowrap; } /* one line at every width: on phones it shrinks to fit the column */
/* 2026-11-22: italic line set like the hero: its own line, a touch larger, a little air under the caps */
/* 2026-11-22: desktop (1025px+) sets the model headline to fill the column: the caps line and the italic line each span it edge to edge.
   The cqw factors come from measured widths at 100px (caps about 1578px, italic 1012px), trimmed a hair so neither line overflows. Phone and tablet use the rule above. */
@media (min-width: 1025px) {
  #model-h { max-width: none; font-size: 6.32cqw; line-height: .9; white-space: nowrap; }
  #model-h em { margin-top: .04em; font-size: 9.85cqw; line-height: .9; letter-spacing: -.02em; white-space: nowrap; }
}
/* 2026-11-22 (the user): on phones the italic line is a vertical stack, one phrase a line at 60px (16.76cqw at a 358px
   column, capped at 1.5× the caps), all flush left. site.js splits the phrases into .st spans. */
@media (max-width: 720px) {
  #model-h { max-width: none; }
  #model-h em { margin-top: .14em; font-size: min(16.76cqw, 1.5em); line-height: .9; white-space: normal; }
  #model-h em .st { display: block; width: max-content; white-space: nowrap; }
}
.cols3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.cols3 li { min-height: clamp(440px, 66vh, 700px); display: flex; flex-direction: column; padding: 18px clamp(14px, 2vw, 32px) 24px; border-right: 1px solid var(--rule); }
.cols3 li:first-child { padding-left: 0; }
.cols3 li:last-child { border-right: 0; padding-right: 0; }
.cols3 .n { font-size: clamp(180px, 24vw, 400px); line-height: .76; color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: auto; }
.cols3 h3 { margin: 28px 0 12px; font-size: clamp(52px, 5.4vw, 96px); }
.cols3 p { margin: 0 0 14px; max-width: 34ch; }
.cols3 .proof-l { margin: 0; font-weight: 600; font-size: 15px; color: var(--dim); }
.cols3 .proof-l a { color: var(--ink); border-bottom: 2px solid currentColor; }
.founders figure { margin: 0 calc(var(--pad) * -1); }
.founders figure img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; }
.founders figcaption { margin: 10px var(--pad) 0; font-size: 15px; color: var(--dim); text-align: right; }
.story2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); margin-top: clamp(32px, 6vh, 72px); align-items: start; }
.story2 h2 { margin: 0; font-size: clamp(44px, 5.4vw, 92px); }
@media (max-width: 900px) {
  .cols3 { grid-template-columns: 1fr; }
  .cols3 li, .cols3 li:first-child, .cols3 li:last-child { min-height: 0; padding: 18px 0 24px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .cols3 .n { font-size: clamp(140px, 44vw, 220px); -webkit-text-stroke-width: 1.5px; }
  .cols3 h3 { margin-top: 16px; }
  .founders figure img { aspect-ratio: 4 / 3; }
  .story2 { grid-template-columns: 1fr; }
}

/* Careers: the open-roles count is the lead; tracks are full-width rows */
.lead-n { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); align-items: end;
  padding: clamp(16px, 4vh, 48px) var(--pad) clamp(28px, 5vh, 56px); }
.big-n { margin: 0 0 -.05em; font-size: clamp(220px, 38vw, 600px); line-height: .74; letter-spacing: -.02em; min-width: 1ch; }
.lead-k { margin: 0 0 14px; font-weight: 700; font-size: 16px; }
.lead-t h1 { margin: 0 0 18px; font-size: clamp(44px, 5vw, 88px); }
.tracks { position: relative; z-index: 2; display: grid; border-top: 2px solid var(--ink); margin-bottom: clamp(20px, 3vh, 32px); }
.tracks button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; width: 100%; padding: 16px var(--pad) 18px;
  border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; }
.tracks .tk, .tracks .tn { font-size: clamp(44px, 6vw, 104px); line-height: .84; }
.tracks .tl { grid-column: 1 / -1; font-size: 16px; color: var(--dim); }
.tracks button[aria-pressed="true"] { background: var(--ink); color: var(--inv); border-bottom-color: var(--ink); }
.tracks button[aria-pressed="true"] .tl { color: rgb(255 255 255 / .72); }
@media (hover: hover) and (pointer: fine) { .tracks button[aria-pressed="false"]:hover .tk { text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 6px; } }
@media (max-width: 900px) {
  .lead-n { grid-template-columns: 1fr; }
  .big-n { font-size: clamp(180px, 62vw, 320px); }
  .tracks .tk, .tracks .tn { font-size: clamp(40px, 11vw, 64px); }
}

/* Companies: a 2×2 grid of reel tiles, then Rx.Me as a plain strip */
.co-head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: last baseline; gap: 10px 32px;
  padding: clamp(16px, 4vh, 44px) var(--pad) clamp(16px, 2.6vh, 28px); }
.co-head h1 { margin: 0; font-size: clamp(40px, 4.4vw, 76px); }
.co-head .lede { max-width: 36ch; font-size: 17px; color: var(--dim); }
.co-grid { list-style: none; margin: 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); position: relative; z-index: 2; }
.co-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto; gap: 10px 20px; aspect-ratio: 16 / 9.4;
  padding: clamp(16px, 1.8vw, 28px); color: #fff; background: #111 var(--poster) center / cover no-repeat; outline-offset: 3px; }
.co-tile::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgb(0 0 0 / .32), rgb(0 0 0 / .05) 38%, rgb(0 0 0 / .62)); }
.co-tile > span { position: relative; z-index: 2; }
.co-no { grid-column: 1; grid-row: 1; align-self: start; font-size: clamp(110px, 13vw, 230px); line-height: .76; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.co-go { grid-column: 2; grid-row: 1; align-self: start; font-size: 28px; font-weight: 600; }
.co-mk { grid-column: 1; grid-row: 2; display: flex; align-items: center; min-height: 44px; }
.co-mk img { height: var(--lh, 36px); width: auto; max-width: 100%; }
.co-mk .gr-word { font-size: clamp(44px, 4.4vw, 72px); line-height: .9; }
.co-st { grid-column: 2; grid-row: 2; align-self: center; padding: 3px 9px; border: 1.5px solid currentColor; font-weight: 600; font-size: 15px; }
.co-tile.on .co-st { background: var(--c); color: var(--on-c); border-color: var(--c); }
.co-line { grid-column: 1 / -1; grid-row: 3; font-size: 17px; font-weight: 600; max-width: 40ch; }
@media (hover: hover) and (pointer: fine) { .co-tile.on .co-go { transform: translateX(4px); } }
.co-strips { list-style: none; margin: 0; padding: clamp(6px, .8vw, 12px) var(--pad) clamp(56px, 10vh, 120px); position: relative; z-index: 2; }
/* Rx.Me's tile (2026-11-15): full width under the grid, a wider frame, its wordmark in Helvetica Neue bold as on rx.me */
.co-wide { aspect-ratio: 16 / 6.4; }
/* The Rx.Me film's tile cut is full-bleed footage with its copy centred, so this tile covers like the others, centred
   (2026-11-16; it used to fit the phone reel whole on navy). */
.co-mk .rx-word { font: 700 clamp(48px, 5vw, 84px)/.9 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-tile, .co-wide { aspect-ratio: 4 / 3.4; }
  .co-no { font-size: clamp(96px, 30vw, 160px); }
  .co-line { font-size: 15px; }
}

/* Team: every face in a dense mosaic; the headline sits on an ink block across a few cells */
.mosaic-wrap { position: relative; z-index: 2; padding: clamp(8px, 2vh, 20px) var(--pad) clamp(28px, 5vh, 56px); }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); grid-auto-flow: dense; gap: 2px; }
.m-f a { display: block; aspect-ratio: 3 / 4; background: #ddd; position: relative; overflow: hidden; }
.m-f img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.m-f a:focus-visible { outline-offset: -2px; z-index: 1; }
.m-f a:focus-visible img { filter: none; }
@media (hover: hover) and (pointer: fine) { .m-f a:hover img { filter: none; } }
.m-block { grid-column: 2 / span 8; grid-row: 2 / span 3; background: var(--ink); color: var(--inv); padding: clamp(14px, 1.8vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
.m-block h1 { margin: 0; font-size: clamp(44px, 4.8vw, 88px); }
.m-block .lede { font-size: clamp(15px, 1.15vw, 18px); color: rgb(255 255 255 / .78); max-width: 40ch; }
.m-who { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-who .num { color: rgb(255 255 255 / .6); }
.m-end { display: none; }
@media (max-width: 1100px) { .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); } .m-block { grid-column: 2 / span 6; } }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .m-block { grid-column: 1 / -1; grid-row: 2 / span 4; }
  .m-block h1 { font-size: clamp(40px, 12vw, 56px); }
  .m-who { display: none; }
  .m-end { display: block; grid-column: span 2; grid-row: auto; order: 1; }
  /* phones: a 9-row taste of the wall (block + 38 faces + the count cell); everyone is in the list below */
  .m-f:nth-child(n+41) { display: none; }
  .m-end a { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; height: 100%; padding: 6px; background: var(--ink); color: var(--inv); font-weight: 700; font-size: 13px; line-height: 1.2; }
}

/* Contact: the addresses are the headline */
.mails { position: relative; z-index: 2; padding: clamp(24px, 6vh, 72px) var(--pad) clamp(40px, 8vh, 96px); }
.mails .kick { margin: 0; font: 700 clamp(20px, 1.9vw, 30px)/1.2 var(--sans); }
.mails .kick em { font-size: 1.08em; }
.mails .sub { margin: 6px 0 clamp(24px, 5vh, 56px); color: var(--dim); max-width: 52ch; }
.mail-list { list-style: none; margin: 0; padding: 0; }
.mail-list li { border-top: 2px solid var(--ink); padding: 12px 0 clamp(14px, 2.4vh, 28px); }
.mail-list .lbl { display: block; margin-bottom: 8px; font-weight: 600; font-size: 15px; color: var(--dim); }
.mail-list a { display: inline-block; max-width: 100%; text-transform: none; font-size: clamp(52px, 14.2vw, 250px); line-height: .86; padding-bottom: .16em; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) { .mail-list a:hover { text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .08em; } }
.mail-roles { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-weight: 700; font-size: 18px; }
.mail-roles a { border-bottom: 2px solid currentColor; }

/* ── Home, 2026-11-08: no catalogue numbers, one face for every name, no "06" ──
   The index lost its number column and its "Next: yours" row; every name is the condensed sans
   (Grounds included; its logo column keeps the serif stand-in). Rules, tiles and platforms carry no numerals. */
.ix-cols, .ix-row a { grid-template-columns: minmax(0, 1fr) 160px 12ch 13ch 1.2ch; }
.ix-cols span:nth-child(1) { grid-column: auto; }
.rules li { grid-template-columns: minmax(0, 1fr) minmax(0, 34ch); }
.close .close-h { margin: 0 0 clamp(32px, 6vh, 64px); font-size: clamp(48px, 7vw, 120px); max-width: 14ch; }
@media (max-width: 900px) {
  .ix-row a { grid-template-columns: minmax(0, 1fr) auto auto; }
  .ix-row .nm { grid-column: 1 / 4; }
  .ix-row .mk { grid-column: 1; }
  .ix-row .st { grid-column: 2; }
  .ix-row .yr { grid-column: 3; }
  .rules li { grid-template-columns: minmax(0, 1fr); }
  .rules p { grid-column: auto; }
}

/* ── Subpages, 2026-11-08: no index numbers anywhere ──
   Careers and team rows, person, brand pages, company tiles and About's stages lost their numerals;
   these close the columns they used to take. */
.list a { grid-template-columns: minmax(0, 1fr) 16ch 18ch 8ch 7ch; }
.team a { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr) 20ch; }
.bhero .over { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .list a { grid-template-columns: minmax(0, 1fr) auto; }
  .list .t { grid-column: 1 / 3; }
  .list .meta { grid-column: 1; }
  .list .ap { grid-column: 2; }
  .team a { grid-template-columns: 48px minmax(0, 1fr); }
  .team .t, .team .r { grid-column: 2; }
}
.cols3 li { min-height: 0; }
.cols3 h3 { margin-top: 0; }
/* About's Build · Operate · Grow: no rule above the columns (2026-11-15) */
#stages.cols3 { border-top: 0; }

/* ── 2026-11-08: no status labels (home index, home tiles, companies tiles) ──
   The index loses its Status column; each companies tile keeps one arrow, pinned to its top-right corner. */
.ix-cols, .ix-row a { grid-template-columns: minmax(0, 1fr) 160px 12ch 1.2ch; }
.co-tile { grid-template-columns: minmax(0, 1fr) auto; }
.co-go { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; line-height: 1; }
.co-mk, .co-line { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .ix-row a { grid-template-columns: minmax(0, 1fr) auto; }
  .ix-row .nm { grid-column: 1 / -1; }
  .ix-row .mk { grid-column: 1; }
  .ix-row .yr { grid-column: 2; }
}
/* ── 2026-11-16: no Year column on the home index (the user: "remove the dates from the table") ── */
.ix-cols, .ix-row a { grid-template-columns: minmax(0, 1fr) auto; }
.tiles .tile .who .gr-word { font-size: 30px; line-height: 1; }
/* Rx.Me has no logo file: its wordmark is Helvetica Neue bold, as on Companies and its brand page (2026-11-15). */
.tiles .tile .who .rx-word { font: 700 26px/1 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -.02em; }

/* ── Home hero on the index grid (2026-11-08) ──
   The lede and buttons start exactly at the Brand column and end flush with the arrow column,
   so the hero and the list below share one set of edges. */
.cat-head, .ix-cols, .ix-row a { grid-template-columns: minmax(0, 1fr) 220px 110px 24px; column-gap: clamp(14px, 2vw, 32px); }
.cat-head h1 { grid-column: 1; }
.cat-head .side { grid-column: 2 / -1; }
.cat-head .lede { max-width: none; text-align: right; justify-self: end; }
.cat-head .acts { width: 100%; display: grid; grid-template-columns: 1fr; }
.cat-head .acts .btn { justify-self: end; }
/* 2026-11-22: the lede's column is nearly fixed (≈390–414px) while 1.5vw kept growing the type, so its lines re-broke
   with window width and it fell to four lines past ~1455px. Size it by its own column instead: same three lines at
   every desktop width (21.5px at 1440). */
@media (min-width: 901px) {
  .cat-head .side { container-type: inline-size; }
  .cat-head .lede { font-size: 5.23cqi; }
}
@media (max-width: 900px) {
  .cat-head { grid-template-columns: 1fr; }
  .cat-head .side { grid-column: 1; }
  .cat-head .lede { text-align: left; justify-self: start; } /* right-aligned on desktop only (2026-11-15) */
  .cat-head .acts { width: auto; display: flex; }
  .ix-cols, .ix-row a { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ── Home index, 2026-11-08: logos replace the typed names where a brand has one; no Brand column ──
   Logo heights are set against the names' cap height (about .72em of --big) and balanced by eye:
   BlueChew's boxed wordmark a touch taller, MOD and Mogul's heavier marks a touch smaller. */
.ix-cols, .ix-row a { grid-template-columns: minmax(0, 1fr) 110px 24px; }
.ix-row .nm.lg { display: flex; align-items: center; height: .82em; }
.ix-row .nm.lg img { width: auto; max-width: 100%; }
.ix-row .nm.lg-bluechew img { height: .7em; }
.ix-row .nm.lg-mod img { height: .62em; }
.ix-row .nm.lg-mogul img { height: .56em; }
.ix-row .nm.lg .l { display: none; }
body.lit .ix-row .nm.lg .d { display: none; }
body.lit .ix-row .nm.lg .l { display: block; }
body.lit .ix-row:not(.on) .nm.lg img { opacity: .34; }
/* Logos are black files only; the lit (rolled-over) row inverts them to white (2026-11-10) */
body.lit .ix-row .nm.lg img, body.lit .ix-row .mk img { filter: invert(1); }
/* Every other logo that sits on footage: white (2026-11-10). Built-from-scratch tile logos go white on roll over via the .l copy (2026-11-15, reverses 2026-11-11) */
.co-tile:hover .co-mk img, .co-tile.on .co-mk img, .bhero .logo img { filter: invert(1); }
/* Companies: every logo is white, at rest too, since the tiles sit on video (2026-11-10) */
.co-mk img { filter: invert(1); }
@media (max-width: 900px) {
  .ix-row a { grid-template-columns: minmax(0, 1fr) auto; }
  .ix-row .nm { grid-column: 1 / -1; }
  .ix-row .yr { grid-column: 2; grid-row: 2; }
}

/* ── Page-to-page transitions (2026-11-08) ──
   The header holds still. The page crossfades: out in 120ms, in over 220ms with an 8px rise.
   A brand tile (Companies, home) carries view-transition-name: brand-<slug>, as does that brand's hero,
   so clicking a tile grows it into the hero (and back). Keyboard navigation skips it (site.js). */
@view-transition { navigation: auto; }
.top { view-transition-name: cat-top; }
::view-transition-group(cat-top) { animation: none; }
::view-transition-old(cat-top) { animation: none; opacity: 0; }
::view-transition-new(cat-top) { animation: none; }
::view-transition-old(root) { animation: cat-out 120ms cubic-bezier(0.23, 1, 0.32, 1) both; }
::view-transition-new(root) { animation: cat-in 220ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes cat-out { to { opacity: 0; } }
@keyframes cat-in { from { opacity: 0; transform: translateY(8px); } }
::view-transition-group(*) { animation-duration: 280ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
::view-transition-old(*):only-child, ::view-transition-new(*):only-child { animation-duration: 160ms; }
::view-transition-image-pair(*) { isolation: auto; }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; overflow: clip; }
/* the header is never part of the motion (repeated here so it wins over the (*) rules above) */
::view-transition-group(cat-top), ::view-transition-new(cat-top) { animation: none; }
::view-transition-old(cat-top) { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ── Phone menu (2026-11-08): icon button + side drawer ──
   Two bars turn into an ×; the nav slides in from the right (260ms in, 200ms out) over a fading scrim.
   The button stays on top as the close control. Reduced motion: no slide, it just appears. */
.menu-btn .bars { position: relative; display: block; width: 26px; height: 14px; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2.5px; background: currentColor; border-radius: 1px;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1), top 220ms cubic-bezier(0.23, 1, 0.32, 1); }
.menu-btn .bars i:first-child { top: 0; }
.menu-btn .bars i:last-child { top: calc(100% - 2.5px); }
.top.menu-open .menu-btn .bars i { top: calc(50% - 1.25px); }
.top.menu-open .menu-btn .bars i:first-child { transform: rotate(45deg); }
.top.menu-open .menu-btn .bars i:last-child { transform: rotate(-45deg); }
.scrim { display: none; }
html.no-scroll { overflow: hidden; }
@media (max-width: 720px) {
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -9px; padding: 0; position: relative; z-index: 3; color: inherit;
    transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1); }
  .menu-btn:active { transform: scale(.94); }
  .top.menu-open .menu-btn { color: var(--ink); }
  .nav, .nav.open { display: flex; position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 2; width: min(86vw, 380px);
    flex-direction: column; justify-content: flex-start; gap: 0; padding: 84px var(--pad) 28px; background: var(--bg); color: var(--ink);
    border: 0; border-left: 2px solid var(--ink); overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform 200ms cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 200ms; }
  .top.menu-open .nav { transform: none; visibility: visible; transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s; }
  .nav a { font: 800 44px/1.04 var(--sans); font-stretch: 62%; text-transform: uppercase; padding: 8px 0; border: 0; }
  .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 1; background: rgb(0 0 0 / .45); opacity: 0; pointer-events: none;
    transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1); }
  .top.menu-open .scrim { opacity: 1; pointer-events: auto; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .nav, .top.menu-open .nav, .scrim, .menu-btn .bars i { transition: none; }
}

/* ── Phone index rows (2026-11-08): name or logo and its year on one line, centred in the row ── */
@media (max-width: 900px) {
  .ix-row a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; align-content: center; row-gap: 0; }
  .ix-row .nm { grid-column: 1; grid-row: 1; }
  .ix-row .yr { grid-column: 2; grid-row: 1; align-self: center; }
  .ix-row .nm.lg { height: auto; }
  .ix-row .nm.lg img { display: block; }
  .ix-row .nm.lg .l { display: none; }
  body.lit .ix-row .nm.lg .l { display: block; }
  body.lit .ix-row .nm.lg .d { display: none; }
}

/* ── About statement (2026-11-08): two clean lines ──
   "Built by founders." on one line in the condensed sans, smaller; the serif italic line under it. */
.say h1 { max-width: none; line-height: 1; }
.say h1 .l1 { display: block; white-space: nowrap; font-size: clamp(30px, 4.2vw, 72px); line-height: .9; letter-spacing: .005em; }
.say h1 em { display: block; margin-top: .06em; font-size: clamp(46px, 7.2vw, 124px); line-height: 1; letter-spacing: -.02em; }
.say .lede { margin-top: clamp(24px, 3.4vh, 40px); max-width: 44ch; line-height: 1.5; text-wrap: balance; }
@media (max-width: 600px) { .say h1 em { font-size: clamp(32px, 9.4vw, 46px); white-space: nowrap; } }
/* About headings: the serif italic phrase never splits, and lines balance */
body[data-page="about"] h2 { text-wrap: balance; }
body[data-page="about"] h2 em { white-space: nowrap; }

/* Widows: balance headings; keep paragraphs and list items from ending on a single word. */
h1, h2, h3, h4, .x { text-wrap: balance; }
/* 2026-11-22: the engine heading keeps every statement on its own line at every width (no scaling). Where a statement is too
   long for the line (phones: "Full collaboration."), it wraps inside itself instead of letting the soft breaks relax. */
#engine-h .cb.off > br, #plat-h .cb.off > br { display: inline; }
#engine-h .ph { display: inline; } /* was inline-block; with the break inside each phrase that made every phrase two lines tall */
p, li, dd, blockquote, figcaption { text-wrap: pretty; }

/* ── Phones (2026-11-22): tighter section rhythm, no edge-to-edge rules ──
   Bands and subpage sections were ~90px top and bottom (≈180px of air between sections) with a 2px rule
   running past the gutter. On phones the gap is 48 + 48 and the big headings mark each section on their own. */
@media (max-width: 720px) {
  .band, .sec { padding-top: 48px; padding-bottom: 48px; border-top: 0; }
  .band > h2, .band .h2 { margin-bottom: 24px; }
}
/* (2026-11-22) phones keep the italic phrase on one line too; see #model-h em above */
/* Home engine (2026-11-22): the platform word list is gone; the paragraph ends the section */
.engine .body { margin-bottom: 0; }
