/* blacklight.css — the whole design system. See DESIGN.md.
   One idea: a blacklight is a lamp that makes things show up. */

/* Montserrat and Raleway, the faces the original Blacklight site used. They were
   never the problem: forced uppercase and +.06em tracking were. See T1. */
@font-face { font-family: "Montserrat"; src: url(/fonts/Montserrat-VariableFont_wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Mono, for the micrographics only. Not preloaded: it is decoration and may arrive late. */
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url(/fonts/Raleway-VariableFont_wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ground: #070709;
  --surface: #0f1013;
  --surface-2: #16181d;
  --hair: #24272e;
  --ink: #f4f5f7;
  --ink-2: #a3a8b2;
  --ink-3: #8b909a;
  --light: #dde3ec;
  --glow: rgba(221, 227, 236, .55);
  --glow-soft: rgba(221, 227, 236, .22);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Raleway", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: 24px;
  --sec: clamp(64px, 8vw, 160px);  /* 8vw is the one vertical unit, measured off damngoodbrands.com 18 Sep */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--light); color: var(--ground); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--hair); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink-2); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* One ground and one grain for the whole site. The grain is a single fixed layer over
   every page, so no section has a texture its neighbour lacks; it used to stop at the
   bottom of the home hero, which made the hero read as a separate piece. Under the
   header (z 100) and the cookie notice, over everything else. */
body::before { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
/* Sentence case, tight tracking. TYPOGRAPHY.md: wide tracking belongs to small
   caps only, and above 14px it is a mannerism. Every heading here used to be
   uppercased by CSS, which is the generated-site signature that document names. */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.022em; }
/* Display voice: thin and wide, the way the original site set its headlines, with bold for the words that matter. */
.t-thin { font-weight: 300; letter-spacing: -.025em; line-height: 1.02; }
.t-thin b, .t-thin em, .t-thin strong { font-weight: 800; font-style: normal; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
::selection { background: var(--light); color: var(--ground); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale ---------- */
.t-display { font-size: clamp(2.6rem, 7vw, 6.5rem); }
/* Below ~400px the 2.6rem floor is wider than the viewport for a long word
   such as CONTRACTORS, which pushed the whole page sideways. */
@media (max-width: 400px) { .t-display { font-size: clamp(1.95rem, 9.4vw, 2.6rem); } }
.t-1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); overflow-wrap: break-word; }
@media (max-width: 400px) { .t-1 { font-size: clamp(1.65rem, 7.6vw, 2.1rem); } }
.t-2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.t-3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: 0; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 44rem; }
.small { font-size: .9rem; }
.ink { color: var(--ink); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* Same source: content is 80% of the page with a tenth either side, on anything
   wider than a tablet. Capped so a 2560 screen does not get 2000px rows. */
@media (min-width: 901px) { :root { --wrap: calc(min(80vw, 1680px) + 2 * var(--gutter)); } }
.section { padding: var(--sec) 0; position: relative; }
.section--tight { padding: calc(var(--sec) * .6) 0; }
.section--hair { border-top: 1px solid var(--hair); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
/* Grid children default to min-width:auto, so a form input's intrinsic width
   stretched its track past the viewport on the careers page. */
.grid > *, .form, .form > *, .form__row > *, .field, .field > *, .checks, .checks > * { min-width: 0; }
.form input, .form textarea, .form select { min-width: 0; max-width: 100%; }
.g-3 { grid-column: span 3; } .g-4 { grid-column: span 4; } .g-5 { grid-column: span 5; } .g-6 { grid-column: span 6; } .g-7 { grid-column: span 7; } .g-8 { grid-column: span 8; } .g-12 { grid-column: span 12; }
.g-4.g-off-1 { grid-column: 9 / 13; } .g-5.g-off-1 { grid-column: 8 / 13; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } .g-3, .g-4, .g-5, .g-6, .g-7, .g-8, .g-4.g-off-1, .g-5.g-off-1 { grid-column: span 1; } .g-3.keep, .g-4.keep { grid-column: span 1; } }
@media (max-width: 560px) { .g-3.keep, .g-4.keep { grid-column: span 1; } }
.stack > * + * { margin-top: 1.25rem; }
.stack-l > * + * { margin-top: 2.5rem; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---------- the light ---------- */
.rule { height: 1px; background: linear-gradient(90deg, var(--light), transparent 70%); box-shadow: 0 0 14px var(--glow-soft); border: 0; width: 100%; }
.rule--c { background: linear-gradient(90deg, transparent, var(--light), transparent); width: 12rem; margin: 0 auto; }

/* ---------- nav ---------- */
/* Solid fill, never a blur. Transparent while it sits over a hero, opaque the
   moment the page scrolls under it. */
/* Header. Three zones: brand, a centred link group, and the consultation block
   flush to the right edge. 88px at the top of the page, 60px once the page is
   moving, with everything inside scaling on the same 600ms curve. Transparent over
   the hero, solid once content passes under it, hides on the way down. */
.nav { --nav-h: 88px; --nav-ease: cubic-bezier(.22, 1, .36, 1); position: sticky; top: 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, transform .38s var(--ease), margin-bottom .6s var(--nav-ease); }
.nav.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .nav { transition: background-color .3s, border-color .3s; } }
.nav.is-scrolled { --nav-h: 60px; background: var(--ground); border-bottom-color: var(--hair); }
/* Edge to edge on a 30px gutter, like the reference, and not inside .wrap: the
   items are spread across the whole page, so the page is what they measure against. */
.nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: var(--nav-h); padding: 0 clamp(16px, 2.1vw, 30px); transition: height .6s var(--nav-ease); }
/* The swoop alone, dead centre, with four items spread evenly to the page edge on
   each side: phone and three tabs on the left, three tabs and the consultation
   block on the right. */
.nav__brand { grid-column: 2; grid-row: 1; justify-self: center; display: block; line-height: 0; padding: 0 1.2rem; }
.nav__brand img { height: 48px; width: auto; transition: height .6s var(--nav-ease); }
.nav.is-scrolled .nav__brand img { height: 34px; }
.nav__links { display: contents; }
.nav__side { grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__side--l { grid-column: 1; padding-right: clamp(1.5rem, 7vw, 8rem); }
.nav__side--r { grid-column: 3; padding-left: clamp(1.5rem, 7vw, 8rem); }
.nav__tel { letter-spacing: .1em; white-space: nowrap; }
.nav__link { font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: .4rem 0; position: relative; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; align-items: center; height: calc(var(--nav-h) - 28px); padding: 0 1.4rem; background: var(--light); color: var(--ground); font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: height .6s var(--nav-ease), background-color .25s var(--ease), color .25s var(--ease); }
.nav__cta:hover, .nav__cta:focus-visible { background: #fff; }
.nav__cta:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
.nav .nav__drawer-cta { display: none; }
/* Between the drawer breakpoint and a full desktop four items a side do not fit at
   full size, so everything tightens. Both sides keep four, and the mark stays
   centred because both side columns are the same fraction. */
@media (min-width: 901px) and (max-width: 1180px) { .nav__side { gap: .6rem; } .nav__side--l { padding-right: clamp(1rem, 4vw, 3rem); } .nav__side--r { padding-left: clamp(1rem, 4vw, 3rem); } .nav__side .nav__link { font-size: .62rem; letter-spacing: .08em; } .nav__cta { padding: 0 .9rem; font-size: .62rem; letter-spacing: .1em; } }
@media (prefers-reduced-motion: reduce) { .nav__inner, .nav__brand img, .nav__cta { transition: none; } }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__toggle { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .nav__cta { display: none; }
  .nav .nav__drawer-cta { display: inline-flex; }
  .nav__side { display: contents; }
  .nav__tel { order: 9; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ground); border-bottom: 1px solid var(--hair); padding: .5rem var(--gutter) 1.5rem; }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: .9rem 0; font-size: .95rem; }
  .nav__links .btn { margin-top: 1rem; }
}

/* ---------- the solutions panel ---------- */
/* A full-width light panel that drops over the dark page. The hard light-on-dark
   break is the point: it states what the company sells in one gesture, and it is
   the only place on the site that inverts. Without JS the button is inert and the
   four services are still four plain anchors inside the panel. */
.nav__disc { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
/* A plus that turns a quarter on hover and into a cross while the panel is open. */
.nav__plus { position: relative; width: 9px; height: 9px; transition: transform .35s var(--nav-ease); }
.nav__plus::before, .nav__plus::after { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 1px; background: currentColor; }
.nav__plus::after { transform: rotate(90deg); }
.nav__disc:hover .nav__plus { transform: rotate(90deg); }
.nav__disc[aria-expanded="true"] { color: var(--ink); }
.nav__disc[aria-expanded="true"] .nav__plus { transform: rotate(45deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--light); color: var(--ground); border-bottom: 1px solid rgba(7,7,9,.16); z-index: 99; }
.mega[hidden] { display: none; }
.mega__inner { display: grid; grid-template-columns: 1fr minmax(0, 34%); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-top: clamp(1.6rem, 3vw, 2.6rem); padding-bottom: clamp(1.2rem, 2vw, 1.8rem); }
.mega__list { display: flex; flex-direction: column; }
.mega__row { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: baseline; padding: .5rem 0; color: var(--ground); border-bottom: 1px solid rgba(7,7,9,.1); }
.mega__row:last-child { border-bottom: 0; }
.mega__idx { font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: rgba(7,7,9,.4); }
.mega__name { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.01em; color: rgba(7,7,9,.55); transition: color .25s var(--ease); }
.mega__note { grid-column: 2; font-size: .9rem; color: rgba(7,7,9,.55); max-width: 46ch; margin-top: .1rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s var(--ease), opacity .25s var(--ease); }
.mega__row.is-on .mega__name, .mega__row:hover .mega__name, .mega__row:focus-visible .mega__name { color: var(--ground); }
.mega__row.is-on .mega__note { max-height: 4rem; opacity: 1; }
.mega__row:focus-visible { outline: 2px solid var(--ground); outline-offset: 3px; }

.mega__media { position: relative; aspect-ratio: 4 / 3; }
.mega__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.mega__fig.is-on { opacity: 1; }
.mega__fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
/* corner marks, the one borrowed motif. Four crosses, no other ornament. */
.mega__media::before, .mega__media::after { content: "+"; position: absolute; font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1; color: rgba(7,7,9,.62); }
.mega__media::before { top: -14px; left: -14px; }
.mega__media::after { bottom: -14px; right: -14px; }

.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(1.2rem, 2vw, 1.6rem); font-size: .88rem; color: rgba(7,7,9,.6); }
.mega__foot .btn { color: var(--ground); }
.mega__foot .btn::before { background: var(--ground); }

@media (prefers-reduced-motion: reduce) {
  .mega__fig, .mega__note, .mega__name, .nav__plus { transition: none; }
}
@media (max-width: 900px) {
  .mega { position: static; border-bottom: 0; }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__media { display: none; }
  .mega__note { max-height: none; opacity: 1; }
  .mega__foot { padding-bottom: 1.2rem; }
}

/* ---------- homepage case rows ---------- */
/* Screenshot one side, the result on the other, alternating. No card box: the
   image, a client label, the result as the headline, two figures on a thin rule,
   one button. The figures reuse the A3 reels. */
.feat { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(1.6rem, 4.5vw, 4.5rem); align-items: center; padding: clamp(2.2rem, 4.5vw, 4rem) 0; border-top: 1px solid var(--hair); }
.feat:first-of-type { border-top: 0; padding-top: .5rem; }
.feat--flip .feat__media { order: 2; }
.feat__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border: 1px solid var(--hair); }
.feat__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
.feat:hover .feat__media img { filter: grayscale(.2) contrast(1.03); }
.feat__title { margin-top: .9rem; font-size: clamp(1.45rem, 2.4vw, 2.05rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; max-width: 22ch; }
.feat__stats { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feat__stat { display: flex; flex-direction: column; padding-left: 1rem; border-left: 1px solid var(--hair); }
.feat__n { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.feat__l { margin-top: .35rem; font-size: .86rem; color: var(--ink-3); }
.feat .btn--solid { margin-top: 1.7rem; width: 100%; justify-content: center; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat--flip .feat__media { order: 0; } }

/* ---------- services ledger ---------- */
/* Four numbered rows and one image that follows the hovered row. Same mechanic
   and proportions as the Solutions panel, on the page instead of over it. */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36%); gap: clamp(1.6rem, 5vw, 5.5rem); align-items: stretch; }
.svc__list { display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.svc__row { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; column-gap: 1rem; align-items: baseline; padding: 1.9rem 0 2rem; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
.svc__idx { font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }
.svc__name { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink-2); transition: color .25s var(--ease); }
.svc__note { grid-column: 2; margin-top: .55rem; font-size: 1rem; color: var(--ink-3); max-width: 44ch; }
.svc__cta { grid-column: 3; grid-row: 1; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; position: relative; transition: color .25s var(--ease); }
.svc__cta::before { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--light); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.svc__row.is-on .svc__name, .svc__row:hover .svc__name, .svc__row:focus-visible .svc__name { color: var(--ink); }
.svc__row.is-on .svc__cta, .svc__row:hover .svc__cta, .svc__row:focus-visible .svc__cta { color: var(--ink); }
.svc__row.is-on .svc__cta::before, .svc__row:hover .svc__cta::before, .svc__row:focus-visible .svc__cta::before { transform: scaleX(1); }
.svc__row:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
.svc__media { position: relative; min-height: 420px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--hair); }
.svc__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); }
.svc__fig.is-on { opacity: 1; }
.svc__fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
@media (prefers-reduced-motion: reduce) { .svc__fig, .svc__name, .svc__cta, .svc__cta::before { transition: none; } }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__media { display: none; }
  .svc__row { grid-template-columns: auto minmax(0, 1fr); }
  /* no pointer, so no "current" row: the first row must not sit underlined forever */
  .svc__row.is-on .svc__cta::before { transform: scaleX(0); }
  .svc__row.is-on .svc__name, .svc__row.is-on .svc__cta { color: var(--ink-2); }
  .svc__cta { grid-column: 2; grid-row: auto; margin-top: .6rem; }
}

/* ---------- A5: one hover language ---------- */
/* Every interactive surface answers a cursor the same way: a light runs the
   border, the surface lifts one tonal step, and any label underline draws.
   No scale, no lift, no drop shadow.

   The mechanic is the one from the vendored border-trail component (Motion
   Primitives BorderTrail, ibelick, MIT). The vendored markup needs two child
   elements per surface and runs its animation forever; that is right for one
   showcase element and wrong for forty cards, so the same travelling light is
   done here with a masked conic gradient on a pseudo-element. No extra DOM,
   and it only animates while the surface is actually hovered or focused. */
@property --trail { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.hov { position: relative; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .25s var(--ease); }
.hov::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 3;
  padding: 2px; opacity: 0; transition: opacity .25s var(--ease);
  background: conic-gradient(from var(--trail), transparent 0 52%, var(--light) 72%, var(--light) 80%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.hov:hover::after, .hov:focus-visible::after { opacity: 1; animation: trail 1.6s linear infinite; }
@keyframes trail { to { --trail: 360deg; } }

/* the tonal step, shared */
.hov:hover, .hov:focus-visible { border-color: rgba(221, 227, 236, .45); }

/* a label underline that draws, shared with the nav */
.underline-draw { position: relative; }
.underline-draw::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--light);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.hov:hover .underline-draw::before, .hov:focus-visible .underline-draw::before,
.underline-draw:hover::before, .underline-draw:focus-visible::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hov::after { animation: none !important; }
  .hov:hover::after, .hov:focus-visible::after { opacity: 1; background: none; }
  .underline-draw::before { transition: none; }
}
@supports not (background: conic-gradient(from 0deg, red, blue)) { .hov::after { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: .85rem 0 .7rem; position: relative; border-bottom: 2px solid var(--hair); transition: border-color .25s var(--ease), background-color .2s; }
.btn::before { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--light); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.btn:hover::before, .btn:focus-visible::before, .case:hover .btn::before, .card:hover .btn::before { transform: scaleX(1); }

.btn--solid { background: var(--light); color: var(--ground); padding: 1rem 1.4rem .9rem; border: 0; border-radius: 2px; }
.btn--solid::before { content: none; }
.btn--solid:hover, .btn--solid:focus-visible { background: #fff; }
/* Same box as --solid, outlined. The hero pair is one of each, equal weight,
   no arrow. Two different sized links with an arrow on one was the tell. */
.btn--ghost { color: var(--ink); padding: 1rem 1.4rem .9rem; border: 1px solid rgba(221,227,236,.5); border-radius: 2px; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.btn--ghost::before { content: none; }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--light); background: rgba(221,227,236,.07); }
.btn--quiet { color: var(--ink-2); }
.btn--quiet:hover, .btn--quiet:focus-visible { color: var(--ink); }

/* ---------- hero (video) ---------- */
.hero { position: relative; min-height: clamp(560px, 92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
/* The old Webflow site faded the hero in under the nav and out into the next
   section. Restored: two gradients, z-index 1 so they sit over the media and
   under the content. The bottom one runs to solid ground so the section ends in
   a dissolve rather than a hard edge. */
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero::before { top: 0; height: clamp(90px, 14vh, 170px); background: linear-gradient(180deg, var(--ground) 0%, rgba(7,7,9,.6) 40%, transparent 100%); }
.hero::after { bottom: 0; height: clamp(140px, 24vh, 280px); background: linear-gradient(0deg, var(--ground) 0%, rgba(7,7,9,.7) 38%, transparent 100%); }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ground); }
.hero-poster, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-poster { z-index: 1; transition: opacity 600ms ease; }
.hero-poster[data-faded] { opacity: 0; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,7,9,.94) 0%, rgba(7,7,9,.88) 32%, rgba(7,7,9,.42) 62%, rgba(7,7,9,.28) 100%),
    linear-gradient(180deg, rgba(7,7,9,.5) 0%, rgba(7,7,9,.3) 35%, rgba(7,7,9,.9) 100%); }
