/* ===================================================================
   Altio Advisory: design system
   Editorial, serif-led, premium-consultancy aesthetic.
   Brand palette retained from the prior site (navy #1f3a5f / blue #3b6fa5);
   the styling is a deliberate, ground-up departure.
   =================================================================== */

:root {
  /* ---- Brand & ink ---- */
  --navy:        #1f3a5f;   /* brand navy (logo) */
  --navy-deep:   #15293f;   /* darker band background */
  --navy-ink:    #0e1c2d;   /* near-black for headings */
  --blue:        #3b6fa5;   /* brand blue (logo mark) */
  --blue-strong: #335f8f;
  --blue-bright: #5b8fc4;
  --blue-100:    #d7e4f1;
  --blue-50:     #eaf1f8;

  /* ---- Neutrals ---- */
  --paper:    #ffffff;
  --paper-2:  #f6f8fb;     /* alt section */
  --mist:     #eef2f7;
  --line:     #e4e9f0;     /* hairline borders */
  --line-2:   #d3dbe6;
  --text:     #243140;     /* body text */
  --muted:    #5d6b7b;     /* secondary text */
  --faint:    #8a96a4;

  /* ---- Type ---- */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Shape ---- */
  --radius:    4px;
  --radius-lg: 10px;

  /* ---- Layout ---- */
  --container: 1180px;
  --narrow:    780px;

  /* ---- Rhythm ---- */
  --section-y: clamp(4rem, 9vw, 8rem);
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgba(15, 28, 45, .05), 0 2px 8px rgba(15, 28, 45, .04);
  --shadow-md: 0 8px 24px rgba(15, 28, 45, .08), 0 2px 6px rgba(15, 28, 45, .05);
  --shadow-lg: 0 24px 60px rgba(15, 28, 45, .14);
}

/* ===================================================================
   Base
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overscroll-behavior: none; }
body { overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-strong); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy); }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--navy); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius); z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---- Typography ---- */
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--navy-ink); font-weight: 600; }

.display, h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 { font-size: clamp(2rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.85rem); line-height: 1.12; }
h3 { font-family: var(--sans); font-size: 1.3rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin-bottom: .4em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--navy-ink); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blue-strong);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem; height: 1px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);
}

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  max-width: 42ch;
}

.measure { max-width: 65ch; }

/* ===================================================================
   Layout helpers
   =================================================================== */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow    { max-width: var(--narrow);    margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: var(--section-y); }

.band-alt  { background: var(--paper-2); }
.band-mist { background: var(--mist); }

/* Dark navy band */
.band-dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(91,143,196,.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #d8e1ec;
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .eyebrow { color: var(--blue-bright); }
.band-dark .eyebrow::before { background: var(--blue-bright); }
.band-dark a { color: #cfe0f1; }
.band-dark a:hover { color: #fff; }

/* Numbered phases inside a dark band (e.g. Deploy on the advisory page):
   override the light-theme near-black text so it reads on navy. */
.band-dark .phase { border-top-color: rgba(255,255,255,.14); }
.band-dark .phase-num { color: var(--blue-bright); }
.band-dark .phase-name { color: #fff; }
.band-dark .phase-body p { color: #c0cddb; }
.band-dark .phase-body h4 { color: #fff; }
.band-dark .phase-body ul li { color: #c0cddb; }
.band-dark .phase-body ul li strong { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-ink); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-accent:hover { background: var(--blue-strong); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--paper-2); }

.band-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.band-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.band-dark .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.band-dark .btn-primary:hover { background: var(--blue-50); color: var(--navy); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; color: var(--blue-strong);
}
.link-arrow .arr { transition: transform .2s ease; }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ===================================================================
   Header / nav
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,28,45,.04), 0 8px 30px rgba(15,28,45,.05);
}

/* Scroll progress bar — sits at the bottom of the header, flush with its lower edge,
   not extending beyond it. */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: transparent; pointer-events: none; overflow: hidden;
}
.scroll-progress__bar {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--blue-strong), var(--blue-bright));
  transition: transform .12s linear; will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress__bar { transition: none; } }
.nav {
  display: flex; align-items: center; gap: 2rem;
  padding-block: 1.05rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2.1rem;
  list-style: none; margin: 0; padding: 0;
  margin-left: auto;
}
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--text);
  position: relative; padding-block: .4rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: .75rem; margin-left: .5rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; background: var(--navy);
  transform: translate(-50%, -50%); transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ===================================================================
   Hero
   =================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 8.5rem) var(--section-y); }
