/* Home-only reference alignment. Loaded before home-about-contacts.css, so
   selectors are intentionally scoped and specific. */

html body.home {
  --home-burgundy: #76263b;
  --home-yellow: #ffb735;
  --home-header: #454342;
}

html body.home .site-header {
  width: min(var(--sh-page-width), 100%);
  background: var(--home-header);
}

html body.home .header-main {
  min-height: 129px;
  grid-template-columns: 230px minmax(0, 1fr) 44px auto;
  gap: 16px;
  padding-inline: 0;
}

html body.home .site-brand {
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.6px;
}

html body.home .site-brand img,
html body.home .custom-logo-link img {
  width: 62px;
  max-width: 62px;
  height: 62px;
  max-height: 62px;
}

html body.home .brand-text {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.6px;
}

html body.home .primary-nav ul {
  gap: 16px;
}

html body.home .primary-nav a {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

html body.home .primary-nav a:hover,
html body.home .primary-nav .current-menu-item > a,
html body.home .primary-nav .current_page_item > a {
  background: #d3f3e6;
  color: #000;
}

html body.home .header-search {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

html body.home .header-donate {
  min-height: 53px;
  padding-inline: 27px;
  border-radius: 6px;
  background: var(--home-yellow);
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

html body.home .hero {
  min-height: 640px;
  margin-top: 0;
  padding-top: 0;
  background-position: center top;
}

html body.home .hero::before {
  background: linear-gradient(90deg, rgba(20, 18, 17, .5), rgba(20, 18, 17, .08) 68%);
}

html body.home .hero__inner {
  padding-top: 32px;
  padding-bottom: 88px;
}

html body.home .hero .eyebrow,
html body.home .hero h1 {
  max-width: 760px;
  color: #fff;
  font-family: var(--sh-body-font);
  font-weight: 400;
}

html body.home .hero .eyebrow {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.2;
}

html body.home .hero h1 {
  font-size: 28px;
  line-height: 1.24;
}

html body.home .hero p:not(.eyebrow) {
  max-width: 340px;
  margin: 32px 0 28px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

html body.home .hero .button {
  min-width: 151px;
  min-height: 40px;
  padding: 9px 24px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
}

html body.home .home-burgundy-preview {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--home-burgundy);
}

html body.home .home-burgundy-preview::before {
  top: -74px;
  height: 96px;
  background: var(--home-burgundy);
  clip-path: polygon(0 78%, 50% 0, 100% 78%, 100% 100%, 0 100%);
}

html body.home .home-burgundy-preview .split {
  gap: 30px;
}

html body.home .home-burgundy-preview .split > div:first-child {
  max-width: 1130px;
}

html body.home .split-section .eyebrow,
html body.home .split-section h2 {
  color: #fff;
  font-family: var(--sh-body-font);
  font-weight: 400;
}

html body.home .split-section .eyebrow {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.2;
}

html body.home .split-section h2 {
  max-width: 1130px;
  margin-inline: auto;
  font-size: 36px;
  line-height: 1.36;
}

html body.home .home-burgundy-preview .split p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--home-yellow);
  font-size: 20px;
  line-height: 1.4;
}

html body.home .home-product-preview {
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  width: min(1092px, 100%);
  margin-top: 0;
  gap: 96px;
  align-items: start;
}

html body.home .home-product-card {
  max-width: none;
  text-align: center;
}

html body.home .home-product-card__image {
  margin-bottom: 18px;
}

html body.home .home-product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

html body.home .home-product-card h3 {
  min-height: 0;
  color: #fff;
  font-family: var(--sh-body-font);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 600;
}

html body.home .home-product-card .home-product-card__body > p {
  min-height: 0;
  margin: 16px auto 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.52;
}

html body.home .home-burgundy-preview .home-product-card p {
  color: #fff;
  font-size: 15px;
  line-height: 1.52;
}

html body.home .home-burgundy-preview .split .home-product-card .home-product-card__body > p:not(.eyebrow) {
  max-width: 100%;
  margin: 16px auto 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.52;
}

html body.home .home-product-card__link {
  display: none;
}

html body.home .home-product-card__price {
  display: inline-block;
  margin-top: 18px;
  min-width: 176px;
  padding: 8px 16px;
  border: 2px solid var(--home-yellow);
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.3;
}

@media (min-width: 1181px) and (max-width: 1320px) {
  html body.home .header-main {
    grid-template-columns: 230px minmax(0, 1fr) 40px auto;
    gap: 12px;
  }

  html body.home .primary-nav ul {
    gap: 4px;
  }

  html body.home .primary-nav a {
    padding-inline: 9px;
    font-size: 14px;
  }
}

@media (min-width: 641px) {
  html body.home .hero::before {
    background:
      linear-gradient(90deg, rgba(250, 246, 242, .97), rgba(250, 246, 242, .96)),
      linear-gradient(90deg, rgba(20, 18, 17, .04), rgba(20, 18, 17, .02));
  }
}

@media (min-width: 641px) and (max-width: 1180px) {
  html body.home .site-header {
    position: relative;
  }

  html body.home .header-main {
    min-height: 127px;
    grid-template-columns: minmax(0, 1fr) 44px 96px 52px !important;
    gap: 20px;
  }

  html body.home .site-brand {
    justify-self: center;
  }

  html body.home .primary-nav {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: none !important;
    grid-column: 1 / -1;
    padding: 8px 24px 18px;
    background: var(--home-header);
    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 20px 34px rgba(0, 0, 0, .14);
  }

  html body.home .primary-nav.is-open,
  html body.home.nav-open .primary-nav {
    display: block !important;
  }

  html body.home .primary-nav:not(.is-open) {
    display: none !important;
  }

  html body.home .primary-nav ul {
    display: grid;
    gap: 0;
    align-items: flex-start;
  }

  html body.home .primary-nav li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  html body.home .primary-nav a {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 13px 0;
    color: #fff;
    font-size: 15px;
  }

  html body.home .header-search {
    display: inline-grid !important;
  }

  html body.home .header-donate {
    display: inline-flex !important;
    grid-column: auto !important;
    width: auto !important;
    margin-top: 0 !important;
    min-height: 52px;
    padding-inline: 24px;
  }

  html body.home .header-donate-mobile {
    display: none !important;
  }

  html body.home .menu-toggle {
    display: inline-grid !important;
    grid-column: auto !important;
    width: 52px;
    height: 52px;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 6px;
    background: var(--home-yellow);
  }

  html body.home .menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #111;
  }

  html body.home .hero {
    min-height: 464px;
    margin-top: -127px;
    padding-top: 127px;
    background-position: center top;
  }

  html body.home .hero::before {
    background: linear-gradient(90deg, rgba(250, 246, 242, .97), rgba(250, 246, 242, .96));
  }

  html body.home .hero__inner {
    max-width: 720px;
    padding-top: 12px;
    padding-bottom: 34px;
  }

  html body.home .hero .eyebrow {
    max-width: 660px;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 600;
  }

  html body.home .hero h1 {
    font-size: 24px;
    font-weight: 600;
  }

  html body.home .hero p:not(.eyebrow) {
    max-width: 420px;
    margin: 28px 0 30px;
    font-size: 20px;
    font-weight: 600;
  }

  html body.home .hero .button {
    width: auto;
    min-width: 152px;
    min-height: 40px;
  }

  html body.home .home-burgundy-preview {
    padding-top: 12px;
  }

  html body.home .home-burgundy-preview::before {
    top: -54px;
    height: 70px;
    clip-path: polygon(0 76%, 50% 0, 100% 76%, 100% 100%, 0 100%);
  }

  html body.home .split-section .eyebrow {
    font-size: 30px;
  }

  html body.home .split-section h2 {
    font-size: 30px;
    line-height: 1.3;
  }

  html body.home .home-burgundy-preview .split p:not(.eyebrow) {
    max-width: 680px;
    font-size: 18px;
  }

  html body.home .home-product-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(672px, 100%);
    gap: 48px 74px;
    margin-top: 0;
  }

  html body.home .home-product-card:nth-child(3) {
    display: none;
  }

  html body.home .home-product-card .home-product-card__body > p {
    color: #fff;
    font-size: 15px;
    line-height: 1.42;
  }

  html body.home .home-burgundy-preview .home-product-card p {
    color: #fff;
    font-size: 15px;
    line-height: 1.42;
  }

  html body.home .home-burgundy-preview .split .home-product-card .home-product-card__body > p:not(.eyebrow) {
    color: #fff;
    font-size: 15px;
    line-height: 1.42;
  }
}

