/* ============================================================
   Waterman Consulting Engineers — design system
   Palette sampled from the wordmark: deep navy #002030 + cyan
   #00a0e0. OKLCH throughout. Motif: engineering drawing / BOQ.
   Full-site navy: surfaces are the brand dark; text reads light.
   ============================================================ */

@font-face {
  font-family: 'Pacifico';
  src: url('fonts/pacifico-v23.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --navy:       oklch(0.24 0.05 235);   /* hero / CTA band surface */
  --navy-deep:  oklch(0.19 0.045 236);  /* body, footer */
  --navy-raise: oklch(0.30 0.055 238);  /* raised surface on navy */
  --cyan:       oklch(0.75 0.13 228);   /* bright accent, on navy (high contrast) */
  --cyan-soft:  oklch(0.82 0.10 228);   /* hover cyan */
  --cyan-faint: oklch(0.75 0.13 228 / 0.12); /* blueprint grid lines */
  --cyan-line:  oklch(0.75 0.13 228 / 0.34); /* borders on navy */
  --craft:      oklch(0.63 0.13 232);   /* buttons / solid fills on navy */
  --azure:      oklch(0.75 0.13 228);   /* alias — accent used inline in HTML */

  /* ink (light on navy) */
  --paper:       oklch(0.96 0.006 240); /* headings, light text */
  --ink:         oklch(0.95 0.008 240); /* headings */
  --ink-soft:    oklch(0.86 0.02 238);  /* body text */
  --ink-mute:    oklch(0.75 0.035 238); /* captions / folio */
  --rule:        oklch(0.82 0.04 236 / 0.18); /* hairlines */
  --paper-raise: oklch(0.30 0.055 238); /* alias for raised surface */

  /* misc */
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 12px 32px oklch(0 0 0 / 0.4);
  --radius: 3px;
  --z-nav: 40;
  --z-sheet: 50;
  --z-backdrop: 45;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-soft); }

::selection { background: var(--cyan); color: var(--navy-deep); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* Folio / technical labels */
.folio {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.folio--light { color: oklch(0.75 0.13 228 / 0.85); }

/* Section rules — the dimension tick */
.rule { border: none; height: 1px; background: var(--rule); margin: 0; }
.tick {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--cyan);
  border-radius: 1px;
}
.tick--azure { background: var(--cyan); }

/* Buttons */
.btn {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
  background: var(--craft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.18s ease-out, color 0.18s ease-out;
}
.btn:hover { background: var(--cyan); color: var(--navy-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn--cyan {
  background: var(--cyan);
  color: var(--navy-deep);
}
.btn--cyan:hover { background: var(--cyan-soft); color: var(--navy-deep); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--cyan-line);
}
.btn--ghost:hover { background: oklch(0.75 0.13 228 / 0.14); color: var(--paper); border-color: var(--cyan); }

.btn--line { background: transparent; color: var(--cyan); border-color: var(--rule); }
.btn--line:hover { border-color: var(--cyan); background: transparent; color: var(--cyan-soft); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: oklch(0.19 0.045 236 / 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.4) blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand img { height: 38px; width: auto; }
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand .brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--cyan);
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--cyan-soft); color: var(--navy-deep); }
.nav-cta svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--paper);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle .icon-close { display: none; }

.nav-sheet {
  position: fixed;
  inset: 68px 0 auto 0;
  z-index: var(--z-sheet);
  background: var(--navy);
  border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
  padding: 16px 24px 24px;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a {
  display: block;
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav-sheet a:last-of-type { border-bottom: none; }
.backdrop {
  position: fixed;
  inset: 68px 0 0 0;
  z-index: var(--z-backdrop);
  background: oklch(0 0 0 / 0.5);
}
.backdrop[hidden] { display: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 721px) {
  .nav-sheet, .backdrop { display: none !important; }
}

/* ============ BLUEPRINT GRID (navy surfaces) ============ */
.grid-bg { position: relative; background-color: var(--navy); overflow: hidden; }
.grid-bg > .container { position: relative; }
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--cyan-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan-faint) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000 55%, transparent 100%);
  pointer-events: none;
}

/* ============ HERO (index) ============ */
.hero {
  position: relative;
  color: var(--paper);
  padding: 96px 0 88px;
}
.hero .container { position: relative; }
.hero-overline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero-overline::after { content: ''; width: 64px; height: 1px; background: var(--cyan-line); }

.hero h1 {
  margin: 26px 0 22px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.45rem, 5.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--cyan); }

