/* Kallembach & Associates — refresh. Mobile-first, one accent, no framework. */
:root {
  --navy: #002157;
  --navy-deep: #00163c;
  --accent: #a1561a;
  --ink: #1b2233;
  --paper: #fbf7f0;
  --paper-2: #f3ece0;
  --muted: #5a6170;
  --line: #e3dacb;
  --white: #ffffff;
  --display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 1.95rem;
  --step-4: 2.45rem;
  --step-5: 3.05rem;
  --space: clamp(20px, 4vw, 40px);
}
@media (min-width: 900px) {
  :root { --step-0: 1.125rem; --step-1: 1.35rem; --step-2: 1.75rem; --step-3: 2.25rem; --step-4: 2.9rem; --step-5: 3.6rem; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; color: var(--navy); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 42ch; }
.wrap { width: min(1100px, 100% - 2 * var(--space)); margin: 0 auto; }
.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 10px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: rgba(0,33,87,0.06); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--paper-2); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 8px 0;
}
.brand { color: var(--white); text-decoration: none; display: flex; flex-direction: column; min-height: 44px; justify-content: center; }
.brand .wordmark {
  font-family: var(--display);
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-size: clamp(1.1rem, 2.4vw + 0.4rem, 1.55rem);
  line-height: 1.1;
}
.brand .sub { font-size: 0.78rem; opacity: 0.85; letter-spacing: 0.02em; display: none; }
@media (min-width: 700px) { .brand .sub { display: block; } }
.top-actions { display: flex; align-items: center; gap: 8px; }
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.call-btn:hover { background: var(--paper-2); }
.call-btn .lbl { display: none; }
@media (min-width: 480px) { .call-btn .lbl { display: inline; } }
.menu-btn {
  min-width: 44px; min-height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  padding: 8px 12px;
  cursor: pointer;
}
.nav { background: var(--navy-deep); }
.nav ul { list-style: none; margin: 0; padding: 6px 0 12px; display: none; }
.nav ul.open { display: block; }
.nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 12px 4px;
  min-height: 44px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav a[aria-current="page"] { color: #ffd18a; }
.nav a:hover { color: #ffd18a; }
@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav ul { display: flex; gap: 0 28px; padding: 0; }
  .nav a { border-bottom: 0; padding: 12px 0; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero .bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.6);
}
.hero .wrap { position: relative; padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px); max-width: 1100px; }
.hero h1 { color: var(--white); font-size: var(--step-5); max-width: 18ch; }
.hero .lede { color: rgba(255,255,255,0.85); }
.hero .eyebrow { color: #ffd18a; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* Contact strip */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip .wrap {
  display: grid;
  gap: 14px 32px;
  grid-template-columns: 1fr;
  padding: 18px 0;
  font-size: var(--step--1);
}
.strip div { display: flex; gap: 10px; align-items: flex-start; }
.strip svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.strip strong { display: block; color: var(--navy); }
.strip a { color: var(--ink); }
@media (min-width: 700px) { .strip .wrap { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-2); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: #ffd18a; }
.section-navy a { color: var(--white); }
.section-head { max-width: 60ch; margin-bottom: clamp(24px, 4vw, 40px); }

/* Service cards */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.service h3 { margin: 6px 0 0; }
.service p { color: var(--muted); margin: 0; flex: 1; }
.service a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Trust / credentials */
.trust { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .trust { grid-template-columns: 1.1fr 1fr; } }
.trust-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 28px;
}
.section-navy .trust-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.trust-card h3 { margin-top: 0; }
.creds { list-style: none; margin: 0; padding: 0; }
.creds li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.section-navy .creds li { border-color: rgba(255,255,255,0.14); }
.creds li:last-child { border-bottom: 0; }
.creds .yr { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.section-navy .creds .yr { color: rgba(255,255,255,0.7); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 0; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat b { display: block; font-family: var(--display); font-size: var(--step-2); color: var(--navy); line-height: 1.1; }
.stat span { font-size: var(--step--1); color: var(--muted); }

/* Prose pages */
.page-head { background: var(--navy); color: var(--white); padding: clamp(40px, 7vw, 80px) 0; }
.page-head h1 { color: var(--white); margin-bottom: 0.3em; }
.page-head .lede { color: rgba(255,255,255,0.85); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; }
.two-col { display: grid; gap: 40px; grid-template-columns: 1fr; }
.two-col > *, .trust > *, .contact-grid > * { min-width: 0; }
@media (min-width: 860px) { .two-col { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.figure { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Service detail */
.service-block { padding: 32px 0; border-top: 1px solid var(--line); display: grid; gap: 20px 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .service-block { grid-template-columns: 120px 1fr; } }
.service-block img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.service-block:first-of-type { border-top: 0; }
.checklist { columns: 1; padding-left: 1.2em; margin: 0; }
@media (min-width: 600px) { .checklist { columns: 2; column-gap: 32px; } }
.checklist li { break-inside: avoid; margin: 0 0 8px; }

/* Links */
.link-grid { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
.link-grid a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
}
.link-grid a span { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); margin-top: 2px; }
.link-grid a:hover { border-color: var(--navy); }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
address { font-style: normal; line-height: 1.7; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list strong { display: block; color: var(--navy); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; }
.info-list a { display: inline-block; padding: 10px 0; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid #b9b2a4;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(0,33,87,0.35); outline-offset: 1px; border-color: var(--navy); }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 12px 0 0; }
.portal {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}
.portal h3 { color: var(--white); margin-top: 0; }
.portal p { color: rgba(255,255,255,0.85); }
.portal .btn-light { margin-top: 4px; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 0; }
.cta-band h2 { color: var(--white); margin: 0; font-size: var(--step-2); }
.cta-band .btn-light { color: var(--accent); }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding: 40px 0 28px; font-size: var(--step--1); }
.footer .cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .wordmark { font-family: var(--display); font-variant: small-caps; letter-spacing: 0.06em; font-size: 1.3rem; color: var(--white); display: block; margin-bottom: 6px; }
.footer a { color: var(--white); display: inline-block; padding: 12px 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer .legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.footer h3 { color: var(--white); font-family: var(--body); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }

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