.home-hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  color: #fff;
  background-color: #17372b;
  background-image:
    linear-gradient(90deg, rgba(4, 22, 16, 0.16) 0%, rgba(4, 22, 16, 0.08) 38%, rgba(4, 22, 16, 0) 68%),
    url("assets/hero-image-with-text.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain;
  isolation: isolate;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 18, 13, 0.28) 100%);
  content: "";
  pointer-events: none;
}

.home-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: none;
  min-height: 100%;
  padding: clamp(178px, 16.5vw, 315px) clamp(28px, 4.4vw, 84px) clamp(64px, 6.4vw, 106px);
}

.home-hero-copy {
  width: min(760px, 57%);
  padding: 0;
}

.home-hero-eyebrow {
  display: none;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-hero-tagline {
  margin: 16px 0 12px;
  color: #f2bf42;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.home-hero-description {
  max-width: 690px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.5;
}

.home-hero h1,
.home-hero-tagline,
.home-hero-description {
  visibility: hidden;
}

.home-search-row {
  display: flex;
  max-width: 650px;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
}

.home-search {
  position: relative;
  display: flex;
  max-width: 500px;
  flex: 1 1 500px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(1, 18, 12, 0.28);
}

.home-search:focus-within {
  outline: 3px solid rgba(242, 191, 66, 0.55);
  outline-offset: 3px;
}

.home-search svg,
.home-near-button svg,
.home-callout svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-search input {
  min-width: 0;
  padding: 17px 18px 17px 2px;
  border: 0;
  outline: 0;
  color: #122a21;
  font-size: 16px;
}

.home-search input::placeholder { color: #7d8883; }

.home-search-submit {
  display: grid;
  width: 52px;
  align-self: stretch;
  flex: 0 0 52px;
  place-items: center;
  border: 0;
  background: #fff;
  color: #112b22;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.home-search-submit:hover { background: #f5f3ed; }
.home-search-submit:active { transform: scale(0.96); }
.home-search-submit svg { width: 22px; }

.home-near-button,
.home-browse-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.home-near-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(39, 98, 58, 0.86);
  color: #fff;
}

.home-near-button:hover { background: #347348; }
.home-near-button svg { width: 19px; }

.home-browse-button {
  width: fit-content;
  margin-top: 24px;
  border: 1px solid #f2b92f;
  background: #f2b92f;
  color: #112b22;
  text-decoration: none;
}

.home-browse-button:hover { background: #ffca48; }
.home-near-button:active,
.home-browse-button:active { transform: translateY(2px); }

.home-search-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #fff0c5;
  font-size: 14px;
  font-weight: 700;
}

.home-callouts {
  display: grid;
  width: min(760px, 68%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: auto;
}

.home-callout {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
}

.home-callout-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(242, 185, 47, 0.16);
  color: #f2b92f;
}

.home-callout h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
}

.home-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1050px) {
  .home-hero {
    min-height: 540px;
    background-image:
      linear-gradient(90deg, rgba(4, 22, 16, 0.2) 0%, rgba(4, 22, 16, 0.08) 48%, rgba(4, 22, 16, 0) 78%),
      url("assets/hero-image-with-text.png");
  }

  .home-hero-inner { padding-top: clamp(160px, 17vw, 196px); }
  .home-hero-copy { width: 59%; }
  .home-callouts { width: 76%; }
}

@media (max-width: 800px) {
  .home-hero {
    min-height: 860px;
    aspect-ratio: auto;
    background-image:
      linear-gradient(180deg, rgba(3, 22, 16, 0.84) 0%, rgba(3, 22, 16, 0.62) 42%, rgba(3, 22, 16, 0.12) 74%, rgba(3, 22, 16, 0.08) 100%),
      url("assets/hero-image-with-text.png");
    background-position: center, right center;
    background-size: cover, auto 115%;
  }

  .home-hero-inner {
    justify-content: flex-start;
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .home-hero-copy {
    width: min(680px, 100%);
    padding: 28px 0 180px;
  }

  .home-hero-description { max-width: 570px; }
  .home-callouts { width: 100%; }
}

@media (max-width: 560px) {
  .home-hero {
    min-height: 920px;
    background-position: center, 84% center;
    background-size: cover, auto 100%;
  }

  .home-hero-inner { padding-top: 16px; }
  .home-hero-copy { padding: 24px 0 235px; }
  .home-hero-eyebrow { margin-bottom: 10px; }
  .home-hero h1 { font-size: clamp(46px, 14vw, 62px); }
  .home-hero-tagline { margin-top: 16px; font-size: 25px; }
  .home-hero-description { font-size: 16px; line-height: 1.5; }
  .home-search input { padding: 15px 4px 15px 0; font-size: 14px; }
  .home-search-submit { width: 50px; flex-basis: 50px; }

  .home-search-row,
  .home-callouts { grid-template-columns: 1fr; }

  .home-search-row { display: grid; max-width: none; }
  .home-search-row { margin-top: 0; }

  .home-search,
  .home-near-button,
  .home-browse-button { width: 100%; }

  .home-search { max-width: none; }

  .home-callouts { gap: 8px; }

  .home-callout {
    grid-template-columns: 44px 1fr;
    padding: 10px 12px;
  }

  .home-callout-icon { width: 44px; height: 44px; }
}

.home-featured {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background: var(--cream);
}

.home-featured::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(200, 155, 60, 0.15), transparent 28%),
    linear-gradient(115deg, transparent 0 62%, rgba(8, 44, 33, 0.04) 62% 63%, transparent 63%);
  content: "";
  pointer-events: none;
}