@media (max-width: 640px) {
  html body.home .site-header {
    position: relative;
    width: min(var(--sh-page-width), 100%);
    background: rgba(69, 67, 66, .96);
  }

  html body.home .header-main {
    min-height: 120px;
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 10px;
    padding: 10px 10px 10px 12px;
  }

  html body.home .site-brand {
    align-items: flex-start;
  }

  html body.home .site-brand img,
  html body.home .custom-logo-link img {
    width: 58px;
    max-width: 58px;
    height: 58px;
    max-height: 58px;
  }

  html body.home .brand-text {
    max-width: 160px;
    font-size: 13px;
    letter-spacing: 1.8px;
  }

  html body.home .header-search,
  html body.home .header-donate,
  html body.home .header-donate-mobile {
    display: none !important;
  }

  html body.home .menu-toggle {
    grid-column: 2;
    justify-self: end;
    width: 52px !important;
    height: 52px !important;
    place-content: center;
    gap: 6px;
    border-radius: 6px;
    background: var(--home-yellow) !important;
  }

  html body.home .menu-toggle span {
    width: 26px;
    height: 3px;
    background: #111 !important;
  }

  html body.home .primary-nav {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: none !important;
    grid-column: 1 / -1;
    padding: 8px 22px 18px;
    background: var(--home-header);
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  html body.home .primary-nav.is-open,
  html body.home.nav-open .primary-nav {
    display: block !important;
  }

  html body.home .primary-nav:not(.is-open) {
    display: none !important;
  }

  html body.home .primary-nav ul {
    display: grid;
    gap: 0;
  }

  html body.home .primary-nav li {
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  html body.home .primary-nav a {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 13px 0;
    color: #fff;
    white-space: normal;
  }

  html body.home .hero {
    min-height: 352px !important;
    margin-top: 0;
    padding-top: 0;
    align-items: center;
    background-image:
      linear-gradient(to bottom, transparent 0, transparent 101px, #faf6f2 101px, #faf6f2 100%),
      url("../../images/home-8.jpg") !important;
    background-position: 50% top, center top;
    background-size: 390px auto, 390px auto;
    background-repeat: no-repeat;
  }

  html body.home .hero::before {
    background: rgba(250, 246, 242, .88);
  }

  html body.home .hero__inner {
    width: min(100% - 40px, 760px);
    padding-top: 40px;
    padding-bottom: 0;
  }

  html body.home .hero .eyebrow {
    max-width: 340px;
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 600;
  }

  html body.home .hero h1 {
    font-size: 22px;
    line-height: 1.18;
    font-weight: 600;
  }

  html body.home .hero p:not(.eyebrow) {
    max-width: 336px;
    margin: 16px 0 22px;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 400;
  }

  html body.home .hero .button {
    width: auto;
    min-width: 152px;
    min-height: 39px;
    padding: 7px 24px;
    font-size: 16px;
  }

  html body.home .home-burgundy-preview {
    padding-top: 28px;
  }

  html body.home .home-burgundy-preview::before {
    top: -28px;
    height: 48px;
    clip-path: polygon(0 62%, 50% 0, 100% 62%, 100% 100%, 0 100%);
  }

  html body.home .home-burgundy-preview .split {
    gap: 24px;
  }

  html body.home .split-section .eyebrow {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 1.12;
  }

  html body.home .split-section h2 {
    max-width: 350px;
    font-size: 21px;
    line-height: 1.16;
  }

  html body.home .home-burgundy-preview .split p:not(.eyebrow) {
    max-width: 340px;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.24;
  }

  html body.home .home-product-preview {
    grid-template-columns: 1fr;
    width: min(340px, 100%);
    gap: 24px;
    margin-top: 28px;
  }

  html body.home .home-product-card:not(:first-child) {
    display: none;
  }

  html body.home .home-product-card__image {
    display: block;
    width: min(300px, 100%);
    height: auto;
    margin: 0 auto 20px;
    overflow: hidden;
  }

  html body.home .home-product-card img {
    aspect-ratio: 1 / 1;
    transform: none;
  }

  html body.home .home-product-card h3 {
    font-size: 16px;
    line-height: 1.32;
  }

  html body.home .home-product-card .home-product-card__body > p {
    margin: 22px auto 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.52;
  }

  html body.home .home-burgundy-preview .home-product-card p {
    color: #fff;
    font-size: 14px;
    line-height: 1.52;
  }

  html body.home .home-burgundy-preview .split .home-product-card .home-product-card__body > p:not(.eyebrow) {
    color: #fff;
    font-size: 14px;
    line-height: 1.52;
  }

  html body.home .home-product-card__link {
    display: none;
  }

  html body.home .home-product-card__price {
    display: inline-block;
    margin-top: 34px;
    min-width: 228px;
    padding: 10px 18px;
    border: 2px solid var(--home-yellow);
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  html body.home .hero .eyebrow {
    max-width: 330px;
    font-size: 20px;
  }

  html body.home .hero p:not(.eyebrow) {
    max-width: 328px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  html body.home .hero {
    min-height: 346px !important;
    background-image:
      linear-gradient(to bottom, transparent 0, transparent 102px, #faf6f2 102px, #faf6f2 100%),
      url("../../images/home-1.jpg") !important;
    background-position: 50% top, 50% -18px !important;
    background-size: 390px auto, 390px auto !important;
  }

  html body.home .hero::before {
    background: linear-gradient(to bottom, rgba(20, 18, 17, .04) 0, rgba(250, 246, 242, .82) 104px, rgba(250, 246, 242, .97) 100%) !important;
  }

  html body.home .hero__inner {
    padding-top: 94px !important;
  }
}

/* Codex live refinement: visible hero media, real GiveWP embed, manual sponsor rail. */
html body.home .primary-nav > div > ul > li:first-child > a,
html body.home .primary-nav > ul > li:first-child > a {
  background: #d3f3e6 !important;
  color: #000 !important;
}

html body.home .primary-nav > div > ul > li:nth-child(2) > a::after,
html body.home .primary-nav > ul > li:nth-child(2) > a::after {
  content: none !important;
}

html body.home .hero {
  min-height: 650px !important;
  background-position: center 42% !important;
  background-size: cover !important;
}

html body.home .hero::before {
  background: linear-gradient(90deg, rgba(24, 22, 21, .34) 0%, rgba(24, 22, 21, .16) 34%, rgba(250, 246, 242, .12) 72%, rgba(250, 246, 242, .2) 100%) !important;
}

html body.home .hero__inner {
  padding-top: 18px !important;
  padding-bottom: 96px !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .2);
}

html body.home .hero .eyebrow {
  max-width: 760px !important;
  font-size: 32px !important;
  line-height: 1.18 !important;
}

html body.home .hero h1 {
  max-width: 760px !important;
  font-size: 36px !important;
  line-height: 1.18 !important;
}

html body.home .hero p:not(.eyebrow) {
  max-width: 410px !important;
  font-size: 21px !important;
  line-height: 1.36 !important;
}

html body.home .home-donation-band {
  position: relative;
  padding: 96px 0 !important;
  background-color: #f6f0ec !important;
  background-position: center !important;
}

html body.home .home-donation-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 242, .72);
  pointer-events: none;
}

html body.home .home-donation-band .donation-layout {
  position: relative;
  z-index: 1;
  display: grid !important;
  width: min(1200px, calc(100% - 40px)) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .88fr) !important;
  gap: 56px !important;
  align-items: center !important;
}

html body.home .home-donation-copy {
  text-align: left !important;
}

html body.home .home-donation-copy .eyebrow {
  color: var(--home-burgundy) !important;
}

html body.home .home-donation-copy h2 {
  max-width: 560px;
  font-family: var(--sh-heading-font) !important;
  font-size: 42px !important;
  line-height: 1.2 !important;
}

html body.home .home-donation-copy p:not(.eyebrow) {
  max-width: 560px !important;
  color: #4d4545 !important;
  font-size: 17px !important;
}

html body.home .home-donation-image {
  width: 100% !important;
  max-width: 590px !important;
  height: 390px !important;
  margin-top: 30px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  box-shadow: 0 20px 48px rgba(36, 33, 29, .14) !important;
}

html body.home .home-donation-band .donation-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(120, 38, 60, .12) !important;
  border-radius: 6px !important;
  padding: 30px !important;
  box-shadow: 0 24px 54px rgba(36, 33, 29, .13) !important;
}

html body.home .home-donation-band .donation-form-slot,
html body.home .home-donation-band .root-data-givewp-embed {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

html body.home .donation-form-slot--givewp-embed form,
html body.home .donation-form-slot--givewp-embed .give-form {
  max-width: none !important;
  margin: 0 !important;
}

html body.home .donation-form-slot--givewp-embed iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 650px !important;
  min-height: 650px !important;
  border: 0 !important;
  background: #fff !important;
}

html body.home .sponsors-section {
  padding: 78px 0 82px !important;
  background: #faf6f2 !important;
}

html body.home .sponsors-section .section-heading {
  margin-bottom: 58px !important;
}

html body.home .sponsors-section h2 {
  color: #1e1e1e !important;
  font-family: var(--sh-heading-font) !important;
  font-size: 46px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

html body.home .sponsor-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
}

html body.home .sponsor-carousel__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html body.home .sponsor-carousel__viewport::-webkit-scrollbar {
  display: none;
}

html body.home .sponsor-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 130px;
  align-items: center;
  min-width: max-content;
  padding: 6px 0 12px;
}

