/* ============================================================
   RB RUSH
   Rayside-Balfour Minor Hockey Association
   ============================================================ */

:root {
    --rush-navy: #002f49;
    --rush-navy-dark: #001e31;
    --rush-navy-black: #001522;

    --rush-red: #d81f29;
    --rush-red-dark: #ad151e;

    --rush-white: #ffffff;
    --rush-ice: #f3f6f8;
    --rush-grey: #9ca9b1;
    --rush-border: rgba(255, 255, 255, 0.12);

    --page-width: 1380px;

    --transition: 180ms ease;

    --shadow:
        0 18px 60px rgba(0, 0, 0, 0.22);
}


/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        "Helvetica Neue",
        Arial,
        sans-serif;

    color: var(--rush-navy-dark);
    background: var(--rush-white);

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.container {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
}


/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */

.announcement {
    background: var(--rush-red);
    color: var(--rush-white);

    text-align: center;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    padding: 9px 20px;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--rush-navy-dark);
    color: var(--rush-white);

    border-bottom: 1px solid rgba(255,255,255,.08);

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.header-inner {
    min-height: 82px;

    display: grid;
    grid-template-columns: 250px 1fr 250px;
    align-items: center;
    gap: 30px;
}

.header-brand img {
    width: 180px;
    max-height: 76px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
}

.main-nav a {
    position: relative;

    color: var(--rush-white);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .12em;
    text-transform: uppercase;

    padding: 29px 0;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: 23px;

    height: 3px;

    background: var(--rush-red);

    transition: right var(--transition);
}

.main-nav a:hover::after {
    right: 0;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.cart-count {
    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--rush-red);
    color: var(--rush-white);

    font-size: 11px;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;
    color: white;

    font-size: 25px;
    cursor: pointer;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;

    min-height: 0px;

    display: flex;
    align-items: flex-start;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 40%,
            rgba(216,31,41,.18),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            #001725 0%,
            #002f49 55%,
            #001b2c 100%
        );

    color: var(--rush-white);
}

.hero::before {
    content: "";

    position: absolute;

    width: 760px;
    height: 760px;

    right: -170px;
    top: -200px;

    border: 90px solid rgba(255,255,255,.025);

    transform: rotate(32deg);
}

.hero::after {
    content: "";

    position: absolute;

    width: 820px;
    height: 8px;

    right: -150px;
    bottom: 170px;

    background: var(--rush-red);

    transform: rotate(-14deg);
    opacity: .8;
}

.hero-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 70px;

    padding-top: 25px;
    padding-bottom: 25px;
}
.hero-eyebrow {
    color: var(--rush-red);

    font-size: 13px;
    font-weight: 1000;

    letter-spacing: .22em;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;

    max-width: 700px;

    font-size: clamp(62px, 7vw, 105px);
    line-height: .82;

    font-weight: 1000;
    font-style: italic;

    letter-spacing: -.055em;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--rush-red);
}

.hero-copy {
    max-width: 620px;

    margin: 22px 0 26px;

    color: rgba(255,255,255,.8);

    font-size: 19px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 30px;

    border: 2px solid transparent;

    font-size: 12px;
    font-weight: 1000;

    letter-spacing: .14em;
    text-transform: uppercase;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--rush-red);
    color: var(--rush-white);
}

.btn-primary:hover {
    background: #ee2733;
}

.btn-outline {
    border-color: rgba(255,255,255,.65);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--rush-navy);
}

