:root {
  --yellow: #f4e708;
  --yellow-2: #fff23d;
  --ink: #232327;
  --dark: #38383d;
  --dark-2: #2e2e33;
  --cream: #f6f1e8;
  --cream-2: #fbf8f2;
  --white: #ffffff;
  --text: #2b2b2f;
  --muted: #6c6a68;
  --muted-dark: rgba(255, 255, 255, 0.66);
  --line: #ded6c7;
  --line-dark: rgba(255, 255, 255, 0.16);
  --serif: "Newsreader", Georgia, serif;
  --gutter: clamp(16px, 2.8vw, 56px);
  --hd: 68px;
  --section: clamp(3.25rem, 5.5vw, 5rem);
  --radius: 14px;
  --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: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -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 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--ink);
}

h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.bar::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 1.1rem;
  background: var(--yellow);
}

.body {
  max-width: 52ch;
  margin-top: 1.1rem;
  color: var(--muted);
}

.wrap {
  width: min(1800px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.ic {
  flex: none;
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.35rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s;
}

.btn-y {
  background: var(--yellow);
  color: var(--ink);
}

.btn-y:hover {
  background: var(--yellow-2);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.link .ic,
.counties .ic {
  transition: transform 0.25s var(--ease);
}

.link:hover .ic,
.counties a:hover .ic {
  transform: translateX(3px);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */

.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: var(--white);
  transition: box-shadow 0.3s;
}

.hd.is-scrolled {
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.55);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--hd);
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 2.2rem;
  margin-inline: auto;
}

.nav a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s 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;
}

.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: 5px auto;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

.menu-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.hero-in {
  position: relative;
}

.hero-img {
  width: 100%;
  height: min(620px, calc(100svh - var(--hd) - 3rem));
  min-height: 460px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
}

.hero-card {
  position: absolute;
  left: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  width: min(620px, 52%);
  padding: clamp(1.4rem, 2.2vw, 2rem);
  border-radius: 14px;
  background: rgba(251, 248, 242, 0.96);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.45);
}

.kicker {
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.04;
  text-wrap: initial;
  color: var(--ink);
}

.hero-lede {
  margin-top: 1rem;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.5rem;
}

/* Intro */

.intro,
.recover,
.forms,
.places,
.faq {
  padding-top: var(--section);
}

.faq {
  padding-bottom: var(--section);
}

.intro-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.intro .photo {
  aspect-ratio: 4 / 3.3;
}

.features {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.features li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.feat-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.features p {
  margin-top: 0.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Process */

.process {
  margin-top: var(--section);
  padding-block: var(--section);
  background: var(--dark);
  color: var(--white);
}

.process h2,
.process h3 {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.steps li {
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line-dark);
}

.steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.no {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  line-height: 1;
  color: var(--yellow);
}

.steps h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 500;
}

.steps p {
  max-width: 34ch;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted-dark);
}

/* Recover */

.recover-in {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.recover .photo {
  aspect-ratio: 16 / 8;
}

/* Forms */

.forms-photo {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  border-radius: var(--radius);
}

.forms-photo img {
  width: 100%;
  aspect-ratio: 16 / 5.2;
  object-fit: cover;
}

.forms-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.forms-labels li + li {
  border-left: 1px solid var(--line);
}

/* Places */

.places-in {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.places .btn {
  margin-top: 1.75rem;
}

.counties {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.counties li:nth-child(odd) {
  padding-right: clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.counties li:nth-child(even) {
  padding-left: clamp(1rem, 3vw, 2.5rem);
}

.counties a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}

.counties li:nth-child(n + 3) a {
  border-bottom: 0;
}

.counties a:hover {
  color: #8a7d00;
}

/* FAQ */

.faq-list {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  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.1rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.qa-q .ic {
  width: 1.3em;
  height: 1.3em;
  color: #c9bc05;
  stroke-width: 2;
  transition: transform 0.35s var(--ease);
}

.qa.is-open .qa-q .ic {
  transform: rotate(45deg);
}

.qa-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.qa-a > div {
  overflow: hidden;
}

.qa-a p {
  max-width: 70ch;
  padding-bottom: 1.2rem;
  color: var(--muted);
}

.qa.is-open .qa-a {
  grid-template-rows: 1fr;
}

/* CTA */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.cta-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

.cta-in {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 44ch;
  margin: 1rem 0 1.75rem;
  color: var(--muted-dark);
}

/* Footer */

.ft {
  background: var(--dark-2);
  color: var(--muted-dark);
  font-size: 0.85rem;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 2rem;
  padding-block: 3rem 2.5rem;
}

.ft-brand {
  padding-right: 2rem;
  border-right: 1px solid var(--line-dark);
}

.ft-brand p {
  margin-top: 0.3rem;
  color: var(--white);
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ft-col h4 {
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
}

.ft-col a {
  text-decoration: none;
  transition: color 0.2s;
}

.ft-col a:hover {
  color: var(--yellow);
}

.ft-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
}

/* Motion */

.rise {
  animation: rise 0.9s var(--ease) both;
  animation-delay: 0.1s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rise,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-card {
    width: min(560px, 62%);
  }

  .ft-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ft-brand {
    grid-column: 1 / -1;
    padding: 0 0 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 900px) {
  .burger {
    display: block;
  }

  .hd-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--hd) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--dark);
    border-top: 1px solid var(--line-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }

  .menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

  .hero-img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -3rem 0.75rem 0;
  }

  .intro-in,
  .recover-in,
  .places-in {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .steps li {
    padding: 1.75rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .steps li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .forms-photo img {
    aspect-ratio: 16 / 9;
  }

  .cta-img {
    width: 100%;
    opacity: 0.35;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 600px) {
  .forms-labels {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .forms-labels li + li {
    border-left: 0;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}
