:root {
    --teal-900: #0b2e2b;
    --teal-800: #0f3d3a;
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --teal-50: #f0fdfa;
    --lime: #d7f93a;
    --lime-dark: #c2e62a;

    --ink: #0b2e2b;
    --text-mid: #3f5f5b;
    --text-soft: #6b8a86;

    --surface: #ffffff;
    --surface-tint: #f4fbfa;
    --border: #dceeec;

    --shadow-sm: 0 6px 16px rgba(11, 46, 43, 0.06);
    --shadow-md: 0 20px 44px rgba(11, 46, 43, 0.1);

    --radius: 22px;
    --radius-lg: 32px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--surface-tint);
}

main {
    flex: 1;
}

h1, h2, h3, .brand, .card-title, .section-header h2, .footer-title, .hero-float-title {
    font-family: 'Poppins', 'Inter', sans-serif;
}

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

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

svg {
    display: block;
}

code {
    background: var(--teal-100);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.85em;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-header--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
    z-index: 10;
}

.navbar {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-right: auto;
}

.brand-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    color: var(--lime-dark);
}

.brand-icon svg {
    width: 100%;
    height: 100%;
}

.site-header--overlay .brand {
    color: #fff;
}

.site-header--overlay .brand-icon {
    color: var(--lime);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-mid);
    transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal-700);
}

.site-header--overlay .nav-links a {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.site-header--overlay .nav-links a:hover,
.site-header--overlay .nav-links a.active {
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 16px;
    margin: 0 auto;
    background: var(--teal-700);
}

.site-header--overlay .nav-toggle {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.site-header--overlay .nav-toggle span {
    background: #fff;
}

@media (max-width: 780px) {
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 0;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 8px 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        color: var(--text-mid);
    }

    .nav-toggle {
        display: flex;
    }

    .site-header--overlay .nav-links.open a {
        color: var(--text-mid);
    }

    .site-header--overlay .nav-links.open a:hover,
    .site-header--overlay .nav-links.open a.active {
        color: var(--teal-700);
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(11, 46, 43, 0.12);
}

.btn-arrow svg {
    width: 14px;
    height: 14px;
}

.btn-primary,
.btn-cta {
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(215, 249, 58, 0.35);
}

.btn-primary:hover,
.btn-cta:hover {
    background: var(--lime-dark);
}

.btn-cta {
    padding: 10px 20px 10px 22px;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
    background: var(--teal-700);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.3);
}

.btn-dark:hover {
    background: var(--teal-800);
}

/* Hero */

.hero {
    position: relative;
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 16px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 640px;
    display: flex;
    background: linear-gradient(135deg, var(--teal-900), var(--teal-600));
}

.hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(9, 38, 35, 0.42) 0%, rgba(9, 38, 35, 0.16) 38%, rgba(9, 38, 35, 0) 62%);
    z-index: 1;
    pointer-events: none;
}

.hero-photo-panel {
    position: relative;
    z-index: 1;
    flex: 0 0 44%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.hero-photo-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 352px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid rgba(255, 255, 255, 0.85);
    animation: fadeIn 0.9s ease both;
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.6s ease;
}

.hero-photo-frame:hover img {
    transform: scale(1.05);
}

.hero-photo-decor {
    position: absolute;
    z-index: 1;
    width: 240px;
    height: 240px;
    left: -6%;
    bottom: 56px;
    pointer-events: none;
    animation: fadeIn 1.2s ease both;
    animation-delay: 0.15s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    padding: 140px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.eyebrow-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
}

