:root {
  --ink: #0f151f;
  --navy: #041531;
  --gold: #c0a262;
  --sand: #e3dbca;
  --paper: #ffffff;
  --mist: #f6f6f6;
  --text: #1d2430;
  --muted: #5b6474;
  --line: #e4e1da;
  --max: 1180px;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* Header */
.topbar { background: var(--navy); color: #c9ccd3; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar .social { display: flex; gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a, .nav button {
  display: block; padding: 10px 14px; background: none; border: 0; color: #fff; cursor: pointer;
  font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 280px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--ink); border-top: 2px solid var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { padding: 12px 20px; letter-spacing: .05em; }
.nav button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 9px 12px; font: 500 13px var(--sans); letter-spacing: .1em; cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); background: var(--ink); display: none; overflow-y: auto; padding: 16px; align-items: stretch; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .nav a, .nav button { padding: 14px 8px; font-size: 15px; width: 100%; text-align: left; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; display: none; }
  .nav li.open > .sub { display: block; }
  .topbar .email-label { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,21,49,.25) 0%, rgba(15,21,31,.85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 72px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); max-width: 14ch; }
.hero p.lead { font-size: 19px; color: #dfe2e8; max-width: 52ch; }
.service-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.18); }
.service-links a {
  display: flex; justify-content: space-between; align-items: end; gap: 12px; min-height: 120px; padding: 22px;
  background: rgba(15,21,31,.55); backdrop-filter: blur(6px); text-decoration: none;
  font: 500 14px/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background .2s;
}
.service-links a span { color: var(--gold); font-size: 20px; }
.service-links a:hover { background: rgba(192,162,98,.9); color: var(--ink); }
.service-links a:hover span { color: var(--ink); }
@media (max-width: 860px) { .service-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .service-links { grid-template-columns: 1fr; } .service-links a { min-height: 76px; } }

/* Page header */
.page-hero { position: relative; color: #fff; background: var(--ink) center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,21,31,.92), rgba(4,21,49,.6)); }
.page-hero .wrap { position: relative; padding: 96px 0 72px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin: 0; }
.crumbs { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #c9ccd3; margin-top: 16px; }
.crumbs a { text-decoration: none; color: var(--gold); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--mist); }
.section.dark { background: var(--ink); color: #d6d9df; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section h2 { font-size: clamp(30px, 4vw, 48px); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.split .media { position: sticky; top: 108px; }
.split .media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split .media::after { content: ""; display: block; height: 4px; width: 96px; background: var(--gold); margin-top: 18px; }
.prose { font-size: 18px; max-width: 66ch; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .media { position: static; order: -1; }
  .split .media img { aspect-ratio: 16/10; }
  .section { padding: 64px 0; }
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.value { border-top: 1px solid var(--gold); padding-top: 22px; }
.value .num { font: 500 13px var(--sans); color: var(--gold); letter-spacing: .12em; }
.value h3 { font-size: 24px; margin-top: 10px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial { margin: 0; padding: 32px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; justify-content: space-between; }
.testimonial blockquote { margin: 0 0 24px; font-size: 17px; color: #e6e8ec; }
.testimonial blockquote::before { content: "\201C"; display: block; font: 64px/0.6 Georgia, serif; color: var(--gold); margin-bottom: 14px; }
.testimonial figcaption { font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Team */
.team { display: grid; gap: 0; }
.member { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.member:first-child { padding-top: 0; }
.member .photo { width: 220px; aspect-ratio: 4/5; object-fit: cover; background: var(--sand); }
.member .initials { width: 220px; aspect-ratio: 4/5; display: grid; place-items: center; background: linear-gradient(160deg, var(--ink), var(--navy)); color: var(--gold); font: 500 54px var(--serif); letter-spacing: .04em; }
.member h2 { font-size: 30px; margin: 0; }
.member .role { font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 8px 0 22px; }
.member .li { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
@media (max-width: 720px) {
  .member { grid-template-columns: 1fr; gap: 24px; }
  .member .photo, .member .initials { width: 160px; }
}

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.card { padding: 28px; background: var(--mist); border-left: 3px solid var(--gold); }
.card h3 { font-size: 20px; margin-bottom: 4px; }
.card .role { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.card p { margin: 0 0 4px; font-size: 16px; }

.links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; gap: 24px; padding: 20px 4px; text-decoration: none; font-size: 18px; color: var(--ink); }
.links a span.src { flex: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.links a:hover { color: var(--navy); background: var(--mist); }

.btn { display: inline-block; padding: 16px 28px; background: var(--gold); color: var(--ink); text-decoration: none; font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--sand); }
.btn.ghost { background: transparent; border: 1px solid currentColor; color: inherit; }

.cta { background: linear-gradient(120deg, var(--navy), var(--ink)); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 72px 0; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; font-size: clamp(26px, 3.5vw, 40px); max-width: 22ch; }

/* Footer */
.site-footer { background: var(--ink); color: #a9afba; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding: 72px 0 48px; }
.site-footer img { height: 30px; width: auto; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font: 500 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; }
.legal { border-top: 1px solid rgba(255,255,255,.08); }
.legal .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; grid-template-columns: none; font-size: 13px; flex-wrap: wrap; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
}
