/* ==========================================================================
   Tyrnhaw 2026 — v3 Brand-Aligned Redesign
   Barlow Black Italic + Teal Mesh + Orange Accents
   Matched to official Tyrnhaw print materials
   ========================================================================== */

/* --- Design Tokens (from brand materials) --- */
:root {
    /* Brand palette */
    --bg-deep:       #060B14;
    --bg-primary:    #0A1220;
    --bg-elevated:   #0F1A2C;
    --bg-card:       #111D30;

    --teal:          #2BBBD3;
    --teal-dark:     #1A8A9E;
    --teal-glow:     rgba(43, 187, 211, 0.12);
    --teal-subtle:   rgba(43, 187, 211, 0.06);

    --orange:        #E8682A;
    --orange-light:  #F08040;
    --orange-glow:   rgba(232, 104, 42, 0.15);

    --text-bright:   #EDF0F4;
    --text-primary:  #C0C8D4;
    --text-secondary:#7A8898;
    --text-muted:    #4A5568;

    --border:        rgba(255,255,255,0.05);
    --border-teal:   rgba(43, 187, 211, 0.2);
    --border-orange: rgba(232, 104, 42, 0.2);

    /* Typography — Brand uses Barlow */
    --font-display:  'Barlow', Impact, sans-serif;
    --font-serif:    'Cormorant Garamond', Georgia, serif;
    --font-body:     'Barlow', -apple-system, sans-serif;

    /* Spacing */
    --section-pad:   clamp(5rem, 12vw, 10rem);
    --container-max: 1240px;
    --gutter:        clamp(1.5rem, 4vw, 3rem);

    /* Motion */
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-deep);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.text-white { color: var(--text-bright); }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }

/* --- Section Tag (teal accent) --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 2rem;
}

.section-tag::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--teal);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav--scrolled {
    padding: 0.6rem 0;
    background: rgba(6, 11, 20, 0.92);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

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

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 0.3s;
}

.nav__brand:hover { opacity: 0.85; }

.nav__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0.95);
}

.nav__brand-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-bright);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav__toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-bright);
    transition: all 0.35s var(--ease-out);
    transform-origin: center;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--teal);
    transition: width 0.35s var(--ease-out);
}

.nav__links a:hover { color: var(--text-bright); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
    background: var(--orange) !important;
    color: var(--bg-deep) !important;
    padding: 0.55rem 1.5rem !important;
    font-weight: 900 !important;
    font-style: italic !important;
    letter-spacing: 0.06em !important;
    transition: all 0.3s var(--ease-out) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
    background: var(--orange-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 104, 42, 0.3);
}

/* ==========================================================================
   HERO — Brand-matched with real tournament photo & teal color grade
   ========================================================================== */

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

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

.hero__bg-image {
    position: absolute;
    inset: -5%;
    background: url('../img/hero-bg.jpg') center center / cover no-repeat;
    /* Teal color grading to match brand materials */
    filter: saturate(0.6) brightness(0.55) contrast(1.1);
    animation: heroSlow 25s ease-out forwards;
}

@keyframes heroSlow {
    from { transform: scale(1.1); }
    to   { transform: scale(1.0); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        /* Teal color wash — brand signature */
        linear-gradient(180deg,
            rgba(6,11,20,0.6) 0%,
            rgba(20,80,100,0.25) 30%,
            rgba(20,80,100,0.2) 50%,
            rgba(6,11,20,0.85) 100%
        ),
        linear-gradient(135deg,
            rgba(6,11,20,0.7) 0%,
            transparent 40%,
            rgba(43, 187, 211, 0.08) 100%
        );
}

/* Brand wire mesh — teal crosshatch with plus marks at intersections */
.hero__mesh {
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M0 0L50 50M50 0L0 50' stroke='%232BBBD3' stroke-width='0.4' fill='none' opacity='0.12'/%3E%3Cline x1='23' y1='25' x2='27' y2='25' stroke='%232BBBD3' stroke-width='0.8' opacity='0.2'/%3E%3Cline x1='25' y1='23' x2='25' y2='27' stroke='%232BBBD3' stroke-width='0.8' opacity='0.2'/%3E%3C/svg%3E") repeat;
    background-size: 50px 50px;
    pointer-events: none;
    /* Mesh appears more on upper-right like brand materials */
    mask-image: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.6) 100%);
    -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.6) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--gutter);
    max-width: 960px;
}

