.website-promotion {
  --promotion-backdrop: #253b31;
  --promotion-ink: #213329;
  --promotion-highlight: #e6e8ca;
  --promotion-paper: #f8f5e9;
  background: var(--promotion-backdrop);
  color: var(--promotion-paper);
  padding: clamp(1.1rem, 3vw, 2.4rem) 0;
}

.website-promotion[data-season="harvest"] {
  --promotion-backdrop: #3d2532;
  --promotion-ink: #482630;
  --promotion-highlight: #ffca75;
  --promotion-paper: #fff2dc;
}

.website-promotion[data-season="christmas"] {
  --promotion-backdrop: #16392d;
  --promotion-ink: #5b2130;
  --promotion-highlight: #f0dce0;
  --promotion-paper: #fdf5e8;
}

.website-promotion-title {
  font: 800 clamp(1.65rem, 3.4vw, 3rem)/1.06 "Playfair Display", Georgia, serif;
  color: var(--promotion-highlight);
  margin: 0 0 .75rem;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.website-promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 29rem), 1fr));
  gap: .75rem;
}

.website-promotion-card {
  display: flex;
  align-items: flex-start;
  gap: clamp(.65rem, 1.4vw, 1.1rem);
  background: var(--promotion-paper);
  color: var(--promotion-ink);
  border-radius: .45rem;
  padding: clamp(.75rem, 2vw, 1.25rem);
}

.website-promotion-photo {
  width: clamp(3.15rem, 8vw, 6rem);
  height: auto;
  aspect-ratio: 1;
  flex: none;
  border-radius: .35rem;
  object-fit: cover;
  background: white;
}

.website-promotion-copy {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "Work Sans", sans-serif;
}

.website-promotion-headline {
  color: inherit;
  margin: 0 0 .3rem;
  font: 800 clamp(1.1rem, 2vw, 1.45rem)/1.15 "Work Sans", sans-serif;
}

.website-promotion-terms {
  color: inherit;
  margin: 0 0 .55rem;
  font-size: .92rem;
  line-height: 1.45;
}

.website-promotion-footer {
  display: flex;
  gap: .15rem .85rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: .8rem;
}

.website-promotion-products {
  margin: 0 0 .55rem;
  font-size: .87rem;
}

.website-promotion-products summary {
  cursor: pointer;
  font-weight: 650;
  width: fit-content;
}

.website-promotion-products ul {
  margin: .35rem 0 .5rem;
  padding-inline-start: 1.25rem;
}

.website-promotion-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .2em;
  padding-block: .45rem;
}

.website-promotion-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body[data-website-promotion-season="harvest"] {
  --holiday-ink: #171512;
  --holiday-paper: #f4ead3;
  --holiday-bg: #fff8e9;
  --holiday-highlight: #e6b351;
  --holiday-trim: #a85334;
  --holiday-shop: #fffdf5;
}

body[data-website-promotion-season="christmas"] {
  --holiday-ink: #234034;
  --holiday-paper: #eee9d7;
  --holiday-bg: #17352a;
  --holiday-highlight: #ffd59c;
  --holiday-trim: #a34652;
  --holiday-shop: #f5f2e5;
}

body[data-website-promotion-season] [data-default-home-hero] {
  display: none;
}

body[data-website-promotion-season] .nav {
  background: var(--holiday-shop);
}

body[data-website-promotion-season] .shop-panel {
  background: var(--holiday-shop);
  color: var(--holiday-ink);
}

.holiday-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 14fr);
  position: relative;
  isolation: isolate;
  background: var(--holiday-bg);
  color: var(--holiday-paper);
}

.holiday-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: repeating-linear-gradient(
    125deg,
    var(--holiday-trim) 0 12px,
    var(--holiday-highlight) 12px 15px,
    var(--holiday-bg) 15px 20px
  );
  pointer-events: none;
}

.holiday-home-copy {
  padding: clamp(2rem, 5.3vw, 6rem) clamp(1.5rem, 4vw, 4rem)
    clamp(2rem, 5.3vw, 6rem) max(2rem, calc((100vw - 1100px) / 2));
  align-self: center;
}

.holiday-home-label {
  color: var(--holiday-highlight);
  font: 700 .9rem/1.4 "Work Sans", sans-serif;
  margin: 0 0 .65rem;
}

