/* =========================================================================
   Holiday Drop 2026: PRESENT.
   The shop takeover (template-parts/holiday-drop-shop.php), the home page band
   (template-parts/holiday-drop-home.php) and the holiday product page extras.
   Colours come from the red-studio photo shoot: cranberry backdrop, wine,
   plum, cream, and the YPR yellow as the gold. Loaded only while the takeover
   runs (inc/holiday-drop.php).
   ========================================================================= */

.hd {
  --hd-red: #8c1a2b;
  --hd-red-hi: #a8283c;
  --hd-wine: #5a0f1e;
  --hd-plum: #2b0b25;
  --hd-gold: var(--yellow, #eca803);
  --hd-cream: #f7efe3;
  --hd-cream-2: #efe3d1;
  --hd-ink: #1c0e15;
  --hd-muted: #6e5a62;
  --hd-line: rgba(247, 239, 227, .2);
}

/* Both states are in the HTML; holiday-drop.js keeps data-hd-state right at the drop time. */
[data-hd-state="soon"] .hd-when-live,
[data-hd-state="live"] .hd-when-soon { display: none !important; }

.hd-eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--hd-gold);
  margin: 0;
}
.hd-eyebrow--red { color: var(--hd-red); }

.hd-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: .01em;
  font-size: clamp(4.2rem, 13vw, 10.5rem);
  color: var(--hd-cream);
  margin: .2em 0 .12em;
}
.hd-wordmark--md { font-size: clamp(3.4rem, 8.4vw, 6.6rem); }
.hd-dot { color: var(--hd-gold); }

.hd-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: .95;
  color: var(--hd-ink);
  margin: .25em 0 0;
  text-wrap: balance;
}

.hd-script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  color: var(--hd-gold);
  margin: 0;
}

.hd-pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  background: var(--hd-gold);
  color: #1a1306;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  padding: .45em .95em;
  border-radius: 999px;
}

/* ---------- Countdown ---------- */
.hd-count {
  display: flex;
  gap: 10px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.hd-count__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.4rem;
  padding: .55rem .6rem .5rem;
  background: rgba(28, 14, 21, .32);
  border: 1px solid var(--hd-line);
  border-radius: 12px;
}
.hd-count__unit b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--hd-cream);
}
.hd-count__unit small {
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(247, 239, 227, .7);
  margin-top: .3rem;
}
.hd-count--compact .hd-count__unit { min-width: 3.6rem; padding: .4rem .45rem .38rem; }
.hd-count--compact .hd-count__unit b { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

/* ---------- Notify form ---------- */
.hd-notify { display: grid; gap: .5rem; max-width: 30rem; }
.hd-notify__label { font-weight: 700; font-size: .92rem; color: var(--hd-cream); }
.hd-notify__row {
  display: flex;
  gap: 6px;
  background: var(--hd-cream);
  border-radius: 999px;
  padding: 5px;
}
.hd-notify__row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .7rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--hd-ink);
  border-radius: 999px;
}
.hd-notify__row input[type="email"]:focus { outline: none; }
.hd-notify__row:focus-within { box-shadow: 0 0 0 3px var(--hd-gold); }
.hd-notify__row .btn { padding: .8rem 1.25rem; }
.hd-notify__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hd-notify__msg { min-height: 1.3em; font-size: .9rem; color: var(--hd-cream); }
.hd-notify__msg.is-error { color: #ffd0d0; }
.hd-notify.is-done .hd-notify__row { display: none; }
.hd-notify.is-done .hd-notify__msg { font-weight: 700; }

/* ---------- Shop hero ---------- */
.hd-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 80% at 72% 38%, var(--hd-red-hi) 0%, var(--hd-red) 48%, var(--hd-wine) 100%);
  color: var(--hd-cream);
  padding: clamp(120px, 13vw, 170px) 0 clamp(60px, 7vw, 100px);
}
.hd-hero::after { /* the studio floor */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(43, 11, 37, .45));
  z-index: -1;
  pointer-events: none;
}
.hd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hd-hero__copy { display: grid; gap: 1.05rem; justify-items: start; }
.hd-hero__copy .hd-wordmark { margin: 0; }
.hd-hero__lede { font-size: 1.06rem; line-height: 1.6; max-width: 46ch; color: rgba(247, 239, 227, .9); margin: 0; }
.hd-hero__when { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; margin: 0 0 .6rem; color: var(--hd-cream); }
.hd-hero__soon, .hd-hero__live { display: grid; gap: 1rem; justify-items: start; }
.hd-hero__links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .3rem 0 0; font-size: .92rem; }
.hd-hero__links a { color: var(--hd-cream); text-decoration: underline; text-decoration-color: rgba(247, 239, 227, .45); text-underline-offset: 4px; font-weight: 700; }
.hd-hero__links a:hover { text-decoration-color: var(--hd-gold); }

