:root {
  --navy: #0c1c3a;
  --navy-2: #13284f;
  --navy-3: #1b3566;
  --ink: #0f1b33;
  --muted: #5b6577;
  --line: #e4e7ee;
  --soft: #f5f6f9;
  --gold: #b08a57;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.025em; }
em.it { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow.rule::before { content: ""; display: block; width: 96px; height: 1px; background: var(--gold); opacity: .6; margin-bottom: 14px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-line { border: 1px solid #c9cfdb; color: var(--ink); }
.btn-line:hover { border-color: var(--navy); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .25s, box-shadow .25s; border-bottom: 1px solid rgba(255,255,255,.14); }
.top.solid { background: rgba(12, 28, 58, .96); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(5, 12, 30, .25); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.ca-chip { background: #fff; border-radius: 10px; padding: 5px 7px; display: block; }
.ca-logo { display: block; }
.brand strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.brand small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:hover { color: #fff; }

/* hero */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(64, 108, 190, .35), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(176, 138, 87, .16), transparent 60%),
    linear-gradient(160deg, #0a1730 0%, var(--navy) 45%, #10264d 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: 88px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(44px, 7.2vw, 96px); font-weight: 500; }
.hero h1 em.it { font-size: 1.08em; }
.hero-side p { margin: 0 0 28px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 40ch; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.facts dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.facts dd { margin: 4px 0 0; font-weight: 500; }

/* sections */
.band { padding: 120px 0; }
.band.soft { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.about-text { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.5; letter-spacing: -.01em; margin: 0 0 22px; max-width: 34em; }
.about-more { color: var(--muted); margin: 0 0 34px; max-width: 60ch; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(36px, 4.6vw, 60px); color: var(--navy); }
.sec-head p { margin: 14px 0 0; color: var(--muted); max-width: 46ch; }

/* services: navy band, horizontal scroller */
.services-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.services-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 90% 0%, rgba(64, 108, 190, .3), transparent 60%); }
.services-band .sec-head h2 { color: #fff; }
.services-band .sec-head p { color: rgba(255,255,255,.72); }
.services-band .eyebrow.rule::before { opacity: .8; }
.car-nav { display: flex; gap: 12px; flex: none; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 18px; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.car-btn:hover:not(:disabled) { background: #fff; color: var(--navy); }
.car-btn:disabled { opacity: .3; cursor: default; }
.services { position: relative; list-style: none; margin: 0; padding: 4px max(32px, calc((100vw - 1200px) / 2 + 32px)) 24px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(32px, calc((100vw - 1200px) / 2 + 32px)); scrollbar-width: none; counter-reset: s; outline: none; }
.services::-webkit-scrollbar { display: none; }
.services li { counter-increment: s; flex: 0 0 min(360px, 82vw); scroll-snap-align: start; min-height: 300px; display: flex; flex-direction: column; padding: 34px 32px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); transition: background .25s, transform .25s, border-color .25s; }
.services li:hover { background: #fff; color: var(--ink); transform: translateY(-4px); border-color: #fff; }
.services li::before { content: counter(s, decimal-leading-zero); font-size: 13px; letter-spacing: .12em; color: var(--gold); padding-bottom: 56px; }
.services h3 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 30px; letter-spacing: 0; line-height: 1.1; margin-bottom: 12px; }
.services p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }
.services li:hover h3 { color: var(--navy); }
.services li:hover p { color: var(--muted); }

/* team */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person { border-radius: var(--r); background: #fff; border: 1px solid var(--line); padding: 34px; display: flex; gap: 24px; align-items: flex-start; box-shadow: 0 20px 40px -30px rgba(12, 28, 58, .3); }
.mono { flex: none; width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(150deg, var(--navy-3), var(--navy)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 28px; font-weight: 600; }
.person h3 { font-size: 25px; color: var(--navy); }
.person p { margin: 4px 0 0; }
.role { color: var(--gold); font-size: 12px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-top: 8px !important; }
.quals { font-weight: 500; margin-top: 12px !important; }
.mrn { color: var(--muted); font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--r); padding: 44px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(64,108,190,.45), transparent 70%); }
.contact { margin: 0; display: grid; gap: 22px; position: relative; }
.contact dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.contact dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.map { border-radius: var(--r); overflow: hidden; min-height: 380px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* footer */
.foot { background: #080f1f; color: #aab3c5; padding: 72px 0 36px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot h4 { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6f7a90; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: #c9d0dd; }
.foot a:hover { color: #fff; }
.foot-brand strong { display: block; color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.foot-brand p { margin: 0; max-width: 34ch; }
.disclaimer { margin: 30px 0 18px; font-size: 13px; color: #8992a6; max-width: 110ch; }
.disclaimer strong { color: #c9d0dd; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; color: #6f7a90; font-size: 13px; }
.foot-bottom a { color: #8992a6; }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  nav a:not(.btn) { display: none; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .band { padding: 80px 0; }
  .people { grid-template-columns: 1fr; }
  .person { padding: 26px; flex-direction: column; }
  .sec-head { flex-direction: column; align-items: start; }
  .services { padding-inline: 20px; scroll-padding-inline: 20px; }
  .hero { min-height: 92svh; }
  .contact-card { padding: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}
