/* Explosive Krav Maga — single-page dark prototype
   Sections follow the front end: reset, tokens, header, hero,
   programs, expect, schedule, location, footer, utilities */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--gold-bright);
}

h1, h2, h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--text);
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }

address { font-style: normal; }

/* ---------- Tokens ---------- */
:root {
    --bg: #0b0b0c;
    --bg-elev: #121214;
    --bg-alt: #161618;
    --card: #1b1b1e;
    --line: #2c2c31;
    --text: #f4f1ea;
    --muted: #b6b1a6;
    --gold: #e0b83a;
    --gold-bright: #f3d36a;
    --gold-ink: #1a1404;
    --crimson: #7a1218;
    --crimson-deep: #3d070b;
    --focus: #f3d36a;
    --radius: 14px;
    --wrap: 1120px;
    --header-h: 4.25rem;
}

/* ---------- Utilities ---------- */
.wrap {
    width: min(100% - 2rem, var(--wrap));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--gold);
    color: var(--gold-ink);
    padding: 0.6rem 1rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--gold);
    font-family: "Oswald", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lede,
.intro {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 38rem;
}

.section-note,
.fine-print {
    color: var(--muted);
    font-size: 0.95rem;
}

.fine-print { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { color: inherit; }

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

.btn-gold:hover {
    background: var(--gold-bright);
    color: var(--gold-ink);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-sm {
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 11, 12, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
    text-decoration: none;
}

.logo:hover { color: var(--text); }

.logo-mark {
    width: 2rem;
    height: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-name {
    font-family: "Oswald", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.25rem;
}

.nav-desktop a:not(.btn) {
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-desktop a:not(.btn):hover { color: var(--gold); }

.nav-toggle {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--text);
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.75rem 1rem 1.25rem;
    border-top: 1px solid var(--line);
    background: var(--bg-elev);
}

.nav-mobile a:not(.btn) {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.nav-mobile[hidden] { display: none; }

@media (min-width: 900px) {
    .nav-desktop { display: flex; }
    .nav-toggle,
    .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h));
    display: grid;
    align-items: end;
    padding: 4rem 0 4.5rem;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(122, 18, 24, 0.45), transparent 55%),
        linear-gradient(180deg, #140608 0%, var(--bg) 78%);
    overflow: hidden;
}

.hero-wash {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black, transparent 85%);
    pointer-events: none;
}

.hero-inner { position: relative; }

.hero .lede { font-size: 1.2rem; }

/* ---------- Sections ---------- */
.section {
    padding: 4.25rem 0;
}

.section-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
}

.section-head {
    margin-bottom: 2rem;
    max-width: 40rem;
}

.split {
    display: grid;
    gap: 2rem;
}

.prose p { color: var(--muted); max-width: 40rem; }

@media (min-width: 800px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
        align-items: start;
    }
}

/* ---------- Programs ---------- */
.card-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 700px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.3rem 1.4rem;
}

.card-accent {
    border-color: rgba(224, 184, 58, 0.35);
    background: linear-gradient(180deg, rgba(122, 18, 24, 0.28), var(--card));
}

.card-kicker {
    margin: 0 0 0.45rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

/* ---------- Schedule ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.schedule {
    width: 100%;
    border-collapse: collapse;
    min-width: 34rem;
}

.schedule th,
.schedule td {
    text-align: left;
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.schedule thead th {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.schedule tbody th {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

.schedule tbody tr:last-child th,
.schedule tbody tr:last-child td {
    border-bottom: 0;
}

/* ---------- Location / contact ---------- */
.contact-grid {
    display: grid;
    gap: 2.5rem;
}

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

address a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
}

address a:hover { color: var(--gold); }

.affiliation {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.contact-list li {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-list span {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-list a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.contact-list a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-brand {
    margin: 0 0 0.35rem;
    color: var(--text);
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

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

.copyright { margin: 0; font-size: 0.82rem; }

/* ---------- Focus ---------- */
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
