/* ==========================================================================
   RLMS: Real Life Management Solutions
   Site stylesheet. All colour, type and spacing decisions come from the
   tokens below. Layout idea: editorial, left-aligned columns on a 12-col
   rhythm; navy bands for "system" content, off-white for reading.
   ========================================================================== */

:root {
  /* Colour */
  --navy: #142B42;
  --navy-2: #1D3A57;
  --ink: #1A2533;
  --charcoal: #2B3138;
  --muted: #56616B;
  --paper: #F6F5F1;
  --mist: #E8ECEF;
  --line: #D2D9DF;
  --teal: #3E6890;
  --teal-dark: #2C4E70;
  --teal-light: #A9C3DE;
  --on-navy: #EEF2F6;
  --on-navy-muted: #B8C6D3;
  --error: #A32020;
  --bronze: #B07A3C;        /* markers and rules only, not text */
  --bronze-text: #8A5A24;   /* bronze text on light backgrounds (5.4:1) */
  --bronze-light: #D9B98F;  /* bronze text on navy (7.8:1) */

  /* Type */
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.5rem, 5.4vw, 4.6rem);
  --fs-h1: clamp(2.3rem, 4.4vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 3.2vw, 2.75rem);
  --fs-h3: clamp(1.3rem, 1.8vw, 1.6rem);
  --fs-lead: clamp(1.15rem, 1.5vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Space */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 136px);
  --maxw: 1280px;
  --measure: 65ch;
  --radius: 2px;

  color-scheme: light;
}

/* ---------- 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; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.section--navy :focus-visible, .hero-home :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-light); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.08; }
h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.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: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy a:not(.btn) { color: var(--teal-light); }
.section + .section:not(.section--mist):not(.section--navy) { padding-top: 0; }
.section--mist + .section, .section--navy + .section { padding-top: var(--section) !important; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze-text); margin-bottom: 20px;
}
.section--navy .eyebrow, .hero-home .eyebrow, .page-hero--photo .eyebrow { color: var(--bronze-light); }
.h-section { font-size: var(--fs-h2); max-width: 22ch; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--charcoal); max-width: 60ch; }
.section--navy .lead { color: var(--on-navy-muted); }
.prose { max-width: var(--measure); }
.prose p { color: var(--charcoal); }
.statement {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.28; letter-spacing: -0.01em;
  max-width: 30ch; text-wrap: pretty;
}
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: 600 0.975rem/1.2 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero-home .btn-ghost, .section--navy .btn-ghost { color: #fff; }
.hero-home .btn-ghost:hover, .section--navy .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; color: var(--teal);
}
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-logo { height: 50px; width: auto; }
.brand-logo-full { width: 280px; max-width: 100%; height: auto; }
@media (max-width: 420px) { .brand-logo { height: 38px; } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list a {
  display: block; padding: 10px 12px; text-decoration: none;
  color: var(--charcoal); font-weight: 500; font-size: 0.975rem;
}
.nav-list a:hover { color: var(--teal); }
.nav-list a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--teal); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub {
  list-style: none; position: absolute; left: 0; top: 100%;
  min-width: 290px; padding: 10px 0; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 43, 66, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 10px 20px; }
.nav-cta { min-height: 44px; padding: 10px 20px; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line);
  min-height: 44px; padding: 8px 14px; font: 600 0.95rem var(--font-body); color: var(--navy); cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 15px 0; font-size: 1.05rem; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--teal); }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 10px 16px; min-width: 0; background: none; }
  .sub a { padding: 9px 0; font-size: 0.975rem; color: var(--muted); }
  .nav-cta { margin-top: 24px; justify-content: center; }
}

/* ---------- Placeholder imagery (generated scenes) ---------- */
.scene {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
}
.scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  font: 600 0.6875rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: rgba(20, 43, 66, 0.72); padding: 7px 9px;
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-wide { aspect-ratio: 21 / 9; }

