/* ===================================================== Home hero v2 (2026-10-02): calmer centre + one status bar at the bottom
   Restore the previous version with: git checkout home-hero-v1 -- index.php (or H:\ECWEB-v2-backups\home-hero-v1) */

/* Centre: a little smaller and more air, so the status bar has its own space */
.page-home .hero-content { padding: 90px var(--gutter) 150px; max-width: 1100px; }
.page-home .hero-logo { width: min(400px, 66vw); margin-bottom: .6rem; }
.page-home .hero-title { margin-bottom: 1.2rem; }
.page-home .hero-lede { max-width: 560px; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.page-home .scroll-cue { display: none; }

/* Status bar */
.hero-status {
	position: absolute; left: 0; right: 0; bottom: 30px; margin: 0 auto;
	width: min(980px, calc(100% - 2 * var(--gutter)));
	display: flex; align-items: stretch; justify-content: center;
	padding: 2px 0;
	background: linear-gradient(90deg, transparent, rgba(12, 9, 13, .55) 18%, rgba(12, 9, 13, .55) 82%, transparent);
	backdrop-filter: blur(3px);
}
.hero-status::before, .hero-status::after { content: ""; position: absolute; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(233, 183, 101, .55) 22%, rgba(233, 183, 101, .55) 78%, transparent); }
.hero-status::before { top: 0; } .hero-status::after { bottom: 0; }

