/* Banneker & Cox Holdings LLC
   Deep navy, antique gold, ivory. Thin rules instead of boxes, serif type, quiet motion. */

:root {
  --ink: #03070f;          /* deepest base */
  --navy-950: #050c1a;
  --navy-900: #081227;
  --navy-800: #0c1a35;
  --navy-700: #13264a;
  --gold: #c5a260;
  --gold-light: #e3cb94;
  --gold-deep: #8f7038;
  --gold-text: #7a5c24;    /* gold for text on ivory, 4.9:1 */
  --ivory: #f3ede1;
  --paper: #f6f2ea;
  --mist: #aab3c2;         /* body text on navy, 8:1 on --navy-900 */
  --mist-2: #8591a5;
  --line: rgba(197, 162, 96, .32);
  --line-soft: rgba(197, 162, 96, .16);
  --text-dark: #0b1426;
  --crimson: #6b1a26;      /* civic accent, used sparingly */

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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 { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--mist);
  font: 400 19px/1.65 var(--serif);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-family: var(--caps); font-size: 13px; letter-spacing: .1em; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ type */
h1, h2, h3 { color: var(--ivory); font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.2vw, 54px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.gold { color: var(--gold-light); }
em, .it { font-style: italic; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.6; color: #c4cbd7; max-width: 36em; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font: 500 13px/1 var(--caps); letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: var(--gold); }

.rule { width: 72px; height: 1px; background: var(--gold); border: 0; margin: 28px 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font: 500 13px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); color: var(--gold-light);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--ink); border-color: var(--gold); }
.btn-solid:hover { background: var(--ivory); border-color: var(--ivory); }
.btn-line:hover { background: rgba(197, 162, 96, .1); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--gold); padding-bottom: 6px; border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link:hover { color: var(--gold-light); border-color: var(--gold); }
.link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ header */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line-soft); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; font-size: 15px; }
.topbar .motto { font-style: italic; color: var(--mist); }
.topbar .contact { display: flex; gap: 28px; }
.topbar a { text-decoration: none; color: var(--mist); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 12, 26, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(5, 12, 26, .82); backdrop-filter: saturate(1.3) blur(14px); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 92px; }

.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.mono { width: 58px; height: 58px; flex: none; }
.brand-divider { width: 1px; height: 46px; background: var(--gold); opacity: .7; }
.brand-name { display: flex; flex-direction: column; gap: 6px; }
.brand-name b { font: 500 25px/1 var(--caps); letter-spacing: .06em; color: var(--ivory); white-space: nowrap; }
.brand-name span { font: 500 12px/1 var(--caps); letter-spacing: .5em; color: var(--gold); white-space: nowrap; }

.nav { display: flex; align-items: stretch; gap: 4px; }
.nav > a, .nav .dd > button {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  font: 500 12.5px/1 var(--caps); letter-spacing: .18em; text-transform: uppercase;
  color: #d5d9e1; text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s;
}
.nav > a::after, .nav .dd > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover, .nav .dd > button:hover, .nav [aria-current="page"] { color: var(--gold-light); }
.nav > a:hover::after, .nav .dd > button:hover::after, .nav [aria-current="page"]::after { transform: scaleX(1); }
.nav .dd > button svg { width: 12px; height: 12px; transition: transform .25s; }
.nav .dd > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .btn { padding: 13px 20px; margin-left: 10px; }

.dd { position: relative; display: flex; }
.dd-panel {
  position: absolute; top: calc(100% + 16px); left: 50%; width: 380px; transform: translate(-50%, 6px);
  background: var(--navy-900); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  padding: 22px 24px 18px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dd-panel::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-soft); pointer-events: none; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-panel .dd-title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font: 500 12px/1 var(--caps); letter-spacing: .3em; color: var(--gold); }
.dd-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; }
.dd-item b { display: block; font-weight: 500; font-size: 21px; color: var(--ivory); line-height: 1.2; }
.dd-item i { color: var(--gold); font-size: 16px; }
.dd-item svg { width: 16px; height: 16px; color: var(--gold); transition: transform .25s; }
.dd-item:hover svg { transform: translateX(3px); }
.dd-foot { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-style: italic; font-size: 16px; color: var(--mist); text-decoration: none; }
.dd-foot:hover { color: var(--gold-light); }

