/* ============================================================
   HOME.CSS — Singapore Saxophone Symposium
   Hero · Countdown · Programme · Artists teaser · Excellence strip
   ============================================================ */

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--black);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* .hero__bg-pattern {
    position: absolute;
    top: 0;
    left: 24%;
    width: 60%;
    height: 100%;
    background-image: url('../images/home/hero pattern.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.55;
    pointer-events: none;
} */

/* Gradient mask so image fades into black on the left */
/* .hero__bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--black) 0%, transparent 60%);
} */

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--hero-max-width);
    margin: 0 auto;
    padding: 120px 40px 80px;
    width: 100%;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.hero__eyebrow .eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
}

.hero__eyebrow .line {
    width: 32px;
    height: 1px;
    background-color: var(--gold);
}

.hero__title {
    font-size: 104px;
    line-height: 0.98;
    max-width: 700px;
    margin-bottom: 3rem;
}

.hero__date {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--light-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.hero__venue {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
}

.hero__sub {
    font-size: 14px;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Countdown label — eyebrow heading above the timer */
.hero__countdown-label {
    margin-bottom: 1rem;
}

/* Countdown — spans full content width */
.hero__countdown {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.countdown-unit__num {
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
    min-width: 3ch;
}

.countdown-unit__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 18px;
}

.countdown-separator {
    width: 1px;
    height: 34px;
    position: relative;
    top: -34px;
    right: -40px;
    background-color: var(--dark-gold);
    align-self: flex-end;
    flex-shrink: 0;
    font-size: 0; /* hide text content */
    margin-bottom: 8px;
}

/* CTA row — sits above countdown */
.hero__ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* .section-label rules moved to base.css (shared component, see design.md §3.6) */

/* ── Programme Section ─────────────────────────────────────── */
.programme-section {
    background-color: var(--black);
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--mid-gray);
}

.programme-section .content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.programme-section__header {
    margin-bottom: 0;
}

.programme-section__divider {
    border: none;
    border-top: 1px solid var(--mid-gray);
    margin: 2.5rem 0 3rem;
}

.programme-section__header h2 {
    font-size: 44px;
    max-width: 620px;
    line-height: 1.15;
    font-weight: 400;
    color: var(--white);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.programme-card {
    background-color: var(--black);
    border: 1px solid transparent;
    border-top: 2px solid transparent;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, background-color 0.3s;
    padding: 48px 40px;
}

.programme-card:hover {
    border-color: var(--mid-gray);
    border-top-color: var(--gold);
    background-color: #1E1E1E;
}

.programme-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.programme-card__body {
    padding: 1.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--mid-gray);
}

.programme-card__eyebrow {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 0.75rem 0;
    position: relative;
    padding-bottom: 0.5rem;
}

/* .programme-card__eyebrow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 1px;
    background-color: var(--gold);
    opacity: 0.6;
} */

.programme-card__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 10px;
    margin: 0 0 1rem 0;
    border-radius: 2px;
    width: fit-content;
}

.programme-card__title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    max-width: 60%;
}

.programme-card__desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.programme-card__link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.programme-card__link::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 8px;
    background-image: url('../images/arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    transition: transform 0.3s;
    flex-shrink: 0;
    top: -1px;
    position: relative;
}

.programme-card__link:hover {
    color: var(--gold);
    gap: 14px;
}

.programme-card__link:hover::after {
    transform: translateX(4px);
}

/* ── Artists Teaser Section ────────────────────────────────── */
.artists-teaser {
    background-color: var(--black);
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--mid-gray);
}

.artists-teaser__header {
    margin-bottom: 3rem;
}

.artists-teaser__header h2 {
    font-size: 44px;
    max-width: 600px;
    line-height: 1.15;
    font-weight: 400;
    color: var(--white);
}

/* Artist List rows */
.artist-list {
    border-top: 1px solid var(--mid-gray);
}

.artist-list__row {
    display: grid;
    grid-template-columns: 56px 1fr 315px 40px;
    align-items: center;
    gap: 0 24px;
    border-bottom: 1px solid var(--mid-gray);
    padding: 1.5rem 0;
    text-decoration: none;
    transition: color 0.2s;
}

.artist-list__row::after {
    content: '';
    display: block;
    width: 28px;
    height: 18px;
    background-image: url('../images/arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    transition: transform 0.3s, filter 0.2s;
    justify-self: end;
}

.artist-list__row:hover::after {
    filter: none;
    transform: translateX(5px);
}

.artist-list__num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--dark-gold);
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.artist-list__name {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s;
}

.artist-list__row:hover .artist-list__name {
    color: var(--gold);
}

.artist-list__desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    text-align: right;
}

/* ── Excellence Strip ──────────────────────────────────────── */
.excellence-strip {
    background-color: var(--dark-card);
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid var(--mid-gray);
    border-bottom: 1px solid var(--mid-gray);
}

.excellence-strip__inner {
    max-width: 520px;
    margin: 0 auto;
}

.excellence-strip__line {
    width: 48px;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto 1.75rem;
}

.excellence-strip__line:last-child {
    margin: 1.75rem auto 0;
}

.excellence-strip h2 {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.excellence-strip p {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — home page
   ═══════════════════════════════════════════════════════════ */

@media screen and (max-width: 1024px) {
    .hero__title { font-size: 96px; }
    .programme-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .programme-section__header h2,
    .artists-teaser__header h2 { font-size: 36px; }
    .hero__countdown { gap: 1.5rem; }
}

@media screen and (max-width: 768px) {
    /* Hero — drop the giant display type, stack CTAs and countdown */
    .hero { min-height: auto; padding: 4rem 0 3rem; }
    .hero__title { font-size: 56px; line-height: 1.05; }
    .hero__date { font-size: 20px; }
    .hero__venue, .hero__sub { font-size: 14px; }
    .hero__ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }
    .hero__ctas .btn {
        width: 100%;
        justify-content: center;
    }
    /* Countdown — wrap to two rows (2 × 2) on phones */
    .hero__countdown {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem 1.5rem;
    }
    .countdown-unit__num { font-size: 40px; }
    .countdown-separator { display: none; }

    /* Programme cards — single column */
    .programme-grid { grid-template-columns: 1fr; gap: 24px; }
    .programme-section__header h2,
    .artists-teaser__header h2 { font-size: 28px; line-height: 1.15; }

    /* Artist teaser rows — grid restacks: num + name on row 1, desc spans
       both columns on row 2. Arrow icon hidden so it doesn't push width. */
    .artist-list__row {
        grid-template-columns: 36px 1fr;
        row-gap: 4px;
        padding: 1.25rem 0;
    }
    .artist-list__row::after { display: none; }
    .artist-list__num { font-size: 12px; grid-row: 1; }
    .artist-list__name { font-size: 18px; grid-row: 1; }
    .artist-list__desc { font-size: 13px; grid-column: 1 / -1; }

    /* Excellence strip — lines hidden, h2 shrinks */
    .excellence-strip__line { display: none; }
    .excellence-strip h2 { font-size: 32px; }
}

@media screen and (max-width: 480px) {
    .hero { padding: 2.5rem 0 2rem; }
    .hero__title { font-size: 42px; }
    .hero__date { font-size: 18px; }
    .hero__sub { font-size: 13px; }
    .countdown-unit__num { font-size: 32px; }
    .countdown-unit__label { font-size: 10px; }
    .programme-card__body { padding: 1.25rem; }
    .programme-card__title { font-size: 18px; }
    .programme-section__header h2,
    .artists-teaser__header h2 { font-size: 22px; }
    .excellence-strip h2 { font-size: 24px; }
}
