/* Specified Personnel — site styles, v2.
   Direction: Ink-led. Dark bands open and close every page, Bone carries the reading.
   The mark is used at architectural scale: the hero headline sits inside the brackets,
   ending in the Ember square, so the strapline becomes the person in the slot.
   No uppercase labels. Hierarchy comes from scale and space. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Fixed brand colours */
  --ink: #15181C;
  --bone: #EFEBE4;
  --ember: #EE5A28;
  --ember-deep: #B5431A;
  --graphite: #2A2F35;
  --slate: #565C63;
  --mist: #B9BCC0;
  --stone: #DCD6CC;
  --sand: #B7AE9F;

  /* Theme tokens: light */
  --surface: #EFEBE4;          /* Bone */
  --surface-alt: #E6E1D8;      /* between Bone and Stone, for one quiet band */
  --raised: #F7F5F1;
  --text: #15181C;
  --text-muted: #565C63;
  --text-link: #B5431A;
  --rule: rgba(21, 24, 28, 0.14);
  --rule-strong: #15181C;
  --dark-bg: #15181C;          /* Ink bands */
  --dark-line: rgba(239, 235, 228, 0.16);
  --field: #FFFFFF;
  --field-border: rgba(21, 24, 28, 0.28);
  --btn-bg: #15181C;
  --btn-fg: #EFEBE4;
  --focus: #B5431A;
  --logo-light: block;
  --logo-dark: none;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", Arial, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", Consolas, Menlo, monospace;

  --max: 1240px;
  --gutter: 20px;
  --sec: 88px;
  --header-h: 72px;
}
@media (min-width: 760px) { :root { --gutter: 40px; --sec: 128px; --header-h: 84px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; --sec: 160px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #15181C;
    --surface-alt: #1B1F24;
    --raised: #1E2227;
    --text: #EFEBE4;
    --text-muted: #B9BCC0;
    --text-link: #EE5A28;
    --rule: rgba(239, 235, 228, 0.14);
    --rule-strong: #EFEBE4;
    --dark-bg: #0E1013;
    --dark-line: rgba(239, 235, 228, 0.14);
    --field: #0E1013;
    --field-border: rgba(239, 235, 228, 0.28);
    --btn-bg: #EFEBE4;
    --btn-fg: #15181C;
    --focus: #EE5A28;
    --logo-light: none;
    --logo-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #15181C;
  --surface-alt: #1B1F24;
  --raised: #1E2227;
  --text: #EFEBE4;
  --text-muted: #B9BCC0;
  --text-link: #EE5A28;
  --rule: rgba(239, 235, 228, 0.14);
  --rule-strong: #EFEBE4;
  --dark-bg: #0E1013;
  --dark-line: rgba(239, 235, 228, 0.14);
  --field: #0E1013;
  --field-border: rgba(239, 235, 228, 0.28);
  --btn-bg: #EFEBE4;
  --btn-fg: #15181C;
  --focus: #EE5A28;
  --logo-light: none;
  --logo-dark: block;
  color-scheme: dark;
}

/* A dark band re-scopes the theme tokens, so every component inside just works */
.dark {
  background: var(--dark-bg);
  color: var(--bone);
  --text: #EFEBE4;
  --text-muted: #B9BCC0;
  --text-link: #EE5A28;
  --rule: var(--dark-line);
  --rule-strong: #EFEBE4;
  --btn-bg: #EFEBE4;
  --btn-fg: #15181C;
  --focus: #EE5A28;
  --field: #0E1013;
  --field-border: rgba(239, 235, 228, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--dark-bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--ink); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 450; font-family: var(--serif); text-wrap: balance; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Type scale ---------- */
.h-xl { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.0; letter-spacing: -0.018em; font-variation-settings: "opsz" 72; }
.h-l  { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.014em; font-variation-settings: "opsz" 72; }
.h-m  { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.006em; font-variation-settings: "opsz" 48; }
.h-s  { font-size: 22px; line-height: 1.25; font-weight: 500; font-variation-settings: "opsz" 24; }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.7vw, 50px); line-height: 1.14; letter-spacing: -0.012em; font-variation-settings: "opsz" 60; text-wrap: pretty; }
.quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.muted { color: var(--text-muted); }
.small { font-size: 15px; line-height: 1.55; }
.fine { font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.measure { max-width: 60ch; }
.it { font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--dark-bg); color: var(--bone);
  transition: background-color .25s ease-out, color .25s ease-out, box-shadow .25s ease-out;
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; line-height: 0; flex-shrink: 0; margin-left: -6px; }
.brand img { width: 168px; height: auto; }
@media (min-width: 760px) { .brand img { width: 196px; } }
.brand .logo-pri { display: none; }
.site-header.solid { background: var(--surface); color: var(--text); box-shadow: 0 1px 0 var(--rule); }
.site-header.solid .logo-pri { display: var(--logo-light); }
.site-header.solid .logo-rev { display: var(--logo-dark); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.005em; position: relative; padding-block: 6px; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease-out; }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; padding: 10px 18px !important; border-radius: 2px; transition: background-color .2s ease-out, color .2s ease-out; }
.site-header:not(.solid) .nav-cta:hover { background: var(--bone); color: var(--ink); }
.site-header.solid .nav-cta:hover { background: var(--text); color: var(--surface); }

.menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit;
    font: 500 15px/1 var(--sans); padding: 10px 0 10px 10px; cursor: pointer;
  }
  .menu-lines { position: relative; width: 20px; height: 10px; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease-out, top .2s ease-out; }
  .menu-lines::before { top: 0; }
  .menu-lines::after { top: 8.5px; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { top: 4.25px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { top: 4.25px; transform: rotate(-45deg); }
  .nav { display: none; }
  .nav.open {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark-bg); color: var(--bone);
    padding: 24px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    overflow-y: auto;
  }
  .nav.open a { font-family: var(--serif); font-size: 36px; line-height: 1.1; font-weight: 450; padding-block: 18px; border-bottom: 1px solid var(--dark-line); }
  .nav.open a::after { display: none; }
  .nav.open .nav-cta { border: 0; border-bottom: 1px solid var(--dark-line); padding: 18px 0 !important; border-radius: 0; }
  .site-header.menu-open { background: var(--dark-bg); color: var(--bone); box-shadow: none; }
  .site-header.menu-open .logo-pri { display: none; }
  .site-header.menu-open .logo-rev { display: block; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 15px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  padding: 18px 26px; border-radius: 2px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg);
  transition: background-color .2s ease-out, color .2s ease-out;
}
.btn:hover { background: transparent; color: var(--text); }
.btn.line { background: transparent; color: var(--text); border-color: var(--text); }
.btn.line:hover { background: var(--text); color: var(--surface); }
.dark .btn.line:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tlink { font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 0.3em; }
.tlink:hover { text-decoration-thickness: 2px; }
.prose a, .fine a, .small a { color: var(--text-link); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-title {
  font-family: var(--serif); font-weight: 450; color: var(--bone);
  font-size: clamp(44px, 9vw, 136px); line-height: 0.95; letter-spacing: -0.022em;
  font-variation-settings: "opsz" 72;
  display: inline-grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch;
  column-gap: 0.26em; max-width: 100%;
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) both;
}
/* Brackets drawn to the mark's construction, scaled from the square:
   square .3em → stroke .075em, arm .19em */
.hero-title .bk { width: 0.19em; border: 0.075em solid var(--bone); }
.hero-title .bk.l { border-right: 0; }
.hero-title .bk.r { border-left: 0; }
.hero-title .t { padding-block: 0.2em 0.16em; min-width: 0; }
.hero-title .sq { display: inline-block; width: 0.3em; height: 0.3em; background: var(--ember); margin-left: 0.08em; vertical-align: baseline; }
.hero-foot { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
.hero-foot .lead { color: var(--bone); max-width: 36ch; }
.terms { margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--dark-line); display: grid; gap: 10px 40px; list-style: none; padding-left: 0; margin-bottom: 0; color: var(--mist); font-size: 15px; }
@media (min-width: 760px) { .terms { grid-template-columns: repeat(3, auto); justify-content: start; } }
.terms li { display: flex; gap: 12px; align-items: baseline; }
.terms li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--mist); flex-shrink: 0; transform: translateY(-2px); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec + .sec:not(.dark):not(.alt) { border-top: 1px solid var(--rule); }
.alt { background: var(--surface-alt); }
.split { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split .side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.side .lead { max-width: 30ch; }
.main { min-width: 0; }

/* Statement */
.statement-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .statement-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 56px; } .statement-grid .statement { grid-column: 1 / 11; } .statement-grid .follow { grid-column: 6 / 12; } }
.follow { display: grid; gap: 18px; }