.eyebrow-light .eyebrow-icon {
    width: 14px;
    height: 14px;
    color: var(--lime);
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.1;
    color: #fff;
    max-width: 480px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    max-width: 440px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero .hero-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero-subtitle-icon {
    width: 18px;
    height: 18px;
    color: var(--lime);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 4px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.trust-row p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    color: #fff;
}

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

.avatar:first-child {
    margin-left: 0;
}

.avatar-1 { background: var(--teal-600); }
.avatar-2 { background: var(--teal-800); }
.avatar-3 { background: #0a4844; }

.hero-float-card {
    position: absolute;
    right: 32px;
    bottom: 44px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px 20px;
    max-width: 280px;
    box-shadow: var(--shadow-md);
}

.hero-float-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--teal-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-icon svg {
    width: 26px;
    height: 26px;
}

.hero-float-card .hero-float-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-float-card .hero-float-text {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: var(--text-soft);
    line-height: 1.4;
}

@media (max-width: 780px) {
    .hero {
        width: auto;
        margin: 12px 12px 0;
        border-radius: 24px;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 24px;
    }

    .hero::before {
        background: linear-gradient(165deg, rgba(9, 38, 35, 0.55) 0%, rgba(9, 38, 35, 0.4) 45%, rgba(9, 38, 35, 0.25) 100%);
    }

    .hero-inner {
        padding: 100px 24px 24px;
    }

    .hero h1 {
        font-size: 2.15rem;
        max-width: none;
    }

    .hero p {
        max-width: none;
    }

    .hero-photo-panel {
        flex: 0 0 auto;
        padding: 8px 24px 24px;
    }

    .hero-photo-frame {
        max-width: 308px;
    }

    .hero-photo-decor {
        width: 160px;
        height: 160px;
        left: -8%;
        bottom: 24px;
    }

    .hero-float-card {
        position: static;
        margin: 0 24px;
        max-width: none;
    }

    .trust-row {
        align-self: center;
        justify-content: center;
        text-align: center;
        margin-top: 24px;
    }
}

/* Partner strip */

.partner-strip {
    padding: 40px 16px 8px;
}

.partner-label {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-soft);
    margin: 0 0 20px;
}

.partner-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
}

.partner-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-soft);
    opacity: 0.7;
    letter-spacing: -0.01em;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.partner-logo:hover {
    color: var(--teal-700);
    opacity: 1;
}

/* Sections */

.section {
    padding: 56px 24px;
}

.section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    color: var(--ink);
}

.section-header a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal-700);
}

.section-header a:hover {
    color: var(--teal-800);
}

.section-bg-light {
    background: var(--teal-50);
}

/* Quick stats */

.stats-bar {
    padding: 0 16px;
}

.stats-grid {
    max-width: 1160px;
    margin: 0 auto;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transform: translateY(-24px);
    position: relative;
    z-index: 3;
}

@media (min-width: 780px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-50);
    color: var(--teal-700);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--ink);
}

.stat-label {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 500;
}

/* Cards */

.card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .card-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.card-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal-600);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-title {
    margin: 8px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}

.card-text {
    margin: 8px 0 0;
    font-size: 0.92rem;
    color: var(--text-mid);
}

/* Gallery */

.page-wrap .gallery-grid {
    margin-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 16px;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (min-width: 640px) {
    .gallery-grid.preview {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-tile {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: opacity 0.6s ease, transform 0.5s ease, box-shadow 0.15s ease;
}

.js-ready .gallery-tile {
    opacity: 0;
    transform: translateY(24px);
}

.gallery-tile.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tile:nth-child(2) { transition-delay: 0.08s; }
.gallery-tile:nth-child(3) { transition-delay: 0.16s; }
.gallery-tile:nth-child(4) { transition-delay: 0.24s; }
.gallery-tile:nth-child(5) { transition-delay: 0.32s; }

.gallery-tile.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-tile:hover img {
    transform: scale(1.06);
}

.gallery-grid:not(.preview) .gallery-tile img {
    cursor: pointer;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(11, 46, 43, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transform: scale(0.85);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Page header (about/results/gallery/news/contact) */

.page-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.page-wrap.wide {
    max-width: 1160px;
}

.page-wrap h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 10px 0 0;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.page-photo-header {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

@media (max-width: 640px) {
    .page-photo-header {
        grid-template-columns: 1fr;
    }
}

.page-photo-header .info-grid {
    grid-template-columns: repeat(2, 1fr);
}

.page-photo-header .photo-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.7s ease both;
}

.page-photo-header .photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.page-photo-header .photo-frame:hover img {
    transform: scale(1.05);
}

.contact-photo {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.7s ease both;
}

.contact-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.contact-photo:hover img {
    transform: scale(1.05);
}

.page-wrap p.lede {
    margin-top: 12px;
    color: var(--text-mid);
    max-width: 640px;
}

.label-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-700);
}

.label-eyebrow .eyebrow-icon {
    width: 16px;
    height: 16px;
}

/* About page */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 32px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.info-grid dt {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.info-grid dd {
    margin: 6px 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.info-grid.stats dd {
    font-size: 1.6rem;
    margin-top: 6px;
    font-family: 'Poppins', sans-serif;
    color: var(--teal-700);
}

.bio-text {
    margin-top: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}

.bio-text p {
    margin: 0 0 20px;
    color: var(--text-mid);
    line-height: 1.7;
}

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

.bio-text .bio-quote {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--teal-600);
    background: var(--teal-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: italic;
    color: var(--teal-800);
}

.legal-content {
    margin-top: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}

.legal-content .legal-updated {
    margin: 0 0 24px;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 32px 0 12px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 16px;
    color: var(--text-mid);
    line-height: 1.7;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--text-mid);
    line-height: 1.7;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--teal-700);
    font-weight: 600;
}

.timeline {
    list-style: none;
    margin: 24px 0 0;
    padding: 0 0 0 24px;
    border-left: 2px dashed var(--teal-100);
}

.timeline li {
    position: relative;
    padding-bottom: 24px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal-600);
    box-shadow: 0 0 0 4px var(--teal-100);
}

.timeline-year {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--teal-700);
    margin: 0;
}

.timeline-event {
    margin: 4px 0 0;
    color: var(--text-mid);
}

/* Year filter tabs */

.year-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 28px;
}