@media (max-width: 860px) { .hero__overlay { background: linear-gradient(180deg, rgba(7,7,9,.62) 0%, rgba(7,7,9,.62) 30%, rgba(7,7,9,.93) 100%); } }
.hero__sweep { position: absolute; inset: -20% -40%; z-index: 1; pointer-events: none; background: radial-gradient(60% 40% at 30% 30%, var(--glow-soft), transparent 70%); mix-blend-mode: screen; opacity: 0; animation: sweep 9s var(--ease) 1.2s forwards; }
@keyframes sweep { 0% { opacity: 0; transform: translateX(-10%); } 30% { opacity: .9; } 100% { opacity: .55; transform: translateX(18%); } }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 96px); width: 100%; }
.hero__title { color: var(--ink); text-shadow: 0 2px 30px rgba(0,0,0,.6); max-width: 18ch; font-weight: 300; letter-spacing: -.025em; line-height: 1.02; overflow-wrap: break-word; }
.hero__title em { font-style: normal; font-weight: 700; letter-spacing: -.03em; color: var(--ink); text-shadow: 0 0 28px var(--glow); }
.hero__lede { margin-top: 1.5rem; max-width: 36rem; color: var(--ink); opacity: .94; }
/* Three facts in the hero corner, set the way every other figure on the site
   is set: the number carries, the label sits under it, a hairline above. They
   were three tracked grey words with no structure, and they were aria-hidden,
   which hid true information for no reason. */
.hero__facts { position: absolute; right: var(--gutter); bottom: 1.6rem; z-index: 2; display: none; gap: 2.4rem; padding-top: .8rem; border-top: 1px solid rgba(221,227,236,.28); }
.hero__facts > div { display: flex; flex-direction: column; gap: .2rem; min-width: 3.2rem; }
.hero__facts b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.hero__facts span { font-family: var(--display); font-weight: 600; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 901px) { .hero__facts { display: flex; } }
.hero__actions { margin-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
@media (prefers-reduced-motion: reduce) { .hero__sweep { animation: none; opacity: .5; } .hero-poster { transition: none; } .hero-poster[data-faded] { opacity: 1; } }

/* ---------- page hero (still) ---------- */
.pagehero { position: relative; padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.pagehero--img { min-height: clamp(440px, 62vh, 700px); display: flex; align-items: flex-end; }
.pagehero__img { position: absolute; inset: 0; z-index: 0; }
.pagehero__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .55; }
.pagehero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,9,.4), rgba(7,7,9,.95)); }
.pagehero .wrap { position: relative; z-index: 1; }
.pagehero__title { max-width: 20ch; font-weight: 300; letter-spacing: -.025em; line-height: 1.02; overflow-wrap: break-word; }
.pagehero__title b { font-weight: 700; letter-spacing: -.03em; }
.pagehero__lede { margin-top: 1.4rem; }

/* ---------- section header with lit watermark ---------- */
.sh { position: relative; margin-bottom: clamp(44px, 5.5vw, 72px); max-width: 62rem; }
/* The eyebrow is the only thing above the title now, so it does the anchoring
   the watermark used to pretend to do. A short rule gives it something to sit on. */
.sh__body { position: relative; }
/* One weight. The "light phrase, <b>bold tail</b>" split on every section head
   was a formula, and a formula applied to every headline is what reads as
   generated. sh() also strips any <b> a caller still passes. */
.sh__title { margin-top: .9rem; max-width: 24ch; font-weight: 500; letter-spacing: -.022em; line-height: 1.06; }
.sh__title b { font-weight: inherit; letter-spacing: inherit; }
.sh__lede { margin-top: 1.2rem; }
.sh--center { text-align: center; }
.sh--center .sh__title, .sh--center .sh__lede { margin-left: auto; margin-right: auto; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .12s; } [data-reveal="3"] { transition-delay: .24s; } [data-reveal="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: var(--gutter); }
/* Three columns cannot hold a figure like +211% on a phone; the row ran off
   the side of every case study page. */
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }
.stat { border-top: 1px solid var(--hair); padding-top: 1.2rem; }
.stat__n { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
/* A3: sliding-number reels. One 0-9 column per digit, moved with transform in em
   so nothing has to be measured. Port of Motion Primitives SlidingNumber
   (ibelick, MIT). Without JS the written figure is what renders. */
.sliding-number { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.sliding-number__reel { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.sliding-number__strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.05s cubic-bezier(.2,.9,.25,1.08); transition-delay: var(--sn-delay, 0s); }
.sliding-number__strip > span { height: 1em; }
@media (prefers-reduced-motion: reduce) { .sliding-number__strip { transition: none; } }

.stat__n small { font-size: .38em; letter-spacing: .04em; color: var(--ink-2); margin-left: .3em; font-weight: 600; }
.stat__l { margin-top: .6rem; }
.stat__l .eyebrow { color: var(--ink-3); }
.stat__c { margin-top: .3rem; font-size: .85rem; color: var(--ink-3); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- logo marquee ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee var(--marquee-speed, 45s) linear infinite; align-items: center; }
.marquee__item { flex: 0 0 auto; width: 11rem; height: 5.5rem; display: flex; align-items: center; justify-content: center; opacity: .8; filter: grayscale(1) brightness(1.5); transition: opacity .3s, filter .3s; }
.marquee__item:hover { opacity: 1; filter: grayscale(1) brightness(1.7); }
/* Hover any logo: the strip pauses and the client name and one on-record
   figure rise beneath it. The figure comes from the case study data and
   only appears for clients that have one; nothing is invented for the rest. */
.marquee { padding-bottom: 2.9rem; }
.marquee__item { position: relative; }
.marquee__cap { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); width: 14rem; text-align: center; font-size: .78rem; line-height: 1.35; color: var(--ink-3); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.marquee__cap b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.marquee__item:hover .marquee__cap, .marquee__item:focus-within .marquee__cap { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .marquee__cap { transition: none; } }
.marquee__item img { max-height: 4rem; max-width: 10rem; width: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
/* Crossed ribbons: two opaque bands in one grid cell, tilted opposite ways and
   running opposite ways. Full bleed, so it breaks out of .wrap. The vertical
   padding is what the tilt needs at the viewport edges: tan(3.5deg) x 55vw. */
.marquee--cross { display: grid; width: 100vw; margin-left: calc(50% - 50vw); padding: calc(3.6vw + 1rem) 0; -webkit-mask-image: none; mask-image: none; }
.marquee__band { grid-area: 1 / 1; width: 110%; margin-left: -5%; overflow: hidden; background: var(--surface); border-block: 1px solid rgba(221, 227, 236, .2); transform: rotate(3.5deg); }
.marquee__band--back { transform: rotate(-3.5deg); }
.marquee__band--back .marquee__track.is-live { animation-direction: reverse; } /* .is-live outranks the 25 Sep shorthand, which reset this and sent both ribbons the same way (Drew, 2 Nov) */
.marquee__band--back .marquee__item { opacity: .55; }
/* A narrow screen needs a steeper tilt or the two ribbons sit on top of each other. */
@media (max-width: 700px) { .marquee--cross { padding: calc(7.5vw + 1rem) 0; } .marquee__band { transform: rotate(7deg); } .marquee__band--back { transform: rotate(-7deg); } }
@media (prefers-reduced-motion: reduce) { .marquee--cross .marquee__track { flex-wrap: nowrap; width: max-content; margin: 0 auto; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: var(--gutter); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hair); overflow: hidden; transition: border-color .3s, background-color .3s; }
.card:hover, .card:focus-visible { background: var(--surface-2); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.card:hover .card__img img { filter: grayscale(.4) contrast(1.05); }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__title { font-size: 1.1rem; letter-spacing: 0; }
.card__text { font-size: .95rem; color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: .6rem; }
.card--link::after { content: ""; position: absolute; inset: 0; }
.card--plain { background: transparent; border-color: var(--hair); }

/* ---------- A2: cross-document view transitions ---------- */
/* Chrome morphs any pair of elements sharing a view-transition-name across a
   navigation. The case card image and the case study hero share case-<slug>,
   so clicking a card carries its photograph into the hero and back reverses it.
   The nav and footer are named so they hold still instead of cross-fading. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
.footer { view-transition-name: site-footer; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: var(--ease); }
::view-transition-group(site-nav), ::view-transition-group(site-footer) { animation-duration: .001s; }
::view-transition-image-pair(*) { isolation: auto; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- case study cards ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.cases--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cases, .cases--3 { grid-template-columns: 1fr; } }
.case { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--hair); transition: border-color .3s; }
.case--wide { grid-column: 1 / -1; }
.case__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.case--wide .case__img { aspect-ratio: 21 / 9; }
.case__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.82); transition: filter .6s; }
.case:hover, .case:focus-visible { background: var(--surface-2); }
.case:hover .case__img img { filter: grayscale(.25) contrast(1.05) brightness(1); }
.case__body { display: flex; flex-direction: column; flex: 1; padding: 1.7rem 1.8rem 1.8rem; }
.case__tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .9rem; }
.tag { font-family: var(--display); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hair); padding: .35rem .55rem .3rem; }
.case__title { font-size: clamp(1.45rem, 2.2vw, 1.95rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.06; }
.case__text { margin-top: .7rem; max-width: 42rem; color: var(--ink-2); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case__numbers { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--hair); }
.num { display: flex; flex-direction: column; }
.num__v { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.num__l { font-size: .74rem; color: var(--ink-3); margin-top: .35rem; letter-spacing: .04em; }
.case__cta { margin-top: auto; padding-top: 1.4rem; }
.case__preview { position: absolute; inset: 0; }
.case__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s var(--ease); filter: grayscale(.25) contrast(1.05); }
.case__preview img.is-on { opacity: 1; }
.case:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .case__preview { display: none; } }

.filter__count { margin-left: auto; align-self: center; font-family: var(--display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.case[hidden] { display: none; }

/* ---------- filter ---------- */
.filter { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.4rem; }
.filter__btn { font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hair); padding: .7rem 1rem .6rem; transition: all .25s; }
.filter__btn:hover, .filter__btn:focus-visible { color: var(--ink); }
.filter__btn.is-active { color: var(--ground); background: var(--light); border-color: var(--light); box-shadow: 0 0 18px var(--glow-soft); }
.filter__empty { color: var(--ink-3); padding: 2rem 0; }

/* ---------- promises / values / included ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }
.promise { border-top: 1px solid var(--hair); padding-top: 1.2rem; position: relative; }
.promise::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 1px; background: var(--light); box-shadow: 0 0 10px var(--glow); }
.promise h3 { font-size: 1rem; letter-spacing: -.012em; }
.promise p { margin-top: .6rem; font-size: .95rem; }

.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }
.included--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .included--2 { grid-template-columns: 1fr; } }
.inc { padding: 1.4rem; border: 1px solid var(--hair); background: var(--surface); transition: border-color .3s; }
.inc:hover, .inc:focus-visible { background: var(--surface-2); }
.inc h3 { font-size: .95rem; letter-spacing: -.012em; }
.inc p { margin-top: .5rem; font-size: .92rem; }

/* ---------- process (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--hair); padding-top: 1rem; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--light); text-shadow: 0 0 16px var(--glow-soft); display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1rem; letter-spacing: -.012em; }
.step p { margin-top: .5rem; font-size: .95rem; }

/* ---------- quotes ---------- */
.quotes { position: relative; }
.quotes__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--gutter); }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 100%; scroll-snap-align: start; padding: .4rem 0 0; }
.quote__text { font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.42; color: var(--ink); max-width: 44rem; font-weight: 400; letter-spacing: -.01em; }
.quote__text::before { content: "“"; color: var(--light); font-family: var(--display); font-size: 3rem; line-height: 0; vertical-align: -1.1rem; margin-right: .2rem; text-shadow: 0 0 18px var(--glow); }
.quote__who { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .1rem; }
.quote__who b { color: var(--ink); font-family: var(--display); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.quote__who span { font-size: .85rem; color: var(--ink-3); }
.quotes__nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.quotes__btn { width: 44px; height: 44px; border: 1px solid var(--hair); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: border-color .25s, box-shadow .25s; }

.dots { display: flex; gap: .3rem; }
/* Pagination as bars. The button keeps a 20px hit target; the 2px bar is drawn
   inside it. The old rule drew a circle via a positioned ::after, and the first
   rewrite dropped `position: relative`, which sent that circle to the nearest
   positioned ancestor and painted an ellipse over the whole slider. */
.dot { position: relative; width: 26px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .3s var(--ease); }
.dot::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--hair); transition: background-color .3s var(--ease); }
.dot.is-active { width: 54px; }
.dot.is-active::after { background: var(--light); }

