/* =========================================================
   ELILJO ADVISORY — design system
   Direction: Editorial Swiss with quiet authority
   ========================================================= */

/* ---------- 0. Font: Manrope (SIL Open Font License, see fonts/OFL.txt), self-hosted ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --navy: #102A43;
  --navy-deep: #0B1F33;
  --slate: #334E68;
  --gold: #C5A253;           /* accent: rules, icons, buttons on navy. Never text on white (2.4:1) */
  --gold-text: #8A6D2F;      /* gold for text/links on white (4.9:1) */
  --grey-warm: #F4F6F8;
  --white: #FFFFFF;
  --text: #243447;
  --text-muted: #62748A;     /* white backgrounds only for small text */
  --text-on-dark: #E6ECF2;
  --text-on-dark-muted: #9FB3C8;
  --line: #DCE3EA;
  --line-dark: rgba(159, 179, 200, .22);
  --error: #B42318;
  --error-on-dark: #FDA29B;

  /* Type */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2vw, 2.875rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.3vw, 4.125rem);

  /* Space (spacious scale) */
  --s-1: .5rem;  --s-2: .75rem; --s-3: 1rem;  --s-4: 1.5rem;
  --s-5: 2rem;   --s-6: 3rem;   --s-7: 4rem;  --s-8: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1rem, .5rem + 3vw, 3rem);
  --max: 1200px;

  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-med: 350ms;
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--navy); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible { outline-color: var(--gold); }
strong { font-weight: 600; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .75rem 1rem; background: var(--navy); color: var(--white); }
.skip-link:focus { top: 1rem; color: var(--white); }

.icon { width: 40px; height: 40px; color: var(--navy); flex: none; }
.icon-lg { width: 52px; height: 52px; }
.icon-xs { width: 18px; height: 18px; }
.icon-needle { fill: var(--gold); }

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem;
  margin-bottom: var(--s-4);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate);
}
.eyebrow-num { color: var(--gold-text); }
.eyebrow-num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: .75rem; vertical-align: middle; background: currentColor; }
.eyebrow-light { color: var(--text-on-dark-muted); }
.eyebrow-light .eyebrow-num { color: var(--gold); }
.eyebrow-brand { color: var(--gold); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--slate); max-width: 46rem; }
.prose { max-width: 40rem; }
.placeholder { padding: .1em .4em; border: 1px dashed currentColor; border-radius: 2px; font-size: .92em; opacity: .85; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .6rem 1.1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #D4B56C; color: var(--navy-deep); }
.btn-ghost-light { border-color: rgba(230, 236, 242, .45); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 51, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: auto; height: 40px; }
.brand-word { display: flex; align-items: baseline; gap: .4em; line-height: 1; white-space: nowrap; }
.brand-name { font-weight: 700; font-size: 1.125rem; letter-spacing: .14em; }
.brand-sub { font-weight: 500; font-size: .8125rem; letter-spacing: .22em; color: var(--slate); }

.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.nav-list { display: flex; gap: var(--s-4); list-style: none; }
.nav-list a {
  position: relative; display: inline-block; padding: .5rem 0;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text); text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--navy); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  border: 0; background: none; cursor: pointer; color: var(--navy);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; margin: auto; background: currentColor;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: var(--s-5);
    padding: var(--s-5) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 1rem 0; font-size: 1.375rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-cta { min-height: 52px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 6. Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--grey-warm); }
.section-dark { background: var(--navy); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: var(--text-on-dark-muted); }
.section-dark a:not(.btn) { color: var(--white); }
.section-head { max-width: 50rem; margin-bottom: var(--s-7); }
.section-head h2 { margin-bottom: var(--s-4); }

/* Scroll reveal: only when JS is running and motion is allowed */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(4rem, 2rem + 6vw, 8rem);
  background:
    radial-gradient(60rem 40rem at 85% 30%, rgba(51, 78, 104, .55), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: var(--s-7); }
.hero-title { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.03em; margin-bottom: var(--s-5); }
.hero-title span { display: block; }
.hero-title .accent { color: var(--gold); }
.hero-lead { margin-bottom: var(--s-5); max-width: 36rem; color: var(--text-on-dark); }
.hero-support {
  margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-muted);
  max-width: 36rem;
}
.hero-visual { position: relative; }

