/* ESI concept v8: shared theme layer (loaded after each page's own styles).
   Per-page scheme: <html data-scheme="dark|light">. Header: clean strip-style wordmark (wide options retired to SUPERSEDED/round16-wide-wordmarks). */

/* ---------- schemes ---------- */
:root,html[data-scheme="dark"]{
  --ink:#141618; --ink2:#1a1d20; --panel:#202326; --bg-rgb:20,22,24;
  --line:rgba(242,244,246,.12); --line2:rgba(242,244,246,.24);
  --fg:#f2f4f6; --fg-rgb:242,244,246; --mute:#d5d9de; --dim:#b9bfc6;
  --acc:#ff5a2a; --acc-rgb:255,90,42; --acc-ink:#ffb393; --acc-ink-rgb:255,179,147; --acc-soft:rgba(255,90,42,.14);
  --sheet:#4a5058; color-scheme:dark;
}
html[data-scheme="light"]{
  --ink:#eef1f4; --ink2:#e3e7ec; --panel:#f8f9fb; --bg-rgb:238,241,244;
  --line:rgba(17,22,28,.13); --line2:rgba(17,22,28,.26);
  --fg:#11161c; --fg-rgb:17,22,28; --mute:#2c343e; --dim:#3b434e;
  --acc:#cc3d12; --acc-rgb:204,61,18; --acc-ink:#8a2707; --acc-ink-rgb:138,39,7; --acc-soft:rgba(204,61,18,.10);
  color-scheme:light;
}
html[data-scheme="light"] .pill.cta:hover{background:#2c343e}
.brand img{outline:0!important}

/* ---------- page transition sheet: one slate grey that sits between both schemes ---------- */
.pt{background:var(--sheet,#4a5058)!important}
html.pt-in body:after{background-color:#4a5058!important}

/* ---------- header: wordmark + menu in the page's own face (Geist), close to v6 but refined ----------
   ?hdr=1 Refined line (ships) . ?hdr=2 Stacked . ?hdr=3 Index caps. No extended faces, no ticks. */
/* option 1 lockup: mark 34px; name in one weight/colour; cap height (~.71em) set to ~50% of the mark, optically centred on it; gap = .4 x mark */
.brand{gap:14px;align-items:center}
.brand img{width:32px;height:32px}
.brand b.wm{display:flex;align-items:center;gap:.26em;font-family:inherit;font-weight:500;font-size:20px;line-height:1;padding-top:1px;letter-spacing:-.025em;color:rgba(var(--fg-rgb),.78);transition:color .25s;text-transform:none;font-synthesis:none;white-space:nowrap}
.brand b.wm span{display:inline;color:inherit;font-weight:inherit}
.brand b.wm .l2{color:inherit;font-weight:inherit}
.brand:hover b.wm,.brand:focus-visible b.wm{color:var(--fg)}
.links{gap:28px;margin-left:auto}
.links a{position:relative;font-family:inherit;font-size:14px;font-weight:450;letter-spacing:0;text-transform:none;color:var(--mute);transition:color .25s}
.links a:after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.links a:hover,.links a:focus-visible,.links a[aria-current]{color:var(--fg)}
.links a:hover:after,.links a:focus-visible:after,.links a[aria-current]:after{transform:scaleX(1)}
/* option 2: stacked; INTERNATIONAL in small, modestly tracked caps; block height matches the mark; active = small dot */
html.hdr2 .brand b.wm{display:grid;gap:3px;align-items:start;font-size:15px;padding-top:0}
html.hdr2 .brand b.wm .l2{color:var(--mute)}
html.hdr2 .brand b.wm .l2{font-size:10.5px;font-weight:450;letter-spacing:.14em;text-transform:uppercase}
html.hdr2 .links a[aria-current]:after{left:50%;right:auto;width:4px;height:4px;margin-left:-2px;bottom:-12px;border-radius:50%;transform:none}
/* option 3: index caps; menu echoes the strip numerals (small caps, modest tracking); hairline between mark and name */
html.hdr3 .brand{gap:14px}
html.hdr3 .brand b.wm{padding-left:14px;border-left:1px solid var(--line2);font-size:16px}
html.hdr3 .links a{font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
@media (max-width:1240px){ .links{gap:24px} }
@media (max-width:1340px){ .links{gap:22px} .links a{font-size:13.5px} }
@media (max-width:1180px){ .brand b.wm{font-size:18px} .brand img{width:30px;height:30px} }
@media (max-width:820px){ .brand{gap:10px} .brand img{width:28px;height:28px} .brand b.wm{font-size:15.5px;letter-spacing:-.018em} html.hdr2 .brand b.wm,html.hdr3 .brand b.wm{display:grid;gap:2px;font-size:14px;white-space:normal} html.hdr2 .brand b.wm span,html.hdr3 .brand b.wm span{display:block} html.hdr2 .brand b.wm .l2{font-size:9.5px} }
@media (max-width:370px){ .brand b.wm{font-size:14px} }
@media (prefers-reduced-motion:reduce){ .links a:after,.brand b.wm .l2{transition:none} }

@media (max-width:820px){.portals .pill.sp{font-size:0;gap:0;width:40px;height:40px;padding:0;justify-content:center}.portals .pill.sp i{width:9px;height:9px}.nav{gap:10px}}

/* ---------- page transition (slate sheet + ESI mark), reveals, fixed blurred header ---------- */
.pt{position:fixed;top:-12vh;bottom:-12vh;left:-16vw;width:132vw;z-index:1000;display:grid;place-items:center;
  transform:translateX(-118%) skewX(-5deg);transition:transform .36s cubic-bezier(.7,0,.3,1);pointer-events:all}
.pt img{width:46px;height:46px;transform:skewX(5deg);opacity:0;transition:opacity .16s .14s}
.pt.in,.pt.cover{transform:translateX(0) skewX(-5deg)}.pt.in img,.pt.cover img{opacity:1}
.pt.cover,.pt.cover img{transition:none}
.pt.out{transform:translateX(118%) skewX(-5deg);transition:transform .38s cubic-bezier(.7,0,.3,1)}.pt.out img{opacity:0;transition:opacity .1s}
html.pt-in body:after{content:'';position:fixed;inset:0;z-index:1000;background:#4a5058 url(logo.svg) center/46px no-repeat}
.rv{opacity:0;filter:blur(8px);transform:translateY(14px);transition:opacity .85s cubic-bezier(.22,1,.36,1),filter .85s cubic-bezier(.22,1,.36,1),transform .85s cubic-bezier(.22,1,.36,1)}
.rv.in{opacity:1;filter:none;transform:none}
.nav{-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);transition:background-color .3s,border-color .3s}
.nav:not(.sc){background:rgba(var(--bg-rgb),.7);border-bottom-color:transparent}
.nav.sc{background:rgba(var(--bg-rgb),.86);border-bottom-color:var(--line)}
@media (prefers-reduced-motion:reduce){.pt{display:none}.rv{opacity:1;filter:none;transform:none}}

/* ---------- below-the-fold readability: bright text, 18px/1.6, ~65ch, more space ---------- */
.discuss{background:var(--ink2);border-top:1px solid var(--line);padding:136px var(--edge) 144px}
.discuss .dw{max-width:1120px}
.discuss .eyebrow{margin-bottom:28px}
.discuss h2{font-weight:300;font-size:clamp(30px,3vw,44px);line-height:1.15;letter-spacing:-.02em;max-width:22ch;color:var(--fg)}
.discuss .dl{margin-top:24px;color:var(--fg);font-size:18px;line-height:1.6;max-width:60ch}
.discuss .dd{margin:64px 0 40px;grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr) minmax(0,1.2fr) minmax(0,.8fr)}
.discuss .dd>div{padding-top:24px}
.discuss dt{color:var(--dim);font-size:12px;margin-bottom:12px}
.discuss dd{font-size:18px;line-height:1.6;color:var(--fg)}
.discuss .dn{color:var(--mute);font-size:18px;line-height:1.6;margin-bottom:28px;max-width:60ch}
@media (max-width:820px){.discuss{padding:96px var(--edge) 104px}.discuss .dd{margin:44px 0 32px;grid-template-columns:1fr}.discuss .dd>div{padding:20px 0 18px!important;border-right:0!important;border-bottom:1px solid var(--line)}}

/* ---------- inner-page layout system (Adjudication model) ---------- */
.sec .hd .eyebrow,.sv>.eyebrow{margin-bottom:18px}
.sv .intro{color:var(--mute);font-size:18px;line-height:1.6;max-width:62ch;margin:-28px 0 48px}
.sv.c3 .svc{grid-template-columns:repeat(3,minmax(0,1fr))}
.sv.c3 .svc article,.sv.c3 .svc article:nth-child(2n){padding:36px 40px 44px 0;border-left:0;border-top:1px solid var(--line)}
.sv.c3 .svc article:not(:nth-child(3n+1)){padding-left:40px;border-left:1px solid var(--line)}
.svc h3 a{border-bottom:1px solid var(--line2)}.svc h3 a:hover{border-color:var(--acc)}
.ph .ctas{display:flex;flex-wrap:wrap;gap:12px 32px;margin-top:28px}
.ph .post{margin-top:22px;color:var(--mute);font-size:12px;letter-spacing:.12em}
.sec a.il,.sec h2 a{border-bottom:1px solid var(--line2);transition:border-color .2s}.sec a.il:hover,.sec h2 a:hover{border-color:var(--acc)}
.sec .sh{font-weight:450;font-size:20px;margin:40px 0 14px;color:var(--fg)}.sec .sh:first-child{margin-top:0}
.ls{list-style:none;border-top:1px solid var(--line);max-width:68ch}
.ls li{font-size:17px;line-height:1.55;color:var(--fg);padding:12px 0;border-bottom:1px solid var(--line)}
.links2{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px;font-size:12px}.links2 a{border-bottom:1px solid var(--line2);padding-bottom:3px}.links2 a:hover{border-color:var(--acc)}
.jur.j3{grid-template-columns:repeat(3,minmax(0,1fr))}
.go{color:var(--fg)}
@media (max-width:820px){ .sv.c3 .svc{grid-template-columns:1fr} .sv.c3 .svc article,.sv.c3 .svc article:not(:nth-child(3n+1)){padding:28px 0 32px;border-left:0} .jur.j3{grid-template-columns:1fr} .sv .intro{margin:-12px 0 28px} }
/* small accent labels use the high-contrast accent ink (>=7:1); large display accents keep --acc */
.index a.lit .n,.index a:hover .n,.rcard .rt{color:var(--acc-ink)!important}
/* ---- header font options (Neil 11:03pm): ?hdr=a geometric, ?hdr=b serif, ?hdr=c grotesk. Free OFL faces, subset to the wordmark letters. ---- */
@font-face{font-family:'ESI Wm A';src:url(fonts/hdr-Outfit.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'ESI Wm B';src:url(fonts/hdr-CormorantGaramond.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'ESI Wm C';src:url(fonts/hdr-SchibstedGrotesk.woff2) format('woff2');font-weight:600;font-display:swap}
html.hdra .brand b.wm{font-family:'ESI Wm A',sans-serif;font-weight:500;font-size:21px;letter-spacing:-.012em;padding-top:0;gap:.24em}
html.hdrb .brand b.wm{font-family:'ESI Wm B',Georgia,serif;font-weight:600;font-size:24.5px;letter-spacing:.005em;padding-top:2px;gap:.22em}
html.hdrc .brand b.wm{font-family:'ESI Wm C',sans-serif;font-weight:600;font-size:20px;letter-spacing:-.03em;padding-top:1px;gap:.24em}
@media (max-width:1180px){html.hdra .brand b.wm{font-size:19px}html.hdrb .brand b.wm{font-size:22px}html.hdrc .brand b.wm{font-size:18px}}
@media (max-width:820px){html.hdra .brand b.wm{font-size:16px}html.hdrb .brand b.wm{font-size:18.5px}html.hdrc .brand b.wm{font-size:15.5px}}
@media (max-width:370px){html.hdra .brand b.wm{font-size:14.5px}html.hdrb .brand b.wm{font-size:16.5px}html.hdrc .brand b.wm{font-size:14px}}
/* Neil 11:10pm: option C chosen for the logo words only (menu and page text stay Geist). Two-tone: 'Expert Services' ~89% white, 'International' ~58%. */
html.hdrc .brand b.wm .l1{color:rgba(var(--fg-rgb),.89);transition:color .25s}
html.hdrc .brand b.wm .l2{color:rgba(var(--fg-rgb),.58);transition:color .25s}
html.hdrc .brand:hover b.wm .l1,html.hdrc .brand:hover b.wm .l2,html.hdrc .brand:focus-visible b.wm .l1,html.hdrc .brand:focus-visible b.wm .l2{color:var(--fg)}
html[data-scheme="light"].hdrc .brand b.wm .l2{color:rgba(var(--fg-rgb),.64)} /* AA on light pages: .58 gave 4.28:1 */
/* Neil 11:24pm: Outfit 500 (option A) is the default logo face; same two-tone as C. */
html.hdra .brand b.wm .l1{color:rgba(var(--fg-rgb),.89);transition:color .25s}
html.hdra .brand b.wm .l2{color:rgba(var(--fg-rgb),.58);transition:color .25s}
html[data-scheme="light"].hdra .brand b.wm .l2{color:rgba(var(--fg-rgb),.64)}
html.hdra .brand:hover b.wm .l1,html.hdra .brand:hover b.wm .l2,html.hdra .brand:focus-visible b.wm .l1,html.hdra .brand:focus-visible b.wm .l2{color:var(--fg)}
@media (max-width:820px){html.hdra .brand b.wm{position:relative;top:-.9px}} /* optical: cap centre on the mark centre on phones */
/* Neil 11:33pm: three premium finals. d = neo-grotesk, e = Franklin (classic professional), f = serif. Two-tone; INTERNATIONAL as tracked small caps. */
@font-face{font-family:'ESI Wm D';src:url(fonts/hdr-InstrumentSans.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'ESI Wm E';src:url(fonts/hdr-LibreFranklin.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'ESI Wm F';src:url(fonts/hdr-SourceSerif4.woff2) format('woff2');font-weight:600;font-display:swap}
html.hdrd .brand b.wm{font-family:'ESI Wm D',sans-serif;font-weight:500;font-size:20.5px;letter-spacing:-.018em;gap:.42em;padding-top:0}
html.hdre .brand b.wm{font-family:'ESI Wm E',sans-serif;font-weight:500;font-size:20px;letter-spacing:-.012em;gap:.44em;padding-top:0}
html.hdrf .brand b.wm{font-family:'ESI Wm F',Georgia,serif;font-weight:600;font-size:21.5px;letter-spacing:-.004em;gap:.44em;padding-top:1px}
/* Neil 11:36pm: one face, one size, one baseline; only the colour differs */
html.hdrd .brand b.wm,html.hdre .brand b.wm,html.hdrf .brand b.wm{gap:.26em;align-items:baseline}
html.hdrd .brand b.wm .l2,html.hdre .brand b.wm .l2,html.hdrf .brand b.wm .l2{text-transform:none;font-size:inherit;letter-spacing:inherit;font-weight:inherit;margin:0}
html.hdrd .brand b.wm .l1,html.hdre .brand b.wm .l1,html.hdrf .brand b.wm .l1{color:rgba(var(--fg-rgb),.89);transition:color .25s}
html.hdrd .brand b.wm .l2,html.hdre .brand b.wm .l2,html.hdrf .brand b.wm .l2{color:rgba(var(--fg-rgb),.58);transition:color .25s}
html[data-scheme="light"].hdrd .brand b.wm .l2,html[data-scheme="light"].hdre .brand b.wm .l2,html[data-scheme="light"].hdrf .brand b.wm .l2{color:rgba(var(--fg-rgb),.64)}
html.hdrd .brand:hover b.wm span,html.hdre .brand:hover b.wm span,html.hdrf .brand:hover b.wm span{color:var(--fg)}
@media (max-width:1180px){html.hdrd .brand b.wm{font-size:19px}html.hdre .brand b.wm{font-size:18.5px}html.hdrf .brand b.wm{font-size:20px}}
@media (max-width:820px){html.hdrd .brand b.wm{font-size:16px}html.hdre .brand b.wm{font-size:15.5px}html.hdrf .brand b.wm{font-size:16.5px}}
@media (max-width:370px){html.hdrd .brand b.wm{font-size:14.5px}html.hdre .brand b.wm{font-size:14px}html.hdrf .brand b.wm{font-size:15px}}
/* Neil 11:40pm: L (Libre Franklin 500, ?hdr=e) chosen; whole wordmark +6% */
html.hdre .brand b.wm{font-size:21.2px}
@media (max-width:1180px){html.hdre .brand b.wm{font-size:19.6px}}
@media (max-width:820px){html.hdre .brand b.wm{font-size:16.4px}}
@media (max-width:370px){html.hdre .brand b.wm{font-size:14.8px}}
html.hdre .brand b.wm{position:relative;top:.5px}@media (max-width:820px){html.hdre .brand b.wm{top:.75px}} /* optical: cap centre on mark centre */
html.hdre .brand b.wm{letter-spacing:.003em;top:1px} /* Neil 11:41pm: a touch wider (+0.015em) */ @media (max-width:820px){html.hdre .brand b.wm{top:.75px}}
@media (max-width:820px){html.hdre .brand b.wm{font-size:16px}.portals .pill.sp,.burger{width:36px!important;height:36px!important}} @media (max-width:370px){html.hdre .brand b.wm{font-size:14.4px}} /* phone: keep a clear gap before the buttons */
@media (max-width:820px){html.hdre .brand b.wm{font-size:min(16px,calc((100vw - 170px) / 13.75))}} @media (max-width:370px){html.hdre .brand b.wm{font-size:min(16px,calc((100vw - 170px) / 13.75))}} /* scales so a 10px gap is kept down to 360px */
