/* ============================================================
   MARSHALL SHREDHAWKS — Design System v2 ("proposed")
   Palette: Shredhawks Red / Black / White (unchanged)
   Vibe: fast, fun, inclusive — get people excited to ride
   ============================================================ */

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

:root {
    /* Brand */
    --red: #E31E24;
    --red-dark: #B81219;
    --red-tint: #FDEDEE;
    --black: #0B0B0D;
    --ink: #1A1B1E;
    --gray-700: #43454A;
    --gray-500: #6E7075;
    --gray-300: #D7D8DA;
    --gray-100: #F5F5F6;
    --white: #FFFFFF;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(11, 11, 13, 0.08);
    --shadow-md: 0 6px 18px rgba(11, 11, 13, 0.10);
    --shadow-lg: 0 16px 40px rgba(11, 11, 13, 0.16);
    --shadow-red: 0 8px 24px rgba(227, 30, 36, 0.28);

    /* Shape & rhythm */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --container: 1140px;

    /* Type */
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--black);
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.lead {
    font-size: 1.125rem;
    color: var(--gray-700);
}

/* Eyebrow label — small red tag above section titles */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    transform: skewX(-20deg);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

section { padding: 3.5rem 0; }

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    text-align: center;
    color: var(--gray-500);
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    background-color: var(--black);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
    text-transform: uppercase;
}

.nav-brand .logo::after {
    content: '.';
    color: var(--red);
}

.nav-brand .logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.nav-brand .logo-link:hover .logo { color: var(--gray-300); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.55rem;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--white);
    transition: all 0.25s ease;
}

.nav-menu {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--black);
    flex-direction: column;
    padding: 0.75rem 0 1.25rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.nav-menu.active { display: flex; }

.nav-menu li { text-align: center; }

.nav-menu a {
    display: block;
    color: var(--white);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--red); }

/* Nav CTA pill */
.nav-menu .nav-cta a {
    display: inline-block;
    margin-top: 0.5rem;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.6rem;
    font-weight: 700;
}

.nav-menu .nav-cta a:hover {
    background: var(--red-dark);
    color: var(--white);
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
    position: relative;
    background-color: var(--black);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(227, 30, 36, 0.28), transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 90%, rgba(227, 30, 36, 0.12), transparent 55%),
        repeating-linear-gradient(-35deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 14px);
    color: var(--white);
    padding: 4.5rem 0 6.5rem;
    text-align: center;
    overflow: hidden;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(227, 30, 36, 0.18);
    border: 1px solid rgba(227, 30, 36, 0.55);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.05;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-title em {
    font-style: normal;
    color: var(--red);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-300);
    font-weight: 500;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

/* ---------- Event strip (overlaps hero bottom) ---------- */
.event-strip {
    position: relative;
    z-index: 2;
    margin-top: -3.5rem;
    padding: 0 0 1rem;
}

.event-strip .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.event-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--red);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.event-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.3rem;
}

