/* ==========================================================================
   Truist Tax Services — site styles
   Tokens and values transcribed from the design handoff (see README.md).
   ========================================================================== */

:root {
  --forest: #0c2f22;
  --emerald: #10714c;
  --emerald-bright: #21a06b;
  --mint: #7fd0aa;
  --mint-pale: #e9f3ed;
  --bg: #f6f8f5;
  --card: #ffffff;
  --ink: #14201a;
  --ink-soft: #3f4d46;
  --muted: #5a6b62;
  --muted-mono: #7a8a82;
  --hairline: #e4e9e2;
  --on-dark: #eaf3ee;
  --on-dark-body: #bcd3c8;
  --on-dark-label: #9fbcae;
  --on-dark-detail: #cddfd5;
  --rule-dark: rgba(255, 255, 255, .1);
  --rule-dark-strong: rgba(255, 255, 255, .22);

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --shell: 1200px;
  --gutter: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Skip link ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--emerald-bright);
  color: #06251a;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

/* Shared layout ------------------------------------------------------------ */
.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.band-dark { background: var(--forest); color: var(--on-dark); }
.band-white { background: var(--card); border-block: 1px solid var(--hairline); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--emerald);
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--mint); letter-spacing: .16em; }

.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.accent { font-style: italic; color: var(--mint); }

/* Logo --------------------------------------------------------------------- */
.logo {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.01em;
  color: var(--on-dark);
  white-space: nowrap;
}
.logo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 54%;
  width: .92em;
  height: .114em;
  background: currentColor;
  transform: rotate(-30deg);
  transform-origin: left center;
}
.logo-sm { font-size: 19px; }
.logo-ink { color: var(--ink); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 28px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--emerald-bright); color: #06251a; }
.btn-primary:hover { background: #1cb377; }
.btn-ghost {
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--on-dark);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 9px; }
.nav-call { white-space: nowrap; }
.nav-call-short { display: none; }

/* Nav ---------------------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a { color: var(--on-dark-body); transition: color .15s ease; }
.nav-links a:hover { color: var(--mint); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule-dark-strong);
  border-radius: 9px;
  background: none;
  color: var(--on-dark);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 17px;
  height: 1.6px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; }
.nav-toggle-bars::before { transform: translateY(-5.5px); }
.nav-toggle-bars::after { transform: translateY(5.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }

/* Hero --------------------------------------------------------------------- */
.hero { padding-block: 82px 0; text-align: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 840px;
  margin: 0 auto 26px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark-body);
  max-width: 540px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-dark);
}
.stat-strip > div { padding: 32px 16px; border-right: 1px solid var(--rule-dark); }
.stat-strip > div:last-child { border-right: 0; }
.stat-num { font-family: var(--mono); font-size: 32px; font-weight: 600; }
.stat-label { font-size: 13px; color: var(--on-dark-label); margin-top: 6px; }

/* Credentials -------------------------------------------------------------- */
.credentials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 34px;
  border-bottom: 1px solid var(--hairline);
}
.credentials-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted-mono);
}
.credentials-list {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Section scaffolding ------------------------------------------------------ */
.section { padding-block: 96px; }
.section-tight { padding-block: 88px; }

.section-head-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.section-head-split > div { max-width: 620px; }
.section-head-split > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 340px;
}
.section-head-center { text-align: center; max-width: 640px; margin: 0 auto 52px; }

/* Services ----------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.svc-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 36px;
}
.svc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.svc-dot { width: 11px; height: 11px; border-radius: 3px; background: var(--emerald-bright); }
.svc-index { font-family: var(--mono); font-size: 12px; color: var(--muted-mono); }
.svc-card h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 12px; }
.svc-card > p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.feature-list li { padding-left: 1em; text-indent: -1em; }
.feature-list li::before { content: "\203A\00a0"; }

/* Who we help -------------------------------------------------------------- */
.who-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.who-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.who-body { padding: 34px 40px 40px; }
.who-body h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 14px; }
.who-body p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tags li {
  background: var(--mint-pale);
  color: var(--emerald);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* Process ------------------------------------------------------------------ */
.process-head { max-width: 620px; margin-bottom: 56px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.process-grid > li {
  list-style: none;
  padding: 28px 24px 0;
  border-right: 1px solid var(--hairline);
}
.process-grid > li:last-child { border-right: 0; }
.process-step { font-family: var(--mono); font-size: 13px; color: var(--emerald); margin-bottom: 18px; }
.process-grid h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin-bottom: 10px; }
.process-grid p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Stats band --------------------------------------------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 76px;
}
.stats-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.stats-band > div > p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--on-dark-body);
  max-width: 440px;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stats-grid dt { font-family: var(--mono); font-size: 38px; font-weight: 600; }