.hero-inner { position: relative; z-index: 2; max-width: 60rem; }
.hero h1 { margin-bottom: 1.4rem; max-width: 18ch; }
.hero .lede { max-width: 54ch; margin-bottom: 2.2rem; font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Brand motif: enlarged logo geometry, faint, anchored top-right */
.hero-motif {
  position: absolute; top: 50%; right: -6%;
  transform: translateY(-50%);
  width: min(46vw, 620px); height: auto;
  z-index: 1; opacity: .9; pointer-events: none;
}
.hero-motif .m1 { fill: var(--blue-50); }
.hero-motif .m2 { fill: var(--blue-100); }
.hero-motif .m3 { fill: #e6eef8; }

/* Credential strip under hero */
.cred-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
.cred-strip .cred-label {
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; color: var(--faint);
}
.cred-strip ul { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.cred-strip li { font-size: .92rem; font-weight: 500; color: var(--muted); }
.cred-strip li strong { color: var(--navy); font-weight: 600; }

/* ===================================================================
   Thesis / statement (dark band)
   =================================================================== */
.statement { font-family: var(--serif); font-weight: 400; line-height: 1.28;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem); letter-spacing: -.01em; max-width: 24ch; }
.statement .hl { color: var(--blue-bright); font-style: italic; }
.statement-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.statement-grid p { color: #b9c6d4; }
.statement-grid.align-start { align-items: start; }

/* ===================================================================
   Approach: numbered phases
   =================================================================== */
.phases { display: grid; gap: 0; }
.phase {
  display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase-index { display: flex; align-items: baseline; gap: 1rem; }
.phase-num {
  font-family: var(--serif); font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400; color: var(--blue); line-height: .9; letter-spacing: -.02em;
}
.phase-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; color: var(--navy-ink); }
.phase-body p { color: var(--muted); max-width: 56ch; }
.phase-body h4 { color: var(--navy-ink); margin-top: 1.2rem; }
.phase-body ul { margin: .6rem 0 0; padding-left: 0; list-style: none; }
.phase-body ul li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; color: var(--muted); }
.phase-body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--blue); border-radius: 1px; transform: rotate(45deg); }
.phase-body ul li strong { color: var(--navy-ink); }

/* ===================================================================
   Cards
   =================================================================== */
/* Card rows: flex-wrap + centered so an incomplete/odd last row is centered (not
   left-aligned or stretched), and cards shrink to fit narrow screens (no overflow). */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid > * { flex: 1 1 280px; }
.cols-2 > * { flex-basis: 340px; max-width: 540px; }
.cols-3 > * { flex-basis: 260px; max-width: 400px; }

/* Calendly inline embed: taller on phones so the booking UI fits without an inner scroll. */
@media (max-width: 768px) {
  .calendly-inline-widget { height: 1150px !important; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* Card hover removed: these tiles are not clickable, so they must not invite a click. */
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); }
.card .kicker { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--blue-strong); margin-bottom: .9rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--blue-50); color: var(--blue-strong);
}
.card-icon svg { width: 22px; height: 22px; }

.band-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.band-dark .card p { color: #b9c6d4; }
.band-dark .card-icon { background: rgba(91,143,196,.18); color: var(--blue-bright); }

/* Feature (iSAT) */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem 2rem; margin-top: 1.75rem; }
.feature-cols h4 { color: var(--navy-ink); margin-bottom: .5rem; }
.feature-cols ul { list-style: none; margin: 0; padding: 0; }
.feature-cols li { position: relative; padding-left: 1.35rem; margin-bottom: .45rem; font-size: .96rem; color: var(--muted); }
.feature-cols li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag {
  font-size: .78rem; font-weight: 500; color: var(--blue-strong);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: .35rem .7rem; border-radius: 99rem;
}