.hero .lede {
  margin: 0 0 34px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* verification strip — papers over the hero's bottom edge */
.verify { border-bottom: 1px solid var(--rule); }
.verify-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  padding: 22px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.verify-item { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.verify-item .v-dot { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; flex: none; }
.verify-item a { color: inherit; }
.verify-item a:hover { color: var(--cyan); }

/* ============ PAGE HERO (interior) ============ */
.page-hero { color: var(--paper); padding: 72px 0 64px; }
.page-hero h1 {
  margin: 16px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.12;
  color: var(--paper);
  text-wrap: balance;
}
.page-hero .lede { margin: 0; max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }
.page-hero .crumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.page-hero .crumb a { color: inherit; }
.page-hero .crumb a:hover { color: var(--cyan-soft); }
.page-hero .crumb span:last-child { color: var(--ink-soft); }

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section--raise { background: var(--navy-raise); }
.section--navy { background: var(--navy); color: var(--ink-soft); }
.section :is(h1, h2, h3) { color: var(--ink); text-wrap: balance; }
.section--navy :is(h1, h2, h3) { color: var(--paper); }
.section h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section .lede { margin: 0 0 44px; max-width: 62ch; font-size: 1.05rem; }

/* ============ SERVICES (BOQ accordion list) ============ */
.boq { margin: 0; }
.boq-row {
  border-top: 1px solid var(--rule);
}
.boq-row:last-child { border-bottom: 1px solid var(--rule); }
.boq-row > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  transition: color 0.18s ease;
}
.boq-row > summary::-webkit-details-marker { display: none; }
.boq-row > summary:hover h3 { color: var(--cyan); }
.boq-row > summary::before {
  content: '+';
  flex: none;
  order: 2;
  font-family: var(--mono);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--cyan);
  transition: transform 0.2s ease-out;
}
.boq-row[open] > summary::before { transform: rotate(45deg); }
.boq-row[open] > summary { padding-bottom: 8px; }
.boq-name h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; transition: color 0.18s ease; }
.boq-name .boq-meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.boq-desc { font-size: 0.98rem; padding-bottom: 26px; max-width: 62ch; }
.boq-desc p { margin: 0 0 10px; }
.boq-desc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.boq-desc li { padding-left: 20px; position: relative; }
.boq-desc li::before { content: '—'; position: absolute; left: 0; color: var(--cyan); }
.boq-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.boq-link svg { width: 14px; height: 14px; transition: transform 0.18s ease-out; }
.boq-row:hover .boq-link svg { transform: translateX(4px); }
@media (max-width: 720px) {
  .boq-row > summary { padding: 22px 0; gap: 16px; }
  .boq-name h3 { font-size: 1.3rem; }
}

/* ============ WHY (personal engineer + keylines) ============ */
.statement {
  padding-top: 28px;
  border-top: 3px solid var(--cyan);
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.28;
  color: var(--paper);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.statement em { color: var(--cyan); font-style: normal; }

.keylines { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.keyline { border-top: 1px solid var(--rule); padding-top: 18px; }
.keyline h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.25rem; color: var(--paper); }
.keyline p { margin: 0; font-size: 0.98rem; max-width: 34ch; }
@media (max-width: 720px) { .keylines { grid-template-columns: 1fr; gap: 32px; } }

/* ============ CLIENTS ============ */
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 40px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--navy-deep);
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}
.chip:hover { color: var(--paper); border-color: var(--cyan); box-shadow: var(--shadow-sm); }
.chip .chip-folio { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

.client-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 44px;
}
.client-logo {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.client-logo img { height: auto; max-height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.client-logo--light { background: transparent; border-color: transparent; }
.client-logo-word {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: lowercase;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-align: center;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: #161616;
}
@media (max-width: 720px) {
  .client-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-logo, .client-logo--light { background: #fff; border-color: var(--rule); }
  .client-logo { padding: 12px; min-height: 76px; }
  .client-logo img { max-height: 58px; }
}

/* ============ PAST PROJECTS (home slideshow) ============ */
.projects {
  --slide-gap: 24px;
}
.projects-track { overflow: hidden; }
.projects-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.projects-slides.no-anim { transition: none; }
.project-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-right: var(--slide-gap);
}
.project-media {
  display: flex;
  gap: var(--slide-gap);
  height: clamp(300px, 50vw, 480px);
  background: var(--navy-raise);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-frame {
  position: relative;
  flex: 0 1 calc(50% - var(--slide-gap) / 2);
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px);
  background-size: cover;
  background-position: center;
}
.project-frame::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.25);
  transform: scale(1.05);
}
.project-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-frame.solo { margin-inline: auto; }
.project-title {
  margin: 22px 0 0;
  font-family: 'Pacifico', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--paper);
  text-wrap: balance;
}
.project-loc {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.projects-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 34px;
}
.proj-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--cyan-line);
  border-radius: 50%;
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
}
.proj-btn:hover { background: oklch(0.75 0.13 228 / 0.14); border-color: var(--cyan); color: var(--cyan-soft); }
.proj-btn:disabled { opacity: 0.4; cursor: default; }
.proj-btn svg { width: 18px; height: 18px; }
.projects-dots { display: flex; align-items: center; gap: 10px; }
.projects-dots button {
  width: 11px; height: 11px;
  padding: 0;
  border: 1px solid var(--cyan-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}
.projects-dots button[aria-current="true"] { background: var(--cyan); border-color: var(--cyan); transform: scale(1.2); }
.projects-dots button:hover { border-color: var(--cyan); }
@media (max-width: 720px) {
  .projects { --slide-gap: 12px; }
  .project-media { height: clamp(220px, 80vw, 320px); }
}

/* ============ CTA band ============ */
.cta-band { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: start; }
.cta-band h2 { margin-top: 14px; }
.cta-band .contacts { display: grid; gap: 26px; padding-top: 4px; }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.contact-item .ci-icon { width: 40px; height: 40px; border: 1px solid var(--cyan-line); border-radius: var(--radius); display: grid; place-items: center; color: var(--cyan); }
.contact-item .ci-icon svg { width: 18px; height: 18px; }
.contact-item .ci-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.contact-item .ci-value { margin: 3px 0 0; font-weight: 600; color: var(--paper); font-size: 1.02rem; }
.contact-item .ci-value a { color: var(--paper); }
.contact-item .ci-value a:hover { color: var(--cyan); }
@media (max-width: 980px) { .cta-band { grid-template-columns: 1fr; gap: 40px; } }

/* ============ SPEC / DETAILS (expertise page) ============ */
.spec-group { margin-top: 56px; }
.spec-group > h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}
.spec-group > h2 .spec-no {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.spec-group > .lede { color: var(--ink-soft); }
.specs { margin-top: 26px; }
.spec { border-top: 1px solid var(--rule); }
.spec:last-child { border-bottom: 1px solid var(--rule); }
.spec summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--paper);
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary::before {
  content: '';
  flex: none;
  width: 10px; height: 10px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  transition: background 0.18s ease-out;
}
.spec[open] summary::before { background: var(--cyan); }
.spec summary .plus { margin-left: auto; font-family: var(--sans); font-size: 1rem; color: var(--cyan); transition: transform 0.18s ease-out; }
.spec[open] summary .plus { transform: rotate(45deg); }
.spec__body { padding: 0 4px 22px; max-width: 68ch; }
.spec__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.spec__body li { padding-left: 18px; position: relative; }
.spec__body li::before { content: '—'; position: absolute; left: 0; color: var(--cyan); }
.spec__body p { margin: 0 0 10px; }