.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--gold-light); width: 48px; height: 48px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 78% 30%, #132a52 0%, var(--navy-900) 45%, var(--ink) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(90px, 12vw, 150px) 0 clamp(110px, 13vw, 170px); }
.hero h1 { max-width: 12em; }
.hero h1 .gold { font-style: italic; display: block; }
.hero .lead { margin-top: 0; }
.hero-art { position: absolute; z-index: 1; right: -2%; bottom: 0; width: min(70%, 1080px); color: var(--gold); pointer-events: none; }
.hero-art::before { content: ""; position: absolute; inset: 0 auto 0 -1px; width: 40%; background: linear-gradient(90deg, var(--navy-900), transparent); z-index: 1; }
.hero-glow { position: absolute; z-index: 0; right: 12%; top: 18%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 203, 148, .16), transparent 65%); filter: blur(10px); }
.hero-stars { position: absolute; inset: 0; z-index: 0; opacity: .5; background-image: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 15%, #fff6, transparent), radial-gradient(1px 1px at 85% 40%, #fff5, transparent), radial-gradient(1px 1px at 55% 22%, #fff4, transparent), radial-gradient(1px 1px at 92% 12%, #fff6, transparent), radial-gradient(1px 1px at 63% 8%, #fff4, transparent); }

/* page head (inner pages) */
.page-head { position: relative; overflow: hidden; background: radial-gradient(100% 120% at 85% 0%, #132a52 0%, var(--navy-900) 50%, var(--ink) 100%); border-bottom: 1px solid var(--line); }
.page-head .wrap { position: relative; z-index: 2; padding: clamp(80px, 10vw, 120px) 0 clamp(70px, 8vw, 100px); }
.page-head h1 { font-size: clamp(42px, 5.4vw, 70px); max-width: 14em; }
.page-head .lead { margin-top: 22px; }
.page-head .hero-art { width: min(52%, 760px); opacity: .55; }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font: 500 11.5px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--mist-2); }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section.deep { background: var(--ink); }
.section.mid { background: var(--navy-900); }
.section.paper { background: var(--paper); color: #3b4557; }
.section.paper h2, .section.paper h3 { color: var(--text-dark); }
.section.paper .eyebrow { color: var(--gold-text); }
.section.paper .eyebrow::before, .section.paper .eyebrow::after { background: var(--gold-deep); }
.section.paper .lead { color: #3b4557; }
.section.paper .link { color: var(--gold-text); border-color: rgba(122, 92, 36, .35); }
.section.paper .link:hover { color: var(--text-dark); border-color: var(--gold-text); }
.head-center { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.head-center .lead { margin: 20px auto 0; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }

/* portfolio */
.portfolio { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.portfolio-intro { border-right: 1px solid var(--line); padding-right: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.portfolio-intro p { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; color: var(--ivory); margin: 0; }

.company-card { position: relative; display: grid; grid-template-columns: 5fr 7fr; background: var(--paper); color: #3b4557; text-decoration: none; overflow: hidden; }
.company-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(143, 112, 56, .45); pointer-events: none; }
.company-card picture, .company-card img { height: 100%; width: 100%; object-fit: cover; }
.company-card .media { position: relative; min-height: 260px; background: var(--navy-800); }
.company-card .media img { filter: saturate(.85) contrast(1.05); transition: transform 1.2s var(--ease); }
.company-card:hover .media img { transform: scale(1.04); }
.company-card .body { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.company-card h3 { color: var(--text-dark); font-size: clamp(26px, 2.6vw, 34px); }
.company-card .sector { font-style: italic; color: var(--gold-text); font-size: 21px; margin-bottom: 10px; }
.company-card p { margin: 0 0 18px; font-size: 18px; }
.company-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(143, 112, 56, .3); }
.badge { display: inline-block; padding: 9px 14px; background: var(--navy-900); color: var(--gold-light); font: 500 11.5px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; }
.company-card .link { color: var(--gold-text); border-color: rgba(122, 92, 36, .35); }

/* values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { padding: 40px 26px 38px; text-align: center; position: relative; }
.value + .value::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 1px; background: var(--line); }
.value svg { width: 40px; height: 40px; margin: 0 auto 20px; color: var(--gold); }
.value h3 { font-size: 24px; margin-bottom: 6px; }
.value p { margin: 0; font-style: italic; font-size: 17px; color: var(--mist); }

/* pillars (approach) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: p; }
.pillar { padding: 8px clamp(20px, 3vw, 40px) 0; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .num { font: 500 13px/1 var(--caps); letter-spacing: .3em; color: var(--gold); display: block; margin-bottom: 22px; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { margin: 0; }
.section.paper .pillar { border-color: rgba(143, 112, 56, .3); }
.section.paper .pillar .num { color: var(--gold-text); }

/* quote / statement */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement blockquote { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; color: var(--ivory); font-style: italic; }
.statement .mark { width: 44px; height: 44px; margin: 0 auto 30px; color: var(--gold); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--ink)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta .wrap { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; padding: clamp(60px, 8vw, 96px) 0; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(30px, 3.4vw, 44px); }
.cta p { margin: 14px 0 0; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid var(--line-soft); border-radius: 50%; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border: 1px solid var(--line-soft); border-radius: 50%; }

/* detail list */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 11.5px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--ivory); font-size: 20px; }
.section.paper .facts div { border-color: rgba(143, 112, 56, .3); }
.section.paper .facts dt { color: var(--gold-text); }
.section.paper .facts dd { color: var(--text-dark); }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 16px 0 16px 36px; border-top: 1px solid var(--line); color: var(--ivory); font-size: 20px; line-height: 1.45; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }
.checks li span { display: block; color: var(--mist); font-size: 17px; margin-top: 4px; }
.section.paper .checks li { color: var(--text-dark); border-color: rgba(143, 112, 56, .3); }
.section.paper .checks li span { color: #4b5567; }
.section.paper .checks li::before { border-color: var(--gold-text); }

.framed { position: relative; padding: clamp(32px, 4vw, 52px); background: var(--navy-900); border: 1px solid var(--line); }
.framed::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-soft); pointer-events: none; }
.section.mid .framed { background: var(--navy-950); }

/* contact */
.contact-list { display: grid; gap: 0; margin: 0; }
.contact-list div { padding: 24px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font: 500 11.5px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.contact-list dd { margin: 0; font-size: 24px; color: var(--ivory); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.contact-list a:hover { color: var(--gold-light); border-color: var(--gold); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 11.5px/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ivory); font: 400 20px/1.4 var(--serif); border-radius: 0; transition: border-color .2s;
}
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) right 6px center / 7px 7px no-repeat, linear-gradient(-45deg, transparent 50%, var(--gold) 50%) right 0 center / 7px 7px no-repeat; }
.field select option { background: var(--navy-900); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-size: 16px; font-style: italic; color: var(--mist-2); margin: 0; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-soft); }
.foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 72px 0 56px; }
.foot-main .foot-h { margin: 0 0 18px; font: 500 12px/1 var(--caps); letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.foot-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-main a { text-decoration: none; color: var(--mist); transition: color .2s; }
.foot-main a:hover { color: var(--gold-light); }
.foot-main .brand { margin-bottom: 22px; }
.foot-main p { font-size: 17px; max-width: 26em; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--mist-2); }