/* Edition badge */
.hero__edition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s var(--ease-out) forwards;
}

.hero__edition-line {
    width: 3rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal));
}

.hero__edition-line:last-child {
    background: linear-gradient(90deg, var(--teal), transparent);
}

.hero__edition-text {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--teal);
}

/* Title — Brand style: "TYRNHAW" white, subtitle in orange italic */
.hero__title {
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s var(--ease-out) forwards;
}

.hero__title-tyrnhaw {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 14vw, 10rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 0.9;
    color: var(--text-bright);
    text-transform: uppercase;
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
}

.hero__title-sub {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5.5vw, 4rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--orange);
    text-transform: uppercase;
    margin-top: 0.25rem;
    text-shadow: 0 2px 30px rgba(232, 104, 42, 0.2);
}

/* Meta row */
.hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.7s var(--ease-out) forwards;
}

.hero__meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero__meta-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__meta-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-bright);
    text-transform: uppercase;
}

.hero__meta-sep {
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(to bottom, transparent, var(--teal-dark), transparent);
}

/* Countdown */
.hero__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.9s var(--ease-out) forwards;
}

.countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 5rem;
    padding: 1rem 1.25rem;
    background: var(--teal-subtle);
    border: 1px solid var(--border-teal);
}

.countdown__number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--teal);
    line-height: 1;
}

.countdown__label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.countdown__sep {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    opacity: 0.4;
    margin-top: -1rem;
}

/* CTA — Orange brand color */
.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.8rem;
    background: var(--orange);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.35s var(--ease-out);
    opacity: 0;
    animation: fadeUp 0.7s 1.1s var(--ease-out) forwards;
}

.hero__cta:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(232, 104, 42, 0.3);
}

.hero__cta-arrow {
    font-size: 1.2rem;
    font-style: normal;
    transition: transform 0.3s var(--ease-out);
}

.hero__cta:hover .hero__cta-arrow {
    transform: translateX(4px);
}

/* Sword decoration — right side, brand element */
.hero__sword {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 200px;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s 2s var(--ease-out) forwards;
}

.hero__scroll-track {
    width: 2px;
    height: 48px;
    background: rgba(43, 187, 211, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.hero__scroll-thumb {
    width: 100%;
    height: 16px;
    background: var(--teal);
    border-radius: 1px;
    animation: scrollDown 2.2s var(--ease-smooth) infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-16px); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(48px); opacity: 0; }
}

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

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

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
    position: relative;
    padding: var(--section-pad) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.about__mesh-bg {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M0 0L50 50M50 0L0 50' stroke='%232BBBD3' stroke-width='0.3' fill='none' opacity='0.08'/%3E%3Cline x1='23' y1='25' x2='27' y2='25' stroke='%232BBBD3' stroke-width='0.5' opacity='0.1'/%3E%3Cline x1='25' y1='23' x2='25' y2='27' stroke='%232BBBD3' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
    background-size: 50px;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.12), transparent 80%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.12), transparent 80%);
    pointer-events: none;
}

.about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-teal) 30%, var(--border-teal) 70%, transparent);
}

.about__layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
}

.about__heading {
    margin-bottom: 2.5rem;
}

.about__heading-white {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-bright);
}

.about__heading-orange {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--orange);
}

.about__body p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about__body strong {
    color: var(--teal);
    font-weight: 600;
}

/* Stats grid */
.about__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--teal), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-card:hover {
    border-color: var(--border-teal);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.stat-card__number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-card--featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--bg-elevated), rgba(43, 187, 211, 0.04));
    border-color: var(--border-teal);
}

.stat-card--featured .stat-card__number {
    color: var(--orange);
}

/* ==========================================================================
   MEDIA & PRESS
   ========================================================================== */

.media {
    padding: var(--section-pad) 0;
    background: var(--bg-deep);
    position: relative;
}

.media__heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

/* Quotes */
.media__quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.media__quote {
    border-left: 3px solid var(--teal);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: var(--bg-elevated);
    border-radius: 0 4px 4px 0;
    transition: border-color 0.3s;
}

.media__quote:hover {
    border-left-color: var(--orange);
}

.media__quote p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-bright);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.media__quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.media__quote cite a {
    color: var(--teal);
    transition: color 0.3s;
}

.media__quote cite a:hover {
    color: var(--orange);
}

/* Featured In links */
.media__links-heading {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.media__links-heading::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--teal);
}

