/* ==========================================================================
   SHOWCASE: a full-width award photograph, the title and buttons beside it.
   The photograph (--shot) and where it sits (--shot-pos, --shot-left) come from the theme; the stage colour
   (--stage, editable in Branding) is the colour behind and beside the picture. An organizer's own hero image replaces it.
   ========================================================================== */
[data-theme] .hero-showcase {
    --sc-stage: var(--stage, #050912);
    --shot: var(--theme-shot, none);
    --shot-pos: 72% 40%;
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
    background: var(--sc-stage); color: #fff;
}
/* the photograph, fading into the stage colour on the text side */
[data-theme] .hero-showcase::before {
    content: ""; display: block; position: absolute; inset: 0 0 0 var(--shot-left, 0%); z-index: -2;
    width: auto; height: auto; opacity: 1; transform: none; pointer-events: none;
    background: var(--shot) var(--shot-pos) / var(--shot-size, cover) no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--shot-fade, 44%)), linear-gradient(180deg, transparent 0, #000 34%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--shot-fade, 44%)), linear-gradient(180deg, transparent 0, #000 34%);
    mask-composite: intersect;
}
/* legibility scrim, a floor that melts into the page below, and a soft light at the top */
[data-theme] .hero-showcase::after {
    content: ""; display: block; position: absolute; inset: 0; z-index: -1; width: auto; height: auto; right: 0; top: 0;
    opacity: 1; transform: none; aspect-ratio: auto; pointer-events: none; border: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--sc-stage) 92%, transparent) 0, color-mix(in srgb, var(--sc-stage) 55%, transparent) 34%, transparent 62%),
        linear-gradient(0deg, var(--bg) 0, color-mix(in srgb, var(--bg) 70%, transparent) 7%, transparent 26%),
        linear-gradient(180deg, color-mix(in srgb, var(--sc-stage) 75%, transparent) 0, transparent 20%);
}
.hero-showcase .sc-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 640px); }
.hero-showcase .sc-copy { display: flex; flex-direction: column; align-items: flex-start; }

.sc-kicker { display: inline-flex; align-items: center; gap: .8rem; font: 700 .72rem/1 var(--font-ui); letter-spacing: .34em; text-transform: uppercase; color: var(--accent-2); }
.sc-kicker i { display: block; width: 38px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

[data-theme] .hero-showcase h1 {
    margin: min(1.1rem, 1.6vh) 0 0; font-family: var(--sc-display, 'Cormorant Garamond', Georgia, serif); line-height: .98; letter-spacing: -.01em;
    font-size: clamp(2.5rem, min(6.4vw, 10.5vh), 5.8rem); font-weight: 600;
}
.sc-l1, .sc-l2 { display: block; }
.sc-l1 { color: #fff; font-weight: var(--sc-l1-weight, 300); letter-spacing: var(--sc-l1-track, .02em); text-transform: var(--sc-case, none); }
.sc-l2 {
    font-weight: var(--sc-l2-weight, 700); font-style: var(--sc-l2-style, normal); text-transform: var(--sc-case, none);
    background: linear-gradient(100deg, var(--accent-2), var(--accent) 55%, color-mix(in srgb, var(--accent) 72%, #000));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.sc-year { display: flex; align-items: center; gap: 1rem; margin: min(.9rem, 1.4vh) 0 min(.8rem, 1.2vh); font: 600 .78rem/1 var(--font-ui); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.sc-year b { font-weight: 700; color: var(--accent); letter-spacing: .24em; }
.sc-year::before { content: ""; width: 54px; height: 1px; background: color-mix(in srgb, var(--accent) 70%, transparent); order: 2; }
.sc-year b { order: 3; }
.sc-lead { margin: 0 0 min(1.6rem, 2.4vh); padding-top: .2rem; max-width: 30rem; font-size: 1.04rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }

.hero-showcase .hero-cta { gap: .8rem; }
.hero-showcase .cd-label { color: var(--accent-2); }
.hero-showcase .countdown { justify-content: flex-start; }
.hero-showcase .cd-box { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-showcase .cd-box span, .hero-showcase .cd-caption { color: rgba(255, 255, 255, .66); }
.hero-showcase .cd-ended { color: #fff; }

/* three facts on a glass strip */
.sc-facts { list-style: none; margin: min(1.8rem, 2.8vh) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 0; border-radius: 16px; overflow: hidden;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); }
.sc-facts li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.15rem; }
.sc-facts li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.sc-facts i { color: var(--accent); font-size: 1.05rem; }
.sc-facts span { display: block; font-size: .8rem; font-weight: 600; color: #fff; line-height: 1.35; }
.sc-facts small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* carousel slides in this skin share the photograph */
.hs.hero-showcase .hs-title { font-family: var(--sc-display, 'Cormorant Garamond', serif); }

@media (max-width: 1100px) { .sc-facts li:nth-child(3) { display: none; } .sc-facts { grid-template-columns: repeat(2, auto); } }

/* Phones: the picture across the top, the copy below it */
@media (max-width: 860px) {
    [data-theme] .hero-showcase { align-items: flex-end; }
    [data-theme] .hero-showcase::before {
        inset: 0 0 auto 0; height: 60%; background-size: cover; background-position: var(--shot-pos-m, 72% 12%);
        inset: 56px 0 auto 0; height: 58%;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 55%, transparent 100%);
        -webkit-mask-composite: source-over; mask-composite: add;
    }
    [data-theme] .hero-showcase::after {
        background:
            linear-gradient(0deg, var(--sc-stage) 0, color-mix(in srgb, var(--sc-stage) 88%, transparent) 40%, transparent 68%),
            linear-gradient(180deg, color-mix(in srgb, var(--sc-stage) 70%, transparent) 0, transparent 16%);
    }
    .hero-showcase .sc-copy { align-items: center; text-align: center; }
    .hero-showcase .hero-cta, .hero-showcase .countdown { justify-content: center; }
    .sc-lead { margin-inline: auto; }
    .sc-facts { display: none; }
}
@media (max-width: 700px) { .sc-lead { display: none; } }
@media (max-height: 700px) { .sc-lead { display: none; } .sc-facts { margin-top: 1rem; } }
@media (prefers-reduced-motion: no-preference) {
    [data-theme] .hero-showcase::before { animation: scDrift 24s ease-in-out infinite alternate; }
    @keyframes scDrift { from { transform: scale(1); } to { transform: scale(1.04); } }
}
