:root {
  --yellow: #f4e708;
  --yellow-2: #fff23d;
  --bg: #4a494f;
  --bg-2: #403f45;
  --anthracite: #57565c;
  --cream: #f1ece3;
  --cream-line: #ddd5c7;
  --ink: #26252a;
  --ink-soft: #5d5b62;
  --white: #fbfaf6;
  --soft: rgba(251, 250, 246, 0.74);
  --line: rgba(251, 250, 246, 0.16);
  --hd: 64px;
  --section: clamp(2.6rem, 4.5vw, 3.6rem);
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hd);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 3.2vw, 4rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.wrap {
  width: min(1800px, 100% - clamp(32px, 6vw, 128px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-y {
  background: var(--yellow);
  color: var(--ink);
}

.btn-y:hover {
  background: var(--yellow-2);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--yellow);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.link-arrow span {
  color: var(--yellow);
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* header */

.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--hd);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.hd.is-scrolled {
  box-shadow: 0 10px 28px rgba(20, 20, 22, 0.3);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  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.86rem;
  text-decoration: none;
  color: var(--soft);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.35s 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 {
  min-height: 38px;
  padding: 0 1.1rem;
  font-size: 0.84rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

body.menu-open .burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* hero */

.hero {
  padding: clamp(2.4rem, 5vw, 4rem) 0 var(--section);
}

.hero-in {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  margin-top: 1rem;
}

.hero-lede {
  max-width: 30rem;
  margin-top: 1.2rem;
  font-size: 1.02rem;
  color: var(--soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
  margin-top: 1.8rem;
}

.hero-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(20, 20, 22, 0.3);
}

.hero-photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 60% center;
}

.rise {
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(0.15s + var(--d, 0s));
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* sections */

.sec {
  padding: var(--section) 0 0;
}

.sec-last {
  padding-bottom: var(--section);
}

.sec-lede {
  margin-top: 0.6rem;
  color: var(--soft);
}

.card {
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
}

/* about card */

.card-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: center;
  padding: clamp(1rem, 1.6vw, 1.4rem);
}

.card-photo {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.card-split:hover .card-photo img {
  transform: scale(1.04);
}

.card-copy {
  padding: 1rem clamp(0.5rem, 2vw, 1.6rem) 1rem 0;
}

.card-copy > p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.6rem;
  border-top: 1px solid var(--cream-line);
}

.mini li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.1rem 1rem 0 0;
}

.mini li + li {
  padding-left: 1.2rem;
  border-left: 1px solid var(--cream-line);
}

.mini svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini b {
  display: block;
  font-size: 0.9rem;
}

.mini span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.8rem;
}

.steps li {
  padding-top: 0.2rem;
}

.step-no {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--yellow);
  transition: transform 0.4s var(--ease);
}

.steps li:hover .step-no {
  transform: translateY(-4px);
}

.steps h3 {
  margin-top: 0.8rem;
}

.steps p {
  max-width: 21rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--soft);
}

.steps-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.steps-note svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* pieces */

.pieces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.piece {
  text-decoration: none;
}

.piece-img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.piece-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.piece:hover .piece-img img {
  transform: scale(1.06);
}

.piece-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.piece-label::after {
  content: "→";
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--yellow);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.piece:hover .piece-label::after {
  opacity: 1;
  transform: none;
}

/* find card */

.card-find {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.find-copy p {
  max-width: 24rem;
  margin: 0.9rem 0 1.6rem;
  color: var(--ink-soft);
}

.counties {
  border-top: 1px solid var(--cream-line);
}

.county {
  border-bottom: 1px solid var(--cream-line);
}

.county-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0.2rem;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.chev {
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(-45deg);
  transition: transform 0.35s var(--ease);
}

.county-btn:hover .chev {
  transform: translateX(3px) rotate(-45deg);
}

.county.is-open .chev {
  transform: rotate(45deg);
}

.county-cities {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s 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.45s;
}

.county.is-open .county-cities > div {
  padding-bottom: 1rem;
  visibility: visible;
  transition-delay: 0s;
}

.county-cities a {
  padding: 0.32rem 0.75rem;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.county-cities a:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

.county-empty {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* faq */

.faq {
  margin-top: 1.4rem;
  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.05rem 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.qa-q span {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.qa-q span::before,
.qa-q span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--yellow);
  transition: transform 0.35s 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.45s var(--ease);
}

.qa.is-open .qa-a {
  grid-template-rows: 1fr;
}

.qa-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.45s;
}

.qa.is-open .qa-a > div {
  visibility: visible;
  transition-delay: 0s;
}

.qa-a p {
  max-width: 44rem;
  padding-bottom: 1.1rem;
  color: var(--soft);
}

/* cta */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.cta-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 60%;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(38, 37, 42, 0.92) 0%, rgba(38, 37, 42, 0.6) 45%, rgba(38, 37, 42, 0) 75%);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding: clamp(1.8rem, 4vw, 3rem);
}

.cta-copy p {
  max-width: 30rem;
}

.cta-copy p {
  margin: 0.8rem 0 1.5rem;
  color: var(--soft);
}

/* footer */

.ft {
  padding: var(--section) 0 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--soft);
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.2rem;
}

.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ft-brand span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ft-col h4 {
  margin-bottom: 0.3rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.ft-col a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ft-col a:hover {
  color: var(--yellow);
}

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* responsive */

@media (max-width: 900px) {
  .nav,
  .hd-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: calc(100svh - var(--hd));
    padding: 0.5rem 24px;
    background: var(--bg-2);
  }

  body.menu-open .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  body.menu-open .nav a::after {
    display: none;
  }

  .hero-in,
  .card-split,
  .card-find {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
  }

  .card-copy {
    padding: 0.4rem 0.6rem 0.8rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .steps li {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    column-gap: 0.6rem;
  }

  .step-no {
    grid-row: span 2;
    font-size: 2.6rem;
  }

  .steps h3 {
    margin-top: 0;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ft-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .mini {
    grid-template-columns: 1fr;
  }

  .mini li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--cream-line);
    margin-top: 1rem;
  }

  .pieces {
    grid-template-columns: 1fr;
  }

  .cta::before {
    background: linear-gradient(0deg, rgba(38, 37, 42, 0.95) 0%, rgba(38, 37, 42, 0.75) 60%, rgba(38, 37, 42, 0.3) 100%);
  }

  .cta {
    min-height: 360px;
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