.event-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.event-note {
    display: block;
    font-size: 0.92rem;
    color: var(--gray-500);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2.1rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

.btn-primary-inverse {
    background-color: var(--white);
    color: var(--red);
    border-color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary-inverse:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-secondary:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Ghost (dark backgrounds) */
.btn-ghost {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Submit-in-progress state */
.btn.is-loading {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
    cursor: wait;
    pointer-events: none;
    padding-left: 2.9rem;
    position: relative;
}

.btn.is-loading::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ============================================================
   PATHWAY CARDS (home)
   ============================================================ */
.pathways { background-color: var(--gray-100); }

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

.card {
    background-color: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
}

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

.card:hover::after { transform: scaleY(1); }

.card-link {
    display: block;
    color: inherit;
    cursor: pointer;
}

.card-link .btn { pointer-events: none; }

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--red-tint);
    color: var(--red);
    margin-bottom: 1.1rem;
}

.card-icon svg { width: 28px; height: 28px; }

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.card-description {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.card-cta {
    font-weight: 700;
    color: var(--red);
}

.card-cta::after {
    content: ' →';
    transition: transform 0.2s ease;
    display: inline-block;
}

.card-link:hover .card-cta::after { transform: translateX(4px); }

/* ============================================================
   QUICK FACTS (home)
   ============================================================ */
.facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fact {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: var(--gray-100);
    border-radius: var(--radius);
    border-top: 4px solid var(--red);
}

.fact-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.fact-value {
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
    background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-35deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 16px);
    pointer-events: none;
}

.cta .container { position: relative; }

.cta-title {
    color: var(--white);
    font-size: 2.1rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3.5rem 0 1.25rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.footer-section h3::after {
    content: '.';
    color: var(--red);
}

.footer-section h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.45rem; }

.footer-links a,
.footer-section a {
    color: var(--gray-300);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-section a:hover { color: var(--red); }

.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    background-color: var(--black);
    background-image:
        radial-gradient(ellipse 70% 90% at 85% 10%, rgba(227, 30, 36, 0.25), transparent 60%),
        repeating-linear-gradient(-35deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 14px);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.4rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-header .eyebrow { justify-content: center; }

.page-subtitle {
    font-size: 1.05rem;
    color: var(--gray-300);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   CONTENT SECTIONS (inner pages)
   ============================================================ */
.content-section { padding: 3.25rem 0; }

.content-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.content-wrapper h3 {
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 90px;
}

.content-wrapper h2:first-child { margin-top: 0; }

.styled-list {
    margin-bottom: 1.5rem;
    padding-left: 1.4rem;
}

.styled-list li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

/* Check list — red checkmarks, no bullets */
.check-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--red-tint);
    color: var(--red);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Numbered steps — big red numerals */
.steps {
    list-style: none;
    counter-reset: step;
    margin-bottom: 1.5rem;
    padding: 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.4rem 3.2rem;
    line-height: 1.6;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -0.15rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
}

.steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.05rem;
    top: 2.3rem;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.text-link {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.text-link:hover { color: var(--red-dark); }

/* Info Box */
.info-box {
    background-color: var(--gray-100);
    border-left: 4px solid var(--red);
    padding: 1.5rem;
    margin: 1.75rem 0;
    border-radius: var(--radius-sm);
}

.info-box h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.info-box p:last-child,
.info-box ul:last-child { margin-bottom: 0; }

/* Feature card (Shred School) */
.feature-card {
    position: relative;
    background: var(--black);
    background-image: radial-gradient(ellipse 70% 80% at 90% 0%, rgba(227, 30, 36, 0.3), transparent 60%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    margin: 1.75rem 0;
}

.feature-card h3,
.feature-card h4 {
    color: var(--white);
    margin-top: 0;
}

.feature-card p { color: var(--gray-300); }
.feature-card p:last-child { margin-bottom: 0; }

.badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.9rem;
}

/* Two-up mini cards (preseason events) */
.duo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.mini-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-top: 4px solid var(--red);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.mini-card .event-date { margin-bottom: 0.4rem; }

.mini-card h4 { margin-bottom: 0.5rem; }

.mini-card p {
    margin-bottom: 0;
    color: var(--gray-700);
    font-size: 0.97rem;
}

/* Location cards */
.location-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.75rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.location-list li {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.location-list strong { color: var(--black); }

.location-list a {
    font-size: 0.92rem;
}

/* Simple Cards (coach levels) */
.card-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.card-simple {
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0;
}

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

.card-simple h4 {
    color: var(--red);
    margin-bottom: 0.5rem;
}

.card-simple p {
    margin-bottom: 0;
    color: var(--gray-700);
    font-size: 0.97rem;
}

/* CTA Inline */
.cta-inline {
    background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-inline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-35deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 16px);
    pointer-events: none;
}

.cta-inline > * { position: relative; }

.cta-inline h3 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.cta-inline p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
}

/* Values Grid (about page) */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.value-card {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-top: 4px solid var(--red);
    transition: transform 0.2s ease;
}

.value-card:hover { transform: translateY(-3px); }

.value-card h4 {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.value-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.97rem;
}

/* ============================================================
   ACCORDIONS — FAQ + Schedule (native <details>)
   ============================================================ */
.faq-acc {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: var(--white);
    overflow: hidden;
}

.faq-acc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--black);
    transition: background-color 0.15s ease;
}

.faq-acc summary:hover { background: var(--gray-100); }

.faq-acc summary::-webkit-details-marker { display: none; }

.faq-acc summary::after {
    content: '+';
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--red-tint);
    color: var(--red);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.faq-acc[open] summary::after { transform: rotate(45deg); }

.faq-acc-body { padding: 0 1.25rem 1.25rem; }

.faq-acc-body p:last-child { margin-bottom: 0; }

