:root {
  --navy: #14233c;
  --navy-2: #1d3150;
  --gold: #b08d57;
  --gold-soft: #e9dcc6;
  --bg: #faf8f4;
  --bg-alt: #f1ede5;
  --text: #22262e;
  --muted: #5d6573;
  --line: #e2ddd3;
  --gold-dark: #9c7a47;
  --footer: #0e1a2e;
  --ring: rgba(176,141,87,.35);
  --white: #ffffff;
  --radius: 10px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Colour schemes: set data-theme on <html> to switch ===== */
/* Default (no attribute) = Navy & Gold */
[data-theme="teal"] {
  --navy: #0f3d3e; --navy-2: #175253; --gold: #b8703f; --gold-dark: #9a5b30; --gold-soft: #f1dccb;
  --bg: #f7f6f2; --bg-alt: #eaeee9; --line: #dde2dc; --footer: #0a2a2b; --ring: rgba(184,112,63,.35);
}
[data-theme="burgundy"] {
  --navy: #4a1c24; --navy-2: #5f2630; --gold: #b58d4f; --gold-dark: #9a7640; --gold-soft: #eedfc4;
  --bg: #faf7f2; --bg-alt: #f2ebe0; --line: #e5dccd; --footer: #33131a; --ring: rgba(181,141,79,.35);
}
[data-theme="indigo"] {
  --navy: #1e2a5a; --navy-2: #283670; --gold: #d0862a; --gold-dark: #b37020; --gold-soft: #f6e3c4;
  --bg: #f8f8fb; --bg-alt: #eeeff5; --line: #dfe1ea; --footer: #141d40; --ring: rgba(208,134,42,.35);
}
[data-theme="charcoal"] {
  --navy: #1f2527; --navy-2: #2c3437; --gold: #2e8b6e; --gold-dark: #24705a; --gold-soft: #d3ebe1;
  --bg: #f8f9f8; --bg-alt: #eef1ef; --line: #dfe3e0; --footer: #151a1b; --ring: rgba(46,139,110,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.hidden { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .6em;
}

/* Buttons */
.btn {
  display: inline-block; padding: .8em 1.5em; border-radius: 6px;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
  font-family: var(--sans);
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: var(--gold); color: var(--white); }
.btn-light:hover { background: var(--gold-dark); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,242,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.brand-text small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--text); }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta { background: var(--navy); color: var(--white); padding: .5em 1.1em; border-radius: 6px; }
.site-nav .nav-cta:hover { background: var(--navy-2); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white); padding: 96px 0 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border: 1px solid var(--ring); border-radius: 50%;
}
.hero-inner { max-width: 1120px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 72px; border-top: 1px solid rgba(255,255,255,.15); position: relative; z-index: 1;
}
.hero-stats > div { padding: 26px 0; }
.stat { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.85); }
.section-dark .eyebrow { color: var(--gold); }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.prose { color: var(--muted); }
.section-dark .prose { color: rgba(255,255,255,.78); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 28px rgba(20,35,60,.08); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: .95rem; }
.icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--gold-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticks { list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.ticks li { padding-left: 20px; position: relative; margin-bottom: 4px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Audit list */
.audit-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.audit-list li {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: 14px 16px; font-weight: 500; color: var(--navy);
}

/* Quote */
blockquote {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4;
  color: var(--white); margin: 0 0 32px; padding-left: 22px; border-left: 3px solid var(--gold);
}

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; max-width: 760px; }
.partner { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.partner h3 { margin: 0; }
.role { margin: 0; color: var(--gold); font-weight: 600; font-size: .9rem; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; background: var(--navy); color: var(--gold-soft);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem;
}
.partner img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* Contact */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.office p { color: var(--muted); font-size: .95rem; margin-bottom: .5em; }
.placeholder { color: #a0562b !important; }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-form { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--navy); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.contact-form button { justify-self: start; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255,255,255,.7); padding: 48px 0; font-size: .9rem; }
.site-footer strong { color: var(--white); font-family: var(--serif); font-size: 1.05rem; }
.site-footer a { color: var(--gold-soft); }
.site-footer .placeholder { color: #e0a47a !important; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-meta { text-align: right; }

/* Disclaimer */
.disclaimer-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(14,26,46,.75);
  display: grid; place-items: center; padding: 16px;
}
.disclaimer-box {
  background: var(--white); border-radius: 12px; max-width: 580px; width: 100%;
  padding: 32px; max-height: 90vh; overflow-y: auto; border-top: 4px solid var(--gold);
}
.disclaimer-box p, .disclaimer-box li { color: var(--muted); font-size: .93rem; }
.disclaimer-box ul { padding-left: 18px; margin: 0 0 22px; }
.disclaimer-box li { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-row { grid-template-columns: 1fr; gap: 28px; }
  .offices { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .cards, .partners, .audit-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .hero-stats { margin-top: 48px; }
  .stat { font-size: 1.6rem; }
  .container { padding: 0 16px; }
}

.credit { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
.map-link { margin-top: -.3em; margin-bottom: 1em !important; font-size: .85rem !important; }
.map-link a { color: var(--gold); font-weight: 500; }
.contact-direct h3 { margin-top: 0; }
.contact-direct p { margin-bottom: 1.4em; }
@media (max-width: 900px) { .contact-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; } }
.contact-direct { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-direct p { margin-bottom: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: rgba(255,255,255,.65);
}
.footer-bottom p { margin: 0; }
.footer-bottom strong { font-family: var(--sans); font-size: inherit; color: var(--gold-soft); font-weight: 600; }