html body.home .sponsor-logo {
  min-width: 190px;
  min-height: 92px;
  padding: 14px 20px;
  border: 0 !important;
  background: transparent !important;
  filter: grayscale(1);
  opacity: .62;
}

html body.home .sponsor-logo img {
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
}

html body.home .sponsor-carousel__button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7b7b7b;
  cursor: pointer;
}

html body.home .sponsor-carousel__button::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

html body.home .sponsor-carousel__button--prev::before {
  transform: rotate(-45deg);
}

html body.home .sponsor-carousel__button--next::before {
  transform: rotate(135deg);
}

@media (max-width: 900px) {
  html body.home .home-donation-band .donation-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html body.home .hero {
    min-height: 430px !important;
    background-image: url("../../images/home-1.jpg") !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  html body.home .hero::before {
    background: linear-gradient(to bottom, rgba(20, 18, 17, .1) 0%, rgba(20, 18, 17, .18) 34%, rgba(250, 246, 242, .9) 72%, rgba(250, 246, 242, .98) 100%) !important;
  }

  html body.home .hero .eyebrow {
    font-size: 24px !important;
  }

  html body.home .hero h1 {
    font-size: 29px !important;
  }

  html body.home .home-donation-image {
    height: 260px !important;
  }

  html body.home .sponsor-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  html body.home .sponsor-carousel__track {
    gap: 32px;
    grid-auto-columns: minmax(150px, 1fr);
  }
}

/* Codex pass 0.1.8: static sponsor row, vertical donation module, equal product cards. */
html body.home .home-product-preview {
  align-items: stretch !important;
}

html body.home .home-product-card {
  display: flex !important;
  min-height: 100%;
  flex-direction: column;
  transition: transform .22s ease, filter .22s ease;
}

html body.home .home-product-card:hover,
html body.home .home-product-card:focus-within {
  transform: translateY(-8px);
}

html body.home .home-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
}