/* ---------- timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 2.35rem; height: 1px; background: var(--hair); }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline::before { display: none; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.tl { position: relative; padding-top: 3.2rem; }
.tl::before { content: ""; position: absolute; left: 0; top: 2rem; width: 9px; height: 9px; transform: rotate(45deg); background: var(--light); box-shadow: 0 0 12px var(--glow); }
.tl__date { font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.tl__title { margin-top: .4rem; font-size: 1rem; letter-spacing: -.012em; }
.tl__text { margin-top: .5rem; font-size: .92rem; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); border: 1px solid var(--hair); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.person:hover .person__img img { filter: grayscale(.2); }
.person__name { margin-top: .9rem; font-size: .95rem; letter-spacing: -.012em; }
.person__role { font-size: .85rem; color: var(--ink-3); margin-top: .2rem; }

/* ---------- office ---------- */
.office { border: 1px solid var(--hair); background: var(--surface); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.office dt { font-family: var(--display); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.office dd { margin: .2rem 0 0; color: var(--ink); }
.office a:hover { color: var(--light); }
.office__dir { display: flex; width: fit-content; margin-top: .9rem; }
.office__map { margin: clamp(2.5rem, 6vw, 5rem) 0 0; }
.office__map > a { position: relative; display: block; height: clamp(300px, 32vw, 460px); overflow: hidden; }
.office__map img { display: block; width: 100%; height: 100%; object-fit: none; }   /* the image is as wide as the column gets; it crops and never scales, so the street names stay sharp */
.office__pin { position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -92%); color: var(--ink); fill: var(--ground); }   /* the tip sits on the image's centre, which is the office */
.office__map figcaption { margin-top: .6rem; font-size: .75rem; color: var(--ink-3); }
.office__map figcaption a { text-decoration: underline; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* Shoot grids hold nine, six or three photos, so a phone keeps them three across, as Instagram
   does; two across left the ninth alone in its row (2 Nov). A grid of two (iFoam's ads) fills its row. */
@media (max-width: 700px) { .gallery { gap: 4px; } }
.gallery:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); border: 1px solid var(--hair); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
/* Vertical ads keep their whole frame: a square would cut the headline and the offer. Two grid
   columns wide, so each fits a laptop screen; a phone gives them the full width. */
.gallery--tall { max-width: calc((100% - 24px) / 3 * 2 + 12px); }
.gallery--tall a { aspect-ratio: 9 / 16; }
@media (max-width: 700px) { .gallery--tall { max-width: none; } }

/* ---------- band (closing) ---------- */
.band { position: relative; padding: clamp(96px, 14vw, 180px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--hair); }
.band::before { content: ""; position: absolute; left: 50%; top: 0; width: 60vw; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--light), transparent); box-shadow: 0 0 30px var(--glow); }
.band__lamp { position: absolute; left: 50%; top: -30vh; width: 80vw; height: 60vh; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, var(--glow-soft), transparent 70%); pointer-events: none; }
.band .wrap { position: relative; }
.band__title { max-width: 22ch; margin: 0 auto; font-weight: 300; letter-spacing: -.025em; line-height: 1.04; }
.band__title em { font-style: normal; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-shadow: 0 0 24px var(--glow); }
.band__text { margin: 1.4rem auto 0; max-width: 34rem; }
.band__actions { margin-top: 2.4rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.4rem 0; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.faq__q::after { content: "+"; font-weight: 400; font-size: 1.6rem; color: var(--light); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a > div { padding: 0 0 1.6rem; max-width: 52rem; }
.faq__a a { color: var(--ink); border-bottom: 1px solid var(--hair); }
@media (prefers-reduced-motion: reduce) { .faq__a { transition: none; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
/* A group of checkboxes is a fieldset, so a screen reader names the group; it looks like any other field (QA, 2 Nov). */
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: .35rem; font-family: var(--display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; background: var(--surface-2); color: var(--ink); border: 1px solid var(--hair); padding: .9rem 1rem; font: inherit; font-size: 1rem; border-radius: 2px; transition: border-color .25s, box-shadow .25s; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--light); box-shadow: 0 0 0 3px rgba(221,227,236,.12), 0 0 16px var(--glow-soft); }
.field textarea { min-height: 8rem; resize: vertical; }
.field > label:has(input[type="checkbox"]) { display: flex; gap: .6rem; align-items: center; font-family: inherit; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.field input[type="checkbox"] { accent-color: var(--light); width: 16px; height: 16px; flex: 0 0 auto; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; }
.checks label { display: flex; gap: .6rem; align-items: center; font-size: .95rem; color: var(--ink-2); }
.checks input { accent-color: var(--light); width: 16px; height: 16px; flex: 0 0 auto; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.form__note { font-size: .85rem; color: var(--ink-3); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ---------- prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; letter-spacing: 0; margin: 2.4rem 0 .8rem; text-transform: none; }
.prose h3 { font-size: 1.1rem; letter-spacing: 0; margin: 1.8rem 0 .6rem; text-transform: none; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.7; }
.prose p + p { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: .8rem 0; }
.prose ol { padding-left: 1.3rem; margin: .8rem 0; }
.prose li + li { margin-top: .4rem; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--hair); transition: border-color .2s; }
.prose a:hover { border-bottom-color: var(--light); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6rem 0; padding-left: 1.2rem; border-left: 2px solid var(--light); color: var(--ink); }
.prose .meta { font-size: .85rem; color: var(--ink-3); margin-bottom: 2rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose th { color: var(--ink); font-family: var(--display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- lists of links (journal index, industries strip) ---------- */
.list { border-top: 1px solid var(--hair); }
.list__item { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 1rem; margin: 0 -1rem; border-bottom: 1px solid var(--hair); transition: background-color .25s; }
.list__item:hover, .list__item:focus-visible { background: var(--surface-2); }
.list__item h3 { font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.list__item p { margin-top: .3rem; font-size: .92rem; }
.list__item .arrow { color: var(--light); font-size: 1.4rem; }

/* ---------- lightbox ---------- */
.lb-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(7,7,9,.94); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lb-overlay img { max-width: 100%; max-height: 90vh; object-fit: contain; box-shadow: 0 0 60px rgba(0,0,0,.6); }
.lb-close, .lb-prev, .lb-next { position: absolute; color: #fff; font-size: 2rem; padding: 1rem; line-height: 1; }
.lb-close { top: 0; right: 0; } .lb-prev { left: 0; top: 50%; transform: translateY(-50%); } .lb-next { right: 0; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- consent ---------- */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 900; max-width: 32rem; margin-left: auto; padding: 1.1rem 1.3rem; background: var(--surface); color: var(--ink-2); border: 1px solid var(--hair); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: .9rem; display: none; }
.consent.is-visible { display: block; }
.consent p { margin: 0 0 .8rem; }
.consent button { padding: .55rem .9rem; border: 1px solid var(--hair); color: var(--ink); margin-right: .5rem; }
.consent button.primary { background: var(--light); color: var(--ground); border-color: var(--light); }

/* ---------- misc ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .wrap > * + * { margin-top: 1.2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.still { overflow: hidden; border: 1px solid var(--hair); }
.still img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { font-family: var(--display); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hair); padding: .5rem .75rem .45rem; transition: all .25s; }
.chip:hover, .chip:focus-visible { color: var(--ink); }

/* ---------- home intro ---------- */
/* The stack alone on the page ground. No lamp and no spotlight (Drew, 18 Sep: they
   made it look odd), so it is fully lit and the motion carries it: the words rise in,
   every roll brings the next set, it leans toward the mouse, and it comes forward and
   fades as the page scrolls. Without JS, and under reduced motion, it is simply there. */
.intro { position: relative; min-height: clamp(620px, calc(100svh - 96px), 980px); display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 16px 0 72px; }
/* The headline, lede and buttons, as a block of their own under the intro. */
.opening { padding: var(--sec) 0; }
.opening__title { max-width: 16ch; }
/* The stack. Alternate rows are skewed two ways and squashed or stretched so the
   rows read as the faces of a folded ribbon seen from above. Each row is a window
   one line tall holding two words; rolling the pair up by one line hands every
   word to the row below it. */
.intro__stack { position: relative; z-index: 1; --fs: clamp(34px, min(6.2vw, 9.2svh), 112px); --lh: calc(var(--fs) * .84); justify-self: center; font-family: var(--display); font-weight: 900; font-size: var(--fs); letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); user-select: none; cursor: default; padding: calc(var(--fs) * 1.7) 0 calc(var(--fs) * .8); /* the rows climb to the right, so the room goes on top */ }
.intro__stack { perspective: 1400px; will-change: transform, opacity; }
.intro__stack ul { display: flex; flex-direction: column; align-items: center; }
/* The inset trims a hair off the top and bottom of each window. Rows are scaled to
   two thirds or four thirds, so heights land on half pixels and a sliver of the next
   word used to show as a stray dash under the row. Capitals sit well inside it. */
.intro__stack li { height: var(--lh); overflow: hidden; clip-path: inset(.035em 0); transform: translateX(calc(var(--i) * var(--fs) * var(--step, .485))) skew(60deg, -30deg) scaleY(.66667); }
.intro__stack li:nth-child(even) { transform: translateX(calc(var(--i) * var(--fs) * var(--step, .485))) skew(0deg, -30deg) scaleY(1.33333); }
.intro__stack p { height: var(--lh); line-height: calc(var(--lh) - 5px); padding: 0 .2em; white-space: nowrap; text-align: center; will-change: transform; }
/* Which set is showing, and what it is. Bottom left, opposite the three facts. */
.intro__cap { position: absolute; left: clamp(16px, 2.1vw, 30px); bottom: 1.6rem; z-index: 3; display: flex; align-items: baseline; gap: .7rem; font-family: var(--display); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.intro__num { color: var(--ink); font-size: 1.05rem; letter-spacing: -.01em; }
.intro__lab { color: var(--ink-2); padding-left: .9rem; border-left: 1px solid rgba(221,227,236,.28); }
.intro .hero__facts { right: clamp(16px, 2.1vw, 30px); z-index: 3; }
@media (max-width: 900px) { .intro__cap { left: 0; right: 0; justify-content: center; } }
.js-intro:not(.intro-go) .intro__stack { opacity: 0; }
@media (max-width: 900px) { .intro__stack { --fs: clamp(24px, 8.4vw, 64px); } }
@media (prefers-reduced-motion: reduce) { .js-intro .intro__stack { opacity: 1 !important; } }

/* ---------- services switch ---------- */
/* One card that turns over in 3D while the service name turns through it. The
   name is wider than the card on purpose. Without JS: the first card, its name,
   and the four links underneath. */
.dswitch-sec { overflow: hidden; }
.dswitch { margin-top: 0; display: flex; flex-direction: column; align-items: center; }
.dswitch__stage { position: relative; width: 100%; display: grid; place-items: center; }
/* The card is the moment, so it is as wide as the reel: 80% of the page, in a wide
   cinema ratio so it does not read as the reel's twin. */
.dswitch__card { grid-area: 1 / 1; width: min(80vw, 1680px); aspect-ratio: 21 / 9; perspective: 1800px; }
.dswitch__flipper { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.dswitch__face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; background: var(--ground); }
.dswitch__face--back { transform: rotateY(180deg); }
.dswitch__img { position: absolute; inset: 0; opacity: 0; }
.dswitch__img.is-on { opacity: 1; }
/* A photograph, not a grey wash: legibility comes from a shade rising from the bottom */
.dswitch__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.dswitch__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,7,9,.5), rgba(7,7,9,.15) 70%); }
.dswitch__text { grid-area: 1 / 1; z-index: 1; position: relative; width: 100%; height: 100%; display: grid; place-items: center; perspective: 1000px; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 9vw, 9.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #fff; text-shadow: 0 0 40px rgba(0,0,0,.6); }
.dswitch__label { grid-area: 1 / 1; text-align: center; white-space: nowrap; will-change: transform, opacity; }
.dswitch__label + .dswitch__label { opacity: 0; }
.dswitch__text:focus-visible { outline-offset: -6px; }
.dswitch__note { order: 3; margin-top: 1.4rem; min-height: 1.6em; width: min(80vw, 1680px); color: var(--ink-3); font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.4rem); letter-spacing: -.02em; }
.dswitch__ctrl { order: 4; margin-top: 1.4rem; width: min(80vw, 1680px); display: flex; align-items: center; gap: .6rem; }
.dswitch__btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--hair); color: var(--ink); font-size: 1.1rem; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.dswitch__btn:hover, .dswitch__btn:focus-visible { border-color: var(--light); background: var(--light); color: var(--ground); box-shadow: 0 0 22px var(--glow-soft); }
.dswitch__dots { display: none; }
.dswitch__dot { width: 24px; height: 24px; display: grid; place-items: center; }
.dswitch__dot::before { content: ""; width: 8px; height: 2px; background: var(--ink-3); transition: width .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.dswitch__dot[aria-current="true"]::before { width: 24px; background: var(--light); box-shadow: 0 0 10px var(--glow); }
/* the four names are the selector, set as type across the width of the card */
.dswitch__list { order: 2; margin-top: clamp(1.6rem, 3vw, 3rem); width: min(80vw, 1680px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.dswitch__list a { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.7rem); letter-spacing: -.02em; color: var(--ink-3); padding-bottom: .35em; transition: color .3s var(--ease), text-shadow .3s var(--ease); }
.dswitch__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--light); box-shadow: 0 0 14px var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.dswitch__list a.is-on { color: #fff; text-shadow: 0 0 .6em var(--glow-soft); }
.dswitch__list a.is-on::after { transform: scaleX(1); }
.dswitch:not(.is-live) .dswitch__ctrl { display: none; }

/* ---------- cinema ---------- */
/* The reference's frame: 80% of the page, square corners, a tenth of the page either
   side and 8vw above and below. It sits on the page ground like everything else: a
   pure black block here read as a separate piece dropped in (Drew, 18 Sep). */
.cinema { padding: 8vw 0; display: grid; place-items: center; }
.cinema__frame.hero-media { position: relative; inset: auto; width: min(80vw, 1680px); aspect-ratio: 16 / 9; background: var(--ground); overflow: hidden; }
@media (max-width: 700px) { .cinema { padding: 14vw 0; } .cinema__frame.hero-media { width: 88vw; } }

/* ---------- case bento ---------- */
/* A case study as a cluster of cut tiles: arch, quarter-round, disc and pill, with
   flat panels between the photographs. --h and --s come from the photograph itself
   (components.accent), so each cluster is coloured by that client's own work. The
   whole cluster is one link, through the title's stretched ::after. */
.bentos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.bento { --r: clamp(28px, 4.2vw, 64px); --gap: clamp(6px, .7vw, 10px); --accent: hsl(var(--h) var(--s) 62%); --deep: hsl(var(--h) calc(var(--s) * .7) 16%); position: relative; display: grid; gap: var(--gap); grid-template-columns: 5fr 7fr; grid-template-rows: auto auto; grid-template-areas: "fig photo" "disc name"; container-type: inline-size; }
.bento__tile { position: relative; overflow: hidden; min-width: 0; }
.bento__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s var(--ease); }
.bento:hover .bento__tile img { transform: scale(1.04); }
.bento__photo { grid-area: photo; aspect-ratio: 4 / 5; border-radius: 8px var(--r) 8px 8px; }
.bento__fig { grid-area: fig; background: var(--accent); color: var(--ground); border-radius: var(--r) 8px 8px var(--r); display: grid; place-items: center; padding: 14% 12%; }
.bento__fig svg { width: 100%; height: 100%; max-height: 100%; opacity: .8; }
.bento__idx { position: absolute; left: 12%; bottom: 7%; font-family: var(--display); font-weight: 700; font-size: clamp(.8rem, 5cqw, 1.2rem); letter-spacing: -.01em; }
.bento__disc { grid-area: disc; aspect-ratio: 1; border-radius: 50%; align-self: start; }
.bento__name { grid-area: name; background: var(--light); color: var(--ground); border-radius: 8px 8px var(--r) 8px; padding: clamp(.9rem, 5cqw, 1.5rem); display: flex; flex-direction: column; justify-content: flex-end; overflow: visible; }
.bento__kind { font-family: var(--display); font-weight: 600; font-size: clamp(.5rem, 2.6cqw, .62rem); letter-spacing: .16em; text-transform: uppercase; opacity: .62; }
.bento__title { margin-top: .5rem; color: var(--ground); font-size: clamp(.95rem, 5.4cqw, 1.35rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; align-self: flex-start; border: 1px solid rgba(7,7,9,.5); border-radius: 999px; padding: .5em 1em; }
.bento__title a { color: inherit; }
.bento__title a::after { content: ""; position: absolute; inset: calc(var(--gap) * -1) 0 0 calc(-100% * 5 / 7 - var(--gap)); top: -400%; z-index: 3; }
.bento__n { margin-top: .9rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 8.2cqw, 2.4rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.bento__l { margin-top: .35rem; font-size: clamp(.68rem, 3.2cqw, .84rem); line-height: 1.3; opacity: .72; }
/* The lens: a frosted disc over the join between the photograph and the panel. */
.bento__glass { position: absolute; z-index: 2; width: 26%; aspect-ratio: 1; border-radius: 50%; left: 29%; top: 41%; pointer-events: none; background: rgba(221,227,236,.1); border: 1px solid rgba(221,227,236,.28); -webkit-backdrop-filter: blur(9px) saturate(1.15); backdrop-filter: blur(9px) saturate(1.15); transition: transform .9s var(--ease); }
.bento:hover .bento__glass { transform: translate(8%, -10%); }
.bento:focus-within { outline: 2px solid var(--light); outline-offset: 6px; }
.bento__title a:focus-visible { outline: none; }
/* second arrangement: photograph left with the big corner bottom left, deep panel */
.bento--1 { grid-template-columns: 7fr 5fr; grid-template-areas: "photo fig" "name disc"; }
.bento--1 .bento__photo { border-radius: var(--r) 8px 8px 8px; }
.bento--1 .bento__fig { background: var(--deep); color: var(--accent); border-radius: 8px var(--r) var(--r) 8px; }
.bento--1 .bento__name { background: var(--accent); border-radius: 8px 8px 8px var(--r); }
.bento--1 .bento__glass { left: 45%; }
.bento--1 .bento__idx { left: auto; right: 14%; }
.bento--1 .bento__title a::after { inset: 0; top: -400%; right: calc(-100% * 5 / 7 - var(--gap)); left: 0; }
/* third: the name on top, an arch for the figure */
.bento--2 { grid-template-areas: "disc name" "fig photo"; }
.bento--2 .bento__photo { border-radius: 8px 8px var(--r) 8px; }
.bento--2 .bento__fig { border-radius: 999px 999px 8px 8px; }
.bento--2 .bento__name { border-radius: 8px var(--r) 8px 8px; justify-content: flex-start; }
.bento--2 .bento__disc { align-self: end; }
.bento--2 .bento__glass { top: 37%; }
.bento--2 .bento__title a::after { top: 0; bottom: -400%; }
@media (max-width: 1000px) { .bentos { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .bento__tile img, .bento__glass { transition: none; } .bento:hover .bento__tile img, .bento:hover .bento__glass { transform: none; } }

/* ---------- statements ---------- */
/* The home page is carried by large sentence-case type, one idea to a screen, with no
   label + title + intro header and no rule between blocks. One family, two sizes that
   matter: the statement and the tiny label. A lit word (<em>) is the only emphasis. */
.stm { padding: clamp(96px, 12vw, 240px) 0; }
.stm--work { padding-top: clamp(64px, 8vw, 160px); }
.st { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; color: var(--ink); max-width: 24ch; text-wrap: balance; }
h1.st, h2.st, h3.st { font-weight: 700; }
.st em { font-style: normal; color: #fff; text-shadow: 0 0 .5em var(--glow), 0 0 1.4em var(--glow-soft); }
.st--2 { margin-top: 1.1em; color: var(--ink-3); max-width: 30ch; font-size: clamp(1.25rem, 2.3vw, 2.3rem); line-height: 1.14; letter-spacing: -.028em; text-wrap: pretty; }
.st--2 em { color: var(--ink); text-shadow: 0 0 .6em var(--glow-soft); }
/* the page's one headline outranks the paragraph under it by a clear step */
.st--h { font-size: clamp(2.3rem, 5.6vw, 6rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; max-width: 13ch; }
.st--xl { font-size: clamp(2.4rem, 7.2vw, 8rem); font-weight: 800; line-height: .96; letter-spacing: -.045em; max-width: 14ch; }
.st--q { max-width: 34ch; font-size: clamp(1.3rem, 2.5vw, 2.5rem); line-height: 1.16; font-weight: 600; letter-spacing: -.028em; text-wrap: pretty; }
.st--q::before { content: "\201C"; }
.st--q::after { content: "\201D"; }
.lbl { font-family: var(--display); font-weight: 600; line-height: 1.5; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: clamp(1.6rem, 3vw, 3rem); }
.say .lbl { margin: clamp(1.6rem, 3vw, 3rem) 0 0; color: var(--ink-2); }
/* a call to action is a line of type with a lit rule under it, never a box */
.tctas { margin-top: clamp(2.4rem, 5vw, 5rem); display: flex; flex-wrap: wrap; gap: 1.2rem clamp(2rem, 4vw, 4rem); }
.tcta { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.7rem); letter-spacing: -.02em; color: var(--ink); padding-bottom: .35em; }
.tcta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--light); box-shadow: 0 0 14px var(--glow); transform-origin: left; transition: transform .5s var(--ease); }
.tcta::before { content: "\2192"; position: absolute; left: 100%; margin-left: .45em; opacity: 0; transform: translateX(-.4em); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.tcta:hover::before, .tcta:focus-visible::before { opacity: 1; transform: none; }
.tcta--quiet { color: var(--ink-3); }
.tcta--quiet::after { background: var(--ink-3); box-shadow: none; transform: scaleX(0); }
.tcta--quiet:hover, .tcta--quiet:focus-visible { color: var(--ink); }
.tcta--quiet:hover::after, .tcta--quiet:focus-visible::after { transform: scaleX(1); background: var(--light); }
/* the four promises: four big lines, the detail small beside each */
.pledge li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem clamp(1.5rem, 4vw, 5rem); align-items: baseline; padding: clamp(1rem, 1.8vw, 1.9rem) 0; }
/* At rest all four are fully on. Pointing at one lights it and lets the others fall
   back, so the section never reads as switched off. */
.pledge .st { max-width: none; transition: color .4s var(--ease), text-shadow .4s var(--ease); }
.pledge p { color: var(--ink-2); max-width: 38ch; transition: color .4s var(--ease); }
.pledge:hover li:not(:hover) .st { color: var(--ink-3); }
.pledge:hover li:not(:hover) p { color: var(--ink-3); }
.pledge li:hover .st { color: #fff; text-shadow: 0 0 .5em var(--glow), 0 0 1.4em var(--glow-soft); }
/* the services switch under a tiny label, not a header block */
.dswitch-sec .lbl { margin-bottom: 0; }
@media (max-width: 800px) { .pledge li { grid-template-columns: 1fr; gap: .5rem; } .st, .st--2, .st--q { max-width: none; } }
@media (max-width: 700px) { .dswitch__card { width: 88vw; aspect-ratio: 4 / 3; } .dswitch__list, .dswitch__note, .dswitch__ctrl { width: 88vw; } .dswitch__list { flex-direction: column; gap: .2rem; } }

/* ---------- one voice, every page (18 Sep) ---------- */
/* The inner pages spoke the old voice: thin headlines, boxed buttons, bordered cards
   and chips, a rule between sections. This block brings them to the home page's:
   heavy tight sentence-case type, a lit word for emphasis, nothing in a box, and
   space doing the work the rules did. Kept as one block so it can be read, or removed,
   in one go. Form submit buttons stay solid on purpose: a form needs an obvious button. */
.pagehero__title { font-weight: 800; letter-spacing: -.045em; line-height: .98; max-width: 17ch; font-size: clamp(2.4rem, 6.4vw, 6.4rem); text-wrap: balance; }
.pagehero__title b { font-weight: inherit; letter-spacing: inherit; color: #fff; text-shadow: 0 0 .5em var(--glow), 0 0 1.4em var(--glow-soft); }
.pagehero__lede { margin-top: 1.8rem; max-width: 34rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.55vw, 1.5rem); line-height: 1.22; letter-spacing: -.025em; color: var(--ink-2); text-wrap: pretty; }
.sh { margin-bottom: clamp(48px, 6vw, 96px); }
.sh__title { font-weight: 700; letter-spacing: -.035em; line-height: 1.06; max-width: 22ch; font-size: clamp(1.8rem, 3.6vw, 3.6rem); text-wrap: balance; }
.sh__lede { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.25; letter-spacing: -.022em; color: var(--ink-3); max-width: 36rem; }
.eyebrow { font-size: .68rem; letter-spacing: .18em; }
/* space, not rules */
.section--hair, .band { border-top: 0; }
.band::before { content: none; }
.section { padding: clamp(80px, 10vw, 200px) 0; }
/* nothing in a box */
.card, .case, .inc, .office { background: transparent; border: 0; }
.card:hover, .card:focus-visible, .case:hover, .case:focus-visible, .inc:hover, .inc:focus-visible { background: transparent; }
.card__body, .case__body { padding: 1.4rem 0 0; }
.inc { padding: 0; }
.inc h3 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: .5rem; }
.included { gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3.5rem); }
.case__title { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.office { padding: 0; }
.chip { border: 0; padding: 0; color: var(--ink-3); letter-spacing: .16em; }
.chips { gap: .3rem 1.3rem; }
.filter__btn { border: 0; padding: .4rem 0; margin-right: 1rem; color: var(--ink-3); position: relative; }
.filter__btn.is-active { background: none; color: #fff; box-shadow: none; text-shadow: 0 0 .7em var(--glow-soft); }
.filter__btn.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--light); box-shadow: 0 0 12px var(--glow); }
/* a call to action that is a link is a line of type; a button that submits a form stays a button */
a.btn--solid, a.btn--ghost { background: none; border: 0; border-radius: 0; padding: 0 0 .4em; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; text-transform: none; border-bottom: 2px solid var(--light); box-shadow: 0 8px 14px -12px var(--glow); }
a.btn--solid:hover, a.btn--solid:focus-visible, a.btn--ghost:hover, a.btn--ghost:focus-visible { background: none; color: #fff; }
a.btn--ghost { color: var(--ink-3); border-bottom-color: transparent; box-shadow: none; }
a.btn--ghost:hover, a.btn--ghost:focus-visible { border-bottom-color: var(--light); }
.hero__actions { gap: 1rem clamp(1.6rem, 3vw, 3rem); margin-top: 2.6rem; }
/* the header's consultation link loses its box too, and sits as the last tab, lit */
.nav__cta { background: none; height: auto; padding: .4rem 0; color: #fff; text-shadow: 0 0 .7em var(--glow-soft); border-bottom: 1px solid var(--light); }
.nav__cta:hover, .nav__cta:focus-visible { background: none; text-shadow: 0 0 .6em var(--glow); }
@media (min-width: 901px) and (max-width: 1180px) { .nav__cta { padding: .4rem 0; } }
/* one voice: follow-ups found in the first screenshots */
.pagehero--img > .wrap { width: 100%; }  /* a flex child with auto margins shrank to its text and drifted 40px off the page's left edge */
.tag { border: 0; padding: 0; color: var(--ink-3); }
.case__tags { gap: .3rem 1.2rem; }
.hero__actions a.btn { background: none; border: 0; border-radius: 0; padding: 0 0 .4em; font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; text-transform: none; color: var(--ink-3); border-bottom: 2px solid transparent; }
.hero__actions a.btn::before { content: none; }
.hero__actions a.btn:hover, .hero__actions a.btn:focus-visible { color: #fff; border-bottom-color: var(--light); }
.hero__actions a.btn--solid { color: var(--ink); border-bottom-color: var(--light); box-shadow: 0 8px 14px -12px var(--glow); }

/* ---------- the reel: scroll zoom ---------- */
/* --p runs 0 to 1 as the tall section scrolls past its pinned stage (home.js). At 0 the
   reel is a small rounded tile between two words; at 1 it fills the screen and the
   words have slid out to the edges. Not live (no JS, reduced motion): --p is 1 and the
   section is one screen tall, so it is just the reel at full size. */
.zoom { --p: 1; position: relative; }
.zoom.is-live { height: 280vh; }
/* z-index 60 puts the stage above the site-wide grain layer (50) and under the header
   (100): the grain is for the black, and laid over footage it just made the reel noisy. */
.zoom__stage { position: sticky; top: 0; z-index: 60; height: 100vh; height: 100svh; overflow: hidden; --w0: 24vw; --gap: clamp(1rem, 2.4vw, 3rem); }
/* The tile is centred by itself and the words hang off where its edges start, so a word
   that has faded out can never take up room and push the full-size reel sideways. */
.zoom__tile.cinema__frame.hero-media { position: absolute; inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: calc(var(--w0) + (100vw - var(--w0)) * var(--p)); height: calc(var(--w0) * .5625 + (100svh - var(--w0) * .5625) * var(--p)); aspect-ratio: auto; border-radius: calc(18px * (1 - var(--p))); background: var(--ground); overflow: hidden; z-index: 1; }
.zoom__word { position: absolute; top: 50%; margin-top: -.5em; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 5rem); letter-spacing: -.045em; line-height: 1; color: var(--ink); white-space: nowrap; opacity: calc(1 - var(--p) * 2.2); }
.zoom__word--l { right: calc(50% + var(--w0) / 2 + var(--gap)); transform: translateX(calc(var(--p) * -38vw)); }
.zoom__word--r { left: calc(50% + var(--w0) / 2 + var(--gap)); transform: translateX(calc(var(--p) * 38vw)); }
/* A landscape film cannot fill a portrait screen without being cropped to a thin slice
   and blown up about four times, which is what made it look broken on a phone. On a
   portrait screen the reel grows to the full width and keeps its 16 to 9 shape, so the
   whole frame is visible and sharp. The corner marks belong to a full-screen frame, so
   they are off here. */
@media (orientation: portrait), (max-width: 800px) {
  .zoom__tile.cinema__frame.hero-media { height: auto; aspect-ratio: 16 / 9; }
  .zoom.is-live { height: 220vh; }
}
/* on a phone the words sit above and below the tile and leave upward and downward */
@media (max-width: 800px) {
  .zoom__stage { --w0: 62vw; }
  .zoom__word { left: 0; right: 0; text-align: center; margin-top: 0; font-size: clamp(1.5rem, 8vw, 2.6rem); }
  .zoom__word--l { top: auto; right: 0; bottom: calc(50% + var(--w0) * .28125 + 1.2rem); transform: translateY(calc(var(--p) * -40svh)); }
  .zoom__word--r { left: 0; top: calc(50% + var(--w0) * .28125 + 1.2rem); transform: translateY(calc(var(--p) * 40svh)); }
}

/* ---------- the four promises: lit by scrolling ---------- */
.pledge .w { transition: color .35s var(--ease), text-shadow .6s var(--ease); }
/* unlit is a grey that still reaches 3:1 on the ground, the floor for large bold type.
   At 14% white it measured 1.36:1 and failed; the step up to lit white is still plain. */
.pledge.is-live .w { color: #63656a; }
.pledge.is-live .w.is-lit { color: #fff; text-shadow: 0 0 .45em var(--glow-soft); }
.pledge.is-live p { opacity: 0; }
.pledge:hover li:not(:hover) .st, .pledge:hover li:not(:hover) p { color: inherit; }  /* the hover dimming is retired: scrolling is what lights them now */
.pledge li:hover .st { color: inherit; text-shadow: none; }
/* an anchor 40% of the way through the zoom, so the mid state can be linked to and photographed */
.zoom__mark { position: absolute; top: 72vh; left: 0; width: 1px; height: 1px; }

/* ---------- portfolio ---------- */
/* Picture first, edge to edge. Rows are 12 columns at a set height, so a portrait can sit
   in a narrow column of a tall row and not be cropped to death. When the page is live
   (site.js) every frame rests dark and colourless and comes up to full colour only while
   it is in the middle band of the screen: the brand idea, a light that makes the work
   show up, applied to the work itself. No JS, or reduced motion: everything is simply lit. */
.pf-top { padding-bottom: clamp(48px, 6vw, 110px); }
.pf { padding: 0 0 clamp(72px, 9vw, 180px); }
.pf__head { padding-bottom: clamp(1.6rem, 3vw, 3rem); }
.pf__head .st--xl { max-width: none; font-size: clamp(2.6rem, 9.5vw, 11rem); letter-spacing: -.055em; line-height: .9; }
.pf__meta { margin-top: clamp(1rem, 2vw, 2rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem clamp(1.2rem, 3vw, 3.5rem); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pf__meta span:first-child { color: var(--light); }
.pf__meta .tcta { margin-left: auto; font-size: clamp(.95rem, 1.3vw, 1.25rem); text-transform: none; letter-spacing: -.02em; }
.pf__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, .5vw, 8px); height: calc(var(--h) * 1vw); margin-bottom: clamp(4px, .5vw, 8px); padding: 0 clamp(4px, .5vw, 8px); }
.pf__tile { position: relative; grid-column: span var(--span); overflow: hidden; background: var(--surface); }
.pf__tile img { width: 100%; height: 100%; object-fit: cover; transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.pf.is-live .pf__tile img { filter: grayscale(1) brightness(.42) contrast(1.1); transform: scale(1.04); }
.pf.is-live .pf__tile.is-lit img, .pf.is-live .pf__tile:hover img, .pf.is-live .pf__tile:focus-visible img { filter: none; transform: none; }
.pf__idx { position: absolute; left: .8rem; bottom: .7rem; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .62rem; letter-spacing: .08em; color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.8); opacity: .0; transition: opacity .6s var(--ease); }
.pf__tile.is-lit .pf__idx, .pf__tile:hover .pf__idx, .pf:not(.is-live) .pf__idx { opacity: .9; }
.pf__tile:focus-visible { outline: 2px solid var(--light); outline-offset: -2px; }
@media (max-width: 800px) {
  .pf__row { display: block; height: auto; }
  .pf__tile { display: block; margin-bottom: 4px; aspect-ratio: 4 / 5; }
  .pf__meta .tcta { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .pf__tile img { transition: none; } }


/* ---------- type with a little depth ---------- */
/* A slight extrusion on the largest type: five
   thin steps of darkening grey under each letter, then a soft shadow. In em, so the depth
   scales with the size of the type and stays slight at every size. */
.t3d { text-shadow: 0 .012em 0 #c6cbd3, 0 .024em 0 #a9aeb7, 0 .036em 0 #8b9099, 0 .048em 0 #6c7179, 0 .06em 0 #4d5158, 0 .075em .02em rgba(0,0,0,.55), 0 .14em .3em rgba(0,0,0,.5); }
.dswitch__text.dswitch__text .t3d { text-shadow: 0 .012em 0 #c6cbd3, 0 .024em 0 #a9aeb7, 0 .036em 0 #8b9099, 0 .048em 0 #6c7179, 0 .06em 0 #4d5158, 0 .075em .02em rgba(0,0,0,.55), 0 .14em .3em rgba(0,0,0,.5); }

/* ---------- services: pinned and scroll-driven ---------- */
/* home.js adds .is-scroll. The section becomes one screen per service plus one, its
   contents pin to the screen, and scroll position picks the service. Sized off the
   screen's height as well as its width so the whole stage always fits in one screen. */
.dswitch-sec.is-scroll { height: calc((var(--steps, 4) + 1) * 100vh); padding: 0; overflow: visible; }
.dswitch-sec.is-scroll .dswitch-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; overflow: hidden; }
.dswitch { --cw: min(80vw, 1680px, calc(52svh * 21 / 9)); }
.dswitch-sec .lbl { width: var(--cw, 80vw); margin-inline: auto; margin-bottom: 1rem; }
.dswitch-sec .wrap { max-width: none; padding: 0; display: flex; }
.dswitch-sec .dswitch__card, .dswitch-sec .dswitch__list, .dswitch-sec .dswitch__note, .dswitch-sec .dswitch__ctrl { width: var(--cw); }
.dswitch__text { font-size: clamp(2rem, min(9vw, 15svh), 9.5rem); }
/* how far through the section you are, as a lit rule under the names */
.dswitch__bar { order: 5; display: none; width: var(--cw); height: 1px; margin-top: 1.4rem; background: var(--hair); position: relative; }
.dswitch-sec.is-scroll .dswitch__bar { display: block; }
.dswitch__bar::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--sp, 0) * 100%); background: var(--light); box-shadow: 0 0 14px var(--glow); }
/* On a phone: spreading four names to opposite edges left a ragged two by two with one
   name shoved to the far right, a dead gap sat above the label, and the spacing below
   the card was loose. The names are now an even two-column grid aligned left, the
   stage starts under the header and not in the middle of the screen, and the note keeps
   two lines of room so nothing jumps when it changes. */
@media (max-width: 700px) {
  .dswitch { --cw: 88vw; }
  .dswitch-sec.is-scroll .dswitch-pin { justify-content: flex-start; padding-top: clamp(84px, 13svh, 120px); }
  .dswitch-sec .lbl { margin-bottom: .8rem; }
  .dswitch-sec .dswitch__card { aspect-ratio: 4 / 3; }
  .dswitch-sec .dswitch__list, .dswitch-sec.is-scroll .dswitch__list { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.2rem; margin-top: 1.3rem; justify-content: start; }
  /* .9rem and no wrapping: at 1rem "Media and branding" broke onto two lines and made the grid uneven */
  .dswitch-sec .dswitch__list a, .dswitch-sec.is-scroll .dswitch__list a { font-size: .9rem; white-space: nowrap; justify-self: start; padding-bottom: .3em; }
  .dswitch-sec .dswitch__note { margin-top: 1rem; min-height: 3.1em; font-size: 1rem; line-height: 1.5; }
  .dswitch-sec .dswitch__ctrl { margin-top: .6rem; }
  .dswitch-sec .dswitch__bar { margin-top: 1rem; }
}

/* ---------- case studies, in the portfolio's language ---------- */
/* One large photograph a side, dark until it reaches the middle of the screen (the same
   lighting as /portfolio, through .pf and .pf__tile), the client's name in heavy type,
   the number lit. No panels, no pills, no rounded cut-outs. */
.cs-list.pf { padding: clamp(1.5rem, 3vw, 3rem) 0 0; }
.cs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(1.5rem, 5vw, 6rem); margin-bottom: clamp(3rem, 8vw, 9rem); }
.cs--flip .cs__img { order: 2; }
.cs__img { display: block; height: clamp(320px, 44vw, 760px); grid-column: auto; }
.cs__body { padding: 0 10vw 0 0; min-width: 0; }
.cs--flip .cs__body { padding: 0 0 0 10vw; }
.cs__meta { display: flex; gap: 1.6rem; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.4rem; }
.cs__meta span:first-child { color: var(--light); }
.cs__name { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 6rem); line-height: .94; letter-spacing: -.05em; color: #fff; text-wrap: balance; }
.cs__name a { color: inherit; }
.cs__n { margin-top: clamp(1.4rem, 2.6vw, 2.6rem); font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.cs__n em { font-style: normal; color: #fff; text-shadow: 0 0 .5em var(--glow), 0 0 1.4em var(--glow-soft); }
.cs__l { margin-top: .5rem; color: var(--ink-3); font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.3rem); letter-spacing: -.02em; }
.cs .tctas { margin-top: clamp(1.6rem, 3vw, 3rem); }
@media (max-width: 900px) { .cs, .cs--flip { grid-template-columns: 1fr; gap: 1.4rem; } .cs--flip .cs__img { order: 0; } .cs__img { height: 68vw; } .cs__body, .cs--flip .cs__body { padding: 0 var(--gutter); } }

/* ---------- services: expanding cards ---------- */
/* Four tall photographs in a row. The one in play is wide and lit; the others wait as
   slim dark strips with their names running up them. Each photograph is fixed at the open
   card's size and centred, so a strip shows a slice of it and opening the card uncovers
   the rest: nothing re-crops or slides while the widths change. The easing stands in for
   the original's spring (stiffness 160, damping 30), which is overdamped: no bounce. */
.xc-sec { --cw: min(80vw, 1680px); --xe: cubic-bezier(.22, 1, .36, 1); overflow: hidden; }
.xc-head, .xcs, .xc-bar { width: var(--cw); margin-inline: auto; }
.xc-sec .lbl { margin-bottom: 1rem; }
.xcs { display: flex; gap: 10px; height: min(64svh, 680px); }
.xc { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--surface); color: var(--ink); transition: flex-grow .9s var(--xe); }
.xc.is-on { flex-grow: 7; }
.xc img { position: absolute; top: 0; left: 50%; width: calc(var(--cw) * .72); max-width: none; height: 100%; object-fit: cover; transform: translateX(-50%); filter: grayscale(1) brightness(.38); transition: filter .9s var(--xe); }
.xc.is-on img { filter: none; }
.xc:not(.is-on):hover img, .xc:not(.is-on):focus-visible img { filter: grayscale(.4) brightness(.7); }
.xc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,7,9,.92), rgba(7,7,9,.25) 45%, rgba(7,7,9,.35)); pointer-events: none; }
.xc__n, .xc__side, .xc__body, .xc__ic { position: absolute; z-index: 1; }
/* the component's icon badge: centred on a strip, top left on the open card */
.xc__ic { top: 1rem; left: 50%; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border: 1px solid rgba(221,227,236,.35); border-radius: 50%; background: rgba(7,7,9,.45); backdrop-filter: blur(6px); color: var(--light); transition: left .9s var(--xe), margin-left .9s var(--xe); }
.xc__ic svg { width: 20px; height: 20px; }
.xc.is-on .xc__ic { left: clamp(1.2rem, 2.4vw, 2.6rem); margin-left: 0; box-shadow: 0 0 18px var(--glow-soft); }
.xc__n { top: 4.4rem; left: 0; right: 0; text-align: center; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; letter-spacing: .14em; color: var(--ink-2); transition: left .9s var(--xe); }
.xc.is-on .xc__n { text-align: left; top: 1.85rem; left: calc(clamp(1.2rem, 2.4vw, 2.6rem) + 58px); }
.xc__side { left: 50%; bottom: 1.4rem; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 1.9vw, 2rem); letter-spacing: -.02em; transition: opacity .35s var(--ease) .3s; }
.xc.is-on .xc__side { opacity: 0; transition-delay: 0s; }
/* a fixed width, so the words do not re-wrap while the card is still opening */
.xc__body { left: clamp(1.2rem, 2.4vw, 2.6rem); bottom: clamp(1.2rem, 2.4vw, 2.6rem); width: calc(var(--cw) * .6); display: grid; gap: .7rem; justify-items: start; opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.xc.is-on .xc__body { opacity: 1; transform: none; transition: opacity .6s var(--ease) .35s, transform .8s var(--xe) .35s; }
.xc__name { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, min(5.6vw, 10svh), 6.2rem); line-height: .95; letter-spacing: -.04em; }
.xc__note { max-width: 46ch; text-wrap: balance; font-size: clamp(1rem, 1.25vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.xc__go { position: relative; margin-top: .3rem; padding-bottom: .35em; font-family: var(--display); font-weight: 700; font-size: clamp(.95rem, 1.2vw, 1.25rem); letter-spacing: -.02em; }
.xc__go::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--light); box-shadow: 0 0 14px var(--glow); }
.xc:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
/* how far through the section you are */
.xc-bar { display: none; height: 1px; margin-top: 1.4rem; background: var(--hair); position: relative; }
.xc-bar::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--sp, 0) * 100%); background: var(--light); box-shadow: 0 0 14px var(--glow); }
/* home.js adds .is-scroll: one screen of scroll per card plus one, contents pinned */
.xc-sec.is-scroll { height: calc((var(--steps, 4) + 1) * 100vh); padding: 0; overflow: visible; }
.xc-sec.is-scroll .xc-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; overflow: hidden; }
.xc-sec.is-scroll .xc-bar { display: block; }
/* On a phone the row becomes a stack: the open card is tall, the rest are bars with the
   name across them, and the stack fills whatever the screen has left under the header. */
@media (max-width: 700px) {
  .xc-sec { --cw: 88vw; }
  .xcs { flex-direction: column; gap: 8px; height: min(78svh, 640px); }
  .xc { flex: 0 0 58px; transition: flex-grow .9s var(--xe), flex-basis .9s var(--xe); }
  .xc.is-on { flex: 1 1 0; }
  .xc img { top: 50%; left: 0; width: 100%; height: calc(min(78svh, 640px) - 190px); transform: translateY(-50%); }
  .xc__ic, .xc.is-on .xc__ic { top: 7px; left: auto; right: .6rem; margin-left: 0; }
  .xc__n, .xc.is-on .xc__n { top: 0; left: 1rem; right: auto; line-height: 58px; text-align: left; }
  .xc__side { left: 3.4rem; bottom: auto; top: 0; line-height: 58px; writing-mode: horizontal-tb; transform: none; font-size: 1.15rem; }
  .xc__body { left: 1rem; right: 1rem; bottom: 1.1rem; width: auto; gap: .5rem; }
  .xc__name { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  .xc__note { font-size: 1rem; }
  .xc-sec.is-scroll .xc-pin { justify-content: flex-start; padding-top: clamp(84px, 12svh, 110px); padding-bottom: 1.4rem; }
  .xc-sec.is-scroll .xcs { flex: 1 1 0; height: auto; min-height: 0; }
  .xc-sec.is-scroll .xc img { height: 60svh; }
  .xc-bar { margin-top: 1rem; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .xc, .xc img, .xc__body, .xc__side, .xc__n { transition: none; } }

/* ---------- refinement pass, 21 Sep ---------- */
/* Three things were reading as cheap. One: every emphasis had a blurred halo behind it,
   which smudges type on a dark ground. Emphasis is now contrast alone: the sentence is
   unlit grey and the part that matters is white, which is the blacklight idea without the
   fog. Two: every line on the page was the same bold display face, so nothing led.
   Supporting copy is now the text face at a reading size and the headlines got larger.
   Three: the record of results was a paragraph; it is now the three figures themselves. */
.st { color: var(--ink-3); }
.st em, .st--2 em, .cs__n em, .pagehero__title b, .pledge.is-live .w.is-lit { text-shadow: none; }
.st--h { font-size: clamp(2.6rem, 6.8vw, 7.6rem); line-height: .94; letter-spacing: -.05em; max-width: 12ch; }
.st--xl { font-size: clamp(2.6rem, 7.6vw, 8.6rem); line-height: .94; letter-spacing: -.05em; }
.st--2 { font-family: var(--body); font-weight: 400; font-size: clamp(1.05rem, 1.4vw, 1.45rem); line-height: 1.6; letter-spacing: 0; color: var(--ink-2); max-width: 54ch; margin-top: clamp(1.6rem, 2.6vw, 2.8rem); }
.st--2 em { color: #fff; font-weight: 600; }
.pledge .st { color: var(--ink); }
.cs__n { color: #fff; }

.figs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 4.4fr); gap: 0 clamp(1.5rem, 3vw, 4rem); }
.fig { display: grid; align-content: start; padding-top: clamp(1rem, 1.6vw, 1.8rem); border-top: 1px solid var(--hair); }
.fig__v { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 8.4rem); line-height: .9; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig__v i { font-style: normal; color: var(--ink-3); }
.fig__k { margin-top: clamp(1rem, 1.8vw, 2rem); font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.35vw, 1.4rem); letter-spacing: -.02em; color: var(--ink); }
.fig__d { margin-top: .45rem; max-width: 30ch; font-size: .95rem; line-height: 1.5; color: var(--ink-3); }
.stm--figs .st--2 { margin-top: clamp(2.4rem, 4.5vw, 5rem); }
@media (max-width: 800px) {
  .figs { grid-template-columns: 1fr; gap: clamp(1.8rem, 6vw, 2.6rem) 0; }
  .fig__v { font-size: clamp(4rem, 22vw, 6.5rem); }
}

/* ---------- hero at full size (22 Sep) ---------- */
/* Drew: the hero looked small on both. On a desktop the stack was held to the height
   between the nav and the caption, and because it is roughly square that left it on half
   the width. It now runs the full screen under the transparent nav and is sized off the
   width, so it is a poster, not an object in the middle of a room. On a phone it was
   held to 84% of the width it could take; it now takes 94%. */
.intro { margin-top: calc(-1 * var(--nav-h, 88px) - 1px); min-height: 100svh; max-height: none; padding: 0; }
.intro__stack { --fs: clamp(34px, min(7.4vw, 11.6svh), 150px); }
@media (max-width: 900px) { .intro__stack { --fs: clamp(24px, 10.4vw, 72px); } }
/* A phone is tall and narrow, so the stack is limited by width. Tightening the stair
   between rows (the staircase is most of the stack's width) lets the words themselves
   grow by another fifth without touching the edges. */
@media (max-width: 600px) { .intro__stack { --step: .28; --fs: clamp(24px, 11.8vw, 60px); } }

/* ---------- services heading (BugSmash 5 and 6, 25 Sep) ---------- */
/* Ben: "What we run" read as a heading that was too small. It is now a real one, set as
   a statement, and the card numbers under the icons are gone. */
.xc-title { max-width: 22ch; font-size: clamp(1.7rem, min(3.6vw, 6.4svh), 3.9rem); line-height: 1.02; margin-bottom: clamp(1.2rem, 2.6svh, 2.2rem); }
@media (max-width: 700px) {
  .xc-title { font-size: clamp(1.6rem, 7.6vw, 2.2rem); margin-bottom: 1rem; }
  .xc__side { left: 1rem; }
}

/* ---------- work filter breathing room (BugSmash 8, 25 Sep) ---------- */
/* Ben: the hover trail sat right on the letters. The buttons get padding on every side,
   so the trail runs round the word with room; the first one pulls back to keep the row
   on the page's left edge, and the active underline stays under the word. */
.filter__btn { padding: .65rem .95rem; margin-right: .15rem; }
.filter__btn:first-child { margin-left: -.95rem; }
.filter__btn.is-active::after { left: .95rem; right: .95rem; bottom: .2rem; }

/* ---------- the end card footer (25 Sep) ---------- */
/* Replaces the micrographic console on every page (Drew; BugSmash 11 to 26). The brand
   line at display scale, two ways in, the three offices, the links set quietly, and the
   name at the bottom. The name is drawn from a data attribute through ::before and
   ::after, so it is not text to a screen reader or the contrast audit; the lit copy is
   masked by a soft light at --mx / --my, which the pointer moves. */
.ec { position: relative; overflow: hidden; background: var(--ground); padding-top: clamp(96px, 11vw, 200px); }
.ec__line { max-width: 12.5ch; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 6.6vw, 7.4rem); line-height: .94; letter-spacing: -.05em; color: var(--ink-3); text-wrap: balance; }
.ec__line em { font-style: normal; color: #fff; }
.ec__ctas { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin-top: clamp(1.8rem, 3vw, 3rem); }
.ec__offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(4.5rem, 9vw, 9rem); border-block: 1px solid var(--hair); }
.ofc { display: grid; align-content: start; gap: .45rem; padding: clamp(1.4rem, 2.4vw, 2.4rem) clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--hair); color: inherit; }
.ofc:first-child { border-left: 0; padding-left: 0; }
.ofc__k, .ec__h { font-family: var(--display); font-weight: 600; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.ofc__city { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.9rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); transition: color .3s var(--ease); }
.ofc__meta { font-size: .9rem; color: var(--ink-3); }
.ofc:hover .ofc__city, .ofc:focus-visible .ofc__city { color: #fff; }
.ec__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.2rem, 3vw, 3rem); margin-top: clamp(3rem, 5vw, 4.5rem); font-size: .9rem; }
.ec__h { margin-bottom: .95rem; }
.ec__links ul, .ec__legal ul { list-style: none; }
.ec__links ul { display: grid; gap: .55rem; }
.ec__links a { color: var(--ink-2); transition: color .25s var(--ease); }
.ec__links a:hover, .ec__links a:focus-visible, .ec__legal a:hover, .ec__legal a:focus-visible { color: #fff; }
.ec__social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.ec__social a { display: inline-flex; color: var(--ink-3); }
.ec__social svg { width: 16px; height: 16px; fill: currentColor; }
/* one line, one size, one baseline (Ben, BugSmash 14) */
.ec__legal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 1.8rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.2rem; border-top: 1px solid var(--hair); font-size: .78rem; line-height: 1.4; color: var(--ink-3); }
.ec__legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; }
.ec__legal a { font-size: inherit; color: var(--ink-3); }
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 140%; }
.ec__mark { position: relative; margin: clamp(1.5rem, 3vw, 3rem) 0 -1.6vw; font-family: var(--display); font-weight: 900; font-size: 15.2vw; line-height: .8; letter-spacing: -.055em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none; transition: --mx .9s cubic-bezier(.16, 1, .3, 1), --my .9s cubic-bezier(.16, 1, .3, 1); }
.ec__mark.is-sweep { transition: none; }
.ec__mark::before, .ec__mark::after { content: attr(data-word); display: block; }
.ec__mark::before { color: #111216; }
.ec__mark::after { position: absolute; inset: 0; color: #fff;
  -webkit-mask-image: radial-gradient(circle 24vw at var(--mx) var(--my), #000 0, rgba(0, 0, 0, .55) 35%, transparent 72%);
          mask-image: radial-gradient(circle 24vw at var(--mx) var(--my), #000 0, rgba(0, 0, 0, .55) 35%, transparent 72%); }
@media (max-width: 800px) {
  .ec__offices { grid-template-columns: 1fr; }
  .ofc { border-left: 0; border-top: 1px solid var(--hair); padding-left: 0; }
  .ofc:first-child { border-top: 0; }
  .ec__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec__legal { flex-direction: column; }
}

/* ---------- leadership preview (Drew, 25 Sep) ---------- */
/* The three chiefs, lit like the portfolio as they cross the middle of the screen, with
   the rest of the team one link away. Read from TEAM by title in pages.py. */
.stm--ldr .st--h { max-width: 14ch; }
.ldr__who { margin-top: 1.2rem; font-family: var(--display); font-weight: 600; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.ldrs.pf { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(3rem, 6vw, 6rem); padding: 0; }
.ldr .pf__tile { display: block; aspect-ratio: 4 / 5; }
.ldr .pf__tile img { object-position: 50% 30%; }
.ldr__n { display: block; margin-top: 1.1rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.ldr__r { display: block; margin-top: .3rem; font-size: .95rem; color: var(--ink-3); }
@media (max-width: 700px) {
  .ldrs.pf { grid-template-columns: 1fr; gap: 2rem; }
  .ldr .pf__tile { aspect-ratio: 1 / 1; }
}

/* ---------- case rows without the dead block (25 Sep) ---------- */
/* The text column was a third of the photograph's height, so a black block sat under
   every name. It now runs the photograph's full height: the index at the top, the name,
   the number and the link on the photograph's bottom edge. The index is set in the
   display face like every other small label on the home page. */
.cs { align-items: stretch; }
.cs__body { display: flex; flex-direction: column; padding-top: .3rem; padding-bottom: .3rem; }
.cs__name { margin-top: auto; }
.cs__meta { font-family: var(--display); font-weight: 600; font-size: .64rem; letter-spacing: .18em; }
@media (min-width: 901px) { .cs__body--plain { justify-content: center; } .cs__body--plain .cs__name { margin-top: 1.2rem; } }   /* a row with no headline number has nothing to pin to the photograph's bottom edge, so its text sits in the middle (BugSmash 85) */
/* On a phone the portfolio's 4:5 tile rule was also squeezing these photographs to half
   the width of the screen; here they run full width at their own height. */
@media (max-width: 900px) { .cs__body { padding-top: 0; } .cs__name { margin-top: 0; } .cs__img.pf__tile { width: 100%; aspect-ratio: auto; } }

/* ---------- one clock (25 Sep) ---------- */
/* The same beat and the same two curves as home.js: 600ms, ease-out for anything
   arriving, ease-move for anything travelling. --ease, used by every hover and reveal on
   the site, now is the arriving curve, and the service cards, their text and the logo
   ribbons run on whole or half beats. */
:root { --beat: .6s; --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-move: cubic-bezier(.65, 0, .35, 1); --ease: var(--ease-out); }
.xc-sec { --xe: var(--ease-out); }
.xc, .xc img { transition-duration: calc(var(--beat) * 1.5); }
.xc__body { transition: opacity calc(var(--beat) / 2) var(--ease-out), transform calc(var(--beat) / 2) var(--ease-out); }
.xc.is-on .xc__body { transition: opacity var(--beat) var(--ease-out) calc(var(--beat) / 2), transform calc(var(--beat) * 1.5) var(--ease-out) calc(var(--beat) / 2); }
.xc__side { transition: opacity calc(var(--beat) / 2) var(--ease-out) calc(var(--beat) / 2); }
.marquee { --marquee-speed: 48s; }
@media (prefers-reduced-motion: reduce) { .xc, .xc img, .xc__body, .xc.is-on .xc__body, .xc__side { transition: none; } }

/* ---------- logo ribbons: smaller, seamless, never pausing (25 Sep) ---------- */
/* Drew: on a phone the logos were too big (under two on screen), desktop wanted more at
   once, the loop jumped each time it came round, and it stopped whenever the cursor came
   near. Each logo now sits in a smaller slot and carries its own trailing space (margin,
   not gap), so the two halves of the track measure the same to the pixel and the loop
   slides back by exactly one half with no jump. site.js builds the halves before the
   ribbon starts moving, sets the speed in px per second in whole beats, and nothing
   pauses it. About 10 logos show across a 1440 screen, 6 across a phone. */
.marquee { --lw: 7.5rem; --lh: 4.2rem; --lg: 2.4rem; }
.marquee__track { gap: 0; animation: none; }
.marquee__track.is-live { animation: marquee var(--marquee-speed, 48s) linear infinite; }
.marquee__item { width: var(--lw); height: var(--lh); margin-right: var(--lg); }
.marquee__item img { max-width: calc(var(--lw) * .92); max-height: calc(var(--lh) * .6); }
@media (max-width: 1100px) { .marquee { --lw: 6rem; --lh: 3.6rem; --lg: 1.8rem; } }
@media (max-width: 700px) { .marquee { --lw: 3.7rem; --lh: 2.6rem; --lg: 1.05rem; } }

/* ---------- Loop 1: one choreography, every page (27 Sep) ---------- */
/* site.js wraps each word of a headline in a mask; the word rises out of it over two
   beats, an eighth of a beat after the one before. The mask carries a little room below
   so descenders are not clipped. Paragraphs and links under a headline follow a beat
   later; photographs open down from their top edge. Page changes cross-fade on the same
   clock, the new page rising a touch as it arrives. Everything is transform, opacity or
   clip, so nothing shifts the layout; reduced motion never splits or hides anything. */
.cw { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .02em .14em; margin: 0 -.02em -.14em; }
.cw__i { display: inline-block; transform: translateY(108%); transition: transform calc(var(--beat) * 2) var(--ease-out); }
.cw-on.is-in .cw__i { transform: none; }
.cf { opacity: 0; transform: translateY(14px); transition: opacity calc(var(--beat) * 2) var(--ease-out) var(--beat), transform calc(var(--beat) * 2) var(--ease-out) var(--beat); }
.cf.is-in { opacity: 1; transform: none; }
/* The clip goes on what is inside the frame, never the frame: the observer watches the
   frame, and a frame clipped to nothing never counts as on screen, so it never opened.
   It opens as an animation, not a transition, so it cannot replace the transitions the
   contents already have (the ledger's cross-fade, the photos' hover filter). */
.cp:not(.is-in) > * { clip-path: inset(0 0 100% 0); }
.cp.is-in > * { animation: cp-open calc(var(--beat) * 2.5) var(--ease-out) backwards; }
@keyframes cp-open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.ch-prep .cf { transition: none !important; }
[data-reveal] { transition: opacity calc(var(--beat) * 1.5) var(--ease-out), transform calc(var(--beat) * 1.5) var(--ease-out), border-color .3s, background-color .3s; }
[data-reveal="2"] { transition-delay: calc(var(--beat) / 4); } [data-reveal="3"] { transition-delay: calc(var(--beat) / 2); } [data-reveal="4"] { transition-delay: calc(var(--beat) * .75); }
::view-transition-old(root) { animation: vt-out calc(var(--beat) / 2) var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in var(--beat) var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .cw__i, .cf, .cp > * { transform: none; opacity: 1; clip-path: none; transition: none; animation: none; } }

/* ---------- Loop 2: one close per page (27 Sep) ---------- */
/* The lamp band above the footer is gone; its question now sits under the brand line as
   the page's own reason to call, the question lit and the answer quiet. The brand line
   is a touch wider so it breaks as three lines, not four with a word stranded. */
.ec__line { max-width: 15.5ch; }
.ec__ask { max-width: 34rem; margin-top: clamp(1.6rem, 2.4vw, 2.4rem); font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ec__ask b { font-weight: 600; color: #fff; }
.ec__ask + .ec__ctas { margin-top: clamp(1.4rem, 2vw, 2rem); }

/* ---------- Loop 3: section heads at statement scale (27 Sep) ---------- */
/* One big moment per section (DESIGN.md), still in one weight: the head is set like the
   home page's statements, 800 and tight, about three quarters of the page title, so each
   section opens with a line instead of a caption. In a half-width column it steps down
   so it does not stack into a tower. */
.sh__title { font-weight: 800; letter-spacing: -.045em; line-height: 1; max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 4.9rem); }
.split .sh__title, .g-7 .sh__title { max-width: 16ch; font-size: clamp(2rem, 3.5vw, 3.8rem); }
.sh .eyebrow + .sh__title { margin-top: 1.2rem; }

/* ---------- Loop 5: ledgers instead of card grids (27 Sep) ---------- */
/* Industries, offices and "what clients add next" use the services ledger: big names on
   hairlines, one photo that follows the hovered row. No index numbers, since these are
   not steps. On a phone each row carries its own photo above the name. */
.svc--plain .svc__row { grid-template-columns: minmax(0, 1fr) auto; }
.svc--plain .svc__note { grid-column: 1; }
.svc--plain .svc__cta { grid-column: 2; }
.svc__name { text-wrap: balance; }
.svc__th { display: none; }
@media (max-width: 900px) {
  .svc--plain .svc__row { grid-template-columns: minmax(0, 1fr); padding-top: 1.4rem; }
  .svc--plain .svc__cta { grid-column: 1; }
  .svc__th { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1.2rem; background: var(--surface-2); }
  .svc__th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
}

/* ---------- Loop 6: a case study's numbers, on the record (27 Sep) ---------- */
/* Set like home's figures, one to a row: the figure at display size on the left, what it
   measured on the right, hairlines between. Any count and any length fits, including a
   figure that is words ("Top of search"). */
.rec { border-bottom: 1px solid var(--hair); }
.rec__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: .4rem var(--gutter); align-items: baseline; padding: clamp(1rem, 1.8vw, 1.8rem) 0 clamp(.9rem, 1.5vw, 1.5rem); border-top: 1px solid var(--hair); }
.rec__v { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 7.6rem); line-height: .9; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.rec__k { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.5rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ink-2); text-wrap: balance; }
.rec__k::first-letter { text-transform: uppercase; }
@media (max-width: 700px) { .rec__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Loop 7: lists as rows (27 Sep) ---------- */
/* What a service includes, what works in an industry and the promises were small grids,
   three and four across. They are rows now, the way the case studies set "By discipline"
   and their figures: the item's name large on the left, what it means on the right, a
   hairline above each. The promises keep their short lit rule. */
.included, .included--2, .promises { display: block; border-bottom: 1px solid var(--hair); }
.inc, .promise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .7rem var(--gutter); align-items: baseline; padding: clamp(1.2rem, 2vw, 1.9rem) 0; border-top: 1px solid var(--hair); }
.inc h3, .promise h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 2.2rem); line-height: 1.05; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.inc p, .promise p { margin: 0; max-width: 54ch; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 700px) { .inc, .promise { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Loop 8: proof as a ledger (27 Sep) ---------- */
/* The case studies under "Proof" use the ledger too: the client's name, then the
   headline figure lit in its note. */
.svc__note em { font-style: normal; font-weight: 600; color: #fff; }

/* ---------- Loop 9: the forms, set like the rest of the page (27 Sep) ---------- */
/* No boxes: each field is a line with the answer written above it in the display face,
   large, and the line lights when the field has focus, the lamp idea again. The line is
   caption grey, not a hairline, so a field's edge keeps 3:1 contrast. The
   submit stays a solid button (a form needs an obvious one), just with more presence. */
.form { gap: clamp(1.4rem, 2vw, 2rem); }
.form__row { gap: clamp(1.4rem, 2vw, 2rem) clamp(1.5rem, 3vw, 3rem); }
.field { gap: .2rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { background-color: transparent; border: 0; border-bottom: 1px solid var(--ink-3); border-radius: 0; padding: .55rem 0 .7rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.35vw, 1.3rem); letter-spacing: -.02em; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus, .field textarea:focus { border-color: var(--light); box-shadow: 0 1px 0 var(--light), 0 14px 22px -18px var(--glow); }
.field select { background-position: calc(100% - 10px) 55%, calc(100% - 4px) 55%; padding-right: 2rem; }
.field select option { background: var(--surface); color: var(--ink); }
.field textarea { min-height: 6.5rem; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 100px var(--ground) inset; caret-color: var(--ink); }
.form .btn--solid { padding: 1.15rem 2rem; font-size: .8rem; }

/* ---------- Loop 10: an article set to be read (27 Sep) ---------- */
/* The journal ran about 110 characters to a line in 17px type. Now it is a readable
   measure (about 66 characters) at up to 1.2rem, the opening paragraph set larger as
   the standfirst, and the subheads in the display face at the site's weight. */
.prose { max-width: 38rem; }
.prose p, .prose li { font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.75; }
.prose .meta + p { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.45; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.prose p + p { margin-top: 1.2rem; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.08; letter-spacing: -.035em; color: var(--ink); margin: 3.4rem 0 1.1rem; text-wrap: balance; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -.02em; color: var(--ink); margin: 2.2rem 0 .7rem; }

/* ---------- Loop 11: the blacklight reveal on page heroes (27 Sep) ---------- */
/* site.js lays a full-colour copy of the hero photo over the dimmed one and masks it to a
   lamp at --mx/--my, fixed on the photograph's subject (Drew, 11 Nov: no pointer). It sits
   above the dark gradient so the light actually shows, and a second mask fades it out
   toward the bottom, where the title and the paragraph sit, so the words keep their
   contrast. No transition: the registered --mx/--my would slide in from their defaults. */
.pagehero__lit { position: absolute; inset: 0; z-index: 1; pointer-events: none; --r: clamp(180px, 20vw, 340px);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 30%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,.2) 52%, rgba(0,0,0,.08) 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 30%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,.2) 52%, rgba(0,0,0,.08) 100%);
  mask-composite: intersect; }
.pagehero__img .pagehero__lit img { filter: contrast(1.06) saturate(1.05) brightness(.92); opacity: 1; }



/* ---------- Loop 12: photographs carry into the next page (27 Sep) ---------- */
/* A ledger row's photo and the hero it leads to share a view-transition name, so the
   photo grows into the hero. Named morphs run on the clock: a beat and a fifth, on the
   moving curve. The nav and footer keep their own near-zero duration. */
::view-transition-group(*) { animation-duration: calc(var(--beat) * 1.2); animation-timing-function: var(--ease-move); }
.ch-now, .ch-now .cw__i, .ch-now > * { transition: none !important; animation: none !important; }

/* ---------- Loop 13: depth as a hero scrolls away (27 Sep) ---------- */
/* site.js writes --hp, 0 at rest to 1 when the hero has scrolled off. The photo falls
   behind and eases in; the words rise faster and dim. Nothing changes under reduced
   motion, where --hp is never written. */
.pagehero--img { --hp: 0; }
.pagehero--img .pagehero__img { transform: translate3d(0, calc(var(--hp) * 12%), 0) scale(calc(1 + var(--hp) * .05)); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }   /* the photo fades out at its foot, so moving it never exposes a hard edge */
.pagehero--img > .wrap { transform: translate3d(0, calc(var(--hp) * -9vh), 0); opacity: calc(1 - var(--hp) * 1.15); }

/* ---------- Loop 14: lists set like the ledger (27 Sep) ---------- */
/* The journal, "more from the journal" and the industries list on /services were small
   blog rows with a grey hover band. They take the ledger's voice: the name large in the
   display face, grey at rest and white under the pointer or focus, hairlines, no band. */
.list__item { padding: clamp(1.3rem, 2vw, 1.9rem) 0; margin: 0; }
.list__item:hover, .list__item:focus-visible { background: transparent; }
.list__item h2, .list__item h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.5vw, 2.4rem); line-height: 1.08; letter-spacing: -.025em; color: var(--ink-2); text-wrap: balance; transition: color .25s var(--ease); }
.list__item:hover :is(h2, h3), .list__item:focus-visible :is(h2, h3) { color: #fff; }
.list__item p { margin-top: .55rem; max-width: 60ch; font-size: 1rem; color: var(--ink-3); }
.list__item .arrow { color: var(--ink-3); transition: color .25s var(--ease); }
.list__item:hover .arrow, .list__item:focus-visible .arrow { color: #fff; }
.split .list__item h3 { font-size: clamp(1.25rem, 1.9vw, 1.8rem); }
/* on /journal the entries are the page's own sections, so they are h2 (heading order) */

/* ---------- Loop 15: the company's record, and questions with presence (27 Sep) ---------- */
/* The timeline was four small columns on a line of diamonds. It is set like a case
   study's figures now: the date large on the left, what happened on the right, a hairline
   above each. The FAQ questions step up so each row carries its own weight. */
.timeline { display: block; border-bottom: 1px solid var(--hair); }
.timeline::before, .tl::before { content: none; }
.tl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .5rem var(--gutter); align-items: baseline; padding: clamp(1.2rem, 2vw, 1.9rem) 0; border-top: 1px solid var(--hair); }
.tl__date { grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3.8rem); line-height: .95; letter-spacing: -.05em; text-transform: none; color: #fff; }
.tl__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: -.02em; color: var(--ink); }
.tl__text { margin: 0; font-size: 1rem; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 700px) { .tl { grid-template-columns: minmax(0, 1fr); } .tl__date { grid-row: auto; } }
.faq__q { padding: clamp(1.2rem, 1.8vw, 1.6rem) 0; font-size: clamp(1.1rem, 1.6vw, 1.55rem); letter-spacing: -.02em; line-height: 1.2; }

/* ---------- Loop 16: ledgers on a tablet (27 Sep) ---------- */
/* Between a phone and a desktop each row's photo sat full width above the name, which
   turned a ledger back into a stack of cards (seven large photos on a service page at
   768). Here the photo takes the left two fifths of its row and the words the rest. */
@media (min-width: 561px) and (max-width: 900px) {
  .svc--plain .svc__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: clamp(1.2rem, 3vw, 2rem); align-items: center; }
  .svc--plain .svc__th { grid-row: 1 / span 3; margin: 0; aspect-ratio: 4 / 3; }
  .svc--plain .svc__name, .svc--plain .svc__note, .svc--plain .svc__cta { grid-column: 2; }
}

/* ---------- Loop 18: the phone number, for people who hate forms (27 Sep) ---------- */
.consult__tel { display: inline-block; margin-bottom: .7rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.04em; color: #fff; }

/* ---------- Loop 19: the phone menu, full screen (27 Sep) ---------- */
/* The phone menu was a partial panel of small spaced capitals with the page showing
   under it, and it appeared with no motion. It is the whole screen now: the six places
   in the display face at statement size, the current one lit, rising in on the clock an
   eighth of a beat apart; the consultation and the phone number sit at the foot. */
@media (max-width: 900px) {
  .nav__links { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.2rem, 4vh, 2.6rem) var(--gutter) calc(1.8rem + env(safe-area-inset-bottom)); border-bottom: 0; }
  .nav__links .nav__link, .nav__links .nav__disc { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 10vw, 3.4rem); line-height: 1.02; letter-spacing: -.045em; text-transform: none; color: var(--ink-2); padding: .3rem 0; }
  .nav__links .nav__link[aria-current="page"] { color: #fff; }
  .nav__links .nav__link::after { content: none; }
  .nav__links .nav__tel { margin-top: .6rem; font-size: 1rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
  .nav__links .nav__drawer-cta { margin-top: auto; padding-top: 1.6rem; }
  .nav__links.is-open .nav__link, .nav__links.is-open .nav__disc, .nav__links.is-open .nav__drawer-cta { animation: menu-in calc(var(--beat) * 1.5) var(--ease-out) backwards; animation-delay: calc(var(--i, 7) * var(--beat) / 8); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(.6em); } }
@media (prefers-reduced-motion: reduce) { .nav__links.is-open .nav__link, .nav__links.is-open .nav__disc, .nav__links.is-open .nav__drawer-cta { animation: none; } }

/* ---------- Loop 20: the pages after the form, and phone numbers (27 Sep) ---------- */
a[href^="tel:"] { white-space: nowrap; }   /* a phone number never breaks across lines */

/* ---------- Loop 21: the light comes on in a ledger (27 Sep) ---------- */
.svc__fig img { transition: filter .7s var(--ease-out); }
.svc.is-lit .svc__fig.is-on img { filter: grayscale(0) contrast(1.04); }
@media (prefers-reduced-motion: reduce) { .svc__fig img { transition: none; } }

/* ---------- Loop 23: the cookie choice, in the site's voice and even-handed (27 Sep) ---------- */
/* The first thing every visitor sees. Accept was a solid button and Decline an outline,
   which leans on the visitor; both are now the same type button, the site's link style,
   Accept first. */
.consent { padding: 1.3rem 1.5rem 1.2rem; background: var(--ground); font-size: .95rem; line-height: 1.55; }
.consent p { margin: 0 0 .9rem; color: var(--ink-2); }
.consent button, .consent button.primary { background: none; border: 0; border-bottom: 2px solid var(--hair); border-radius: 0; padding: .45rem 0 .35rem; margin-right: 1.8rem; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; color: var(--ink); transition: border-color .25s var(--ease), color .25s var(--ease); cursor: pointer; }
.consent button:hover, .consent button:focus-visible { border-bottom-color: var(--light); color: #fff; }
.consent button:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; }

/* ---------- Loop 24: the other industries, named (27 Sep) ---------- */
.also + .also { margin-top: clamp(2rem, 4vw, 3rem); }
.also__links { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.4rem, 3vw, 2.6rem); margin-top: 1rem; }
.also__a { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.1vw, 2rem); line-height: 1.15; letter-spacing: -.025em; color: var(--ink-2); transition: color .25s var(--ease); }
.also__a:hover, .also__a:focus-visible { color: #fff; }

/* ---------- Loop 25: the work filter in the display face (27 Sep) ---------- */
/* The page's one control was tiny spaced capitals. The kinds of work are set like the
   ledger names now, grey until chosen, the chosen one white on its lit rule. */
.filter { gap: .2rem clamp(1.2rem, 2.4vw, 2.2rem); }
.filter__btn { margin: 0; padding: .45rem 0; font-weight: 600; font-size: clamp(1.05rem, 1.35vw, 1.3rem); letter-spacing: -.015em; text-transform: none; color: var(--ink-3); }
.filter__btn:first-child { margin-left: 0; }
.filter__btn:hover, .filter__btn:focus-visible { color: var(--ink); }
.filter__btn.is-active { color: #fff; text-shadow: none; }

/* ---------- Loop 26: the shoot lit as it passed (27 Sep) ---------- */
/* Off 11 Nov (Drew): gallery photos show in full colour, with no grey, hover or scroll light. */

/* ---------- Loop 27: the team lights as it passes (27 Sep) ---------- */
.team.is-live .person__img img { filter: grayscale(1) brightness(.55) contrast(1.1); transition: filter .9s var(--ease); }
.team.is-live .person.is-lit .person__img img, .team.is-live .person:hover .person__img img { filter: none; }

/* ---------- Loop 28: light and large, lit (28 Sep) ---------- */
/* Drew, 28 Sep: "close, but still lacking something sleek and sexy." Four directions were
   built and judged (a creative director, the brand guardian and a buyer all chose this one;
   the record is in loop/log.md). Display type drops from 700 and 800 to 300 and grows a
   step, as the old site's light line with a heavy phrase did; a lit phrase is white at 500
   and warms from grey as it rises; big figures are hairline 200. Taken from the other
   directions: the hero lamp comes to rest on the photograph's subject with a shade behind
   the words; figures grey their qualifiers; lines go to 1px and keep a soft bloom; the arrow
   on text links is gone; the header is thinner; the nav underline draws in and leaves the
   other way; fact-row hairlines draw as their rows arrive; hovers light quickly and fade
   slowly; the home case photos burn their skies down. Reading copy stays Raleway 400.
   Montserrat and Raleway only; no word changed. */

:root { --lit-w: 500; }
/* Raleway's figures are old-style and the self-hosted subset has no lining figures, so
   "60 days" read as lowercase next to Montserrat numbers. For now the reading face takes its
   ten digits from Montserrat (the same file the site already loads). The proper fix is a
   Raleway file with lining figures, re-subset with lnum; it needs the full font. */
@font-face { font-family: "Raleway LN"; src: url(/fonts/Raleway-VariableFont_wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway LN"; src: url(/fonts/Montserrat-VariableFont_wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
:root { --body: "Raleway LN", "Raleway", system-ui, sans-serif; }

/* ---- air ---- */
.section { padding: clamp(96px, 13vw, 250px) 0; }
.stm { padding: clamp(120px, 15vw, 300px) 0; }
.sh { margin-bottom: clamp(56px, 7vw, 128px); }

/* ---- optical edge: headlines only. Figures and short names keep the column edge; a
   digit has almost no side bearing to take back. ---- */
.pagehero__title, .st--h, .st--xl, .ec__line { margin-left: -.03em; }

/* ---- header: thinner, so light type gets a lighter frame ---- */
/* The nav is sticky, so it sits in the page. When it thinned on scroll, everything under
   it rose 20px, Chrome's scroll anchoring pulled the scroll back over the 64px line, the
   nav grew again, and it flickered clear and solid (Drew, 11 Nov). The margin gives back
   what the bar gives up, on the bar's own .6s clock, so the page under it never moves. */
.nav { --nav-h0: 76px; --nav-h: var(--nav-h0); margin-bottom: calc(var(--nav-h0) - var(--nav-h)); }
.nav.is-scrolled { --nav-h: 56px; }
.nav__brand img { height: 40px; }
.nav.is-scrolled .nav__brand img { height: 30px; }
.intro { margin-top: -77px; }
@media (max-width: 900px) {
  .nav { --nav-h0: 68px; }
  .nav.is-scrolled { --nav-h: 56px; }
  .nav__brand img { height: 36px; }
  .nav.is-scrolled .nav__brand img { height: 30px; }
  .intro { margin-top: -69px; }
}

/* ---- page heroes ---- */
/* Size and top air answer to the screen's height too, so a four-line title still has its
   buttons on the first screen of a laptop. */
.pagehero { padding-top: clamp(80px, min(14vw, 17svh), 180px); }
.pagehero__title { font-weight: 300; font-size: clamp(2.8rem, min(7.2vw, 11.5svh), 8.8rem); line-height: .92; letter-spacing: -.056em; max-width: 16ch; }
.pagehero__title:has(b) { color: var(--ink-3); }
.pagehero__title b { font-weight: var(--lit-w); letter-spacing: -.05em; color: #fff; }
/* reading copy: Raleway 400, not 300 (300 stays a display voice) */
.pagehero__lede { font-family: var(--body); font-weight: 400; font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.6; letter-spacing: 0; color: var(--ink-2); max-width: 38rem; margin-top: clamp(1.8rem, 2.6vw, 2.8rem); }
.pagehero--img .pagehero__lede { color: #b9bdc6; }
.pagehero--img .eyebrow { color: var(--light); }

/* ---- the lamp comes to rest on the work ---- */
/* site.js (lamp) now ends the opening sweep on the photograph's own subject and goes back
   there when the pointer leaves, so a hero is never left grey. The words carry their own
   shade: a soft dark pool above the photograph and the lamp, so wherever the light sits the
   title and paragraph keep their contrast, and the lamp's vertical fade can relax enough
   for the light to reach a subject low in the frame. */
.pagehero__lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 25%, rgba(0,0,0,.6) 60%, transparent 100%), linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.5) 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 25%, rgba(0,0,0,.6) 60%, transparent 100%), linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.5) 100%); }
/* over the photograph and the lamp: a burn from the top, so an open sky under the lamp
   never turns into a white disc */
.pagehero--img .pagehero__img::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,7,9,.62) 0, rgba(7,7,9,.3) 20%, rgba(7,7,9,0) 42%); }
.pagehero__img .pagehero__lit img { filter: contrast(1.1) saturate(1.1) brightness(.95); }
.pagehero--img > .wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: -24%; right: 8%; top: -34%; bottom: -26%;
  background: radial-gradient(closest-side, rgba(7,7,9,.6) 0, rgba(7,7,9,.52) 50%, rgba(7,7,9,.26) 78%, rgba(7,7,9,0) 100%); }