.holiday-home-title {
  margin: 0;
  font: 800 clamp(2.4rem, 4.65vw, 4.9rem)/1.02 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

.holiday-home-note {
  max-width: 37ch;
  margin: 1.1rem 0 1.35rem;
  font: 500 clamp(.98rem, 1.4vw, 1.14rem)/1.55 "Work Sans", sans-serif;
}

.holiday-home-link {
  display: inline-block;
  background: var(--holiday-highlight);
  color: var(--holiday-ink);
  padding: .67rem 1.05rem;
  border-radius: 3px;
  font: 800 .9rem/1.45 "Work Sans", sans-serif;
  text-decoration: none;
}

.holiday-home-link:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.holiday-home-link:focus-visible {
  outline: 2px solid var(--holiday-highlight);
  outline-offset: 4px;
}

.holiday-home-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 37rem;
  aspect-ratio: 1.66;
  object-fit: cover;
  object-position: 50% 43%;
}

.website-promotion-list {
  scroll-margin-top: 5.5rem;
}

body[data-website-promotion-season] .website-promotion {
  background: var(--holiday-paper);
  color: var(--holiday-ink);
}

body[data-website-promotion-season] .website-promotion-title {
  color: var(--holiday-ink);
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}

body[data-website-promotion-season] .website-promotion-card {
  background: var(--holiday-shop);
  color: var(--holiday-ink);
  border: 1px solid color-mix(in srgb, var(--holiday-ink) 16%, transparent);
  border-radius: 3px;
}

