/* ==========================================================================
   SponsorTalent site design system (Oct 2026)
   One light, editorial look for every public page: warm grey ground, white
   surfaces, ink text, one red accent, Archivo, square corners.
   Shared header/footer markup comes from site-chrome.js.
   ========================================================================== */

:root {
  --st-bg: #f3f2f2;
  --st-surface: #ffffff;
  --st-surface-2: #eae9e9;
  --st-ink: #1a1a1a;
  --st-ink-2: #3a3735;
  --st-muted: #5f5b59;
  --st-faint: #8a8583;
  --st-line: #d7d3d3;
  --st-line-strong: color-mix(in srgb, #201e1d 40%, transparent);
  --st-accent: #ec3013;
  --st-accent-600: #dd2b0f;
  --st-accent-700: #ae1800;
  --st-accent-800: #7c1405;
  --st-accent-100: #fff2ef;
  --st-green: #1b7a43;
  --st-green-100: #edf7f0;
  --st-amber: #8a5300;
  --st-amber-100: #fff7e6;
  --st-danger: #b3261e;
  --st-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --st-wrap: 1240px;
  --st-gutter: clamp(16px, 5vw, 72px);
  --st-radius: 0px;

  /* aliases used by the home page and older markup */
  --color-bg: var(--st-bg);
  --color-surface: var(--st-surface-2);
  --color-text: #201e1d;
  --color-accent: var(--st-accent);
  --color-accent-600: var(--st-accent-600);
  --color-accent-700: var(--st-accent-700);
  --color-accent-100: var(--st-accent-100);
  --color-accent-800: var(--st-accent-800);
  --color-divider: var(--st-line-strong);
  --color-neutral-300: var(--st-line);
  --font-heading: var(--st-font);
  --font-body: var(--st-font);
  --radius-md: 0px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--st-bg); color: var(--st-ink);
  font-family: var(--st-font); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--st-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--st-accent); }
:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--st-accent) 28%, transparent); }
h1, h2, h3, h4, h5 { font-family: var(--st-font); font-weight: 800; color: var(--st-ink); line-height: 1.15; letter-spacing: -0.015em; }
hr { border: 0; height: 2px; background: var(--st-line-strong); margin: 0; }

/* ---------- typography helpers ---------- */
.st-h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; }
.st-h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.st-h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.st-lede { font-size: 18px; line-height: 1.6; max-width: 62ch; color: var(--st-ink-2); margin: 0 0 24px; }
.st-kicker { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-accent-700); margin: 0 0 12px; font-weight: 600; }
.st-muted { color: var(--st-muted); }
.st-small { font-size: 14px; }
.st-prose { max-width: 72ch; }
.st-prose p, .st-prose li { font-size: 16.5px; line-height: 1.7; color: var(--st-ink-2); }
.st-prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 44px 0 14px; padding-top: 20px; border-top: 2px solid var(--st-line-strong); }
.st-prose h3 { font-size: 19px; margin: 28px 0 10px; }
.st-prose ul, .st-prose ol { padding-left: 1.3em; }

