/* Frontier Research: site system */
:root {
  --bg: #07090b;
  --bg-2: #0d1013;
  --ink: #f2f2f0;
  --ink-2: #b7b7b2;
  --ink-3: #8c8c87;
  --line: #24282c;
  --line-2: #3a3f44;
  --red: #ec1c24;
  --red-deep: #b9141b;
  --red-text: #ff4b52;

  --font: "Inter", system-ui, sans-serif;
  --font-mark: "Doto", ui-monospace, monospace;

  --gutter: clamp(24px, 5vw, 96px);
  --max: 1280px;
  /* one content column, centred: every section, the nav and the footer share these edges */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2));
  --copy: clamp(380px, 38vw, 540px);
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* each section snaps into place: one flick, one section. Sections already pad for the fixed nav,
   so the snap lands at their very top. Sections taller than the screen scroll through, then snap on. */
html { scroll-snap-type: y mandatory; }
html.has-snapper { scroll-snap-type: none; } /* desktop: site.js glides between sections instead */
main > section { scroll-snap-align: start; }
main > .scene { scroll-snap-stop: always; }
.site-footer { scroll-snap-align: end; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
html { scrollbar-color: #3a3f44 var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c3035; border: 3px solid var(--bg); border-radius: 10px; }

.skip {
  position: fixed; left: var(--gutter); top: 12px; z-index: 50;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-size: 14px;
  transform: translateY(-200%); transition: transform .2s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- field layers ---------- */
.field, .field-overlay {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.field-overlay { z-index: 1; overflow: visible; }
.field-overlay text {
  font-family: var(--font-mark); font-weight: 900; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-2);
}
.field-overlay text { paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.field-overlay text.is-red { fill: var(--red-text); }
.field-overlay line { stroke: #6d6d69; stroke-width: 1; }
.field-overlay line.is-red { stroke: var(--red); }
.field-overlay circle { fill: none; stroke: #8c8c87; stroke-width: 1; }
.field-overlay circle.is-red { stroke: var(--red); }

main, .site-footer { position: relative; z-index: 2; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--edge);
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 9, 11, .86); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.nav__brand { display: block; height: 34px; }
.nav__brand img { height: 100%; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav__links a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a.btn--primary, .nav__links a.btn--primary:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav__toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  --dot: var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 0 22px;
  font: 500 15px/1 var(--font); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s;
}
.btn__dots { display: inline-flex; gap: 3px; }
.btn__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--dot); opacity: .45; transition: opacity .3s, transform .45s var(--ease-out); }
.btn:hover .btn__dots i { opacity: 1; }
.btn:hover .btn__dots i:nth-child(1) { transform: translateX(3px); }
.btn:hover .btn__dots i:nth-child(2) { transform: translateX(6px); transition-delay: .03s; }
.btn:hover .btn__dots i:nth-child(3) { transform: translateX(9px); transition-delay: .06s; }
.btn--primary { background: #c5131b; color: var(--ink); --dot: var(--ink); }
.btn--primary:hover { background: #a50f16; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- scenes ---------- */
.scene {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) var(--edge) 80px;
}
.scene--tall { min-height: 170vh; align-items: flex-start; }
.scene--tall .copy { position: sticky; top: 30vh; }
.scene--center { justify-content: center; text-align: center; align-items: flex-end; }
.copy { width: 100%; max-width: var(--copy); }
/* copy over the living field: a soft dark halo keeps every glyph separate from the dots */
.scene .copy, .scene .hero-wide { text-shadow: 0 1px 2px rgba(7, 9, 11, .9), 0 0 18px rgba(7, 9, 11, .85); }
.scene .btn { text-shadow: none; }
.copy--wide { max-width: 760px; }

.display {
  font-weight: 800; font-size: clamp(44px, 5.3vw, 80px); line-height: .98;
  letter-spacing: -.035em; margin: 0 0 28px; text-wrap: balance;
}
.h2 {
  font-weight: 800; font-size: clamp(34px, 3.7vw, 56px); line-height: 1.02;
  letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance;
}
.h3 { font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 10px; }
.display em, .h2 em { font-style: normal; color: var(--red); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 0 0 36px; max-width: 46ch; }
.prose p { color: var(--ink-2); margin: 0 0 1em; max-width: 62ch; }
.prose strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mark { font-family: var(--font-mark); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.note { margin-top: 28px; font-size: 13px; color: var(--ink-3); max-width: 44ch; }
.note .mark { color: var(--red-text); margin-right: 8px; }

/* ---------- full-bleed scenes: copy above or beneath the field ---------- */
.scene--bottom { align-items: flex-end; padding-bottom: 10vh; }
.scene--head { align-items: flex-start; padding-top: calc(var(--nav-h) + 9vh); }

.copy--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.copy--split .h2 { margin: 0; }
.copy--split .prose p:last-child, .copy--split .note { margin-bottom: 0; }
.copy--split .note { margin-top: 18px; }

/* ---------- hero ---------- */
/* hero option "lights": the photograph as it is (no dot screen), darker only where the copy sits */
html[data-hero-style="lights"] .hero-photo::after { display: none; }
html[data-hero-style="lights"] .hero-photo::before {
  background:
    linear-gradient(to bottom, rgba(7, 9, 11, .45) 0%, rgba(7, 9, 11, 0) 20%, rgba(7, 9, 11, 0) 64%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 9, 11, .82) 0%, rgba(7, 9, 11, .55) 34%, rgba(7, 9, 11, .12) 62%, rgba(7, 9, 11, 0) 100%);
}
/* the photograph sits under the dot field (z -1) and scrolls away with the hero */
.hero-photo { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: -1; overflow: hidden; background: var(--bg); }
.hero-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease-out), transform 2.6s var(--ease-out); }
.hero-photo__img.is-in { opacity: 1; transform: none; }
/* a fine halftone screen: the photograph reads as dots, like everything else on the page */
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle, rgba(7, 9, 11, .62) 0 1.15px, transparent 1.7px);
  background-size: 5px 5px;
}
/* darker behind the copy, and dissolving into the page at the foot so the next scene follows on */
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to bottom, rgba(7, 9, 11, .5) 0%, rgba(7, 9, 11, 0) 22%, rgba(7, 9, 11, 0) 58%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 9, 11, .9) 0%, rgba(7, 9, 11, .72) 36%, rgba(7, 9, 11, .38) 68%, rgba(7, 9, 11, .5) 100%);
}