/* Compass dial */
.dial { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin-inline: auto; }
.dial-bezel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-ring { fill: none; stroke: rgba(230, 236, 242, .22); stroke-width: 1; }
.bezel { transform-box: view-box; transform-origin: 200px 200px; }
.ticks-minor { fill: none; stroke: var(--text-on-dark-muted); stroke-width: 8; stroke-dasharray: .5 4.5; stroke-dashoffset: .25; opacity: .55; }
.ticks-major { fill: none; stroke: var(--gold); stroke-width: 16; stroke-dasharray: 1.6 88.4; stroke-dashoffset: .8; }
.north { fill: var(--gold); }
.dial-face {
  position: absolute; inset: 6%;
  display: grid; place-items: center;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(197, 162, 83, .35), 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.dial-face img { width: 100%; height: auto; }

/* Load animation: bezel swings and settles to north; face fades in. Only when JS runs. */
.js .dial .bezel { transition: transform 2.6s cubic-bezier(.3, 1.25, .45, 1) .25s; }
.js .dial .dial-face { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .dial:not(.is-settled) .bezel { transform: rotate(-70deg); }
.js .dial:not(.is-settled) .dial-face { opacity: 0; transform: scale(.96); }

/* ---------- 8. Challenge ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; margin-bottom: var(--s-7); }
.split-head h2 { max-width: 30rem; }
.split-body { font-size: 1.125rem; color: var(--text); padding-top: 2.4rem; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); list-style: none; }
.challenge-item { padding-top: var(--s-4); border-top: 2px solid var(--navy); }
.challenge-item .icon { margin-bottom: var(--s-4); }
.challenge-item h3 { margin-bottom: var(--s-2); }
.challenge-item p { color: var(--slate); }

/* ---------- 9. Philosophy pillars ---------- */
.philosophy { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.pillars { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); list-style: none; }
.pillars::before {
  content: ""; position: absolute; top: 44px; left: 44px; right: calc((100% - 2 * var(--s-6)) / 3 - 44px);
  height: 1px; background: var(--gold);
  transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
.js .pillars:not(.is-visible)::before { transform: scaleX(0); }
.pillar { position: relative; }
.pillar-node {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: var(--s-5);
  background: var(--navy-deep); border: 1px solid var(--line-dark); border-radius: 50%;
}
.pillar-node .icon { color: var(--white); }
.pillar-step { margin-bottom: var(--s-1); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { margin-bottom: var(--s-3); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.pillar p:last-child { color: var(--text-on-dark-muted); max-width: 22rem; }
.js .pillar { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .pillars.is-visible .pillar { opacity: 1; transform: none; }
.js .pillars.is-visible .pillar:nth-child(2) { transition-delay: .35s; }
.js .pillars.is-visible .pillar:nth-child(3) { transition-delay: .7s; }

/* ---------- 10. Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
/* Closed: cards in a row share one height (extra white space falls at the bottom).
   Once a dropdown is open, cards size to their own content so a neighbour never shows an empty gap. */
.services:has(.service-more[open]) { align-items: start; }
.service {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.service:hover { border-color: #C9D3DD; box-shadow: 0 18px 40px -30px rgba(11, 31, 51, .45); }
.service-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }
.service-num { font-size: 2.5rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--gold); }
.pillar-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
}
.pillar-tag .icon { color: var(--slate); }
.service h3 { margin-bottom: var(--s-3); font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); }
.service-intro { color: var(--text); }
.service-challenge { color: var(--slate); font-size: var(--fs-sm); }
.service-challenge strong { color: var(--navy); }
.service-more { margin-top: var(--s-2); border-top: 1px solid var(--line); }
.service-more summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy); cursor: pointer; list-style: none;
}
.service-more summary::-webkit-details-marker { display: none; }
.service-more summary::after {
  content: ""; width: 10px; height: 10px; margin-right: 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform var(--t-med) var(--ease);
}
.service-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.service-more summary:hover { color: var(--gold-text); }
.service-more ul { padding: 0 0 var(--s-3) 1.1rem; font-size: var(--fs-sm); color: var(--text); }
.service-more li { padding-block: .2rem; }
.service-more li::marker { color: var(--gold-text); }
.service-outcome {
  padding-top: var(--s-4); border-top: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 500; color: var(--navy);
}
.service-more + .service-outcome { border-top: 1px solid var(--line); }
.service-outcome span { display: block; margin-bottom: .25rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* ---------- 11. Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.model {
  display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: var(--s-3);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius);
  background: var(--white);
}
@supports not (grid-template-rows: subgrid) { .model { display: flex; flex-direction: column; gap: var(--s-3); } }
.model-tag { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.model h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); }
.model-desc { margin: 0; color: var(--text); }
.model-facts { margin: 0; padding-block: var(--s-3); border-block: 1px solid var(--line); display: grid; gap: var(--s-3); align-content: start; }
.model-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.model-facts dd { margin: .15rem 0 0; font-size: var(--fs-sm); font-weight: 500; color: var(--navy); }
.model-scope { list-style: none; font-size: var(--fs-sm); color: var(--slate); }
.model-scope li { position: relative; padding: .25rem 0 .25rem 1.1rem; }
.model-scope li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--gold-text); }
.model-message { margin: 0; align-self: end; padding-top: var(--s-3); font-weight: 600; color: var(--navy); }
.partner-note { max-width: 46rem; margin: var(--s-6) auto 0; padding: var(--s-4) var(--s-5); border-left: 3px solid var(--gold); background: var(--grey-warm); color: var(--text); font-size: var(--fs-sm); }
.partner-note strong { color: var(--navy); }
.center-cta { margin-top: var(--s-6); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.center-cta p { color: var(--slate); }

/* ---------- 12. Experience ---------- */
.experience-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; }
.experience-grid .prose-light { margin-bottom: 0; }
#experience .section-head { margin-bottom: var(--s-6); }
.stat { display: flex; align-items: flex-end; gap: var(--s-4); padding-bottom: var(--s-4); margin-bottom: var(--s-4); border-bottom: 1px solid var(--line-dark); }
.stat-num { font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 600; line-height: .85; letter-spacing: -.05em; color: var(--gold); }
.stat-label { max-width: 15rem; font-size: var(--fs-sm); color: var(--text-on-dark-muted); }
.sectors { list-style: none; }
.sectors li { padding: .7rem 0; border-bottom: 1px solid var(--line-dark); font-weight: 500; color: var(--white); }
.prose-light { color: var(--text-on-dark); margin-bottom: var(--s-6); }
.highlights-title { margin-bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold) !important; }
.evidence-block { margin-top: var(--s-7); }
.evidence { list-style: none; }
.evidence-item {
  display: grid; grid-template-columns: 16rem minmax(0, 46rem); gap: var(--s-2) var(--s-6);
  padding: var(--s-4) 0; border-top: 1px solid var(--line-dark);
}
.evidence-item:last-child { border-bottom: 1px solid var(--line-dark); }
.evidence-item p { margin: 0; color: var(--text-on-dark); }
.evidence-tag {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
  color: var(--white) !important; padding-top: .2rem;
}
.evidence-tag .icon { color: var(--white); margin-top: .05rem; }
@media (max-width: 760px) { .evidence-item { grid-template-columns: 1fr; } }
.note { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--text-on-dark-muted); }

