:root {
  --bg: #f4efe7;
  --bg-alt: #e7dccd;
  --surface: #ffffff;
  --surface-soft: #f8f3eb;
  --surface-tint: rgba(255, 255, 255, 0.74);
  --text: #1f2a2a;
  --muted: #5e6766;
  --line: #ddd1c2;
  --brand: #17384f;
  --brand-deep: #102b3e;
  --accent: #b67a37;
  --shadow: 0 16px 44px rgba(24, 32, 38, 0.12);
  --shadow-soft: 0 24px 54px rgba(17, 29, 38, 0.08);
  --tracking-wide: 0.16em;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(182, 122, 55, 0.14), transparent 20%),
    radial-gradient(circle at top left, rgba(23, 56, 79, 0.08), transparent 16%),
    linear-gradient(180deg, #f6f1e9 0%, #f3ede4 56%, #f7f3ed 100%);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: 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;
}

.container {
  width: min(calc(100% - 1.5rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 233, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 209, 194, 0.68);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 43, 62, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 38px rgba(9, 19, 29, 0.18);
}

.site-header.is-scrolled .brand-copy strong,
.site-header.is-scrolled .brand-copy span,
.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .menu-toggle,
.site-header.is-scrolled .header-cta {
  color: #ffffff;
}

.site-header.is-scrolled .menu-toggle {
  background: transparent;
  border-color: transparent;
}

.site-header.is-scrolled .header-cta {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(182, 122, 55, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.menu-toggle {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0;
  width: 32px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-bars span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (max-width: 759px) {
  .header-row {
    min-height: 74px;
    gap: 0.75rem;
  }

  .brand-copy strong {
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .brand-copy span {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .header-actions {
    gap: 0.55rem;
    flex: 0 0 auto;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 479px) {
  .header-row {
    min-height: 70px;
  }

  .brand-copy strong {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .brand-copy span {
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 56, 79, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 18px rgba(16, 43, 62, 0.08);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: var(--brand);
}

.hero,
.results-hero {
  position: relative;
  padding: 1rem 0 2.4rem;
}

.hero {
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 32, 0.42), rgba(8, 20, 32, 0.6)),
    linear-gradient(120deg, rgba(182, 122, 55, 0.14), transparent 54%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.4s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-stack {
  position: relative;
  display: grid;
  gap: 1.25rem;
  width: 100%;
  padding: 5.5rem 0 5rem;
}

.hero-centered {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: 0.73rem;
  font-weight: 800;
}

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

h1,
h2 {
  font-family: "Marcellus", Georgia, serif;
  line-height: 1.02;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.section-copy,
.region-card p,
.location-card p,
.contact-card p,
.summary-text,
.quick-link-card span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-points div,
.hero-mini-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(7, 16, 24, 0.12);
}

.search-shell,
.summary-panel,
.map-panel,
.location-card,
.region-card,
.contact-card,
.side-card,
.iframe-shell {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.search-shell {
  display: grid;
  gap: 1rem;
  padding: 1.45rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 235, 0.98));
}

.hero-search-shell {
  width: min(100%, 860px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  justify-items: center;
  text-align: center;
}

.hero-search-shell .button-primary {
  min-width: 260px;
  min-height: 60px;
  box-shadow: 0 18px 34px rgba(9, 19, 29, 0.28);
}

.hero-typing-button {
  position: relative;
  letter-spacing: 0.03em;
}

.hero-typing-text {
  display: inline-flex;
  align-items: center;
  min-width: 11ch;
}

.hero-typing-text::after {
  content: "";
  width: 1px;
  height: 1.15em;
  margin-left: 0.18rem;
  background: rgba(255, 255, 255, 0.82);
  animation: hero-caret 0.9s steps(1) infinite;
}

@keyframes hero-caret {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0.2;
  }
}

.hero-search-title {
  margin: 0;
  color: #ffffff;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 24px rgba(7, 16, 24, 0.4);
}

.overview-intro h1,
.market-band h2,
.section-head h2,
.panel-top h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}

.hero-search-subtitle {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
  line-height: 1.75;
  text-shadow: 0 4px 16px rgba(7, 16, 24, 0.34);
}

.hero-search-shell .search-action-row {
  margin-top: 0.5rem;
}

.search-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.search-action-row-centered {
  justify-content: center;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 1.35rem;
  cursor: pointer;
  border: 0;
  font-weight: 800;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(16, 43, 62, 0.16),
    0 2px 6px rgba(16, 43, 62, 0.08);
}

.button-secondary {
  border: 1px solid rgba(16, 43, 62, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  box-shadow:
    0 8px 20px rgba(16, 43, 62, 0.08),
    0 1px 3px rgba(16, 43, 62, 0.04);
}

.inline-link,
.region-card a {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.results-hero .inline-link,
.section .inline-link,
.region-card a {
  color: var(--brand);
}

.section {
  padding: 2.8rem 0;
}

.overview-section {
  padding-top: 0;
}

.overview-shell {
  margin-top: -5.5rem;
  padding: 2.2rem 1.3rem 2.4rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 243, 235, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 80px rgba(15, 27, 36, 0.16);
  position: relative;
}

.overview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(23, 56, 79, 0.05), transparent 42%),
    radial-gradient(circle at top right, rgba(182, 122, 55, 0.12), transparent 30%);
  pointer-events: none;
}

.overview-intro {
  position: relative;
  max-width: 860px;
}

.overview-copy {
  font-size: 1.14rem;
  line-height: 1.82;
}

.overview-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
  position: relative;
}

.stats-section {
  padding-top: 0;
}

.stats-band {
  display: grid;
  gap: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 233, 0.98));
  border: 1px solid rgba(226, 214, 201, 0.92);
  box-shadow: 0 18px 40px rgba(17, 29, 38, 0.08);
  overflow: hidden;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.25rem;
  border-top: 1px solid rgba(221, 209, 194, 0.72);
}

.stats-item:first-child {
  border-top: 0;
}

.stats-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(23, 56, 79, 0.1), rgba(23, 56, 79, 0.04));
  color: var(--brand);
  flex-shrink: 0;
}

.stats-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.stats-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.stats-item span:last-child {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  color: var(--brand);
}

.section-tight {
  padding-top: 2.3rem;
}

.market-section {
  padding-top: 0.4rem;
}

.market-band {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem 1.35rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 233, 0.98));
  border: 1px solid rgba(226, 214, 201, 0.92);
  box-shadow: 0 18px 40px rgba(17, 29, 38, 0.08);
}

