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

:root {
    --bg: #f4f4f0;
    --white: #ffffff;
    --black: #08090b;
    --muted: #6a6d72;

    --blue: #1267ff;
    --blue-dark: #084dcc;

    --border: rgba(8, 9, 11, 0.15);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    max-width: 100%;
    overflow-x: hidden;

    background: var(--bg);
    color: var(--black);

    font-family: Arial, Helvetica, sans-serif;
}


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


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


.ath-container {
    width: min(1280px, calc(100% - 56px));
    margin-inline: auto;
}



/* ================================
   NAV
================================ */

.ath-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background: rgba(244, 244, 240, 0.72);

    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);

    border-bottom: 1px solid rgba(8, 9, 11, 0.08);
}


.ath-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 58px;
}


.ath-logo {
    font-size: 20px;
    font-weight: 900;

    letter-spacing: -1px;
}


.ath-nav-links {
    display: flex;
    align-items: center;

    gap: 30px;
}


.ath-nav-links a {
    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.ath-nav-links a:hover {
    color: var(--blue);
}


.cs-link {
    color: var(--blue);
}

main {
    padding-top: 58px;
}

#career,
#stats,
#contact {
    scroll-margin-top: 80px;
}

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

.ath-hero {
    min-height: calc(100vh - 75px);

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(430px, 1.05fr);

    align-items: center;

    gap: 65px;

    padding-block: 45px 65px;
}



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

.ath-hero-text {
    position: relative;
    z-index: 2;
}


.ath-eyebrow {
    margin-bottom: 25px;

    color: var(--blue);

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

    letter-spacing: 2.5px;
}


.ath-hero h1 {
    font-size: clamp(72px, 8.5vw, 132px);

    line-height: 0.8;

    letter-spacing: -7px;

    font-weight: 900;

    text-transform: uppercase;
}


.ath-hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 2px var(--black);
}


.ath-role {
    margin-top: 34px;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.ath-description {
    max-width: 510px;

    margin-top: 15px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.65;
}



/* ================================
   BUTTONS
================================ */

.ath-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.ath-primary,
.ath-secondary {
    min-width: 150px;

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

    padding: 15px 25px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


.ath-primary {
    background: var(--black);
    color: white;
}


.ath-primary:hover {
    transform: translateY(-3px);
}


.ath-secondary {
    border: 1.5px solid var(--black);

    color: var(--black);

    gap: 6px;
}


.ath-secondary:hover {
    background: var(--black);
    color: white;

    transform: translateY(-3px);
}



/* ================================
   PHOTO
================================ */

.ath-hero-image {
    min-width: 0;

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


.ath-photo {
    position: relative;

    width: min(580px, 100%);
    height: 680px;

    overflow: hidden;

    background: var(--blue);
}


.ath-photo-bg {
    position: absolute;

    top: 10px;
    right: -20px;

    color: rgba(255, 255, 255, 0.14);

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

    letter-spacing: -20px;
}


.ath-photo::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.62),
            transparent 38%
        );

    pointer-events: none;
}


.ath-photo img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}


.ath-photo-info {
    position: absolute;

    z-index: 5;

    left: 28px;
    right: 28px;
    bottom: 26px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    color: white;
}