/* ---------- 13. Working together ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); list-style: none; margin-bottom: var(--s-7); }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 10%; height: 1px; background: var(--line); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-3);
  border: 1px solid var(--navy); border-radius: 50%; background: var(--white);
  font-weight: 600; color: var(--navy);
}
.step:last-child .step-num { background: var(--navy); color: var(--white); }
.step p { font-weight: 500; color: var(--navy); max-width: 13rem; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-5); list-style: none; }
.principles li { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.principles h3 { margin-bottom: .35rem; font-size: 1.0625rem; }
.principles p { font-size: var(--fs-sm); color: var(--slate); }

/* ---------- 14. Contact ---------- */
.contact { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.contact-copy h2 { margin-bottom: var(--s-4); }
.contact-details { margin: var(--s-6) 0 0; }
.contact-details > div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s-3); padding: .8rem 0; border-top: 1px solid var(--line-dark); }
.contact-details dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-muted); padding-top: .2rem; }
.contact-details dd { margin: 0; color: var(--white); }

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--white); border-radius: var(--radius); color: var(--text); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.contact-form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1px solid #B8C4D0; border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23334E68' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(197, 162, 83, .45); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile shares one grid cell with the privacy line, so the (usually invisible) widget adds no extra gap. */
.form-footnote { display: block; }
.turnstile:empty { display: none; }
.form-privacy { font-size: var(--fs-xs); color: var(--text-muted); }
.section-dark .form-card a:not(.btn) { color: var(--navy); }
.form-dev-notice { margin: 0; padding: .8rem 1rem; font-size: var(--fs-sm); background: #FFF6E5; border-left: 3px solid var(--gold); color: var(--text); }
.form-status { margin: 0; min-height: 1.5em; font-size: var(--fs-sm); font-weight: 500; }
.form-status.is-success { color: #1B6B3A; }
.form-status.is-error { color: var(--error); }

/* ---------- 15. Footer ---------- */
.site-footer { padding-top: var(--s-7); background: var(--white); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); gap: var(--s-6); padding-bottom: var(--s-6); }
.footer-brand .brand-mark { height: 48px; }
.footer-tagline { margin-top: var(--s-4); font-weight: 600; color: var(--navy); }
.footer-philosophy { font-size: var(--fs-sm); color: var(--text-muted); }
.footer-head { margin-bottom: var(--s-3); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.footer-nav ul, .footer-contact ul { list-style: none; display: grid; gap: .35rem; }
.footer-nav a { display: inline-block; padding-block: .25rem; font-size: var(--fs-sm); color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-text); text-decoration: underline; }
.footer-contact li { font-size: var(--fs-sm); padding-block: .25rem; }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-text); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); padding-block: var(--s-4); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-muted); }
.footer-legal a { color: var(--text-muted); }

