/* Contest promotion — the front-page strip/band and the /backtoschool page.
 *
 * Built from the existing Constructivist vocabulary in style.css: solid maroon
 * fields, zero radius, hard offset shadows (no blur), hazard stripes and thick
 * structural borders. Everything here reuses the shared tokens, so a change to
 * --brand or --structure carries through.
 */

/* ---------------------------------------------------------------------------
 * Top strip — sits above the hero so the contest is visible without scrolling.
 * ------------------------------------------------------------------------- */
.promo-strip {
    background: var(--structure);
    color: #f4f1ea;
    border-bottom: var(--border-heavy) solid var(--brand);
}

/* The whole bar is the link. It reads as one clickable banner, so having only
   the small right-hand text respond left most clicks doing nothing. */
.promo-strip__inner {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    padding: var(--sp-3) var(--sp-4);
    text-align: center;
}

.promo-strip__flag {
    display: inline-block;
    background: var(--brand);
    color: #f4f1ea;
    font-size: var(--fs-75);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: var(--sp-1) var(--sp-3);
}

.promo-strip__text {
    font-weight: 700;
    font-size: var(--fs-100);
}

.promo-strip__link {
    color: #f4f1ea;
    font-weight: 700;
    text-underline-offset: 3px;
}

/* Hovering anywhere on the bar lights the call to action, so the whole strip
   reads as one target. */
.promo-strip__inner:hover,
.promo-strip__inner:focus-visible {
    background: var(--brand-darker);
    color: #f4f1ea;
}

.promo-strip__inner:hover .promo-strip__link,
.promo-strip__inner:focus-visible .promo-strip__link {
    color: var(--rose);
    text-decoration: underline;
}

.promo-strip__link {
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
 * Homepage band — the big, unmissable block.
 * ------------------------------------------------------------------------- */
.promo-band {
    background: var(--brand);
    color: #f4f1ea;
    border-top: var(--border-bold) solid var(--structure);
    border-bottom: var(--border-bold) solid var(--structure);
    padding: var(--sp-12) 0;
    position: relative;
}

.promo-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--sp-10);
    align-items: center;
}

.promo-band__eyebrow {
    color: #f4f1ea;
}

/* The eyebrow's leading square is maroon by default, which vanishes on the
   maroon field — flip it to cream. */
.promo-band__eyebrow.con-eyebrow::before {
    background: #f4f1ea;
}

.promo-band__title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: var(--sp-3) 0 var(--sp-2);
    text-transform: uppercase;
}

.promo-band__tagline {
    font-size: var(--fs-125);
    font-weight: 700;
    margin-bottom: var(--sp-4);
}

.promo-band__summary {
    font-size: var(--fs-100);
    max-width: 60ch;
    margin-bottom: var(--sp-6);
}

.promo-band__status {
    display: inline-block;
    background: #f4f1ea;
    color: var(--brand-darker);
    font-size: var(--fs-75);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: var(--sp-2) var(--sp-4);
    box-shadow: var(--shadow-hard);
    margin-bottom: var(--sp-5);
}

/* CTAs -------------------------------------------------------------------- */
.promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    align-items: center;
}

.promo-btn {
    display: inline-block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--sp-4) var(--sp-8);
    border: var(--border-thick) solid var(--structure);
    box-shadow: var(--shadow-hard);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.promo-btn--solid {
    background: #f4f1ea;
    color: var(--brand-darker);
}

.promo-btn--outline {
    background: transparent;
    color: #f4f1ea;
    border-color: #f4f1ea;
    box-shadow: 4px 4px 0 rgba(28, 26, 23, 0.55);
}

.promo-btn:hover,
.promo-btn:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--structure);
}

.promo-btn--solid:hover,
.promo-btn--solid:focus-visible {
    color: var(--brand-darker);
}

.promo-btn--outline:hover,
.promo-btn--outline:focus-visible {
    color: #f4f1ea;
    box-shadow: 6px 6px 0 rgba(28, 26, 23, 0.55);
}

.promo-note {
    font-size: var(--fs-875);
    margin-top: var(--sp-4);
    opacity: 0.9;
}

/* Fact card sitting beside the copy ---------------------------------------- */
.promo-facts {
    background: #f4f1ea;
    color: var(--structure);
    border: var(--border-heavy) solid var(--structure);
    box-shadow: var(--shadow-e3);
    padding: var(--sp-6);
}

.promo-facts__title {
    font-size: var(--fs-75);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand);
    margin-bottom: var(--sp-4);
}

.promo-facts__row {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-3) 0;
    border-bottom: var(--border-thin) solid var(--structure-2);
}

.promo-facts__row:last-child {
    border-bottom: 0;
}