/* ---------- Home hero ---------- */
.hero-home {
  position: relative; color: #fff; background: var(--navy);
  min-height: clamp(560px, 78vh, 820px);
  display: flex; align-items: flex-end;
  padding: clamp(140px, 16vw, 220px) 0 clamp(48px, 6vw, 80px);
}
.hero-home > .scene { position: absolute; inset: 0; }
.hero-home > .scene::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(14, 30, 48, 0.88) 0%, rgba(14, 30, 48, 0.35) 45%, rgba(14, 30, 48, 0) 75%), linear-gradient(90deg, rgba(14, 30, 48, 0.55) 0%, rgba(14, 30, 48, 0) 60%);
}
.hero-home .ph-tag { top: 12px; bottom: auto; }
.hero-content { position: relative; z-index: 2; }
.hero-home h1 { font-size: var(--fs-hero); font-weight: 300; max-width: 17ch; letter-spacing: -0.02em; }
.hero-home .lead { color: #D6E0E3; margin-top: 28px; max-width: 54ch; }
.hero-home .btn-row { margin-top: 40px; }
.hero-places {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 36px;
  margin-top: clamp(48px, 7vw, 88px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 0.9rem; color: #C5D2D6; letter-spacing: 0.02em;
}
.hero-places li { display: flex; align-items: center; gap: 10px; }
.hero-places li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }

/* ---------- Photo heroes ---------- */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-home .hero-shade, .page-hero--photo .hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14, 30, 48, 0.94) 0%, rgba(14, 30, 48, 0.78) 45%, rgba(14, 30, 48, 0.25) 100%);
}
.page-hero--photo { position: relative; color: #fff; background: var(--navy); padding: clamp(96px, 11vw, 160px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero--photo .container { position: relative; z-index: 2; }
.page-hero--photo h1 { color: #fff; font-weight: 300; }
.page-hero--photo .lead { color: #D6E0E3; }
.photo-credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: 0.7rem; color: rgba(255,255,255,0.6); }

/* ---------- Credentials ---------- */
.stats { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .stats--wide { grid-template-columns: repeat(5, 1fr); } }
.stats li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .stats li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); } }
@media (min-width: 1200px) { .stats--wide li + li { padding-left: 32px; border-left: 1px solid var(--line); } }
.stat-num { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.stat-label { display: block; margin-top: 12px; color: var(--charcoal); max-width: 26ch; }
.section--navy .stats, .section--navy .stats li { border-color: rgba(238,242,242,0.18); }
.section--navy .stat-num { color: #fff; }
.section--navy .stat-label { color: var(--on-navy-muted); }
.cred-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cred-list li { padding: 8px 14px; border: 1px solid var(--line); font-size: 0.925rem; background: #fff; }

/* ---------- Interior page hero ---------- */
.page-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 20ch; }
.page-hero .lead { margin-top: 28px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.page-hero--image { padding-bottom: 0; }
.hero-figure { margin-top: clamp(48px, 6vw, 80px); }

.practice-hero { display: grid; gap: 40px; }
@media (min-width: 960px) { .practice-hero { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: end; } }
.positioning {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.35; color: var(--teal-dark);
  margin-top: 20px; max-width: 32ch;
}

/* ---------- Home: intro ---------- */
.intro-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: end; } }
.intro-grid .prose { display: grid; gap: 24px; }

/* ---------- Practice list (home + expertise) ---------- */
.practice-list { list-style: none; border-bottom: 1px solid var(--line); }
.practice-row {
  position: relative; display: grid; gap: 14px 40px;
  grid-template-columns: 1fr; padding: 34px 0; border-top: 1px solid var(--line);
  transition: background-color .25s;
}
@media (min-width: 900px) {
  .practice-row { grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 32px; align-items: start; padding: 40px 0; }
}
.practice-row:hover { background: linear-gradient(90deg, transparent, rgba(62, 104, 144, 0.06) 30%, transparent); }
.pr-num { font: 400 0.95rem var(--font-body); color: var(--bronze-text); font-variant-numeric: tabular-nums; padding-top: 8px; }
.practice-row h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.practice-row h3 a { color: var(--navy); text-decoration: none; }
.practice-row h3 a::after { content: ""; position: absolute; inset: 0; }
.practice-row h3 a:focus-visible { outline: none; }
.practice-row:focus-within { outline: 3px solid var(--teal); outline-offset: 4px; }
.practice-row p { color: var(--charcoal); margin-top: 10px; max-width: 46ch; }
.pr-tags { list-style: none; display: grid; gap: 8px; padding-top: 8px; color: var(--muted); font-size: 0.95rem; }
.pr-tags li { padding-left: 18px; position: relative; }
.pr-tags li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--teal); }
.pr-arrow { color: var(--teal); font-size: 1.4rem; padding-top: 6px; transition: transform .2s; }
.practice-row:hover .pr-arrow { transform: translateX(6px); }
@media (max-width: 899px) { .pr-arrow { display: none; } }

