:root{
    --bg:#171009;
    --board:#1d160e;
    --paper:#f7efdc;
    --paper-dim:#efe3c8;
    --ink:#f4f0e6;
    --ink-dark:#2a2113;
    --muted:#a89b83;
    --accent:#ffb703;      /* marker gold — brand */
    --accent2:#e2572b;     /* rust pin / tape */
    --accent3:#3f7a68;     /* stamp green */
    --border:#3a2f1e;
    --hand:'Permanent Marker', cursive;
    --mono:'Space Mono', monospace;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
    font-family:'Inter', sans-serif;
    background-color:var(--bg);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.035) 1px, transparent 0);
    background-size:16px 16px;
    color:var(--ink);
    line-height:1.6;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

a{ color:inherit; }

::selection{ background:var(--accent); color:#1a1207; }

@media (prefers-reduced-motion: reduce){
    *{ animation-duration:.001s !important; animation-iteration-count:1 !important; transition-duration:.001s !important; }
}

/* ── shared hand-drawn bits ── */

.hand{ font-family:var(--hand); }

/* ── icon system (replaces UI emoji; color follows text via currentColor) ── */
.icon{
    display:inline-block;
    width:1em; height:1em;
    vertical-align:-0.15em;
    flex-shrink:0;
}
.icon-lead{ margin-right:7px; }
.icon-trail{ margin-left:6px; }

.tape{
    position:absolute;
    width:76px; height:28px;
    background:linear-gradient(135deg, rgba(255,244,214,.75), rgba(255,224,170,.5));
    border:1px solid rgba(255,255,255,.5);
    box-shadow:0 3px 6px rgba(0,0,0,.28);
    z-index:4;
}
.tape.tl{ top:-14px; left:14px; transform:rotate(-8deg); }
.tape.tr{ top:-14px; right:14px; transform:rotate(7deg); }
.tape.tc{ top:-14px; left:50%; transform:translateX(-50%) rotate(-4deg); }

.pin{
    position:absolute; top:-11px; left:50%; transform:translateX(-50%);
    width:17px; height:17px; border-radius:50%;
    background:radial-gradient(circle at 32% 30%, #ff7a63, var(--accent2) 72%);
    box-shadow:0 3px 6px rgba(0,0,0,.45), inset 0 -2px 2px rgba(0,0,0,.25);
    z-index:5;
}

.stamp{
    display:inline-flex;
    align-self:flex-start;
    align-items:center;
    gap:6px;
    font-family:var(--mono);
    font-size:.72rem;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    color:var(--accent3);
    border:2px solid var(--accent3);
    border-radius:6px;
    padding:5px 10px;
    transform:rotate(-4deg);
    opacity:.9;
}

.badge{
    display:inline-block;
    background:var(--accent);
    color:#1c1305;
    padding:9px 16px;
    border-radius:3px;
    margin-bottom:18px;
    font-family:var(--mono);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.5px;
    box-shadow:0 6px 14px rgba(0,0,0,.35);
    transform:rotate(-2deg);
    position:relative;
}

.eyebrow{
    display:flex;
    align-items:center;
    gap:10px;
    font-family:var(--mono);
    font-size:.75rem;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:10px;
}
.eyebrow::before{
    content:"";
    width:22px; height:1px;
    background:var(--accent2);
}

/* ── nav ── */

nav{
    padding:22px 0;
    border-bottom:1px dashed var(--border);
    position:sticky;
    top:0;
    background:rgba(23,16,9,.88);
    backdrop-filter:blur(6px);
    z-index:50;
}

.nav-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-block{ display:flex; align-items:baseline; gap:10px; }

.logo{
    font-family:var(--hand);
    font-size:1.7rem;
    color:var(--accent);
    transform:rotate(-3deg);
}

.logo-sub{
    font-family:var(--mono);
    font-size:.68rem;
    color:var(--muted);
    letter-spacing:1px;
}

.nav-links{ display:flex; gap:28px; }

.nav-links a{
    text-decoration:none;
    color:var(--ink);
    font-size:.9rem;
    font-weight:500;
    position:relative;
}
.nav-links a:hover{ color:var(--accent); }

.btn{
    display:inline-block;
    padding:13px 22px;
    border-radius:4px;
    text-decoration:none;
    font-weight:700;
    font-size:.88rem;
    transition:.25s;
    border:2px solid transparent;
}

.btn-primary{
    background:var(--accent);
    color:#1c1305;
    box-shadow:0 6px 0 #b98200;
}
.btn-primary:hover{ transform:translateY(2px); box-shadow:0 4px 0 #b98200; }

.btn-secondary{
    background:transparent;
    border:2px dashed var(--accent2);
    color:var(--accent2);
}
.btn-secondary:hover{ background:rgba(226,87,43,.12); transform:translateY(-2px); }

/* ── hero ── */

.hero{
    padding:100px 0 90px;
    position:relative;
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:50px;
    align-items:center;
}

.hero h1{
    font-family:var(--hand);
    font-size:clamp(3.2rem,7vw,5.6rem);
    line-height:1.02;
    margin:6px 0 26px;
}
.hero h1 span{ display:inline-block; }
.hero h1 .l1{ transform:rotate(-2deg); }
.hero h1 .l2{ color:var(--accent); transform:rotate(1.5deg); margin-left:.4em; }
.hero h1 .l3{ transform:rotate(-1deg); }

.hero p.lede{
    max-width:560px;
    color:var(--muted);
    font-size:1.05rem;
}

.hero-buttons{
    margin-top:36px;
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}
.hero-buttons a:nth-child(2){ transform:rotate(-1deg); }
.hero-buttons a:nth-child(3){ transform:rotate(1deg); }

.hero-photo-wrap{
    position:relative;
    display:flex;
    justify-content:center;
}

.hero-sticky{
    position:absolute;
    top:-18px;
    right:-6px;
    background:var(--accent);
    color:#1c1305;
    font-family:var(--mono);
    font-size:.7rem;
    font-weight:700;
    padding:10px 12px;
    width:112px;
    line-height:1.4;
    box-shadow:4px 6px 0 rgba(0,0,0,.35);
    transform:rotate(6deg);
    z-index:6;
}

/* ── polaroid / index-card system ── */

.polaroid{
    position:relative;
    background:var(--paper);
    padding:12px 12px 44px;
    box-shadow:0 14px 30px rgba(0,0,0,.5), 0 3px 8px rgba(0,0,0,.35);
}
.polaroid img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.polaroid figcaption{
    position:absolute;
    bottom:10px; left:0; right:0;
    text-align:center;
    font-family:var(--hand);
    font-size:.95rem;
    color:#2c2412;
}

/* ── hero flip effect ── */
.flip-polaroid .flip-inner{
    position:relative;
    width:100%;
    aspect-ratio:1/1; /* match this to your photo's real w/h ratio, e.g. 1/1 for square, 3/4 for classic portrait */
    perspective:1000px;
}
.flip-polaroid .flip-img{
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transform:rotateY(90deg);
    transition:transform .6s ease, opacity .3s ease;
    backface-visibility:hidden;
}
.flip-polaroid .flip-img.active{
    opacity:1;
    transform:rotateY(0deg);
}

.index-card{
    position:relative;
    background:var(--paper-dim);
    border-radius:3px;
    box-shadow:0 14px 30px rgba(0,0,0,.45);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:100%;
}
.index-card::after{
    content:"";
    position:absolute;
    top:0; bottom:0; left:36px;
    width:1.5px;
    background:#c0596b;
    opacity:.4;
}

/* ── section shell ── */

.section{ padding:100px 0; position:relative; }

.section-head{ margin-bottom:56px; max-width:640px; }

.section-title{
    font-family:var(--hand);
    font-size:2.3rem;
    line-height:1.15;
    transform:rotate(-1deg);
}

.section-note{
    color:var(--muted);
    margin-top:12px;
    font-size:.98rem;
}

/* ── programs ── */

.grid{
    display:grid;
    grid-template-columns:1fr;
    gap:34px;
}

@media(min-width:880px){
    .grid.programs-grid{ grid-template-columns:repeat(3,1fr); }
    .grid.playbook-grid{ grid-template-columns:repeat(2,1fr); }
}

.card{
    padding-top:22px;
}

.card-photo{
    margin:0 16px;
    height:170px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
}
.card-photo img{
    width:100%; height:100%; object-fit:cover; display:block;
    filter:sepia(.08) contrast(1.02);
}

.card-body{
    padding:20px 22px 24px;
    color:var(--ink-dark);
    display:flex;
    flex-direction:column;
    flex:1;
}

.card-body h3{
    font-family:var(--hand);
    font-size:1.25rem;
    margin-bottom:10px;
    color:#20180c;
}

.card-body p{
    color:#4a3f2b;
    font-size:.92rem;
    margin-bottom:14px;
}

.card-tag{
    display:inline-block;
    align-self:flex-start;
    font-family:var(--mono);
    font-size:.7rem;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    padding:4px 9px;
    border-radius:3px;
    margin-bottom:10px;
}
.card-tag.open{ background:rgba(63,122,104,.15); color:var(--accent3); }
.card-tag.soon{ background:rgba(226,87,43,.14); color:var(--accent2); }

.step-num{
    display:inline-flex; align-items:center; justify-content:center;
    width:34px; height:34px; border-radius:50%;
    background:var(--accent); color:#1c1305;
    font-family:var(--mono); font-weight:700; font-size:.95rem;
    margin-bottom:14px;
}

.card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    border-top:1px dashed rgba(0,0,0,.18);
    padding-top:14px;
    margin-top:auto;
}

.price{
    font-family:var(--mono);
    font-weight:700;
    font-size:1.05rem;
    color:var(--accent2);
}

.btn-buy{
    background:var(--ink-dark);
    color:var(--paper);
    padding:11px 18px;
    border-radius:4px;
    text-decoration:none;
    font-weight:700;
    font-size:.82rem;
    white-space:nowrap;
    transition:.25s;
}
.btn-buy:hover{ background:var(--accent2); transform:translateY(-2px); }

/* varied hand-placed rotation, undone smoothly on hover */
.rot--1{ transform:rotate(-2.2deg); }
.rot--2{ transform:rotate(1.6deg); }
.rot--3{ transform:rotate(-1deg); }
.rot--4{ transform:rotate(2.4deg); }
.rot--5{ transform:rotate(-2.8deg); }
.rot--6{ transform:rotate(1.2deg); }

.tilt-card{ transition:transform .3s ease, box-shadow .3s ease; }
.tilt-card:hover{ transform:rotate(0deg) translateY(-6px) scale(1.015); }

/* ── playbooks ── */

.playbook-photo{
    height:230px;
    overflow:hidden;
    margin-bottom:0;
}
.playbook-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

.price-sticker{
    position:absolute;
    top:14px; right:-10px;
    background:var(--accent);
    color:#1c1305;
    font-family:var(--mono);
    font-weight:700;
    font-size:.78rem;
    padding:7px 10px;
    border-radius:50%;
    width:56px; height:56px;
    display:flex; align-items:center; justify-content:center;
    text-align:center;
    line-height:1.1;
    box-shadow:0 6px 14px rgba(0,0,0,.4);
    transform:rotate(9deg);
    z-index:5;
}

/* ── testimonials ── */

.testimonial-wrap{ display:flex; justify-content:center; margin-top:10px; }

.testimonial-polaroid{
    max-width:520px;
    width:100%;
}

.carousel-wrapper{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:22px;
}

.carousel-track-container{ width:100%; overflow:hidden; }

.carousel-track{ display:flex; transition:transform .4s ease; will-change:transform; }

.carousel-slide{ min-width:100%; }

.carousel-slide img{
    width:100%; display:block; user-select:none; -webkit-user-drag:none;
}

.carousel-arrow{
    position:absolute; top:44%; transform:translateY(-50%);
    background:var(--ink-dark); color:var(--paper);
    border:none; width:38px; height:38px; border-radius:50%;
    font-size:1.05rem; cursor:pointer; transition:.25s; z-index:6;
    display:flex; align-items:center; justify-content:center;
}
.carousel-arrow:hover{ background:var(--accent2); }
.carousel-prev{ left:-6px; }
.carousel-next{ right:-6px; }

.carousel-dots{ display:flex; gap:8px; }
.dot{ width:8px; height:8px; border-radius:50%; background:var(--border); cursor:pointer; transition:.3s; }
.dot.active{ background:var(--accent); width:22px; border-radius:999px; }

/* ── the crea8it way ── */

.why{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
}

.notebook{
    background:
        linear-gradient(var(--board), var(--board)) padding-box,
        repeating-linear-gradient(transparent, transparent 33px, rgba(255,183,3,.08) 34px);
    border:1px solid var(--border);
    border-left:3px solid var(--accent2);
    border-radius:2px;
    padding:34px 32px;
}
.notebook p{ color:#d9cdb6; font-size:1rem; line-height:1.9; }

.graffiti-box{
    position:relative;
    border:2px dashed var(--accent);
    border-radius:6px;
    padding:38px 34px;
    font-family:var(--hand);
    font-size:1.55rem;
    line-height:1.7;
    background:rgba(255,183,3,.04);
    transform:rotate(1.4deg);
}

/* ── about ── */

.about{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:54px;
    align-items:start;
}

.about .polaroid{ width:280px; transform:rotate(-3deg); }
.about .polaroid:hover{ transform:rotate(0); }

.about-text p{ color:#d9cdb6; font-size:1rem; line-height:1.85; margin-bottom:18px; }

.quote-strip{
    font-family:var(--hand);
    font-size:1.5rem;
    line-height:1.5;
    color:var(--accent);
    margin:26px 0;
    transform:rotate(-.6deg);
}

.cred-scatter{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:24px 0 8px;
}

.cred-item{
    background:var(--paper);
    color:var(--ink-dark);
    border-radius:4px;
    padding:14px 18px;
    box-shadow:0 8px 18px rgba(0,0,0,.4);
    min-width:128px;
}
.cred-item:nth-child(1){ transform:rotate(-3deg); }
.cred-item:nth-child(2){ transform:rotate(2deg); }
.cred-item:nth-child(3){ transform:rotate(-1.5deg); }
.cred-item:nth-child(4){ transform:rotate(2.5deg); }

.cred-num{
    font-family:var(--hand);
    font-size:1.5rem;
    color:var(--accent2);
    line-height:1;
    margin-bottom:4px;
}
.cred-label{ font-family:var(--mono); font-size:.68rem; color:#5a4d33; line-height:1.4; text-transform:uppercase; }

/* ── submit request ── */

.postcard{
    background:var(--paper);
    color:var(--ink-dark);
    border-radius:4px;
    padding:60px;
    text-align:center;
    position:relative;
    box-shadow:0 18px 40px rgba(0,0,0,.45);
    border:1px solid rgba(0,0,0,.08);
}

.postcard::before{
    content:"";
    position:absolute; inset:14px;
    border:1.5px dashed rgba(0,0,0,.18);
    pointer-events:none;
}

.postmark{
    position:absolute; top:22px; right:26px;
    width:78px; height:78px;
    border:2.5px solid var(--accent2);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:var(--mono); font-size:.62rem; font-weight:700;
    color:var(--accent2); text-transform:uppercase; letter-spacing:.5px;
    transform:rotate(-8deg);
    text-align:center;
    line-height:1.3;
}

.postcard h2{ font-family:var(--hand); font-size:2rem; margin-bottom:14px; color:#20180c; }

.postcard p{ color:#4a3f2b; max-width:560px; margin:0 auto; font-size:1rem; }

/* ── footer ── */

footer{ padding:60px 0 40px; border-top:1px dashed var(--border); }

.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center; }

.footer-logo{ font-family:var(--hand); font-size:1.9rem; color:var(--accent); transform:rotate(-2deg); }

.footer-tagline{ font-family:var(--mono); font-size:.72rem; color:var(--muted); letter-spacing:3px; }

.footer-columns{ display:flex; align-self:flex-start; gap:60px; flex-wrap:wrap; }

.footer-links-col{ display:flex; flex-direction:column; align-items:flex-start; text-align:left; }

.footer-links-heading{
    font-family:var(--mono); font-size:.72rem; font-weight:700;
    letter-spacing:2px; text-transform:uppercase; color:var(--ink);
    margin-bottom:12px;
}

.footer-links{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; font-size:.85rem; }
.footer-links a{ text-decoration:none; color:var(--ink); }
.footer-links a:hover{ color:var(--accent); }

.footer-socials{ display:flex; gap:12px; }
.footer-socials a{
    display:flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:4px;
    border:1px solid var(--border); color:var(--muted);
    text-decoration:none; transition:.2s; transform:rotate(-3deg);
}
.footer-socials a:nth-child(2){ transform:rotate(2deg); }
.footer-socials a:nth-child(3){ transform:rotate(-1.5deg); }
.footer-socials a svg{ width:18px; height:18px; fill:currentColor; }
.footer-socials a:hover{ color:var(--accent); border-color:var(--accent); transform:rotate(0) translateY(-2px); }

.footer-copy{ color:var(--muted); font-size:.76rem; font-family:var(--mono); }

/* ── countdown ── */

.countdown{ display:flex; gap:6px; align-items:center; }
.cd-block{
    display:flex; flex-direction:column; align-items:center;
    background:rgba(226,87,43,.08); border:1px solid rgba(226,87,43,.3);
    border-radius:4px; padding:5px 8px; min-width:38px;
}
.cd-num{ font-size:1.05rem; font-weight:700; color:var(--accent2); font-family:var(--mono); line-height:1; }
.cd-label{ font-size:.5rem; color:#8a7c62; text-transform:uppercase; letter-spacing:1px; margin-top:2px; }
.cd-sep{ color:var(--accent2); font-weight:700; margin-bottom:10px; }
.price-open{ font-size:1rem; font-weight:800; color:var(--accent3); font-family:var(--mono); animation:pulse-open 2s infinite; }
@keyframes pulse-open{ 0%,100%{opacity:1;} 50%{opacity:.55;} }

/* ── responsive ── */

@media(max-width:900px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero-photo-wrap{ order:-1; max-width:280px; margin:0 auto 30px; }
    .why, .about{ grid-template-columns:1fr; }
    .about .polaroid{ margin:0 auto; }
}

@media(max-width:768px){
    .nav-links{ display:none; }
    .footer-columns{ flex-direction:column; gap:26px; }
    .section{ padding:70px 0; }
    .postcard{ padding:40px 22px; }
    .postmark{ position:static; margin:0 auto 18px; }
    [class^="rot--"]{ transform:rotate(0deg) !important; }
    .cred-item{ transform:none !important; }
    .card-photo{ height:130px; }
    .card-body{ padding:16px 18px 20px; }
    .card-body p{ font-size:.88rem; margin-bottom:12px; }

    /* ── compact program & project cards (leaner, less scroll-heavy on phones) ── */
    .grid.projects-grid,
    .grid.programs-full-grid{ gap:18px; }

    .projects-grid .card,
    .programs-full-grid .card{ padding-top:14px; }

    .programs-full-grid .card-photo{ height:110px; }

    .projects-grid .card-body,
    .programs-full-grid .card-body{ padding:14px 16px 16px; }

    .projects-grid .card-body h3,
    .programs-full-grid .card-body h3{ font-size:1.05rem; margin-bottom:6px; }

    .projects-grid .card-body p,
    .programs-full-grid .card-body p{ font-size:.85rem; margin-bottom:10px; line-height:1.45; }

    .projects-grid .stamp{ padding:4px 6px; gap:2px; letter-spacing:0; margin-bottom:8px; }
    .projects-grid .stamp .icon-lead{ margin-right:2px; }

    .projects-grid .card-tag,
    .programs-full-grid .card-tag{ font-size:.62rem; padding:3px 7px; margin-bottom:8px; }

    .projects-grid .card-footer,
    .programs-full-grid .card-footer{ padding-top:10px; gap:10px; }

    .projects-grid .price,
    .programs-full-grid .price{ font-size:.9rem; }

    .projects-grid .btn-buy,
    .programs-full-grid .btn-buy{ padding:8px 14px; font-size:.76rem; }

    .project-card .cred-scatter{ margin:10px 0 2px; gap:8px; }
    .project-card .cred-item{ padding:7px 10px; }
    .project-card .cred-num{ font-size:1.02rem; }
    .project-card .cred-label{ font-size:.58rem; }
}


/* ── shared sub-page hero (used by projects / programs / resources / impact) ── */

.shelf-hero{ padding:80px 0 20px; }

.shelf-hero h1{
    font-family:var(--hand);
    font-size:clamp(2.6rem,5.5vw,4.2rem);
    line-height:1.05;
    transform:rotate(-1.5deg);
    margin:6px 0 20px;
}
.shelf-hero h1 span{ color:var(--accent); }

.shelf-hero p.lede{ max-width:620px; color:var(--muted); font-size:1.05rem; }

/* full-page browsable grids — one modifier per section, same 1/2/3 col ramp */
.grid.projects-grid,
.grid.programs-full-grid,
.grid.resources-full-grid,
.grid.impact-full-grid{ grid-template-columns:1fr; }
@media(min-width:700px){
    .grid.projects-grid,
    .grid.programs-full-grid,
    .grid.resources-full-grid,
    .grid.impact-full-grid,
    .grid.cohort-steps-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(min-width:1100px){
    .grid.projects-grid,
    .grid.programs-full-grid,
    .grid.resources-full-grid,
    .grid.cohort-steps-grid{ grid-template-columns:repeat(3,1fr); }
}

.stamp.status-live{ color:var(--accent3); border-color:var(--accent3); }
.stamp.status-building{ color:var(--accent2); border-color:var(--accent2); }

.project-card .card-body{ padding-top:4px; }

.project-card .cred-scatter{ margin:18px 0 4px; gap:10px; }
.project-card .cred-item{ padding:10px 14px; min-width:auto; box-shadow:0 6px 14px rgba(0,0,0,.28); }
.project-card .cred-num{ font-size:1.2rem; }
.project-card .cred-label{ font-size:.62rem; }

.project-card .card-tag.stack{ background:rgba(63,122,104,.12); color:var(--accent3); margin-left:8px; }

.placeholder-note{
    font-family:var(--mono);
    font-size:.68rem;
    color:var(--muted);
    text-align:center;
    margin-top:-10px;
    margin-bottom:40px;
    opacity:.75;
}

/* ── impact page: quote-style testimonial cards (in addition to the polaroid carousel) ── */

.quote-card{ padding-top:24px; }
.quote-card .quote-mark{
    font-family:var(--hand);
    font-size:2.6rem;
    color:var(--accent);
    line-height:.6;
    display:block;
    margin-bottom:6px;
}
.quote-card p.quote-text{ font-size:1rem; color:var(--ink); margin-bottom:16px; }
.quote-card .quote-who{ font-family:var(--mono); font-size:.78rem; color:var(--muted); }
.quote-card .quote-who strong{ color:var(--ink); font-style:normal; }

/* ── homepage ecosystem directory (4 link-cards to the dedicated pages) ── */

.grid.ecosystem-grid{ grid-template-columns:1fr; }
@media(min-width:620px){
    .grid.ecosystem-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(min-width:1100px){
    .grid.ecosystem-grid{ grid-template-columns:repeat(4,1fr); }
}

.ecosystem-card{
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}
.ecosystem-card .card-body{ padding-top:26px; }
.ecosystem-card .eco-icon{
    width:30px; height:30px;
    color:var(--accent);
    margin-bottom:14px;
}
.ecosystem-card .eco-link{
    font-family:var(--mono);
    font-size:.82rem;
    font-weight:700;
    color:var(--accent);
    margin-top:auto;
    display:inline-block;
    transition:transform .2s ease;
}
.ecosystem-card:hover .eco-link{ transform:translateX(4px); }

/* ── homepage stat cards ("The Numbers So Far") — pinned cred-item-style scrap cards, 2 columns on mobile, 4 in a row from 1100px ── */

.grid.sticky-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}
@media(min-width:560px){
    .grid.sticky-grid{ gap:20px; }
}
@media(min-width:1100px){
    .grid.sticky-grid{ grid-template-columns:repeat(4,1fr); gap:22px; }
}

.stat-card{
    display:block;
    position:relative;
    text-decoration:none;
    background:var(--paper);
    color:var(--ink-dark);
    border-radius:4px;
    padding:16px 14px 12px;
    box-shadow:0 8px 18px rgba(0,0,0,.4);
    transition:transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover{
    transform:rotate(0deg) translateY(-5px);
    box-shadow:0 14px 26px rgba(0,0,0,.48);
}

.grid.sticky-grid .stat-card:nth-child(1){ transform:rotate(-3deg); }
.grid.sticky-grid .stat-card:nth-child(2){ transform:rotate(2deg); }
.grid.sticky-grid .stat-card:nth-child(3){ transform:rotate(-1.5deg); }
.grid.sticky-grid .stat-card:nth-child(4){ transform:rotate(2.5deg); }

.stat-num{
    display:block;
    font-family:var(--hand);
    font-size:1.6rem;
    color:var(--accent2);
    line-height:1;
    margin-bottom:6px;
}

.stat-label{
    display:block;
    font-family:var(--mono);
    font-size:.66rem;
    font-weight:700;
    color:#5a4d33;
    line-height:1.4;
    text-transform:uppercase;
    margin-bottom:10px;
}

.stat-card .eco-link{
    display:inline-block;
    font-family:var(--mono);
    font-size:.62rem;
    font-weight:700;
    letter-spacing:.4px;
    text-transform:none;
    color:#8a7a58;
    transition:transform .2s ease, color .2s ease;
}
.stat-card:hover .eco-link{ transform:translateX(4px); color:var(--accent2); }
