/* ========================================
   Tuvalu Football Association
   Color palette: Tuvalu flag
   ======================================== */

:root {
    --sky-blue: #009FDB;
    --gold: #FFD100;
    --navy: #00247D;
    --navy-dark: #001a5c;
    --white: #ffffff;
    --sand-light: #FDF6EC;
    --sand: #F5E6CC;
    --text: #1a1a2e;
    --text-light: #555;
    --text-muted: #888;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 72px;
    --container-max: 1200px;
    --section-pad: 100px;
    --section-pad-mobile: 60px;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 36, 125, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 36, 125, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--sand-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: var(--nav-height);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav--solid {
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.nav__star {
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 1;
}

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

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--active {
    color: var(--gold);
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle--open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav__toggle--open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav__overlay--visible {
    display: block;
    opacity: 1;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--sky-blue) 0%, var(--navy) 60%, var(--navy-dark) 100%);
}

.hero__stars {
    position: absolute;
    inset: 0;
}

.hero__star {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes starPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    padding-top: var(--nav-height);
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 24px;
}

.hero__title-line {
    display: block;
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: 0.04em;
}

.hero__title-line--accent {
    color: var(--gold);
    font-size: clamp(2rem, 6vw, 4.5rem);
    letter-spacing: 0.15em;
    margin-top: 8px;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.hero__tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 40px;
}

.hero__cta {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 209, 0, 0.3);
}

.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
    animation: waveShift 8s ease-in-out infinite alternate;
}

@keyframes waveShift {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

/* ========================================
   Sections (shared)
   ======================================== */
.section {
    position: relative;
    padding: var(--section-pad) 0;
    background: var(--sand-light);
}

.section--white {
    background: var(--white);
}

.section--navy {
    background: var(--navy);
}

.section__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.section__wave svg {
    width: 100%;
    height: 80px;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sky-blue);
    margin-bottom: 12px;
}

.section__label--light {
    color: var(--gold);
}

.section__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--navy);
    line-height: 1.15;
}

.section__title--light {
    color: var(--white);
}

/* ========================================
   About
   ======================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about__text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about__text p:last-child {
    margin-bottom: 0;
}

.about__image-placeholder {
    aspect-ratio: 1;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--sand);
}

.about__image-placeholder svg {
    width: 60%;
    height: 60%;
}

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.stat-card__number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--sky-blue);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card__label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat-card__desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Governance (About subsection)
   ======================================== */
.governance {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--sand);
}

.governance__heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 32px;
}

.governance__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.governance__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.governance__photo-placeholder {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    background: var(--sand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--sand);
}

.governance__photo-placeholder svg {
    width: 40px;
    height: 40px;
}

.governance__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.governance__role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Teams
   ======================================== */
.teams__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-card__header {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.team-card__header--men {
    background: linear-gradient(135deg, var(--sky-blue), var(--navy));
}

.team-card__header--women {
    background: linear-gradient(135deg, #e040fb, var(--sky-blue));
}

.team-card__header--youth {
    background: linear-gradient(135deg, var(--gold), #ff9100);
}

.team-card__icon svg {
    width: 48px;
    height: 48px;
}

.team-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    text-align: center;
}

.team-card__body {
    padding: 24px;
}

.team-card__body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-card__stats {
    list-style: none;
}

.team-card__stats li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 6px 0;
    border-top: 1px solid #eee;
}

.team-card__stats li strong {
    color: var(--navy);
    font-weight: 600;
}

/* ========================================
   Development
   ======================================== */
.development__intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: -20px auto 48px;
}

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

.dev-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.dev-card__icon {
    margin-bottom: 16px;
}

.dev-card__icon svg {
    width: 48px;
    height: 48px;
}

.dev-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.dev-card__desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 12px;
}

.dev-card__status {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Competitions
   ======================================== */
.competitions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.comp-card {
    background: var(--sand-light);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--sand);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.comp-card:hover {
    border-color: var(--sky-blue);
    box-shadow: var(--shadow);
}

.comp-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.comp-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
}

.comp-card__badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--sand);
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.comp-card__badge--international {
    background: #bbdefb;
    color: #1565c0;
}

.comp-card__badge--youth {
    background: #c8e6c9;
    color: #2e7d32;
}

.comp-card__desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 12px;
}