/* ---------- Systems diagram ---------- */
.systems { display: grid; gap: 56px; }
@media (min-width: 1000px) { .systems { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 80px; align-items: center; } }
.sys-figure { margin: 0; }
.sys-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.sys-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sys-edge { fill: none; stroke: rgba(238, 242, 242, 0.16); stroke-width: 1.2; transition: stroke .25s, stroke-width .25s; }
.sys-edge.is-active { stroke: var(--teal-light); stroke-width: 2.4; }
.sys-centre { fill: var(--navy); stroke: rgba(238,242,242,0.18); stroke-width: 0.25; }
.sys-ring { fill: none; stroke: rgba(238, 242, 242, 0.12); stroke-dasharray: 2 6; }
.sys-centre-label { fill: var(--on-navy-muted); font: 500 13px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; }
.sys-node {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; min-height: 40px; border-radius: 40px;
  background: var(--navy); color: var(--on-navy); border: 1px solid rgba(238,242,242,0.35);
  font: 500 0.9rem/1.15 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.sys-node::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light); flex: none; }
.sys-node.is-profile { border-color: var(--teal-light); background: var(--navy-2); }
.sys-node:hover { border-color: var(--teal-light); }
.sys-node[aria-pressed="true"] { background: var(--teal-light); color: var(--navy); border-color: var(--teal-light); }
.sys-node[aria-pressed="true"]::before { background: var(--navy); }
.sys-node.is-linked { border-color: var(--teal-light); }
@media (max-width: 520px) { .sys-node { font-size: 0.78rem; padding: 7px 10px; min-height: 34px; gap: 6px; } }
.sys-panel { margin-top: 32px; border-top: 1px solid rgba(238,242,242,0.2); padding-top: 24px; min-height: 230px; }
.sys-panel h3 { color: #fff; }
.sys-panel > p { color: var(--on-navy-muted); margin-top: 8px; }
.sys-links { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.sys-links li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; font-size: 0.95rem; color: var(--on-navy); }
.sys-links b { color: var(--teal-light); font-weight: 600; }
@media (max-width: 520px) { .sys-links li { grid-template-columns: 1fr; gap: 2px; } }
.sys-hint { font-size: var(--fs-small); color: var(--on-navy-muted); text-align: center; margin-top: 16px; }

.principles { list-style: none; counter-reset: p; display: grid; gap: 0; margin-top: 40px; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 22px 0; border-top: 1px solid rgba(238,242,242,0.18); }
.principles li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; color: var(--teal-light); font-variant-numeric: tabular-nums; padding-top: 3px; }
.principles strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: #fff; line-height: 1.3; }
.principles span { color: var(--on-navy-muted); font-size: 0.975rem; }
.principles--plain li { grid-template-columns: 1fr; }
.principles--plain li::before { content: none; }
.principles--light li { border-top-color: var(--line); }
.principles--light li::before { color: var(--teal); }
.principles--light strong { color: var(--navy); }
.principles--light span { color: var(--charcoal); }

