:root {
  --navy: #0b1e3f;
  --navy-2: #13294b;
  --charcoal: #1f2937;
  --grey-900: #111827;
  --grey-700: #374151;
  --grey-500: #6b7280;
  --grey-300: #d1d5db;
  --grey-100: #f3f4f6;
  --grey-50: #f8fafc;
  --white: #ffffff;
  --accent: #b08a44;
  --accent-soft: #d9c193;
  --border: #e5e7eb;
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(11,30,63,0.06), 0 8px 24px rgba(11,30,63,0.06);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--grey-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; color: var(--grey-700); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
  display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: inline-block; position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--accent-soft); border-radius: 50%;
}
.nav-links {
  display: flex; gap: 34px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: .92rem; color: var(--charcoal); font-weight: 500;
  letter-spacing: .01em;
}
.nav-links a.active { color: var(--navy); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.nav-cta {
  padding: 10px 18px; border: 1px solid var(--navy); border-radius: var(--radius);
  color: var(--navy); font-size: .88rem; font-weight: 500;
}
.nav-cta:hover { background: var(--navy); color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); margin: 5px auto; transition: transform .2s; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(176,138,68,.08), transparent 60%),
    linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  color: var(--accent); font-weight: 600; margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.15rem; color: var(--grey-700); max-width: 640px; margin-top: 8px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-block; padding: 13px 26px; font-size: .95rem;
  font-weight: 500; border-radius: var(--radius); border: 1px solid var(--navy);
  cursor: pointer; transition: all .18s ease; letter-spacing: .01em;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--grey-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 14px; }

/* Grid */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { color: var(--navy); }
.card .num {
  font-family: var(--serif); color: var(--accent);
  font-size: 1.6rem; font-weight: 500; display: block; margin-bottom: 8px;
}

/* Pillar list */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
.pillar h3 { display: flex; gap: 10px; align-items: baseline; }
.pillar h3::before {
  content: ""; width: 18px; height: 1px; background: var(--accent);
  display: inline-block; transform: translateY(-4px);
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-visual {
  aspect-ratio: 4/3; background: var(--navy);
  border-radius: var(--radius); overflow: hidden; position: relative;
}

/* Team */
.team-grid { gap: 32px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.team-portrait {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative;
}
.team-portrait::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid var(--accent-soft); border-radius: 50%;
}
.team-portrait span {
  font-family: var(--serif); color: var(--white);
  font-size: 1.35rem; font-weight: 500; letter-spacing: .05em;
}
.team-card h3 { margin-bottom: 4px; color: var(--navy); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.team-role {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--accent); font-weight: 600; margin: 0 0 16px;
}
.team-bio { color: var(--grey-700); font-size: .95rem; }
.team-link { font-size: .85rem; color: var(--navy); font-weight: 500; }
.team-link:hover { color: var(--accent); }

/* Table */
table.doc-table { width: 100%; border-collapse: collapse; }
table.doc-table th, table.doc-table td {
  text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
table.doc-table th { color: var(--navy); font-weight: 600; background: var(--grey-50); }
table.doc-table td.status { color: var(--grey-500); }
table.doc-table a.request { color: var(--accent); font-weight: 500; }

/* Form */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; }
label { font-size: .85rem; color: var(--charcoal); font-weight: 500; letter-spacing: .01em; }
input, select, textarea {
  font-family: var(--sans); font-size: 1rem;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--grey-900);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,30,63,.08);
}
textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--grey-700); }
.form .check input { width: auto; margin-top: 3px; }

/* Contact meta */
.contact-meta {
  display: grid; gap: 26px; padding: 32px; background: var(--grey-50);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-meta h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; color: var(--grey-500); margin: 0 0 6px; font-weight: 600; }
.contact-meta p { margin: 0; color: var(--navy); font-size: 1rem; }

/* Disclaimer */
.disclaimer {
  border-top: 1px solid var(--border);
  padding: 20px 0; background: var(--grey-50);
  font-size: .8rem; color: var(--grey-500); text-align: center;
}

/* Legal page */
.legal h2 { margin-top: 2.4em; }
.legal .toc {
  background: var(--grey-50); border: 1px solid var(--border);
  padding: 24px 28px; border-radius: var(--radius); margin-bottom: 48px;
}
.legal .toc ol { margin: 8px 0 0; padding-left: 22px; }
.legal .toc li { padding: 4px 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 72px 0 32px;
  font-size: .9rem;
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h5 {
  color: var(--white); font-family: var(--sans);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .2em;
  margin: 0 0 18px; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .fine {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.55); font-size: .82rem;
}

/* Abstract chart visuals */
.chart-svg { width: 100%; height: 100%; display: block; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section, .hero { padding: 64px 0; }
  .card { padding: 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Focus visibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