/* ------------------------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.3s; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1120px) {
  .topbar .motto { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 92px 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 18px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav .dd > button { padding: 20px 0; font-size: 14px; border-bottom: 1px solid var(--line-soft); justify-content: space-between; width: 100%; }
  .nav > a::after, .nav .dd > button::after { display: none; }
  .dd { flex-direction: column; }
  .dd-panel { position: static; width: auto; transform: none; display: none; opacity: 1; visibility: visible; box-shadow: none; margin: 8px 0 12px; }
  .dd.open .dd-panel { display: block; transform: none; }
  .nav .btn { margin: 26px 0 0; justify-content: center; }
  .hero-art { width: 100%; right: 0; opacity: .35; }
  .hero-art::before { display: none; }
}
@media (max-width: 900px) {
  .split, .split.even, .portfolio, .cta .wrap, .foot-main { grid-template-columns: 1fr; }
  .portfolio-intro { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value + .value::before { display: none; }
  .value { border-top: 1px solid var(--line-soft); }
  .value:nth-child(-n+2) { border-top: 0; }
  .value:last-child { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; gap: 36px; }
  .pillar, .pillar:first-child { border-left: 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
  .section.paper .pillar { border-color: rgba(143, 112, 56, .3); }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .topbar { display: none; }
  .site-header .wrap { min-height: 76px; }
  .nav { inset: 76px 0 0; }
  .mono { width: 46px; height: 46px; }
  .brand { gap: 12px; }
  .brand-divider { height: 36px; }
  .brand-name b { font-size: 18px; }
  .brand-name span { font-size: 9.5px; letter-spacing: .42em; }
  .company-card { grid-template-columns: 1fr; }
  .company-card .media { min-height: 200px; }
  .facts, .form-row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value, .value:nth-child(-n+2) { border-top: 1px solid var(--line-soft); }
  .value:first-child { border-top: 0; }
  .btn { padding: 15px 22px; }
}

/* ================================================================== civic layer */
/* Header: a gold rule over a thin crimson rule, like a formal letterhead. */
.site-header { border-bottom: 1px solid var(--gold); box-shadow: 0 3px 0 -1px var(--crimson); }
.topbar { background: #02050b; }

/* Seal */
.seal { color: var(--gold); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.statement-seal { width: 132px; height: 132px; margin: 0 auto 34px; opacity: .95; }
.portrait-seal { width: 60%; height: auto; opacity: .55; }

/* At a glance */
.glance { background: var(--ink); border-bottom: 1px solid var(--line); }
.glance dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.glance dl div { padding: 30px 28px; border-left: 1px solid var(--line-soft); }
.glance dl div:first-child { border-left: 0; padding-left: 0; }
.glance dt { font: 500 11px/1 var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.glance dd { margin: 0; color: var(--ivory); font-size: 19px; line-height: 1.35; }

/* Directory */
.directory { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dir-card { position: relative; display: block; padding: 36px 34px 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .35s var(--ease); }
.dir-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.dir-card:hover { background: rgba(197, 162, 96, .05); }
.dir-card:hover::before { transform: scaleX(1); }
.dir-card .num { font: 500 12px/1 var(--caps); letter-spacing: .3em; color: var(--gold); }
.dir-card h3 { margin: 18px 0 10px; font-size: 26px; }
.dir-card p { margin: 0; font-size: 17px; }
.dir-card svg { position: absolute; left: 34px; bottom: 28px; width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.dir-card:hover svg { transform: translateX(4px); }

/* Leadership */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.leader { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--line); background: var(--navy-950); }
.portrait { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--ink)); border-right: 1px solid var(--line); min-height: 240px; }
.leader-body { padding: 32px 30px; }
.leader .role { font: 500 12px/1.4 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 8px 0 16px; }
.tbc { color: var(--mist-2) !important; font-style: italic; }
.section.paper .tbc { color: #6b7385 !important; }

/* Report a concern */
.report { display: grid; grid-template-columns: 1.4fr auto; gap: 36px; align-items: center; }

/* Legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 44px 0 12px; }
.prose p { color: #3b4557; }
.prose a { color: var(--gold-text); }
.prose .updated { font: 500 11.5px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }

.foot-main.four { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

@media (max-width: 900px) {
  .glance dl { grid-template-columns: 1fr 1fr; }
  .glance dl div:nth-child(3) { border-left: 0; padding-left: 0; }
  .glance dl div { border-top: 1px solid var(--line-soft); }
  .glance dl div:nth-child(-n+2) { border-top: 0; }
  .directory { grid-template-columns: 1fr 1fr; }
  .leaders, .report, .foot-main.four { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .glance dl { grid-template-columns: 1fr; }
  .glance dl div, .glance dl div:nth-child(3) { border-left: 0; padding: 20px 0; }
  .glance dl div:nth-child(2) { border-top: 1px solid var(--line-soft); }
  .directory { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .portrait { border-right: 0; border-bottom: 1px solid var(--line); min-height: 180px; }
}

.company-card .media.lanes { background: #06101f; }
.company-card .media.lanes img { object-fit: cover; object-position: 88% 50%; filter: none; }

/* Header / footer logo is the round seal */
.brand .seal.mono { width: 66px; height: 66px; }
@media (max-width: 640px) { .brand .seal.mono { width: 52px; height: 52px; } }

/* ================================================================== hero photograph */
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 15, .95) 0%, rgba(5, 12, 26, .84) 36%, rgba(5, 12, 26, .45) 68%, rgba(5, 12, 26, .25) 100%),
    linear-gradient(0deg, rgba(3, 7, 15, .75), transparent 45%); }