.year-tab {
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-mid);
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.year-tab:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
}

.year-tab.active {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #fff;
}

/* Results table */

.results-table-wrap {
    margin-top: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    overflow-x: auto;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

table.results-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

table.results-table thead {
    background: var(--teal-50);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-soft);
}

table.results-table th,
table.results-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

table.results-table tbody tr:last-child td {
    border-bottom: none;
}

table.results-table tbody tr:hover {
    background: var(--teal-50);
}

.location-sub {
    font-size: 0.8rem;
    color: var(--text-soft);
    font-weight: 400;
    margin-top: 2px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.badge-won { background: #ccfbf1; color: #0f766e; }
.badge-lost { background: #f1f5f4; color: var(--text-soft); }
.badge-upcoming { background: #fef9c3; color: #854d0e; }
.badge-champion { background: #fef3c7; color: #92400e; }
.badge-runnerup { background: #e2e8f0; color: #475569; }
.badge-third { background: #fed7aa; color: #9a3412; }

.footnote-inline {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.footnote {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* News list */

.news-list {
    margin-top: 40px;
}

.news-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 8px 0 0;
    color: var(--ink);
}

.news-item .card-text {
    margin-top: 8px;
}

/* Contact */

.contact-grid {
    display: grid;
    gap: 32px;
    margin-top: 40px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-grid > div:first-child {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.form-hint {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

@media (min-width: 640px) {
    .form-row.two-col {
        grid-template-columns: 1fr 1fr;
    }
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-mid);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--ink);
    border: 1px solid var(--border);
    background: var(--surface-tint);
    border-radius: var(--radius-sm);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px var(--teal-100);
}

textarea {
    resize: vertical;
}

.contact-info {
    font-size: 0.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}

.contact-info .block {
    margin-bottom: 20px;
}

.contact-info .block:last-child {
    margin-bottom: 0;
}

.contact-info .heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--ink);
}

.contact-info a {
    display: block;
    color: var(--text-mid);
    padding: 2px 0;
}

.contact-info a:hover {
    color: var(--teal-700);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.contact-info .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-700);
}

.contact-info .social-icons a:hover {
    background: var(--teal-700);
    color: #fff;
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

.footer-col .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.footer-col .footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.success-box {
    border: 1px solid var(--teal-100);
    background: var(--teal-50);
    color: var(--teal-800);
    border-radius: var(--radius);
    padding: 28px 32px;
}

.success-box p:first-child {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.success-box p {
    margin: 0;
    font-size: 0.9rem;
}

.error-box {
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #be123c;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Footer */

.site-footer {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 24px auto 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.footer-title .brand-icon {
    color: var(--lime);
}

.footer-tagline {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lime);
    margin: 6px 0 0;
}

.footer-text {
    max-width: 280px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 6px 0 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
}

.footer-heading {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
    color: var(--lime);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        gap: 14px;
    }
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links a:hover {
    color: var(--lime);
}

/* Admin */

.admin-nav-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.admin-nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.admin-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin-right: auto;
}

.admin-nav-brand img {
    width: 24px;
    height: 24px;
}

.admin-nav-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal-700);
    background: var(--teal-50);
    border-radius: 999px;
    padding: 2px 8px;
}

.admin-nav-links {
    display: flex;
    gap: 24px;
}

.admin-nav-links a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-mid);
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
}

.admin-nav-links a:hover {
    color: var(--teal-700);
}

.admin-nav-links a.active {
    color: var(--teal-700);
    border-bottom-color: var(--teal-600);
}

.admin-nav-logout {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.admin-nav-logout:hover {
    color: var(--ink);
}