.stats-grid dd { font-size: 13.5px; color: var(--on-dark-label); margin-top: 6px; }

/* About -------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 5 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dce4dc;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-grid h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.about-grid p { font-size: 16.5px; line-height: 1.65; color: #4a5a52; margin-bottom: 18px; }
.about-grid p:last-of-type { margin-bottom: 30px; }
.about-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.about-stats dt { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--emerald); }
.about-stats dd { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* Testimonials ------------------------------------------------------------- */
.quote-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 34px;
  background: var(--bg);
}
.quote-stars { color: var(--emerald-bright); font-size: 16px; margin-bottom: 16px; }
.quote-card blockquote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: #243029;
  margin-bottom: 26px;
}
.quote-name { font-weight: 600; font-size: 14.5px; }
.quote-role { font-size: 13px; color: var(--muted-mono); }

/* FAQ ---------------------------------------------------------------------- */
.faq { max-width: 1000px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--card);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}
.faq-icon {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--emerald);
  transition: transform .2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 28px 24px; }
.faq-a p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
}
.faq-a[hidden] { display: none; }

/* CTA / footer ------------------------------------------------------------- */
.cta-wrap { padding-block: 84px 40px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-dark);
}
.cta-grid h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.cta-grid > div > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-body);
  max-width: 460px;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta-actions .btn { font-size: 16px; padding: 16px 30px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 6px;
  align-content: start;
}
.contact-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mint);
  margin-bottom: 14px;
}
.contact-grid dd { font-size: 15px; line-height: 1.65; color: var(--on-dark-detail); }
.contact-grid dd a { transition: color .15s ease; }
.contact-grid dd a:hover { color: var(--mint); }
.contact-map { grid-column: 1 / -1; margin-top: 4px; }
.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  display: block;
}

.footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--rule-dark);
}
.socials { display: flex; align-items: center; gap: 10px; list-style: none; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rule-dark-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--on-dark-detail);
  transition: border-color .15s ease, color .15s ease;
}
.socials a:hover { border-color: var(--emerald-bright); color: var(--emerald-bright); }
.social-fb { font-family: var(--serif); font-size: 19px; }
.social-ig { font-size: 12px; letter-spacing: .02em; }
.social-x { font-size: 15px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: #7f9a8c; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.footer-legal a { color: var(--on-dark-label); transition: color .15s ease; }
.footer-legal a:hover { color: var(--mint); }

/* ==========================================================================
   Inner pages — shared
   ========================================================================== */

.page-hero { padding-block: 64px 76px; max-width: 900px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.page-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark-body);
  max-width: 620px;
}
.hero-actions-left { justify-content: flex-start; margin: 34px 0 0; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--on-dark-label);
  margin-bottom: 26px;
}
.breadcrumb a { transition: color .15s ease; }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span { padding: 0 6px; opacity: .5; }

.lede {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
  color: #243029;
  max-width: 780px;
}

.section-head-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
  margin: 18px auto 0;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--emerald);
  transition: color .15s ease;
}
.text-link:hover { color: var(--emerald-bright); }
.text-link span { transition: transform .15s ease; display: inline-block; }
.text-link:hover span { transform: translateX(3px); }
.center-link { text-align: center; }

.svc-title-link { transition: color .15s ease; }
.svc-title-link:hover { color: var(--emerald); }

.btn-solid {
  background: var(--emerald);
  color: #fff;
  border: 0;
  font-family: var(--sans);
  cursor: pointer;
}
.btn-solid:hover:not(:disabled) { background: var(--emerald-bright); }
.btn-solid:disabled { opacity: .5; cursor: not-allowed; }
.btn-outline {
  border: 1px solid var(--hairline);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }

.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;
}

/* Standalone CTA band ------------------------------------------------------ */
.cta-band-inner { padding-block: 84px; text-align: center; }
.cta-band-inner h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  max-width: 760px;
  margin-inline: auto;
}
.cta-band-inner > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-body);
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta-band-inner .cta-actions { justify-content: center; }
.cta-band-light { background: var(--card); border-block: 1px solid var(--hairline); }
.cta-band-light h2 { color: var(--ink); }
.cta-band-light > .shell > p { color: var(--muted); }

