:root {
  color-scheme: light;
  --ink: #131e2b;
  --navy: #101f2f;
  --soft: #41566a;
  --paper: #f1f4f6;
  --white: #fbfcfc;
  --steel: #bddceb;
  --line: #a3b4c0;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1, h2, p, dl, dd, ul, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
[id] { scroll-margin-block-start: 1.2rem; }
.frame { width: min(100% - clamp(1.85rem, 7.8vw, 9rem), 84rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; inset: .65rem auto auto .65rem; transform: translateY(-180%); padding: .6rem .9rem; background: var(--navy); color: white; }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem clamp(1.5rem, 4vw, 3.7rem); padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--navy); text-decoration: none; font-size: 1.22rem; font-weight: 780; line-height: 1.02; }
.brand small { display: block; color: var(--soft); margin-top: .2rem; font-size: .56em; letter-spacing: .09em; text-transform: uppercase; }
.symbol { width: 1.62rem; height: 1.62rem; border: 2px solid var(--navy); border-right: 0; background: linear-gradient(148deg,transparent 46%,var(--navy) 47% 53%,transparent 54%); }
nav { display: flex; flex-wrap: wrap; gap: .4rem clamp(.8rem, 3.5vw, 2.6rem); }
nav a { text-underline-offset: .25em; text-decoration-thickness: 1px; font-size: .95rem; font-weight: 680; }
.hero { padding-block: clamp(1.6rem,4.1vw,3.9rem); background: var(--navy); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: clamp(1.35rem,3vw,2.6rem); }
.sector { color: var(--steel); font-size: .79rem; font-weight: 690; text-transform: uppercase; letter-spacing: .09em; }
h1, h2 { font-size: clamp(2.05rem,4.7vw,4.55rem); font-weight: 520; line-height: 1.06; text-wrap: balance; }
h1 { margin-top: .55rem; max-width: 21ch; }
.hero-title > p:last-child { max-width: 62ch; color: #e1eaf0; margin-top: .65rem; }
.mission-record { color: var(--ink); background: var(--white); padding: clamp(1rem,3vw,2.5rem); }
.record-heading p, .mission-record dt { color: var(--soft); font: 680 .78rem/1.4 ui-monospace, Menlo, monospace; text-transform: uppercase; }
.mission-record h2 { margin-block: .4rem .85rem; font-size: clamp(1.5rem,3.2vw,3.15rem); }
.mission-record dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem clamp(1.05rem,3.2vw,3rem); }
.mission-record dl > div { border-top: 1px solid var(--line); padding-top: .55rem; }
.mission-record dd { max-width: 36ch; margin-top: .23rem; }
.mission-record a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; margin-top: .8rem; font-weight: 720; text-underline-offset: .25em; }
.field-note { grid-area: 1 / 2 / span 2; align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; margin: 0; }
.field-note img { min-height: 0; height: 100%; object-fit: cover; object-position: center 55%; }
.field-note figcaption { color: #e1eaf0; margin-top: .55rem; font-size: .82rem; }
.expertise, .cases, .team { padding-block: clamp(2.65rem,6.8vw,6.1rem); }
.heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.52fr); gap: 1rem clamp(1.5rem,6vw,5rem); align-items: end; margin-bottom: 1.3rem; }
.heading > p { color: var(--soft); max-width: 42ch; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services > div { padding: 1.15rem clamp(.65rem,2.6vw,2rem); }
.services > div:first-child { padding-left: 0; }
.services > div + div { border-left: 1px solid var(--line); }
.services dt { font-size: clamp(1.28rem,2.35vw,2.27rem); line-height: 1.06; font-weight: 700; }
.services dd { max-width: 36ch; color: var(--soft); margin-top: .6rem; }
.cases { background: var(--paper); }
.case-list { border-top: 1px solid var(--line); }
.case-list details { border-bottom: 1px solid var(--line); }
.case-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .9rem; list-style: none; cursor: pointer; }
.case-list summary::-webkit-details-marker { display: none; }
.case-list summary:hover strong { text-decoration: underline; text-underline-offset: .19em; }
.case-list summary small, .case-list summary strong { display: block; }
.case-list summary small { color: var(--soft); font-weight: 650; }
.case-list summary strong { margin-top: .15rem; font-size: clamp(1.12rem,2vw,1.85rem); line-height: 1.2; font-weight: 730; }
.case-list details p { max-width: 58ch; color: var(--soft); padding-bottom: 1rem; }
.toggle::before { content: "+"; display: inline-grid; place-items: center; width: 1.55em; height: 1.55em; border: 1px solid var(--line); font-size: 1.34rem; }
details[open] .toggle::before { content: "−"; }
.team ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; padding: 0; list-style: none; }
.team li { display: grid; border-top: 1px solid var(--line); padding-block: .72rem; }
.team li strong { line-height: 1.2; font-size: 1.22rem; }
.team li span { color: var(--soft); }
.footer { background: var(--navy); color: var(--white); }
.footer .bar { padding-block: 1.45rem; align-items: end; }
.footer a { text-underline-offset: .23em; }
@media (max-width: 49rem) {
  .heading { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .field-note { grid-area: auto; grid-template-rows: auto auto; }
  .field-note img { height: clamp(9rem, 42vw, 15rem); }
}
@media (max-width: 35rem) {
  .services, .mission-record dl { grid-template-columns: 1fr; }
  .services > div { padding-inline: 0; }
  .services > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 27rem) { .team ul { grid-template-columns: 1fr; } }