.page-head .hero-photo img { object-position: 70% 58%; }
.page-head .hero-photo::after { background:
    linear-gradient(90deg, rgba(3, 7, 15, .96) 0%, rgba(5, 12, 26, .88) 45%, rgba(5, 12, 26, .6) 100%),
    linear-gradient(0deg, rgba(3, 7, 15, .8), transparent 60%); }
@media (max-width: 900px) {
  .hero-photo img { object-position: 78% 60%; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(3, 7, 15, .96) 0%, rgba(5, 12, 26, .82) 55%, rgba(5, 12, 26, .55) 100%); }
}

/* ================================================================== motion */
/* Everything here is movement or fading only, and the reduced-motion rule near the top switches it all off. */

/* 1. Hero: the photo settles from a slight zoom while the text arrives in sequence (reveal delays). */
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
.hero-photo img { animation: settle 11s cubic-bezier(.16, .7, .2, 1) both; transform-origin: 70% 60%; }
.page-head .hero-photo img { animation-duration: 8s; }

/* 2. Gold rules draw in from the text outward. */
.js .rule.reveal { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease), opacity .6s var(--ease); }
.js .rule.reveal.in { transform: none; }
.js .eyebrow.reveal::before, .js .eyebrow.reveal::after { transform: scaleX(0); transition: transform 1.2s var(--ease) .25s; }
.js .eyebrow.reveal::before { transform-origin: left; }
.js .eyebrow.center.reveal::before { transform-origin: right; }
.js .eyebrow.reveal::after { transform-origin: left; }
.js .eyebrow.reveal.in::before, .js .eyebrow.reveal.in::after { transform: none; }

