:root {
  --yellow: #f4e708;
  --anthracite: #57565c;
  --band: #48474c;
  --deep: #3b3a3f;
  --cream: #f1ece3;
  --cream-2: #e8e1d5;
  --ink: #2b2a2e;
  --soft: #6a6870;
  --line: rgba(43, 42, 46, 0.16);
  --line-dark: rgba(251, 250, 246, 0.18);
  --white: #fbfaf6;
  --hd: 72px;
  --section: clamp(4rem, 8vw, 6.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hd);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h1 em,
h2 em {
  display: block;
  font-style: italic;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.wrap {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft);
}

.rule {
  display: block;
  width: 4.2rem;
  height: 3px;
  margin-top: 1.6rem;
  background: var(--yellow);
  transform-origin: left;
}

.rule.reveal {
  transform: scaleX(0);
  opacity: 1;
}

.rule.reveal.is-in {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}

.btn-y {
  background: var(--yellow);
  color: var(--ink);
}

.btn-y:hover {
  transform: translateY(-2px);
  background: #fff04a;
}

.btn-ghost {
  border-color: rgba(43, 42, 46, 0.4);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* header */

.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--hd);
  background: var(--band);
  color: var(--white);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}

.hd.is-scrolled {
  background: rgba(59, 58, 63, 0.96);
  box-shadow: 0 10px 30px rgba(30, 29, 32, 0.2);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  height: 100%;
}

.brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 2.2rem;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 0.88rem;
  text-decoration: none;
  color: rgba(251, 250, 246, 0.82);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav a:hover,
.nav a.is-current {
  color: var(--white);
}

.nav a:hover::after,
.nav a.is-current::after {
  transform: scaleX(1);
}

.hd-cta {
  padding: 0.6rem 1.1rem;
  font-size: 0.84rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--white);
  transition: transform 0.35s var(--ease);
}

body.menu-open .burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 820px);
  padding: calc(var(--hd) + 3rem) 0 3rem;
  overflow: hidden;
  background: #efe6d8;
}

.hero-media {
  position: absolute;
  inset: 0;
  animation: settle 2.4s var(--ease) both;
}

.hero-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(241, 236, 227, 0.96) 0%, rgba(241, 236, 227, 0.8) 30%, rgba(241, 236, 227, 0) 58%);
}

@keyframes settle {
  from {
    transform: scale(1.08);
    opacity: 0.3;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-in {
  position: relative;
}

.hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5.6vw, 5.2rem);
}

.hero-lede {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: #48474c;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-index {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
}

.hero-index span {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-index i {
  width: 2.4rem;
  height: 1px;
  background: var(--ink);
}

.rise {
  animation: rise 1s var(--ease) both;
  animation-delay: calc(0.25s + var(--d, 0s));
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* band */

.band {
  padding: var(--section) 0;
  background: var(--band);
  color: var(--white);
}

.band-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.band h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

.band-copy p {
  max-width: 28rem;
  margin-top: 1.6rem;
  color: rgba(251, 250, 246, 0.78);
}

.band-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.band-photo img,
.steps-photo img,
.near-photo img,
.b-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.band-photo:hover img,
.steps-photo:hover img,
.near-photo:hover img {
  transform: scale(1.05);
}

/* steps */

.steps {
  padding: var(--section) 0;
}

.steps-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

.steps h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

.steps-list {
  margin-top: 2.2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease);
}

.step:hover {
  padding-left: 0.8rem;
}

.step-no {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--ink);
  transition: color 0.4s ease;
}

.step:hover .step-no {
  color: var(--anthracite);
}

.step p {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--soft);
}

.steps-foot {
  margin-top: 1.8rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.steps-photo {
  min-height: 440px;
  overflow: hidden;
}

/* forms */

.forms {
  padding: var(--section) 0;
  background: var(--cream-2);
}

.forms-in {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.forms h2 {
  position: sticky;
  top: calc(var(--hd) + 2rem);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}

.b-tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.b-tall .b-img {
  flex: 1;
  aspect-ratio: auto;
}

.b-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bento figure:hover .b-img img {
  transform: scale(1.07);
}

.bento figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--soft);
}

.bento figcaption::after {
  content: "→";
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}

.bento figure:hover figcaption::after {
  opacity: 1;
  transform: none;
}

.forms-note {
  grid-column: 2;
  font-size: 0.9rem;
  color: var(--soft);
}

/* near */

.near {
  position: relative;
  padding: var(--section) 0;
  overflow: hidden;
  background: var(--band);
  color: var(--white);
}

