:root {
  --navy: #0f2236;
  --navy-2: #17324f;
  --ink: #1b2430;
  --muted: #4a5868;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --accent: #f0a91e;
  --accent-dark: #c9860a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 34, 54, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a {
  color: var(--navy-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 34, 54, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: #fff;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-suffix {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand:hover .brand-name { color: #fff; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  color: #e6edf5;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}

.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.site-nav a.nav-cta {
  background: var(--accent);
  color: var(--navy);
}

.site-nav a.nav-cta:hover { background: #ffbb3a; color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { content: ""; top: -6px; left: 0; margin-left: 0; }
.nav-toggle-bar::after { content: ""; top: 6px; left: 0; margin-left: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(240, 169, 30, 0.22), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 46px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: clamp(72px, 12vw, 140px) 0 clamp(96px, 13vw, 160px);
}

.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 860px; }

.hero h1 { color: #fff; }

.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(240, 169, 30, 0.45);
  border-radius: 999px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d5dfea;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.hero-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background:
    linear-gradient(90deg, var(--accent) 0 50%, transparent 50%) center / 64px 4px repeat-x,
    linear-gradient(180deg, #0b1a2a, #08131f);
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #ffbb3a; color: var(--navy); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { color: var(--navy); background: #fff; border-color: #fff; }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--muted); }

.kicker {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a5a00;
}

/* Cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--accent);
  background: var(--navy);
  border-radius: 12px;
}

.card p { margin: 0; color: var(--muted); }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.purpose {
  margin: 1.75rem 0 0;
  padding: 22px 24px;
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.purpose blockquote { margin: 0; }
.purpose blockquote p { margin: 0; font-style: italic; color: var(--ink); }

.purpose figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.facts {
  margin: 0;
  padding: 8px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.facts div:last-child { border-bottom: 0; }

.facts dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-card-accent {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 40px),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #e6edf5;
  border-color: transparent;
}

.contact-card-accent h3 { color: #fff; }
.contact-card-accent .note { margin: 1rem 0 0; color: #c4d1de; }
.contact-card-accent a:not(.btn) { color: #fff; }

.note { font-size: 0.9rem; color: var(--muted); }

/* Legal */
.section-legal { padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
.legal { max-width: 860px; }
.legal h2 { margin-bottom: 1rem; }
.legal h3 { margin-top: 1.6rem; margin-bottom: 0.4rem; font-size: 1.05rem; }
.legal p { color: var(--ink); }
.legal a { overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  background: #0a1828;
  color: #c4d1de;
  padding: 44px 0 28px;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner p { margin: 0 0 4px; }
.footer-brand { display: flex; align-items: baseline; gap: 6px; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }

.footer-legal { padding-top: 20px; font-size: 0.875rem; color: #a9b8c8; }
.footer-legal p { margin: 0 0 6px; }

/* Responsive */
@media (max-width: 767px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px 18px;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta { text-align: center; margin-top: 6px; }

  .hero-actions .btn { flex: 1 1 100%; }
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:nth-child(4) { grid-column: 2 / span 2; }
  .about { grid-template-columns: 1.6fr 1fr; gap: 56px; }
}