/* ---------- Markets list ---------- */
.market-list { list-style: none; display: grid; gap: 0 64px; }
@media (min-width: 800px) { .market-list { grid-template-columns: 1fr 1fr; } }
.market-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.market-list h3 { font-size: 1.3rem; color: var(--navy); }
.market-list p { margin-top: 8px; color: var(--muted); }

/* ---------- Engagement models ---------- */
.engage { display: grid; gap: 48px; }
@media (min-width: 960px) { .engage { grid-template-columns: 1fr 1.25fr; gap: 96px; } }
.model-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.model-list li { padding: 10px 16px; border: 1px solid var(--line); background: var(--paper); font-size: 0.95rem; }
.section--mist .model-list li { background: var(--paper); border-color: transparent; }
.model-defs { display: grid; gap: 0; margin: 0; }
@media (min-width: 760px) { .model-defs { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.model-defs div { padding: 22px 0; border-top: 1px solid var(--line); }
.model-defs dt { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.model-defs dd { margin: 6px 0 0; color: var(--charcoal); }

/* ---------- Geography figure ---------- */
.geo { display: grid; gap: 48px; }
@media (min-width: 960px) { .geo { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; } }
.geo-figure { margin: 0; }
.geo-figure svg { width: 100%; height: auto; }
.geo-figure figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: 12px; }
.geo-grid { stroke: var(--line); stroke-width: 1; }
.geo-grid-label { fill: var(--muted); font: 500 11px var(--font-body); font-variant-numeric: tabular-nums; }
.geo-arctic { stroke: var(--teal); stroke-dasharray: 4 5; stroke-width: 1; opacity: .6; }
.geo-link { stroke: var(--teal); stroke-width: 1.2; opacity: 0.5; fill: none; }
.geo-dot { fill: var(--navy); }
.geo-halo { fill: var(--teal); opacity: 0.16; }
.geo-label { fill: var(--navy); font: 600 15px var(--font-body); }
.geo-sub { fill: var(--muted); font: 400 12px var(--font-body); font-variant-numeric: tabular-nums; }
.region-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 32px; }
.region-list li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.region-list span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Regional map ---------- */
.map-figure { margin: 0; }
.map-figure img { width: 100%; height: auto; display: block; }
.map-figure figcaption.map-cap { display: block; }
.map-figure figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.sw { width: 14px; height: 14px; display: inline-block; }
.sw-region { background: #B5CCDD; }
.sw-north { background: #3D6488; }
.sw-office { width: 10px; height: 10px; border-radius: 50%; background: #10202E; }
.map-note { flex-basis: 100%; }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 6px; }
.dot-office { width: 12px; height: 12px; border-radius: 50%; background: var(--bronze); display: inline-block; }
.dot-other { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); display: inline-block; }
.region-cols { list-style: none; display: grid; gap: 8px 48px; margin-top: 56px; }
@media (min-width: 900px) { .region-cols { grid-template-columns: repeat(3, 1fr); } }
.region-cols li { border-top: 2px solid var(--bronze); padding: 22px 0; }
.region-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); }
.region-cols h3 { color: var(--navy); margin-top: 10px; font-size: 1.35rem; }
.region-cols p { color: var(--charcoal); margin-top: 10px; }
.office-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.office-strip strong { color: var(--bronze-text); font-weight: 600; }
.region-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-2); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.cta-inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.5fr auto; align-items: end; gap: 64px; } }
.cta-band h2 { font-size: var(--fs-h2); font-weight: 300; max-width: 20ch; }
.cta-band p { color: var(--on-navy-muted); margin-top: 18px; max-width: 50ch; }