/* ==========================================================================
   Service pages
   ========================================================================== */

.cap-list { display: flex; flex-direction: column; gap: 0; }
.cap-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}
.cap-item:last-child { border-bottom: 1px solid var(--hairline); }
.cap-index { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.cap-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 14px;
}
.cap-body > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 720px;
}

/* Services index ----------------------------------------------------------- */
.svc-index-list { display: flex; flex-direction: column; }
.svc-index-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
}
.svc-index-item:last-child { border-bottom: 1px solid var(--hairline); }
.svc-index-meta h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.svc-index-summary {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-grid-reverse .about-map { order: 2; }
.about-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.about-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 0;
}
.contact-inline dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted-mono);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.contact-inline dd { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form-intro {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 16px 0 28px;
  max-width: 560px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; }
.field label, .field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--emerald); }
.field .optional { font-weight: 400; color: var(--muted-mono); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 113, 76, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8a1; }

.field-check { flex-direction: row; align-items: center; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--emerald); }
.check span { font-size: 15px; color: var(--ink-soft); }

.contact-form .btn-solid { align-self: flex-start; }
.submit-note, .form-privacy {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-mono);
  max-width: 560px;
}
.form-privacy { border-top: 1px solid var(--hairline); padding-top: 18px; margin-top: 6px; }

.contact-detail-col { display: flex; flex-direction: column; gap: 18px; }
.detail-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
}
.detail-card h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 16px;
}
.detail-card p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.detail-card-quiet { background: transparent; }
.detail-card .text-link { margin-top: 14px; }

.detail-list { display: flex; flex-direction: column; gap: 16px; }
.detail-list dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted-mono);
  margin-bottom: 5px;
}
.detail-list dd { font-size: 15px; line-height: 1.6; color: var(--ink); }
.detail-list dd a { color: var(--emerald); }
.detail-list dd a:hover { text-decoration: underline; }

.contact-map-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
}
.contact-map-card iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ==========================================================================
   Blog
   ========================================================================== */

.post-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.post-card-feature { background: var(--bg); }
.band-white .post-card { background: var(--bg); }
.post-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.post-card h3 a { transition: color .15s ease; }
.post-card h3 a:hover { color: var(--emerald); }

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted-mono);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.post-cat { color: var(--emerald); }
.post-dot { opacity: .5; }
.post-desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.post-card .text-link { margin-top: auto; padding-top: 18px; }

.post-cat-list { display: flex; flex-wrap: wrap; gap: 8px; max-width: 380px; }
.post-cat-chip {
  background: var(--mint-pale);
  color: var(--emerald);
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
}

.post-list { list-style: none; display: flex; flex-direction: column; }
.post-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.post-row:last-child { border-bottom: 1px solid var(--hairline); }
.post-row-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted-mono);
  text-transform: uppercase;
  padding-top: 4px;
}
.post-row-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.post-row-body h3 a { transition: color .15s ease; }
.post-row-body h3 a:hover { color: var(--emerald); }
.post-read {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted-mono);
  margin-top: 12px;
  text-transform: uppercase;
}

/* Article ------------------------------------------------------------------ */
.article-hero { max-width: 820px; }
.article-hero h1 { font-size: 46px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--on-dark-label);
  margin-top: 28px;
  text-transform: uppercase;
}

.article-body {
  max-width: 740px;
  padding-block: 72px 88px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body > * + * { margin-top: 26px; }
.article-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 52px;
}
.article-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-top: 38px;
}
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 9px; }
.article-body li::marker { color: var(--emerald); }
.article-body a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--emerald-bright); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin-top: 48px;
}
.article-body hr + p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-mono);
}
.article-body blockquote {
  border-left: 3px solid var(--emerald);
  padding-left: 22px;
  font-family: var(--serif);
  font-size: 20px;
  color: #243029;
}

/* ==========================================================================
   FAQ page
   ========================================================================== */

.faq-jump-wrap { padding-block: 40px 8px; }
.faq-jump-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted-mono);
  margin-bottom: 16px;
}
.faq-jump {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-jump a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease;
}
.faq-jump a:hover { border-color: var(--emerald); color: var(--emerald); }
.faq-jump-n {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-mono);
}

.faq-group { scroll-margin-top: 24px; }
.faq-group-head { max-width: 660px; margin-bottom: 40px; }
.faq-group-blurb {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 14px;
}
.band-white .faq-item { background: var(--bg); }
.faq-more { margin-top: -28px; margin-bottom: 40px; }