html body.home .home-product-card__price {
  margin-top: auto !important;
}

html body.home .home-donation-band .donation-layout {
  grid-template-columns: minmax(0, 920px) !important;
  justify-content: center !important;
  gap: 34px !important;
  text-align: center !important;
}

html body.home .home-donation-copy {
  display: grid;
  justify-items: center;
  text-align: center !important;
}

html body.home .home-donation-copy h2,
html body.home .home-donation-copy p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

html body.home .home-donation-image {
  max-width: 760px !important;
  height: 360px !important;
}

html body.home .home-donation-band .donation-card {
  max-width: 760px !important;
  margin-inline: auto !important;
}

html body.home .sponsor-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 78px !important;
  align-items: center;
}

html body.home .sponsor-carousel,
html body.home .sponsor-carousel__viewport,
html body.home .sponsor-carousel__track {
  display: contents;
}

html body.home .sponsor-carousel__button {
  display: none !important;
}

@media (max-width: 900px) {
  html body.home .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 42px !important;
  }
}

@media (max-width: 640px) {
  html body.home .home-donation-image {
    height: 240px !important;
  }

  html body.home .sponsor-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Codex pass: restore the red feature-story background frame on home. */
html body.home .feature-story-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: min(var(--sh-page-width, 1280px), 100%) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #78263c !important;
}

