/* ==========================================================================
   Highland Autumn — Black Friday Week
   Active when <body> has the class hs-bf. The autumn site "after dark":
   near-black forest, birch text, sale red, gold highlights.
   ========================================================================== */

body.hs-bf.hs-event-blackfriday {
	--moss: #0c100d;
	--moss-2: #141a15;
	--moss-3: #1b231c;
	--bark: #141a15;
	--birch: #f1e8d8;
	--birch-dim: #b9ae9b;
	--muted: #857b6a;
	--agaric: #d2462c;
	--agaric-hi: #e8603f;
	--ochre: #d9a441;
	--ink: #1e1812;
	--line: rgba(241, 232, 216, .12);
	--footer: #080b09;
}
body.hs-bf.hs-event-blackfriday .hs-header { background: rgba(12, 16, 13, .9); }
body.hs-bf .hs-band-alt-bf { background: var(--moss-2); }
body.hs-bf.hs-event-blackfriday .hs-amanita { background: var(--moss); }

/* Scrolling ribbon -------------------------------------------------------- */
.hs-ribbon { background: var(--agaric); color: #fff; font-weight: 600; font-size: .88rem; overflow: hidden; white-space: nowrap; }
.hs-ribbon-track { display: inline-flex; gap: 2.5rem; padding-block: .6rem; animation: hs-ribbon 36s linear infinite; will-change: transform; }
.hs-ribbon-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.hs-ribbon-track span::after { content: "✦"; opacity: .7; }
.hs-ribbon:hover .hs-ribbon-track { animation-play-state: paused; }
@keyframes hs-ribbon { to { transform: translateX(-50%); } }

.hs-nav-sale { color: var(--agaric-hi) !important; font-weight: 700; }

/* Hero ------------------------------------------------------------------ */
.hs-bf-hero { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 78% 40%, rgba(217, 164, 65, .10), transparent 70%), var(--moss); }
.hs-bf-hero .hs-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hs-bf-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-block: 4rem 4.5rem; position: relative; z-index: 1; }
.hs-kicker { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--birch); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .9rem; }
.hs-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--agaric); box-shadow: 0 0 0 0 rgba(210, 70, 44, .7); animation: hs-pulse 1.8s infinite; }
@keyframes hs-pulse { 70% { box-shadow: 0 0 0 10px rgba(210, 70, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 70, 44, 0); } }
.hs-big { display: flex; align-items: flex-start; gap: .15em; margin-top: 1.4rem; line-height: .85; }
.hs-big-num { font-family: var(--f-display); font-size: clamp(7rem, 19vw, 15rem); letter-spacing: -.04em; color: var(--birch); }
.hs-big-pct { font-family: var(--f-display); font-size: clamp(3rem, 8vw, 6.4rem); color: var(--agaric); margin-top: .12em; }
.hs-off { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: .4rem 0 0; }
.hs-off em { font-style: normal; color: var(--ochre); }
.hs-bf-hero .hs-lede { margin-top: 1.1rem; max-width: 40ch; }
.hs-howto { margin-top: 1.3rem; font-size: .9rem; color: var(--birch-dim); }
.hs-howto b { color: var(--birch); font-weight: 600; }
.hs-btn-primary.hs-btn-lg { box-shadow: 0 14px 34px -14px rgba(210, 70, 44, .9); }