/* Index list (who we place, markets) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.index > li { position: relative; display: grid; gap: 8px; padding: 30px 0 32px; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .index > li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: baseline; } }
.index h3 { font-size: clamp(24px, 2.3vw, 31px); line-height: 1.15; letter-spacing: -0.008em; font-variation-settings: "opsz" 36; }
.index p { color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.index-coda { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; color: var(--text); }

/* The slot: hovering a role family places the Ember square in brackets beside it */
.slotted > li { transition: padding-left .3s cubic-bezier(.2, .7, .2, 1); }
.slotted .slot { position: absolute; left: 0; top: 34px; display: inline-flex; align-items: center; gap: 5px; opacity: 0; transition: opacity .25s ease-out; }
.slotted .slot::before, .slotted .slot::after { content: ""; width: 5px; height: 24px; border: 2px solid var(--text); }
.slotted .slot::before { border-right: 0; }
.slotted .slot::after { border-left: 0; }
.slotted .slot i { width: 9px; height: 9px; background: var(--ember); }
@media (hover: hover) and (min-width: 980px) {
  .slotted > li:hover { padding-left: 52px; }
  .slotted > li:hover .slot { opacity: 1; }
}

/* How we work (dark) */
.how-head { display: grid; gap: 40px; margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 980px) { .how-head { grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; } }
.frame { display: inline-flex; align-items: stretch; gap: 0.32em; font-size: clamp(56px, 7vw, 96px); justify-self: start; }
@media (min-width: 980px) { .frame { justify-self: end; } }
.frame .bk { width: 0.19em; border: 0.06em solid var(--text); }
.frame .bk.l { border-right: 0; }
.frame .bk.r { border-left: 0; }
.frame .in { display: grid; gap: 0.12em; padding-block: 0.2em; }
.frame .fig { font-family: var(--serif); font-weight: 450; line-height: 0.9; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.frame .cap { font-size: 15px; line-height: 1.4; color: var(--text-muted); letter-spacing: 0; max-width: 18ch; }
.grid-3 { display: grid; gap: 0 48px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.point { padding-block: 28px 40px; border-top: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.point p { color: var(--text-muted); font-size: 16px; }

/* Process */
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; counter-reset: s; }
.track li { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; padding: 0 0 40px 44px; }
.track li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border: 1.5px solid var(--text); background: var(--surface); z-index: 1; }
.track li::after { content: ""; position: absolute; left: 7px; top: 23px; bottom: -9px; width: 1px; background: var(--rule-strong); opacity: .5; }
.track li:last-child::after { display: none; }
.track li.done::before { background: var(--ember); border-color: var(--ember); }
.track .num { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--text-muted); line-height: 1; }
.track h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.track p { color: var(--text-muted); font-size: 16px; max-width: 34ch; }
@media (min-width: 1200px) {
  .track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
  .track li { padding: 44px 0 0; }
  .track li::before { top: 0; left: 0; }
  .track li::after { left: 14px; right: -32px; top: 7px; bottom: auto; width: auto; height: 1px; }
}
.track-note { margin-top: 24px; color: var(--text-muted); font-size: 16px; }