.comp-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.competitions__results {
    background: var(--sand-light);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--sand);
    text-align: center;
}

.competitions__results-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.competitions__results-placeholder p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========================================
   News
   ======================================== */
.news__pill {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--gold);
    color: var(--navy);
    margin-bottom: 12px;
}

.news__pill--development { background: #c8e6c9; color: #2e7d32; }
.news__pill--competition { background: #bbdefb; color: #1565c0; }
.news__pill--partnership { background: #ffe0b2; color: #e65100; }

.news-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.news-hero__image {
    min-height: 300px;
}

.news-hero__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sky-blue), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-hero__icon {
    font-size: 4rem;
    opacity: 0.3;
}

.news-hero__content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-hero__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-hero__excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-hero__date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.news-card__image {
    height: 160px;
}

.news-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sand), var(--sand-light));
}

.news-card__content {
    padding: 20px;
}

.news-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.35;
}

.news-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   Sponsors
   ======================================== */
.sponsors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.sponsor-slot {
    aspect-ratio: 2 / 1;
    background: var(--sand-light);
    border: 2px dashed var(--sand);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition);
}

.sponsor-slot:hover {
    border-color: var(--sky-blue);
}

.sponsor-slot__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sponsors__cta {
    text-align: center;
}

.sponsors__cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.03em;
}

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

.btn--gold {
    background: var(--gold);
    color: var(--navy);
}

.btn--gold:hover {
    box-shadow: 0 8px 30px rgba(255, 209, 0, 0.3);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* ========================================
   Contact
   ======================================== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__detail h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}

.contact__detail h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.contact__detail p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact__detail a {
    color: var(--gold);
    transition: opacity var(--transition);
}

.contact__detail a:hover {
    opacity: 0.8;
}

.contact__socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.contact__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background var(--transition), transform var(--transition);
}

.contact__social:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.contact__social svg {
    width: 20px;
    height: 20px;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition), background var(--transition);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--navy-dark);
    padding: 32px 0;
}

.footer__affiliations {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__affiliation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition);
}

.footer__affiliation:hover {
    opacity: 0.8;
}

.footer__affiliation-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 0.04em;
}

.footer__affiliation-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        order: -1;
    }

    .about__image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .teams__grid .team-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .governance__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .news-hero {
        grid-template-columns: 1fr;
    }

    .news-hero__image {
        min-height: 200px;
    }

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

    .news__grid .news-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: var(--section-pad-mobile);
    }

    /* Mobile nav */
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        z-index: 999;
    }

    .nav__links--open {
        right: 0;
    }

    .nav__link {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
    }

    .nav__link:hover,
    .nav__link--active {
        background: rgba(255, 255, 255, 0.08);
    }

    /* Hero */
    .hero__star {
        width: 6px;
        height: 6px;
    }

    .hero__cta {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    /* Grids */
    .about__stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px 20px;
    }

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

    .teams__grid .team-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

    .news__grid .news-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

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

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

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

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section__header {
        margin-bottom: 40px;
    }
}

/* ========================================
   Reduced motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero__wave svg {
        animation: none;
    }
}

/* ========================================
   Keepie-Uppie Game
   ======================================== */
.kickups {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 50;
    pointer-events: none;
}

.kickups__grass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 64px;
    background: url('assets/grass.png') repeat-x bottom;
    background-size: auto 64px;
    image-rendering: pixelated;
}

.kickups__canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 51;
    pointer-events: none;
}

.kickups__score {
    position: fixed;
    bottom: 78px;
    right: 20px;
    z-index: 52;
    pointer-events: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
    background: var(--gold);
    padding: 4px 16px;
    border-radius: 20px;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease;
}

.kickups__score--pulse {
    transform: scale(1.2);
}

.kickups__best {
    position: fixed;
    bottom: 78px;
    right: 80px;
    z-index: 52;
    pointer-events: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.kickups__best::before {
    content: 'Best: ';
    font-weight: 700;
    color: var(--navy);
}

.kickups--hidden .kickups__grass,
.kickups--hidden .kickups__score,
.kickups--hidden .kickups__best {
    display: none;
}

.kickups__canvas--hidden {
    display: none;
}

.kickups__hint {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 52;
    pointer-events: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 10px;
    letter-spacing: 0.03em;
    transition: opacity 0.3s ease;
}

.kickups__hint--inactive {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.8);
}