/* 3. Lane map: routes trace out from Lanham once the card is in view. */
.lane-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.lane-map .routes { stroke-opacity: .6; stroke-width: 1; }
.js .company-card.reveal .routes path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(500ms + var(--i) * 28ms); }
.js .company-card.reveal.in .routes path { stroke-dashoffset: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(2.6); opacity: 0; } 71% { transform: scale(1); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.js .company-card.reveal.in .hub-ring { transform-box: fill-box; transform-origin: center; animation: ping 1.8s var(--ease) .3s 1 both; }

/* 4. Soft crossfade between pages where the browser supports it; the header stays put. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* 5. Header tightens and turns more translucent once the page scrolls. */
.site-header { transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.site-header .wrap, .brand .seal.mono, .brand-divider, .brand-name b { transition: min-height .4s var(--ease), width .4s var(--ease), height .4s var(--ease), font-size .4s var(--ease); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.scrolled { background-color: rgba(5, 12, 26, .9); }
}
.site-header.scrolled { box-shadow: 0 3px 0 -1px var(--crimson), 0 18px 40px -24px rgba(0, 0, 0, .8); }
@media (min-width: 1121px) {
  .site-header.scrolled .wrap { min-height: 72px; }
  .site-header.scrolled .brand .seal.mono { width: 52px; height: 52px; }
  .site-header.scrolled .brand-divider { height: 36px; }
  .site-header.scrolled .brand-name b { font-size: 22px; }
}
.lane-map { transition: transform 1.2s var(--ease); transform-origin: 88% 50%; }
.company-card:hover .lane-map { transform: scale(1.04); }

/* Swapping straight between header dropdowns skips the fade so nothing lingers. */
.dd.instant .dd-panel { transition: none; }

/* Styled select (desktop). Matches the header dropdown panels. */
.select { position: relative; }
.select-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ivory);
  font: 400 20px/1.4 var(--serif); text-align: left; cursor: pointer; transition: border-color .2s;
}
.select-btn svg { width: 16px; height: 16px; color: var(--gold); flex: none; transition: transform .25s var(--ease); }
.select-btn:hover, .select-btn:focus-visible, .select.open .select-btn { outline: none; border-color: var(--gold-light); }
.select.open .select-btn svg { transform: rotate(180deg); }
.select-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 10px; list-style: none;
  background: var(--navy-900); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.select-list::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--line-soft); pointer-events: none; }