html body.home .feature-story-card {
  position: relative !important;
  display: flex !important;
  min-height: 320px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 46px 48px !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  background-color: #78263c !important;
  background-position: center !important;
  background-size: cover !important;
  color: #fff !important;
  text-align: center !important;
}

html body.home .feature-story-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background: linear-gradient(0deg, rgba(120, 38, 60, .86), rgba(120, 38, 60, .74)) !important;
}

html body.home .feature-story-card h2,
html body.home .feature-story-card p {
  position: relative;
  z-index: 1;
}

html body.home .feature-story-card h2 {
  max-width: 620px !important;
  margin: 0 auto 18px !important;
  color: var(--home-yellow, #ffb735) !important;
  font-family: var(--sh-body-font) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.24 !important;
}

html body.home .feature-story-card p {
  max-width: 680px !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  html body.home .feature-story-strip {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html body.home .feature-story-card {
    min-height: 240px !important;
    padding: 36px 24px !important;
  }

  html body.home .feature-story-card h2 {
    font-size: 21px !important;
  }

  html body.home .feature-story-card p {
    font-size: 15px !important;
  }
}

/* Codex pass: dynamic sponsor logo carousel. */
html body.home .sponsor-marquee {
  width: min(1120px, calc(100% - 80px)) !important;
  overflow: hidden;
}

html body.home .sponsor-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

html body.home .sponsor-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(88px, 10vw, 150px);
  animation: shSponsorMarquee 26s linear infinite;
  will-change: transform;
}

html body.home .sponsor-marquee:hover .sponsor-marquee__track,
html body.home .sponsor-marquee:focus-within .sponsor-marquee__track {
  animation-play-state: paused;
}

html body.home .sponsor-marquee .sponsor-logo {
  flex: 0 0 clamp(170px, 15vw, 230px);
  min-width: clamp(170px, 15vw, 230px);
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 0 !important;
  background: transparent !important;
  filter: grayscale(1);
  opacity: .58;
  padding: 10px 0;
}

html body.home .sponsor-marquee .sponsor-logo img {
  max-width: 220px;
  max-height: 82px;
  object-fit: contain;
}

@keyframes shSponsorMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - clamp(44px, 5vw, 75px)));
  }
}

