/* =============================================================
   APEX SEARCH (kopie van de Apex Search-laag): brand layer on top of /shared/system.css
   Petrol ink on warm paper, brass hairlines on petrol, gold as a mark.
   The one brand device: a hairline with a single diagonal step
   that climbs through the page; the closing phrase of a
   headline set a little narrower.
   ============================================================= */

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-weight: 700; font-stretch: 112%; font-size: 1.1875rem; line-height: 1; letter-spacing: -.018em; white-space: nowrap; color: inherit; }
.logo-mark { height: 1.16em; width: auto; flex: none; fill: #B59977; }
.foot-brand .logo { font-size: 1.5rem; }
@media (max-width: 720px) { .nav-logo .logo { font-size: 1.0625rem; } }

/* ---------- Hairlines: one straight brass line opens every section ---------- */
.brand-cj .sec-head .rule { background: var(--line); }

/* ---------- One width for every heading ---------- */
.nw { font-stretch: inherit; }
.h2 .nw, .contact-h .nw { display: block; }
.hero-h span:not(.vh) { display: block; }
.w1, .w2, .w3 { font-stretch: inherit; }

/* ---------- Hero ---------- */
.hero-roles { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s4); max-width: 58rem; font-family: var(--sans); font-weight: 500; font-stretch: 92%; font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-roles li { white-space: nowrap; }
#candidates .split > .h2 { grid-column: 1 / 8; }
@media (max-width: 900px) { #candidates .split > .h2 { grid-column: 1 / -1; } }

/* ---------- What we do ---------- */
.facts { margin-top: var(--block); }
.facts dd { margin-top: .6rem; font-family: var(--sans); font-weight: 500; font-size: var(--fs-body); line-height: 1.45; max-width: 18em; }
.stall { margin-top: var(--sec); }
.stall .h3 { margin-top: var(--s4); max-width: 18em; font-size: var(--fs-lede); }
.stall-list { border-top: 1px solid var(--line); max-width: var(--measure); }
.stall-list li { display: grid; grid-template-columns: 1.75rem 1fr; align-items: baseline; padding: .9rem 0 .85rem; border-bottom: 1px solid var(--line); font-style: italic; font-size: var(--fs-lede); line-height: 1.35; }
.x { width: 10px; height: 10px; color: var(--accent); align-self: center; }
.stall-fix { margin-top: var(--s5); font-family: var(--sans); font-weight: 600; font-size: var(--fs-lede); line-height: 1.25; letter-spacing: -.016em; }

/* ---------- Roles: the verbs narrow down the table ---------- */
.row-title.verb { font-stretch: inherit; }

/* ---------- Companies ---------- */
.stat-n { font-family: var(--display); font-weight: 600; font-stretch: 90%; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.025em; }
.stat .label { margin-top: var(--s3); }

/* ---------- People: two names, one treatment ---------- */
.signers { margin-top: var(--s6); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: var(--s6); border-top: 1px solid var(--line); }
.signer { padding-top: var(--s4); }
.signer-n { font-family: var(--display); font-weight: 600; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.026em; }
.sigline { position: relative; height: 1px; margin-top: var(--s4); color: var(--line); }
.signer .sigline { display: none; }
.band-ink .sigline { color: var(--line-on-ink); }
.sigline i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.signer-role { margin-top: var(--s2); color: var(--muted); }
@media (max-width: 720px) { .signers { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--block); }
.contact-h { font-family: var(--display); font-weight: 600; font-stretch: 104%; font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.028em; }
.contact-row { display: flex; align-items: center; gap: var(--s5) var(--s6); flex-wrap: wrap; margin-top: var(--s6); }
.contact-row .lede { max-width: 24em; }

/* ---------- Legal pages ---------- */
.doc { padding-top: calc(var(--nav-h) + var(--s7)); padding-bottom: var(--block); }

.doc-draft { margin-top: calc(-1 * var(--block) + var(--s3)); margin-bottom: var(--block); color: var(--muted-on-ink); }
.doc-body { border-top: 1px solid var(--line); }
.doc-body section { padding: var(--s5) 0 calc(var(--s5) + .2rem); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--gap); row-gap: var(--s3); }
.doc-body p { max-width: var(--measure); }
.todo { color: var(--muted); font-style: italic; }
@media (max-width: 720px) { .doc-body section { grid-template-columns: 1fr; } }

/* Dark bands */
.band-ink .signer-role { color: var(--on-ink); }
.band-ink .stat-n { color: var(--on-ink); }
.cta-row .label + .h3 { margin-top: 0; }
.cta-row .label { flex-basis: 100%; }

/* Serif on petrol: a touch heavier so it does not thin out */
.brand-cj .band-ink p:not(.label):not(.h3):not(.small) { font-weight: 450; }
.brand-cj .nav > .nav-group { display: none; }
.brand-cj .menu-foot .nav-group .un-logo { height: 1.25rem; }
.contact-row { justify-content: flex-start; }

/* ---------- Media (system components in /shared/system.css, section 11 of DESIGN_SYSTEM.md) ---------- */
/* The key figure: "5 weeks" at display size, the unit at h2 size on the same baseline */
.keyfig .stat-n { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .22em; font-stretch: 100%; line-height: 1; }
.keyfig .stat-num { font-size: clamp(5.5rem, 2.6rem + 7.4vw, 9.75rem); font-weight: 500; line-height: .8; letter-spacing: -.055em; }
.keyfig .stat-unit { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.025em; }
.keyfig .label { margin-top: var(--s4); }
/* For companies: text column (headline, key figure, quote) beside one tall photograph of a candidate, petrol to brass */
.co-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--block); }
.co-text { grid-column: 1 / 8; display: flex; flex-direction: column; gap: var(--block); }
.co-text .h2 { max-width: 13em; }
.co-img { grid-column: 9 / -1; aspect-ratio: auto; min-height: 30rem; --focus: 50% 30%; }
@media (max-width: 900px) {
  .co-text, .co-img { grid-column: 1 / -1; }
  .co-img { aspect-ratio: 4 / 5; min-height: 0; max-width: 26rem; --focus: 50% 30%; }
}