.hero-mark {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mark img {
    width: min(100%, 560px);

    filter:
        drop-shadow(0 30px 40px rgba(0,0,0,.35));

    transform: rotate(-2deg);
}


/* ============================================================
   IDENTITY STRIP
   ============================================================ */

.identity-strip {
    background: var(--rush-red);
    color: white;

    overflow: hidden;
}

.identity-inner {
    min-height: 78px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 26px;

    text-align: center;

    font-size: clamp(16px, 2vw, 24px);
    font-weight: 1000;
    font-style: italic;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.identity-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    transform: rotate(45deg);

    background: white;
}


/* ============================================================
   SECTION BASICS
   ============================================================ */

.section {
    padding: 100px 0;
}

.section-kicker {
    color: var(--rush-red);

    font-size: 12px;
    font-weight: 1000;

    letter-spacing: .22em;
    text-transform: uppercase;

    margin-bottom: 10px;
}

.section-title {
    margin: 0;

    color: var(--rush-navy);

    font-size: clamp(40px, 5vw, 68px);
    line-height: .95;

    font-weight: 1000;
    font-style: italic;

    letter-spacing: -.035em;
    text-transform: uppercase;
}

.section-lead {
    max-width: 700px;

    color: #52626c;

    font-size: 17px;
    line-height: 1.7;
}


/* ============================================================
   COLLECTION
   ============================================================ */

.collection-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.text-link {
    color: var(--rush-navy);

    font-size: 12px;
    font-weight: 1000;

    letter-spacing: .12em;
    text-transform: uppercase;

    border-bottom: 3px solid var(--rush-red);

    padding-bottom: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.product-card {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #edf1f3,
            #dce3e7
        );

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-placeholder {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    color: rgba(0,47,73,.09);

    font-size: 70px;
    font-weight: 1000;
    font-style: italic;

    letter-spacing: -.06em;
}

.product-info {
    position: relative;
    z-index: 2;

    width: 100%;

    padding: 28px;

    background:
        linear-gradient(
            transparent,
            rgba(0,30,49,.94)
        );

    color: white;
}

.product-category {
    color: #ff4b54;

    font-size: 10px;
    font-weight: 1000;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.product-name {
    margin: 7px 0 0;

    font-size: 23px;
    font-weight: 1000;

    text-transform: uppercase;
}


/* ============================================================
   STORY
   ============================================================ */

.story {
    position: relative;

    overflow: hidden;

    background: var(--rush-navy);
    color: white;
}

.story::after {
    content: "RUSH";

    position: absolute;

    right: -30px;
    bottom: -80px;

    color: rgba(255,255,255,.025);

    font-size: 300px;
    font-weight: 1000;
    font-style: italic;

    line-height: 1;
}

.story-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .8fr 1.2fr;

    gap: 100px;
    align-items: center;
}

.story-number {
    color: var(--rush-red);

    font-size: clamp(120px, 18vw, 250px);
    line-height: .7;

    font-weight: 1000;
    font-style: italic;

    letter-spacing: -.08em;
}

.story .section-title {
    color: white;
}

.story-copy {
    color: rgba(255,255,255,.74);

    font-size: 18px;
    line-height: 1.75;
}

.story-copy strong {
    color: white;
}


/* ============================================================
   AUDIENCE
   ============================================================ */

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 24px;
}

.audience-card {
    position: relative;

    min-height: 370px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 45px;

    overflow: hidden;

    background: var(--rush-navy);
    color: white;
}

.audience-card:nth-child(2) {
    background: var(--rush-red);
}

.audience-card::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -100px;
    top: -120px;

    border: 55px solid rgba(255,255,255,.06);

    transform: rotate(30deg);
}

.audience-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 10px;

    font-size: 46px;
    font-weight: 1000;
    font-style: italic;

    text-transform: uppercase;
}

.audience-card p {
    position: relative;
    z-index: 2;

    max-width: 480px;

    margin: 0 0 25px;

    color: rgba(255,255,255,.76);

    line-height: 1.6;
}

.audience-card .text-link {
    position: relative;
    z-index: 2;

    width: max-content;

    color: white;
    border-color: white;
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {
    padding: 85px 0;

    text-align: center;

    background: var(--rush-ice);
}

.final-cta h2 {
    margin: 0;

    color: var(--rush-navy);

    font-size: clamp(44px, 7vw, 88px);
    line-height: .9;

    font-weight: 1000;
    font-style: italic;

    letter-spacing: -.04em;
    text-transform: uppercase;
}

.final-cta h2 span {
    color: var(--rush-red);
}

.final-cta p {
    margin: 22px auto 32px;

    color: #596871;

    font-size: 17px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 70px 0 25px;

    background: var(--rush-navy-dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;

    gap: 70px;

    padding-bottom: 55px;
}

.footer-logo {
    width: 210px;

    margin-bottom: 22px;
}

.footer-description {
    max-width: 470px;

    color: rgba(255,255,255,.6);

    line-height: 1.7;
}

.footer-heading {
    margin: 0 0 20px;

    color: white;

    font-size: 12px;
    font-weight: 1000;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,.64);

    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding-top: 24px;

    border-top: 1px solid var(--rush-border);

    color: rgba(255,255,255,.45);

    font-size: 11px;

    letter-spacing: .06em;
    text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        gap: 14px;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-block: 75px;
    }

    .hero-mark {
        max-width: 600px;
        margin-inline: auto;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .story-number {
        font-size: 130px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 680px) {

    .container {
        width: min(calc(100% - 28px), var(--page-width));
    }

    .announcement {
        font-size: 9px;
    }

    .header-inner {
        min-height: 75px;
    }

    .header-brand img {
        width: 145px;
    }

    .cart-link > span:first-child {
        display: none;
    }

    .hero-inner {
        padding-block: 55px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .identity-inner {
        gap: 12px;

        font-size: 12px;
    }

    .section {
        padding: 70px 0;
    }

    .collection-header {
        display: block;
    }

    .collection-header .text-link {
        display: inline-block;
        margin-top: 22px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 390px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        min-height: 320px;
        padding: 30px;
    }

    .audience-card h3 {
        font-size: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        display: grid;
    }
}