/* ---------- layout ---------- */
.st-wrap { max-width: var(--st-wrap); margin: 0 auto; padding-inline: var(--st-gutter); }
.st-narrow { max-width: 880px; margin: 0 auto; padding-inline: var(--st-gutter); }
.st-section { padding-block: clamp(40px, 6vw, 72px); }
.st-section + .st-section { border-top: 2px solid var(--st-line-strong); }
.st-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.st-grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.st-stack > * + * { margin-top: 16px; }
.st-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- buttons ---------- */
.st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--st-font); font-weight: 800; font-size: 15px; line-height: 1.2; text-decoration: none;
  padding: 13px 20px; border: 2px solid transparent; border-radius: 0; background: transparent; color: var(--st-ink);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease; min-height: 46px;
}
.st-btn:hover { text-decoration: none; }
.st-btn-primary { background: var(--st-accent); color: #fff; }
.st-btn-primary:hover { background: var(--st-accent-600); color: #fff; }
.st-btn-primary:active { background: var(--st-accent-700); }
.st-btn-secondary { border-color: var(--st-ink); color: var(--st-ink); background: transparent; }
.st-btn-secondary:hover { background: var(--st-ink); color: #fff; }
.st-btn-ghost { color: var(--st-accent-700); padding-inline: 0; min-height: 0; }
.st-btn-ghost:hover { color: var(--st-accent); text-decoration: underline; }
.st-btn-block { display: flex; width: 100%; }
.st-btn[disabled], .st-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* ---------- cards ---------- */
.st-card { background: var(--st-surface); border: 1px solid var(--st-line); padding: clamp(18px, 2.4vw, 28px); }
.st-card-accent { border-top: 4px solid var(--st-accent); }
.st-card h3 { margin: 0 0 8px; font-size: 19px; }
.st-card p { margin: 0 0 12px; color: var(--st-ink-2); }
.st-card p:last-child { margin-bottom: 0; }
a.st-card { display: block; text-decoration: none; color: inherit; transition: border-color 140ms ease; }
a.st-card:hover { border-color: var(--st-ink); }
.st-price { font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; line-height: 1; margin: 6px 0 4px; }
.st-price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--st-muted); }
.st-callout { background: var(--st-surface); border-left: 4px solid var(--st-accent); padding: 16px 20px; margin: 20px 0; }
.st-callout-ok { border-left-color: var(--st-green); }
.st-callout-warn { border-left-color: #c98a1b; background: var(--st-amber-100); }
.st-poster { background: var(--st-accent); color: #fff; }
.st-poster h2, .st-poster h3, .st-poster p { color: #fff; }
.st-poster a:not(.st-btn) { color: #fff; }
.st-poster .st-btn-secondary { border-color: #fff; color: #fff; }
.st-poster .st-btn-secondary:hover { background: #fff; color: var(--st-accent-700); }

/* ---------- chips & badges ---------- */
.st-chip, .st-badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--st-font); font-weight: 800;
  font-size: 11px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 8px; border: 1px solid var(--st-ink); color: var(--st-ink); background: transparent; border-radius: 0; white-space: nowrap;
}
.st-badge-detailed { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
.st-badge-verified { background: var(--st-green); color: #fff; border-color: var(--st-green); }
.st-badge-priority { background: var(--st-accent-100); color: var(--st-accent-700); border-color: var(--st-accent-700); }
.st-badge-featured { background: var(--st-accent); color: #fff; border-color: var(--st-accent); }
.st-badge-onshore { color: var(--st-green); border-color: var(--st-green); }
.st-chip-soft { border-color: var(--st-line); color: var(--st-ink-2); font-weight: 600; letter-spacing: .04em; }

/* ---------- tables ---------- */
.st-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; border-top: 2px solid var(--st-line-strong); }
.st-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.st-table th { text-align: left; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-muted); padding: 12px 14px 12px 0; border-bottom: 2px solid var(--st-line-strong); }
.st-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--st-line); vertical-align: top; }

/* ---------- forms ---------- */
.st-form { display: grid; gap: 16px; }
.st-label, .st-form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; color: var(--st-ink); }
.st-input, .st-form input[type=text], .st-form input[type=email], .st-form input[type=tel], .st-form input[type=number], .st-form input[type=url], .st-form input[type=password], .st-form select, .st-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--st-ink); background: var(--st-surface);
  border: 1px solid var(--st-line-strong); border-radius: 0; padding: 12px 14px; min-height: 46px;
}
.st-input:focus, .st-form input:focus, .st-form select:focus, .st-form textarea:focus { outline: 2px solid var(--st-accent); outline-offset: 0; border-color: var(--st-accent); }
.st-help { font-size: 13px; color: var(--st-muted); margin-top: 6px; }
.st-error { color: var(--st-danger); font-size: 14px; }

/* ---------- FAQ ---------- */
.st-faq { border-top: 2px solid var(--st-line-strong); }
.st-faq details { border-bottom: 1px solid var(--st-line); padding: 0; }
.st-faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; padding: 18px 36px 18px 0; position: relative; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--st-accent); }
.st-faq details[open] summary::after { content: "\2013"; }
.st-faq details > *:not(summary) { margin: 0 0 18px; color: var(--st-ink-2); max-width: 72ch; }

