@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Serif+Display&display=swap");

:root {
  --ink: #0f1724;
  --navy: #1c2a3a;
  --steel: #3d4f63;
  --mist: #e8edf2;
  --ice: #f5f7fa;
  --gold: #b8954a;
  --gold-light: #d4b56a;
  --line: #c5ced8;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--ice);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; }
a:hover { color: var(--gold-light); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.utility-bar {
  background: var(--navy);
  color: #c8d4e0;
  font-size: 0.82rem;
}
.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--steel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--navy); }

.masthead-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.15fr;
  min-height: clamp(380px, 58vh, 560px);
  background: var(--navy);
}
.masthead-copy {
  color: #e8edf2;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 4px solid var(--gold);
}
.masthead-copy h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0.4rem 0 1rem; }
.masthead-copy .eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--gold-light);
}
.masthead-copy p { margin: 0 0 1.25rem; max-width: 38ch; color: #b8c5d4; }
.masthead-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-inline {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--steel);
}
.service-inline .container {
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}
.service-inline span::after {
  content: "·";
  margin-left: 0.75rem;
  color: var(--gold);
}
.service-inline span:last-child::after { content: ""; margin: 0; }

.section { padding: 2.75rem 0; }
.section-dark {
  background: var(--navy);
  color: #d5dde8;
}
.section-dark h2 { color: #fff; }
.section-dark a { color: var(--gold-light); }
.section-muted { background: var(--mist); }

.split-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split-wide img { box-shadow: 0 16px 48px rgba(15, 23, 36, 0.18); }

.tier-rows {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.tier-rows article {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.tier-rows article:last-child { border-bottom: none; }
.tier-rows h3 { margin: 0; font-family: "DM Sans", sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); }
.tier-rows p { margin: 0; }

.timeline {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  border-left: 2px solid var(--gold);
}
.timeline li {
  padding: 0 0 1.25rem 1.25rem;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline strong { display: block; color: var(--navy); }

.cta-band {
  background: linear-gradient(90deg, var(--navy), #243447);
  color: #e8edf2;
  padding: 2rem 0;
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-band h2 { color: #fff; margin: 0; font-size: 1.6rem; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink) !important;
  border: none;
  padding: 0.65rem 1.35rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.btn:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn:disabled { opacity: 0.6; cursor: wait; }

.page-head { padding: 2.25rem 0 1rem; }
.page-head h1 { margin: 0 0 0.5rem; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  font: inherit;
  background: var(--ice);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input.invalid { border-color: #a33; }
.field-error { color: #a33; font-size: 0.88rem; margin: 0.25rem 0 0; min-height: 1.1em; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #e2ebe8;
}
.form-success.visible { display: block; }

.legal-doc h2 { margin-top: 1.75rem; font-size: 1.2rem; }

.site-footer {
  background: var(--ink);
  color: #9aa8b8;
  padding: 2rem 0 1.25rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin: 0 0 0.75rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-grid a { color: #d5dde8; text-decoration: none; }
.footer-legal {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-legal a { color: #7f8fa3; text-decoration: none; }
.footer-copy { margin: 0.75rem 0 0; font-size: 0.82rem; }

body.theme-evening {
  background: #121820;
  color: #c5cdd8;
}
body.theme-evening .site-header { background: #1a2330; border-color: #2a3544; }
body.theme-evening .brand { color: #e8edf2; }
body.theme-evening .site-nav a { color: #9aa8b8; }
body.theme-evening h1,
body.theme-evening h2,
body.theme-evening h3 { color: #f0f3f7; }
body.theme-evening .section-muted { background: #1a2330; }
body.theme-evening .form-panel { background: #1a2330; border-color: #2f3d4f; }

@media (max-width: 900px) {
  .masthead-split { grid-template-columns: 1fr; }
  .masthead-copy { border-right: none; border-bottom: 4px solid var(--gold); }
  .split-wide, .cols-2, .footer-grid { grid-template-columns: 1fr; }
  .tier-rows article { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 100%;
    background: #fff;
    border: 1px solid var(--line);
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .header-inner { position: relative; }
}