.market-band-intro {
  max-width: 40rem;
}

.market-band-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.market-list-heading {
  margin: 0;
  color: var(--brand);
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.35rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}

.areas-grid span {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(221, 209, 194, 0.58);
  color: var(--muted);
}

.section-search {
  padding-top: 2.2rem;
}

.alt-section {
  background: linear-gradient(180deg, rgba(231, 220, 205, 0.46), rgba(244, 239, 231, 0.1));
}

.section-head,
.contact-grid,
.results-layout,
.footer-row {
  display: grid;
  gap: 1rem;
}

.section-head {
  margin-bottom: 0.35rem;
}

.region-grid,
.location-list {
  display: grid;
  gap: 1rem;
}

.market-summary-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 236, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(17, 29, 38, 0.06);
  padding: 1.5rem;
}

.market-summary-card p {
  color: var(--muted);
  line-height: 1.72;
}

.region-grid {
  grid-template-columns: 1fr;
}

.region-grid-services {
  margin-top: 0.75rem;
}

.region-card,
.location-card,
.contact-card,
.side-card,
.summary-panel {
  border-radius: var(--radius-lg);
}

.region-card,
.location-card,
.contact-card,
.side-card {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.region-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 236, 0.98));
  box-shadow: 0 10px 24px rgba(17, 29, 38, 0.06);
}

.region-card h3 + p {
  margin-bottom: 1.15rem;
}

