:root {
    --green: #102f5e;
    --green-2: #1f5fa8;
    --ink: #101a2b;
    --cream: #f3f5f8;
    --white: #fff;
    --red: #c51f32;
    --muted: #637083
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Inter", sans-serif;
    line-height: 1.65
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 1rem;
    padding: .7rem 1rem;
    background: #fff;
    color: #000;
    transform: translateY(-120%)
}

.skip-link:focus {
    transform: none
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f2c14e;
    outline-offset: 3px
}

.site-header {
    background: rgba(11, 36, 72, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px)
}

.navbar {
    min-height: 88px
}

.navbar-brand {
    padding: 0
}

.navbar-brand img {
    width: 82px;
    height: 62px;
    object-fit: cover;
    border-radius: 2px
}

.nav-link {
    margin: 0 .65rem;
    color: rgba(255, 255, 255, .82) !important;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.nav-link:hover {
    color: #fff !important
}

.btn {
    border-radius: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase
}

.btn-nav {
    padding: .7rem 1.25rem;
    background: #fff;
    color: var(--green)
}

.navbar-toggler {
    border: 0;
    padding: .5rem
}

.navbar-toggler span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px;
    background: #fff
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 75% 45%, rgba(25, 124, 91, .4), transparent 28%), linear-gradient(120deg, #021d17 0%, #063f31 60%, #092d24 100%)
}

.hero:before {
    content: "TRIAD";
    position: absolute;
    right: -2vw;
    top: 49%;
    transform: translateY(-50%);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
    font: 900 24vw/1 "Barlow Condensed", sans-serif
}

.hero-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(105deg, transparent 0, transparent 110px, rgba(255, 255, 255, .025) 111px, transparent 112px)
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 190px;
    padding-bottom: 145px
}

.eyebrow,
.section-label {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1rem;
    font: 700 .82rem/1 "Inter", sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green-2)
}

.eyebrow {
    color: #badbcc
}

.eyebrow span,
.section-label:before {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    background: currentColor
}

.hero h1,
.section h2,
.practice-card h2,
.cta-section h2 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    line-height: .84;
    text-transform: uppercase;
    letter-spacing: -.035em
}

.hero h1 {
    font-size: clamp(5rem, 10vw, 9rem)
}

.hero h1 em {
    font-style: italic
}

.hero h1 em:after {
    content: "";
    display: inline-block;
    width: .6em;
    height: .09em;
    margin-left: .06em;
    background: var(--red);
    vertical-align: .18em
}

.hero-lead {
    max-width: 650px;
    margin: 2rem 0 2.2rem;
    color: #d8e2de;
    font-size: 1.12rem
}

.btn-primary-rugby,
.btn-white,
.btn-ghost {
    padding: 1rem 1.6rem
}

.btn-primary-rugby {
    background: var(--red);
    border-color: var(--red);
    color: #fff
}

.btn-primary-rugby:hover {
    background: #c32b39;
    border-color: #c32b39;
    color: #fff;
    transform: translateY(-2px)
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff
}

.btn-ghost:hover {
    background: #fff;
    color: var(--green)
}

.btn span,
.text-link span {
    display: inline-block;
    margin-left: .65rem
}

.hero-badge {
    position: relative;
    width: 350px;
    height: 350px;
    margin-left: auto;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, .25);
    transform: rotate(4deg)
}

.hero-badge:before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .1)
}

.hero-badge img {
    position: relative;
    width: 100%;
    height: 245px;
    object-fit: cover;
    filter: contrast(1.08)
}

.hero-badge p {
    position: relative;
    margin: 14px 0 0;
    text-align: center;
    font: 800 1rem "Barlow Condensed", sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase
}

.hero-strip {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    background: var(--red);
    transform: rotate(-1deg) scale(1.02)
}

.strip-track {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    white-space: nowrap;
    font: 800 1.2rem "Barlow Condensed", sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase
}

.strip-track i {
    font-style: normal;
    font-size: .65rem
}

.section {
    padding: 115px 0
}

.club-section {
    background: var(--cream)
}

.section h2 {
    font-size: clamp(3.8rem, 6vw, 6.4rem)
}

.section h2 span {
    color: var(--green)
}

.intro-copy {
    font-size: 1.25rem;
    font-weight: 600
}

.stats-grid {
    --bs-border-color: #c7c2b8
}

.stat {
    padding: 2.25rem
}

.stat strong {
    display: block;
    color: var(--green);
    font: 900 4rem/.9 "Barlow Condensed", sans-serif
}

.stat span {
    display: block;
    margin-top: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .09em
}

.practice-section {
    padding: 0 0 115px;
    background: var(--cream)
}

.practice-card {
    position: relative;
    overflow: hidden;
    padding: 70px;
    background: var(--green);
    color: #fff;
    box-shadow: 18px 18px 0 #d9d3c6
}

.practice-card h2 {
    font-size: 4.5rem
}

.practice-number {
    position: absolute;
    right: -15px;
    top: -75px;
    color: rgba(255, 255, 255, .045);
    font: 900 20rem/1 "Barlow Condensed", sans-serif
}

.section-label.light {
    color: #a8d3c4
}

