:root {
  --navy: #0c2340;
  --navy-soft: #16345a;
  --ink: #14243a;
  --muted: #4d5b6c;
  --cream: #f6f3ec;
  --paper: #fffcf8;
  --line: #e3dccd;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(12, 35, 64, 0.08);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 40;
}
.skip:focus { top: 12px; }

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.brand-logo {
  height: 96px;
  width: auto;
  display: block;
}
.brand-tag {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  max-width: 168px;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 8px 12px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: 640px;
}
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(246,243,236,0.88) 8%, rgba(246,243,236,0.2) 24%, rgba(246,243,236,0) 40%);
}
.hero-copy,
.hero-lower { position: relative; z-index: 1; width: min(1240px, 100%); }
.hero-copy {
  padding: 64px 40px 8px 48px;
}
.hero h1 {
  margin: 0 0 22px;
  max-width: 560px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.lede, .hero-copy p { margin: 0 0 14px; max-width: 480px; color: var(--ink); }
.lede a { color: var(--navy); }
.id-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 28px 0 0;
  padding: 0;
  max-width: 760px;
}
.id-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 0;
  margin-right: 14px;
  border-right: 1px solid #cfc6b6;
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 500;
}
.id-row li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.id-row svg { width: 22px; height: 22px; flex: 0 0 auto; }
.id-row strong { display: block; font-size: 12px; letter-spacing: 0.04em; }
.id-row span { display: block; font-weight: 600; }

.hero-lower {
  padding: 22px 40px 48px 48px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--navy);
}
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--navy-soft); }
.btn-ghost { background: var(--white); color: var(--navy); }
.btn-ghost:hover { background: #f3efe6; }

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 72px;
}
.page h1, .section-title, .credentials h1 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.page h1 { font-size: clamp(40px, 5vw, 56px); }
.gold-rule {
  width: 72px;
  height: 4px;
  background: var(--navy);
  border: 0;
  margin: 14px 0 28px;
}
.intro { max-width: 680px; color: var(--muted); margin-top: 0; }

.card-grid, .cap-grid, .cred-grid {
  display: grid;
  gap: 18px;
}
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.work-card, .cap-card, .cred-card, .contact-card, .form-card {
  background: var(--paper);
  border: 1px solid #e7e1d6;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.work-card { padding: 26px 26px 12px; }
.card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.icon-tile {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.icon-tile svg, .row-icon svg, .id-row svg, .cred-card svg, .fact-list svg, .chip-bar svg, .cap-card svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-head h2, .cap-card h2, .cred-card h2 { margin: 6px 0 0; font-size: 26px; color: var(--navy); font-family: var(--serif); }
.card-kicker { margin: 2px 0 0; color: var(--muted); }
.fact-list { list-style: none; margin: 16px 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.fact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  color: var(--ink);
}
.fact-list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--navy); }
.detail-block { margin-top: 36px; max-width: 820px; }
.detail-block h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
}
.detail-block p { margin: 0; color: var(--ink); }
.section-cta { margin-top: 36px; }
.section-cta p { margin: 0 0 14px; max-width: 640px; color: var(--ink); }
.rate-wrap {
  background: var(--paper);
  border: 1px solid #e7e1d6;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.rate-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.rate-table th, .rate-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.rate-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.rate-table tbody th { font-weight: 600; color: var(--navy); width: 68%; }
.rate-table tbody td { white-space: nowrap; }
.rate-table tr:last-child th, .rate-table tr:last-child td { border-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin: 28px 0 8px;
  font-size: 15px;
}

.figure { margin: 28px 0 0; }
.figure img { width: 100%; height: min(520px, 62vw); object-fit: cover; border-radius: 0; }
.figure figcaption, .photo-caption {
  background: var(--navy);
  color: var(--white);
  margin: 0;
  padding: 18px 22px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
}
.caption-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: #111;
  color: var(--white);
  padding: 16px 22px;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
}

.cap-grid { grid-template-columns: repeat(3, 1fr); }
.cap-card { padding: 22px; }
.cap-card p { margin: 8px 0 0; color: var(--muted); }
.cap-card .icon-tile { margin-bottom: 14px; background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

.gov-list { margin: 10px 0 28px; border-top: 1px solid #d9d3c7; }
.gov-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #d9d3c7;
}
.row-label { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.row-icon {
  width: 42px;
  height: 42px;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.gov-row p { margin: 0; }
.chip-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  border: 1px solid #e4ddd0;
  background: var(--paper);
  border-radius: 8px;
  padding: 14px 8px;
}
.chip-bar div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: left;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  padding: 6px;
}
.chip-bar strong, .chip-bar span { display: block; }
.chip-bar svg { width: 26px; height: 26px; }

.credentials h1 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 22px; }
.cred-grid { grid-template-columns: repeat(6, 1fr); }
.cred-card {
  padding: 16px 12px 12px;
  text-align: center;
  box-shadow: none;
}
.cred-card svg { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--navy); }
.cred-card h2 { font-family: var(--sans); font-size: 16px; margin: 0; }
.cred-card p { margin: 2px 0 8px; font-size: 14px; }
.cred-card .rule { width: 42px; height: 3px; background: var(--navy); margin: 8px auto 0; }
.insurance {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  margin: 26px 0;
  font-size: 15px;
}
.insurance::before, .insurance::after {
  content: "";
  height: 1px;
  background: #ddd6c8;
  flex: 1;
}
.aisle { width: 100%; height: 280px; object-fit: cover; border-radius: 2px; }
.identifier-list { list-style: none; padding: 0; margin: 8px 0 0; }
.partner-list { display: grid; gap: 4px; }
.partner-list li { display: block; padding: 4px 0; font-weight: 650; color: var(--navy); }
.identifier-list li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  padding: 7px 0;
}
.identifier-list strong { color: var(--navy); }
.marker { color: var(--navy); margin-right: 6px; }

.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: start; }
.contact-card, .form-card { padding: 26px; }
.contact-card a { color: var(--navy); font-weight: 650; }
.form-card label { display: block; font-weight: 600; margin: 12px 0 6px; font-size: 14px; }
.form-card input, .form-card textarea {
  width: 100%;
  border: 1px solid #ddd4c6;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 12px;
  color: var(--ink);
}
.form-card input:focus, .form-card textarea:focus {
  outline: 2px solid var(--navy);
  border-color: var(--navy);
}
.form-card button { margin-top: 16px; cursor: pointer; }
#form-status { min-height: 1.4em; color: var(--navy); font-size: 14px; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  margin-top: 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { font-family: var(--serif); color: var(--white); font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.fine { color: rgba(255,255,255,0.62); font-size: 13px; margin: 6px 0 0; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 24px 18px;
    gap: 12px;
  }
  .site-nav.is-open { display: flex; }
  .hero-photo { position: relative; width: 100%; height: 280px; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(246,243,236,0), var(--cream)); }
  .hero-copy, .hero-lower { width: auto; }
  .hero-copy { padding: 28px 20px 8px; }
  .hero-lower { padding: 8px 20px 32px; }
  .work-grid, .cap-grid, .cred-grid, .contact-layout, .gov-row, .chip-bar, .identifier-list li {
    grid-template-columns: 1fr;
  }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .chip-bar { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 8px 16px; }
  .brand-logo { height: 64px; }
  .brand-tag { font-size: 11px; max-width: 120px; }
}