.media__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.media__card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.35s var(--ease-out);
}

.media__card:hover {
    border-color: var(--border-teal);
    background: var(--bg-elevated);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(43, 187, 211, 0.08);
}

.media__card-tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
}

.media__card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    font-style: italic;
    color: var(--text-bright);
    letter-spacing: 0.02em;
}

.media__card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Video cards */
.media__video {
    margin-top: 1rem;
}

.media__video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.media__video-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.35s var(--ease-out);
    color: var(--teal);
}

.media__video-card:hover {
    border-color: var(--border-orange);
    background: var(--bg-elevated);
    transform: translateY(-3px);
    color: var(--orange);
}

.media__video-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    font-style: italic;
    color: var(--text-bright);
    letter-spacing: 0.02em;
}

.media__video-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */

.categories {
    padding: var(--section-pad) 0;
    background: var(--bg-primary);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-teal), transparent);
}

.categories__heading {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Discipline card */
.discipline-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem 2rem;
    overflow: hidden;
    transition: all 0.45s var(--ease-out);
}

.discipline-card__number {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.02em;
    color: var(--teal);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.4s;
}

.discipline-card:hover .discipline-card__number { opacity: 0.08; }

.discipline-card__badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.6rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg-deep);
    background: var(--orange);
    padding: 0.3rem 0.75rem;
}

.discipline-card__icon {
    width: 48px;
    height: 48px;
    color: var(--teal);
    opacity: 0.6;
    margin-bottom: 1.75rem;
    transition: all 0.35s var(--ease-out);
}

.discipline-card:hover .discipline-card__icon {
    opacity: 1;
    transform: scale(1.1);
}

.discipline-card__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.discipline-card__desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.discipline-card__tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-subtle);
    border: 1px solid var(--border-teal);
    padding: 0.4rem 1rem;
}

.discipline-card:hover {
    border-color: var(--border-teal);
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 30px var(--teal-subtle);
}

.discipline-card--new {
    border-color: var(--border-orange);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(232, 104, 42, 0.03) 100%);
}

.discipline-card--new:hover {
    border-color: var(--border-orange);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 30px var(--orange-glow);
}

.discipline-card--new .discipline-card__number { color: var(--orange); }
.discipline-card--new .discipline-card__icon { color: var(--orange); }
.discipline-card--new .discipline-card__tag {
    color: var(--orange);
    background: rgba(232, 104, 42, 0.06);
    border-color: var(--border-orange);
}

/* ==========================================================================
   SCHEDULE
   ========================================================================== */

.schedule {
    padding: var(--section-pad) 0;
    background: var(--bg-primary);
    position: relative;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-teal) 30%, var(--border-teal) 70%, transparent);
}

.schedule__layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.schedule__heading {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.schedule__date-big {
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 0.85;
    color: var(--orange);
}

.schedule__date-rest {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--text-bright);
}

.schedule__venue {
    padding: 1.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--teal);
}

.schedule__venue h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.schedule__venue p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Timeline */
.schedule__timeline {
    position: relative;
    padding-left: 1rem;
}

.schedule__timeline::before {
    content: '';
    position: absolute;
    top: 0.5rem; left: 0;
    width: 2px;
    height: calc(100% - 1rem);
    background: linear-gradient(to bottom, var(--teal), var(--teal-dark), transparent);
}

.timeline__item {
    display: grid;
    grid-template-columns: 4rem auto 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.timeline__item:hover {
    background: var(--teal-subtle);
    padding-left: 2rem;
    margin-left: -0.5rem;
    border-radius: 2px;
}

.timeline__dot {
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--bg-primary);
    border: 2px solid var(--teal);
    border-radius: 50%;
    transition: all 0.3s;
}

.timeline__item:hover .timeline__dot {
    background: var(--teal);
    box-shadow: 0 0 12px var(--teal-glow);
}

.timeline__item--highlight .timeline__dot {
    background: var(--orange);
    border-color: var(--orange);
    width: 10px;
    height: 10px;
}

.timeline__time {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--teal);
}

.timeline__item--highlight .timeline__time { color: var(--orange); }

.timeline__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    grid-column: 3;
}

.timeline__item--highlight .timeline__text {
    color: var(--text-bright);
    font-weight: 600;
}

/* Map */
.schedule__map-frame {
    width: 100%;
    height: 320px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    overflow: hidden;
}