.detail-block {
    border-left: 1px solid rgba(255, 255, 255, .22);
    padding-left: 2rem
}

.detail-icon {
    display: block;
    margin-bottom: .75rem;
    color: #9ccdbc;
    font-size: 2rem
}

.detail-block p {
    margin: 0 0 .35rem;
    color: #9ccdbc;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.detail-block strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.35rem;
    line-height: 1.3;
    text-transform: uppercase
}

.detail-block a {
    display: block;
    margin-top: 1rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-underline-offset: 4px
}

.rookie-section {
    background: #fff
}

.rookie-copy {
    max-width: 500px;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: var(--muted)
}

.text-link {
    color: var(--green);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration-color: var(--red);
    text-underline-offset: 7px
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #d7d9d6
}

.steps li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid #d7d9d6
}

.steps>li>span {
    color: var(--red);
    font: 800 1rem "Barlow Condensed", sans-serif
}

.steps h3 {
    margin: 0;
    font: 800 1.75rem "Barlow Condensed", sans-serif;
    text-transform: uppercase
}

.steps p {
    margin: .25rem 0 0;
    color: var(--muted)
}

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: var(--red);
    color: #fff
}

.cta-section:before,
.cta-section:after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border: 35px solid rgba(0, 0, 0, .08);
    transform: rotate(45deg)
}

.cta-section:before {
    left: -90px;
    top: -90px
}

.cta-section:after {
    right: -90px;
    bottom: -90px
}

.cta-section h2 {
    font-size: clamp(4rem, 8vw, 7rem)
}

.cta-section p:not(.section-label) {
    margin: 1.25rem 0 2rem;
    font-size: 1.1rem
}

.btn-white {
    position: relative;
    background: #fff;
    color: var(--red)
}

.btn-white:hover {
    background: var(--ink);
    color: #fff
}

.site-footer {
    padding: 45px 0 25px;
    background: #0c110e;
    color: #fff
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 1rem
}

.footer-main img {
    width: 70px;
    height: 54px;
    object-fit: cover
}

.footer-main strong,
.footer-main span {
    display: block
}

.footer-main strong {
    font: 800 1.5rem "Barlow Condensed", sans-serif;
    text-transform: uppercase
}

.footer-main span {
    color: #8f9992;
    font-size: .75rem
}

.footer-main>a {
    margin-left: auto;
    color: #fff;
    font-weight: 600
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #29302b;
    color: #78817b;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase
}

@media(max-width:991.98px) {
    .site-header {
        background: #052c23
    }

    .navbar-collapse {
        padding: 1rem 0 1.5rem
    }

    .nav-link {
        padding: .65rem 0
    }

    .btn-nav {
        margin-top: .5rem
    }

    .hero {
        min-height: 690px
    }

    .practice-card {
        padding: 50px 35px
    }

    .detail-block {
        border-left: 0
    }

    .hero h1 {
        font-size: clamp(4.5rem, 15vw, 7rem)
    }
}

@media(max-width:575.98px) {
    .navbar-brand img {
        width: 70px;
        height: 52px
    }

    .hero-content {
        padding-top: 155px
    }

    .hero h1 {
        font-size: 4.4rem
    }

    .hero-lead {
        font-size: 1rem
    }

    .strip-track {
        justify-content: flex-start;
        gap: 1.25rem
    }

    .section {
        padding: 80px 0
    }

    .section h2 {
        font-size: 3.5rem
    }

    .stat {
        padding: 1.5rem
    }

    .practice-section {
        padding-bottom: 85px
    }

    .practice-card {
        padding: 45px 25px;
        box-shadow: 10px 10px 0 #d9d3c6
    }

    .practice-card h2 {
        font-size: 3.5rem
    }

    .detail-block {
        padding-left: 12px
    }

    .footer-main {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .footer-main>a {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin-top: .5rem
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important
    }
}

/* Triad Dogs red, white, and blue identity */
.sponsors-section {
    background: var(--cream)
}

.sponsors-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem
}

.sponsors-heading>p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem
}

.sponsor-card {
    display: flex;
    min-width: 0;
    min-height: 230px;
    align-items: stretch;
    justify-content: center;
    background: #fff;
    border: 1px solid #cbd1d9;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 47, 94, .12)
}

.sponsor-link {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.75rem;
    color: var(--ink);
    text-decoration: none
}

.sponsor-link:focus-visible {
    outline-offset: -5px
}

.sponsor-card img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: contain
}

.sponsor-card .sponsor-logo-round {
    height: 135px
}

.sponsor-card h3 {
    margin: 1.25rem 0 0;
    font: 800 1.35rem "Barlow Condensed", sans-serif;
    text-transform: uppercase
}

.sponsor-card p {
    margin: .15rem 0 0;
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase
}

.sponsor-card p span {
    margin-left: .25rem;
    color: var(--red)
}

.sponsor-coming-soon {
    background: #e9edf3
}

.sponsor-wordmark {
    display: flex;
    width: 110px;
    height: 110px;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--green);
    color: var(--green);
    font: 900 3.25rem "Barlow Condensed", sans-serif
}