@media (max-width: 900px) {
  .pagehero--img > .wrap::before { left: -30%; right: -30%; top: -32%; bottom: -12%; background: radial-gradient(closest-side, rgba(7,7,9,.62) 0, rgba(7,7,9,.52) 60%, rgba(7,7,9,0) 100%); }
}

/* ---- home statements ---- */
.st { font-weight: 300; letter-spacing: -.045em; }
h1.st, h2.st, h3.st { font-weight: 300; }
.st em { font-weight: var(--lit-w); letter-spacing: -.045em; }
.st--h { font-size: clamp(3rem, min(9.4vw, 14svh), 11.5rem); line-height: .9; letter-spacing: -.058em; max-width: 12ch; }
/* The statement under the home poster keeps its call to action on the first screen it is
   read on: its top air and its size answer to the screen's height as well as its width. */
.intro + .stm { padding-top: clamp(80px, min(10vw, 16svh), 200px); }
.st--xl { font-weight: 300; line-height: .9; letter-spacing: -.058em; }
.st--q { font-weight: 300; }
.st--2 { font-family: var(--body); font-weight: 400; font-size: clamp(1.05rem, 1.35vw, 1.4rem); line-height: 1.6; letter-spacing: 0; }
.st--2 em { font-weight: 600; letter-spacing: 0; }
.lede { font-weight: 400; line-height: 1.6; }
.xc-title { font-weight: 300; letter-spacing: -.045em; }