/* ==========================================================================
   Appointments page
   ========================================================================== */

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.radio-row .check {
  border: 1px solid var(--hairline);
  background: var(--card);
  border-radius: 10px;
  padding: 11px 16px;
  transition: border-color .15s ease;
}
.radio-row .check:hover { border-color: var(--emerald); }
.radio-row .check:has(input:checked) {
  border-color: var(--emerald);
  background: var(--mint-pale);
}
.radio-row input { width: 16px; height: 16px; accent-color: var(--emerald); }

.field input[type="date"] {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 15px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input[type="date"]:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 113, 76, .12);
}

.band-white .contact-form input,
.band-white .contact-form select,
.band-white .contact-form textarea { background: var(--bg); }
.band-white .detail-card { background: var(--bg); }
.band-white .detail-card-quiet { background: transparent; }

/* ==========================================================================
   Footer nav (multi-column)
   ========================================================================== */

.footer-nav {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 44px;
}
.footer-col-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-blurb {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--on-dark-label);
  max-width: 300px;
}
.footer-head {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col li { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-detail); }
.footer-col a { transition: color .15s ease; }
.footer-col a:hover { color: var(--mint); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal a { color: var(--emerald); }
.legal a:hover { text-decoration: underline; }

.legal-bar { border-bottom: 1px solid var(--hairline); }
.legal-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
}
.legal-bar-inner a { color: var(--ink); }
.legal-bar-inner a:hover { text-decoration: none; }
.legal-back { font-size: 14px; font-weight: 500; color: var(--muted) !important; }

.legal-head { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 40px; }
.legal-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.legal-updated { font-family: var(--mono); font-size: 13px; color: var(--muted-mono); }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 90px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-body p { margin-bottom: 34px; }
.legal-body p.lead-in { margin-bottom: 14px; }
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 12px;
}
.legal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 34px;
  padding-left: 4px;
}
.legal-body ul li { padding-left: 1em; text-indent: -1em; }
.legal-body ul li::before { content: "\203A\00a0"; }
.legal-body ul.tight { margin-bottom: 20px; }
.legal-body .kw { color: var(--ink); font-family: var(--mono); }