.hero { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-h) + 4vh); padding-bottom: 12vh; }
.hero .display { max-width: 11.5em; font-size: clamp(42px, 4.6vw, 70px); margin-bottom: 32px; }
.hero .lede { margin-bottom: 44px; }
.hero__foot {
  position: absolute; left: var(--edge); bottom: 5vh;
  display: flex; align-items: center; gap: 14px;
}
.hero__foot .line { width: 48px; height: 1px; background: var(--line-2); overflow: hidden; position: relative; }
.hero__foot .line::after { content: ""; position: absolute; inset: 0 32px 0 0; background: var(--red); }

/* ---------- services list ---------- */
.ledger { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li { border-bottom: 1px solid var(--line); }
.ledger a {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: baseline;
  padding: 22px 0; text-decoration: none; position: relative;
}
.ledger .h3 { margin: 0; transition: transform .45s var(--ease-out); }
.ledger p { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: 16px; max-width: 52ch; }
.ledger .go { color: var(--ink-3); transition: color .3s, transform .45s var(--ease-out); font-size: 14px; }
.ledger a::before {
  content: ""; position: absolute; left: -22px; top: 33px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); transform: scale(0); transition: transform .45s var(--ease-out);
}
.ledger a:hover::before, .ledger a:focus-visible::before { transform: scale(1); }
.ledger a:hover .go { color: var(--red-text); transform: translateX(4px); }

/* ---------- memos ---------- */
#memos .copy--wide { max-width: none; }
#memos .stance { max-width: 760px; }
.memos { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.memos li { border-top: 1px solid var(--line); }

.memos a { display: grid; gap: 10px; padding: 22px 0 0; text-decoration: none; }
.memos time { padding-top: 2px; }
.memos .h3 { margin: 0; font-size: 20px; transition: color .25s; }
.memos p { margin: 0; color: var(--ink-2); font-size: 15px; }
.memos a:hover .h3 { color: var(--red-text); }
.stance { display: grid; gap: 18px; margin: 0 0 8px; padding: 0; list-style: none; }
.stance li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; color: var(--ink-2); }
.stance li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--ink-3); }
.stance li:first-child::before { background: var(--red); }
.stance strong { color: var(--ink); font-weight: 600; }

/* ---------- close ---------- */
/* the closing mark and its words sit together as one centred group: the copy keeps room above itself
   for the logo (its diameter is set by the same numbers in field.js) and a short, even gap */
.close .copy { max-width: 760px; margin-inline: auto; }
@media (min-width: 900px) {
  .close { align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 40px; }
  .close .copy { position: relative; padding-top: calc(2 * min(20vh, 16vw) + 36px); }
  /* a soft shade behind the words: it rises a little into the foot of the logo, so the heading
     always reads clean against the dots */
  .close .copy::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: -14%; right: -14%; bottom: -60px; top: calc(2 * min(20vh, 16vw) - 70px);
    background: radial-gradient(ellipse 58% 62% at 50% 58%, rgba(7, 9, 11, .94) 0%, rgba(7, 9, 11, .82) 42%, rgba(7, 9, 11, .4) 66%, rgba(7, 9, 11, 0) 82%);
  }
}
/* phones: the mark is drawn at 27% of the screen height with radius min(38vw, 20vh); the words start just under it */
@media (max-width: 899px) {
  .scene.close { align-items: flex-start; padding-top: calc(27vh + min(38vw, 20vh) + 28px); }
  .scene.close > .copy::before { top: -56px; background: linear-gradient(to bottom, rgba(7,9,11,0), rgba(7,9,11,.92) 56px, rgba(7,9,11,.96)); }
}
.close .lede { margin-inline: auto; }
.close .actions { justify-content: center; }
.close__mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--ink-3); font-size: 15px; }

/* ---------- inner page blocks ---------- */
.page-hero .display { max-width: 10em; }
.split { display: grid; grid-template-columns: minmax(0, var(--copy)) 1fr; gap: var(--gutter); width: 100%; }
.facts { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; color: var(--ink-2); font-size: 16px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); margin-top: 11px; }

.timeline { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink-3); }
.timeline li:last-child::before { background: var(--red); border-color: var(--red); }
.timeline .mark { display: block; color: var(--ink); margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 16px; }

.principles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.principles .h3 { font-size: 19px; }
.principles p { margin: 0; color: var(--ink-2); font-size: 15px; }

.people-wrap { width: 100%; max-width: 1180px; }
.people-group + .people-group { margin-top: 72px; }
.group-title { font-family: var(--font-mark); font-weight: 900; font-size: 20px; line-height: 28px; letter-spacing: .06em; text-transform: uppercase; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.people li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.people .h3 { font-size: 20px; margin-bottom: 2px; }
.people .role { display: block; color: var(--ink-3); font-size: 14px; margin-bottom: 10px; }
.people p { margin: 0; color: var(--ink-2); font-size: 15px; }

blockquote.pull { margin: 32px 0 0; padding: 0; font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
blockquote.pull cite { display: block; margin-top: 10px; font: 400 14px/1.4 var(--font); color: var(--ink-3); font-style: normal; }

/* ---------- bands: content sections that are not full-screen scenes ---------- */
.band { position: relative; padding: calc(var(--nav-h) + clamp(32px, 6vh, 72px)) var(--edge) clamp(72px, 11vh, 128px); }
.band__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.band__head .h2 { margin: 0; }
.band__head .lede { margin: 0; }
.band__inner { }

/* ---------- wide hero (Services) ---------- */
.scene--top { align-items: flex-start; padding-top: calc(var(--nav-h) + 13vh); }
.hero-wide { width: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.display--xl { font-size: clamp(48px, 6.4vw, 104px); line-height: .98; letter-spacing: -.04em; margin: 0; max-width: 11em; }
.hero-wide__aside .lede { margin-bottom: 28px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: rgba(12, 15, 18, .82); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out);
}
.tile:hover { border-color: var(--line-2); background: rgba(16, 19, 23, .9); }
.tile__viz { position: relative; flex: 1 1 auto; min-height: 150px; }
.tile__viz canvas, .lane__viz canvas, .cta-band__viz canvas, .years__track canvas, .people__viz canvas, .careers__viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tile__body { position: relative; padding: 24px 26px 26px; }
.tile__body .h3 { margin-bottom: 8px; }
.tile__body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 48ch; }
.tile__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.tile__list li { display: grid; grid-template-columns: 16px 1fr; }
.tile__list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); margin-top: 9px; }
.tile__link { display: inline-flex; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.tile__link:hover { border-color: var(--red); }
.tile--advisory { grid-column: span 2; grid-row: span 2; }
.tile--advisory .tile__viz { min-height: 300px; margin: 18px 18px 0; }
.tile--advisory .h3 { font-size: 28px; letter-spacing: -.02em; }
.tile--sector { grid-row: span 2; }
.tile--sector .tile__viz { margin: 22px 22px 0; }
.tile--curation .tile__viz, .tile--athena .tile__viz { margin: 14px 18px 0; min-height: 120px; }
.tile--commission { grid-column: span 3; flex-direction: row; align-items: stretch; }
.tile--commission .tile__body { flex: 1 1 55%; align-self: center; }
.tile--commission .tile__viz { flex: 0 0 40%; min-height: 220px; }
.tile--ask { justify-content: space-between; padding: 26px; background: transparent; border-style: dashed; }
.tile--ask .h3 { font-size: 24px; letter-spacing: -.015em; }
.tile--ask p { color: var(--ink-2); font-size: 15px; margin: 8px 0 22px; }

/* ---------- cadence lanes ---------- */
.cadence { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 48px 80px; align-items: start; }
.cadence__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.lanes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lanes li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 28px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.lanes .mark { color: var(--ink); font-size: 13px; padding-top: 4px; }
.lane__viz { position: relative; height: 30px; grid-column: 2; margin: 0 0 6px -6px; }
.lanes h3 { grid-column: 2; margin: 0; font-size: 19px; }
.lanes p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: 15px; max-width: 58ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 64px; align-items: center; padding: clamp(40px, 6vw, 80px); border: 1px solid var(--line); border-radius: 2px; background: rgba(10, 12, 15, .9); }
.cta-band__viz { position: absolute; inset: 0; opacity: .9; }
.cta-band__copy, .cta-band .actions { position: relative; }
.cta-band__copy .h2 { margin-bottom: 14px; }
.cta-band__copy p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.cta-band__copy, .cta-band .actions { background: radial-gradient(closest-side, rgba(10,12,15,.85), rgba(10,12,15,0)); }