.faq-group-title {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Schedule accordion */
.schedule-accordion {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    margin: 1.75rem 0;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.schedule-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    background-color: var(--black);
    transition: background-color 0.2s ease;
}

.schedule-accordion summary:hover { background-color: var(--ink); }

.schedule-accordion summary::-webkit-details-marker { display: none; }

.schedule-accordion-title {
    font-weight: 800;
    color: var(--white);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.schedule-accordion-hint {
    color: var(--red);
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
}

.schedule-accordion-hint::after {
    content: ' ▾';
    display: inline-block;
    transition: transform 0.2s ease;
}

.schedule-accordion[open] .schedule-accordion-hint::after {
    transform: rotate(180deg);
}

.schedule-accordion-body { padding: 1.5rem; }

.schedule-accordion-body > p:first-child {
    margin-top: 0;
    color: var(--gray-500);
    font-size: 0.95rem;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    display: flex;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gray-100);
    line-height: 1.45;
}

.schedule-list li:last-child { border-bottom: none; }

.schedule-date {
    flex: 0 0 4.5rem;
    font-weight: 800;
    color: var(--gray-700);
}

.schedule-place { color: var(--gray-700); }

.schedule-city {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.schedule-list li.schedule-race {
    background-color: var(--red-tint);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 4px;
}

.schedule-flag {
    font-weight: 800;
    color: var(--red);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper,
.contact-info-wrapper { width: 100%; }

.contact-info-item { margin-bottom: 1.75rem; }

.contact-info-item h3 {
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-500);
}

.contact-info-item p { margin-bottom: 0.25rem; }

.contact-info-item a {
    color: var(--red);
    font-weight: 600;
}

/* Intro chooser list */
.form-intro-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.form-intro-list li {
    padding: 0.85rem 1.1rem;
    margin-bottom: 0.6rem;
    background-color: var(--gray-100);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    line-height: 1.5;
    font-size: 0.97rem;
}

.form-intro-list li strong { color: var(--black); }

/* Form */
.contact-form { max-width: 100%; }

.form-group { margin-bottom: 1.35rem; }

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--black);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.14);
}

.form-group textarea { resize: vertical; }

.form-section-title {
    font-size: 0.85rem;
    color: var(--red);
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.field-group:first-child .form-section-title { margin-top: 0; }

/* Honeypot — visually hidden but present for bots.
   Not display:none because some bots skip those. */
.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Submit feedback */
.form-feedback {
    padding: 1.75rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.form-feedback h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.form-feedback p { margin-bottom: 0; line-height: 1.55; }

.form-feedback-success {
    background-color: #f0f9f0;
    border-left: 4px solid #2e7d32;
    color: #1b4d1f;
}

.form-feedback-success h3 { color: #2e7d32; }

.form-feedback-error {
    background-color: var(--red-tint);
    border-left: 4px solid var(--red);
    color: #5d1a1a;
}

.form-feedback-error h3 { color: var(--red); }
.form-feedback-error a { color: var(--red); }

/* ============================================================
   RESPONSIVE — TABLET (720px+)
   ============================================================ */
@media (min-width: 720px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.1rem; }

    section { padding: 4.5rem 0; }

    .hero { padding: 5.5rem 0 7.5rem; }
    .hero-title { font-size: 3.4rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .event-strip .container { grid-template-columns: repeat(3, 1fr); }
    .event-strip { margin-top: -4rem; }

    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .facts-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-content { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .duo-grid { grid-template-columns: 1fr 1fr; }
    .card-grid-2 { grid-template-columns: 1fr 1fr; }
    .location-list { grid-template-columns: repeat(2, 1fr); }

    .page-header h1 { font-size: 3rem; }
    .contact-layout { grid-template-columns: 1.15fr 0.85fr; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 0.25rem;
        box-shadow: none;
        background: transparent;
    }

    .nav-menu li { text-align: left; }

    .nav-menu a {
        padding: 0.5rem 0.9rem;
        font-size: 0.97rem;
        position: relative;
    }

    .nav-menu a:not(.nav-menu .nav-cta a)::after {
        content: '';
        position: absolute;
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.15rem;
        height: 3px;
        border-radius: 2px;
        background: var(--red);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after { transform: scaleX(1); }

    .nav-menu a:hover,
    .nav-menu a.active { color: var(--white); }

    .nav-menu .nav-cta a {
        margin-top: 0;
        margin-left: 0.75rem;
        padding: 0.55rem 1.4rem;
    }

    .nav-menu .nav-cta a::after { content: none; }

    .hero { padding: 7rem 0 9rem; }
    .hero-title { font-size: 4.2rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .event-strip { margin-top: -4.5rem; }

    section { padding: 5rem 0; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .btn.is-loading::before {
        animation: none;
        border-top-color: rgba(255, 255, 255, 0.4);
    }
}
