/* ==========================================================
           Esports Heaven — multi-page mockup in ONE HTML file
           - Uses hash routing: #/ , #/publishing , #/museum , #/chronology , #/stories , #/support , #/about
           - No build tools; works as a static file.
           Replace hero video assets: assets/hero.mp4 + assets/hero-poster.jpg
           ========================================================== */

:root{
    --bg: #f3f7f4;
    --bg2:#ffffff;
    --card:#ffffffcc;
    --cardSolid:#ffffff;
    --text:#0b1b12;
    --muted:#173526;
    --muted2:#245640;
    --line:#0b1b1214;

    /* Brand stays green, but calmer (non-profit / museum feel) */
    --brand:#1fbf73;
    --brand2:#0aa36a;
    --accent:#2bd38b;

    --good:#1fbf73;
    --warn:#c89b2a;

    --shadow: 0 18px 60px rgba(0,0,0,.10);
    --shadow2: 0 12px 30px rgba(0,0,0,.08);
    --radius: 18px;
    --radius2: 26px;
    --max: 1140px;
    --ease: cubic-bezier(.2,.9,.2,1);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color:var(--text);
    background:
            radial-gradient(1100px 720px at 10% -10%, rgba(31,191,115,.16), transparent 60%),
            radial-gradient(900px 560px at 92% 10%, rgba(10,163,106,.10), transparent 55%),
            linear-gradient(180deg, var(--bg), var(--bg2));
    overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
.container{ width:min(var(--max), calc(100% - 48px)); margin:0 auto; }

.grid-bg{
    position:fixed; inset:0;
    background-image:
            linear-gradient(to right, rgba(0,0,0,.05) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity:.05;
    pointer-events:none;
    mask-image: radial-gradient(70% 70% at 50% 6%, #000 45%, transparent 85%);
}

/* Top nav */
.topbar{
    position:sticky; top:0; z-index:50;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
    border-bottom:1px solid var(--line);
}
.nav{
    display:flex; align-items:center; justify-content:space-between;
    padding: 16px 0;
    gap: 12px;
}
.brand{
    display:flex; align-items:center; gap:10px; min-width: 230px;
}
.brand h1{
    margin:0;
    font-size:14px;
    letter-spacing:.6px;
    text-transform:uppercase;
    line-height:1.1;
}
.brand span{
    display:block;
    color: rgba(23,53,38,.82);
    font-weight:650;
    font-size:12px;
    letter-spacing:.25px;
    margin-top:3px;
    opacity:.95;
}

/* Logo (inline SVG) */
.mark{
    width:38px; height:38px;
    border-radius: 14px;
    display:grid; place-items:center;
    background: rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.10);
    box-shadow: 0 14px 34px rgba(44,255,147,.14);
    overflow:hidden;
}
.mark svg{ width:30px; height:30px; display:block; }

.navlinks{
    display:flex; align-items:center; gap:10px;
    flex-wrap:wrap;
    justify-content:center;
}
.navlinks a{
    color: rgba(11,27,18,.78);
    font-weight:850;
    font-size:13px;
    padding:10px 10px;
    border-radius: 12px;
    border:1px solid transparent;
    transition: all .18s var(--ease);
    opacity:1;
}
.navlinks a:hover{
    color: rgba(11,27,18,.95);
    border-color: rgba(11,27,18,.10);
    background: rgba(11,27,18,.04);
}
.navlinks a.active{
    color:#ffffff;
    background: linear-gradient(135deg, rgba(31,191,115,.96), rgba(10,163,106,.92));
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 18px 60px rgba(31,191,115,.18);
}

.navcta{
    display:flex; align-items:center; gap:10px;
    min-width: 260px; justify-content:flex-end;
}
.pill{
    display:inline-flex; align-items:center; gap:8px;
    padding: 10px 12px;
    border-radius: 999px;
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.86);
    color: rgba(11,27,18,.72);
    font-size:12px;
    font-weight:800;
}
.dot{
    width:8px; height:8px; border-radius:999px;
    background: radial-gradient(circle at 30% 30%, #fff, var(--brand));
    box-shadow: 0 0 16px rgba(31,191,115,.22);
}
.btn{
    display:inline-flex; align-items:center; justify-content:center;
    gap:10px;
    padding: 12px 14px;
    border-radius: 14px;
    border:1px solid rgba(11,27,18,.12);
    background: rgba(255,255,255,.92);
    color: rgba(11,27,18,.92);
    font-weight:950;
    font-size:13px;
    letter-spacing:.2px;
    transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
    box-shadow: var(--shadow2);
    cursor:pointer;
    user-select:none;
}
.btn:hover{
    transform: translateY(-1px);
    background: #ffffff;
    border-color: rgba(11,27,18,.18);
}
.btn.primary{
    background: linear-gradient(135deg, rgba(31,191,115,.96), rgba(10,163,106,.92));
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 18px 50px rgba(31,191,115,.20);
    color:#ffffff;
}
.btn.primary:hover{ transform: translateY(-2px); }
.btn.ghost{
    box-shadow:none;
    background: transparent;
    border-color: rgba(11,27,18,.14);
    color: rgba(11,27,18,.80);
    font-weight:950;
}

/* Mobile menu */
.hamburger{
    display:none;
    width:42px; height:42px;
    border-radius: 14px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    cursor:pointer;
    align-items:center;
    justify-content:center;
    gap:4px;
    flex-direction:column;
}
.hamburger span{
    width:18px; height:2px; border-radius: 2px;
    background: rgba(255,255,255,.90);
    opacity:.85;
}
.drawer-overlay{
    position:fixed; inset:0; z-index:99;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(6px);
    opacity:0; pointer-events:none;
    transition: opacity .18s var(--ease);
}
.drawer{
    position:fixed; z-index:100; top:0; right:0; height:100%; width:min(92vw, 420px);
    background: rgba(255,255,255,.96);
    border-left: 1px solid rgba(11,27,18,.10);
    transform: translateX(105%);
    transition: transform .22s var(--ease);
    box-shadow: var(--shadow);
    padding: 18px;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.drawer .row{ display:flex; align-items:center; justify-content:space-between; }
.drawer h3{ margin:0; font-size:14px; letter-spacing:.6px; text-transform:uppercase; color: rgba(23,53,38,.80); }
.drawer a{
    padding: 12px 12px;
    border-radius: 14px;
    border:1px solid rgba(11,27,18,.10);
    background: rgba(11,27,18,.04);
    font-weight:900;
    color: rgba(11,27,18,.92);
}
.drawer .stack{ display:flex; flex-direction:column; gap:10px; }
.drawer-open .drawer-overlay{ opacity:1; pointer-events:auto; }
.drawer-open .drawer{
    position:fixed; z-index:100; top:0; right:0; height:100%; width:min(92vw, 420px);
    background: rgba(255,255,255,.96);
    border-left: 1px solid rgba(11,27,18,.10);
    transform: translateX(105%);
    transition: transform .22s var(--ease);
    box-shadow: var(--shadow);
    padding: 18px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

/* Page shell */
main{ min-height: 60vh; }
.page{ display:none; }
.page.active{ display:block; }
section{ padding: 56px 0; }

.section-title{
    display:flex; align-items:flex-end; justify-content:space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.section-title h2{ margin:0; font-size: 22px; letter-spacing:-.2px; }
.section-title p{
    margin:0;
    color: rgba(11,27,18,.72);
    max-width: 78ch;
    line-height:1.55;
    font-size: 13px;
}

/* HERO (home only) */
.hero{
    position:relative;
    padding: 74px 0 26px;
    overflow:hidden;
    border-bottom:1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.10);
}
/* Hero uses white text over video for a nonprofit "campaign" feel */
.hero, .hero a{ color: rgba(255,255,255,.96); }
.hero .lead{ color: rgba(255,255,255,.88); }
.hero .kicker{ background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.20); }

.hero-media{ position:absolute; inset:-1px; z-index:0; pointer-events:none; }
.hero-media video{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    filter: saturate(1.05) contrast(1.05) brightness(.72);
    transform: scale(1.04);
}
.hero-media::after{
    content:"";
    position:absolute; inset:0;
    background:
            radial-gradient(900px 520px at 18% 15%, rgba(44,255,147,.26), transparent 60%),
            radial-gradient(820px 540px at 88% 30%, rgba(0,212,138,.18), transparent 62%),
            linear-gradient(180deg, rgba(5,11,7,.62), rgba(5,11,7,.88));
}
.hero-media::before{
    content:"";
    position:absolute; inset:0;
    background: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.035) 0px,
    rgba(255,255,255,.035) 1px,
    transparent 3px,
    transparent 7px
    );
    opacity:.12;
    mix-blend-mode: overlay;
}
.hero > .container{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns: 1.15fr .95fr; gap: 26px; align-items:stretch; }
.kicker{
    display:inline-flex; align-items:center; gap:10px;
    color: rgba(191,232,207,.96);
    font-weight:900;
    font-size:12px;
    letter-spacing:.4px;
    text-transform:uppercase;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    width: fit-content;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.chip{
    width:10px; height:10px; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    box-shadow: 0 0 18px rgba(53,255,159,.25);
}
.h1{
    margin: 16px 0 10px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -1.2px;
    text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.h1 .grad{
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,.72) 35%, rgba(44,255,147,.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead{
    margin: 0;
    color: rgba(11,27,18,.74);
    font-size: 16px;
    line-height: 1.65;
    max-width: 64ch;
    text-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.hero-actions{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top: 18px; }
.mini{ display:flex; gap:14px; margin-top: 18px; flex-wrap:wrap; color: rgba(23,53,38,.70); font-weight:800; font-size:13px; }
.mini .item{
    display:flex; align-items:center; gap:10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(6px);
}

/* Generic panels/cards */
.cards{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.card{
    border-radius: var(--radius);
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow2);
    overflow:hidden;
    position:relative;
}
.card .pad{ padding: 16px; }
.card h3{ margin:0 0 6px; font-size:14px; letter-spacing:.2px; }
.card p{ margin:0; color: rgba(11,27,18,.70); font-size: 13px; line-height:1.55; }

.tagrow{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px; }
.tag{
    font-size: 11px;
    font-weight:950;
    color: rgba(11,27,18,.88);
    border:1px solid rgba(11,27,18,.12);
    background: rgba(31,191,115,.10);
    padding: 7px 9px;
    border-radius: 999px;
    letter-spacing:.2px;
}
.tag.good{ border-color: rgba(31,191,115,.22); background: rgba(31,191,115,.14); }
.tag.green{ border-color: rgba(10,163,106,.22); background: rgba(10,163,106,.12); }
.tag.warm{ border-color: rgba(200,155,42,.22); background: rgba(200,155,42,.12); }

/* Right-side home panel */
.panel{
    border-radius: var(--radius2);
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(11,27,18,.10);
    box-shadow: var(--shadow);
    overflow:hidden;
    position:relative;
    min-height: 360px;
    backdrop-filter: blur(10px);
}
.panel:before{
    content:"";
    position:absolute; inset:-80px -60px auto auto;
    width:260px; height:260px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(44,255,147,.18), transparent 65%);
    filter: blur(2px);
    opacity:.95;
    pointer-events:none;
}
.panel-inner{ padding: 18px; display:flex; flex-direction:column; gap: 14px; }
.panel-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.badge{
    display:inline-flex; align-items:center; gap:10px;
    padding: 10px 12px;
    border-radius: 999px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    font-weight:950;
    font-size:12px;
    letter-spacing:.2px;
    color: rgba(191,232,207,.95);
}
.badge .spark{
    width:10px; height:10px; border-radius: 3px;
    background: linear-gradient(135deg, var(--warn), var(--brand2));
    transform: rotate(12deg);
    box-shadow: 0 0 18px rgba(255,211,106,.14);
}
.panel h2{ margin: 0; font-size: 16px; letter-spacing:.2px; }
.panel p{ margin:0; color: rgba(11,27,18,.70); line-height:1.55; font-size: 13px; }

.searchmock{
    margin-top: 6px;
    border-radius: 16px;
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.92);
    padding: 12px;
    display:flex;
    flex-direction:column;
    gap: 10px;
}
.searchbar{
    display:flex; align-items:center; gap:10px;
    border-radius: 14px;
    background: rgba(11,27,18,.04);
    border:1px solid rgba(11,27,18,.10);
    padding: 10px 12px;
    color: rgba(11,27,18,.72);
    font-size: 12px;
}
.mag{
    width:14px; height:14px; border-radius: 999px;
    border:2px solid rgba(255,255,255,.75);
    position:relative;
    opacity:.9;
}
.mag:after{
    content:"";
    position:absolute;
    width:8px; height:2px; border-radius: 2px;
    background: rgba(255,255,255,.75);
    right:-8px; bottom:-5px;
    transform: rotate(35deg);
}
.results{ display:grid; grid-template-columns: 1fr; gap: 10px; }
.result{
    border-radius: 14px;
    border:1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.03);
    padding: 10px 12px;
    display:flex;
    gap: 10px;
    align-items:flex-start;
}
.cover{
    width:42px; height:56px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(44,255,147,.45), rgba(0,212,138,.25));
    border:1px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
    position:relative;
    overflow:hidden;
    flex: 0 0 auto;
}
.cover:before{
    content:"";
    position:absolute; inset:-20px -40px auto auto;
    width:80px; height:80px; border-radius: 999px;
    background: rgba(255,255,255,.22);
    transform: rotate(25deg);
    filter: blur(1px);
}
.rtext{ display:flex; flex-direction:column; gap:4px; }
.rtitle{ font-weight:980; font-size: 12px; letter-spacing:.2px; }
.rmeta{ font-size: 11px; color: rgba(11,27,18,.62); line-height:1.4; }

/* Publishing bookshelf */
.bookshelf{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    box-shadow: var(--shadow2);
    overflow:hidden;
}
.bookshelf-head{
    padding: 16px;
    display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.12);
}
.bookshelf-head h3{ margin:0; font-size: 14px; letter-spacing:.2px; }
.bookshelf-head p{ margin:0; color: rgba(11,27,18,.72); font-size: 12.5px; line-height:1.5; max-width: 78ch; }
.bookgrid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.book{
    padding: 16px;
    border-right:1px solid rgba(255,255,255,.08);
    position:relative;
    min-height: 210px;
    display:flex;
    gap: 14px;
    align-items:flex-start;
}
.book:last-child{ border-right:none; }
.spine{
    width: 56px; height: 160px;
    border-radius: 16px;
    border:1px solid rgba(255,255,255,.12);
    background:
            radial-gradient(70px 60px at 30% 20%, rgba(255,255,255,.22), transparent 55%),
            linear-gradient(135deg, rgba(44,255,147,.35), rgba(0,212,138,.18));
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    position:relative;
    overflow:hidden;
    flex:0 0 auto;
}
.spine:after{
    content:"";
    position:absolute; inset: 10px;
    border-radius: 14px;
    border:1px solid rgba(255,255,255,.18);
    opacity:.65;
}
.book h4{ margin:0 0 6px; font-size: 14px; letter-spacing:.2px; }
.book .by{ color: rgba(23,53,38,.70); font-weight:900; font-size: 12px; margin-bottom: 10px; }
.book p{ margin:0; color: rgba(11,27,18,.72); font-size: 12.5px; line-height:1.55; }
.book .meta2{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }



