:root {
  --yellow: #f4e708;
  --yellow-2: #fff34a;
  --ink: #2a292e;
  --char: #3b3a40;
  --char-2: #47464c;
  --char-3: #55545a;
  --paper: #efece5;
  --paper-2: #f7f5f0;
  --white: #ffffff;
  --text: #2a292e;
  --muted: #6a6970;
  --muted-dark: #b4b3b8;
  --line: #d9d5cc;
  --line-dark: rgba(255, 255, 255, 0.14);
  --hd: 68px;
  --max: 1240px;
  --gutter: max(24px, (100cqw - var(--max)) / 2);
  --section: clamp(3.5rem, 6vw, 5.5rem);
  --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: "Archivo", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  container-type: inline-size;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.wrap {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

.ic {
  flex: none;
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 2px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn .ic {
  transition: transform 0.25s var(--ease);
}

.btn:hover .ic {
  transform: translateX(4px);
}

.btn-y {
  background: var(--yellow);
  color: var(--ink);
}

.btn-y:hover {
  background: var(--yellow-2);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--yellow);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.link-arrow .ic {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .ic {
  transform: translateX(4px);
}

.link-dark {
  color: var(--ink);
  border-color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* Header */

.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--char);
  color: var(--white);
  transition: box-shadow 0.3s;
}

.hd.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--hd);
}

.logo {
  font-size: 1.55rem;
  font-weight: 900;
  font-stretch: 78%;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 2.2rem;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  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: 40px;
  padding: 0 1.1rem;
  font-size: 0.85rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--yellow);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(calc(100svh - var(--hd) - 52px), 720px);
  padding-block: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  background: var(--char);
  color: var(--white);
  isolation: isolate;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(43, 42, 47, 0.95) 0%, rgba(51, 50, 56, 0.85) 34%, rgba(59, 58, 64, 0.2) 62%, rgba(59, 58, 64, 0) 80%),
    linear-gradient(0deg, rgba(43, 42, 47, 0.5), transparent 40%);
}

.kicker {
  margin-bottom: 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  font-weight: 900;
  font-stretch: 76%;
  letter-spacing: -0.015em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-lede {
  max-width: 34ch;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-top: 2.2rem;
}

/* Strip */

.strip {
  background: var(--yellow);
  color: var(--ink);
}

.strip-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  height: 52px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.strip-in i {
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
}

/* Value */

.value {
  padding-block: var(--section);
  background: var(--paper);
}

.value-in {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.value-in p {
  max-width: 42ch;
  padding-top: 0.6rem;
  font-size: 1.05rem;
  color: var(--muted);
}

/* Choice */

.choice {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 32%);
  background: var(--yellow);
}

.choice-photo {
  min-height: clamp(320px, 38vw, 520px);
}

.choice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.choice-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(2rem, 4vw, 3.5rem) clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
}

.choice-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.choice-panel p {
  max-width: 30ch;
  font-size: 0.98rem;
  color: rgba(42, 41, 46, 0.78);
}

/* Steps */

.step {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 30%);
  border-bottom: 1px solid var(--line-dark);
}

.step-dark {
  background: var(--char);
  color: var(--white);
}

.step-light {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--line);
}

.step-in {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: auto;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem) clamp(1.75rem, 3vw, 2.5rem) var(--gutter);
}

.step-no {
  flex: none;
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 2px solid currentColor;
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 800;
  font-stretch: 90%;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.step-light .step-no {
  -webkit-text-stroke-color: var(--ink);
  border-color: var(--ink);
}

.step-dark .step-no {
  border-color: rgba(255, 255, 255, 0.5);
}

.step-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
}

.step-copy p {
  max-width: 46ch;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted-dark);
}

.step-light .step-copy p {
  color: var(--muted);
}

.step-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.step {
  overflow: hidden;
}

.step:hover .step-img {
  transform: scale(1.04);
}

/* Recover */

.recover {
  padding-block: clamp(2rem, 3.5vw, 2.8rem);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.recover-in {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.recover h2 {
  flex: none;
  max-width: 100%;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.recover-line {
  flex: 1;
  height: 2px;
  background: var(--ink);
}

/* Forms of gold */

.forms {
  padding-block: var(--section);
  background: var(--char);
  color: var(--white);
}

.forms .display {
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, minmax(200px, 1fr));
  gap: 14px;
  height: clamp(420px, 44vw, 600px);
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--char-2);
}

.tile-big {
  grid-row: span 2;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.tile:hover img {
  transform: scale(1.04);
}

.tile figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.55rem 1rem;
  background: var(--char);
  font-size: 0.85rem;
  font-weight: 600;
}

.tile figcaption::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.6rem;
  background: var(--yellow);
  vertical-align: 0.05em;
}

