:root {
    --bg: #08080c;
    --bg-2: #101018;
    --bg-3: #171720;
    --card: rgba(255,255,255,.065);
    --card-strong: rgba(255,255,255,.105);
    --text: #f8f7f4;
    --muted: #b9b7b2;
    --line: rgba(255,255,255,.14);
    --primary: #D62828;
    --primary-dark: #9f1717;
    --secondary: #F77F00;
    --secondary-soft: rgba(247,127,0,.16);
    --shadow: 0 24px 70px rgba(0,0,0,.38);
    --radius: 22px;
    --container: 1160px;
    --font-head: 'Oswald', Impact, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(214,40,40,.24), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(247,127,0,.18), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--secondary); color: #111; padding: 10px 14px; border-radius: 999px; z-index: 20; }
.skip-link:focus { left: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8,8,12,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); letter-spacing: .02em; font-size: 1.35rem; text-transform: uppercase; color: #fff; }
.brand em { color: var(--secondary); font-style: normal; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #08080c; border-radius: 12px; font-weight: 900; box-shadow: 0 0 0 4px rgba(214,40,40,.14); }
.nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; background: rgba(0,0,0,.62); color: #fff; cursor: pointer; padding: 0; }
.hamburger-icon { display: grid; gap: 5px; width: 24px; height: 20px; align-content: center; pointer-events: none; }
.hamburger-icon span { display: block; width: 24px; height: 3px; border-radius: 999px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.25); }
.nav-toggle i, .nav-toggle svg { color: #fff; stroke: #fff; width: 25px; height: 25px; stroke-width: 2.6; }
.main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 82px; background: #050508; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
.main-nav.open { display: grid; }
.main-nav a { padding: 14px 14px; border-radius: 12px; color: #fff; font-weight: 900; border: 1px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.14); }
.main-nav .nav-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #100; }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { color: #100; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; }

@media (max-width: 979px) {
    .brand,
    .brand strong,
    .brand em {
        color: #fff;
    }

    .brand-mark {
        color: #fff;
        text-shadow: 0 1px 10px rgba(0,0,0,.35);
    }

    .nav-toggle {
        display: grid !important;
        color: #fff !important;
        background: rgba(0,0,0,.78);
        border-color: rgba(255,255,255,.48);
        box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 14px 30px rgba(0,0,0,.28);
    }

    .hamburger-icon,
    .hamburger-icon span {
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hamburger-icon span {
        background: #fff !important;
        border-color: #fff !important;
    }

    .nav-toggle i,
    .nav-toggle [data-lucide="menu"],
    .nav-toggle svg,
    .nav-toggle svg *,
    .nav-toggle svg path,
    .nav-toggle svg line,
    .nav-toggle svg polyline {
        color: #fff !important;
        stroke: #fff !important;
        fill: none !important;
    }
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 9vw, 6.8rem); max-width: 980px; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 1.1rem; max-width: 720px; }
.eyebrow, .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); font-weight: 900; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; margin-bottom: 14px; }
.tag { padding: 7px 10px; border: 1px solid rgba(247,127,0,.35); border-radius: 999px; background: var(--secondary-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 20px; font-weight: 900; border: 1px solid transparent; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #120808; box-shadow: 0 18px 38px rgba(214,40,40,.26); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.045); color: var(--text); }
.text-link { color: var(--secondary); font-weight: 900; border-bottom: 1px solid rgba(247,127,0,.4); }
.text-link:hover { color: #ffb055; }

.hero, .page-hero, .article-hero { position: relative; overflow: hidden; }
.hero { min-height: 760px; display: grid; align-items: center; padding: 96px 0; }
.hero-bg, .article-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero::after, .article-hero::after, .page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--bg)); z-index: -1; }
.hero-grid { display: grid; gap: 28px; align-items: end; }
.hero-copy p, .page-hero p, .article-hero p { font-size: 1.15rem; max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fight-card { border: 1px solid var(--line); background: rgba(8,8,12,.78); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 460px; }
.fight-card-top { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #120808; font-family: var(--font-head); font-size: 1.4rem; padding: 16px 18px; text-transform: uppercase; }
.stat-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px; border-top: 1px solid var(--line); }
.stat-row span { color: var(--muted); }
.stat-row strong { color: var(--text); text-align: right; }
.page-hero { padding: 122px 0 78px; background: linear-gradient(135deg, rgba(214,40,40,.16), transparent 48%), var(--bg-2); }
.page-hero.compact { padding: 112px 0 68px; }
.history-hero { background: linear-gradient(90deg, rgba(8,8,12,.94), rgba(8,8,12,.66)), url('https://images.pexels.com/photos/6296058/pexels-photo-6296058.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=900&w=1600') center/cover; }
.contact-hero { min-height: 56vh; display: grid; align-items: center; }
.contact-only { text-align: center; }
.contact-only a { font-size: clamp(1.5rem, 6vw, 4.6rem); font-family: var(--font-head); color: var(--secondary); word-break: break-word; }
.article-hero { min-height: 620px; display: grid; align-items: end; padding: 140px 0 80px; }
.article-hero h1 { font-size: clamp(2.8rem, 8vw, 5.9rem); }

.section { padding: 78px 0; }
.dark-band { background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(214,40,40,.08)); border-block: 1px solid var(--line); }
.split-layout, .history-intro, .split-image, .blog-layout, .article-layout { display: grid; gap: 34px; align-items: start; }
.card-grid, .values-grid, .tools-grid, .engine-grid, .post-grid { display: grid; gap: 18px; }
.feature-card, .sidebar-card, .tool-card, .post-card, .infographic-card, .values-grid article, .article-callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 18px 55px rgba(0,0,0,.16); }
.feature-card i { color: var(--secondary); width: 34px; height: 34px; margin-bottom: 18px; }
.feature-card h3, .values-grid h2 { color: var(--text); }
.editorial-grid { display: grid; gap: 22px; }
.big-story { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.big-story img { width: 100%; height: 310px; object-fit: cover; }
.big-story div { padding: 26px; }
.stacked-links { display: grid; gap: 14px; }
.stacked-links a { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; transition: transform .25s ease, border-color .25s ease; }
.stacked-links a:hover { transform: translateY(-3px); border-color: rgba(247,127,0,.5); }
.stacked-links span { display: block; color: var(--secondary); font: 800 .75rem var(--font-body); letter-spacing: .12em; margin-bottom: 8px; }
.infographic-panel { display: grid; gap: 26px; padding: 28px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, rgba(214,40,40,.18), rgba(255,255,255,.05)); }
.engine-grid div { min-height: 170px; border-radius: 22px; padding: 22px; background: #101018; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.engine-grid strong { font-family: var(--font-head); font-size: 2.5rem; color: var(--primary); }
.engine-grid span { font-weight: 900; color: var(--text); }
.engine-grid small { color: var(--muted); }
.cta-strip { display: grid; gap: 22px; align-items: center; padding: 30px; border-radius: 30px; background: linear-gradient(135deg, rgba(214,40,40,.22), rgba(247,127,0,.12)); border: 1px solid rgba(247,127,0,.24); }

.post-card { padding: 0; overflow: hidden; }
.post-card img { width: 100%; height: 240px; object-fit: cover; }
.post-body { padding: 24px; }
.sidebar-card { align-self: start; }
.sticky { position: sticky; top: 96px; }
.article-content { max-width: 760px; }
.article-content p { font-size: 1.08rem; }
.article-content h2 { margin-top: 38px; }
.article-callout { margin-top: 34px; background: linear-gradient(135deg, rgba(214,40,40,.2), rgba(247,127,0,.1)); }

.split-image img { border-radius: 28px; height: 520px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.mini-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mini-list span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-weight: 800; }
.timeline { position: relative; display: grid; gap: 18px; margin-top: 28px; }
.timeline article { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.timeline span { color: var(--secondary); font-weight: 900; }
.dna-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dna-row:last-child { border-bottom: 0; }
.dna-row span { color: var(--muted); }
.dna-row strong { text-align: right; }
.faq-block details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 12px; }
.faq-block summary { cursor: pointer; font-weight: 900; color: var(--text); }
.faq-block p { margin-top: 12px; }

.tools-grid { grid-template-columns: 1fr; }
.tool-form { display: grid; gap: 14px; margin-top: 22px; }
.tool-form label { display: grid; gap: 7px; color: var(--text); font-weight: 800; }
.tool-form input, .tool-form select { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.22); color: var(--text); padding: 13px 14px; outline: none; }
.tool-form input:focus, .tool-form select:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(247,127,0,.12); }
.tool-result { margin-top: 18px; padding: 16px; border-radius: 16px; background: rgba(247,127,0,.12); border: 1px solid rgba(247,127,0,.25); font-weight: 900; }
.weight-bars { display: grid; gap: 10px; margin-top: 24px; }
.weight-bars div { position: relative; display: flex; justify-content: space-between; gap: 12px; overflow: hidden; border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.weight-bars div::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, rgba(214,40,40,.45), rgba(247,127,0,.35)); z-index: 0; }
.weight-bars span, .weight-bars strong { position: relative; z-index: 1; }