.schedule__map-frame iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.85) invert(0.92) contrast(0.8) hue-rotate(180deg) brightness(0.95);
}

/* ==========================================================================
   REGISTRATION
   ========================================================================== */

.registration {
    position: relative;
    padding: var(--section-pad) 0;
    background: var(--bg-deep);
    overflow: hidden;
}

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

.registration__mesh {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M0 0L50 50M50 0L0 50' stroke='%232BBBD3' stroke-width='0.3' fill='none' opacity='0.05'/%3E%3Cline x1='23' y1='25' x2='27' y2='25' stroke='%232BBBD3' stroke-width='0.5' opacity='0.07'/%3E%3Cline x1='25' y1='23' x2='25' y2='27' stroke='%232BBBD3' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E") repeat;
    background-size: 50px;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-teal), transparent);
}

.registration__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.registration__eyebrow {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.registration__eyebrow::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--teal);
}

.registration__heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.registration__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.registration__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    cursor: pointer;
    border: none;
    transition: all 0.35s var(--ease-out);
}

.btn--orange {
    background: var(--orange);
    color: var(--bg-deep);
}

.btn--orange:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(232, 104, 42, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */

.partners {
    padding: var(--section-pad) 0;
    background: var(--bg-primary);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-teal) 30%, var(--border-teal) 70%, transparent);
}

.partners__heading {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.partners__card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--orange);
    transition: all 0.35s var(--ease-out);
}

.partners__card:hover {
    border-color: var(--border-orange);
    border-left-color: var(--orange-light);
    background: var(--bg-elevated);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(232, 104, 42, 0.08);
}

.partners__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partners__card-tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
}

.partners__card-arrow {
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.partners__card:hover .partners__card-arrow {
    color: var(--orange);
    transform: translate(2px, -2px);
}

.partners__card-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-bright);
}

.partners__card-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

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

.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer__logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0.9);
    opacity: 0.8;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-bright);
}

.footer__tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__col a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer__col a:hover { color: var(--teal); }

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer__bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.12s; }
[data-reveal][data-delay="2"] { transition-delay: 0.24s; }

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

@media (max-width: 960px) {
    .about__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .stat-card--featured { grid-column: auto; }

    .categories__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .schedule__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__sword { display: none; }

    .rules__inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 1rem 2rem;
    }
    .rules__label {
        grid-column: 1 / -1;
    }
    .rules__body {
        grid-column: 1;
    }
    .rules__action {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    .nav__toggle { display: flex; }

    .nav__links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        background: var(--bg-primary);
        border-left: 1px solid var(--border-teal);
        padding: 2rem;
        gap: 2.5rem;
        transition: right 0.4s var(--ease-out);
        z-index: 200;
    }

    .nav__links.open { right: 0; }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .nav__toggle.active span:nth-child(2) { opacity: 0; }
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero__meta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__meta-sep { width: 2rem; height: 1px; }

    .hero__countdown { gap: 0.4rem; }

    .countdown__block {
        min-width: 4rem;
        padding: 0.75rem;
    }

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

    .schedule__heading {
        flex-direction: column;
        gap: 0.25rem;
    }

    .registration__actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .schedule__map-frame { height: 250px; }

    .rules__inner {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .rules__label {
        grid-column: 1;
    }
    .rules__body {
        grid-column: 1;
    }
    .rules__action {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ── Disabled state ─────────────────────────────────────── */
.btn--disabled,
a.btn--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(0.4);
}
.nav__cta--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}
.hero__cta--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

/* ── Rules section ──────────────────────────────────────── */
.rules {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--bg-primary);
    position: relative;
}
.rules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal) 0%, transparent 60%);
}
.rules__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    background: var(--bg-elevated);
    border: 1px solid var(--border-teal);
    border-left: 3px solid var(--teal);
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 2px;
}
.rules__label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.rules__label::before {
    content: '';
    display: block;
    width: 1px;
    height: 2.5rem;
    background: var(--teal);
    opacity: 0.5;
}
.rules__label .section-tag {
    margin-bottom: 0;
}
.rules__body {
    min-width: 0;
}
.rules__heading {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-bright);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-style: italic;
}
.rules__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}
.rules__action {
    flex-shrink: 0;
}
.rules__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .rules {
        padding: 1.5rem 0;
    }
    .rules__inner {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem 1.25rem 2rem;
    }
    .rules__label {
        display: none;
    }
    .rules__action {
        margin-top: 0.25rem;
    }
}