/* ---- section heads ---- */
.sh__title { font-weight: 300; font-size: clamp(2.4rem, 5.6vw, 6.6rem); line-height: .96; letter-spacing: -.052em; max-width: 16ch; }
.split .sh__title, .g-7 .sh__title { font-size: clamp(2.2rem, 4.2vw, 4.8rem); }
.sh .eyebrow + .sh__title { margin-top: 1.6rem; }

/* ---- small labels: lighter, more open ---- */
.eyebrow, .lbl, .cs__meta, .ofc__k, .ec__h, .ldr__who { font-weight: 500; letter-spacing: .22em; }
.nav__link, .nav__disc { font-weight: 500; letter-spacing: .2em; }
.nav__cta { font-weight: 600; letter-spacing: .18em; }
.svc__cta, .chip, .tag, .btn { font-weight: 500; letter-spacing: .2em; }

/* ---- text calls to action: a 1px lit line that still blooms, no arrow ---- */
.tcta, a.btn--solid, a.btn--ghost, .hero__actions a.btn { font-weight: 500; letter-spacing: -.015em; }
.tcta::after { height: 1px; box-shadow: 0 0 10px var(--glow-soft); }
.tcta::before { content: none; }
.tcta--quiet::after { box-shadow: none; transform-origin: right; }
.tcta--quiet:hover::after, .tcta--quiet:focus-visible::after { transform-origin: left; box-shadow: 0 0 10px var(--glow-soft); }
a.btn--solid, a.btn--ghost, .hero__actions a.btn { border-bottom-width: 1px; }
a.btn--solid, .hero__actions a.btn--solid { box-shadow: 0 8px 14px -12px var(--glow-soft); }