.ghost {
  position: absolute;
  left: 2%;
  bottom: -0.12em;
  font-family: var(--serif);
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(251, 250, 246, 0.16);
  pointer-events: none;
  will-change: transform;
}

.near-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.near h2 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
}

.counties {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.county {
  border-bottom: 1px solid var(--line-dark);
}

.county-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.05rem;
  color: var(--white);
  cursor: pointer;
}

.county-btn .arr {
  color: var(--yellow);
  transition: transform 0.45s var(--ease);
}

.county-btn:hover .arr {
  transform: translateX(5px);
}

.county.is-open .arr {
  transform: rotate(90deg);
}

.county-cities {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.county.is-open .county-cities {
  grid-template-rows: 1fr;
}

.county-cities > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.5s;
}

.county.is-open .county-cities > div {
  visibility: visible;
  transition-delay: 0s;
}

.county.is-open .county-cities > div {
  padding-bottom: 1rem;
}

.county-cities a {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-dark);
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.county-cities a:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.county-empty {
  font-size: 0.84rem;
  color: rgba(251, 250, 246, 0.6);
}

.near-list .btn {
  width: 100%;
}

.near-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* faq */

.faq {
  padding: var(--section) 0;
}

.faq-in {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq h2 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.qa-q span {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}

.qa-q span::before,
.qa-q span::after {
  content: "";
  position: absolute;
  inset: 5.5px 0 auto;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.qa-q span::after {
  transform: rotate(90deg);
}

.qa.is-open .qa-q span::after {
  transform: rotate(0deg);
}

.qa-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.qa.is-open .qa-a {
  grid-template-rows: 1fr;
}

.qa-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.5s;
}

.qa.is-open .qa-a > div {
  visibility: visible;
  transition-delay: 0s;
}

.qa-a p {
  max-width: 40rem;
  padding-bottom: 1.2rem;
  color: var(--soft);
}

/* cta */

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep);
  color: var(--white);
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section) clamp(1.5rem, 4vw, 4rem) var(--section) max(24px, calc((100vw - 1240px) / 2));
}

.cta h2 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.cta-phone {
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--yellow);
}

.cta-photo {
  min-height: 420px;
  overflow: hidden;
}

.cta-photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
}

/* footer */

.ft {
  padding: 2.4rem 0;
  background: var(--band);
  color: var(--white);
}

.ft-in {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2.4rem;
  align-items: center;
}

.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ft-brand span {
  font-size: 0.82rem;
  color: rgba(251, 250, 246, 0.6);
}

.ft-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.86rem;
}

.ft-nav a {
  text-decoration: none;
  color: rgba(251, 250, 246, 0.8);
}

.ft-nav a:hover {
  color: var(--yellow);
}

.ft-legal {
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  border-left: 1px solid var(--line-dark);
  font-size: 0.76rem;
  color: rgba(251, 250, 246, 0.55);
}

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* responsive */

@media (max-width: 1080px) {
  .near-in {
    grid-template-columns: 1fr 1fr;
  }

  .near h2 {
    grid-column: 1 / -1;
  }

  .ft-in {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .ft-legal {
    padding: 1.2rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
}

@media (max-width: 900px) {
  .nav,
  .hd-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  body.menu-open .nav {
    position: fixed;
    inset: var(--hd) 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 24px 1.4rem;
    background: var(--band);
  }

  body.menu-open .nav a {
    padding: 0.9rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-dark);
  }

  body.menu-open .nav a::after {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: var(--hd) 0 3rem;
  }

  .hero-media {
    position: relative;
    height: 50svh;
    min-height: 300px;
    margin-bottom: -3.5rem;
    overflow: hidden;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(239, 230, 216, 0) 55%, #efe6d8 100%);
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-index {
    margin-top: 2.2rem;
  }

  .band-in,
  .steps-in,
  .forms-in,
  .near-in,
  .faq-in,
  .cta {
    grid-template-columns: 1fr;
  }

  .forms h2 {
    position: static;
  }

  .forms-note {
    grid-column: auto;
  }

  .steps-photo {
    min-height: 360px;
  }

  .cta-copy {
    padding-inline: 24px;
  }

  .cta-photo {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .b-tall {
    grid-row: auto;
  }

  .b-tall .b-img {
    aspect-ratio: 4 / 5;
  }

  .step {
    grid-template-columns: 3.6rem 1fr;
  }

  .step-no {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .rule.reveal {
    opacity: 1;
    transform: none;
  }
}