/* ---------- breadcrumbs ---------- */
.st-crumbs { font-size: 13px; letter-spacing: .02em; color: var(--st-muted); margin: 0 0 18px; }
.st-crumbs a { color: var(--st-muted); }
.st-crumbs a:hover { color: var(--st-accent); }
.st-crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- page hero ---------- */
.st-hero { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 2px solid var(--st-line-strong); }
.st-hero .st-lede { margin-bottom: 28px; }

/* ==========================================================================
   Shared header (site-chrome.js)
   ========================================================================== */
.st-family { background: var(--st-ink); color: #cfcac8; font: 12px/18px var(--st-font); }
.st-family .st-wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-block: 6px; }
.st-family a { color: #cfcac8; text-decoration: none; white-space: nowrap; }
.st-family a:hover { color: #fff; }
.st-family a[aria-current] { color: #fff; font-weight: 700; }
.st-family .st-family-me { margin-left: auto; }
@media (max-width: 640px) { .st-family .st-family-me { display: none; } }

.st-head { position: sticky; top: 0; z-index: 50; background: var(--st-bg); border-bottom: 2px solid var(--st-line-strong); }
.st-head::after { content: ""; display: block; height: 3px; background: var(--st-accent); }
.st-head-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.st-brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--st-ink); margin-right: auto; }
.st-brand:hover { color: var(--st-ink); text-decoration: none; }
.st-brand b { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.st-brand small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); }
.st-nav { display: flex; align-items: center; gap: 18px; }
.st-nav a { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--st-ink); text-decoration: none; white-space: nowrap; }
.st-nav a:hover, .st-nav a[aria-current="page"] { color: var(--st-accent); }
.st-nav .st-signin { text-transform: none; letter-spacing: 0; font-size: 14px; }
.st-nav .st-btn { min-height: 40px; padding: 9px 16px; font-size: 14px; letter-spacing: 0; text-transform: none; color: #fff; }
.st-menu { display: none; }
.st-menu > summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border: 2px solid var(--st-ink); padding: 8px 12px; }
.st-menu > summary::-webkit-details-marker { display: none; }
@media (max-width: 1060px) {
  .st-nav { display: none; }
  .st-menu { display: block; }
  .st-head-cta { display: inline-flex; }
  .st-menu[open] .st-menu-panel { display: grid; }
}
@media (min-width: 1061px) { .st-head-cta { display: none !important; } }
.st-head-cta { min-height: 40px; padding: 9px 14px; font-size: 14px; }
.st-menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--st-bg); border-bottom: 2px solid var(--st-line-strong); padding: 8px var(--st-gutter) 20px; gap: 0; box-shadow: 0 12px 24px rgba(26,26,26,.08); }
.st-menu-panel a { display: block; padding: 13px 0; border-bottom: 1px solid var(--st-line); font-weight: 800; font-size: 16px; color: var(--st-ink); text-decoration: none; }
.st-menu-panel a:hover { color: var(--st-accent); }
.st-menu-panel a:last-child { border-bottom: 0; }
@media (max-width: 400px) { .st-brand small { display: none; } }

/* ==========================================================================
   Shared footer
   ========================================================================== */