.hs-item { flex: 1 1 0; min-width: 0; max-width: 440px; display: flex; align-items: center; gap: 14px; padding: 14px 26px; color: var(--ink); text-decoration: none; transition: background .25s; }
.hero-status.has-both .hs-season { justify-content: flex-end; text-align: right; }
.hero-status.has-both .hs-season .hs-go { order: -1; transform: scaleX(-1); }
.hs-item:hover { color: var(--ink); background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(200, 147, 74, .14), transparent 75%); }
.hs-icon { flex: none; display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(242, 207, 115, .3)); }
.hs-pic { width: 64px; height: 48px; overflow: hidden; color: var(--ember-2); }
.hs-pic img { width: 100%; height: 100%; object-fit: cover; }
.hs-text { display: grid; gap: 4px; min-width: 0; }
.hs-text small { display: flex; align-items: center; gap: 7px; font: 700 .58rem/1.2 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: rgba(233, 183, 101, .8); }
.hero-status.has-both .hs-season .hs-text small { justify-content: flex-end; }
.hs-text b { font: 900 clamp(1rem, 1.7vw, 1.22rem)/1.1 var(--f-display); color: #f4e6c8; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.hs-live { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4e; box-shadow: 0 0 8px #ff5a4e; animation: hs-pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes hs-pulse { 50% { opacity: .35; } }
.hs-leaders { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; font: 600 .86rem/1.3 var(--f-body); color: var(--ink-soft); }
.hs-leader { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hs-leader i { font: 700 .54rem/1 var(--f-head); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #f2cf73; }
.hs-leader.is-p2 i { color: #c9ccd4; }
.hs-go { flex: none; font: 400 1.1rem/1 var(--f-body); color: rgba(233, 183, 101, .6); transition: transform .25s, color .25s; }
.hs-item:hover .hs-go { color: var(--ember-2); transform: translateX(4px); }
.hero-status.has-both .hs-season:hover .hs-go { transform: scaleX(-1) translateX(4px); }
.hs-divider { flex: none; width: 1px; margin: 10px 0; background: linear-gradient(180deg, transparent, rgba(233, 183, 101, .55), transparent); position: relative; }
.hs-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%) rotate(45deg); background: var(--ember-2); box-shadow: 0 0 8px rgba(233, 183, 101, .6); }
@media (prefers-reduced-motion: reduce) { .hs-live { animation: none; } }

/* Phones: the bar follows the buttons and the two items stack */
@media (max-width: 700px) {
	.page-home .hero-content { padding-bottom: 40px; }
	.hero-status { position: relative; left: auto; right: auto; bottom: auto; width: 100%; flex-direction: column; margin-top: 30px; background: linear-gradient(90deg, transparent, rgba(12, 9, 13, .55) 12%, rgba(12, 9, 13, .55) 88%, transparent); }
	.hs-item, .hero-status.has-both .hs-season { max-width: none; justify-content: center; text-align: left; padding: 12px 16px; }
	.hero-status.has-both .hs-season .hs-go { order: 0; transform: none; }
	.hero-status.has-both .hs-season .hs-text small { justify-content: flex-start; }
	.hs-divider { width: auto; height: 1px; margin: 0 20%; background: linear-gradient(90deg, transparent, rgba(233, 183, 101, .45), transparent); }
}
.hero-status { animation: hs-in .9s .4s both var(--ease); } @keyframes hs-in { from { opacity: 0; } to { opacity: 1; } }

/* ===================================================== v3: season-led hero (when a season is visible) */
.page-home .hero-content.hero-season { position: relative; max-width: 1100px; padding: 86px var(--gutter) 120px; }
.hero-season::before { content: ""; position: absolute; left: 50%; top: 30%; z-index: -1; width: min(900px, 120vw); height: 620px; transform: translate(-50%, -50%);
	background: radial-gradient(ellipse 45% 50% at 50% 45%, rgba(233, 160, 70, .26), transparent 70%), radial-gradient(ellipse 60% 55% at 50% 55%, rgba(168, 20, 26, .3), transparent 75%);
	filter: blur(20px); pointer-events: none; animation: hz-breathe 7s ease-in-out infinite; }
@keyframes hz-breathe { 50% { opacity: .7; transform: translate(-50%, -50%) scale(1.04); } }

.hz-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; opacity: .92; }
.hz-brand img { width: 56px; height: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .8)); }
.hz-brand span { display: grid; text-align: left; font: 700 .86rem/1.1 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #ead7b4; }
.hz-brand small { font: 600 .56rem/1.3 var(--f-head); letter-spacing: .36em; color: var(--ember); }

.hz-badge { width: clamp(150px, 19vw, 230px); margin: 0 auto 14px; filter: drop-shadow(0 0 30px rgba(242, 207, 115, .45)) drop-shadow(0 14px 22px rgba(0, 0, 0, .85)); animation: logo-float 8s ease-in-out infinite; }
.hz-badge svg { width: 100%; height: auto; display: block; }

.hz-kicker { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 .6rem; font: 700 clamp(.66rem, 1.1vw, .8rem)/1.3 var(--f-head); letter-spacing: .42em; text-transform: uppercase; color: var(--ember-2); }
.hz-kicker span { color: var(--blood-glow); letter-spacing: 0; font-size: .9em; }
.hz-title { margin: 0 0 1.1rem; font: 900 clamp(2.6rem, 5.8vw, 6.2rem)/.95 var(--f-display); letter-spacing: .01em;
	background: linear-gradient(180deg, #fff6e2 0%, #f0d08e 34%, #b07a35 66%, #4a2810 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 50px rgba(224, 38, 44, .45)); }
.hz-lede { max-width: 640px; margin: 0 auto 1.3rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); font-style: italic; }
.hz-time { display: inline-flex; align-items: baseline; gap: 10px; margin: 0 0 1.8rem; padding: 8px 20px; font: 600 .8rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
	border-top: 1px solid rgba(233, 183, 101, .35); border-bottom: 1px solid rgba(233, 183, 101, .35); }
.hz-time b { font: 900 1.5rem/1 var(--f-display); color: #f4e6c8; letter-spacing: 0; }
.hz-time span { color: var(--ember); }
.hz-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hz-leaders { list-style: none; margin: 30px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.hz-leaders li { display: flex; align-items: center; gap: 10px; text-align: left; }
.hz-leaders svg { width: 30px; height: auto; flex: none; }
.hz-leaders span { display: grid; font: 700 .9rem/1.2 var(--f-head); color: var(--ink); }
.hz-leaders span a { color: inherit; }
.hz-leaders small { font: 600 .66rem/1.2 var(--f-head); letter-spacing: .14em; color: var(--muted); }

/* The event, quietly, at the bottom */
.hero-status.is-quiet { width: fit-content; max-width: calc(100% - 2 * var(--gutter)); background: none; backdrop-filter: none; bottom: 24px; }
.hero-status.is-quiet::before { display: none; }
.hero-status.is-quiet::after { background: linear-gradient(90deg, transparent, rgba(233, 183, 101, .35), transparent); }
.hero-status.is-quiet .hs-item { padding: 8px 14px; gap: 10px; opacity: .85; }
.hero-status.is-quiet .hs-item:hover { opacity: 1; }
.hero-status.is-quiet .hs-pic { width: 40px; height: 30px; }
.hero-status.is-quiet .hs-text { display: flex; align-items: baseline; gap: 10px; }
.hero-status.is-quiet .hs-text small { font-size: .54rem; }
.hero-status.is-quiet .hs-text b { font: 700 .92rem/1.1 var(--f-head); letter-spacing: .04em; }

@media (max-width: 700px) {
	.page-home .hero-content.hero-season { padding: 80px var(--gutter) 30px; }
	.hz-brand { margin-bottom: 16px; }
	.hz-kicker { letter-spacing: .28em; gap: 8px; flex-wrap: wrap; }
	.hz-leaders { gap: 10px 18px; }
	.hero-status.is-quiet { width: 100%; margin-top: 18px; }
	.hero-status.is-quiet .hs-text { display: grid; gap: 3px; }
}

/* ===================================================== v4: A&D logo as the centrepiece, the season as the headline under it */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-home .hero-content.hero-season { padding: 84px var(--gutter) 110px; }
.hero-season::before { top: 58%; height: 520px; opacity: .8; }
.page-home .hz-logo { width: min(440px, 72vw); margin: 0 auto .4rem; }

.hz-season { position: relative; display: inline-flex; align-items: center; gap: 22px; margin: 0 auto 1.2rem; padding: 14px 44px 14px 30px; text-align: left; color: var(--ink); text-decoration: none;
	background: radial-gradient(ellipse 65% 120% at 50% 50%, rgba(168, 20, 26, .45), rgba(122, 12, 12, .16) 55%, transparent 82%); transition: background .3s; }
.hz-season::before, .hz-season::after { content: ""; position: absolute; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(242, 207, 115, .8) 25%, rgba(242, 207, 115, .8) 75%, transparent); }
.hz-season::before { top: 0; } .hz-season::after { bottom: 0; }
.hz-season:hover { color: var(--ink); background: radial-gradient(ellipse 65% 120% at 50% 50%, rgba(190, 28, 34, .58), rgba(122, 12, 12, .22) 55%, transparent 82%); }
.hz-season .hz-badge { width: clamp(76px, 7.4vw, 104px); margin: 0; flex: none; animation: none; filter: drop-shadow(0 0 16px rgba(242, 207, 115, .5)) drop-shadow(0 8px 12px rgba(0, 0, 0, .8)); }
.hz-head { display: grid; gap: 6px; }
.hz-season .hz-kicker { justify-content: flex-start; gap: 10px; margin: 0; font-size: clamp(.6rem, .9vw, .72rem); letter-spacing: .34em; }
.hz-season .hz-kicker i { font-style: normal; color: var(--blood-glow); letter-spacing: 0; }
.hz-season .hz-title { display: block; margin: 0; font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1; }
.hz-season .hz-time { display: block; margin: 2px 0 0; padding: 0; border: 0; font: 600 .72rem/1.2 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.hz-season .hz-time b { font: 900 1.05rem/1 var(--f-display); color: #f4e6c8; }
.hero-season .hz-lede { max-width: 600px; margin-bottom: 1.6rem; font-size: clamp(1rem, 1.35vw, 1.15rem); }
.hero-season .hz-leaders { margin-top: 24px; }

@media (max-width: 700px) {
	.hz-season { flex-direction: column; text-align: center; gap: 10px; padding: 14px 18px; }
	.hz-season .hz-kicker { justify-content: center; flex-wrap: wrap; }
	.page-home .hero-content.hero-season { padding-top: 76px; }
}
/* v4.1: no lines around the season band */
.hz-season::before, .hz-season::after { display: none; }
/* v4.2: "Season of" over the name; the whole season bigger */
.hz-season { gap: 30px; padding: 20px 60px 20px 40px; margin-bottom: 1.4rem; background: radial-gradient(ellipse 66% 120% at 50% 50%, rgba(168, 20, 26, .5), rgba(122, 12, 12, .18) 58%, transparent 84%); }
.hz-season .hz-badge { width: clamp(100px, 10vw, 150px); }
.hz-head { gap: 4px; }
.hz-season .hz-kicker { font-size: clamp(.66rem, 1vw, .82rem); margin-bottom: 4px; }
.hz-of { font: italic 500 clamp(1rem, 1.5vw, 1.3rem)/1 var(--f-body); letter-spacing: .04em; color: rgba(233, 183, 101, .9); margin-bottom: -2px; }
.hz-season .hz-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
@media (max-width: 700px) { .hz-season { padding: 16px 18px; gap: 12px; } }
/* v4.3: the season glow fades out on every side (no edges); the event line a little bigger, label above the name */
.hz-season { background: none; isolation: isolate; }
.hz-season:hover { background: none; }
.hz-season::before { display: block; content: ""; position: absolute; inset: -45% -14%; top: -45%; bottom: -45%; left: -14%; right: -14%; height: auto; z-index: -1; pointer-events: none;
	background: radial-gradient(closest-side, rgba(168, 20, 26, .34), rgba(140, 16, 20, .16) 48%, rgba(122, 12, 12, .05) 78%, transparent 100%);
	filter: blur(10px); transition: opacity .3s; opacity: .95; }
.hz-season:hover::before { opacity: 1; background: radial-gradient(closest-side, rgba(190, 28, 34, .42), rgba(150, 18, 22, .2) 48%, rgba(122, 12, 12, .06) 78%, transparent 100%); }

.hero-status.is-quiet { bottom: 22px; }
.hero-status.is-quiet .hs-item { padding: 10px 18px; gap: 14px; }
.hero-status.is-quiet .hs-pic { width: 60px; height: 45px; }
.hero-status.is-quiet .hs-text { display: grid; gap: 4px; text-align: left; }
.hero-status.is-quiet .hs-text small { font-size: .6rem; letter-spacing: .24em; }
.hero-status.is-quiet .hs-text b { font: 900 clamp(1.05rem, 1.5vw, 1.25rem)/1.1 var(--f-display); letter-spacing: .02em; }
.hero-status.is-quiet .hs-go { font-size: 1.2rem; }
/* v4.4: order logo → tagline → buttons → season → event */
.hero-season .hz-lede { margin-bottom: 1.5rem; }
.hz-season { margin: 2.2rem auto .6rem; }
.hz-season-note { max-width: 560px; margin: 0 auto; font-size: clamp(.9rem, 1.1vw, 1rem); line-height: 1.55; color: var(--ink-soft); font-style: italic; opacity: .85; }
.page-home .hero-content.hero-season { padding-bottom: 120px; }
/* v4.5: the event follows the season in the flow (fixed, short gap) instead of sitting at the bottom of the screen */
.hero-season .hero-status.is-quiet { position: relative; left: auto; right: auto; bottom: auto; margin: 26px auto 0; }
.page-home .hero-content.hero-season { padding-bottom: 70px; }

/* ===================================================== v5: the hero as a book cover (season-led) */
.hz-cover { position: absolute; inset: 86px 26px 26px; z-index: 0; pointer-events: none; color: rgba(233, 183, 101, .75);
	border: 1px solid rgba(233, 183, 101, .45); box-shadow: inset 0 0 0 6px rgba(6, 5, 8, .0), inset 0 0 0 7px rgba(233, 183, 101, .22), inset 0 0 120px rgba(0, 0, 0, .55); }
.hz-cover::before { content: ""; position: absolute; inset: -26px; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, rgba(6, 4, 6, .55) 100%); }
.hz-corner { position: absolute; width: 92px; height: 92px; }
.hz-corner svg { width: 100%; height: 100%; display: block; }
.hz-tl { top: -1px; left: -1px; } .hz-tr { top: -1px; right: -1px; transform: scaleX(-1); }
.hz-bl { bottom: -1px; left: -1px; transform: scaleY(-1); } .hz-br { bottom: -1px; right: -1px; transform: scale(-1, -1); }
.hz-gem { position: absolute; left: 50%; width: 12px; height: 12px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 10px rgba(233, 183, 101, .5); }
.hz-gem-top { top: 0; } .hz-gem-bottom { top: 100%; }

.hero-season.is-book { position: relative; z-index: 1; }
.hero-season.is-book .hz-logo { width: min(400px, 66vw); }
.hero-season.is-book .hz-lede { margin-bottom: 1.4rem; }

.hz-book { display: block; margin: 2.4rem auto .4rem; color: var(--ink); text-decoration: none; position: relative; isolation: isolate; }
.hz-book::before { content: ""; position: absolute; inset: -30% -18%; z-index: -2; pointer-events: none; filter: blur(12px);
	background: radial-gradient(closest-side, rgba(168, 20, 26, .3), rgba(140, 16, 20, .12) 55%, transparent 100%); }
.hz-book:hover { color: var(--ink); }
.hz-chapter { display: flex; align-items: center; justify-content: center; gap: 14px; font: 700 clamp(.62rem, .95vw, .78rem)/1 var(--f-head); letter-spacing: .38em; text-transform: uppercase; color: var(--ember-2); }
.hz-chapter i { font-style: normal; color: var(--blood-glow); letter-spacing: 0; }
.hz-rule { width: clamp(30px, 6vw, 80px); height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 183, 101, .7)); }
.hz-rule:last-child { transform: scaleX(-1); }

.hz-titlewrap { position: relative; display: inline-block; margin: 1.6rem auto 0; padding: 0 .4em; }
.hz-book .hz-of { position: absolute; left: -.2em; top: -1.15em; font: italic 500 clamp(1.05rem, 1.7vw, 1.45rem)/1 var(--f-body); letter-spacing: .03em; color: rgba(242, 207, 115, .92); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); margin: 0; }
.hz-book .hz-title { display: block; font: 900 clamp(2.6rem, 6vw, 5.4rem)/1 var(--f-display); letter-spacing: .02em; margin: 0;
	background: linear-gradient(180deg, #fff6e2 0%, #f0d08e 34%, #b07a35 66%, #4a2810 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(224, 38, 44, .4)); }
.hz-flourish { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 1rem auto .3rem; color: var(--ember-2); }
.hz-flourish i { width: clamp(60px, 10vw, 140px); height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 183, 101, .75)); }
.hz-flourish i:last-child { transform: scaleX(-1); }
.hz-flourish b { font-size: .8rem; font-weight: 400; }
.hz-book .hz-time { display: block; margin-top: .4rem; font: 600 .74rem/1.2 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.hz-book .hz-time b { font: 900 1.05rem/1 var(--f-display); color: #f4e6c8; }
.hero-season.is-book .hz-season-note { margin-top: .6rem; }

/* the Sator Event as a small mark at the foot of the cover */
.hero-season.is-book .hero-status.is-quiet { margin-top: 22px; }

@media (max-width: 700px) {
	.hz-cover { inset: 70px 10px 10px; }
	.hz-corner { width: 56px; height: 56px; }
	.page-home .hero-content.hero-season.is-book { padding: 84px 22px 36px; }
	.hz-chapter { flex-wrap: wrap; letter-spacing: .26em; gap: 8px; }
	.hz-rule { display: none; }
	.hz-book .hz-of { position: static; display: block; text-align: left; margin-bottom: .2em; }
}
/* v5: the season emblem, monochrome and see-through, set under the title between the gold rules */
.hz-flourish { margin-top: .9rem; }
.hz-emblem { display: block; width: clamp(70px, 7vw, 96px); opacity: .42; filter: grayscale(1) sepia(.5) saturate(.8) brightness(1.35) contrast(.95) drop-shadow(0 2px 6px rgba(0, 0, 0, .7)); transition: opacity .3s; }
.hz-emblem svg { width: 100%; height: auto; display: block; }
.hz-book:hover .hz-emblem { opacity: .6; }
/* v5: keep the whole cover on one screen */
.page-home .hero-content.hero-season.is-book { padding: 92px var(--gutter) 46px; }
.hero-season.is-book .hz-logo { width: min(330px, 62vw); margin-bottom: .4rem; }
.hero-season.is-book .hz-lede { margin: .4rem auto 1rem; }
.hz-book { margin-top: 1.7rem; }
.hz-titlewrap { margin-top: 1.3rem; }
.hz-flourish { margin: .6rem auto .1rem; }
.hz-emblem { width: clamp(62px, 5.6vw, 80px); }
.hero-season.is-book .hz-season-note { margin-top: .3rem; }
.hero-season.is-book .hero-status.is-quiet { margin-top: 14px; }
@media (max-width: 700px) { .page-home .hero-content.hero-season.is-book { padding: 84px 22px 36px; } }
.page-home .hero:has(.hero-season.is-book) { padding-top: 0; padding-bottom: 0; }
.hz-titlewrap { margin-top: 2rem; }
/* v5.1: the cover frame runs to the browser edges on every side */
.hz-cover, .hz-cover::before { inset: 0; }
@media (max-width: 700px) { .hz-cover { inset: 0; } }