/* ---- nav: the underline draws in from the left and leaves to the right ---- */
.nav__link::after { transform-origin: right; transition: transform .45s var(--ease-move); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform-origin: left; }

/* ---- hovers: the light comes on quickly and fades slowly ---- */
/* In at half a beat (inside the 200 to 300ms hover range), out over a full beat. */
.svc__name, .svc__cta, .ofc__city, .nav__link, .also__a, .list__item :is(h2, h3), .list__item .arrow, .ec__links a { transition: color var(--beat) var(--ease-out); }
.svc__row:is(.is-on, :hover, :focus-visible) :is(.svc__name, .svc__cta), .ofc:is(:hover, :focus-visible) .ofc__city, .nav__link:is(:hover, :focus-visible), .also__a:is(:hover, :focus-visible), .list__item:is(:hover, :focus-visible) :is(h2, h3, .arrow), .ec__links a:is(:hover, :focus-visible) { transition-duration: calc(var(--beat) / 2); }

/* ---- case rows ---- */
.cs__name { font-weight: 300; font-size: clamp(2.6rem, 6vw, 8rem); line-height: .9; letter-spacing: -.058em; }   /* 6vw, not 6.6: "Jonathan's" must fit its column */
.cs__name.t3d { text-shadow: none; }
.cs__n { font-weight: 200; font-size: clamp(2.4rem, 5vw, 6rem); letter-spacing: -.05em; }
.cs__n i, .rec__v i { font-style: normal; color: var(--ink-3); }
.cs__l { font-family: var(--body); font-weight: 400; font-size: clamp(1rem, 1.15vw, 1.15rem); letter-spacing: 0; }
/* a lens burn on the landscape case photos, so an open white sky is never the brightest
   thing beside a thin name. Landscapes only: never on a portrait. */