/* ---------- About: centred hero under the year ---------- */
.about-hero .copy { max-width: 720px; margin-inline: auto; }
.about-hero .lede { margin-inline: auto; }
.about-hero .actions { justify-content: center; }

/* ---------- founder spread ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px 88px; align-items: start; }
.founder__quote { margin: 0; font-weight: 800; font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.founder__quote em { font-style: normal; color: var(--red); }
.founder__quote cite { display: block; margin-top: 28px; font: 400 15px/1.5 var(--font); letter-spacing: 0; color: var(--ink-3); }
.founder__quote cite strong { color: var(--ink); font-weight: 600; }
.founder__bio { padding-top: 10px; }
.founder__title { max-width: 16em; margin-bottom: 56px; }
.careers__actions { margin-top: 28px; }
.years { margin-top: clamp(64px, 9vh, 112px); }
.years__track { position: relative; height: 40px; }
.years__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.years__list li { padding: 0 12px; transition: opacity .5s var(--ease-out); opacity: .78; text-align: center; }
.years__list li.is-active { opacity: 1; }
.years__list .mark { display: block; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.years__list li.is-active .mark { color: var(--red-text); }
.years__list p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- principles bento ---------- */
.bento--way { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); }
.bento--way .tile__viz { min-height: 110px; margin: 16px 16px 0; }
.bento--way .tile--wide { grid-column: span 2; flex-direction: row; }
.bento--way .tile--wide .tile__viz { flex: 0 0 46%; margin: 16px 0 16px 16px; }
.bento--way .tile--wide .tile__body { align-self: center; }
.bento--way .h3 { font-size: 21px; }

/* ---------- people: network + tabs ---------- */
.people-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: start; }
.people__viz { position: sticky; top: calc(var(--nav-h) + 32px); aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 2px; background: rgba(10, 12, 15, .8); }
.tabs { display: flex; gap: 6px; margin: 0 0 8px; padding: 4px; border: 1px solid var(--line); border-radius: 2px; width: max-content; max-width: 100%; }
.tabs button {
  font: 500 14px var(--font); color: var(--ink-2); background: none; border: 0; border-radius: 2px;
  padding: 10px 16px; cursor: pointer; transition: background-color .3s, color .3s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tabpanel[hidden] { display: none; }
.roster { list-style: none; margin: 0; padding: 0; }
.roster li { padding: 24px 0 24px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding-left .45s var(--ease-out); position: relative; }
.roster li::before { content: ""; position: absolute; left: 0; top: 33px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .45s var(--ease-out); }
.roster li:hover, .roster li:focus-within, .roster li.is-active { padding-left: 24px; }
.roster li:hover::before, .roster li.is-active::before { transform: scale(1); }
.roster .h3 { margin: 0 0 2px; font-size: 21px; }
.roster .role { display: block; color: var(--ink-3); font-size: 14px; margin-bottom: 8px; }
.roster p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 58ch; }

/* ---------- careers strip ---------- */
.careers__viz { position: relative; height: clamp(180px, 26vh, 280px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 calc(var(--edge) * -1) 56px; }
.careers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 80px; align-items: start; }
.careers .h2 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1; margin: 0; }
.careers .prose { padding-top: 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 56px var(--edge) 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer address { font-style: normal; color: var(--ink); font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.site-footer__office > a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.site-footer__office > a:hover { color: var(--ink); }
.site-footer img { height: 30px; width: auto; margin-bottom: 18px; }
.site-footer p { color: var(--ink-3); font-size: 14px; margin: 0; max-width: 34ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--ink); }
.site-footer .mark { display: block; margin-bottom: 14px; }
.site-footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 13px; }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  html[data-hero-style="lights"] .hero-photo::before {
    background: linear-gradient(to bottom, rgba(7, 9, 11, .4) 0%, rgba(7, 9, 11, 0) 22%, rgba(7, 9, 11, .7) 50%, var(--bg) 80%);
  }
  .hero-photo::before {
    background:
      linear-gradient(to bottom, rgba(7, 9, 11, .55) 0%, rgba(7, 9, 11, .2) 30%, rgba(7, 9, 11, .78) 52%, var(--bg) 82%);
  }
  .bento--fit, .bento--way { height: auto; grid-template-rows: none; }
  .bento--fit .tile__viz, .bento--way .tile__viz { flex: 0 0 auto; min-height: 150px; }
  .ledger--grid, .lanes--grid, .roster { grid-template-columns: 1fr; }
  .people__viz { height: 320px; }
  body { font-size: 17px; }
  :root { --nav-h: 64px; }
  .nav__brand { height: 28px; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-2);
    color: var(--ink); font: 500 14px var(--font); padding: 9px 14px; border-radius: 2px; cursor: pointer;
  }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--edge) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
  }
  .nav__links li { width: 100%; }
  .nav__links a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 18px; }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }

  /* text sits in the lower part of each scene; the field owns the top */
  .scene { align-items: flex-end; padding-top: 52vh; padding-bottom: 72px; }
  .scene > .copy, .scene > .split, .scene > .people-wrap { position: relative; }
  .scene > .copy::before, .scene > .split::before {
    content: ""; position: absolute; inset: -64px calc(var(--edge) * -1) -40px; z-index: -1;
    background: linear-gradient(to bottom, rgba(7,9,11,0), rgba(7,9,11,.88) 64px, rgba(7,9,11,.94));
  }
  .scene--tall { min-height: 150vh; align-items: flex-start; }
  .scene--tall .copy { top: 44vh; }
  .scene--plain { padding-top: calc(var(--nav-h) + 40px); }
  .hero__foot { display: none; }
  .scene:not(.scene--tall) { min-height: 100svh; }
  .hero { min-height: 100svh; padding-top: 50vh; padding-bottom: 64px; }
  .split { grid-template-columns: 1fr; }
  .copy--split { grid-template-columns: 1fr; gap: 0; }
  .copy--split .h2 { margin-bottom: 24px; }
  .people { grid-template-columns: 1fr; }
  .memos { grid-template-columns: 1fr; }
  .memos li + li { margin-top: 22px; }
  .ledger a::before { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__base { flex-direction: column; }
}