.service-card-image {
  margin: -1.5rem -1.5rem 1.2rem;
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.region-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 234, 0.96));
  border: 1px solid rgba(23, 56, 79, 0.12);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 24px rgba(16, 43, 62, 0.08),
    0 1px 4px rgba(16, 43, 62, 0.05);
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.18s ease;
}

.service-card-link:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 56, 79, 0.18);
  box-shadow:
    0 14px 28px rgba(16, 43, 62, 0.12),
    0 2px 6px rgba(16, 43, 62, 0.06);
}

.region-card::before,
.contact-card::before,
.side-card::before,
.market-list-card::before,
.search-callout::before,
.iframe-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(182, 122, 55, 0.8), rgba(23, 56, 79, 0.18));
}

.hero-mini-card {
  padding: 1.15rem 1.2rem;
  color: #ffffff;
}

.hero-mini-card p {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-mini-card .inline-link {
  color: #ffffff;
}

.results-layout,
.results-main,
.results-sidebar {
  align-items: start;
}

.results-main,
.results-sidebar {
  display: grid;
  gap: 1rem;
}

.panel-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.iframe-shell {
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  position: relative;
}

.iframe-shell iframe {
  display: block;
  width: 100%;
  min-height: 780px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}

.quick-link-card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.quick-link-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.quick-link-card strong {
  color: var(--brand);
}

.market-list-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 235, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: 1.55rem;
  position: relative;
  height: 100%;
}

.market-list-card h3,
.market-note-card h3 {
  margin-bottom: 0.85rem;
}

.market-overview {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.areas-grid span {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(221, 209, 194, 0.58);
}

.search-callout {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 235, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.search-callout h3 {
  font-size: 1.42rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  margin-bottom: 0.7rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 3rem;
}

.footer-shell {
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(182, 122, 55, 0.18), transparent 26%),
    linear-gradient(180deg, #1b415a, #102b3e 68%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 24%);
  pointer-events: none;
}

.footer-inner {
  display: grid;
  gap: 1.6rem;
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}

.footer-title,
.footer-subtitle,
.footer-meta p,
.footer-summary p,
.footer-links-inline a {
  margin: 0;
}

.footer-branding,
.footer-summary,
.footer-meta {
  position: relative;
  z-index: 1;
}

.footer-callouts {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.footer-callouts p {
  margin: 0;
  color: #ffffff;
}

.footer-callouts a {
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}

.footer-section-label {
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-subtitle {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.footer-summary-copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.footer-meta {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links-inline {
  display: grid;
  gap: 0.55rem;
}

.footer-links-inline a {
  color: #ffffff;
  font-weight: 600;
}

.footer-office-list {
  display: grid;
  gap: 0.45rem;
}

.footer-note {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.64);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(16, 43, 62, 0.16),
    0 3px 8px rgba(16, 43, 62, 0.08);
}

body.nav-open .site-nav {
  display: grid;
  position: absolute;
  top: 78px;
  left: 0.75rem;
  right: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

body.nav-open .header-actions {
  margin-left: 0;
}

body.nav-open .menu-toggle-bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

body.nav-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (min-width: 760px) {
  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

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

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

  .stats-item {
    min-height: 100%;
    border-top: 0;
    border-left: 1px solid rgba(221, 209, 194, 0.72);
  }

  .stats-item:first-child {
    border-left: 0;
  }

  .market-band {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    padding: 2rem 1.8rem;
  }

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

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

  .search-callout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-shell {
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
    align-items: start;
    padding-top: 3.1rem;
    padding-bottom: 3rem;
  }

  .footer-meta {
    padding-top: 0;
    border-top: 0;
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: inline-flex;
    align-items: center;
    gap: 1.35rem;
  }

  .hero {
    min-height: calc(100svh - 82px);
    padding: 0;
  }

  .hero-stack {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .search-shell {
    gap: 1rem;
    padding: 1.55rem;
  }

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

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

  .overview-shell {
    margin-top: -6rem;
    padding: 2.8rem;
  }

  .search-shell-compact {
    grid-template-columns: 1.5fr 2fr auto;
  }

  .results-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  }

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

@media (max-width: 1023px) {
  .header-cta {
    display: none;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }
}
