/* Digisyn TKD — bolder fighting-spirit edition.
   Tokens: ink, paper, cream, accent (terracotta), blood (deep red-brown), muted, line. */

html { font-feature-settings: 'ss01' on, 'cv11' on; }
body { -webkit-font-smoothing: antialiased; }

.font-display { letter-spacing: 0.01em; }
.font-editorial { letter-spacing: -0.015em; }

/* Display headings should feel carved */
h1, h2, h3, .display-text {
    font-feature-settings: 'kern' on;
}

/* ============== NAV ============== */
.nav-link {
    position: relative;
    color: #0F1419;
    transition: color 0.2s;
    padding: 0.25rem 0;
}
.nav-link:hover {
    color: #8B3A2E;
}
.nav-link.active {
    color: #0F1419;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 0; right: 0;
    height: 3px;
    background: #8B3A2E;
}

/* ============== HERO BACKGROUNDS ============== */
.hero-bg-warm {
    background:
        radial-gradient(at 15% 25%, rgba(139,58,46,0.12) 0%, transparent 55%),
        radial-gradient(at 85% 75%, rgba(15,20,25,0.08) 0%, transparent 50%),
        linear-gradient(180deg, #FAFAF7 0%, #F2EFE8 100%);
}
.hero-bg-dark {
    background:
        radial-gradient(at 25% 40%, rgba(139,58,46,0.28) 0%, transparent 55%),
        radial-gradient(at 80% 80%, rgba(107,31,24,0.18) 0%, transparent 50%),
        linear-gradient(180deg, #0F1419 0%, #1A1F26 100%);
    position: relative;
}
.hero-bg-dark::before {
    /* Subtle diagonal scratches — gives the dark hero its fight-poster grain */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            105deg,
            transparent 0,
            transparent 60px,
            rgba(250,250,247,0.012) 60px,
            rgba(250,250,247,0.012) 61px
        );
    pointer-events: none;
}
.hero-bg-cream { background: #F2EFE8; }
.hero-bg-blood {
    background:
        radial-gradient(at 30% 30%, rgba(139,58,46,0.95) 0%, #6B1F18 60%, #4A1611 100%);
}

/* ============== UTILITY DECORATIONS ============== */

/* Big slash accent — for hero headlines */
.slash-accent {
    color: #8B3A2E;
    font-weight: 700;
    margin: 0 0.25em;
}

/* Section number — fight-card style */
.section-number {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: #8B3A2E;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.section-number::before {
    content: '';
    width: 24px;
    height: 2px;
    background: #8B3A2E;
}

/* Section label (kept for legacy compat from v2 pass) */
.section-label {
    font-family: 'Geist', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8B3A2E;
}

/* Bold rule — heavier than v2 hairline */
.rule {
    border: 0;
    height: 2px;
    background: #0F1419;
    margin: 4rem 0;
}
.rule-fine {
    border: 0;
    height: 1px;
    background: #E5E2D8;
    margin: 3rem 0;
}

/* Editorial italic accent */
.italic-accent {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
}

/* ============== CARDS ============== */
.editorial-card {
    background: #FAFAF7;
    border: 2px solid #0F1419;
    transition: transform 0.2s, background 0.25s, color 0.25s;
}
.editorial-card:hover {
    background: #0F1419;
    color: #FAFAF7;
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 0 #8B3A2E;
}
.editorial-card:hover .section-label,
.editorial-card:hover .section-number { color: #FAFAF7; }
.editorial-card:hover .text-muted { color: #FAFAF7 !important; opacity: 0.7; }
.editorial-card:hover .text-ink { color: #FAFAF7 !important; }

/* Subtle card variant for less aggressive sections */
.card-soft {
    background: #FAFAF7;
    border: 1px solid #E5E2D8;
    transition: border-color 0.2s;
}
.card-soft:hover { border-color: #0F1419; }

/* ============== STAT block — fight-poster ============== */
.stat-block {
    border-left: 4px solid #8B3A2E;
    padding-left: 1.25rem;
}

/* ============== FORM INPUTS ============== */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #FAFAF7;
    border: 2px solid #0F1419;
    color: #0F1419;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    transition: border-color 0.2s, background 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: #8B3A2E;
    background: #ffffff;
}
.form-input::placeholder { color: #9A978E; font-weight: 400; }

/* ============== BUTTONS ============== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0F1419;
    color: #FAFAF7;
    padding: 0.875rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid #0F1419;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #8B3A2E;
    border-color: #8B3A2E;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 #0F1419;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: #0F1419;
    padding: 0.875rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid #0F1419;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: #0F1419;
    color: #FAFAF7;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 #8B3A2E;
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #8B3A2E;
    color: #FAFAF7;
    padding: 0.875rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid #8B3A2E;
    transition: all 0.2s;
}
.btn-accent:hover {
    background: #0F1419;
    border-color: #0F1419;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 #8B3A2E;
}

/* ============== HERO TYPE — the big one ============== */
.hero-headline {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: 0.005em;
    color: #0F1419;
}
.hero-headline-light { color: #FAFAF7; }

/* Editorial accent line inside a Bebas hero */
.hero-tag {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    color: #8B3A2E;
}

/* Big stat numerals */
.big-stat {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.9;
    color: #0F1419;
}

/* Decorative big number behind sections */
.section-bignum {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.85;
    color: rgba(139,58,46,0.22);
    letter-spacing: -0.02em;
}

/* No scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Print */
@media print {
    nav, footer, .no-print { display: none !important; }
}
