:root {
  --ivory: #f6f4ef;
  --paper: #ffffff;
  --ink: #1a1d1c;
  --muted: #66706d;
  --line: #d9dfdc;
  --petrol: #1f6f78;
  --petrol-deep: #15535b;
  --soft: #eef4f2;
  --gold: #b8985a;
  --brass: #84672f;
  --radius: 28px;
  --wrap: min(1180px, calc(100% - 48px));
  --shadow: 0 24px 70px rgba(23, 34, 37, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Native keyboard/anchor focus settles immediately, including without JS. */
html:focus-within { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(31, 111, 120, .45); outline-offset: 4px; }

.skip {
  position: fixed;
  z-index: 99;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--petrol);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { position: relative; padding: clamp(84px, 10vw, 150px) 0; overflow: clip; }
.section--tight { padding-block: clamp(64px, 7vw, 96px); }
.paper { background: var(--paper); }
.soft { background: var(--soft); }
.dark { color: #f7f7f3; background: #17201f; }
.dark .muted { color: rgba(247, 247, 243, .62); }
.dark .eyebrow { color: #78c0c5; }
.dark .hairline { border-color: rgba(255, 255, 255, .16); }

.nav-shell {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 16px 0 0;
  pointer-events: none;
}
.nav {
  width: min(1240px, calc(100% - 28px));
  min-height: 70px;
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(217, 223, 220, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 46px rgba(23, 34, 37, .1);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.12; }
.brand small {
  margin-top: 5px;
  color: var(--petrol);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 14px; font-weight: 570; }
.nav-links a:not(.button) { position: relative; padding-block: 12px; }
.nav-links a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--petrol);
  content: "";
}
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 680;
  line-height: 1.1;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--petrol); box-shadow: 0 14px 30px rgba(31, 111, 120, .2); }
.button--primary:hover { background: var(--petrol-deep); box-shadow: 0 18px 36px rgba(31, 111, 120, .26); }
.button--quiet { border-color: var(--line); background: rgba(255, 255, 255, .62); }
.button--light { color: var(--ink); background: white; }
.arrow { font-size: 1.25em; font-weight: 400; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--petrol);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 1px; background: var(--gold); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: .99; }
h1 { margin-bottom: 30px; font-size: clamp(54px, 7.1vw, 108px); font-weight: 720; }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5.2vw, 76px); font-weight: 690; }
h3 { margin-bottom: 14px; font-size: clamp(24px, 2.6vw, 38px); font-weight: 650; line-height: 1.06; }
.accent { color: var(--brass); }
.lead { max-width: 760px; font-size: clamp(21px, 2.2vw, 31px); line-height: 1.45; letter-spacing: -.025em; }
.body { max-width: 650px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; }
.muted { color: var(--muted); }
.kicker { margin-bottom: 28px; }
.hairline { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.section-head > :last-child { max-width: 800px; }

.watermark::after {
  position: absolute;
  z-index: 0;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  background: url("../assets/dk-signet-mono.png") center / contain no-repeat;
  content: "";
  opacity: .025;
  pointer-events: none;
}
.watermark > * { position: relative; z-index: 1; }
.dark.watermark::after { background-image: url("../assets/dk-signet-light.png"); opacity: .035; }

/* Home */
.home-hero { min-height: min(930px, calc(100svh - 50px)); padding-top: clamp(95px, 10vw, 145px); display: grid; align-items: center; }
.home-hero::after { top: 8%; right: -10%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .72fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 34px; }
.hero-copy .lead { max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-photo {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 4px 4px var(--radius) var(--radius);
  background: #0e1517;
  box-shadow: var(--shadow);
}
.hero-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero-photo::after { position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, rgba(8, 16, 18, .78)); content: ""; }
.photo-caption { position: absolute; z-index: 2; right: 28px; bottom: 24px; left: 28px; display: flex; justify-content: space-between; gap: 20px; color: white; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.proof-bar { margin-top: 40px; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.proof-bar span { display: grid; gap: 4px; }
.proof-bar strong { font-size: 20px; }
.proof-bar small { color: var(--muted); font-size: 13px; }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 58px; border-block: 1px solid var(--line); }
.outcome { min-height: 260px; padding: 34px clamp(24px, 3vw, 42px); border-right: 1px solid var(--line); }
.outcome:first-child { padding-left: 0; }
.outcome:last-child { border-right: 0; }
.outcome b { display: block; margin-bottom: 44px; color: var(--petrol); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .15em; }
.outcome p { color: var(--muted); font-size: 16px; line-height: 1.65; }

.assessment::after { top: 4%; right: -13%; }
.assessment-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.source-list { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.16); }
.source-list div { padding: 22px 0; display: flex; gap: 20px; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); }
.source-list span { color: #78c0c5; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .14em; }
.decision-card { padding: clamp(32px, 4vw, 60px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.decision-card small { color: var(--gold); font-family: "Geist Mono", monospace; letter-spacing: .16em; text-transform: uppercase; }
.decision-card strong { display: block; margin: 26px 0 18px; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.03; letter-spacing: -.045em; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: var(--line); }
.pillar { position: relative; min-height: 590px; overflow: hidden; background: #101514; }
.pillar img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .62; filter: saturate(.7) contrast(1.04); transition: transform .6s ease, opacity .4s ease; }
.pillar::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7, 12, 12, .96)); content: ""; }
.pillar:hover img { transform: scale(1.025); opacity: .72; }
.pillar-copy { position: absolute; z-index: 2; right: 30px; bottom: 34px; left: 30px; color: white; }
.pillar-copy span { color: #7ec0c6; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.pillar-copy h3 { margin-top: 14px; color: white; }
.pillar-copy p { margin-bottom: 0; color: rgba(255,255,255,.7); line-height: 1.6; }

.scan-band { padding-block: clamp(70px, 8vw, 115px); }
.scan-card { padding: clamp(34px, 5vw, 68px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.scan-card h2 { max-width: 850px; }
.scan-card aside { padding-left: 34px; border-left: 1px solid var(--line); }
.scan-card aside strong { display: block; margin-bottom: 12px; font-size: 22px; }

.expertise-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.expertise-photo { min-height: 600px; overflow: hidden; border-radius: var(--radius); }
.expertise-photo img { height: 100%; object-fit: cover; object-position: 50% 25%; }
.expertise-list { margin-top: 38px; }
.expertise-list div { padding: 21px 0; display: grid; grid-template-columns: 42px 1fr; gap: 18px; border-top: 1px solid var(--line); }
.expertise-list span { color: var(--petrol); font-family: "Geist Mono", monospace; font-size: 11px; }
.expertise-list strong { font-size: 20px; }

.mandate-head { margin-bottom: 52px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.mandates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mandate { min-height: 420px; padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.mandate--primary { color: white; border-color: #17201f; background: #17201f; }
.mandate small { color: var(--petrol); font-family: "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.mandate--primary small { color: #78c0c5; }
.mandate h3 { margin-top: 44px; }
.mandate p { color: var(--muted); line-height: 1.7; }
.mandate--primary p { color: rgba(255,255,255,.64); }
.mandate a { margin-top: auto; align-self: flex-start; font-weight: 680; }
.scope-note { max-width: 880px; margin: 34px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.closing { text-align: center; }
.closing::after { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.closing h2 { max-width: 950px; margin-inline: auto; }
.closing .lead { margin-inline: auto; }
.closing .button { margin-top: 24px; }

/* Subpages */
.page-hero { min-height: 720px; padding-top: clamp(115px, 12vw, 170px); display: grid; align-items: center; }
.page-hero::after { top: 3%; right: -12%; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 90px; align-items: end; }
.page-hero h1 { max-width: 950px; }
.page-hero aside { padding: 26px 0 8px 30px; border-left: 1px solid var(--line); }
.page-hero aside p { color: var(--muted); font-size: 18px; line-height: 1.7; }

.system-map { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid rgba(255,255,255,.16); }
.system-map article { min-height: 280px; padding: 34px; border-right: 1px solid rgba(255,255,255,.16); }
.system-map article:last-child { border-right: 0; }
.system-map span { color: #78c0c5; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .14em; }
.system-map p { color: rgba(255,255,255,.63); line-height: 1.65; }
.process { margin-top: 56px; counter-reset: steps; border-top: 1px solid var(--line); }
.process article { padding: 30px 0; display: grid; grid-template-columns: 100px .8fr 1.2fr; gap: 32px; align-items: baseline; border-bottom: 1px solid var(--line); counter-increment: steps; }
.process article::before { color: var(--petrol); font-family: "Geist Mono", monospace; font-size: 12px; content: "0" counter(steps); }
.process h3 { margin: 0; font-size: 27px; }
.process p { margin: 0; color: var(--muted); line-height: 1.65; }
.system-detail { margin-top:32px; border-bottom:1px solid var(--line); }
.system-detail summary { padding:20px 0; cursor:pointer; font-size:18px; font-weight:600; }
.system-detail ol { max-width:780px; padding-left:24px; }
.system-detail li { padding:12px 0 12px 8px; line-height:1.6; }
.system-detail li p { color:var(--muted); margin:8px 0 0; }
.system-data { margin-top:48px; display:grid; grid-template-columns:1fr 1.6fr; gap:40px; }
.system-data p { font-size:17px; line-height:1.65; }
@media (max-width:768px) { .system-data { grid-template-columns:1fr; gap:12px; } }

.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.comparison table { width: 100%; min-width: 740px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison th { color: var(--petrol); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.comparison td:not(:first-child), .comparison th:not(:first-child) { text-align: center; }
.check { color: var(--petrol); font-weight: 800; }

.about-hero { padding-bottom: 0; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-hero h1 { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; }
.about-hero h1 span { display: block; }
.about-photo { height: clamp(500px, 50vw, 680px); margin: 0; min-width: 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #101514; }
.about-photo img { height: 100%; object-fit: cover; object-position: center 18%; }
.credentials article { padding: 38px 0; display: grid; grid-template-columns: 52px .65fr 1.35fr; gap: 28px; border-top: 1px solid var(--line); }
.credentials article > span { color: var(--petrol); font-family: "Geist Mono", monospace; font-size: 12px; }
.credentials h3 { margin: 0; }
.credentials p { margin: 0; color: var(--muted); line-height: 1.7; }

/* Profile: qualifications are complementary disciplines, not numbered steps. */
body[data-page="dennis"] h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.14; }
body[data-page="dennis"] #origin h2 { max-width: 24ch; }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-block: 26px; }
.profile-actions .button { max-width: 100%; white-space: normal; text-align: center; }
.profile-link { color: var(--petrol); text-decoration: underline; text-underline-offset: 5px; line-height: 1.6; }
.profile-anchor { position: absolute; top: 0; }
.profile-credentials article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); padding-block: 32px; border-top: 1px solid var(--line); }
.profile-credentials h3 { margin: 0 0 12px; font-size: clamp(22px, 2.3vw, 30px); overflow-wrap: anywhere; }
.profile-credentials p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.profile-credentials .profile-degree { max-width: 34ch; color: var(--ink); font-size: 16px; }
.profile-scope { margin-top: 28px; border-block: 1px solid var(--line); }
.profile-scope summary { cursor: pointer; padding-block: 22px; font-size: 18px; font-weight: 600; }
.profile-scope ul { padding-left: 24px; max-width: 78ch; }
.profile-scope li { padding-block: 8px; }
.profile-scope p { max-width: 78ch; color: var(--muted); }
.profile-scope .profile-link { display: inline-block; margin-bottom: 24px; }
.profile-work-photo { margin: 0; min-height: 0; aspect-ratio: 4 / 5; }
.profile-work-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-expectation { max-width: 58ch; color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
@media (max-width: 700px) {
  .profile-credentials article { grid-template-columns: 1fr; gap: 16px; }
  .profile-actions { align-items: flex-start; flex-direction: column; }
  .profile-actions .button { width: 100%; }
  .expertise-photo.profile-work-photo { min-height: 0; aspect-ratio: 3 / 2; }
}

.ems-hero { min-height: 870px; padding-top: 130px; display: grid; align-items: end; color: white; background: #0a0e0f; }
.ems-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 24%; opacity: .64; }
.ems-hero::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(6,11,12,.94) 0%, rgba(6,11,12,.67) 46%, rgba(6,11,12,.18) 100%), linear-gradient(0deg, rgba(6,11,12,.9), transparent 55%); content: ""; }
.ems-hero .wrap { position: relative; z-index: 2; padding-bottom: 90px; }
.ems-hero h1 { max-width: 920px; }
.ems-hero .lead { color: rgba(255,255,255,.75); }
body[data-page="ems"] h2 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.14; }
.ems-hero h1 { max-width: 15ch; font-size: clamp(44px, 6vw, 86px); line-height: 1.04; }
.ems-context-link { color: white; text-decoration: underline; text-underline-offset: 5px; }
.ems-safety { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(28px,5vw,72px); padding-top: 40px; border-top: 1px solid var(--line); }
.ems-safety h3 { font-size: clamp(24px,2.5vw,34px); margin: 0; }
.ems-safety p, .ems-options p { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; }
.ems-questions { margin-block: 28px; }
.ems-questions details { border-top: 1px solid var(--line); }
.ems-questions details:last-child { border-bottom: 1px solid var(--line); }
.ems-questions summary { padding-block: 22px; font-size: 18px; font-weight: 600; cursor: pointer; }
.ems-source { color: var(--petrol); text-decoration: underline; text-underline-offset: 5px; line-height: 1.6; }
.ems-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,5vw,72px); }
.ems-options article { padding-block: 30px; border-top: 1px solid var(--line); }
.ems-options h3 { margin-top: 0; font-size: 28px; }
.ems-choice-note { margin-top: 12px; }
.ems-expectation { max-width: 55ch; margin: 24px auto 0; color: rgba(255,255,255,.75); line-height: 1.6; }
@media (max-width: 700px) {
  .ems-safety, .ems-options { grid-template-columns: 1fr; gap: 24px; }
  .ems-hero .button, body[data-page="ems"] .closing .button { white-space: normal; max-width: 100%; text-align: center; }
}

.call-layout { min-height: calc(100svh - 90px); padding: 120px 0 80px; display: grid; align-items: center; }
.call-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.call-panel { padding: clamp(34px, 5vw, 62px); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.call-photo { margin: -30px -30px 34px; height: 290px; overflow: hidden; border-radius: 18px; }
.call-photo img { height: 100%; object-fit: cover; object-position: 50% 25%; }

.footer { padding: 58px 0 34px; color: rgba(255,255,255,.72); background: #111716; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 48px; }
.footer h3 { color: white; font-size: 15px; letter-spacing: 0; }
.footer-links { display: grid; gap: 11px; }
.footer-bottom { margin-top: 46px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }

.menu-button { display: none; border: 0; background: transparent; font: inherit; }

@media (max-width: 1200px) {
  .nav { position: relative; }
  .nav:not(.menu-ready) { flex-wrap: wrap; border-radius: 24px; }
  .nav:not(.menu-ready) .menu-button { display: none; }
  .nav:not(.menu-ready) .nav-links { display: flex; position: static; width: 100%; max-height: none; box-shadow: none; border: 0; padding: 8px 0 0; background: transparent; backdrop-filter: none; }
  .menu-button {
    width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu-button i { position: relative; }
  .menu-button i,
  .menu-button i::before,
  .menu-button i::after { width: 22px; height: 2px; display: block; border-radius: 3px; background: currentColor; content: ""; transition: transform .2s ease, opacity .2s ease; }
  .menu-button i::before,
  .menu-button i::after { position: absolute; top: 0; left: 0; }
  .menu-button i::before { transform: translateY(-7px); }
  .menu-button i::after { transform: translateY(7px); }
  .menu-button[aria-expanded="true"] i { background: transparent; }
  .menu-button[aria-expanded="true"] i::before { transform: translateY(0) rotate(45deg); }
  .menu-button[aria-expanded="true"] i::after { transform: translateY(0) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.button) { padding: 13px 14px; }
  .nav-links a[aria-current="page"]::after { right: 14px; bottom: 7px; left: 14px; }
  .nav-links .button { width: 100%; margin-top: 8px; min-height: 48px; padding-inline: 16px; }
}

@media (max-width: 980px) {
  :root { --wrap: min(100% - 36px, 760px); }
  .hero-grid, .assessment-grid, .expertise-grid, .page-hero-grid, .about-hero-grid, .call-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 560px; }
  .section-head, .mandate-head { grid-template-columns: 1fr; gap: 24px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 520px; }
  .scan-card { grid-template-columns: 1fr; }
  .scan-card aside { padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .page-hero { min-height: auto; }
  .page-hero aside { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .system-map { grid-template-columns: 1fr; }
  .system-map article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .process article { grid-template-columns: 48px .85fr 1.15fr; }
  .about-photo { min-height: 570px; }
}

@media (max-width: 700px) {
  :root { --wrap: calc(100% - 30px); --radius: 22px; }
  .section { padding-block: 76px; }
  .nav-shell { padding-top: 10px; }
  .nav { min-height: 62px; padding: 8px 9px 8px 13px; }
  .brand img { width: 37px; height: 37px; }
  .brand span { font-size: 15px; }
  .brand small { display: none; }
  .menu-button { width: 44px; height: 44px; }
  .hero-grid { gap: 45px; }
  .home-hero { min-height: auto; padding-top: 92px; }
  h1 { font-size: clamp(42px, 12vw, 54px); overflow-wrap: anywhere; }
  h2 { font-size: clamp(38px, 12vw, 56px); }
  .lead { font-size: 20px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; white-space: normal; text-align: center; }
  .hero-photo { min-height: 490px; }
  .proof-bar { grid-template-columns: 1fr; gap: 15px; }
  .proof-bar span { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
  .outcomes, .mandates { grid-template-columns: 1fr; }
  .outcome { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome b { margin-bottom: 18px; }
  .decision-card { margin-top: 20px; }
  .pillar { min-height: 480px; }
  .scan-card { padding: 30px 24px; }
  .expertise-photo { min-height: 480px; }
  .mandate { min-height: 360px; }
  .page-hero { padding-top: 95px; }
  .process article { grid-template-columns: 40px 1fr; gap: 15px; }
  .process article p { grid-column: 2; }
  .credentials article { grid-template-columns: 40px 1fr; gap: 14px; }
  .credentials article p { grid-column: 2; }
  .about-photo { min-height: 520px; }
  .ems-hero { min-height: 770px; padding-top: 100px; }
  .call-layout { padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