.feature-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem);
  color: #cdd9e6; box-shadow: var(--shadow-lg);
}
.feature-panel .flow { display: grid; gap: 0; }
.feature-panel .flow-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding-block: 1rem; border-top: 1px solid rgba(255,255,255,.1);
}
.feature-panel .flow-step:first-child { border-top: 0; }
.feature-panel .flow-step .n {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: .82rem; font-weight: 600;
  background: rgba(91,143,196,.2); color: #fff; border: 1px solid rgba(91,143,196,.4);
}
.feature-panel .flow-step strong { color: #fff; display: block; font-size: .98rem; }
.feature-panel .flow-step span { font-size: .9rem; color: #a9b8c8; }

/* ===================================================================
   Stats
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.stat { border-left: 2px solid var(--blue); padding-left: 1.5rem; }
.stat-value { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 500; color: var(--navy-ink); line-height: 1; letter-spacing: -.02em; }
.stat-label { color: var(--muted); font-size: .98rem; margin-top: .75rem; max-width: 26ch; }
.band-dark .stat-value { color: #fff; }
.band-dark .stat-label { color: #b9c6d4; }

/* ===================================================================
   Expertise list
   =================================================================== */
.expertise { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: clamp(2rem, 5vw, 4rem); }
.expertise li {
  break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--line);
  color: var(--text); font-weight: 500; display: flex; align-items: center; gap: .75rem;
}
.expertise li::before { content: ""; width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); flex: none; }

/* ===================================================================
   Outcomes
   =================================================================== */
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem 3rem; }
.outcomes li { position: relative; padding-left: 2.25rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 1.25rem; }
.outcomes li .o-mark { position: absolute; left: 0; top: 1.2rem; color: var(--blue); }

/* ===================================================================
   Leadership
   =================================================================== */
.leaders { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.leader { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.leader-photo {
  border-radius: 15px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.leader-photo img { width: 100%; height: auto; display: block; }
.leader h3 { margin-bottom: .2rem; font-size: 1.35rem; }
.leader .role { color: var(--blue-strong); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.leader p { color: var(--muted); max-width: 60ch; }

/* ===================================================================
   CTA banner
   =================================================================== */
.cta-banner { text-align: center; }
.cta-banner h2 { max-width: 20ch; margin-inline: auto; }
.cta-banner p { color: var(--muted); max-width: 48ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.band-dark .cta-banner p { color: #b9c6d4; }

/* ===================================================================
   Forms
   =================================================================== */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--navy-ink); }
.field .req { color: var(--blue); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  padding: .85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success {
  padding: 1.5rem 1.75rem; background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg); color: var(--navy); font-weight: 500;
}

/* Contact details */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.25rem); }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-top: 1.4rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: .25rem 0 0; font-size: 1.05rem; color: var(--navy-ink); font-weight: 500; }

/* ===================================================================
   Page hero (interior pages)
   =================================================================== */
.page-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { max-width: 60ch; margin-top: 1.2rem; }

/* ===================================================================
   Legal pages
   =================================================================== */
.legal { max-width: var(--narrow); }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal h3 { margin-top: 1.75rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal .updated { color: var(--faint); font-size: .9rem; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--navy-deep); color: #b9c6d4; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 34px; margin-bottom: 1.1rem; }
.footer-brand p { color: #97a7b8; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: #b9c6d4; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.75rem; }
.footer-bottom p { color: #8090a0; font-size: .85rem; margin: 0; }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: #8090a0; font-size: .85rem; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ===================================================================
   Scroll reveal
   =================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .statement-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .site-header.nav-open .mobile-nav { display: block; }
  .mobile-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 1rem var(--gutter) 1.75rem;
    /* Own scroll container: scrolling on the menu stays in the menu (no chaining
       to the page); the page area below the menu still scrolls normally. */
    max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain;
  }
  .mobile-nav ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .25rem; }
  .mobile-nav ul a { display: block; padding: .85rem .25rem; font-size: 1.05rem; font-weight: 500; color: var(--navy-ink); border-bottom: 1px solid var(--line); }
  /* Current page: underline it in the menu, mirroring the desktop header. */
  .mobile-nav ul a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: .5rem; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .leader { grid-template-columns: 150px 1fr; }
  .phase { grid-template-columns: 1fr; gap: 1rem; }
  .phase-index { gap: .9rem; }
}

@media (max-width: 560px) {
  :root { --section-y: clamp(3rem, 11vw, 4.5rem); }
  .hero h1, .page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); line-height: 1.14; }
  .hero .eyebrow, .page-hero .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .statement { font-size: clamp(1.45rem, 6.5vw, 1.9rem); }
  .expertise { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader-photo { max-width: 200px; }
  .hero-motif { opacity: .4; right: -25%; width: 80vw; }
  .hero .lede { font-size: 1.12rem; }
  .stat { border-left: 0; border-top: 2px solid var(--blue); padding-left: 0; padding-top: 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* mobile nav always rendered; hidden above breakpoint */
@media (min-width: 881px) { .mobile-nav { display: none !important; } }