.home-featured .container {
  position: relative;
}

.home-featured-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  column-gap: 48px;
  margin-bottom: 34px;
}

.home-featured-kicker {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: #8a6421;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-featured-heading h2 {
  margin: 0;
  color: var(--g);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.home-featured-subtitle {
  margin: 0 0 8px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: #46564e;
  font-size: 17px;
}

.home-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.home-sponsor-slot {
  position: relative;
  display: flex;
  min-height: 270px;
  aspect-ratio: 1305 / 1205;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(8, 44, 33, 0.13);
  background:
    radial-gradient(circle at 88% 14%, rgba(200, 155, 60, 0.2), transparent 24%),
    linear-gradient(145deg, #ffffff 0 68%, #f0eadb 68% 100%);
  box-shadow: 0 20px 45px rgba(8, 44, 33, 0.1);
}

.home-sponsor-slot::before {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(8, 44, 33, 0.18);
  border-radius: 50%;
  content: "";
}

.home-sponsor-slot::after {
  position: absolute;
  top: 20px;
  right: 58px;
  width: 1px;
  height: 76px;
  background: rgba(8, 44, 33, 0.2);
  content: "";
}

.home-sponsor-slot > * {
  position: relative;
  z-index: 1;
}

.home-sponsor-slot--image {
  min-height: 0;
  aspect-ratio: 2 / 3;
  padding: 0;
  background: #fff;
}

.home-sponsor-slot--image::before,
.home-sponsor-slot--image::after {
  display: none;
}

.home-sponsor-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-sponsor-slot--contained-image {
  padding: 0;
  background: #fff;
}

.home-sponsor-slot--contained-image::before,
.home-sponsor-slot--contained-image::after {
  display: none;
}

.home-sponsor-slot--contained-image .home-sponsor-image {
  position: absolute;
  inset: 0;
}

.home-sponsor-slot--layered-image {
  padding: 0;
  background: #17372b;
}

.home-sponsor-slot--layered-image::before {
  inset: -12px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: var(--sponsor-art) center / cover no-repeat;
  filter: blur(10px);
  transform: scale(1.04);
}

.home-sponsor-slot--layered-image::after {
  display: none;
}

.home-sponsor-slot--layered-image .home-sponsor-image {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-sponsor-label {
  display: inline-block;
  margin-bottom: auto;
  color: #8a6421;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.home-sponsor-rule {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 48px 0 18px;
}

.home-sponsor-rule::before,
.home-sponsor-rule::after,
.home-sponsor-rule span {
  display: block;
  height: 1px;
  content: "";
}

.home-sponsor-rule::before {
  width: 48px;
  background: var(--gold);
}

.home-sponsor-rule span {
  width: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.home-sponsor-rule::after {
  width: 18px;
  background: rgba(8, 44, 33, 0.2);
}

.home-sponsor-slot h3 {
  margin: 0 0 9px;
  color: var(--g);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.home-sponsor-slot p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .home-featured-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-featured-subtitle { padding-left: 16px; }
  .home-sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-sponsor-slot { min-height: 250px; }
}

@media (max-width: 560px) {
  .home-featured { padding: 64px 0 70px; }
  .home-featured-heading h2 { font-size: 42px; }
  .home-sponsor-grid { grid-template-columns: 1fr; }

  .home-sponsor-slot {
    min-height: 240px;
    padding: 26px;
  }
}