.promo-facts__label {
    font-size: var(--fs-875);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.promo-facts__value {
    font-size: var(--fs-875);
    font-weight: 700;
    text-align: right;
}

/* A value still reading TBA is dimmed so it reads as "not decided yet". */
.promo-facts__value--tba {
    opacity: 0.55;
    font-style: italic;
}

/* Countdown ---------------------------------------------------------------- */
.promo-countdown {
    display: flex;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
    flex-wrap: wrap;
}

.promo-countdown__cell {
    background: var(--brand-darker);
    border: var(--border-thin) solid #f4f1ea;
    padding: var(--sp-2) var(--sp-4);
    min-width: 68px;
    text-align: center;
}

.promo-countdown__num {
    display: block;
    font-size: var(--fs-150);
    font-weight: 800;
    line-height: 1.1;
}

.promo-countdown__unit {
    display: block;
    font-size: var(--fs-75);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* ---------------------------------------------------------------------------
 * /backtoschool page
 * ------------------------------------------------------------------------- */
.btsp-hero {
    background: var(--brand);
    color: #f4f1ea;
    border: var(--border-bold) solid var(--structure);
    box-shadow: var(--shadow-e3);
    padding: var(--sp-10) var(--sp-8);
    margin-bottom: var(--sp-10);
}

.btsp-section {
    margin-bottom: var(--sp-12);
}

.btsp-section__title {
    font-size: var(--fs-200);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-2);
}

.btsp-section__rule {
    height: 6px;
    background: var(--brand);
    width: 96px;
    margin-bottom: var(--sp-6);
}

.btsp-lead {
    font-size: var(--fs-1125);
    max-width: 70ch;
}

/* Numbered registration steps */
.btsp-steps {
    display: grid;
    gap: var(--sp-5);
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: btsp-step;
}

.btsp-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--sp-5);
    align-items: start;
    border: var(--border-thick) solid var(--structure);
    box-shadow: var(--shadow-e1);
    padding: var(--sp-5);
    background: var(--rose-50);
}

.btsp-step__num {
    counter-increment: btsp-step;
    background: var(--brand);
    color: #f4f1ea;
    font-size: var(--fs-150);
    font-weight: 800;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btsp-step__num::before {
    content: counter(btsp-step);
}

.btsp-step__title {
    font-size: var(--fs-125);
    font-weight: 800;
    margin-bottom: var(--sp-2);
}

.btsp-step__detail {
    margin: 0;
}

/* Schedule rail */
.btsp-schedule {
    border-left: var(--border-bold) solid var(--brand);
    padding-left: var(--sp-6);
    display: grid;
    gap: var(--sp-5);
}

.btsp-schedule__label {
    font-size: var(--fs-75);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand);
}

.btsp-schedule__detail {
    font-size: var(--fs-1125);
    font-weight: 700;
    margin: 0;
}

/* FAQ */
.btsp-faq {
    display: grid;
    gap: var(--sp-5);
}

.btsp-faq__q {
    font-size: var(--fs-125);
    font-weight: 800;
    margin-bottom: var(--sp-2);
}

.btsp-faq__a {
    margin: 0;
    max-width: 70ch;
}

/* ---------------------------------------------------------------------------
 * Registration form
 * ------------------------------------------------------------------------- */
.reg-form {
    display: grid;
    gap: var(--sp-5);
    max-width: 46rem;
}

.reg-field {
    display: block;
}

.reg-field__label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fs-875);
    margin-bottom: var(--sp-2);
}

.reg-field__label b {
    color: var(--brand);
}

.reg-field__hint {
    display: block;
    margin-top: var(--sp-2);
    font-size: var(--fs-875);
    color: var(--text-muted);
}

.reg-field .form-control {
    border: var(--border-thick) solid var(--structure);
    box-shadow: var(--shadow-e1);
}

.reg-field .form-control:focus {
    border-color: var(--brand);
    box-shadow: var(--shadow-hard-brand);
}

/* The outline button is cream-on-maroon for the band; on the admin page's light
   background it needs the ink colours inverted. */
.promo-btn--ink {
    background: transparent;
    color: var(--structure);
    border-color: var(--structure);
    box-shadow: var(--shadow-hard);
}

.promo-btn--ink:hover,
.promo-btn--ink:focus-visible {
    background: var(--brand);
    color: #f4f1ea;
    border-color: var(--structure);
}

/* Separator between the two ways onto a team. */
.reg-or {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin: var(--sp-5) 0;
    color: var(--text-muted);
    font-size: var(--fs-875);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.reg-or::before,
.reg-or::after {
    content: "";
    flex: 1 1 auto;
    height: var(--border-thin);
    background: var(--structure-2);
}

.reg-submit {
    justify-self: start;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .promo-band__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-8);
    }
}

@media (max-width: 575.98px) {
    /* The strip stacks to three lines here; tighten the gap so it stays a banner
       rather than a block that pushes the hero off-screen. */
    .promo-strip__inner {
        gap: var(--sp-2);
        padding: var(--sp-2) var(--sp-3);
    }

    .promo-strip__text {
        font-size: var(--fs-875);
    }

    .promo-strip__link {
        font-size: var(--fs-875);
    }

    .promo-band {
        padding: var(--sp-8) 0;
    }

    .promo-btn {
        padding: var(--sp-3) var(--sp-5);
        width: 100%;
        text-align: center;
    }

    .promo-actions {
        gap: var(--sp-3);
    }

    .btsp-hero {
        padding: var(--sp-6) var(--sp-5);
    }

    .btsp-step {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-3);
    }
}

/* Hover lift is a pointer affordance; keep focus styles but drop the motion. */
@media (prefers-reduced-motion: reduce) {
    .promo-btn {
        transition: none;
    }

    .promo-btn:hover,
    .promo-btn:focus-visible {
        transform: none;
    }
}