.site-footer { border-top: 1px solid var(--line); background: #07070a; padding: 54px 0 28px; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h2 { font-size: 1.3rem; margin-bottom: 12px; }
.footer-grid a, .footer-grid span { display: block; color: var(--muted); margin: 8px 0; }
.footer-grid a:hover { color: var(--secondary); }
.footer-brand { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 22px; color: var(--muted); }

.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (min-width: 720px) {
    .container { width: min(100% - 48px, var(--container)); }
    .card-grid.three, .values-grid, .engine-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-card.wide { grid-column: 1 / -1; }
    .tool-form.inline { grid-template-columns: 1fr auto; align-items: end; }
    .cta-strip { grid-template-columns: 1fr auto; }
    .footer-grid { grid-template-columns: 1.5fr .8fr .8fr; }
}

@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; align-items: center; position: static; background: transparent; border: 0; box-shadow: none; padding: 0; }
    .main-nav a { padding: 10px 12px; color: var(--muted); font-weight: 800; border: 0; }
    .main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--card); border: 0; }
    .main-nav .nav-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #100; }
    .hero-grid { grid-template-columns: 1fr 390px; }
    .split-layout { grid-template-columns: .85fr 1.15fr; }
    .card-grid.three { grid-template-columns: repeat(3, 1fr); }
    .editorial-grid { grid-template-columns: 1.6fr .8fr; }
    .big-story { display: grid; grid-template-columns: .92fr 1fr; align-items: center; }
    .big-story img { height: 100%; min-height: 430px; }
    .engine-grid { grid-template-columns: repeat(4, 1fr); }
    .history-intro { grid-template-columns: 1.1fr .8fr; }
    .split-image { grid-template-columns: .88fr 1fr; align-items: center; }
    .split-image.reverse { grid-template-columns: 1fr .88fr; }
    .split-image.reverse img { order: 2; }
    .blog-layout { grid-template-columns: 1fr 330px; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 330px; }
    .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1180px) {
    .post-grid { grid-template-columns: repeat(3, 1fr); }
}