:root {
  --navy: #142039;
  --navy-deep: #0d1628;
  --gold: #d8a64e;
  --gold-light: #e6c27a;
  --ink: #1d2433;
  --muted: #5a6478;
  --paper: #ffffff;
  --alt: #f8f5ec;
  --line: #e6e0d0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy-deep); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  font-family: var(--serif); font-weight: 700; letter-spacing: 0.08em;
  border: 2px solid var(--gold); color: var(--gold-light);
  padding: 6px 9px; font-size: 1rem;
}
.brand-name { font-family: var(--serif); font-size: 0.95rem; line-height: 1.2; }

.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.nav a { color: #e8ecf5; text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  padding: 13px 26px; border-radius: 3px; text-decoration: none;
  font-weight: 600; border: 2px solid var(--gold);
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-small { padding: 7px 16px; font-size: 0.9rem; color: var(--navy-deep) !important; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 96px 0 104px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem;
  color: var(--gold-light); margin: 0 0 18px; font-weight: 600;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.2;
  margin: 0 0 22px; max-width: 24ch;
}
.lead { font-size: 1.2rem; max-width: 52ch; color: #d6dcea; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-logo { width: 100%; height: auto; max-width: 420px; justify-self: center; border-radius: 4px; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--alt); }
h2 {
  font-family: var(--serif); color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px;
}
h3 { font-family: var(--serif); color: var(--navy); margin: 0 0 8px; font-size: 1.25rem; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0 0 36px; }
.center .section-intro { margin-inline: auto; }
.mission { font-size: 1.15rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); padding: 26px; border-radius: 3px;
}
.card p { margin: 0; color: var(--muted); }
.card-line { border-top-color: var(--navy); }

/* CTA */
.cta { background: var(--navy); color: #fff; }
.cta h2 { color: #fff; }
.cta .section-intro { color: #d6dcea; }
.small { margin-top: 22px; font-size: 0.9rem; color: #b9c2d8; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aeb8cf; padding: 24px 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--gold-light); }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { max-width: 320px; justify-self: start; }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { gap: 14px; flex-wrap: wrap; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