.sponsor-contact {
    margin: 2rem 0 0;
    text-align: center;
    color: var(--muted)
}

.sponsor-contact a {
    color: var(--green);
    font-weight: 700;
    text-underline-offset: 4px
}

.hero {
    background: radial-gradient(circle at 75% 45%, rgba(43, 103, 174, .5), transparent 30%), linear-gradient(120deg, #07162d 0%, #102f5e 60%, #081d3c 100%)
}

.eyebrow {
    color: #c7dcf5
}

.hero-lead {
    color: #e3edf8
}

.section-label.light,
.detail-icon,
.detail-block p {
    color: #b9d5f3
}

.site-footer {
    background: #071326
}

.footer-main span {
    color: #aab8ca
}

.footer-bottom {
    border-color: #263c5c;
    color: #8292a8
}

.social-section {
    padding: 70px 0;
    background: #0b1e3c;
    color: #fff;
    border-top: 7px solid var(--red)
}

.social-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem
}

.social-section h2 {
    margin: 0;
    font: 900 clamp(3.5rem, 7vw, 6rem)/.9 "Barlow Condensed", sans-serif;
    text-transform: uppercase
}

.social-actions {
    display: flex;
    gap: 1rem
}

.social-actions a {
    min-width: 155px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font: 800 1rem "Barlow Condensed", sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none
}

.social-actions a:hover {
    background: #fff;
    color: var(--green)
}

.social-actions span {
    float: right
}

@media(max-width:991.98px) {
    .site-header {
        background: #0b2448
    }
}

@media(max-width:767.98px) {
    .sponsors-heading {
        display: block
    }

    .sponsors-heading>p {
        margin-top: 1.5rem
    }

    .sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:575.98px) {
    .sponsor-grid {
        grid-template-columns: 1fr
    }

    .social-inner {
        display: block
    }

    .social-actions {
        margin-top: 2rem;
        flex-direction: column
    }
}

/* Match schedule */
.schedule-section {
    background: #fff
}

.schedule-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem
}

.home-pitch {
    padding-left: 1.5rem;
    border-left: 4px solid var(--red)
}

.home-pitch p {
    margin: 0 0 .35rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.home-pitch strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    line-height: 1.25;
    text-transform: uppercase
}

.home-pitch a {
    display: inline-block;
    margin-top: .5rem;
    color: var(--green);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-underline-offset: 4px
}

.schedule-poster {
    display: block;
    overflow: hidden;
    background: var(--green);
    box-shadow: 12px 12px 0 #dce2ea
}

.schedule-poster img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .25s ease
}

.schedule-poster:hover img {
    transform: scale(1.015)
}

.fixture-list {
    border-top: 1px solid #ccd3dd
}

.fixture {
    display: grid;
    grid-template-columns: 95px 1fr;
    align-items: center;
    min-height: 112px;
    border-bottom: 1px solid #ccd3dd
}

.fixture time {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--green);
    font: 900 2.5rem/1 "Barlow Condensed", sans-serif
}

.fixture time span {
    color: var(--red);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase
}

.fixture>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid #ccd3dd
}

.fixture h3 {
    margin: 0;
    font: 800 clamp(1.6rem, 3vw, 2.35rem)/1 "Barlow Condensed", sans-serif;
    text-align: right;
    text-transform: uppercase
}

.venue {
    padding: .35rem .65rem;
    background: var(--green);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase
}

.fixture.away .venue {
    background: #e7ebf1;
    color: var(--green)
}

@media(max-width:767.98px) {
    .schedule-heading {
        display: block
    }

    .home-pitch {
        margin-top: 1.5rem
    }
}

@media(max-width:575.98px) {
    .fixture {
        grid-template-columns: 75px 1fr
    }

    .fixture>div {
        padding-left: 1rem
    }

    .fixture h3 {
        font-size: 1.45rem
    }
}

/* Club photo carousel */
.photos-section {
    background: #0b1e3c;
    color: #fff
}

.photos-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem
}

.photos-heading h2 span {
    color: #b9d5f3
}

.photos-heading>a {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    text-underline-offset: 5px
}

.club-carousel {
    overflow: hidden;
    background: #071326;
    border: 1px solid rgba(255, 255, 255, .18)
}

.club-carousel .carousel-item img {
    display: block;
    width: 100%;
    height: clamp(360px, 60vw, 700px);
    object-fit: cover
}

.carousel-empty {
    display: flex;
    height: 420px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: repeating-linear-gradient(135deg, #102f5e 0, #102f5e 30px, #0e2a53 30px, #0e2a53 60px);
    text-align: center
}

.carousel-empty strong {
    font: 800 clamp(2rem, 5vw, 4rem) "Barlow Condensed", sans-serif;
    text-transform: uppercase
}

.carousel-empty span {
    color: #b9d5f3
}

.club-carousel .carousel-control-prev,
.club-carousel .carousel-control-next {
    width: 72px;
    background: rgba(7, 19, 38, .35)
}

@media(max-width:767.98px) {
    .photos-heading {
        display: block
    }

    .photos-heading>a {
        display: inline-block;
        margin-top: 1.25rem
    }

    .carousel-empty {
        height: 300px
    }
}
