:root {
  --lindum-green: #33645a;
  --lindum-green-dark: #244b43;
  --lindum-yellow: #ffcc02;
  --lindum-ink: #282828;
  --lindum-muted: #5b625f;
  --lindum-cream: #f4f1e8;
  --lindum-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body.closure-page {
  margin: 0;
  background: var(--lindum-white);
  color: var(--lindum-ink);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.65;
  text-align: left;
}

.closure-page *,
.closure-page *::before,
.closure-page *::after {
  box-sizing: border-box;
}

.closure-page a {
  color: inherit;
}

.closure-page img,
.closure-page svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--lindum-white);
  color: var(--lindum-green-dark);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.closure-hero {
  position: relative;
  display: flex;
  min-height: clamp(572px, 82.5vh, 865px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("../img/lindum-house-dogs.jpg");
  background-position: center;
  background-size: cover;
  color: var(--lindum-white);
  text-align: center;
}

.closure-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 42, 37, 0.24), rgba(8, 20, 18, 0.72));
}

.hero-brand {
  position: absolute;
  top: 4rem;
  left: 50%;
  z-index: 2;
  display: block;
  width: 210px;
  max-width: calc(100% - 2rem);
  filter: drop-shadow(0 0.45rem 0.8rem rgba(8, 20, 18, 0.32));
  transform: translateX(-50%);
}

.hero-brand img {
  width: 100%;
  height: auto;
}

.closure-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 960px);
  padding-block: 5rem;
  transform: translateY(1.5rem);
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--lindum-yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.closure-hero h1 {
  margin: 0;
  color: var(--lindum-white);
  font-size: clamp(3.3rem, 9vw, 6.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-shadow: 0 0.15rem 1.25rem rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.content-narrow,
.content-wide {
  width: min(100% - 2rem, 780px);
  margin-inline: auto;
}

.content-wide {
  width: min(100% - 2rem, 1120px);
}

.closure-message {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.closure-message .section-kicker,
.farewell .section-kicker {
  color: var(--lindum-green);
}

.closure-message h2,
.alternatives h2,
.farewell h2 {
  margin: 0;
  color: var(--lindum-green-dark);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

.message-copy {
  max-width: 690px;
  margin: 2rem auto 0;
  color: var(--lindum-muted);
}

.message-copy p {
  margin: 0;
}

.message-copy p + p {
  margin-top: 1.2rem;
}

.alternatives {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--lindum-cream);
}

.alternatives h2 {
  margin-bottom: 2.5rem;
  text-align: center;
}

.referral-list {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.referral-card {
  display: flex;
  width: 33.333%;
  min-height: 330px;
  flex-direction: column;
  padding: 1.75rem;
  border-top: 4px solid var(--lindum-yellow);
  background: var(--lindum-white);
  box-shadow: 0 0.75rem 2rem rgba(30, 61, 55, 0.08);
}

.referral-number {
  color: var(--lindum-green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.referral-card h3 {
  margin: 1rem 0 0.75rem;
  color: var(--lindum-green-dark);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.referral-card p {
  margin: 0 0 1.5rem;
  color: var(--lindum-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.referral-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  border-bottom: 1px solid currentColor;
  color: var(--lindum-green-dark);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.referral-card a:hover {
  border-color: var(--lindum-yellow);
  color: var(--lindum-green);
}

.closure-page a:focus-visible {
  outline: 3px solid var(--lindum-yellow);
  outline-offset: 4px;
}

.farewell {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--lindum-green);
  color: var(--lindum-white);
  text-align: center;
}

.farewell .section-kicker {
  color: var(--lindum-yellow);
}

.farewell h2 {
  color: var(--lindum-white);
}

.farewell p:last-child {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
}

.site-footer {
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--lindum-green-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .referral-list {
    flex-direction: column;
  }

  .referral-card {
    width: 100%;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  body.closure-page {
    font-size: 17px;
  }

  .hero-brand {
    top: 3rem;
    width: 175px;
  }

  .closure-hero-content {
    transform: translateY(1.25rem);
  }

  .closure-hero {
    min-height: 625px;
    background-position: 42% center;
  }

  .closure-hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.3rem);
  }

  .closure-message h2,
  .alternatives h2,
  .farewell h2 {
    font-size: 2.15rem;
  }

  .referral-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .skip-link,
  .referral-card a {
    transition: none;
  }
}