/* Brand tile (system component): the Apex Search mark in brass, quiet, beside the roles headline */
.band-ink .brand-tile { fill: rgb(212 185 140 / .09); --tile: clamp(10rem, 13vw, 12.5rem); }   /* a two-line headline: smaller, so the mark clears the section rule */


/* =============================================================
   APEX SEARCH: nachtblauw, wit en een accent in amber. Sora overal.
   Overschrijft de tokens van de oude laag; opbouw en teksten blijven.
   ============================================================= */
@font-face { font-family: "Sora"; src: url("/shared/fonts/sora-var.woff") format("woff"); font-weight: 100 800; font-style: normal; font-display: swap; }
.brand-apex {
  --paper: #F8FAFC; --paper-2: #E6E9EF; --ink: #0B0F17; --band: #0B0F17; --on-ink: #F8FAFC;
  --muted: #3F4957; --muted-on-ink: #BCC6D4;
  --line: rgba(11, 15, 23, .16); --line-on-ink: rgba(248, 250, 252, .2);
  --accent: #96560F; --accent-on-ink: #FFB15E; --amber: #FFB15E; --amber-deep: #E8922E;
  --veil: 11 15 23; --logo-acc: #E8922E;
  --display: "Sora", "Sans Fallback", Arial, sans-serif; --sans: "Sora", "Sans Fallback", Arial, sans-serif; --text: "Sora", "Sans Fallback", Arial, sans-serif;
  --display-weight: 600; --display-tracking: -.03em; --display-stretch: 100%;
}
.brand-apex body, body.brand-apex { font-weight: 350; }
.brand-apex .band-ink p:not(.label):not(.h3):not(.small) { font-weight: 300; }
.brand-apex .band-ink, .brand-apex .nav { --logo-acc: #FFB15E; }
/* Logo: het echte beeldmerk uit het pakket */
.logo-full { height: 2.5rem; width: auto; display: block; }
.foot-brand .logo-full { height: 2.9rem; }
@media (max-width: 720px) { .nav-logo .logo-full { height: 2.1rem; } }
/* Navigatie donker, zoals in het merkbord */
.brand-apex .nav { background: var(--band); color: var(--on-ink); border-bottom-color: var(--line-on-ink); --line: var(--line-on-ink); --muted: var(--muted-on-ink); --accent: var(--accent-on-ink); }
/* Knoppen: amber op donker */
.brand-apex .band-ink .btn { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.brand-apex .band-ink .btn:hover, .brand-apex .band-ink .btn:focus-visible { background: #FFC585; border-color: #FFC585; color: var(--ink); }
.brand-apex .btn:hover, .brand-apex .btn:focus-visible { background: var(--amber); border-color: var(--amber); color: var(--ink); }
/* De korte amber lijn opent elke sectie */
.brand-apex .sec-head .rule { height: 2px; width: 4rem; background: var(--amber-deep); }
.brand-apex .band-ink .sec-head .rule { background: var(--amber); }
/* Amber op het slot van de twee grote koppen */
.brand-apex .hero-h .w3, .brand-apex .contact-h .nw { color: var(--amber); }
.brand-apex .band-ink .brand-tile { color: rgb(248 250 252 / .06); fill: none; }
.brand-apex .keyfig .stat-num { font-weight: 600; letter-spacing: -.05em; }
.brand-apex .stall-list li { font-style: normal; }
.brand-apex .band-ink .brand-tile { right: 0; --tile: clamp(9rem, 11vw, 11rem); }
.brand-apex .nav .nav-cta { box-shadow: 0 1px 0 var(--amber); }

/* Kop: de film vult het hele eerste scherm, de tekst staat erop, onderaan */
.brand-apex .hero--media { min-height: min(100vh, 66rem); min-height: min(100svh, 66rem); justify-content: flex-end; }
.brand-apex .hero--media .media { position: absolute; inset: 0; height: 100%; min-height: 0; margin: 0; aspect-ratio: auto; flex: none; }
.brand-apex .hero--media .media img, .brand-apex .hero--media .media video { object-position: var(--focus, 60% 40%); }
.brand-apex .hero--media .veil { inset: 0; background:
  linear-gradient(to bottom, rgb(var(--veil) / .28) 0%, rgb(var(--veil) / 0) 16%, rgb(var(--veil) / 0) 50%, rgb(var(--veil) / .5) 74%, rgb(var(--veil) / .86) 100%); }
.brand-apex .hero--media .hero-wrap { padding-top: calc(var(--nav-h) + var(--s6)); padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.brand-apex .hero--media .hero-h { text-shadow: 0 1px 24px rgb(var(--veil) / .45); }
@media (max-width: 720px) { .brand-apex .hero--media .media img, .brand-apex .hero--media .media video { object-position: 50% 30%; } }

/* ---------- AFWISSELING (subtiel): gewichtscontrast in de koppen, kleine amber accenten ---------- */
.brand-apex .h2 { font-weight: 300; letter-spacing: -.03em; }
.brand-apex .h2 .nw { font-weight: 700; }
.brand-apex .hero-h { font-weight: 300; }
.brand-apex .hero-h .w3 { font-weight: 700; }
.brand-apex .contact-h { font-weight: 300; } .brand-apex .contact-h .nw { font-weight: 700; }
.brand-apex .hero-grid > * { min-width: 0; }
.brand-apex .facts dd { font-weight: 600; letter-spacing: -.01em; }
.brand-apex .cta-row .h3 { font-weight: 300; font-size: var(--fs-lede); padding-left: var(--s4); border-left: 2px solid var(--amber-deep); }
.brand-apex .roles-list .row-n { color: var(--amber); }
.brand-apex .roles-list .row-title { font-weight: 700; }
.brand-apex .roles-list .row-meta li { color: var(--muted-on-ink); }
.brand-apex #method .card .label b { color: var(--amber-deep); }
.brand-apex #method .card .h3 { font-weight: 700; }
.brand-apex .keyfig .stat-num { color: var(--amber); }
.brand-apex .quote blockquote { padding-left: var(--s4); border-left: 2px solid var(--amber); }
.brand-apex .quote figcaption { padding-left: var(--s4); }
.brand-apex .co-img { --focus: 50% 20%; }
.brand-apex .signer-n { font-weight: 700; }
.brand-apex .signer-role { color: var(--accent); }