/* Roles teaser + list */
.roles-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.role-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.role-list li { border-bottom: 1px solid var(--rule); }
.role-row { display: grid; gap: 6px 32px; padding-block: 28px; text-decoration: none; color: var(--text); }
@media (min-width: 860px) { .role-row { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) 24px; align-items: baseline; } }
.role-row h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.role-row .meta { font-size: 15px; color: var(--text-muted); min-width: 0; }
.role-row .go { width: 18px; height: 18px; border-top: 1.5px solid var(--text); border-right: 1.5px solid var(--text); transform: rotate(45deg) scale(.7); justify-self: end; transition: transform .25s ease-out; }
.role-row:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.role-row:hover .go { transform: translateX(4px) rotate(45deg) scale(.7); }
.badge { display: inline-block; font: 500 12px/1 var(--sans); letter-spacing: 0.02em; padding: 5px 8px; border: 1px solid var(--rule-strong); color: var(--text-muted); border-color: var(--text-muted); vertical-align: 0.4em; margin-left: 12px; border-radius: 2px; }
.empty { padding-block: 40px; border-top: 1px solid var(--rule-strong); display: grid; gap: 16px; }
.empty h2 { font-size: clamp(26px, 2.6vw, 34px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 500 14px/1 var(--sans); padding: 11px 16px; border-radius: 2px; cursor: pointer; border: 1px solid var(--rule); background: transparent; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }

/* CTA band */
.cta-quote { max-width: 24ch; margin-bottom: clamp(56px, 7vw, 96px); }
.cta-grid { display: grid; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
.cta-grid a { display: grid; gap: 16px; padding: 36px 0 40px; text-decoration: none; border-bottom: 1px solid var(--rule); min-width: 0; }
@media (min-width: 900px) { .cta-grid a { padding: 40px 48px 48px 0; border-bottom: 0; } .cta-grid a + a { padding-left: 48px; border-left: 1px solid var(--rule); } }
.cta-grid h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.cta-grid h3 .go { width: 22px; height: 22px; flex-shrink: 0; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg) scale(.7); transition: transform .25s ease-out; }
.cta-grid a:hover .go { transform: translateX(6px) rotate(45deg) scale(.7); }
.cta-grid p { color: var(--text-muted); max-width: 42ch; }

/* Footer */
.site-footer { background: var(--dark-bg); color: var(--bone); border-top: 1px solid var(--dark-line); }
.site-footer .wrap { padding-block: clamp(56px, 7vw, 96px) 32px; display: grid; gap: clamp(48px, 6vw, 80px); }
.foot-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: auto 1fr; gap: 48px; align-items: center; } }
.foot-mark img { width: 52px; height: auto; margin-left: -12px; }
.foot-line { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; color: var(--bone); letter-spacing: -0.01em; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot-h { font-size: 15px; font-weight: 600; color: var(--bone); }
.foot-cols ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--mist); }
.foot-cols a { text-decoration: none; color: var(--mist); }
.foot-cols a:hover { color: var(--bone); text-decoration: underline; }
.foot-cols .email { overflow-wrap: anywhere; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--mist); }
.foot-legal a { color: var(--mist); }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.page-head .wrap { display: grid; gap: 24px; }
.page-head .lead { color: var(--mist); max-width: 48ch; }
.back { font-size: 15px; font-weight: 500; color: var(--mist); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.back::before { content: ""; width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.back:hover { color: var(--bone); }

.role-detail { display: grid; gap: 56px; padding-block: 72px 120px; }
@media (min-width: 980px) { .role-detail { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; } }
.role-body { display: grid; gap: 48px; min-width: 0; }
.role-body section { display: grid; gap: 16px; }
.role-body h2 { font-size: clamp(26px, 2.4vw, 32px); }
.role-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 62ch; }
.role-body li { padding-left: 24px; position: relative; }
.role-body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--text); }
.role-body p { max-width: 62ch; }
.role-aside { display: grid; gap: 28px; align-content: start; min-width: 0; }
@media (min-width: 980px) { .role-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.spec li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.spec li span:first-child { color: var(--text-muted); }

/* Forms */
.form-layout { display: grid; gap: 64px; padding-block: 72px 120px; }
@media (min-width: 980px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; } }
.form-aside { display: grid; gap: 40px; align-content: start; min-width: 0; }
@media (min-width: 980px) { .form-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.form-aside .box { border-top: 1px solid var(--rule-strong); padding-top: 20px; display: grid; gap: 12px; }
.form-aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text-muted); font-size: 15px; }
.form-aside li { padding-left: 20px; position: relative; }
.form-aside li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--text-muted); }
form.sp { display: grid; gap: 56px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
legend { padding: 0 0 16px; margin-bottom: 8px; width: 100%; border-bottom: 1px solid var(--rule-strong); font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 450; }
fieldset > legend + * { margin-top: 24px; }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .group-label { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text); }
.hint { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.opt { color: var(--text-muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--text);
  background: var(--field); border: 1px solid var(--field-border); border-radius: 2px;
  padding: 13px 14px; appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease-out;
}
input:hover, select:hover, textarea:hover { border-color: var(--text-muted); }
select { background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.dark .check input, :root[data-theme="dark"] .check input { accent-color: var(--bone); }
.file-drop { border: 1px dashed var(--field-border); background: var(--field); padding: 24px; display: grid; gap: 10px; border-radius: 2px; }
.file-drop input { font: 400 15px/1.4 var(--sans); color: var(--text-muted); max-width: 100%; }
.consent { border-top: 1px solid var(--rule); padding-top: 28px; display: grid; gap: 18px; }
.form-msg { font-size: 15px; line-height: 1.5; padding: 14px 18px; border-left: 2px solid var(--text); background: var(--surface-alt); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Prose */
.prose { padding-block: 72px 120px; display: grid; gap: 20px; max-width: 720px; }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 28px; }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }

.center-msg { padding-block: clamp(80px, 12vw, 160px); display: grid; gap: 28px; justify-items: start; }
.center-msg .lead { max-width: 46ch; }

/* Skip link */
.skip { position: absolute; left: -10000px; top: 0; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: 8px; z-index: 50; background: var(--bone); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }

/* ---------- Fixes from render check ---------- */
.hero-title { grid-template-columns: auto auto auto; }
.hero-title br.m { display: none; }
@media (max-width: 640px) { .hero-title br.m { display: inline; } }
.frame .fig { white-space: nowrap; }
@media (min-width: 860px) { .role-row { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) 24px; } }
.foot-mark img { width: 64px; }
.file-drop { min-width: 0; }
.file-drop input { width: 100%; }
fieldset > * { min-width: 0; }
.frame .cap { max-width: 26ch; }