@media (max-width: 900px) {
  html body.home .sponsor-marquee {
    width: min(100% - 40px, 720px) !important;
  }

  html body.home .sponsor-marquee__track {
    gap: 64px;
    animation-duration: 22s;
  }
}

@media (max-width: 640px) {
  html body.home .sponsor-marquee {
    width: min(100% - 28px, 420px) !important;
  }

  html body.home .sponsor-marquee__track {
    gap: 42px;
    animation-duration: 18s;
  }

  html body.home .sponsor-marquee .sponsor-logo {
    flex-basis: 150px;
    min-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.home .sponsor-marquee__track {
    animation: none !important;
  }
}

/* Codex pass 0.1.10: reference two-row help story block and product-card overflow fix. */
html body.home .home-burgundy-preview {
  padding-bottom: 92px !important;
}

html body.home .home-product-card__body {
  min-height: 0 !important;
}

html body.home .home-product-card__price {
  margin-top: 18px !important;
}

html body.home .home-help-story-section {
  position: relative;
  padding: 96px 0 92px !important;
  background-color: #faf6f2 !important;
  overflow: hidden;
}

html body.home .home-help-story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../images/background-2.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 320px auto;
  opacity: .22;
  pointer-events: none;
}

html body.home .home-help-story {
  position: relative;
  z-index: 1;
  width: min(1010px, calc(100% - 40px)) !important;
  max-width: 1010px !important;
  margin-inline: auto !important;
}