.select.open .select-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
.select-list:focus { outline: none; }
.select-list li {
  position: relative; padding: 12px 16px 12px 36px; font: 400 19px/1.35 var(--serif); color: #c4cbd7; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.select-list li.active { background: rgba(197, 162, 96, .1); color: var(--ivory); }
.select-list li[aria-selected="true"] { color: var(--gold-light); }
.select-list li[aria-selected="true"]::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 6px; height: 6px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.select-list:focus-visible li.active { box-shadow: inset 2px 0 0 var(--gold); }

/* Seal draws itself: rings trace from the top, the ring lettering turns into place, then the monogram settles.
   The header seal plays once per visit; the others play when they scroll into view. */
/* The ring lettering and the BC are animated by site.js, one frame at a time, so every browser redraws
   them as sharp vectors (CSS transitions on SVG get cached as soft layers that snap at the end). */
.seal.anim .s-rings circle { transform-box: view-box; transform-origin: 50% 50%; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); }
/* Transitions live on the drawn state only, so hiding is instant and only the draw-in animates. */
.seal.anim.drawn .s-rings circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.6, 0, .2, 1); }
.seal.anim.drawn .s-rings circle:nth-child(2) { transition-delay: .12s; }
.seal.anim.drawn .s-rings circle:nth-child(3) { transition-delay: .3s; }
.seal.anim.drawn .s-rings circle:nth-child(4) { transition-delay: .42s; }

/* Scrollbars in the site's colours instead of the browser's light default. */
html { color-scheme: dark; scrollbar-color: #3a3324 var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3324; border: 3px solid var(--ink); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep, #8f7038); }
.select-list, .nav { scrollbar-width: thin; }

/* Contact in the header: an outlined button, not a nav link (no underline, no grey hover box). */
.nav > a.btn { border: 1px solid rgba(197, 162, 96, .7); padding: 13px 22px; margin-left: 14px; color: var(--gold-light); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.nav > a.btn::after { display: none; }
.nav > a.btn:hover, .nav > a.btn:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); outline: none; }
.nav > a.btn[aria-current="page"] { background: rgba(197, 162, 96, .14); border-color: var(--gold); color: var(--gold-light); }
.nav > a.btn[aria-current="page"]:hover, .nav > a.btn[aria-current="page"]:focus-visible { background: var(--gold); color: var(--ink); }
@media (max-width: 1120px) { .nav > a.btn { margin: 26px 0 0; padding: 18px 22px; justify-content: center; border-bottom: 1px solid rgba(197, 162, 96, .7); } }

/* Below desktop the header's blur would trap the fixed mobile menu inside the header box, so use a solid header there. */
@media (max-width: 1120px) {
  .site-header, .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(5, 12, 26, .98); }
}

/* Form fields: a 2px gold underline on focus, so keyboard focus is clearly visible. */
.field input:focus, .field textarea:focus { box-shadow: 0 1px 0 0 var(--gold-light); }
.select-btn:focus-visible { box-shadow: 0 1px 0 0 var(--gold-light); }
main:focus { outline: none; }