.cs__img.pf__tile::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,7,9,.62) 0, rgba(7,7,9,.24) 24%, rgba(7,7,9,0) 46%), radial-gradient(115% 100% at 50% 50%, rgba(7,7,9,0) 58%, rgba(7,7,9,.42) 100%); }

/* ---- the service cards ---- */
.xc__name { font-weight: 300; letter-spacing: -.05em; }
.xc__side { font-weight: 400; }
.xc__name.t3d, .xc__side.t3d { text-shadow: none; }
.xc__go { font-weight: 500; }

/* ---- figures: thin numerals, very large ---- */
.fig__v { font-weight: 200; font-size: clamp(3.6rem, 8vw, 9.6rem); letter-spacing: -.06em; }
.fig__k { font-weight: 500; }
.rec__row { padding: clamp(1.4rem, 2.4vw, 2.4rem) 0 clamp(1.2rem, 2vw, 2rem); }
.rec__v { font-weight: 200; font-size: clamp(3.4rem, 9.4vw, 11rem); line-height: .86; letter-spacing: -.065em; }
.rec__k { font-family: var(--body); font-weight: 400; font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.5; letter-spacing: 0; color: var(--ink-2); }
.tl__date { font-weight: 200; }
.stat__n, .num__v { font-weight: 300; }

/* ---- rows and ledgers ---- */
/* The name column gets a real gutter and a lower cap, so a long name ("Google Ads
   management") never runs up against its description. */
.inc, .promise { padding: clamp(1.6rem, 2.8vw, 2.8rem) 0; column-gap: clamp(2rem, 5vw, 6rem); }
.inc h3, .promise h3 { font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2.5rem); line-height: 1.04; letter-spacing: -.04em; }
.inc p, .promise p { font-size: 1.05rem; line-height: 1.7; }
.svc__row { padding: 2.2rem 0 2.4rem; }
.svc__name { font-weight: 300; font-size: clamp(2rem, 3.9vw, 4.2rem); line-height: .98; letter-spacing: -.05em; }
.svc__note { font-size: 1.02rem; line-height: 1.6; }
.svc__note em { font-weight: 500; }
.list__item h2, .list__item h3, .also__a, .mega__name { font-weight: 300; letter-spacing: -.04em; }
.faq__q { font-weight: 400; letter-spacing: -.03em; }
.ldr__n { font-weight: 400; }
.consult__tel { font-weight: 300; }
.prose h2 { font-weight: 400; }
.prose .meta + p { font-family: var(--body); font-weight: 400; letter-spacing: 0; line-height: 1.6; }
.filter__btn { font-weight: 400; }