/* ---------- QA pass ---------- */
/* Text settles with no lingering transform, so it is never left on a blurred GPU layer */
.hero-title { animation-fill-mode: backwards; }
p, li, .lead { text-wrap: pretty; }
.form-aside h3, .role-aside h3 { font-size: 22px; line-height: 1.25; font-weight: 450; font-variation-settings: "opsz" 24; }

/* ---------- Studio QA, round 2 ---------- */

/* Hero: the frame hugs the words at every width */
.hero-title br.d { display: none; }
@media (min-width: 641px) {
  .hero-title br.d { display: inline; }
  .hero-title .t { white-space: nowrap; }
}
@media (max-width: 640px) {
  .hero-title { line-height: 1.06; }
  .hero-foot .btn, form.sp [type="submit"] { width: 100%; }
}

/* One shared grid: second-column content always starts on the 5/7 split */
@media (min-width: 980px) {
  .statement-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; row-gap: 56px; }
  .statement-grid .statement { grid-column: 1 / -1; max-width: 22em; }
  .statement-grid .follow { grid-column: 2; max-width: 36em; }
}
#about { padding-bottom: clamp(64px, 7vw, 104px); }

/* Role rows: title left, details on the second column, separators never orphaned */
.role-row { position: relative; grid-template-columns: minmax(0, 1fr); padding-right: 40px; }
.role-info { display: grid; gap: 4px; min-width: 0; }
.role-row .meta { display: block; }
.role-row .meta span { white-space: nowrap; }
.role-row .meta span + span::before { content: "· "; }
.role-row .go { position: absolute; right: 6px; top: 50%; margin-top: -9px; }
@media (min-width: 980px) {
  .role-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; padding-right: 0; }
  .role-info { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
  .role-row .go { position: static; margin: 0; flex-shrink: 0; }
}