.st-founder { background: var(--st-surface); border-top: 2px solid var(--st-line-strong); }
.st-founder .st-wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-block: 26px; }
.st-founder img { width: 72px; height: 72px; object-fit: cover; filter: grayscale(1) contrast(1.08); flex: none; }
.st-founder-text { flex: 1 1 420px; min-width: 0; }
.st-founder-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); margin: 0 0 4px; }
.st-founder-h { font-weight: 800; font-size: 17px; margin: 0; }
.st-founder-h a { color: inherit; }
.st-founder-p { font-size: 14px; color: var(--st-ink-2); margin: 4px 0 0; }
.st-founder-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.st-founder-cta .st-btn { min-height: 40px; padding: 9px 14px; font-size: 14px; }

.st-foot { background: var(--st-bg); border-top: 2px solid var(--st-line-strong); padding-block: 48px 56px; font-size: 14px; }
.st-foot-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); padding-bottom: 32px; border-bottom: 2px solid var(--st-line-strong); }
@media (max-width: 900px) { .st-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-foot-brand { grid-column: 1 / -1; } }
.st-foot-h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; color: var(--st-ink); }
.st-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-foot a { color: var(--st-ink); text-decoration: none; }
.st-foot a:hover { color: var(--st-accent); text-decoration: underline; }
.st-foot-brand b { font-weight: 800; font-size: 19px; display: block; margin-bottom: 8px; }
.st-foot-brand p { margin: 0 0 8px; color: var(--st-muted); font-size: 13px; line-height: 1.6; }
.st-legal { font-size: 12px; line-height: 1.65; color: var(--st-muted); margin: 24px 0 0; max-width: 100ch; }
.st-legal + .st-legal { margin-top: 8px; }

/* ==========================================================================
   Candidate directory cards (candidates.html + candidateCardSsrHtml)
   ========================================================================== */
.st-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 13px; color: var(--st-muted); margin: 0 0 18px; }
.st-legend span.st-legend-item { display: inline-flex; gap: 8px; align-items: center; }

/* ==========================================================================
   Legacy compatibility layer.
   Pages that predate the redesign keep their own class names and inline
   styles; their colours are remapped to this palette (site-theme.js) and the
   body gets class "st-legacy". These rules settle the common leftovers.
   ========================================================================== */
