:root {
  --ink: #16212a;
  --muted: #59646b;
  --paper: #ffffff;
  --warm: #f7f3ea;
  --mist: #eef2f1;
  --navy: #1b3347;
  --navy-dark: #102231;
  --blue: #2f6587;
  --gold: #c4933f;
  --rust: #954c2f;
  --line: #dce3e1;
  --shadow: 0 22px 60px rgba(16, 34, 49, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 225, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid var(--navy);
  color: var(--paper);
  background: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

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

.brand-text strong {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-wrap,
.site-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 1.45rem;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  gap: 0.7rem;
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--paper);
  cursor: pointer;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.14rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.14;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--paper);
  background: var(--rust);
  box-shadow: 0 12px 26px rgba(149, 76, 47, 0.24);
}

.button-primary:hover {
  background: #743820;
}

.button-light {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.94);
}

.button-outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.button-outline:hover {
  color: var(--paper);
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: min(720px, 76svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-dark) url("assets/hudson-valley-home.png") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 34, 49, 0.96) 0%, rgba(16, 34, 49, 0.78) 39%, rgba(16, 34, 49, 0.22) 72%, rgba(16, 34, 49, 0.08) 100%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 62%);
  padding-block: 5rem;
}

.hero .eyebrow,
.section-dark .eyebrow,
.site-footer .eyebrow {
  color: #f0c577;
}

.hero h1,
.page-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.4vw, 6.3rem);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-copy {
  max-width: 58ch;
  margin: 1.45rem 0 0;
  color: #eef4f3;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.proof-bar {
  color: var(--paper);
  background: var(--navy);
}

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

.proof-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-content: center;
  min-height: 112px;
  padding: 1.35rem 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item svg {
  width: 24px;
  color: #f0c577;
}

.proof-item strong,
.proof-item span {
  display: block;
  line-height: 1.28;
}

.proof-item span {
  margin-top: 0.12rem;
  color: #cfdbdc;
  font-size: 0.8rem;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-soft {
  background: var(--warm);
}

.section-dark {
  color: var(--paper);
  background: var(--navy-dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.7rem;
}

.section-heading h2,
.split-copy h2,
.cta-band h2,
.page-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 4.15rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.section-heading p,
.split-copy > p,
.page-section > p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 290px;
  padding: 1.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: color 180ms ease, background 180ms ease;
}

.service-card:hover {
  color: var(--paper);
  background: var(--navy);
}

.service-card svg {
  width: 31px;
  height: 31px;
  color: var(--rust);
}

.service-card:hover svg,
.service-card:hover p {
  color: #e4eff0;
}

.service-card h3 {
  margin: 1.1rem 0 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.4rem, 7vw, 6rem);
}

.image-frame {
  position: relative;
}

.image-frame::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 45%;
  height: 45%;
  background: var(--gold);
  content: "";
}

.image-frame img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list,
.plain-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.65rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  font-weight: 750;
}

.check-list svg,
.plain-list svg {
  width: 20px;
  margin-top: 0.18rem;
  color: var(--rust);
}

.reviews-grid,
.values-grid,
.steps-grid,
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.review-card,
.value-item,
.step-card,
.region-card {
  padding: 2rem;
  background: var(--paper);
}

.review-card p,
.value-item p,
.step-card p,
.region-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.review-card strong,
.step-card strong {
  color: var(--rust);
  font-weight: 850;
}

.value-number,
.step-number {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.value-item h3,
.step-card h3,
.region-card h2 {
  margin: 1rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.service-area {
  position: relative;
  overflow: hidden;
}

.service-area::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 32rem;
  height: 32rem;
  border: 6rem solid rgba(240, 197, 119, 0.12);
  border-radius: 50%;
  content: "";
}

.area-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 3rem;
}

.area-list,
.town-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.area-list span,
.town-list span {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #d6e3e3;
  font-weight: 800;
}

.area-grid p,
.cta-band p {
  color: #cfdbdc;
}

.area-action {
  display: flex;
  justify-content: flex-end;
}

.page-hero {
  position: relative;
  min-height: 410px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(16, 34, 49, 0.98), rgba(47, 101, 135, 0.84));
  content: "";
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem 4rem;
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.page-hero p {
  max-width: 66ch;
  margin: 1.15rem 0 0;
  color: #e0ebeb;
  font-size: 1.12rem;
}

.breadcrumb {
  margin: 0 0 1.1rem;
  color: #f0c577;
  font-size: 0.9rem;
  font-weight: 850;
}

.guide-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.guide {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.guide summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.guide summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
}

.summary-icon svg {
  width: 20px;
  transition: transform 180ms ease;
}

.guide[open] .summary-icon svg {
  transform: rotate(45deg);
}

.guide-body {
  max-width: 790px;
  padding: 0 0 2rem;
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.site-footer {
  color: #d9e2e2;
  background: #0b1721;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: 4rem;
  padding-block: 4.5rem;
}

.footer-brand p {
  max-width: 44ch;
  color: #b0bfc1;
}

.footer-title {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: #d6e2e2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.footer-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a7aa;
  font-size: 0.86rem;
}

.mobile-call-bar {
  display: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 78px;
  }

  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav-wrap {
    position: fixed;
    z-index: 110;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100dvh - 78px);
    display: block;
    padding: 1.2rem;
    border-top: 1px solid var(--line);
    background: rgba(247, 243, 234, 0.98);
    box-shadow: 0 18px 36px rgba(16, 34, 49, 0.18);
    backdrop-filter: blur(12px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 180ms ease;
  }

  .nav-wrap[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(22, 33, 42, 0.14);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.52rem;
  }

  .site-nav a::after {
    display: none;
  }

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

  .reviews-grid,
  .values-grid,
  .steps-grid,
  .region-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 68px;
  }

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

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 1.08rem;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 650px;
    align-items: end;
    background-position: 57% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(16, 34, 49, 0.08) 0%, rgba(16, 34, 49, 0.78) 50%, rgba(16, 34, 49, 0.98) 100%);
  }

  .hero-content {
    width: 100%;
    padding-block: 8rem 3rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  .hero-actions .button,
  .page-actions .button {
    flex: 1 1 100%;
  }

  .proof-grid,
  .services-grid,
  .split,
  .area-grid,
  .reviews-grid,
  .values-grid,
  .steps-grid,
  .region-grid,
  .cta-band,
  .footer-grid,
  .area-list,
  .town-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 1.45rem;
  }

  .image-frame img {
    min-height: 330px;
  }

  .image-frame::after {
    right: -8px;
    bottom: -8px;
  }

  .area-action {
    justify-content: flex-start;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero-content {
    padding-block: 5rem 3rem;
  }

  .footer-grid {
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .mobile-call-bar {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    box-shadow: 0 -12px 30px rgba(16, 34, 49, 0.16);
  }

  .mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem;
    color: var(--paper);
    background: var(--rust);
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-call-bar a:last-child {
    background: var(--navy);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