html body.home .home-help-story__row {
  display: grid;
  grid-template-columns: minmax(0, 462px) minmax(0, 548px);
  align-items: stretch;
  width: 100%;
  min-height: 346px;
  margin: 0;
}

html body.home .home-help-story__row + .home-help-story__row {
  margin-top: 68px;
}

html body.home .home-help-story__row--reverse {
  grid-template-columns: minmax(0, 548px) minmax(0, 462px);
}

html body.home .home-help-story__media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

html body.home .home-help-story__media img {
  width: 100%;
  height: 100%;
  min-height: 314px;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.home .home-help-story__copy {
  display: flex;
  min-width: 0;
  padding: 58px 80px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: rgba(250, 246, 242, .92);
  text-align: left;
}

html body.home .home-help-story__copy .eyebrow {
  margin: 0 0 18px;
  color: #78263c;
  font-family: var(--sh-body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

html body.home .home-help-story__copy h2 {
  max-width: 380px;
  color: #1f1f1f;
  font-family: var(--sh-heading-font);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
}

html body.home .home-help-story__copy p:not(.eyebrow) {
  max-width: 390px;
  margin: 16px 0 22px;
  color: #716769;
  font-size: 16px;
  line-height: 1.5;
}

html body.home .home-help-story__copy .button {
  width: auto !important;
  min-width: 126px;
  min-height: 39px;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
}

html body.home .home-help-story__copy .button-dark {
  background: #1e1e1e !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  html body.home .home-burgundy-preview {
    padding-bottom: 72px !important;
  }

  html body.home .home-help-story-section {
    padding: 76px 0 !important;
  }

  html body.home .home-help-story {
    width: min(100% - 32px, 720px) !important;
  }

  html body.home .home-help-story__row,
  html body.home .home-help-story__row--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    background: rgba(250, 246, 242, .92);
  }

  html body.home .home-help-story__row--reverse .home-help-story__copy {
    order: 2;
  }

  html body.home .home-help-story__row--reverse .home-help-story__media {
    order: 1;
  }

  html body.home .home-help-story__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 462 / 346;
  }

  html body.home .home-help-story__copy {
    padding: 42px 40px 46px;
  }
}

@media (max-width: 640px) {
  html body.home .home-product-card__price {
    margin-top: 20px !important;
  }

  html body.home .home-help-story-section {
    padding: 58px 0 !important;
  }

  html body.home .home-help-story {
    width: min(100% - 28px, 420px) !important;
  }

  html body.home .home-help-story__row + .home-help-story__row {
    margin-top: 42px;
  }

  html body.home .home-help-story__copy {
    padding: 34px 24px 38px;
  }

  html body.home .home-help-story__copy .eyebrow {
    margin-bottom: 12px;
    font-size: 15px;
  }

  html body.home .home-help-story__copy h2 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.22;
  }

  html body.home .home-help-story__copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
  }
}

/* Codex pass 0.1.11: match reference product scale and donation media. */
html body.home .home-burgundy-preview .split > div:first-child,
html body.home .split-section .split > div:first-child {
  width: 100% !important;
  max-width: 1130px !important;
}

html body.home .home-product-preview {
  grid-template-columns: repeat(3, 300px) !important;
  width: min(1092px, 100%) !important;
  max-width: 1092px !important;
  gap: 96px !important;
  align-items: stretch !important;
}

html body.home .home-product-card {
  width: 300px !important;
  min-height: 100% !important;
}

html body.home .home-product-card__image,
html body.home .home-product-card__image img {
  width: 300px !important;
  height: 300px !important;
}

html body.home .home-product-card__image img {
  object-fit: cover !important;
}