body.st-legacy { font-family: var(--st-font); background: var(--st-bg); color: var(--st-ink); }
.st-legacy h1, .st-legacy h2, .st-legacy h3, .st-legacy h4 { font-family: var(--st-font); font-weight: 800; letter-spacing: -0.015em; }
.st-legacy h1 { line-height: 1.1; }
.st-legacy button, .st-legacy input, .st-legacy select, .st-legacy textarea { font-family: var(--st-font); }
.st-legacy input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), .st-legacy select, .st-legacy textarea { border-radius: 0; }
.st-legacy table { max-width: 100%; }
.st-legacy .st-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.st-legacy pre { overflow-x: auto; max-width: 100%; }
.st-legacy img { max-width: 100%; }
/* phones: no horizontal page scroll, tables scroll inside their own box */
@media (max-width: 700px) {
  .st-legacy main table, .st-legacy .container table, .st-legacy article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .st-legacy [style*="grid-template-columns"]:not(.st-keep-grid) { grid-template-columns: 1fr !important; }
}
.st-legacy .container, .st-legacy .hero-inner { max-width: 960px; }
.st-legacy .hero { border-bottom: 2px solid var(--st-line-strong); }
.st-legacy .breadcrumb { font-size: 13px; color: var(--st-muted); }
.st-legacy .breadcrumb a { color: var(--st-muted); }
.st-legacy .cta-section, .st-legacy .cta-box { border-radius: 0; }
.st-legacy .cta-section h2, .st-legacy .cta-box h2, .st-legacy .cta-section p, .st-legacy .cta-box p { color: #fff; }
.st-legacy .cta-btn { background: #fff; color: var(--st-accent-700); border-radius: 0; }
.st-legacy .cta-btn:hover { background: var(--st-ink); color: #fff; box-shadow: none; transform: none; }
.st-legacy .info-box, .st-legacy .callout { border-radius: 0; }
.st-legacy th { color: var(--st-ink); }
.st-legacy .toc { background: var(--st-surface); border: 1px solid var(--st-line); }

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .st-btn { width: auto; }
  .st-hero .st-row .st-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Chrome isolation: legacy pages style bare nav/footer/header/p/ul/a.
   These resets keep the shared header and footer identical everywhere.
   ========================================================================== */
header.st-head, footer.st-foot, aside.st-founder, div.st-family, #st-book-bar { font-family: var(--st-font); text-align: left; margin: 0; box-shadow: none; border-radius: 0; }
header.st-head { background: var(--st-bg); padding: 0; border: 0; border-bottom: 2px solid var(--st-line-strong); position: sticky; top: 0; z-index: 50; }
header.st-head nav.st-nav { background: transparent; border: 0; padding: 0; margin: 0; position: static; box-shadow: none; width: auto; height: auto; }
header.st-head .st-wrap, footer.st-foot .st-wrap, aside.st-founder .st-wrap, div.st-family .st-wrap { max-width: var(--st-wrap); margin: 0 auto; padding-inline: var(--st-gutter); }
header.st-head a { text-decoration: none; transition: color 140ms ease; }
header.st-head .st-nav a:not(.st-btn) { color: var(--st-ink); font-size: 13px; padding: 0; background: none; border: 0; }
header.st-head .st-nav a.st-signin { font-size: 14px; }
header.st-head .st-nav a:not(.st-btn):hover, header.st-head .st-nav a[aria-current="page"] { color: var(--st-accent); }
header.st-head a.st-btn, header.st-head a.st-btn:hover { color: #fff; }
header.st-head .st-brand b { color: var(--st-ink); }
header.st-head .st-menu-panel a { color: var(--st-ink); font-size: 16px; }
header.st-head .st-menu > summary { color: var(--st-ink); background: transparent; }
footer.st-foot { background: var(--st-bg); color: var(--st-ink); border: 0; border-top: 2px solid var(--st-line-strong); padding: 48px 0 56px; font-size: 14px; line-height: 1.55; }
footer.st-foot p { color: var(--st-muted); margin: 0 0 8px; font-size: 13px; }
footer.st-foot p.st-foot-h { color: var(--st-ink); font-size: 12px; margin: 0 0 12px; }
footer.st-foot p.st-legal { font-size: 12px; margin: 24px 0 0; }
footer.st-foot p.st-legal + p.st-legal { margin-top: 8px; }
footer.st-foot ul { list-style: none; margin: 0; padding: 0; color: inherit; }
footer.st-foot li { margin: 0; padding: 0; border: 0; color: inherit; }
footer.st-foot a { color: var(--st-ink); text-decoration: none; }
footer.st-foot a:hover { color: var(--st-accent); text-decoration: underline; }
footer.st-foot .st-foot-brand b { color: var(--st-ink); }
aside.st-founder { background: var(--st-surface); color: var(--st-ink); padding: 0; border: 0; border-top: 2px solid var(--st-line-strong); }
aside.st-founder p { margin: 0; }
aside.st-founder p.st-founder-k { color: var(--st-muted); margin-bottom: 4px; }
aside.st-founder p.st-founder-h { color: var(--st-ink); }
aside.st-founder p.st-founder-p { color: var(--st-ink-2); margin-top: 4px; }
aside.st-founder a.st-btn-secondary { color: var(--st-ink); }
aside.st-founder a.st-btn-secondary:hover, aside.st-founder a.st-btn-primary { color: #fff; }

/* ---------- phone tidy-ups for the chrome ---------- */
.st-head .st-btn, .st-head-cta { white-space: nowrap; }
@media (max-width: 640px) {
  div.st-family .st-wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 10px; }
  div.st-family .st-wrap::-webkit-scrollbar { display: none; }
  #st-book-bar { font-size: 12px !important; padding: 6px 12px !important; }
  #st-book-bar .st-bb-long { display: none; }
  .st-head-row { gap: 10px; min-height: 58px; }
  .st-brand b { font-size: 19px; }
}