/* Year-one publishing layout (looks intentional with 1–3 books) */
.slate{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
    align-items:stretch;
    margin-top:14px;
}
.featured{
    border-radius: var(--radius2);
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow2);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height: 320px;
    position:relative;
}
.featured .head{
    padding: 16px;
    border-bottom:1px solid rgba(11,27,18,.10);
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 12px;
    background: rgba(11,27,18,.03);
}
.featured .head h3{ margin:0; font-size: 14px; letter-spacing:.2px; }
.featured .head p{ margin:0; color: rgba(11,27,18,.66); font-size: 12.5px; line-height:1.5; max-width: 70ch; }
.featured .body{
    padding: 16px;
    display:flex;
    gap: 16px;
    align-items:flex-start;
    flex:1;
}
.coverBig{
    width: 120px; height: 176px;
    border-radius: 18px;
    border:1px solid rgba(11,27,18,.12);
    background:
            radial-gradient(90px 70px at 35% 25%, rgba(255,255,255,.45), transparent 58%),
            linear-gradient(135deg, rgba(31,191,115,.22), rgba(10,163,106,.12));
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    position:relative;
    overflow:hidden;
    flex: 0 0 auto;
}
.coverBig:after{
    content:"";
    position:absolute; inset: 14px;
    border-radius: 14px;
    border:1px solid rgba(11,27,18,.12);
    opacity:.9;
}
.featured h4{ margin:0 0 6px; font-size: 18px; letter-spacing:-.2px; }
.featured .by{ color: rgba(23,53,38,.74); font-weight:900; font-size: 12.5px; margin-bottom: 10px; }
.featured .desc{ margin:0; color: rgba(11,27,18,.72); font-size: 13px; line-height:1.6; }
.featured .actions{ margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; }