/* ---------- Split blocks (image + text) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse > :first-child { order: 2; }
}
.split + .split { margin-top: clamp(72px, 9vw, 128px); }
.split h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.split .positioning { font-size: 1.2rem; }
.split p { color: var(--charcoal); margin-top: 18px; max-width: 52ch; }
.split .link-arrow { margin-top: 26px; }
.tick-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.tick-list li { position: relative; padding-left: 22px; color: var(--charcoal); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--teal); }

/* ---------- Service groups (practice pages) ---------- */
.service-groups { display: grid; gap: 0 64px; }
@media (min-width: 800px) { .service-groups { grid-template-columns: 1fr 1fr; } }
.service-group { padding: 32px 0 36px; border-top: 1px solid var(--line); }
.service-group h3 { color: var(--navy); }
.service-group ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.service-group li { position: relative; padding-left: 22px; color: var(--charcoal); }
.service-group li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--teal); }

.questions { list-style: none; display: grid; gap: 0 56px; }
@media (min-width: 800px) { .questions { grid-template-columns: 1fr 1fr; } }
.questions li {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.35;
  padding: 26px 0 26px 36px; border-top: 1px solid var(--line); position: relative; color: var(--navy);
}
.questions li::before { content: "\201C"; position: absolute; left: 0; top: 18px; font-size: 2.2rem; color: var(--teal); line-height: 1; }

.connected { list-style: none; display: grid; gap: 0 48px; }
@media (min-width: 800px) { .connected { grid-template-columns: repeat(var(--cols, 2), 1fr); } }
.connected li { position: relative; padding: 26px 0; border-top: 2px solid var(--navy); }
.connected a { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); text-decoration: none; }
.connected a::after { content: ""; position: absolute; inset: 0; }
.connected li:hover a { color: var(--teal); }
.connected li:focus-within { outline: 3px solid var(--teal); outline-offset: 4px; }
.connected a:focus-visible { outline: none; }
.connected p { margin-top: 8px; color: var(--charcoal); }

