:root {
  --ink: #17202b;
  --muted: #687586;
  --navy: #19324f;
  --blue: #335f8f;
  --green: #476b5a;
  --gold: #b08a45;
  --paper: #ffffff;
  --ledger: #f7f4ed;
  --soft: #f3f6f8;
  --line: #d8e0e7;
  --shadow: 0 18px 48px rgba(25, 50, 79, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(25, 50, 79, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(25, 50, 79, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-bar {
  padding: 0.55rem 1rem;
  color: #f8fbff;
  background: #101820;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.office-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.2rem;
  padding: 0.62rem 1rem;
  color: #334155;
  background: var(--ledger);
  border-bottom: 1px solid #e4ded0;
  font-size: 0.9rem;
  font-weight: 800;
}

.office-strip a {
  color: var(--navy);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  line-height: 1.1;
  text-decoration: none;
}

.brand span {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.35rem);
}

.site-nav a,
.header-cta {
  font-weight: 850;
  text-decoration: none;
}

.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--navy); }

.header-cta {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  color: white;
  background: var(--green);
  border-radius: 4px;
}

.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 8rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(247, 244, 237, 0.92), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 12% 18%, rgba(176, 138, 69, 0.16), transparent 30%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.94;
}

h2 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

h3 { margin-bottom: 0.5rem; color: var(--navy); font-size: 1.08rem; }

.hero-copy p {
  max-width: 45rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions,
.button-row,
.tax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.85rem 1.05rem;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary { color: white; background: var(--green); border-color: var(--green); }
.button.light { color: var(--navy); background: var(--paper); }
.button.dark { color: white; background: var(--navy); border-color: var(--navy); }
.button.ghost { color: var(--navy); background: transparent; border-color: rgba(25, 50, 79, 0.25); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 44rem;
}

.trust-grid span {
  padding: 0.9rem 1rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e4ded0;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-weight: 850;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.document-stack {
  display: grid;
  gap: 1rem;
}

.summary-card,
.office-card {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.summary-card {
  position: relative;
  min-height: 9rem;
  border-top: 5px solid var(--gold);
}

.summary-card::after {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  color: rgba(25, 50, 79, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  content: "§";
}

.primary-card {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.primary-card strong,
.primary-card span {
  color: white;
}

.summary-card span,
.office-card small {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-card strong,
.office-card a {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.35;
  text-decoration: none;
}

.office-card {
  display: grid;
  gap: 0.2rem;
  border-left: 5px solid var(--green);
}

.section {
  padding: clamp(3.8rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.about-section,
.directions-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.about-section,
.hours-section,
.services-section {
  background: rgba(243, 246, 248, 0.84);
}

.about-copy p,
.section-heading > p,
.directions-copy p,
.contact-copy p,
.service-grid p,
.tax-section p,
.map-pin span,
.form-status {
  color: var(--muted);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.about-points span {
  padding: 0.9rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-weight: 850;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.85fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading .eyebrow,
.section-heading h2 { grid-column: 1; }
.section-heading > p { grid-column: 2; font-size: 1.05rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article,
.contact-form,
.map-card {
  background: white;
}

.service-grid article {
  min-height: 15rem;
  padding: 1.2rem;
}

.service-grid span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.tax-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  background: var(--ledger);
  border-block: 1px solid #e4ded0;
}

.tax-section p { max-width: 48rem; }

.why-section {
  background: var(--navy);
  color: white;
}

.why-section h2 { color: white; }
.why-section .section-heading { display: block; }
.why-section .eyebrow { color: #d8b56c; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
}

.why-grid div {
  min-height: 8rem;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  color: #eef5fb;
  font-weight: 900;
}

address { font-style: normal; font-size: 1.05rem; }

.map-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(71,107,90,0.15), rgba(176,138,69,0.18)), #eef2f5;
}

.map-grid {
  position: absolute;
  inset: -2rem;
  background-image:
    linear-gradient(rgba(25,50,79,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,50,79,0.12) 1px, transparent 1px);
  background-size: 4rem 4rem;
  transform: rotate(-7deg);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(22rem, calc(100% - 2rem));
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(8,20,33,0.15);
  transform: translate(-50%, -50%);
}

.map-pin strong,
.map-pin span,
.map-pin a { display: block; }
.map-pin a { color: var(--green); font-weight: 900; }

.contact-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(25, 50, 79, 0.97), rgba(16, 24, 32, 0.98));
}

.contact-section h2 { color: white; }
.contact-copy p { color: #dbe5ee; }
.contact-links { display: grid; gap: 0.55rem; margin-top: 1.5rem; font-weight: 900; }

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
label { display: grid; gap: 0.4rem; font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd5dd;
  border-radius: 4px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}
textarea { resize: vertical; }
.form-status { min-height: 1.4rem; margin: 0; font-weight: 900; }

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr;
  gap: 1.2rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 5vw, 5rem);
  color: #cdd8e3;
  background: #050d16;
}

.site-footer strong,
.site-footer a { color: white; }
.site-footer span,
.site-footer a { display: block; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1rem; }
.footer-disclaimer,
.footer-credit { grid-column: 1 / -1; margin: 0; font-size: 0.92rem; }

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    gap: 0.28rem;
    width: 2.8rem;
    height: 2.8rem;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: white;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 1.25rem; height: 2px; background: var(--ink); }
  .site-nav, .header-cta { display: none; }
  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open a { padding: 0.75rem 0; }
  .hero,
  .about-section,
  .directions-section,
  .contact-section,
  .tax-section { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  h1 { font-size: clamp(2.9rem, 14vw, 5rem); }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .office-strip { justify-content: flex-start; }
  .brand span { font-size: 1rem; }
  .brand small { font-size: 0.7rem; }
  .hero { min-height: auto; }
  .trust-grid,
  .service-grid,
  .why-grid,
  .about-points,
  .field-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .site-footer nav { grid-template-columns: 1fr; }
}