.hd-hero__media { position: relative; padding: 0 0 12% 0; }
.hd-hero__main,
.hd-hero__inset { margin: 0; position: relative; z-index: 2; }
.hd-hero__main { width: 82%; margin-left: auto; }
.hd-hero__main img,
.hd-hero__inset img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(28, 14, 21, .45);
}
.hd-hero__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  z-index: 3;
  transform: rotate(-4deg);
}
.hd-hero__inset img { border: 8px solid var(--hd-cream); border-radius: 4px; }
/* The ribbon: the one flourish. A gold ribbon crossing behind the photos, like a wrapped present. */
.hd-ribbon { position: absolute; background: var(--hd-gold); z-index: 1; pointer-events: none; }
.hd-ribbon--v { top: -40vh; bottom: -40vh; left: 58%; width: 18px; box-shadow: inset 4px 0 0 rgba(255, 255, 255, .18), inset -4px 0 0 rgba(0, 0, 0, .12); }
.hd-ribbon--h { left: 8%; right: -60vw; top: 62%; height: 18px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .18), inset 0 -4px 0 rgba(0, 0, 0, .12); }

/* ---------- Section heads ---------- */
.hd-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.hd-head__note { margin: 0; max-width: 44ch; color: var(--hd-muted); font-size: .98rem; }

/* ---------- Shop the look ---------- */
.hd-looks { background: var(--hd-cream); padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hd-rail-nav { display: flex; gap: 8px; }
.hd-rail-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(28, 14, 21, .22);
  background: transparent;
  color: var(--hd-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hd-rail-nav button:hover { background: #fff; border-color: var(--hd-ink); }
.hd-rail-nav button[disabled] { opacity: .35; cursor: default; background: transparent; border-color: rgba(28, 14, 21, .22); }
.hd-rail-nav .hd-prev svg { transform: rotate(180deg); }
.hd-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(268px, 27vw, 350px);
  gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 14, 21, .3) transparent;
}
.hd-rail:focus-visible { outline: 3px solid var(--hd-gold); outline-offset: 2px; }
.hd-look { scroll-snap-align: start; display: grid; gap: .7rem; align-content: start; }
.hd-look__photo { position: relative; margin: 0; }
.hd-look__main { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.hd-look__photo .hd-look__detail {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid var(--hd-cream);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(28, 14, 21, .3);
}
.hd-look__no {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--hd-cream);
  color: var(--hd-ink);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35em .7em;
  border-radius: 999px;
}
.hd-look__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--hd-ink); margin: .2rem 0 0; }
.hd-look__line { margin: 0; color: var(--hd-muted); font-size: .92rem; line-height: 1.5; }
.hd-look__items { list-style: none; padding: 0; margin: .2rem 0 0; display: grid; gap: 6px; }
.hd-look__items a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 1px;
  align-items: center;
  padding: 6px 10px 6px 6px;
  background: #fff;
  border-radius: 10px;
  color: var(--hd-ink);
  text-decoration: none;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.hd-look__items a:hover { box-shadow: 0 8px 20px rgba(28, 14, 21, .12); transform: translateY(-1px); }