html body.home .home-product-card h3 img.emoji {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 .08em !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  vertical-align: -.12em !important;
}

html body.home .home-product-card__body {
  display: flex !important;
  min-height: 360px !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
}

html body.home .home-product-card h3 {
  min-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.home .home-product-card .home-product-card__body > p,
html body.home .home-burgundy-preview .split .home-product-card .home-product-card__body > p:not(.eyebrow) {
  min-height: 174px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.home .home-product-card__price {
  margin-top: auto !important;
}

html body.home .home-donation-band .donation-layout {
  width: min(1160px, calc(100% - 80px)) !important;
  max-width: 1160px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 82px 40px 88px !important;
}

html body.home .home-donation-image {
  width: min(850px, 100%) !important;
  max-width: 850px !important;
  height: 480px !important;
  max-height: none !important;
  object-fit: cover !important;
}

html body.home .home-donation-band .donation-card {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  padding: 40px !important;
}

@media (max-width: 1180px) {
  html body.home .home-product-preview {
    grid-template-columns: repeat(2, minmax(0, 300px)) !important;
    width: min(696px, 100%) !important;
    gap: 48px 96px !important;
  }

  html body.home .home-product-card:nth-child(3) {
    display: none !important;
  }
}

@media (max-width: 640px) {
  html body.home .home-product-preview {
    grid-template-columns: minmax(0, 300px) !important;
    width: min(300px, 100%) !important;
    gap: 28px !important;
  }

  html body.home .home-product-card {
    width: min(300px, 100%) !important;
  }

  html body.home .home-product-card__image,
  html body.home .home-product-card__image img {
    width: min(300px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  html body.home .home-product-card__body {
    min-height: 0 !important;
  }

  html body.home .home-product-card h3,
  html body.home .home-product-card .home-product-card__body > p,
  html body.home .home-burgundy-preview .split .home-product-card .home-product-card__body > p:not(.eyebrow) {
    min-height: 0 !important;
  }

  html body.home .home-donation-band .donation-layout {
    width: min(100% - 28px, 430px) !important;
    padding: 50px 18px 56px !important;
  }

  html body.home .home-donation-image {
    width: 100% !important;
    height: 220px !important;
    max-height: none !important;
  }

  html body.home .home-donation-band .donation-card {
    padding: 22px !important;
  }
}

/* Codex pass 0.1.17: reference home story band is vertical copy only. */
html body.home .feature-story-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(var(--sh-page-width, 1280px), 100%) !important;
  margin: 0 auto !important;
  padding: 96px 0 !important;
  gap: 58px !important;
  overflow: hidden !important;
  background: #78263c !important;
}

html body.home .feature-story-card {
  width: min(980px, calc(100% - 80px)) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background-image: none !important;
  background-color: transparent !important;
  color: #fff !important;
  text-align: center !important;
}

html body.home .feature-story-card::before {
  content: none !important;
}

html body.home .feature-story-card h2 {
  max-width: 860px !important;
  margin: 0 auto 24px !important;
  color: var(--home-yellow, #ffb735) !important;
  font-family: var(--sh-body-font, "Work Sans Local", Arial, sans-serif) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

html body.home .feature-story-card p {
  max-width: 920px !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.48 !important;
}

@media (min-width: 641px) and (max-width: 1180px) {
  html body.home .feature-story-strip {
    padding: 72px 0 76px !important;
    gap: 46px !important;
    background: var(--sh-cream, #faf6f2) !important;
  }

  html body.home .feature-story-card {
    width: min(720px, calc(100% - 48px)) !important;
    color: #111 !important;
  }

  html body.home .feature-story-card h2 {
    color: #d7d700 !important;
    font-size: 20px !important;
  }

  html body.home .feature-story-card p {
    color: #111 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 640px) {
  html body.home .feature-story-strip {
    padding: 60px 0 64px !important;
    gap: 36px !important;
  }

  html body.home .feature-story-card {
    width: min(100% - 32px, 420px) !important;
  }

  html body.home .feature-story-card h2 {
    margin-bottom: 16px !important;
    font-size: 24px !important;
    line-height: 1.22 !important;
  }

  html body.home .feature-story-card p {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
}