.hs-moon { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.hs-moon-disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 0 90px 10px rgba(217, 164, 65, .14), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.hs-moon-disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.hs-moon-disc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, transparent 55%, rgba(12, 16, 13, .55) 100%); }
.hs-moon-orbit { position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(217, 164, 65, .35); animation: hs-spin 80s linear infinite; }
@keyframes hs-spin { to { transform: rotate(360deg); } }
.hs-stamp { position: absolute; right: -6px; top: 6%; width: 120px; height: 120px; border-radius: 50%; background: var(--agaric); color: #fff; display: grid; place-items: center; text-align: center; transform: rotate(12deg); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.hs-stamp b { font: 400 2.1rem/1 var(--f-display); display: block; }
.hs-stamp small { font: 600 .62rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.hs-spores { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 860px) {
	.hs-bf-hero-grid { grid-template-columns: 1fr; padding-block: 2.8rem 3.4rem; }
	.hs-moon { width: min(86%, 360px); margin-top: 1rem; }
	.hs-stamp { width: 96px; height: 96px; right: -4px; }
	.hs-stamp b { font-size: 1.7rem; }
}

/* Countdown -------------------------------------------------------------- */
.hs-countdown { background: var(--moss-2); border-block: 1px solid var(--line); }
.hs-countdown .hs-wrap { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; padding-block: 1.6rem; }
.hs-cd-label h2 { font-size: 1.5rem; margin: 0; }
.hs-cd-label p { font-size: .9rem; color: var(--birch-dim); margin: .25rem 0 0; }
.hs-cd-state { font: 600 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--agaric-hi); margin-bottom: .5rem; display: block; }
.hs-timer { display: flex; gap: .6rem; }
.hs-unit { min-width: 84px; text-align: center; padding: .8rem .6rem .7rem; border-radius: 14px; background: var(--moss-3); border: 1px solid var(--line); }
.hs-unit b { display: block; font: 500 2.2rem/1 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--birch); }
.hs-unit small { display: block; margin-top: .4rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-timer.is-ended .hs-unit b { color: var(--muted); }
.hs-countdown--slim .hs-wrap { grid-template-columns: 1fr auto auto; padding-block: .9rem; }
.hs-countdown--slim .hs-cd-label h2 { font-size: 1.15rem; }
.hs-countdown--slim .hs-unit { min-width: 58px; padding: .5rem .4rem; }
.hs-countdown--slim .hs-unit b { font-size: 1.3rem; }
.hs-countdown--slim .hs-unit small { font-size: .58rem; margin-top: .25rem; }
@media (max-width: 760px) {
	.hs-countdown .hs-wrap, .hs-countdown--slim .hs-wrap { grid-template-columns: 1fr; }
	.hs-timer { gap: .4rem; }
	.hs-unit { min-width: 0; flex: 1; }
	.hs-unit b { font-size: 1.6rem; }
	.hs-countdown--slim .hs-btn { justify-self: start; }
}

/* Day strip ---------------------------------------------------------------- */
.hs-days { display: grid; grid-template-columns: repeat(var(--hs-days, 9), minmax(0, 1fr)); gap: .6rem; }
.hs-day { position: relative; padding: 1rem .8rem .9rem; border-radius: 16px; border: 1px solid var(--line); background: var(--moss-2); min-height: 150px; display: flex; flex-direction: column; gap: .15rem; transition: border-color .3s, background .3s, opacity .3s; }
.hs-day-dow { font: 600 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-day-date { font: 400 2.4rem/1 var(--f-display); margin-top: .35rem; }
.hs-day-mon { font-size: .8rem; color: var(--birch-dim); }
.hs-day-what { font-size: .78rem; line-height: 1.3; color: var(--birch-dim); margin-top: auto; padding-top: .6rem; }
.hs-day-flag { position: absolute; top: .7rem; right: .7rem; font: 600 .58rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: .35rem .45rem; border-radius: 999px; background: var(--agaric); color: #fff; display: none; }
.hs-day.is-key { border-color: rgba(217, 164, 65, .45); }
.hs-day.is-key .hs-day-what { color: var(--ochre); font-weight: 600; }
.hs-day.is-today { border-color: var(--agaric); background: linear-gradient(160deg, rgba(210, 70, 44, .25), rgba(210, 70, 44, .05)), var(--moss-2); }
.hs-day.is-today .hs-day-flag { display: block; }
.hs-day.is-past { opacity: .4; }
@media (max-width: 1000px) {
	.hs-days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
	.hs-day { flex: 0 0 128px; scroll-snap-align: start; }
}

/* Products during the sale --------------------------------------------------- */
.hs-tag-off { position: absolute; top: .7rem; right: .7rem; z-index: 3; width: 54px; height: 54px; border-radius: 50%; background: var(--agaric); color: #fff; display: grid; place-items: center; font: 700 .9rem/1 var(--f-body); transform: rotate(-8deg); pointer-events: none; }
.hs-tag-off--single { width: 72px; height: 72px; font-size: 1.1rem; top: 1rem; right: 1rem; }
body.hs-bf span.onsale { top: 4.4rem; }
body.hs-bf .woocommerce div.product > .onsale { top: 1rem; }
.hs-bf-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
.hs-bf-price del { color: var(--muted); font-size: .7em; opacity: 1; }
.hs-bf-price ins { text-decoration: none; color: var(--birch); }
.hs-bf-save { flex-basis: 100%; font: 600 .7rem/1.2 var(--f-mono); letter-spacing: .06em; color: var(--agaric-hi); text-transform: uppercase; }

/* Small print -------------------------------------------------------------- */
.hs-terms h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.hs-terms-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2.5rem; max-width: 980px; }
.hs-terms-list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; font-size: .95rem; color: var(--birch-dim); }
.hs-terms-list li::before { content: ""; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--ochre); }
.hs-terms-list b { color: var(--birch); font-weight: 600; }
@media (max-width: 760px) { .hs-terms-list { grid-template-columns: 1fr; } }

/* Preview badge for admins */
body.hs-preview::after { content: "Preview"; position: fixed; left: 12px; bottom: 12px; z-index: 99999; background: var(--ochre); color: var(--ink); font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: .5rem .7rem; border-radius: 999px; }

/* Sale accents per event (colours otherwise come from the season). */
body.hs-event-solstice .hs-ribbon { background: linear-gradient(90deg, #8f2a24, var(--agaric) 30%, #b8862f 70%, var(--ochre)); color: #fff; }
body.hs-event-solstice .hs-bf-hero { background: radial-gradient(60% 70% at 78% 110%, rgba(232, 176, 74, .25), transparent 70%), radial-gradient(80% 60% at 10% -10%, rgba(80, 120, 190, .2), transparent 60%), var(--moss); }
body.hs-event-solstice .hs-stamp { background: var(--ochre); color: #0b1220; }
body.hs-event-solstice .hs-moon-disc { box-shadow: 0 0 0 1px var(--line), 0 0 110px 20px rgba(232, 176, 74, .22), 0 40px 80px -30px rgba(0, 0, 0, .9); }
body.hs-event-boxingday .hs-bf-hero { background: radial-gradient(60% 80% at 78% 40%, rgba(200, 66, 58, .18), transparent 70%), var(--moss); }
body.hs-event-january .hs-ribbon { background: #e8eef6; color: #0b1220; }
body.hs-event-january .hs-ribbon-track span::after { opacity: .5; }
body.hs-event-january .hs-bf-hero { background: radial-gradient(70% 80% at 80% 30%, rgba(170, 200, 235, .16), transparent 70%), var(--moss); }
body.hs-event-january .hs-stamp { background: #e8eef6; color: #0b1220; }