/* ---------- one section, one screen ----------
   Every content band fills exactly one screen with its content centred, and sizes scale with the
   screen's height as well as its width, so a single scroll always shows a whole section. */
.band--fit {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + clamp(16px, 3vh, 40px)); padding-bottom: clamp(24px, 4vh, 56px);
}
.band--fit .band__head { margin-bottom: clamp(18px, 3.2vh, 40px); }
.h2 { font-size: clamp(28px, min(3.7vw, 6.2vh), 56px); }
.display { font-size: clamp(38px, min(5.3vw, 9vh), 80px); }
.display--xl { font-size: clamp(42px, min(6.4vw, 11.5vh), 104px); }
.hero .display { font-size: clamp(38px, min(4.6vw, 8.6vh), 70px); }
.lede { font-size: clamp(16px, min(1.35vw, 2.5vh), 20px); margin-bottom: clamp(18px, 3.6vh, 36px); }

/* homepage services: a two-by-two ledger */
.scene--ledger .copy { max-width: calc(var(--copy) * 1.45); }
.ledger--grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; border-top: 0; margin-top: clamp(16px, 3vh, 36px); }
.ledger--grid li { border-top: 1px solid var(--line); border-bottom: 0; }
.ledger--grid a { padding: clamp(12px, 2.2vh, 20px) 0; }
.ledger--grid p { font-size: 15px; }

/* services: the four instruments, sized to the screen */
.bento--fit { grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; height: clamp(340px, calc(100svh - var(--nav-h) - 236px), 680px); }
.bento--fit .tile__viz { flex: 1 1 0; min-height: 0; }
.bento--fit .tile__body { padding: clamp(12px, 2vh, 22px) 22px clamp(14px, 2.2vh, 24px); }
.bento--fit .tile__body p { font-size: 14px; line-height: 1.5; }
.bento--fit .tile--advisory .tile__viz { min-height: 0; margin: 14px 14px 0; }
.bento--fit .tile--advisory .h3 { font-size: clamp(20px, 3.2vh, 28px); }
.bento--fit .tile--sector .tile__viz { margin: 16px 16px 0; }
.bento--fit .tile--curation .tile__viz, .bento--fit .tile--athena .tile__viz { margin: 10px 14px 0; min-height: 0; }
.bento--fit .tile__link { margin-top: clamp(8px, 1.6vh, 16px); }
.tile__link--inline { margin: 0 0 0 4px; }

/* services: cadence as a two-by-two grid */
.lanes--grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; border-top: 0; }
.lanes--grid li { border-top: 1px solid var(--line); border-bottom: 0; padding: clamp(14px, 2.6vh, 26px) 0; grid-template-columns: 100px minmax(0, 1fr); }
.lanes--grid h3 { font-size: 18px; }
.lanes--grid p { font-size: 14px; }

/* services: commissioned research and the close share one screen */
.final { display: grid; gap: 14px; }
.final .tile--commission { grid-column: auto; }
.final .tile--commission .tile__viz { min-height: clamp(150px, 24vh, 240px); }
.final .cta-band { padding: clamp(24px, 4.5vh, 56px) clamp(28px, 4vw, 56px); }

/* about: founder spread, timeline, principles, people, careers */
.founder { align-items: center; }
.founder__title { font-size: clamp(24px, min(2.6vw, 4.4vh), 38px); margin: 0 0 clamp(14px, 2.4vh, 24px); max-width: 16em; }
.founder__quote { font-size: clamp(34px, min(4.6vw, 8.4vh), 72px); }
.founder__bio p { font-size: clamp(15px, 2.3vh, 18px); }
.years { margin-top: clamp(24px, 5vh, 64px); }
.years__list p { font-size: 14px; }
.bento--way { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; height: clamp(360px, calc(100svh - var(--nav-h) - 220px), 620px); }
.bento--way .tile__viz { flex: 1 1 0; min-height: 0; margin: 12px 12px 0; }
.bento--way .tile--wide .tile__viz { flex: 0 0 44%; margin: 12px 0 12px 12px; }
.bento--way .tile__body { padding: clamp(12px, 2vh, 20px) 20px; }
.bento--way .tile__body p { font-size: 14px; }
.bento--way .h3 { font-size: clamp(17px, 2.6vh, 21px); }
#people .band__head .lede { margin-bottom: 14px; }
.people__viz { position: relative; top: 0; aspect-ratio: auto; height: clamp(280px, calc(100svh - var(--nav-h) - 230px), 540px); }
.roster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
.roster li { padding: clamp(12px, 2vh, 20px) 0 clamp(12px, 2vh, 20px); }
.roster li::before { top: clamp(20px, 2.8vh, 28px); }
.roster .h3 { font-size: 18px; }
.roster p { font-size: 14px; }
.careers__viz { height: clamp(130px, 22vh, 260px); margin-bottom: clamp(24px, 5vh, 56px); }