.hd-look__items img { grid-row: 1 / span 2; width: 46px; height: 46px; object-fit: contain; border-radius: 7px; background: #f6f3ef; }
.hd-look__items .n, .hd-look__items .hd-price { grid-column: 2; align-self: end; }
.hd-look__items .hd-price { align-self: start; }
.hd-look__items .n { font-weight: 700; font-size: .88rem; line-height: 1.25; }
.hd-look__items .hd-price { font-size: .8rem; }

/* ---------- City film strip ---------- */
.hd-city { background: var(--hd-plum); color: var(--hd-cream); padding: clamp(40px, 5vw, 64px) 0; }
.hd-city__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.hd-city__head p:last-child { margin: 0; color: rgba(247, 239, 227, .72); font-size: .92rem; }
.hd-city__strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 239, 227, .3) transparent;
}
.hd-city__strip figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.hd-city__strip img { display: block; height: clamp(220px, 26vw, 360px); width: auto; border-radius: 4px; }

/* ---------- Collection ---------- */
.hd-collection { background: #fff; padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); }
.hd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(26px, 3vw, 40px); }
.hd-chips button {
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(28, 14, 21, .16);
  background: #fff;
  color: var(--hd-ink);
  cursor: pointer;
  display: inline-flex;
  gap: .45em;
  align-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.hd-chips button span { font-size: .78rem; color: var(--hd-muted); font-variant-numeric: tabular-nums; }
.hd-chips button:hover { border-color: var(--hd-red); }
.hd-chips button[aria-pressed="true"] { background: var(--hd-red); border-color: var(--hd-red); color: var(--hd-cream); }
.hd-chips button[aria-pressed="true"] span { color: rgba(247, 239, 227, .75); }
.hd-chips button:focus-visible, .hd-rail-nav button:focus-visible, .hd-card:focus-visible, .hd-look__items a:focus-visible { outline: 3px solid var(--hd-gold); outline-offset: 2px; }

.hd-cap { margin-bottom: clamp(36px, 4.5vw, 60px); }
.hd-cap[hidden] { display: none; }
.hd-cap__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; border-top: 2px solid var(--hd-ink); padding-top: 14px; margin-bottom: 18px; }
.hd-cap__head h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; color: var(--hd-ink); margin: 0; }
.hd-cap__head p { margin: 0; color: var(--hd-muted); font-size: .95rem; }

