:root {
  --ivory: #f5f3ec;
  --ivory-deep: #e4e0d5;
  --ivory-line: #d1ccbf;
  --panel: #fbfaf6;
  --ink: #11211d;
  --ink-soft: #42534e;
  --ink-faint: #6f7f79;
  --green: #123f36;
  --green-deep: #0b2a24;
  --blue: #0f7cf0;
  --blue-soft: #dcecff;
  --white: #ffffff;

  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --site-width: 1280px;
  --pad-x: clamp(1.1rem, 4vw, 3rem);
  --pad-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 1.35rem;
  --shadow: 0 1.5rem 4rem rgba(17, 33, 29, 0.08);
  --line: 1px solid var(--ivory-line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(15, 124, 240, 0.09), transparent 28%),
    linear-gradient(180deg, #faf8f2 0%, var(--ivory) 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.shell {
  width: min(100%, var(--site-width));
  margin: 0 auto;
}

.section-label,
.section-title,
.eyebrow,
.caps {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-label,
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--blue);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.section-copy {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  max-width: 42rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(245, 243, 236, 0.88);
  border-bottom: var(--line);
}

.site-nav .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad-x);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(17, 33, 29, 0.16);
  background:
    linear-gradient(135deg, rgba(15, 124, 240, 0.16), rgba(15, 124, 240, 0.02)),
    var(--panel);
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 33, 29, 0.12);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--ink-soft);
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7c8783;
}

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 0.75rem 2rem rgba(18, 63, 54, 0.22);
}

.call-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.call-number {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero {
  padding: 1.2rem var(--pad-x) 0;
}

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

.hero-copy,
.hero-photo-wrap {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3rem);
  background:
    linear-gradient(155deg, rgba(15, 124, 240, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(18, 63, 54, 0.04), rgba(18, 63, 54, 0.01)),
    var(--panel);
  border: var(--line);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(15, 124, 240, 0.12);
  border-radius: 1rem;
  pointer-events: none;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
}

.hero-title {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 13vw, 7.7rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero-title .hero-accent {
  display: inline;
  background: var(--blue-soft);
  color: var(--green-deep);
  padding: 0.08em 0.22em 0.16em;
  margin: -0.08em -0.04em -0.16em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-deck {
  margin: 1.4rem 0 0;
  max-width: 39rem;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-secondary {
  background: transparent;
  border-color: rgba(17, 33, 29, 0.14);
  color: var(--green);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.hero-photo-wrap {
  position: relative;
  min-height: 25rem;
  background: var(--green);
  border: 1px solid rgba(17, 33, 29, 0.08);
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 33, 29, 0.1), rgba(17, 33, 29, 0.45)),
    linear-gradient(90deg, rgba(15, 124, 240, 0.1), transparent 42%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  width: min(18rem, calc(100% - 2rem));
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(245, 243, 236, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
}

.hero-card-label {
  margin: 0;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.hero-card-text {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

.stats {
  padding: 1rem var(--pad-x) 0;
}

.stats-grid {
  display: grid;
  gap: 1px;
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-line);
}

.stat {
  background: var(--panel);
  padding: 1.3rem 1.15rem;
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.stat-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section {
  padding: var(--pad-y) var(--pad-x) 0;
}

.services-grid {
  display: grid;
  gap: 1px;
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-line);
}

.service-card {
  background: var(--panel);
  padding: 1.4rem 1.2rem;
}

.service-index {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--blue);
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

.service-card strong {
  color: var(--ink);
}

.people-panel {
  margin-top: 2rem;
  border-radius: calc(var(--radius) + 0.1rem);
  overflow: hidden;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.people-grid {
  display: grid;
}

.people-photo {
  min-height: 18rem;
}

.people-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-copy {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.people-copy .section-label {
  color: #9dd0ff;
}

.people-copy .section-title {
  color: var(--white);
}

.people-copy .section-copy {
  color: rgba(255, 255, 255, 0.8);
}

.people-quote {
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.people-quote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.people-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.reviews-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.review-card {
  padding: 1.4rem 1.2rem;
  border-radius: 1.15rem;
  border: var(--line);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
}

.review-stars {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.review-card blockquote {
  margin: 0.85rem 0 0;
}

.review-card p {
  margin: 0;
  color: var(--ink);
}

.review-card footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.visit-layout {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.visit-details,
.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visit-details {
  padding: 1.4rem 1.2rem;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-block {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(17, 33, 29, 0.08);
}

.detail-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-value {
  margin: 0;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.visit-map iframe {
  display: block;
  width: 100%;
  min-height: 20rem;
  border: 0;
}

.cta-band {
  padding: var(--pad-y) var(--pad-x) 0;
}

.cta-shell {
  padding: clamp(1.6rem, 5vw, 2.6rem);
  border-radius: calc(var(--radius) + 0.15rem);
  background:
    linear-gradient(135deg, rgba(15, 124, 240, 0.16), rgba(15, 124, 240, 0.04)),
    var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-shell h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.cta-shell p {
  margin: 1rem 0 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-shell .button {
  margin-top: 1.5rem;
  background: var(--white);
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  padding: 2.5rem var(--pad-x) 2rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  border-top: var(--line);
  padding-top: 1.1rem;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
}

.footer-line,
.footer-fine {
  margin: 0.3rem 0 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  body {
    font-size: 17px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .people-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-block:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .brand-tag {
    display: none;
  }

  .site-nav .shell {
    align-items: center;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .status-pill {
    padding: 0.5rem 0.72rem;
    font-size: 0.65rem;
  }

  .call-link {
    padding-inline: 0.9rem;
  }

  .call-label {
    display: none;
  }
}
