/* =========================================================================
   LICOP — Landing page identity layer
   Loaded after style.css, scoped to the public landing page only.
   Redeclares the shared tokens so every reused component (.btn, .section-
   header, .event-date, form fields, etc.) retints automatically here
   without touching the admin panel, which shares style.css directly.
   ========================================================================= */

:root {
    /* Palette pulled from the league's own badge: black ring, oxblood red
       ring, canvas-white center — not a generic template red. */
    --color-primary: #7A1620;
    --color-primary-dark: #4E0F16;
    --color-primary-soft: rgba(122, 22, 32, 0.12);
    --color-bright: #A62335;

    --color-bg: #F3EFE6;
    --color-bg-alt: #FFFFFF;
    --color-ink: #15100D;
    --color-text: #15100D;
    --color-text-muted: #55585C;
    --color-accent: #F0E4E1;
    --color-border: rgba(21, 16, 13, 0.13);
    --color-shadow: 0 20px 50px rgba(21, 16, 13, 0.10);

    --font-primary: 'Oswald', sans-serif;
    --font-display: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius: 4px;
    --clip: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
    --clip-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

body {
    background: var(--color-bg);
    font-family: var(--font-body);
}

::selection {
    background: rgba(122, 22, 32, 0.22);
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
}

/* ---- Focus ring (works regardless of clip-path shapes) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 22, 32, 0.35);
}

/* ---- Navbar ---- */
.navbar {
    background: rgba(243, 239, 230, 0.94);
    border-bottom: 1px solid var(--color-border);
}

.logo img {
    filter: none;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-cta {
    border-radius: 0;
    clip-path: var(--clip-sm);
    border: 1px solid var(--color-primary);
    background: transparent;
}

.nav-cta:hover {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .nav-menu {
        background-color: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
    }
}

/* ---- Buttons: corner-clipped, flat oxblood — no candy gradient ---- */
.btn {
    border-radius: 0;
    clip-path: var(--clip-sm);
    box-shadow: none;
    letter-spacing: 0.08em;
}

.btn-primary {
    background: var(--color-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--color-bright);
    box-shadow: 0 10px 24px rgba(122, 22, 32, 0.28);
}

.btn-outline {
    border: 1px solid rgba(21, 16, 13, 0.28);
    color: var(--color-ink);
}

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

/* ---- Section rhythm ---- */
.section-header .line {
    width: 46px;
    height: 3px;
    border-radius: 0;
    background: var(--color-primary);
}

.section-header h2 {
    font-family: var(--font-primary);
    letter-spacing: 0.05em;
}

/* ---- Hero ---- */
.hero {
    background: var(--color-ink);
    overflow: hidden;
}

.hero::before {
    background:
        repeating-linear-gradient(135deg,
            rgba(122, 22, 32, 0.16) 0,
            rgba(122, 22, 32, 0.16) 2px,
            transparent 2px,
            transparent 26px),
        radial-gradient(circle at 15% 20%, rgba(122, 22, 32, 0.22), transparent 45%);
}

.hero-overlay {
    display: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 2px solid rgba(122, 22, 32, 0.28);
    z-index: 1;
}

.hero-content {
    max-width: 780px;
    text-align: left;
    padding: 24px 24px 24px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--color-bright);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(2.8rem, 6.6vw, 5.2rem);
    line-height: 0.98;
}

.hero p {
    font-family: var(--font-body);
    text-align: left;
    margin-inline: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.hero-buttons {
    justify-content: flex-start;
}

.hero .btn-outline {
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.32);
}

.hero .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--color-ink);
}

/* Diagonal stripe divider — the one direct callback to the badge's
   ribbon motif. Used exactly once. */
.stripe-divider {
    height: 12px;
    width: 100%;
    background: repeating-linear-gradient(-45deg,
        var(--color-ink) 0,
        var(--color-ink) 14px,
        var(--color-primary) 14px,
        var(--color-primary) 28px);
}

/* ---- About ---- */
.about {
    background: var(--color-bg-alt);
}

.about-text h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    letter-spacing: 0.03em;
}

.about-list li {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-family: var(--font-body);
}

.about-list .mark {
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    clip-path: var(--clip-sm);
    flex-shrink: 0;
}

.about-image .emblem-panel {
    width: 100%;
    height: 420px;
    background: var(--color-ink);
    clip-path: var(--clip);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--color-shadow);
}

.about-image .emblem-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg,
        rgba(122, 22, 32, 0.14) 0,
        rgba(122, 22, 32, 0.14) 2px,
        transparent 2px,
        transparent 22px);
}

.about-image .emblem-panel::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.emblem-mono {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 4.5rem);
    letter-spacing: 0.04em;
    color: #FFFFFF;
}

.emblem-sub {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

/* ---- Events ---- */
.events {
    background: var(--color-bg);
}

.event-date {
    border-radius: 0 !important;
    clip-path: var(--clip-sm);
    font-family: var(--font-mono);
}

.event-date .day {
    font-family: var(--font-mono);
    font-weight: 600;
}

.event-tag {
    border-radius: 0;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
}

.event-card,
.featured-event {
    border-radius: var(--radius) !important;
}

.event-title {
    font-family: var(--font-primary);
}

/* ---- CTA ---- */
.cta-section {
    background: var(--color-ink);
    position: relative;
}

.cta-section::before {
    background: repeating-linear-gradient(-45deg,
        rgba(122, 22, 32, 0.22) 0,
        rgba(122, 22, 32, 0.22) 14px,
        transparent 14px,
        transparent 28px);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-section .btn {
    background-color: #FFFFFF;
    color: var(--color-primary-dark);
}

.cta-section .btn:hover {
    background-color: #F3EFE6;
}

/* ---- Contact ---- */
.info-item,
.contact-form-container {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
}

.form-group input,
.form-group textarea {
    border-radius: 0;
    background-color: var(--color-bg);
    font-family: var(--font-body);
}

.social-icon {
    border-radius: 0;
    clip-path: var(--clip-sm);
}

/* ---- Footer ---- */
footer {
    background: var(--color-ink);
    color: rgba(255, 255, 255, 0.56);
}

footer .developer {
    color: rgba(255, 255, 255, 0.34);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 24px;
    }

    .hero-eyebrow,
    .hero-buttons {
        justify-content: center;
    }

    .hero p {
        text-align: center;
        margin-inline: auto;
    }

    .hero::after {
        width: 320px;
        height: 320px;
        top: -120px;
        right: -120px;
    }
}

/* ---- Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .animate-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