/* people: names only for now (portraits return when the team's own photos are ready) */
.people-layout--names { grid-template-columns: 1fr; }
.people-layout--names .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people-layout--names .roster li { padding-top: clamp(16px, 2.6vh, 24px); padding-bottom: clamp(16px, 2.6vh, 24px); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--advisory, .tile--commission { grid-column: span 2; }
  .tile--sector { grid-row: span 1; }
  .tile--sector .tile__viz { min-height: 200px; }
  .bento--way { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--way .tile--wide { grid-column: span 2; }
  .cadence { grid-template-columns: 1fr; }
  .cadence__head { position: static; }
  .bento--fit { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento--fit .tile--advisory { grid-column: span 2; grid-row: span 2; }
  .bento--fit .tile--sector { grid-row: span 2; }
  .bento--way { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento--way .tile--wide { grid-column: span 2; }
}
@media (max-width: 899px) {
  .band { padding: calc(var(--nav-h) + 32px) var(--edge) 72px; }
  .band__head, .hero-wide, .founder, .people-layout, .careers, .cta-band { grid-template-columns: 1fr; }
  .scene--top { align-items: flex-end; padding-top: 50vh; }
  .display--xl { font-size: clamp(42px, 11vw, 64px); }
  .bento, .bento--way { grid-template-columns: 1fr; }
  .tile--advisory, .tile--commission, .bento--way .tile--wide { grid-column: auto; grid-row: auto; flex-direction: column; }
  .tile--commission .tile__viz, .bento--way .tile--wide .tile__viz { flex-basis: auto; min-height: 180px; margin: 16px 16px 0; }
  .tile--advisory .tile__viz { min-height: 220px; }
  .lanes li { grid-template-columns: 1fr; }
  .lane__viz, .lanes h3, .lanes p { grid-column: 1; }
  .years__list { grid-template-columns: 1fr 1fr; }
  .years__list li { text-align: left; padding: 0; }
  .people__viz { position: relative; top: 0; max-width: 420px; width: 100%; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 10px 8px; }
  .careers__viz { margin-bottom: 40px; }
}
/* ---------- office ---------- */
.office { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; height: clamp(300px, calc(100svh - var(--nav-h) - 340px), 520px); }
.office__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 0; }
.office__shot { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: var(--bg-2); min-height: 0; }
.office__shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.04); transition: transform 1.6s var(--ease-out); }
.office__shot--lead img { object-position: 50% 55%; }
.office__shot:hover img { transform: scale(1.025); }
/* a very faint duotone: ink-dark shadows, brand-red highlights, laid over the photo */
.office__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, #07090b 0%, #3a0a0d 55%, #ec1c24 100%);
  mix-blend-mode: color; opacity: .18;
}
.office__shot figcaption { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: 11px; color: rgba(242,242,240,.7); text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.office__addr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.office__addr .mark { color: var(--red-text); }
.office__addr address { font-style: normal; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.office__addr address strong { font-weight: 700; }
.office__addr .tile__link { margin: 0 0 0 auto; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: stretch; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact__list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__list .mark { display: block; margin-bottom: 8px; }
.contact__list address, .contact__list .big { font-style: normal; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); text-decoration: none; }
.contact__list a.big:hover { color: var(--red-text); }
.contact__list p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; }
.contact .actions { margin-top: 28px; }
.map { position: relative; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: #111; }
/* the map itself is drawn in greyscale and inverted to sit in the dark page; the place card
   along the top is cropped away so only streets and the red dot remain */
.map iframe { position: absolute; left: 0; top: -150px; width: 100%; height: calc(100% + 150px); border: 0; filter: grayscale(1) invert(.92) contrast(.92) brightness(.95); pointer-events: none; }
.map__dot { position: absolute; left: 50%; top: calc(50% - 97px); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(236, 28, 36, .25); }
.map__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: mapPulse 2.4s var(--ease-out) infinite; }
@keyframes mapPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.map__open { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(7, 9, 11, .85); }

/* office photos enter one after another: each wipes up into view while the image settles
   from a slight zoom, so the gallery assembles rather than simply appearing */
.js .office.reveal { opacity: 1; transform: none; }
.js .office.reveal .office__shot { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out) var(--d, 0s); }
.js .office.reveal .office__shot img { transform: scale(1.14); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.js .office.reveal.is-in .office__shot { clip-path: inset(0 0 0 0); }
.js .office.reveal.is-in .office__shot img { transform: none; }
.js .office.reveal.is-in .office__shot:hover img { transform: scale(1.025); transition-delay: 0s; }
.office__strip .office__shot:nth-child(1) { --d: .16s; }
.office__strip .office__shot:nth-child(2) { --d: .3s; }
.office__strip .office__shot:nth-child(3) { --d: .44s; }
.js .office__addr.reveal { transition-delay: .5s; }

/* ---------- contact: the district ---------- */
.contact__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--red-text); }
.contact__kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(236, 28, 36, .22); }
.map__badge { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 8px 12px; background: rgba(7, 9, 11, .85); border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink); }
.neighbours { margin-top: clamp(28px, 5vh, 56px); }
.neighbours__title { display: block; margin-bottom: 14px; }
.neighbours ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.neighbours li { position: relative; display: grid; gap: 4px; padding: 18px 0 0 22px; }
.neighbours strong { font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--ink); }
.neighbours li > span:last-child { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.neighbours__dot { position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-2); }
.neighbours li:first-child .neighbours__dot { border-color: var(--red); background: var(--red); }

/* ---------- the Frontier way: seven principles ---------- */
.way__kicker { display: block; margin-bottom: 14px; }
.way__num { display: block; color: var(--red-text); margin-bottom: 6px; }
.bento--seven .tile__body .h3 { margin-bottom: 6px; }
.bento--seven { margin: 0; padding: 0; list-style: none; height: auto; grid-template-rows: none; grid-auto-rows: auto; }
.bento--seven .tile__viz { flex: 0 0 auto; height: clamp(110px, 16vh, 160px); min-height: 0; }
.bento--seven .tile--wide .tile__viz { flex: 0 0 44%; height: auto; }