/* Footer on the same grid; quieter strapline; real tap targets */
.foot-line { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
@media (min-width: 980px) {
  .foot-top { grid-template-columns: calc((100% - 64px) * 5 / 12 + 64px) 1fr; gap: 0; }
  .foot-cols { grid-template-columns: calc((100% - 64px) * 5 / 12 + 64px) 1fr 1fr; gap: 0; }
}
@media (max-width: 759px) {
  .foot-cols > :last-child { grid-column: 1 / -1; }
  .foot-cols ul { gap: 2px; }
  .foot-cols a { display: inline-block; padding-block: 8px; }
}
.foot-cols .email { overflow-wrap: normal; white-space: nowrap; }

/* Ember stays for the square; links are Ink, underlined */
:root { --text-link: #15181C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --text-link: #EFEBE4; } }
:root[data-theme="dark"] { --text-link: #EFEBE4; }
.dark { --text-link: #EFEBE4; }
.prose a, .fine a, .small a, .notice a, .lead a { color: var(--text-link); text-decoration-color: var(--rule-strong); text-underline-offset: 0.22em; }
::selection { background: var(--text); color: var(--surface); }
.dark ::selection { background: var(--bone); color: var(--ink); }

/* Section rules: one, held to the content width, only between two Bone sections */
.sec + .sec:not(.dark):not(.alt) { border-top: 0; }
.sec:not(.dark):not(.alt) + .sec:not(.dark):not(.alt) > .wrap {
  background: linear-gradient(var(--rule), var(--rule)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  padding-top: var(--sec);
}
.sec:not(.dark):not(.alt) + .sec:not(.dark):not(.alt) { padding-top: 0; }
@media (max-width: 899px) { .cta-grid a:last-child { border-bottom: 0; } }
.index-coda { color: var(--text-muted); }

/* Dark mode: one black, hairlines between sections */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --dark-bg: #15181C; --surface-alt: #15181C; }
  :root:not([data-theme="light"]) main > * + * { border-top: 1px solid var(--dark-line); }
}
:root[data-theme="dark"] { --dark-bg: #15181C; --surface-alt: #15181C; }
:root[data-theme="dark"] main > * + * { border-top: 1px solid var(--dark-line); }

/* Process: horizontal only where five columns have room (vertical below 1200) */
.track p { max-width: 60ch; }

/* Forms: drawn controls, no browser defaults */
legend { border-bottom: 0; border-top: 1px solid var(--rule-strong); padding: 20px 0 0; margin-bottom: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(3, max-content); column-gap: 40px; } }
.check input {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 2px 0 0;
  border: 1px solid var(--field-border); border-radius: 0; background: var(--field);
  display: grid; place-content: center; cursor: pointer; transition: border-color .15s ease-out, background-color .15s ease-out;
}
.check input:hover { border-color: var(--text); }
.check input:checked { background: var(--text); border-color: var(--text); }
.check input:checked::after { content: ""; width: 8px; height: 8px; background: var(--surface); }
.dark .check input:checked::after { background: var(--ink); }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23565C63' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 16px center; background-size: 12px 7px; background-repeat: no-repeat;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B9BCC0' stroke-width='1.5'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B9BCC0' stroke-width='1.5'/%3E%3C/svg%3E"); }
.file-drop { border-style: solid; }
.file-drop input::file-selector-button {
  font: 500 14px/1 var(--sans); padding: 12px 18px; margin-right: 16px;
  border: 1px solid var(--text); border-radius: 2px; background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .2s ease-out, color .2s ease-out;
}
.file-drop input::file-selector-button:hover { background: var(--text); color: var(--surface); }
.consent p, .consent .notice { font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; }
.consent .check { color: var(--text); font-size: 16px; }

/* Privacy lists match the rest of the site */
.prose ul { list-style: none; padding-left: 0; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--text); }
@media (max-width: 979px) {
  .role-row .meta:first-child span { display: block; }
  .role-row .meta:first-child span + span::before { content: none; }
}

/* Specified Personnel: stacked logo in the header (artwork carries 7.5% clear space each side) */
.brand { margin-left: -12px; }
.brand img { width: 160px; height: auto; }
@media (min-width: 760px) { .brand { margin-left: -14px; } .brand img { width: 186px; } }
