:root {
  --bg: #f5f7fa;
  --ink: #1a2332;
  --muted: #5a6575;
  --card: #ffffff;
  --line: #d9dee6;
  --accent: #002454;
  --accent-dark: #001a3d;
  --soft: #e8eef5;
  --header: #001a3d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.wrap { width: min(960px, calc(100% - 2rem)); margin: 0 auto; }

header {
  background: var(--header);
  color: #f4f7fb;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.25;
}

.brand span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: #9aa8bc;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  letter-spacing: 0.01em;
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(260px, 52vw);
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.hero-logo {
  display: block;
  height: auto;
  width: min(320px, 70vw);
  margin: 0 0 1.25rem;
  object-fit: contain;
}

.meet-logo {
  display: block;
  height: auto;
  width: min(220px, 55vw);
  margin: 0 0 0.85rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.92rem;
}

.nav-links a {
  color: #c5d0de;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--soft);
}

.btn-header {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, #e8eef5 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.trust {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, #e8eef5 0%, var(--bg) 100%);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 55ch;
  margin: 0;
}

section { padding: 2.75rem 0; }

h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.section-intro {
  color: var(--muted);
  max-width: 55ch;
  margin: 0 0 1.5rem;
}

.prose {
  max-width: 62ch;
}

.prose p { margin: 0 0 1rem; color: var(--ink); }
.prose p.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card a.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--soft);
  border-radius: 12px;
  color: var(--accent-dark);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
}

.contact-panel {
  background: #001a3d;
  color: #f4f7fb;
  border-radius: 18px;
  padding: 1.75rem;
}

.contact-panel h2 { color: #fff; margin-top: 0; }
.contact-panel .section-intro { color: #b8c5d6; }

.contact-panel a { color: #8eb0d4; }
.contact-panel a:hover { color: #c5d6ea; }

form {
  display: grid;
  gap: 0.85rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

label {
  font-size: 0.88rem;
  display: grid;
  gap: 0.3rem;
}

label .optional {
  font-weight: 400;
  color: #8a97a8;
  font-size: 0.82rem;
}

.contact-panel label .optional { color: #7a8799; }

input, select, textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  border: 1px solid #2a3a52;
  background: #0a1424;
  color: #f4f7fb;
}

textarea { min-height: 100px; resize: vertical; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #d0d8e4;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-hint {
  font-size: 0.82rem;
  color: #9aa8bc;
  margin: 0;
}

.form-wiring-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #8a97a8;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
}

.aside-card h3 { margin-top: 0; }
.aside-card p { margin: 0 0 0.75rem; color: var(--muted); }
.aside-card p:last-child { margin-bottom: 0; }

.address-block {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.address-block strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal h2:first-child { margin-top: 0; }

.legal p, .legal li {
  color: var(--muted);
  max-width: 68ch;
}

.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }

footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-brand {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-meta { margin-top: 0.75rem; }

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #3a4a62;
  color: #f4f7fb;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
}


.portrait {
  margin: 0 0 1.25rem;
  max-width: 320px;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 320px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.portrait figcaption {
  margin-top: 0.55rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.meet-sarah {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
}

.portrait--inline {
  margin: 0;
  max-width: 160px;
}

.portrait--inline img {
  max-width: 160px;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .meet-sarah {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .portrait--inline,
  .portrait--inline img {
    max-width: 200px;
  }
}

@media (max-width: 720px) {
.brand-logo { height: 40px; max-width: min(200px, 48vw); }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header);
    padding: 1rem 1rem 1.25rem;
    border-top: 1px solid #243448;
    gap: 0.85rem;
  }
  .mobile-nav-toggle { display: inline-block; }
  header { position: sticky; }
  .nav { flex-wrap: wrap; position: relative; }
  .hero h1, .page-hero h1 { max-width: none; }
  .two-col { grid-template-columns: 1fr; }
}