/* ---------- mobile overrides: last in the file so they beat the desktop "fit" sizing above ---------- */
@media (max-width: 899px) {
  /* homepage services ledger: one column */
  .ledger--grid { grid-template-columns: 1fr; column-gap: 0; }
  .ledger--grid li:not(:first-child) { margin-top: 0; }
  .ledger--grid a { padding: 18px 0; grid-template-columns: 1fr auto; }
  .ledger--grid .h3 { overflow-wrap: anywhere; }
  /* leave a clear lane on the right for the red line that runs down the field; the title keeps its full width */
  .ledger--grid { margin-right: 76px; }
  .ledger--grid a { grid-template-columns: 1fr; padding: 14px 0; }
  .ledger--grid .h3 { font-size: 19px; line-height: 1.2; }
  .ledger--grid .go { display: none; }
  .ledger--grid p { font-size: 14px; line-height: 1.5; }
  .scene--ledger { padding-top: calc(var(--nav-h) + 28px); align-items: flex-start; }
  .scene--ledger > .copy::before { display: none; }

  /* bento boards: single column, natural height, instruments keep a real size */
  .band--fit { min-height: 0; justify-content: flex-start; }
  .bento--fit, .bento--way { margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; height: auto; }
  .bento--fit .tile, .bento--way .tile { grid-column: auto; grid-row: auto; flex-direction: column; }
  .bento--fit .tile__viz, .bento--way .tile__viz,
  .bento--fit .tile--advisory .tile__viz, .bento--fit .tile--sector .tile__viz,
  .bento--fit .tile--curation .tile__viz, .bento--fit .tile--athena .tile__viz,
  .bento--way .tile--wide .tile__viz { flex: 0 0 auto; height: 190px; min-height: 190px; margin: 14px 14px 0; }
  .bento--fit .tile--advisory .tile__viz { height: 240px; min-height: 240px; }
  .bento--fit .tile__body, .bento--way .tile__body { padding: 18px 20px 22px; }
  .bento--fit .tile__body p, .bento--way .tile__body p { font-size: 15px; }
  .bento--fit .tile__link { margin-top: 14px; }

  /* services: cadence + commissioned */
  .lanes--grid { grid-template-columns: 1fr; column-gap: 0; }
  .lanes--grid li { grid-template-columns: 1fr; }
  .final .tile--commission { flex-direction: column; }
  .final .tile--commission .tile__viz { flex: 0 0 auto; height: 180px; min-height: 180px; margin: 0 16px 16px; order: -1; }

  /* CTA band: the dot field is its own strip above the copy, never behind the button */
  .cta-band { padding: 0; gap: 0; overflow: hidden; }
  .cta-band__viz { position: relative; inset: auto; height: 150px; opacity: 1; border-bottom: 1px solid var(--line); }
  .cta-band__copy { padding: 24px 22px 8px; background: none; }
  .cta-band .actions { padding: 8px 22px 26px; background: none; }
  .cta-band .actions .btn { width: 100%; justify-content: space-between; }

  /* about: hero sits close under the year, no dead air */
  .about-hero { align-items: flex-start; padding-top: 38vh; padding-bottom: 56px; }
  .about-hero > .copy::before { inset: -40px calc(var(--edge) * -1) -40px; }
  .founder__quote { font-size: clamp(34px, 11vw, 48px); }
  .years { margin-top: 40px; }

  /* people: the portrait stays pinned under the nav while the roster scrolls past */
  .people-layout { gap: 0; }
  .people__viz {
    position: sticky; top: var(--nav-h); z-index: 5; order: -1;
    width: 100%; max-width: none; height: 220px; margin: 0 0 8px;
    background: var(--bg); border-left: 0; border-right: 0;
  }
  .roster { grid-template-columns: 1fr; }
  .roster li { padding: 18px 0; }
  .careers__viz { height: 150px; }
  .office { grid-template-columns: 1fr; height: auto; }
  .office__shot--lead { aspect-ratio: 4 / 3; }
  .office__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--edge) * -1); padding: 0 var(--edge); scrollbar-width: none; }
  .office__strip::-webkit-scrollbar { display: none; }
  .office__strip .office__shot { flex: 0 0 64%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .office__addr .tile__link { margin-left: 0; }
  .contact { grid-template-columns: 1fr; }
  .map { min-height: 440px; }
  .neighbours ul { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .neighbours li { padding-bottom: 14px; }
  /* on phones Google's embed drops the place card, so the map isn't cropped and the pin sits mid-frame */
  .map iframe { top: 0; height: 100%; }
  .map__dot { top: calc(50% - 25px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo__img { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- careers: open roles, application form, booking ---------- */
.roles { margin-top: 0; }
.roles .roles__level { display: inline-block; margin-right: 12px; color: var(--ink); }
.roles__empty, .roles__loading { padding: 22px 0; }
.roles__empty .h3 { display: block; margin-bottom: 6px; }
.roles__empty p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 56ch; }
.roles__note { color: var(--ink-2); font-size: 16px; }

.apply { max-width: 980px; }
.apply__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vh, 22px) 32px; }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: rgba(12, 15, 18, .82);
  border: 1px solid var(--line-2); border-radius: 2px; padding: 0 14px; height: 48px; width: 100%;
  transition: border-color .2s, background .2s;
}
.fld textarea { height: auto; min-height: 88px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.fld select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.fld select option { background: var(--bg-2); color: var(--ink); }
.fld input::placeholder, .fld textarea::placeholder { color: #6d6d69; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--ink-3); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: rgba(16, 19, 23, .92); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.drop { position: relative; display: flex; align-items: center; min-height: 72px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 2px;
  background: rgba(12, 15, 18, .82); cursor: pointer; transition: border-color .2s, background .2s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--ink-2); }
.drop:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.drop.has-file { border-style: solid; border-color: var(--line-2); }
.drop.has-file .drop__text::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 12px; vertical-align: 1px; }
.drop__text { font-size: 15px; color: var(--ink-2); }
.drop__text strong { color: var(--ink); font-weight: 600; }

.apply .check { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-2); cursor: pointer; max-width: 78ch; }
.apply .check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #c5131b; }
.apply .check a { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply .actions { margin-top: clamp(18px, 3vh, 28px); }
.apply__error { margin: 18px 0 0; color: var(--red-text); font-size: 15px; }
.btn:disabled { opacity: .6; cursor: progress; }
.apply__done { max-width: 56ch; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); outline: none; }
.apply__done .mark { color: var(--red-text); }
.apply__done .h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 8px; }
.apply__done p:last-child { margin: 0; color: var(--ink-2); }