.legal-body p.contact-lead { margin-bottom: 24px; }
.legal-contact {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  font-style: normal;
}
.legal-disclaimer {
  margin-top: 34px;
  font-size: 13.5px;
  color: #8b9890;
  line-height: 1.6;
}
.legal-footer {
  background: var(--forest);
  color: var(--on-dark-label);
  text-align: center;
  padding: 34px var(--gutter);
  font-size: 13px;
}
.legal-footer a { color: var(--mint); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  :root { --gutter: 28px; }

  .hero h1 { font-size: 46px; }
  .h2, .section-head-split .h2 { font-size: 36px; }

  .page-hero { padding-block: 52px 60px; }
  .page-hero h1 { font-size: 40px; }
  .article-hero h1 { font-size: 36px; }
  .lede { font-size: 21px; }
  .cta-band-inner h2 { font-size: 34px; }

  .cap-item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .cap-index { padding-top: 0; }

  .svc-index-item { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .svc-index-meta h2 { font-size: 28px; }

  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .about-grid-reverse .about-map { order: -1; }
  .about-map iframe { height: 300px; }

  .post-row { grid-template-columns: 1fr; gap: 10px; }
  .post-row-meta { flex-direction: row; gap: 10px; }

  .article-body { padding-block: 56px 68px; font-size: 16.5px; }
  .article-body h2 { font-size: 26px; margin-top: 44px; }

  .footer-nav { grid-template-columns: 1fr 1fr; gap: 36px; }

  .faq-group-head { margin-bottom: 32px; }
  .faq-more { margin-top: -18px; }

  .section-head-split { flex-direction: column; align-items: start; gap: 22px; }
  .section-head-split > p { max-width: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid > li:nth-child(2n) { border-right: 0; }
  .process-grid > li:nth-child(n + 3) { padding-top: 34px; }

  .stats-band { grid-template-columns: 1fr; gap: 44px; }
  .stats-band h2 { font-size: 34px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid h2 { font-size: 34px; }

  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-grid h2 { font-size: 38px; }
}

/* Six nav links plus the phone CTA stop fitting before this. */
@media (max-width: 1010px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #103a2b;
    border: 1px solid var(--rule-dark-strong);
    border-radius: 12px;
    padding: 8px;
    z-index: 30;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 8px; font-size: 15.5px; }
  .nav-links a:hover { background: rgba(255, 255, 255, .06); }

  .nav { position: relative; flex-wrap: nowrap; }
  .nav-toggle { display: grid; order: 3; }
  .nav .btn-sm { order: 2; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }

  .hero { padding-top: 56px; }
  /* Let the headline reflow to the viewport instead of holding the desktop line break. */
  .hero h1 { font-size: 32px; }
  .hero-break { display: none; }
  .hero-sub { font-size: 16.5px; }
  .hero-actions { margin-bottom: 52px; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip > div { padding: 24px 12px; border-bottom: 1px solid var(--rule-dark); }
  .stat-strip > div:nth-child(2n) { border-right: 0; }
  .stat-strip > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .stat-num { font-size: 28px; }

  .credentials { gap: 14px; }
  .credentials-list { gap: 8px 22px; font-size: 17px; }

  .section { padding-block: 64px; }
  .section-tight { padding-block: 60px; }
  .h2 { font-size: 30px; }

  .svc-card { padding: 28px 24px; }
  .svc-card h3 { font-size: 23px; }
  .who-body { padding: 26px 24px 30px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-grid > li { border-right: 0; padding: 26px 0 0; }
  .process-grid > li + li { border-top: 1px solid var(--hairline); }
  .process-grid > li:nth-child(n + 3) { padding-top: 26px; }

  .stats-band { padding-block: 56px; }
  .stats-band h2 { font-size: 28px; }
  .stats-grid { gap: 24px 20px; }
  .stats-grid dt { font-size: 30px; }

  .about-grid h2 { font-size: 28px; }
  .about-stats { gap: 24px; }

  .quote-card { padding: 26px 24px; }
  .quote-card blockquote { font-size: 17.5px; }

  .faq-q { padding: 20px; font-size: 17px; gap: 14px; }
  .faq-a { padding: 0 20px 20px; }

  .cta-wrap { padding-block: 60px 32px; }
  .cta-grid { padding-bottom: 48px; }
  .cta-grid h2 { font-size: 30px; }
  .cta-actions .btn { width: 100%; text-align: center; }

  .contact-grid { gap: 26px 20px; }

  .footer-mid, .footer-bottom { justify-content: flex-start; }

  .legal-head { padding-top: 52px; }
  .legal-head h1 { font-size: 34px; }
  .legal-body { font-size: 15.5px; }
  .legal-body h2 { font-size: 21px; }
  .legal-contact { padding: 22px 20px; }

  .page-hero { padding-block: 40px 48px; }
  .page-hero h1 { font-size: 31px; }
  .page-hero-sub { font-size: 16.5px; }
  .article-hero h1 { font-size: 28px; }
  .hero-actions-left .btn { width: 100%; text-align: center; }
  .lede { font-size: 19px; }

  .cta-band-inner { padding-block: 60px; }
  .cta-band-inner h2 { font-size: 27px; }

  .cap-body h3 { font-size: 22px; }
  .svc-index-meta h2 { font-size: 25px; }

  .field-row { grid-template-columns: 1fr; }
  .contact-form .btn-solid { width: 100%; }
  .detail-card { padding: 22px 20px; }

  .post-card { padding: 24px 22px; }
  .post-row-body h3 { font-size: 21px; }
  .post-cat-list { max-width: none; }

  .article-body { padding-block: 44px 56px; font-size: 16px; }
  .article-body h2 { font-size: 23px; margin-top: 38px; }
  .article-body h3 { font-size: 19px; }

  .footer-nav { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 36px; }
  .footer-blurb { max-width: none; }

  .faq-jump-wrap { padding-block: 30px 4px; }
  .faq-jump { gap: 8px; }
  .faq-jump a { padding: 8px 13px; font-size: 13.5px; }
  .faq-group-blurb { font-size: 15.5px; }
  .radio-row .check { padding: 10px 13px; }
  .radio-row .check span { font-size: 14.5px; }
}

@media (max-width: 520px) {
  /* The full phone number no longer fits beside the logo and menu button. */
  .nav-call-full { display: none; }
  .nav-call-short { display: inline; }
  .nav .btn-sm { padding: 11px 20px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 28px; }
  .credentials-list { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Print -------------------------------------------------------------------- */
@media print {
  .nav-toggle, .socials, .contact-map { display: none !important; }
  .faq-a[hidden] { display: block !important; }
  body { background: #fff; }
}