/* register / index box */
/* ============ TEAM ============ */
.lead-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lead-col > * > p { max-width: 62ch; }
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 20px;
}
.person .photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-raise);
  border: 1px solid var(--rule);
  margin-bottom: 18px;
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo.photo--fit img { object-fit: contain; padding: 12px; }
.person h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 1.25rem; color: var(--paper); }
.person .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.person .quals { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-mute); }
.person .quals + .role { margin-top: 6px; }
.person p.bio { margin: 0; font-size: 0.95rem; }
.person .bio-list { margin: 8px 0 0; padding: 0 0 0 18px; list-style: none; display: grid; gap: 4px; font-size: 0.95rem; }
.person .bio-list li { position: relative; }
.person .bio-list li::before { content: '—'; position: absolute; left: -18px; color: var(--cyan); }
.person-info summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}
.person-info summary::-webkit-details-marker { display: none; }
.person-info summary h3 { margin: 0; }
.person-info summary .plus { font-family: var(--sans); font-size: 1rem; color: var(--cyan); transition: transform 0.18s ease-out; line-height: 1; }
.person-info[open] summary .plus { transform: rotate(45deg); }
.person-info[open] > :not(summary) { margin-top: 12px; }
.person--admin { opacity: 0.88; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--paper);
  background: var(--navy);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.field select option { color: var(--navy-deep); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: 1; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px oklch(0.75 0.13 228 / 0.18);
}
.form .hint { font-size: 0.85rem; color: var(--ink-mute); }
.form .hint a { color: var(--cyan); }

.details-panel { display: grid; gap: 34px; }
.details-panel .dl { display: grid; gap: 6px; }
.details-panel .dl dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.details-panel .dl dd { margin: 0; font-weight: 600; color: var(--paper); }
.details-panel .dl dd a { font-weight: 600; }

.map-wrap { margin-top: 72px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.7); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: var(--ink-soft); border-top: 1px solid var(--rule); }
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--cyan); }
.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
  padding: 72px 24px 56px;
  max-width: 1120px;
  margin: 0 auto;
}
.footer .f-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer p.f-addr { margin: 0; font-size: 0.95rem; line-height: 1.6; max-width: 30ch; }
.footer-meta {
  border-top: 1px solid oklch(0.75 0.13 228 / 0.16);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 60px 24px 40px; } }

/* ============ MISC ============ */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
body.nav-open { overflow: hidden; }

@media (max-width: 720px) {
  .hero { padding: 64px 0 60px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 52px 0 48px; }
  .lead-col { grid-template-columns: 1fr; gap: 24px; }
}

@media (min-width: 981px) {
  .team { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 721px) and (max-width: 980px) {
  .team { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
@media (min-width: 461px) and (max-width: 720px) {
  .team { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 460px) {
  .team { grid-template-columns: 1fr; }
}