/* ---- fact rows: the hairline draws across as its row arrives ---- */
/* The rule above each row is a 1px background drawn left to right on the moving curve over
   two beats, with the row's own reveal delay. No JS: it keys on the reveal's .is-in, and
   reduced motion (where reveal adds .is-in at once) shows it drawn. */
@property --draw { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.rec__row, .inc, .promise, .tl { border-top-color: transparent; background: linear-gradient(var(--hair), var(--hair)) 0 0 / var(--draw) 1px no-repeat border-box;
  transition: opacity calc(var(--beat) * 1.5) var(--ease-out) var(--rv, 0s), transform calc(var(--beat) * 1.5) var(--ease-out) var(--rv, 0s), --draw calc(var(--beat) * 2) var(--ease-move) var(--rv, 0s); }
:is(.rec__row, .inc, .promise, .tl).is-in, :is(.rec__row, .inc, .promise, .tl):not([data-reveal]) { --draw: 100%; }
[data-reveal="2"] { --rv: calc(var(--beat) / 4); } [data-reveal="3"] { --rv: calc(var(--beat) / 2); } [data-reveal="4"] { --rv: calc(var(--beat) * .75); }
@media (prefers-reduced-motion: reduce) { .rec__row, .inc, .promise, .tl { transition: none; } }

/* ---- end card ---- */
.ec { padding-top: clamp(120px, 14vw, 280px); }
.ec__line { font-weight: 300; font-size: clamp(2.8rem, 8.2vw, 10rem); line-height: .9; letter-spacing: -.058em; max-width: 14ch; }
.ec__line em { font-weight: var(--lit-w); letter-spacing: -.05em; }
.ec__ask { font-weight: 400; line-height: 1.6; }
.ofc__city { font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 3.6rem); letter-spacing: -.05em; white-space: nowrap; }

/* ---- the light comes on in the type ---- */
/* A lit phrase rises in its line's grey and, a little over half a beat later, warms to
   white. The weight is 500 from the start, so nothing re-lays out while it moves: only the
   colour changes. Keyed on the choreography's own classes (site.js adds .cw-on only when
   motion is allowed), so no JS and reduced motion show the finished, lit phrase. */
.cw-on :is(em, b) .cw__i { transition-property: transform, color; transition-duration: calc(var(--beat) * 2), calc(var(--beat) * 1.5); transition-timing-function: var(--ease-out), cubic-bezier(.45, 0, .25, 1); }
.cw-on:not(.is-in) :is(em, b) .cw__i { color: var(--ink-3); }

/* ---- phone ---- */
@media (max-width: 700px) {
  .pagehero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: .94; }
  .st--h { font-size: clamp(2.7rem, 13.4vw, 4rem); }
  .ec__line { font-size: clamp(2.6rem, 12.6vw, 3.8rem); }
  .cs__name { font-size: clamp(2.6rem, 13vw, 4rem); }
  .rec__v, .fig__v { font-size: clamp(3.6rem, 18vw, 5.4rem); }
  .sh__title { font-size: clamp(2.2rem, 10.4vw, 3.2rem); }
  .svc__name { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}
@media (max-width: 900px) {
  .nav__links .nav__link, .nav__links .nav__disc { font-weight: 300; letter-spacing: -.05em; }
}
@media (prefers-reduced-motion: reduce) { .nav__link::after { transition: none; } }

/* ---------- Loop 28, after verification (28 Sep) ---------- */
/* Found by the checks run on the port, fixed here. With the lamp resting on the subject, the
   words' shade has to be darker (on a phone the subject sits right behind the paragraph),
   and the grey part of a title over a photograph steps up to the reading grey: measured,
   every photo hero's title, eyebrow and paragraph now clear 3:1 and 4.5:1 with the lamp at
   rest. Hovering a "what you get" row keeps its drawn hairline. The ledger's colour fade
   stays off under reduced motion. */
.pagehero--img > .wrap::before { background: radial-gradient(closest-side, rgba(7,7,9,.7) 0, rgba(7,7,9,.64) 50%, rgba(7,7,9,.36) 78%, rgba(7,7,9,0) 100%); }
@media (max-width: 900px) { .pagehero--img > .wrap::before { background: radial-gradient(closest-side, rgba(7,7,9,.8) 0, rgba(7,7,9,.74) 60%, rgba(7,7,9,0) 100%); } }
.pagehero--img .pagehero__title:has(b) { color: #b9bdc6; }
.pagehero--img .pagehero__title.cw-on:not(.is-in) b .cw__i { color: #b9bdc6; }   /* the lit phrase rises in its line's own grey */
.inc:is(:hover, :focus-visible) { background: linear-gradient(var(--hair), var(--hair)) 0 0 / var(--draw) 1px no-repeat border-box; }
@media (prefers-reduced-motion: reduce) { .svc__name, .svc__cta { transition: none; } }
/* Older faults the same checks found: the footer's links were invisible for half a second
   when reached by keyboard (their reveal had not started); the footer email ran past the
   screen at 320; a field's only focus cue was its underline, which a tall field can push
   below the fold, so its label lights too. */
.cf:focus-within { opacity: 1; transform: none; transition-delay: 0s; transition-duration: .2s; }
.ec__links ul { grid-template-columns: minmax(0, 1fr); }   /* with a break point after the @ in the footer email, so it never splits mid-word */
.field :is(input, select, textarea) { scroll-margin-bottom: 24px; }
.field:focus-within > label { color: var(--ink); }

/* ---------- The edge light only where there is an edge (29 Sep) ---------- */
/* Drew: "the little pulse doesn't look good" (the work filter). The light that runs round an
   element on hover (.hov) belongs on things with an edge, the case cards and photographs.
   On type with no box (the filter, ledger and list rows, the service tags) it ran round an
   invisible rectangle and read as a pulse, so those now light only their words. The filter's
   chosen kind keeps a 1px lit rule under the word, not above it, and the full word wide. */
.filter__btn.is-active::after { left: 0; right: 0; bottom: 0; height: 1px; box-shadow: 0 0 10px var(--glow-soft); }


/* ---------- Case studies, Ben's review (27 Oct) ---------- */
/* Ben: the figures confused him ("the formatting feels off"), the pages read as a word wall,
   and the hero tags were too small to show "the company, services provided & results". The
   hero now ends on a facts strip at reading size; each figure gets an icon and its label
   straight under it, two to a row on hairlines; objectives and services carry icons picked
   from their own words (pages.py, topic_icon), so the story reads without the paragraphs. */
.ic { width: 1.5rem; height: 1.5rem; flex: none; }
.cfacts { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 1.2rem clamp(2rem, 4.5vw, 5rem); max-width: 64rem; margin: 0; padding-top: 1.3rem; border-top: 1px solid rgba(221, 227, 236, .18); }
.cfacts dt { display: block; margin-bottom: .5rem; }
.cfacts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.cfacts dd i { font-style: normal; color: var(--ink-3); }
.cfacts .chips { gap: .3rem 1.2rem; }
.cfacts .chip { font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; color: var(--ink); padding: 0 0 .12em; border-bottom: 1px solid rgba(221, 227, 236, .3); }
.cfacts .chip:hover, .cfacts .chip:focus-visible { border-bottom-color: var(--light); }
@media (max-width: 700px) {
  .cfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .cfacts > div:nth-child(2) { grid-column: 1 / -1; }
}
.cnums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--hair); }
.cnum { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.6rem, 3vw, 3rem) 0 clamp(1.4rem, 2.6vw, 2.6rem); border-top: 1px solid var(--hair); }
.cnum:nth-child(2n) { padding-left: clamp(1.2rem, 3vw, 3rem); border-left: 1px solid var(--hair); }
.cnum:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* an odd last figure runs the full width, so no half-empty row */
.cnum__ic { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 1px solid var(--hair); color: var(--light); }
.cnum__ic .ic { width: 1.65rem; height: 1.65rem; }
.cnum__v { margin-top: clamp(1.2rem, 2vw, 2rem); font-family: var(--display); font-weight: 200; font-size: clamp(2.6rem, 5.4vw, 5.8rem); line-height: .9; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.cnum__v--word { font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; }
.cnum__v i { font-style: normal; color: var(--ink-3); }
.cnum__k { margin-top: .8rem; max-width: 24ch; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.3rem); line-height: 1.25; letter-spacing: -.015em; color: var(--ink-2); text-wrap: balance; }
.cnum__k::first-letter { text-transform: uppercase; }
@media (max-width: 700px) {
  .cnums { grid-template-columns: minmax(0, 1fr); }
  .cnum:nth-child(2n) { padding-left: 0; border-left: 0; }
}
.objs { list-style: none; margin: 1rem 0 0; padding: 0; }
.objs li { display: grid; grid-template-columns: 1.35rem minmax(0, 1fr); gap: .9rem; align-items: start; padding: .95rem 0; border-top: 1px solid var(--hair); font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.objs .ic { width: 1.35rem; height: 1.35rem; color: var(--light); }
.did__t { display: flex; align-items: center; gap: .85rem; }
.did__t .ic { width: 1.6rem; height: 1.6rem; color: var(--light); }
/* The Vanderbilt commercial plays in the page, full width at its own shape (2 Nov). */
.cvideo video { display: block; width: 100%; height: auto; background: var(--surface); border: 1px solid var(--hair); }
/* /locations: each office's team photo (Ben, 51) in a landscape frame, the photo cropped in
   around the people so no white shows (62). /industries uses the same frame: its five rows
   stretched the photo into a tall strip, cut from the middle of each landscape photo and
   blown up, so it looked blurry (105). The frame stays in view while the list scrolls, so the
   last rows still show their photo on a short screen. */
.svc--group .svc__media { position: sticky; top: 96px; align-self: start; aspect-ratio: 4 / 3; min-height: 0; }
.svc--group .svc__th { aspect-ratio: 4 / 3; }
/* The CEO quote closes its marks, and the attribution sits bottom right with his face (Ben). */
.quote--ceo .quote__text::after { content: "”"; color: var(--light); font-family: var(--display); font-size: 3rem; line-height: 0; vertical-align: -1.1rem; margin-left: .2rem; text-shadow: 0 0 18px var(--glow); }
.quote--ceo .quote__who { max-width: 44rem; flex-direction: row; align-items: center; justify-content: flex-end; gap: .9rem; }
.quote__face { display: block; flex: none; width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden; border: 1px solid var(--hair); background: var(--surface-2); }
.quote__face img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); }
.quote__name { display: flex; flex-direction: column; gap: .1rem; }

/* ---------- The reel opens the home page again (Ben, 27 Oct) ---------- */
/* BugSmash 56: the word stack is out and the banner video is back (pages.py, banner).
   Drew, 2 Nov, make it look better: only the headline and the two links sit on the reel,
   and the paragraph is the first thing under it, on black. The words own the bottom of the
   frame in two lines, so the swoop in the opening shot rises clear above them, and the shade
   is only there, so the rest of the frame plays at full strength. Over footage the whole
   line is white and the lit phrase stands out by weight, as on the old site; the letters
   keep a soft shade of their own for the bright frames (the stage lights at 8 seconds). */
.hero--banner .hero__content { padding-top: clamp(5rem, 10vw, 8rem); }   /* room above the words when they outgrow the reel on a short screen */
.hero--banner .hero__overlay { background: linear-gradient(0deg, rgba(7, 7, 9, .9) 0%, rgba(7, 7, 9, .72) 32%, rgba(7, 7, 9, 0) 58%); }
@media (max-width: 860px) { .hero--banner .hero__overlay { background: linear-gradient(0deg, rgba(7, 7, 9, .92) 0%, rgba(7, 7, 9, .75) 40%, rgba(7, 7, 9, 0) 70%); } }
.hero--banner .st--h { color: var(--ink); max-width: 20ch; }
/* "Marketing that" is 6.6em wide, so at 12.8vw it holds one line from 302px up and a phone
   gets three even lines; 4rem is the floor above 860px, so the size never steps down. */
@media (max-width: 860px) { .hero--banner .st--h { font-size: clamp(2.5rem, 12.8vw, 4rem); } }
@media (min-width: 861px) { .hero--banner .st--h { font-size: clamp(4rem, 6.2vw, 7rem); } }
.hero--banner :is(.st--h, .st--h em, .tcta) { text-shadow: 0 2px 28px rgba(7, 7, 9, .7); }
.hero--banner .tctas { margin-top: clamp(1.8rem, 3.5vw, 3.2rem); }
.stm--lede { padding: 0; }   /* straight under the links, so it reads as the hero's next line */

/* ---------- The hero lamp, brighter (Ben, 27 Oct) ---------- */
/* BugSmash 49 on The Drip Lab: "the brightness may need to be upped a bit. Seems dim." 55 on
   /our-team: the light "takes away from the image and I cant see anything behind the words
   anyways". The lamp stays (S6, Drew's signature, 18 Sep). The photograph now rests brighter
   under it, the light is wider and full strength, and the dark pool behind the words is
   about half as deep, so the picture shows through; the words keep their contrast from a
   shade on the letters instead. Revert this block to put the old depth back. */
.pagehero__img img { opacity: .8; }
.pagehero__img::after { background: linear-gradient(180deg, rgba(7,7,9,.12) 0%, rgba(7,7,9,.28) 55%, rgba(7,7,9,.9) 100%); }
.pagehero__lit { --r: clamp(220px, 26vw, 460px); }
.pagehero__img .pagehero__lit img { filter: contrast(1.06) saturate(1.08) brightness(1.04); }
.pagehero--img > .wrap::before { background: radial-gradient(closest-side, rgba(7,7,9,.34) 0, rgba(7,7,9,.24) 55%, rgba(7,7,9,0) 100%); }
@media (max-width: 900px) {
  .pagehero--img > .wrap::before { background: radial-gradient(closest-side, rgba(7,7,9,.42) 0, rgba(7,7,9,.3) 60%, rgba(7,7,9,0) 100%); }
}
.pagehero--img :is(.eyebrow, .pagehero__title, .pagehero__title b, .pagehero__lede, .cfacts dd, .cfacts .chip) { text-shadow: 0 1px 2px rgba(7, 7, 9, .55), 0 0 24px rgba(7, 7, 9, .75); }

/* ---------- Line breaks (2 Nov) ---------- */
/* Drew: optimize the font layout. No heading or paragraph ends on one short word. Headings
   balance their lines; running text lets the browser even out its last lines. :where() keeps
   these at zero specificity, so any rule that already sets text-wrap still wins. */
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li, dd, dt, blockquote, figcaption) { text-wrap: pretty; }
.ec__line em { display: block; text-wrap: balance; }   /* the tagline starts its own line, so a phone never sets "is here. Nice / to meet you." */

/* ---------- Skip link (QA, 2 Nov) ---------- */
/* The first Tab on every page offers a jump past the nine header stops to the content. Out of
   sight until it has keyboard focus. */
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: .7rem 1.1rem; background: var(--light); color: var(--ground); font-family: var(--display); font-weight: 600; font-size: .9rem; clip-path: inset(50%); opacity: 0; }
.skip:focus-visible { clip-path: none; opacity: 1; }

/* A link inside running copy needs more than a colour to read as a link: founder names in ledes and stories (AEO, 5 Nov). Same treatment as .prose a. */
.pagehero__lede a, .stack p a, .st a { color: var(--ink); border-bottom: 1px solid var(--hair); transition: border-color .2s; }
.pagehero__lede a:hover, .stack p a:hover, .st a:hover { border-bottom-color: var(--light); }

/* The company in one sentence, on every page, so a reader or an answer engine never has to work it out (AEO, 5 Nov). */
.ec__about { margin-top: clamp(3rem, 6vw, 5rem); max-width: 42rem; font-size: .85rem; line-height: 1.55; color: var(--ink-3); }
.ec__about + .ec__legal { margin-top: 1.4rem; }
/* Names that open a founder's page. */
.person__name a, .ldr__n a { transition: color .2s; border-bottom: 1px solid transparent; }
.person__name a:hover, .person__name a:focus-visible, .ldr__n a:hover, .ldr__n a:focus-visible { border-bottom-color: var(--light); }

/* ---------- Blue-collar results page, /our-work/blue-collar (Drew, 14 Nov) ---------- */
/* Each unnamed case study is a hairline row: the trade on the left, its results as a plain list. */
.bc__row { padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--hair); }
.bc__row:last-child { border-bottom: 1px solid var(--hair); }
.bc__kind { margin-top: .4rem; color: var(--ink-3); }
.bc__pts { margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding-left: 1.1rem; display: grid; gap: .5rem; color: var(--ink-2); line-height: 1.5; }
.bc__row .bc__pts { margin-top: 0; }
.bc__pts li::marker { color: var(--ink-3); }