/* ---------- 16. Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero-visual { order: -1; max-width: 300px; margin-inline: auto; width: 100%; }
  .split, .experience-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .split-body { padding-top: 0; }
  .services, .models { grid-template-columns: 1fr; }
  .model { grid-row: auto; display: flex; flex-direction: column; }
  .pillars { grid-template-columns: 1fr; gap: var(--s-5); }
  .pillars::before { top: 44px; bottom: 44px; left: 44px; right: auto; width: 1px; height: auto; transform-origin: top; }
  .js .pillars:not(.is-visible)::before { transform: scaleY(0); }
  .pillar { display: grid; grid-template-columns: 88px 1fr; column-gap: var(--s-4); }
  .pillar-node { grid-row: span 3; margin-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; }
  .step { display: flex; align-items: center; gap: var(--s-4); padding-block: .5rem; }
  .step-num { margin: 0; flex: none; }
  .step p { max-width: none; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-mark { height: 34px; }
  .brand-name { font-size: 1rem; }
  .hero-visual { max-width: 210px; }
  .btn-row .btn { width: 100%; }
  .challenge-grid, .principles { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 64px 1fr; }
  .pillar-node { width: 64px; height: 64px; }
  .pillar-node .icon-lg { width: 40px; height: 40px; }
  .pillars::before { left: 32px; top: 32px; }
  .section-head { margin-bottom: var(--s-6); }
  .contact-details > div { grid-template-columns: 1fr; gap: .15rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 17. Motion & print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}
@media print {
  .site-header, .hero-visual, .contact-form, .nav-toggle { display: none !important; }
  .section-dark, .hero, .contact, .philosophy { background: none !important; color: #000 !important; }
  .section-dark h1, .section-dark h2, .section-dark h3 { color: #000 !important; }
  .js .reveal, .js .pillar { opacity: 1 !important; transform: none !important; }
}

/* ---------- 18. Legal pages ---------- */
.legal h1 { margin-bottom: var(--s-5); font-size: var(--fs-h2); }
.legal h2 { margin: var(--s-6) 0 var(--s-3); font-size: var(--fs-h3); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal .form-dev-notice { margin-bottom: var(--s-5); }

/* ---------- 19. Mobile hero: keep philosophy and main CTA above the fold ---------- */
@media (max-width: 640px) {
  .hero { padding-block: var(--s-5) var(--s-7); }
  .hero-grid { gap: var(--s-3); }
  .hero-visual { max-width: 156px; }
  .hero .eyebrow-brand { display: none; }
  .hero .eyebrow { margin-bottom: var(--s-3); letter-spacing: .12em; }
  .hero-title { font-size: clamp(2rem, 1.2rem + 4.4vw, 2.375rem); margin-bottom: var(--s-4); }
  .hero-lead { font-size: 1.0625rem; margin-bottom: var(--s-4); }
  .hero-support { margin-top: var(--s-5); }
}

/* backdrop-filter would make the header the containing block of the fixed mobile menu */
@media (max-width: 1080px) {
  .site-header { background: var(--white); backdrop-filter: none; }
}