.stackpanel{
    border-radius: var(--radius2);
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow2);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
.stackpanel .head{
    padding: 16px;
    border-bottom:1px solid rgba(11,27,18,.10);
    background: rgba(11,27,18,.03);
    display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.stackpanel .head h3{ margin:0; font-size: 14px; letter-spacing:.2px; }
.stackpanel .head p{ margin:0; color: rgba(11,27,18,.66); font-size: 12.5px; line-height:1.5; }
.miniBooks{ padding: 10px 16px 16px; display:flex; flex-direction:column; gap: 10px; }
.miniBook{
    display:flex; gap: 12px; align-items:flex-start;
    border-radius: 16px;
    border:1px solid rgba(11,27,18,.10);
    background: rgba(11,27,18,.02);
    padding: 12px;
}
.miniCover{
    width: 54px; height: 76px;
    border-radius: 14px;
    border:1px solid rgba(11,27,18,.12);
    background: linear-gradient(135deg, rgba(10,163,106,.16), rgba(31,191,115,.10));
    box-shadow: 0 12px 26px rgba(0,0,0,.08);
    flex: 0 0 auto;
    position:relative;
    overflow:hidden;
}
.miniCover:before{
    content:"";
    position:absolute; inset:-20px -30px auto auto;
    width:70px; height:70px; border-radius:999px;
    background: rgba(255,255,255,.45);
    opacity:.7;
    transform: rotate(18deg);
}
.miniBook .t{ font-weight:980; font-size: 13px; margin:0; }
.miniBook .m{ margin:4px 0 0; color: rgba(11,27,18,.66); font-size: 12px; line-height:1.45; }
.miniBook .badge2{
    margin-left:auto;
    font-size:11px;
    font-weight:950;
    color: rgba(11,27,18,.70);
    border:1px solid rgba(11,27,18,.12);
    background: rgba(255,255,255,.85);
    padding: 7px 9px;
    border-radius: 999px;
    white-space:nowrap;
    height: fit-content;
}
.miniBook.soon{
    background: rgba(255,255,255,.70);
    border-style:dashed;
}
.miniBook.soon .miniCover{
    background: linear-gradient(135deg, rgba(11,27,18,.06), rgba(11,27,18,.02));
    box-shadow:none;
}
.miniBook.soon .t{ color: rgba(11,27,18,.70); }
.miniBook.soon .m{ color: rgba(11,27,18,.58); }

.yearone{
    margin-top: 14px;
    border-radius: var(--radius2);
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow2);
    overflow:hidden;
}
.yearone .head{
    padding: 16px;
    border-bottom:1px solid rgba(11,27,18,.10);
    background: rgba(11,27,18,.03);
    display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.yearone .head h3{ margin:0; font-size: 14px; letter-spacing:.2px; }
.yearone .head p{ margin:0; color: rgba(11,27,18,.66); font-size: 12.5px; line-height:1.5; max-width: 78ch; }
.milestones{
    padding: 14px 16px 16px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.ms{
    border-radius: 16px;
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.96);
    padding: 12px;
}
.ms .k{ font-weight:980; font-size: 12px; margin:0 0 6px; color: rgba(23,53,38,.86); }
.ms .v{ margin:0; color: rgba(11,27,18,.70); font-size: 12px; line-height:1.45; }
@media (max-width: 980px){
    .slate{ grid-template-columns: 1fr; }
    .milestones{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
    .milestones{ grid-template-columns: 1fr; }
    .featured .body{ flex-direction:column; }
}
/* Timeline */
.timeline{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    box-shadow: var(--shadow2);
    overflow:hidden;
}
.timeline-head{
    padding: 16px;
    display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.12);
}
.timeline-head h3{ margin:0; font-size: 14px; letter-spacing:.2px; }
.timeline-head p{ margin:0; color: rgba(11,27,18,.72); font-size: 12px; line-height:1.5; max-width: 78ch; }
.ticks{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.tick{
    padding: 14px 14px 16px;
    border-right:1px solid rgba(255,255,255,.08);
    position:relative;
    min-height: 132px;
}
.tick:last-child{ border-right:none; }
.year{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:980;
    letter-spacing:.2px;
    font-size: 12px;
}
.bar{
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    margin: 10px 0 12px;
    overflow:hidden;
}
.bar > i{
    display:block;
    height:100%;
    width: 60%;
    background: linear-gradient(135deg, rgba(44,255,147,.92), rgba(0,212,138,.85));
    border-radius: 999px;
    opacity:.95;
}
.tick p{ margin:0; color: rgba(11,27,18,.72); font-size: 12px; line-height:1.5; }

/* Stories */
.blog{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    overflow:hidden;
    box-shadow: var(--shadow2);
    display:flex;
    flex-direction:column;
    min-height: 280px;
}
.thumb{
    height: 128px;
    background:
            radial-gradient(120px 120px at 30% 30%, rgba(255,255,255,.20), transparent 60%),
            linear-gradient(135deg, rgba(0,212,138,.16), rgba(44,255,147,.16));
    border-bottom:1px solid rgba(255,255,255,.08);
    position:relative;
}
.thumb:after{
    content:"";
    position:absolute; inset: 18px 18px auto auto;
    width:52px; height:52px; border-radius: 16px;
    border:1px solid rgba(255,255,255,.22);
    background: rgba(0,0,0,.10);
    transform: rotate(8deg);
}
.post .pad{ padding: 14px 16px 16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.meta{ font-size: 11px; color: rgba(23,53,38,.78); font-weight:900; letter-spacing:.25px; }
.ptitle{ font-size: 14px; font-weight:990; letter-spacing:.2px; line-height:1.25; }
.pbody{ font-size: 12.5px; color: rgba(11,27,18,.72); line-height:1.55; }
.post .foot{
    padding: 12px 16px;
    border-top:1px solid rgba(255,255,255,.08);
    display:flex; align-items:center; justify-content:space-between;
    color: rgba(11,27,18,.70);
    font-weight:900;
    font-size: 12px;
    background: rgba(0,0,0,.10);
}

/* Support */
.support{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.12);
    background:
            radial-gradient(600px 240px at 10% 30%, rgba(44,255,147,.18), transparent 60%),
            radial-gradient(620px 260px at 90% 10%, rgba(0,212,138,.16), transparent 58%),
            linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    box-shadow: var(--shadow);
    padding: 22px;
    display:grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 16px;
    overflow:hidden;
    position:relative;
}
.support h3{ margin:0 0 8px; font-size: 16px; letter-spacing:.2px; }
.support p{ margin:0; color: rgba(11,27,18,.72); line-height:1.65; font-size: 13px; }

.form{
    display:flex;
    flex-direction:column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border:1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
}
.row2{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input, select{
    width:100%;
    border-radius: 14px;
    padding: 12px 12px;
    border:1px solid rgba(11,27,18,.14);
    background: rgba(255,255,255,.98);
    color: rgba(11,27,18,.92);
    outline:none;
    font-weight:800;
    font-size: 13px;
}
input::placeholder{ color: rgba(11,27,18,.55); }
.fine{ color: rgba(11,27,18,.62); font-size: 11px; line-height:1.45; }

/* Footer */
footer{
    padding: 44px 0 58px;
    border-top: 1px solid rgba(11,27,18,.10);
    background: rgba(255,255,255,.85);
}
.footgrid{
    display:grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 18px;
    align-items:start;
}
.footgrid h4{
    margin:0 0 10px;
    font-size: 12px;
    letter-spacing:.6px;
    text-transform:uppercase;
    color: rgba(11,27,18,.70);
}
.footgrid a{
    display:block;
    color: rgba(255,255,255,.84);
    font-weight:900;
    font-size: 13px;
    padding: 6px 0;
    opacity:.9;
}
.footgrid a:hover{ opacity:1; }
.subtle{ color: rgba(11,27,18,.70); font-size: 12px; line-height:1.6; }
.copyright{
    margin-top: 18px;
    color: rgba(11,27,18,.62);
    font-size: 12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 10px;
    flex-wrap:wrap;
}
.toplink{
    color: rgba(255,255,255,.88);
    font-weight:950;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    padding: 10px 12px;
    border-radius: 14px;
}

/* Toast */
.toast{
    position:fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(4,12,8,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
    opacity:0;
    pointer-events:none;
    transition: opacity .18s var(--ease), transform .18s var(--ease);
    z-index: 999;
    color: var(--text);
    font-weight:900;
    font-size: 13px;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 980px){
    .hero-grid{ grid-template-columns: 1fr; }
    .navlinks{ display:none; }
    .navcta{ min-width: auto; }
    .hamburger{ display:flex; }
    .support{ grid-template-columns: 1fr; }
    .ticks{ grid-template-columns: repeat(3, 1fr); }
    .tick{ border-right:none; border-bottom:1px solid rgba(255,255,255,.08); }
    .tick:nth-last-child(-n+3){ border-bottom:none; }
    .bookgrid{ grid-template-columns: 1fr; }
    .book{ border-right:none; border-bottom:1px solid rgba(255,255,255,.08); }
    .book:last-child{ border-bottom:none; }
    .blog{ grid-template-columns: 1fr; }
    .footgrid{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
    .container{ width: min(var(--max), calc(100% - 28px)); }
    .nav{ padding: 14px 0; }
    section{ padding: 44px 0; }
    .row2{ grid-template-columns: 1fr; }
    .ticks{ grid-template-columns: 1fr; }
    .tick{ border-bottom:1px solid rgba(255,255,255,.08); }
    .tick:last-child{ border-bottom:none; }
}

@media (prefers-reduced-motion: reduce){
    .hero-media video{ filter: brightness(.78); transform:none; }
}