.hd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.hd-card { display: grid; gap: .55rem; align-content: start; color: var(--hd-ink); text-decoration: none; }
.hd-card__img { display: block; aspect-ratio: 1; background: #f6f3ef; border-radius: 10px; overflow: hidden; }
.hd-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.hd-card:hover .hd-card__img img { transform: scale(1.04); }
.hd-card__name { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.hd-price { font-weight: 800; font-size: .86rem; color: var(--hd-red); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- Bridge into the year-round shop ---------- */
.hd-yearround { background: var(--hd-cream-2); padding: 22px 0; }
.hd-yearround .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.hd-yearround p { margin: 0; color: var(--hd-ink); font-weight: 700; }
.hd-yearround nav { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Home band ---------- */
.hd-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(80% 110% at 78% 50%, var(--hd-red-hi) 0%, var(--hd-red) 52%, var(--hd-wine) 100%);
  color: var(--hd-cream);
  padding: clamp(48px, 6vw, 84px) 0;
}
.hd-home__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hd-home__copy { display: grid; gap: .95rem; justify-items: start; }
.hd-home__copy .hd-wordmark { margin: 0; }
.hd-home__lede { margin: 0; font-size: 1.05rem; line-height: 1.55; max-width: 42ch; color: rgba(247, 239, 227, .92); }
.hd-home__lede strong { color: var(--hd-cream); }
.hd-home__more { color: var(--hd-cream); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; display: inline-flex; gap: .5em; align-items: center; }
.hd-home__more:hover { color: var(--hd-gold); }
.hd-home__fan { position: relative; display: block; height: clamp(320px, 36vw, 470px); }
.hd-home__fan figure { position: absolute; margin: 0; width: 46%; top: 50%; }
.hd-home__fan img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 7px solid var(--hd-cream); border-radius: 4px; box-shadow: 0 24px 50px rgba(28, 14, 21, .45); }
.hd-home__fan figure:nth-child(1) { left: 2%; transform: translateY(-50%) rotate(-7deg); z-index: 1; }
.hd-home__fan figure:nth-child(2) { left: 27%; transform: translateY(-54%) rotate(1deg); z-index: 3; width: 50%; }
.hd-home__fan figure:nth-child(3) { right: 1%; transform: translateY(-48%) rotate(7deg); z-index: 2; }
.hd-hero .hd-ribbon--v { top: -170px; -webkit-mask: linear-gradient(to bottom, transparent 0, #000 130px); mask: linear-gradient(to bottom, transparent 0, #000 130px); } /* fades out under the site header */
.hd-home .hd-ribbon--v { left: 63%; }
.hd-home .hd-ribbon--h { top: 70%; left: 55%; right: -10%; }

/* ---------- Holiday product page ---------- */
.shop-product__tag--holiday { background: var(--hd-red, #8c1a2b) !important; color: #f7efe3 !important; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hd-card__img img, .hd-look__items a, .hd-chips button { transition: none; }
  .hd-card:hover .hd-card__img img { transform: none; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1000px) {
  .hd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hd-hero__grid, .hd-home__grid { grid-template-columns: minmax(0, 1fr); }
  .hd-hero__media { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .hd-hero { padding-top: clamp(100px, 22vw, 130px); }
  .hd-home__fan { order: -1; height: clamp(260px, 70vw, 380px); max-width: 520px; width: 100%; margin: 0 auto; }
  .hd-ribbon { display: none; }
}
@media (max-width: 640px) {
  .hd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-count { gap: 6px; }
  .hd-count__unit { min-width: 0; flex: 1 1 0; }
  .hd-notify { max-width: none; width: 100%; }
  .hd-notify__row { flex-wrap: wrap; border-radius: 18px; }
  .hd-notify__row input[type="email"] { flex-basis: 100%; }
  .hd-notify__row .btn { width: 100%; justify-content: center; }
  .hd-rail-nav { display: none; }
  .hd-yearround .wrap { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Motion. Everything here is inside .hd-motion, which an inline script adds
   to <html> before the holiday sections paint, and only when the visitor
   hasn't asked for reduced motion. Without it, the page is complete and still.
   ========================================================================= */
.hd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hd-wm { display: inline-block; white-space: nowrap; }
.hd-l { display: inline-block; }
.hd-dot { display: inline-block; }

@keyframes hd-rise { from { opacity: 0; transform: translateY(.42em) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes hd-pop { 0% { opacity: 0; transform: scale(0) translateY(-.6em); } 60% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: none; } }
@keyframes hd-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hd-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hd-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hd-land { from { opacity: 0; transform: translateY(46px) rotate(3deg) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes hd-drop-in { 0% { opacity: 0; transform: translateY(-70px) rotate(-16deg); } 70% { opacity: 1; transform: translateY(6px) rotate(-2deg); } 100% { opacity: 1; transform: rotate(-4deg); } }
@keyframes hd-tick { from { transform: translateY(-38%); opacity: .15; } to { transform: none; opacity: 1; } }
@keyframes hd-slide { to { transform: translateX(-50%); } }
@keyframes hd-glint { 0%, 70% { background-position: -160% 0; } 100% { background-position: 260% 0; } }

/* Hero entrance (above the fold, so it plays on load) */
.hd-motion .hd-hero .hd-l { animation: hd-rise .9s var(--ease) both; animation-delay: calc(.18s + var(--i) * .07s); }
.hd-motion .hd-hero .hd-dot { animation: hd-pop .7s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: .78s; }
.hd-motion .hd-hero .hd-eyebrow { animation: hd-fade-up .7s var(--ease) .05s both; }
.hd-motion .hd-hero .hd-script { animation: hd-fade-up .7s var(--ease) .85s both; }
.hd-motion .hd-hero .hd-hero__lede { animation: hd-fade-up .7s var(--ease) .95s both; }
.hd-motion .hd-hero .hd-hero__soon,
.hd-motion .hd-hero .hd-hero__live { animation: hd-fade-up .7s var(--ease) 1.05s both; }
.hd-motion .hd-hero .hd-hero__links { animation: hd-fade-up .7s var(--ease) 1.2s both; }
.hd-motion .hd-hero .hd-count__unit { animation: hd-fade-up .55s var(--ease) both; }
.hd-motion .hd-hero .hd-count__unit:nth-child(1) { animation-delay: 1.1s; }
.hd-motion .hd-hero .hd-count__unit:nth-child(2) { animation-delay: 1.17s; }
.hd-motion .hd-hero .hd-count__unit:nth-child(3) { animation-delay: 1.24s; }
.hd-motion .hd-hero .hd-count__unit:nth-child(4) { animation-delay: 1.31s; }
.hd-motion .hd-hero .hd-ribbon--v { transform-origin: top; animation: hd-draw-y 1.1s cubic-bezier(.7, 0, .2, 1) .1s both; }
.hd-motion .hd-hero .hd-ribbon--h { transform-origin: left; animation: hd-draw-x 1.1s cubic-bezier(.7, 0, .2, 1) .45s both; }
.hd-motion .hd-hero .hd-hero__main { animation: hd-land 1.1s var(--ease) .35s both; }
.hd-motion .hd-hero .hd-hero__inset { animation: hd-drop-in 1s var(--ease) 1s both; }
.hd-hero__main, .hd-hero__inset { translate: 0 var(--hd-par, 0px); }
.hd-hero__inset { --hd-par: calc(var(--hd-par-raw, 0px) * -1.4); }
.hd-hero__main { --hd-par: var(--hd-par-raw, 0px); }

/* Snow over the hero */
.hd-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hd-motion .hd-snow.is-on { opacity: 1; }
.hd-hero > .wrap { position: relative; z-index: 1; }

/* Countdown digits drop in as they change */
.hd-count__unit { overflow: hidden; }
.hd-count__unit b { display: block; }
.hd-motion .hd-count__unit b.is-tick { animation: hd-tick .42s var(--ease); }

/* Slogan ticker between the hero and the looks */
.hd-ticker {
  position: relative;
  z-index: 3;
  background: var(--hd-gold);
  color: var(--hd-wine);
  overflow: hidden;
  padding: 13px 0;
  margin: -16px -2% -8px;
  width: 104%;
  transform: rotate(-1.2deg);
  box-shadow: 0 12px 28px rgba(43, 11, 37, .28);
}
.hd-ticker__track { display: flex; width: max-content; }
.hd-ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
  padding: 0 1.3rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: .02em;
  white-space: nowrap;
}
.hd-ticker__track i { font-style: normal; color: var(--hd-red); font-size: .8em; }
.hd-motion .hd-ticker__track { animation: hd-slide 48s linear infinite; }
.hd-ticker:hover .hd-ticker__track { animation-play-state: paused; }
html:not(.hd-motion) .hd-ticker { overflow-x: auto; }

/* Scroll reveals */
.hd-motion [data-hd-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.hd-motion [data-hd-reveal].is-in { opacity: 1; transform: none; }
.hd-motion .hd-cap__head[data-hd-reveal] { transform: none; clip-path: inset(0 100% 0 0); transition: opacity .6s var(--ease), clip-path .9s cubic-bezier(.7, 0, .2, 1); }
.hd-motion .hd-cap__head[data-hd-reveal].is-in { clip-path: inset(0 0 0 0); }

/* Looks: the photo breathes on hover, the close-up lifts */
.hd-look__photo { overflow: hidden; border-radius: 6px; }
.hd-look__main { transition: transform .9s var(--ease); }
.hd-look__photo .hd-look__detail { transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), box-shadow .5s var(--ease); }
.hd-look:hover .hd-look__main { transform: scale(1.06); }
.hd-look:hover .hd-look__photo .hd-look__detail { transform: translateY(-6px) rotate(-4deg) scale(1.08); box-shadow: 0 18px 34px rgba(28, 14, 21, .4); }

/* City strip: slow drift, pauses on hover */
.hd-city__track { display: flex; gap: 10px; width: max-content; }
.hd-city__dup { display: none; }
.hd-motion .hd-city__strip { overflow: hidden; padding-inline: 0; }
.hd-motion .hd-city__dup { display: block; }
.hd-motion .hd-city__track { animation: hd-slide 70s linear infinite; }
.hd-motion .hd-city__strip:hover .hd-city__track { animation-play-state: paused; }
.hd-city__strip figure { overflow: hidden; border-radius: 4px; }
.hd-city__strip img { transition: transform 1.2s var(--ease); }
.hd-city__strip figure:hover img { transform: scale(1.05); }

/* Collection cards: lift, and switch to the photo-shoot picture where there is one */
.hd-card__img { position: relative; }
.hd-card__img { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hd-card:hover .hd-card__img, .hd-card:focus-visible .hd-card__img { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 14, 21, .14); }
.hd-card__img .hd-card__altimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease), transform .9s var(--ease); transform: scale(1.06); }
.hd-card.is-alt .hd-card__altimg { opacity: 1; transform: none; }
.hd-card__tag { position: absolute; left: 8px; bottom: 8px; z-index: 2; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--hd-cream); color: var(--hd-ink); padding: .3em .6em; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.hd-card.is-alt .hd-card__tag { opacity: 1; transform: none; }

/* Gold sheen across the "Out now" pill */
.hd-pill { background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); background-size: 200% 100%; background-repeat: no-repeat; }
.hd-motion .hd-pill { animation: hd-glint 3.5s ease-in-out infinite; }

/* Home band: the photos fan out from a stack, the ribbons tie on, the letters rise */
.hd-motion .hd-home__fan figure { transition: transform 1.15s cubic-bezier(.2, .9, .25, 1.12), opacity .6s var(--ease); }
.hd-motion .hd-home__fan figure:nth-child(2) { transition-delay: .05s; }
.hd-motion .hd-home__fan figure:nth-child(3) { transition-delay: .12s; }
.hd-motion .hd-home__fan:not(.is-in) figure:nth-child(1) { transform: translate(55%, -50%) rotate(-1deg); }
.hd-motion .hd-home__fan:not(.is-in) figure:nth-child(3) { transform: translate(-55%, -48%) rotate(1deg); }
.hd-motion .hd-home__fan:not(.is-in) figure:nth-child(2) { transform: translateY(-40%) scale(.92); opacity: 0; }
.hd-home__fan:hover figure:nth-child(1) { transform: translateY(-50%) rotate(-10deg) translateX(-10px); }
.hd-home__fan:hover figure:nth-child(3) { transform: translateY(-48%) rotate(10deg) translateX(10px); }
.hd-motion .hd-home .hd-ribbon--v { transform-origin: top; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) .1s; }
.hd-motion .hd-home .hd-ribbon--h { transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) .45s; }
.hd-motion .hd-home.is-in .hd-ribbon--v { transform: scaleY(1); }
.hd-motion .hd-home.is-in .hd-ribbon--h { transform: scaleX(1); }
.hd-motion .hd-home .hd-l { opacity: 0; }
.hd-motion .hd-home.is-in .hd-l { animation: hd-rise .9s var(--ease) both; animation-delay: calc(.15s + var(--i) * .07s); }
.hd-motion .hd-home .hd-dot { opacity: 0; }
.hd-motion .hd-home.is-in .hd-dot { animation: hd-pop .7s cubic-bezier(.3, 1.6, .5, 1) .75s both; }

@media (prefers-reduced-motion: reduce) {
  .hd-look__main, .hd-look__photo .hd-look__detail, .hd-card__img, .hd-card__img .hd-card__altimg, .hd-city__strip img, .hd-home__fan figure { transition: none !important; }
  .hd-look:hover .hd-look__main, .hd-city__strip figure:hover img { transform: none; }
}