.book { max-width: 980px; }
.book__days { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.book__day .mark { display: block; color: var(--ink); margin-bottom: 12px; }
.book__times { display: flex; flex-wrap: wrap; gap: 8px; }
.slotbtn { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: rgba(12, 15, 18, .82); border: 1px solid var(--line-2); border-radius: 2px;
  height: 44px; padding: 0 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s, color .2s; }
.slotbtn:hover { border-color: var(--ink-2); }
.slotbtn[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slotbtn__tag { font-family: var(--font-mark); font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.slotbtn[aria-checked="true"] .slotbtn__tag { color: var(--bg); }
.book__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.book__confirm p { margin: 0; display: flex; flex-direction: column; flex: 1 1 280px; }
.book__confirm strong { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.book__confirm span { color: var(--ink-2); font-size: 15px; }
.book__confirm .book__hint { color: var(--ink-3); font-size: 15px; }
.book__empty { color: var(--ink-2); max-width: 56ch; border-top: 1px solid var(--line); padding-top: 22px; margin: 0; }
.book__done { border-top: 1px solid var(--line); padding-top: 24px; }
.book__done .mark { color: var(--red-text); }
.book__when { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 8px; }
.book__where { color: var(--ink-2); margin: 0 0 28px; }

@media (max-width: 899px) {
  .apply__grid { grid-template-columns: 1fr; }
  .apply .actions .btn, .book__confirm .btn { width: 100%; justify-content: space-between; }
  .book__days { grid-template-columns: 1fr; gap: 24px; }
}
.fld .mark { font-size: 13px; color: var(--ink-2); }

/* careers: dot arrow down to the application form. Dots light top to bottom, the tip is the red signal. */
.scroll-cue { display: inline-flex; align-items: center; gap: 18px; margin-top: clamp(22px, 4vh, 44px); text-decoration: none; color: var(--ink); }
.scroll-cue__dots { display: grid; grid-template-columns: repeat(5, 9px); grid-template-rows: repeat(5, 9px); gap: 6px; }
.scroll-cue__dots i { grid-column: var(--c); grid-row: var(--r); width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3);
  animation: cueFlow 1.8s var(--ease-out) infinite; animation-delay: calc(var(--r) * .14s); }
.scroll-cue__dots i.is-tip { background: var(--red); }
@keyframes cueFlow { 0%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(3px); } }
.scroll-cue__text { display: flex; flex-direction: column; gap: 2px; }
.scroll-cue__text .mark { color: var(--red-text); }
.scroll-cue__text span:last-child { font-size: 16px; font-weight: 500; transition: transform .45s var(--ease-out); }
.scroll-cue:hover .scroll-cue__text span:last-child { transform: translateY(2px); }
.scroll-cue:hover .scroll-cue__dots i { background: var(--ink); }
.scroll-cue:hover .scroll-cue__dots i.is-tip { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .scroll-cue__dots i { animation: none; opacity: 1; } }

/* home: credibility figure */
.proof { display: flex; align-items: center; gap: 18px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line-2); max-width: 46ch; }
.proof__num { font-family: var(--font); font-weight: 800; font-size: clamp(52px, 8vh, 84px); line-height: 1; color: var(--red-text); letter-spacing: -.03em; white-space: nowrap; font-feature-settings: "frac" 0; }
.proof__num sup { font-size: .45em; vertical-align: top; margin-left: 2px; position: relative; top: .1em; }
.proof__label { color: var(--ink-2); font-size: 16px; line-height: 1.45; }

/* home: who we advise, each with a small mark drawn in the logo's dots, as a 2 x 2 grid */
.kinds { list-style: none; margin: 6px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; border-top: 1px solid var(--line-2); }
.kinds li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); font-weight: 700; font-size: clamp(17px, 2.3vh, 21px); letter-spacing: -.015em; color: var(--ink); }
.kinds li:nth-child(odd) { padding-left: 0; }
.kinds li:nth-child(even) { border-left: 1px solid var(--line-2); }
.kinds__icon { width: clamp(30px, 4.4vh, 40px); height: clamp(30px, 4.4vh, 40px); flex: none; fill: var(--ink); }
.kinds__icon .r { fill: var(--red); }
@media (max-width: 899px) {
  .kinds { margin: 4px 0 16px; }
  .kinds li { font-size: 15px; gap: 11px; padding: 11px 12px; }
  .kinds__icon { width: 26px; height: 26px; }
}
/* on shorter phones the list already says it: the sentence steps aside so the section fits one screen */
@media (max-width: 899px) and (max-height: 900px) {
  #clients .prose { display: none; }
  #clients .proof { border-top: 0; padding-top: 4px; margin-top: 8px; }
}