.ath-photo-info span,
.ath-photo-info strong {
    font-size: 13px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

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

.career-section {
    padding: 120px 0;

    background: var(--bg);
    color: var(--black);
}


.career-heading {
    margin-bottom: 80px;
}


.career-heading > p {
    margin-bottom: 12px;

    color: var(--blue);

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

    letter-spacing: 2.5px;
}


.career-heading h2 {
    font-size: clamp(48px, 7vw, 88px);

    line-height: 0.95;
    letter-spacing: -5px;

    text-transform: uppercase;
}


/* STORY LINE */

.career-story {
    position: relative;

    max-width: 1000px;

    margin-inline: auto;
}


.career-story::before {
    content: "";

    position: absolute;

    top: 10px;
    bottom: 10px;
    left: 31px;

    width: 1px;

    background: var(--border);
}


/* CHAPTER */

.career-chapter {
    position: relative;

    display: grid;

    grid-template-columns: 64px minmax(0, 1fr);

    gap: 38px;

    padding-bottom: 75px;
}


.career-chapter:last-child {
    padding-bottom: 0;
}


/* NUMBER */

.career-marker {
    position: relative;

    z-index: 2;

    width: 64px;
    height: 64px;

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

    background: var(--bg);

    border: 1px solid var(--border);
}


.career-marker span {
    color: var(--blue);

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

    letter-spacing: 1px;
}


/* CONTENT */

.career-story-content {
    max-width: 760px;

    padding-top: 5px;
}


.career-period {
    margin-bottom: 12px;

    color: var(--blue) !important;

    font-size: 11px !important;
    font-weight: 900;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.career-story-content h3 {
    margin-bottom: 22px;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1;

    letter-spacing: -2px;
}


.career-story-content > p {
    max-width: 720px;

    margin-bottom: 16px;

    color: var(--muted);

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


/* ST CHARLES ACHIEVEMENTS */

.career-achievements {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 25px;
}


.career-achievements span {
    padding: 9px 13px;

    border: 1px solid var(--black);

    color: var(--black);

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

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* CURRENT NIAGARA CHAPTER */

.career-current .career-marker {
    background: var(--blue);
    border-color: var(--blue);
}


.career-current .career-marker span {
    color: white;
}


.current-tag {
    display: inline-block;

    margin-top: 18px;

    padding: 10px 14px;

    background: var(--blue);
    color: white;

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

    letter-spacing: 1.5px;
}


/* MOBILE */

/* ================================
   CONTACT
================================ */

.ath-contact {
    padding: 120px 0;

    background: var(--blue);
    color: white;
}


.ath-contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}


.ath-contact-label {
    margin-bottom: 18px;

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

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.ath-contact h2 {
    max-width: 600px;

    font-size: clamp(54px, 7vw, 96px);

    line-height: 0.88;

    letter-spacing: -6px;

    text-transform: uppercase;
}


.ath-contact h2 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 2px white;
}


.ath-contact-description {
    max-width: 510px;

    margin-top: 30px;

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

    opacity: 0.82;
}


.ath-contact-actions {
    display: flex;
    flex-direction: column;

    border-top: 1px solid rgba(255, 255, 255, 0.3);
}


.ath-contact-card {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 26px 0;

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

    transition:
        padding-left 0.25s ease,
        opacity 0.25s ease;
}


.ath-contact-card:hover {
    padding-left: 10px;
}


.ath-contact-card div {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.ath-contact-card span {
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: 0.65;
}


.ath-contact-card strong {
    font-size: 20px;
    font-weight: 800;
}


.ath-contact-card .external-arrow {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* STATS */

.stats-section {
    padding: 110px 0;
    background: var(--black);
    color: white;
}


.stats-heading {
    margin-bottom: 50px;
}


.stats-heading > p {
    margin-bottom: 12px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}


.stats-heading h2 {
    font-size: clamp(42px, 6vw, 80px);
    line-height: 0.95;
    letter-spacing: -4px;

    text-transform: uppercase;
}


.stats-grid {
    display: grid;
    gap: 18px;
}


.season-card {
    padding: 32px;

    background: #111216;
    border: 1px solid rgba(255, 255, 255, 0.12);
}


.season-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding-bottom: 26px;
    margin-bottom: 26px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.season-identity {
    display: flex;
    align-items: center;
    gap: 18px;
}


.team-logo {
    width: 62px;
    height: 62px;

    object-fit: contain;
    flex-shrink: 0;
}


.competition-row {
    display: flex;
    align-items: center;
    gap: 8px;
}


.competition-logo {
    width: 30px;
    height: 30px;

    object-fit: contain;
}


.season-year {
    margin-bottom: 6px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;

    text-transform: uppercase;
}


.season-card h3 {
    font-size: 25px;
    font-weight: 800;
}


.competition {
    margin-top: 5px;

    color: #8f949d;

    font-size: 14px;
}


.live-tag {
    padding: 7px 10px;

    background: var(--blue);
    color: white;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


.season-stats {
    display: grid;

    grid-template-columns:
        repeat(8, minmax(70px, 1fr));

    gap: 12px;
}


.stat-box {
    padding: 18px 10px;

    background: #191a1f;

    text-align: center;
}


.stat-box strong {
    display: block;

    font-size: 28px;
    font-weight: 900;
}


.stat-box span {
    display: block;

    margin-top: 5px;

    color: #8f949d;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* stats after endpoints created */

.live-info {
    margin-top: 28px;
}


.sync-note {
    margin-bottom: 18px;

    color: #70757d;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}


.next-match {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 25px;

    background: var(--blue);
}


.next-label {
    margin-bottom: 7px;

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

    letter-spacing: 2px;
}


.next-match h4 {
    font-size: 24px;
    font-weight: 900;

    text-transform: uppercase;
}


.next-details {
    margin-top: 6px;

    font-size: 12px;

    opacity: 0.8;
}


.countdown {
    display: flex;

    gap: 24px;
}


.countdown div {
    min-width: 55px;

    text-align: center;
}


.countdown strong {
    display: block;

    font-size: 26px;
    font-weight: 900;
}


.countdown span {
    display: block;

    margin-top: 3px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}


.match-live {
    font-size: 15px;
    font-weight: 900;

    letter-spacing: 1px;
}




/* FOOTER */

.ath-footer {
    position: relative;

    padding: 90px 0 35px;

    background: var(--black);
    color: white;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.ath-footer::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 50%;

    width: min(420px, 60%);
    height: 2px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        var(--blue),
        transparent
    );
}


.ath-footer-container {
    display: flex;
    flex-direction: column;

    gap: 70px;
}


.ath-footer-top {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;
}


.ath-footer-brand {
    max-width: 520px;
}


.ath-footer-logo {
    display: inline-block;

    margin-bottom: 20px;

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

    letter-spacing: -2px;
}


.ath-footer-brand p {
    max-width: 500px;

    color: #8f949d;

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


.ath-footer-navigation {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 60px;
}


.ath-footer-navigation div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 14px;
}


.ath-footer-navigation span {
    margin-bottom: 5px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.ath-footer-navigation a {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #d7d9dd;

    font-size: 15px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.ath-footer-navigation a:hover {
    color: var(--blue);

    transform: translateX(3px);
}


.ath-footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.ath-footer-bottom p,
.ath-back-to-top {
    color: #70757d;

    font-size: 13px;
}


.ath-back-to-top {
    transition: color 0.2s ease;
}


.ath-back-to-top:hover {
    color: var(--blue);
}

.external-arrow {
    width: 14px;
    height: 14px;

    flex-shrink: 0;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* new media fix */


@media (max-width: 650px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* ================================
       CONTAINER
    ================================ */

    .ath-container {
        width: calc(100% - 32px);
        max-width: 100%;
        margin-inline: auto;
    }


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

    .ath-header nav {
        min-height: 64px;
        gap: 14px;
    }

    .ath-logo {
        flex-shrink: 0;
        line-height: 1;
    }

    .ath-nav-links {
        margin-left: auto;

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

        gap: 10px;

        min-width: 0;
    }

    .ath-nav-links a {
        display: inline-flex;
        align-items: center;

        gap: 4px;

        font-size: 11px;
        line-height: 1;

        white-space: nowrap;
    }

    .cs-link {
        color: var(--blue);
    }

    .external-arrow {
        width: 11px;
        height: 11px;
    }


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

    .ath-hero {
        min-height: auto;

        grid-template-columns: 1fr;

        padding-top: 110px;
        padding-bottom: 50px;

        gap: 40px;
    }

    .ath-hero-text {
        width: 100%;
        text-align: center;
    }

    .ath-eyebrow {
        margin-bottom: 25px;
    }

    .ath-hero h1 {
        width: 100%;

        font-size: clamp(58px, 18vw, 88px);
        line-height: 0.82;
        letter-spacing: -5px;

        text-align: center;
    }

    .ath-hero h1 span {
        -webkit-text-stroke-width: 1.5px;
    }

    .ath-role {
        margin-top: 28px;
    }

    .ath-description {
        width: 100%;
        max-width: 520px;

        margin-left: auto;
        margin-right: auto;

        font-size: 16px;
    }


    /* HERO BUTTONS */

    .ath-actions {
        width: calc(100% - 48px);
        max-width: 420px;

        margin: 42px auto 0;

        display: flex;
        flex-direction: column;

        gap: 16px;
    }

    .ath-primary,
    .ath-secondary {
        width: 100%;

        min-height: 56px;

        padding: 15px 22px;
    }


    /* HERO PHOTO */

    .ath-hero-image {
        margin-top: 20px;
    }

    .ath-photo {
        width: 100%;
        max-width: 100%;

        height: 520px;
    }

    .ath-photo-bg {
        font-size: 150px;
    }

    .ath-photo-info {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }


    /* ================================
       STATS
    ================================ */

    .stats-section {
        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }

    .stats-grid {
        width: 100%;
        max-width: 100%;
    }

    .season-card {
        width: 100%;
        max-width: 100%;

        padding: 22px 16px;
    }

    .season-stats {
        width: 100%;

        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stat-box {
        min-width: 0;
    }

    .next-match {
        width: 100%;

        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .countdown {
        width: 100%;

        justify-content: space-between;

        gap: 8px;
    }

    .countdown div {
        min-width: 0;
        flex: 1;
    }

    .countdown strong {
        font-size: 22px;
    }


    /* ================================
       CAREER
    ================================ */

    .career-section {
        padding: 80px 0;

        overflow: hidden;
    }

    .career-heading {
        margin-bottom: 55px;
    }

    .career-story {
        width: 100%;
        max-width: 100%;
    }

    .career-story::before {
        left: 23px;
    }

    .career-chapter {
        width: 100%;

        grid-template-columns: 48px minmax(0, 1fr);

        gap: 20px;

        padding-bottom: 60px;
    }

    .career-marker {
        width: 48px;
        height: 48px;
    }

    .career-story-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        padding-top: 1px;
    }

    .career-story-content h3 {
        max-width: 100%;

        font-size: 30px;

        letter-spacing: -1.5px;
    }

    .career-story-content > p {
        max-width: 100%;

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

    .career-achievements {
        gap: 7px;
    }

    .career-achievements span {
        padding: 7px 9px;

        font-size: 9px;
    }


    /* ================================
       CONTACT
    ================================ */

    .ath-contact {
        width: 100%;

        padding: 80px 0;

        overflow: hidden;
    }

    .ath-contact-grid {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 55px;
    }

    .ath-contact-text {
        width: 100%;
        min-width: 0;
    }

    .ath-contact h2 {
        width: 100%;

        font-size: clamp(48px, 15vw, 64px);

        line-height: 0.9;
        letter-spacing: -3px;
    }

    .ath-contact-description {
        width: 100%;
        max-width: 100%;

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

    .ath-contact-actions {
        width: 100%;
        min-width: 0;
    }

    .ath-contact-card {
        width: 100%;
        min-width: 0;

        padding: 24px 0;
    }

    .ath-contact-card div {
        min-width: 0;

        max-width: calc(100% - 45px);
    }

    .ath-contact-card strong {
        max-width: 100%;

        font-size: 17px;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


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

    .ath-footer {
        width: 100%;

        padding: 70px 0 30px;

        overflow: hidden;
    }

    .ath-footer-container {
        gap: 50px;
    }

    .ath-footer-top {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 45px;
    }

    .ath-footer-brand {
        max-width: 100%;
    }

    .ath-footer-logo {
        font-size: 40px;
    }

    .ath-footer-brand p {
        font-size: 16px;
        line-height: 1.7;
    }

    .ath-footer-navigation {
        width: 100%;

        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .ath-footer-bottom {
        width: 100%;

        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

}
/* STATS MOBILE */

@media (min-width: 651px) and (max-width: 850px) {

    .season-stats {
        grid-template-columns: repeat(4, 1fr);
    }

}


@media (max-width: 500px) {

    .stats-section {
        padding: 75px 0;
    }

    .season-card {
        padding: 22px 16px;
    }

    .season-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-box strong {
        font-size: 23px;
    }

    .team-logo {
        width: 50px;
        height: 50px;
    }

    .competition-logo {
        width: 26px;
        height: 26px;
    }

    .season-identity {
        gap: 12px;
    }

}



/* ================================
   TABLET
================================ */

@media (min-width: 651px) and (max-width: 950px) {

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

        gap: 45px;

        padding-top: 80px;
    }


    .ath-hero-text {
        text-align: center;
    }


    .ath-description {
        margin-inline: auto;
    }


    .ath-actions {
        justify-content: center;
    }


    .ath-photo {
        height: 620px;
    }

}
    