.note {
  border-left: 3px solid var(--teal); background: var(--mist);
  padding: 20px 24px; color: var(--charcoal); max-width: 70ch; font-size: 0.975rem;
}
.note strong { color: var(--navy); }
.note--placeholder { border-left-color: #B7791F; background: #F7F0E1; }

/* ---------- Integration examples (expertise overview) ---------- */
.examples { list-style: none; display: grid; gap: 0 48px; }
@media (min-width: 900px) { .examples { grid-template-columns: repeat(3, 1fr); } }
.examples li { padding: 28px 0; border-top: 1px solid rgba(238,242,242,0.2); }
.examples h3 { color: #fff; font-size: 1.3rem; }
.examples p { color: var(--on-navy-muted); margin-top: 12px; font-size: 0.975rem; }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip-row li { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border: 1px solid rgba(169, 195, 222, 0.45); color: var(--teal-light); }

/* ---------- Market detail ---------- */
.market-block { display: grid; gap: 32px; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .market-block { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.market-block h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--navy); }
.market-block .kicker { color: var(--muted); margin-top: 12px; }
.market-block .body p { color: var(--charcoal); max-width: 58ch; }
.help-list { list-style: none; margin-top: 24px; display: grid; gap: 0; }
.help-list li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.975rem; }
.help-list a { white-space: nowrap; font-size: 0.875rem; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-label { width: 100%; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.filter-btn {
  min-height: 40px; padding: 8px 16px; background: transparent; border: 1px solid var(--line);
  font: 500 0.925rem var(--font-body); color: var(--charcoal); cursor: pointer; border-radius: var(--radius);
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.select-wrap { display: grid; gap: 8px; }
.select-wrap select, .field select {
  appearance: none; min-height: 44px; padding: 10px 40px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23142B42' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  font: 400 1rem var(--font-body); color: var(--ink);
}
.result-count { font-size: var(--fs-small); color: var(--muted); margin-bottom: 20px; }
.project-grid { list-style: none; display: grid; gap: 48px 32px; }
@media (min-width: 700px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project .scene { aspect-ratio: 4 / 3; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.project-meta span + span::before { content: "\00B7"; margin-right: 14px; color: var(--muted); }
.project h3 { margin-top: 10px; font-size: 1.3rem; color: var(--navy); }
.project p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.sample-flag { display: inline-block; margin-top: 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8A5A12; background: #F7F0E1; padding: 4px 8px; }
.empty-state { padding: 40px 0; color: var(--muted); }

/* ---------- Team ---------- */
.discipline-list { list-style: none; display: grid; gap: 0 48px; }
@media (min-width: 700px) { .discipline-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .discipline-list { grid-template-columns: repeat(3, 1fr); } }
.discipline-list li { padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.profile { display: grid; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .profile { grid-template-columns: 300px 1fr; gap: 64px; } }
.portrait {
  aspect-ratio: 4 / 5; background: var(--mist); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 3.2rem; color: var(--teal); position: relative;
}
.portrait .ph-tag { background: rgba(20,43,66,0.72); }
.profile h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--navy); }
.designations { margin-top: 8px; font-size: 0.95rem; letter-spacing: 0.06em; color: var(--teal); font-weight: 600; }
.profile-role { color: var(--muted); margin-top: 4px; }
.profile .prose { margin-top: 22px; }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 32px; margin: 28px 0 0; }
.profile-facts dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.profile-facts dd { margin: 4px 0 0; color: var(--ink); }
.team-grid { list-style: none; display: grid; gap: 40px 32px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-slot .portrait { font-size: 1rem; color: var(--muted); font-family: var(--font-body); border: 1px dashed var(--line); background: transparent; }
.team-slot h3 { font-size: 1.15rem; color: var(--navy); margin-top: 16px; }
.team-slot p { color: var(--muted); font-size: 0.925rem; margin-top: 6px; }

/* ---------- About ---------- */
.mission {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.25;
  max-width: 28ch; color: var(--navy); letter-spacing: -0.01em;
}
.values { list-style: none; display: grid; gap: 0 48px; }
@media (min-width: 760px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { padding: 28px 0; border-top: 1px solid var(--line); }
.values h3 { color: var(--navy); }
.values p { margin-top: 10px; color: var(--charcoal); }

/* ---------- Insights ---------- */
.article-list { list-style: none; border-bottom: 1px solid var(--line); }
.article-row { display: grid; gap: 8px 40px; padding: 30px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .article-row { grid-template-columns: 200px 1fr 180px; align-items: baseline; } }
.article-cat { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.article-row h3 { color: var(--navy); }
.article-row p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.article-status { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) { .article-status { text-align: right; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 64px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 96px; } }
.form { display: grid; gap: 24px; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; color: var(--navy); padding: 0; }
.field .req { color: var(--teal); }
.field .hint { font-size: 0.875rem; color: var(--muted); margin-top: -4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #A9B3B7; border-radius: var(--radius);
  background: #fff; font: 400 1rem var(--font-body); color: var(--ink);
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; font-weight: 500; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.check-grid { display: grid; gap: 10px; margin-top: 6px; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.975rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.form-status { padding: 18px 22px; border-left: 3px solid var(--teal); background: var(--mist); }
.form-status.is-warning { border-left-color: #B7791F; background: #F7F0E1; }
.form-status.is-error { border-left-color: var(--error); background: #F9E9E9; }
.form-status h3 { font-size: 1.15rem; color: var(--navy); }
.form-status p { margin-top: 6px; color: var(--charcoal); }
.offices { list-style: none; display: grid; gap: 0; }
.offices li { padding: 24px 0; border-top: 1px solid var(--line); }
.offices h3 { font-size: 1.3rem; color: var(--navy); }
.offices p { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: clamp(64px, 7vw, 96px) 0 32px; font-size: 0.95rem; }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; } }
.footer-tagline { font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; line-height: 1.35; color: #fff; margin-top: 24px; max-width: 22ch; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--on-navy); text-decoration: none; }
.footer-col a:hover { color: var(--teal-light); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(238,242,242,0.15); font-size: 0.85rem; }

/* Connected practices on navy */
.connected--dark li { border-top: 1px solid rgba(238,242,242,0.25); padding: 18px 0; }
.connected--dark a { color: #fff !important; font-size: 1.2rem; }
.connected--dark li:hover a { color: var(--teal-light) !important; }
.connected--dark p { color: var(--on-navy-muted); margin-top: 4px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- Practice page: get in touch ---------- */
.get-in-touch { scroll-margin-top: 84px; }
.get-in-touch .form { background: #fff; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.next-steps { list-style: none; counter-reset: s; display: grid; gap: 0; margin-top: 32px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.next-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--bronze); color: var(--bronze-text); display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; }
.next-steps strong { color: var(--navy); font-weight: 600; }
.next-steps span { color: var(--charcoal); }
.quick-contact {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,0.18); border-radius: 48px;
  font: 600 0.95rem var(--font-body); cursor: pointer; box-shadow: 0 10px 28px rgba(14, 30, 48, 0.28);
  transition: opacity .2s, transform .2s, background-color .2s;
}
.quick-contact::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }
.quick-contact:hover { background: var(--teal-dark); }
.quick-contact.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media print { .quick-contact { display: none; } }

/* ---------- Simple homepage ---------- */
.hero-home--simple { min-height: clamp(560px, 82vh, 860px); }
.hero-home--simple h1 { max-width: none; }
.h1-line { display: block; }
.proof-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats--strip { border-top: 0; }
.stats--strip li { border-bottom: 0; padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 759px) {
  .stats--strip { grid-template-columns: 1fr 1fr; }
  .stats--strip li { padding: 24px 12px 24px 0; }
  .stats--strip li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stats--strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats--strip .stat-num { font-size: 2.3rem; }
  .stats--strip .stat-label { font-size: 0.9rem; margin-top: 8px; }
}
.practice-list--simple .practice-row { align-items: center; padding: 30px 0; }
@media (min-width: 900px) {
  .practice-list--simple .practice-row { grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) 32px; }
}
.practice-list--simple .practice-row p { margin-top: 0; color: var(--muted); }
.practice-list--simple .pr-num, .practice-list--simple .pr-arrow { padding-top: 0; }
.practice-list--simple h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }

/* ---------- Who we serve (home) ---------- */
.serve-list { list-style: none; display: grid; gap: 0 40px; }
@media (min-width: 760px) { .serve-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .serve-list { grid-template-columns: repeat(4, 1fr); } }
.serve-list li { border-top: 2px solid var(--bronze); padding: 22px 0 28px; }
.serve-list h3 { color: var(--navy); font-size: 1.3rem; }
.serve-list p { margin-top: 10px; color: var(--charcoal); font-size: 0.975rem; }

/* ---------- Signature services (practice pages) ---------- */
.signature-band .eyebrow { margin-bottom: 18px; }
.signature-list { list-style: none; display: grid; gap: 16px; }
@media (min-width: 860px) { .signature-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.signature-list li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--bronze); padding: 24px 24px 26px; }
.signature-list h3 { color: var(--navy); font-size: 1.3rem; }
.signature-list p { margin-top: 10px; color: var(--charcoal); font-size: 0.975rem; }
h2.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; line-height: 1.4; }

/* ---------- Contact lines, footer bottom links, legal page ---------- */
.contact-lines { margin: 0; display: grid; gap: 0; }
.contact-lines div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-lines dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.contact-lines dd { margin: 0; color: var(--ink); }
.footer-bottom a { color: var(--on-navy-muted); }
.footer-bottom a:hover { color: #fff; }
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; color: var(--navy); margin-top: 40px; }
.legal p, .legal li { color: var(--charcoal); }
.legal ul { padding-left: 20px; margin-top: 12px; display: grid; gap: 6px; }
.legal p { margin-top: 12px; }