/* The Frontier Way: a "Read more" on each principle opens the detail in a pop-up */
.tile__more {
  position: absolute; right: 14px; bottom: 14px; margin: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(7, 9, 11, .6); border: 1px solid var(--line-2); border-radius: 2px;
  font: 700 11px/1 var(--font-mark); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  transition: color .25s var(--ease-out), border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.tile__more:hover, .tile__more:focus-visible { color: var(--ink); border-color: var(--ink-3); background: rgba(7, 9, 11, .9); }
.tile__more-arrow { width: 14px; height: 8px; flex: none; color: var(--red-text); transition: transform .3s var(--ease-out); }
.tile__more:hover .tile__more-arrow, .tile__more:focus-visible .tile__more-arrow { transform: translateX(3px); }
.bento--way .tile__body { padding-bottom: calc(clamp(12px, 2vh, 20px) + 30px); }

.way {
  padding: 0; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink);
  background: #0b0d10; width: min(680px, calc(100vw - 24px)); max-height: min(88vh, 780px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6); overscroll-behavior: contain;
}
.way::backdrop { background: rgba(5, 6, 8, .74); backdrop-filter: blur(6px); }
.way[open] { animation: way-in .4s var(--ease-out); }
.way[open]::backdrop { animation: way-fade .4s ease-out; }
@keyframes way-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes way-fade { from { opacity: 0; } to { opacity: 1; } }
.way__panel { padding: clamp(22px, 4vw, 40px); }
.way__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.way__d-num { color: var(--red-text); }
.way__close {
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: none; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 2px;
  transition: color .2s, border-color .2s;
}
.way__close:hover, .way__close:focus-visible { color: var(--ink); border-color: var(--ink-3); }
.way__d-title { margin: 0 0 16px; font-size: clamp(26px, 4.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.way__lede { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.way__d-body p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.way__d-body p.way__lede { color: var(--ink); }
.way__group { margin: 22px 0 6px; font: 900 12px/1 var(--font-mark); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.way__list { list-style: none; margin: 0 0 4px; padding: 0; }
.way__list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.way__list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.way__list b { color: var(--ink); font-weight: 700; }
.way__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.way__step { background: none; border: 0; cursor: pointer; padding: 6px 0; color: var(--ink-2); font: 500 14px var(--font); transition: color .2s; }
.way__step:hover, .way__step:focus-visible { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .way[open], .way[open]::backdrop { animation: none; } }

/* people: the board's full profiles */
.roster--board p { font-size: 13.5px; line-height: 1.5; }
.people-layout--names .roster--board li { padding-top: clamp(10px, 1.6vh, 16px); padding-bottom: clamp(10px, 1.6vh, 16px); }
.people-layout--names .roster--board .role { margin-bottom: 4px; }
@media (max-width: 899px) { .people-layout--names .roster, .people-layout--names .roster--board { grid-template-columns: 1fr; } }

/* the principles share one screen: the animations give a little height back so the pop-up links fit beside each number */
@media (min-width: 900px) {
  .bento--seven .tile__viz { height: clamp(80px, 10vh, 130px); }
  .bento--seven .tile--wide .tile__viz { height: auto; }
}

@media (min-width: 1100px) {
  .people-layout--names .roster--board { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
  .roster--board p { font-size: 13.5px; }
}
#people .band__head .lede { font-size: clamp(15px, 2.1vh, 18px); max-width: 60ch; }
.people-layout--names .roster--board li { padding-top: clamp(8px, 1.2vh, 12px); padding-bottom: clamp(8px, 1.2vh, 12px); }

/* careers: the application is an email that opens ready to send */
.apply--mail { max-width: 980px; }
.apply__steps { list-style: none; margin: 0 0 clamp(22px, 4vh, 40px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.apply__steps li { padding: 18px 0 0; border-top: 1px solid var(--line-2); }
.apply__steps .mark { color: var(--red-text); }
.apply__steps p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 34ch; }
.apply--mail .actions { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.apply__alt { color: var(--ink-2); font-size: 15px; }
.apply__alt a { color: var(--ink); }
@media (max-width: 899px) { .apply__steps { grid-template-columns: 1fr; gap: 14px; } .apply--mail .actions .btn { width: 100%; justify-content: space-between; } }

/* About and Careers open on a photograph too: centred copy and the year in dots need a calmer, darker screen than the home hero */
.hero-photo--page::before {
  background:
    linear-gradient(to bottom, rgba(7, 9, 11, .55) 0%, rgba(7, 9, 11, .42) 30%, rgba(7, 9, 11, .74) 66%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 9, 11, .5) 0%, rgba(7, 9, 11, .3) 50%, rgba(7, 9, 11, .5) 100%);
}


/* back-up arrow, lower left */
.to-prev { position: fixed; right: clamp(10px, 1.3vw, 22px); bottom: clamp(16px, 3vh, 32px); z-index: 40; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line, rgba(255,255,255,.28)); background: rgba(10,10,12,.55); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), border-color .25s, color .25s; }
.to-prev.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-prev:hover { border-color: var(--red); color: var(--red-text, var(--red)); }
.to-prev:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
#people .band__head .lede:empty { display: none; }
/* People: the tabs stay put; the board paragraph opens beneath them, aligned to the top of the heading */
#people .band__head { align-items: start; }
#people .band__head .lede { margin: 16px 0 0; }
#people .band__head .tabs { margin-top: clamp(4px, 1vh, 12px); }
#people .band__head .lede { margin-top: 12px; font-size: clamp(14px, 1.85vh, 17px); line-height: 1.5; }
@media (min-width: 1100px) {
  .people-layout--names .roster--board { column-gap: 28px; }
  .roster--board p { font-size: clamp(12.5px, 1.4vh, 13.5px); line-height: 1.42; }
  .people-layout--names .roster--board li { padding-top: clamp(6px, 1vh, 10px); padding-bottom: clamp(6px, 1vh, 10px); }
}
/* Read more sits in the tile's own bottom-right corner, so it lines up identically on every card */
.bento--way > li.tile { position: relative; }
.bento--way > li.tile > .tile__more { position: absolute; right: 14px; bottom: 14px; }

/* Careers and Contact heads: the paragraph's last line shares a baseline with the heading's last line,
   and on Contact the paragraph starts on the same vertical as the map beneath it */
#roles .band__head, #contact .band__head { align-items: end; align-items: last baseline; }
#contact .band__head { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 64px; }
#contact .band__head .lede, #roles .band__head .lede { margin: 0; }
@media (max-width: 899px) { #roles .band__head, #contact .band__head { grid-template-columns: 1fr; align-items: start; } }

/* rotating word: "We hire ___." */
.rw { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; transition: width .65s var(--ease-out); }
.rw > span { grid-area: 1 / 1; justify-self: start; white-space: nowrap; opacity: 0; transform: translateY(70%); transition: transform .65s var(--ease-out), opacity .5s var(--ease-out); }
.rw > span.is-on { opacity: 1; transform: none; }
.rw > span.is-out { opacity: 0; transform: translateY(-70%); }
.nb { white-space: nowrap; }
.wh { display: block; }

/* founder: a halftone portrait behind the quote */
#founder { position: relative; }
.founder-portrait { position: absolute; left: clamp(16px, 4.5vw, 72px); top: calc(var(--nav-h, 76px) + 16px); height: min(calc(100% - var(--nav-h, 76px) - 40px), 66vh); aspect-ratio: 500 / 462; max-width: 62vw; pointer-events: none; z-index: 0;
  }
.founder-portrait canvas { display: block; width: 100%; height: 100%; }
#founder .founder { position: relative; z-index: 1; }
#founder .founder__quote { text-shadow: 0 2px 30px rgba(5, 6, 8, .85), 0 0 8px rgba(5, 6, 8, .6); }
@media (max-width: 899px) { .founder-portrait { left: auto; right: 0; top: calc(var(--nav-h, 76px) + 4px); width: 92%; height: auto; max-width: none; aspect-ratio: 500 / 462; opacity: .36; -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); } }
#founder .founder__quote cite { text-shadow: 0 0 14px rgba(5, 6, 8, .95), 0 0 4px rgba(5, 6, 8, .9); }
.dz { display: inline-block; will-change: opacity, filter, transform; }
.dz-cite { will-change: opacity, filter, transform; }

/* phones: the founder opens as a feature: the portrait, the quote laid over its lower edge, and the first lines of the story beneath */
@media (max-width: 899px) {
  #founder { padding-top: calc(var(--nav-h, 64px) + 8px); }
  #founder .founder-portrait { position: relative; left: auto; right: auto; top: auto; width: min(122%, 540px); max-width: none; height: auto; aspect-ratio: 500 / 462;
    margin: 0 auto -96px; position: relative; left: 0; opacity: 1; -webkit-mask-image: none; mask-image: none; z-index: 0; }
  #founder .founder { gap: 22px; }
  #founder .founder__quote { font-size: clamp(34px, 10.5vw, 46px); }
}

/* founder credit: a name that holds its own against the portrait */
#founder .founder__quote cite { position: relative; display: block; width: fit-content; margin: 30px 0 0 -16px; padding: 18px 28px 12px 16px; font-size: clamp(17px, min(1.5vw, 2.6vh), 21px); line-height: 1.4; color: var(--ink-2);
  text-shadow: none; }
#founder .founder__quote cite::before { content: ""; position: absolute; left: 16px; top: 0; width: 40px; height: 2px; background: var(--red); }
#founder .founder__quote cite strong { color: #fff; font-weight: 700; letter-spacing: .005em; }
@media (max-width: 899px) { #founder .founder__quote cite { margin-top: 22px; padding-right: 20px; font-size: 17px; } }

/* phones: no portrait for now, so the founder section goes back to a plain top */
@media (max-width: 899px) { #founder { padding-top: calc(var(--nav-h, 64px) + 28px); } }