body[data-website-promotion-season="harvest"] .holiday-home-hero {
  grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(ellipse at 50% 40%, #fffaf0 22%, #fff1d8 68%, #f1d7af 100%);
  color: var(--holiday-ink);
}

body[data-website-promotion-season="harvest"] .holiday-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/holidays/black-friday-autumn-border.webp") center / 100% 100% no-repeat;
  mask-image: linear-gradient(90deg, #000 0 8%, transparent 24% 76%, #000 92%);
  opacity: .78;
  pointer-events: none;
}

.holiday-home-masthead {
  padding: clamp(1rem, 2.5vw, 2rem) 5%;
  text-align: center;
}

.holiday-home-sale-title {
  margin: 0;
  color: var(--holiday-ink);
  font: 800 clamp(1.85rem, 4.4vw, 4.25rem)/1.06 "Playfair Display", Georgia, serif;
  letter-spacing: -.026em;
  text-transform: uppercase;
  text-wrap: balance;
}

.holiday-home-store-name {
  margin: .55rem 0 0;
  color: var(--holiday-ink);
  font: 650 clamp(.78rem, 1.6vw, 1.25rem)/1.3 "Work Sans", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body[data-website-promotion-season="harvest"] .holiday-home-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .7rem clamp(1rem, 4vw, 3rem);
  align-items: start;
  width: min(1100px, 90%);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.holiday-home-photo {
  grid-row: 2;
}

.holiday-home-photo .holiday-home-image {
  width: 100%;
  height: auto;
  max-height: none;
  margin-inline: auto;
  aspect-ratio: auto;
  border-radius: clamp(12px, 2vw, 26px);
  --photo-edge: clamp(12px, 2.2vw, 30px);
  --photo-vertical-edge: clamp(8px, 1.1vw, 16px);
  mask-image:
    linear-gradient(90deg, transparent, #000 var(--photo-edge), #000 calc(100% - var(--photo-edge)), transparent),
    linear-gradient(180deg, transparent, #000 var(--photo-vertical-edge), #000 calc(100% - var(--photo-vertical-edge)), transparent);
  mask-composite: intersect;
}

body[data-website-promotion-season="harvest"] .holiday-home-copy :is(.holiday-home-title, .holiday-home-note) {
  text-shadow: 0 1px 3px #fff8e9, 0 0 9px #fff8e9;
}

body[data-website-promotion-season="harvest"] .holiday-home-link {
  background: #171512;
  color: #fff8e9;
}

body[data-website-promotion-season="harvest"] .holiday-home-link {
  justify-self: start;
}

.website-promotion[data-season="harvest"] .website-promotion-ribbon {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  font: 750 clamp(1rem, 2.35vw, 1.55rem)/1.3 "Work Sans", sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.website-promotion-ribbon-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.55rem, 2vw, 1rem);
  padding: .72rem clamp(.8rem, 2.3vw, 1.5rem);
  background: #842941;
  color: #fff8e9;
  border: 1px solid #b58a48;
  border-radius: 6px;
  box-shadow: 0 4px 0 #966739;
  text-decoration: none;
}

.website-promotion-ribbon-link:hover {
  background: #6f2136;
}

.website-promotion-ribbon-link:focus-visible {
  outline: 2px solid #171512;
  outline-offset: 4px;
}

.website-promotion-target {
  width: 1.25rem;
  aspect-ratio: 1;
  border: 1px solid #ffd18a;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd18a 0 18%, transparent 19% 36%, #ffd18a 37% 45%, transparent 46%);
}

.website-promotion-ribbon-arrow {
  color: #ffd18a;
  line-height: 1;
}

.website-promotion-grid[tabindex="-1"] {
  scroll-margin-top: 5.5rem;
}

.website-promotion-grid[tabindex="-1"]:focus-visible {
  outline: 2px solid #171512;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .website-promotion-ribbon-link.is-introduced {
    animation: website-promotion-bounce 850ms ease-out 1;
  }

  @keyframes website-promotion-bounce {
    0%, 43%, 72%, 100% { transform: translateY(0); }
    24% { transform: translateY(-7px); }
    57% { transform: translateY(-3px); }
  }
}

body[data-website-promotion-season="harvest"] .holiday-home-intro {
  color: #74482e;
  font-weight: 650;
}

body[data-website-promotion-season="harvest"] .holiday-home-link:focus-visible {
  outline-color: var(--holiday-ink);
}

body[data-website-promotion-season="harvest"] .holiday-home-title {
  grid-row: 1 / span 2;
  font-size: clamp(2rem, 3.45vw, 3.7rem);
  line-height: 1.06;
  hyphens: none;
}

body[data-website-promotion-season="harvest"] .holiday-home-note {
  max-width: 51ch;
  font-size: clamp(.94rem, 1.23vw, 1.04rem);
  margin: 0;
}

.holiday-home-star {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: .57em;
  vertical-align: .14em;
}

.holiday-home-intro {
  color: var(--holiday-highlight);
}

@media (min-width: 1024px) {
  body[data-website-promotion-season="harvest"] .holiday-home-hero {
    /* Reserve the space occupied by the storefront navigation and ticker. */
    min-height: calc(100svh - 107px);
    grid-template-rows: auto minmax(13rem, 1fr) auto;
  }

  .holiday-home-masthead {
    padding-block: clamp(.85rem, 2svh, 1.5rem);
  }

  .holiday-home-sale-title {
    font-size: clamp(2.3rem, min(4.4vw, 6svh), 4.25rem);
  }

  body[data-website-promotion-season="harvest"] .holiday-home-copy {
    padding-block: clamp(.95rem, 2.5svh, 1.75rem);
    gap: .45rem clamp(1rem, 4vw, 3rem);
    grid-template-areas:
      "headline intro"
      "headline details"
      "action details";
  }

  body[data-website-promotion-season="harvest"] .holiday-home-title {
    grid-area: headline;
    font-size: clamp(2rem, min(3.45vw, 5.2svh), 3.7rem);
  }

  body[data-website-promotion-season="harvest"] .holiday-home-intro { grid-area: intro; }
  body[data-website-promotion-season="harvest"] .holiday-home-note:not(.holiday-home-intro) { grid-area: details; }
  body[data-website-promotion-season="harvest"] .holiday-home-link { grid-area: action; }

  .holiday-home-photo {
    position: relative;
    container-type: size;
  }

  .holiday-home-photo .holiday-home-image {
    position: absolute;
    inset: 50% auto auto 50%;
    /* The photo can narrow on short desktops to keep the full table in frame. */
    width: min(100%, calc(100cqh * 1696 / 689));
    object-fit: contain;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 820px) {
  body[data-website-promotion-season="harvest"] .holiday-home-hero::before {
    background:
      url("/assets/holidays/black-friday-autumn-border.webp") center top / 100% auto no-repeat,
      url("/assets/holidays/black-friday-autumn-border.webp") center bottom / 100% auto no-repeat;
    mask-image: linear-gradient(#000 0 13%, transparent 28% 73%, #000 97%);
    opacity: .30;
  }

  body[data-website-promotion-season="harvest"] .holiday-home-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-website-promotion-season="harvest"] .holiday-home-title {
    grid-row: auto;
  }

  .holiday-home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .holiday-home-copy {
    padding: clamp(1.45rem, 5vw, 2.4rem) 5%;
  }

  .holiday-home-title {
    max-width: 18ch;
    text-wrap: wrap;
  }

  .holiday-home-note {
    margin-block: .8rem 1rem;
  }

  .holiday-home-image {
    height: auto;
    aspect-ratio: 1.6;
    max-height: 24rem;
  }
}