/* Counties */

.counties {
  padding-block: var(--section);
  background: var(--paper);
}

.counties-in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.county {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  padding: 1.4rem 1.5rem;
  border: 0;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.county b {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.county small {
  grid-row: 2;
  font-size: 0.8rem;
  color: var(--muted);
}

.county .ic {
  grid-row: span 2;
  grid-column: 2;
  grid-row-start: 1;
  width: 1.4em;
  height: 1.4em;
  transition: transform 0.25s var(--ease);
}

.county:hover {
  background: var(--white);
}

.county:hover .ic {
  transform: translateX(4px);
}

.county.is-active {
  background: var(--yellow);
}

.county.is-active small {
  color: rgba(42, 41, 46, 0.7);
}

.county.is-active .ic {
  transform: rotate(90deg);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.2rem 0 0;
  animation: fadeUp 0.45s var(--ease);
}

.cities[hidden] {
  display: none;
}

.cities a {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.cities a:hover {
  background: var(--ink);
  color: var(--yellow);
}

.cities p {
  font-size: 0.92rem;
  color: var(--muted);
}

.cities p a {
  padding: 0;
  border: 0;
  font-weight: 700;
  color: var(--ink);
}

.cities p a:hover {
  background: none;
  color: var(--ink);
  text-decoration: underline;
}

/* FAQ */

.faq {
  padding-block: var(--section);
  background: var(--char);
  color: var(--white);
}

.faq-in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.qa {
  background: var(--paper-2);
  color: var(--ink);
}

.qa-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 56px;
  padding: 0 0 0 1.3rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.qa-q span {
  position: relative;
  flex: none;
  align-self: stretch;
  width: 56px;
  background: var(--yellow);
}

.qa-q span::before,
.qa-q span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.qa-q span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.qa.is-open .qa-q span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.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: 60ch;
  padding: 0 1.3rem 1.2rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.qa.is-open .qa-a {
  grid-template-rows: 1fr;
}

/* CTA */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 26vw, 360px);
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.cta-img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  align-self: stretch;
  width: 58%;
  padding: clamp(2.5rem, 4vw, 3.5rem) 12% clamp(2.5rem, 4vw, 3.5rem) var(--gutter);
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.cta-panel h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* Footer */

.ft {
  padding-top: clamp(3rem, 5vw, 4rem);
  background: var(--char);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.logo-lg {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}

.ft-brand p {
  margin-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ft-col h4 {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.ft-col a {
  width: fit-content;
  text-decoration: none;
  transition: color 0.2s;
}

.ft-col a:hover {
  color: var(--yellow);
}

.ft-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Motion */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise {
  animation: fadeUp 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  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;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: var(--hd);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem 24px 1.5rem;
    background: var(--char);
    border-top: 1px solid var(--line-dark);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }

  .nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .burger {
    display: block;
  }

  .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);
  }

  .hd-cta {
    display: none;
  }

  .value-in,
  .counties-in,
  .faq-in {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .choice {
    grid-template-columns: 1fr;
  }

  .choice-panel {
    padding: 2.5rem 24px;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step-in {
    padding: 2rem 24px;
  }

  .step-img {
    height: 200px;
  }

  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ft-brand {
    grid-column: 1 / -1;
  }

  .cta-img {
    width: 100%;
    opacity: 0.55;
  }

  .cta-panel {
    width: 82%;
    padding-right: 16%;
  }
}

@media (max-width: 640px) {
  .hero-shade {
    background: linear-gradient(180deg, rgba(43, 42, 47, 0.55) 0%, rgba(43, 42, 47, 0.92) 70%);
  }

  .hero-img {
    object-position: 78% 50%;
  }

  .strip-in {
    gap: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
  }

  .step-no {
    font-size: 3rem;
    padding-right: 1.1rem;
  }

  .step-in {
    gap: 1.1rem;
  }

  .recover-line {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .tile-big {
    grid-row: auto;
  }

  .tile {
    aspect-ratio: 4 / 3;
  }

  .county {
    column-gap: 0.5rem;
    padding: 1rem 0.9rem;
  }

  .county b {
    font-size: 1.1rem;
  }

  .cta-panel {
    width: 100%;
    padding: 3rem 24px;
    clip-path: none;
    background: rgba(244, 231, 8, 0.94);
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}
