
:root{
  --navy:#10345f;
  --navy-2:#1a4677;
  --gold:#f6c337;
  --gold-deep:#ec9d16;
  --cream:#fff9ef;
  --paper:#fffdf9;
  --ink:#18324d;
  --muted:#5f7388;
  --line:#eadfca;
  --blue:#4ca6ff;
  --green:#dff2d8;
  --pink:#ffe4ea;
  --purple:#ece5ff;
  --yellow:#fff1bd;
  --teal:#d8f3ef;
  --shadow:0 18px 55px rgba(16,52,95,.12);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top right, rgba(108,190,255,.18), transparent 28rem),
    radial-gradient(circle at top left, rgba(255,217,106,.16), transparent 30rem),
    var(--cream);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
button,input,textarea{font:inherit}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;padding:.8rem 1rem;z-index:90}
.skip-link:focus{left:1rem;top:1rem}
.container{width:min(1180px,calc(100% - 2rem));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;padding:.75rem 0;background:rgba(255,249,239,.82);backdrop-filter:blur(12px)}
.nav-shell{
  background:#fff;border:1px solid rgba(16,52,95,.08);border-radius:999px;box-shadow:var(--shadow);
  display:flex;align-items:center;justify-content:space-between;padding:.55rem .75rem;gap:1rem;
}
.brand{display:flex;align-items:center;gap:.8rem;text-decoration:none;min-width:0}
.brand img{width:84px;height:auto;object-fit:contain;flex:0 0 auto}
.brand-title{font-weight:900;letter-spacing:-.03em;font-size:1.02rem;white-space:nowrap}
.site-nav{display:flex;align-items:center;gap:.15rem;flex-wrap:wrap;justify-content:center}
.site-nav a{padding:.72rem .95rem;border-radius:999px;text-decoration:none;font-weight:850;font-size:.95rem}
.site-nav a:hover,.site-nav a[aria-current="page"]{background:#f5f8ff;color:var(--navy)}
.menu-toggle{display:none;border:0;background:#f5f8ff;color:var(--navy);padding:.7rem .85rem;border-radius:18px;font-weight:900}
.cta-pill{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.8rem 1rem;background:var(--gold);color:#102b4b;border:2px solid var(--navy);border-radius:999px;font-weight:900;box-shadow:0 6px 0 rgba(16,52,95,.12);white-space:nowrap}
.cta-pill:hover{transform:translateY(-1px)}
.hero-layout{padding:1.6rem 0 1rem;display:grid;grid-template-columns:1fr 280px;gap:1.25rem;align-items:start}
.hero-frame{background:#fff;border:1px solid rgba(16,52,95,.08);border-radius:34px;overflow:hidden;box-shadow:var(--shadow)}
.hero-top{display:grid;grid-template-columns:320px 1fr;align-items:stretch}
.hero-brand-panel{padding:2rem 1.5rem 1rem;display:flex;flex-direction:column;gap:1rem;justify-content:flex-start;background:linear-gradient(180deg,#f4fbff 0%,#fffdf6 100%)}
.hero-brand-panel .logo-stack img{width:min(100%,260px);margin-inline:auto;object-fit:contain}
.hero-brand-panel .tiny-note{font-size:.95rem;color:var(--muted);text-align:center;font-weight:600}
.hero-copy{padding:2rem 2rem 1.5rem}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:.85rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;color:var(--navy-2)}
.eyebrow::before{content:"";width:34px;height:7px;border-radius:999px;background:var(--gold)}
.hero h1,.page-hero h1{font-family:"Avenir Next Rounded","Trebuchet MS",Inter,sans-serif;line-height:.98;letter-spacing:-.045em;margin:0;color:var(--navy)}
.hero h1{font-size:clamp(2.65rem,6vw,5rem);max-width:10ch}
.hero h1 .accent{color:#0a2748;text-shadow:0 2px 0 rgba(255,255,255,.4)}
.hero p{font-size:1.15rem;color:var(--muted);max-width:39rem;margin:1rem 0 0}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.6rem}
.button{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;border-radius:999px;padding:.92rem 1.25rem;font-weight:900;border:2px solid var(--navy);box-shadow:0 7px 0 rgba(16,52,95,.10);transition:transform .15s ease,box-shadow .15s ease}
.button:hover{transform:translateY(-2px)}
.button.primary{background:var(--gold);color:#112d51}
.button.secondary{background:#fff;color:var(--navy)}
.scene-wrap{position:relative;padding:0 1.25rem 1.25rem;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.scene-wrap img{width:100%;border-radius:28px;border:1px solid rgba(16,52,95,.07)}
.floating-doodles{position:absolute;inset:0;pointer-events:none}
.floating-doodles span{position:absolute;font-size:1.8rem;opacity:.9}
.floating-doodles .d1{left:40%;top:10%}.floating-doodles .d2{right:12%;top:18%}.floating-doodles .d3{left:56%;bottom:12%}
.side-stack{display:grid;gap:1rem}
.side-card,.story-card,.section-card,.info-card,.coming-card{background:#fff;border:1px solid rgba(16,52,95,.08);border-radius:28px;box-shadow:var(--shadow)}
.side-card{padding:1rem}
.side-card h3{margin:.2rem 0 .35rem;font-size:1.22rem;color:var(--navy);letter-spacing:-.03em}
.side-card p{margin:0;color:var(--muted)}
.card-grid{margin-top:1.25rem;display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.mini-card{padding:1.2rem;border-radius:24px;border:1px solid rgba(16,52,95,.06);box-shadow:0 10px 26px rgba(16,52,95,.05)}
.mini-card .icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:1.8rem;background:#fff;border:2px solid rgba(16,52,95,.1);box-shadow:0 6px 18px rgba(16,52,95,.07)}
.mini-card h3{margin:.9rem 0 .4rem;font-size:1.2rem;color:var(--navy);letter-spacing:-.03em}
.mini-card p{margin:0;color:var(--muted);font-size:.98rem}
.mini-card a{display:inline-flex;margin-top:.95rem;text-decoration:none;font-weight:900;color:var(--navy)}
.mini-card.games{background:#e7f4ff}.mini-card.projects{background:var(--yellow)}.mini-card.support{background:var(--green)}.mini-card.docs{background:var(--purple)}.mini-card.contact{background:var(--pink)}
.story-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:1rem;margin-top:1rem}
.story-card{padding:1.5rem;background:#fff8ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f3c53b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M60 12v16M60 92v16M12 60h16M92 60h16M27 27l11 11M82 82l11 11M27 93l11-11M82 38l11-11'/%3E%3C/g%3E%3C/svg%3E") top right/110px auto no-repeat}
.story-card h2{font-family:"Avenir Next Rounded","Trebuchet MS",Inter,sans-serif;font-size:clamp(2rem,4vw,3rem);line-height:1;letter-spacing:-.045em;color:var(--navy);margin:0 0 .8rem}
.story-card p{color:var(--muted);margin:0 0 1rem}
.workshop-card{overflow:hidden}
.workshop-card img{width:100%;height:100%;object-fit:cover}
.section{padding:1.1rem 0 3rem}
.page-hero{padding:2rem 0 1rem}
.page-hero h1{font-size:clamp(2.4rem,5vw,4rem)}
.page-hero p{max-width:50rem;color:var(--muted);font-size:1.12rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.section-card{padding:1.4rem}
.section-card h2,.section-card h3{margin:.1rem 0 .45rem;color:var(--navy);letter-spacing:-.03em}
.section-card p,.section-card li{color:var(--muted)}
.badge{display:inline-flex;padding:.38rem .72rem;border-radius:999px;background:#fff0b9;color:#6d5000;font-weight:900;font-size:.78rem}
.info-card{padding:1.5rem}
.info-card ul{padding-left:1.15rem}
.note{background:#f7fbff;border-left:5px solid var(--gold);padding:1rem 1rem;border-radius:0 16px 16px 0;color:var(--muted)}
.footer{background:var(--navy);color:#fff;margin-top:2rem}
.footer-inner{max-width:1180px;margin:0 auto;padding:2.6rem 1rem;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
.footer-title{font-size:1.05rem;font-weight:900;margin-bottom:.7rem}
.footer p,.footer a{color:rgba(255,255,255,.78)}
.footer a{text-decoration:none}
.footer a:hover{color:#fff}
.footer-links{display:grid;gap:.45rem}
.footer-bottom{text-align:center;padding:1rem;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.58);font-size:.9rem}
.list-clean{list-style:none;padding:0;margin:0;display:grid;gap:.8rem}
.list-clean li{padding:1rem 1rem;background:#fff;border-radius:18px;border:1px solid rgba(16,52,95,.07)}
.coming-card{padding:1.4rem;background:linear-gradient(135deg,#123967,#0b2748);color:#fff;position:relative;overflow:hidden}
.coming-card::after{content:"Z";position:absolute;right:-.4rem;bottom:-1rem;font-size:8rem;font-weight:1000;color:rgba(255,255,255,.06)}
.coming-card h2{color:#fff;margin:.8rem 0 .4rem;letter-spacing:-.03em}.coming-card p{color:rgba(255,255,255,.78);margin:0}
.logo-showcase{display:flex;align-items:center;justify-content:center;padding:1rem;background:linear-gradient(180deg,#f4fbff,#fffdf6);border-radius:22px}
.logo-showcase img{max-width:240px;width:100%;height:auto;object-fit:contain}
@media (max-width:1080px){
  .hero-layout{grid-template-columns:1fr}
  .side-stack{grid-template-columns:repeat(2,1fr)}
  .hero-top{grid-template-columns:1fr}
  .hero-brand-panel{padding-bottom:0}
  .hero h1{max-width:none}
}
@media (max-width:900px){
  .nav-shell{border-radius:24px;align-items:flex-start}
  .site-nav{display:none;position:absolute;left:1rem;right:1rem;top:82px;background:#fff;border:1px solid rgba(16,52,95,.08);border-radius:24px;box-shadow:var(--shadow);padding:.7rem;flex-direction:column;align-items:stretch}
  .site-nav.open{display:flex}
  .site-nav a{text-align:center}
  .menu-toggle{display:inline-flex}
  .cta-pill{display:none}
  .card-grid{grid-template-columns:1fr 1fr}
  .story-grid,.grid-3,.grid-2{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
}
@media (max-width:620px){
  .container{width:min(100% - 1rem,1180px)}
  .brand img{width:70px}.brand-title{display:none}
  .hero-copy{padding:1.4rem 1.1rem 1.1rem}
  .hero h1{font-size:clamp(2.2rem,9vw,3.4rem)}
  .hero p{font-size:1.02rem}
  .card-grid{grid-template-columns:1fr}
  .side-stack{grid-template-columns:1fr}
  .scene-wrap{padding:.75rem}
  .mini-card{padding:1rem}
  .story-card{padding:1.2rem}
}

/* V3: mockup-faithful homepage */
.home-v3 .site-header{background:rgba(245,250,255,.9);padding:.7rem 0}
.home-v3 .nav-shell{max-width:980px;margin:auto;padding:.45rem .7rem;border-radius:26px}
.home-v3 .brand img{width:105px;max-height:74px;object-fit:contain;aspect-ratio:1/1}
.home-v3 .brand-title{display:none}
.home-v3 .cta-pill{display:none}
.home-v3 .site-nav a{font-weight:900;color:#0f2f56}
.home-v3 .mock-page{padding:1rem 0 3rem}
.home-v3 .approved-hero{position:relative;background:#fff;border:6px solid #fff;border-radius:34px;box-shadow:0 18px 50px rgba(15,48,88,.18);overflow:hidden}
.home-v3 .approved-hero picture,.home-v3 .approved-hero img{display:block;width:100%;height:auto}
.home-v3 .hero-overlay-link{position:absolute;left:44%;top:58%;width:25%;height:13%;border-radius:999px;outline-offset:4px}
.home-v3 .hero-overlay-link:focus-visible{outline:4px solid #143a68}
.home-v3 .mock-card-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.9rem;margin-top:1rem}
.home-v3 .mock-card{min-height:190px;padding:1.1rem 1rem;border-radius:24px;border:1px solid rgba(15,48,88,.06);box-shadow:0 10px 25px rgba(15,48,88,.07);text-align:center;display:flex;flex-direction:column;align-items:center}
.home-v3 .mock-card:nth-child(1){background:#dff1ff}.home-v3 .mock-card:nth-child(2){background:#fff0c9}.home-v3 .mock-card:nth-child(3){background:#e4f5df}.home-v3 .mock-card:nth-child(4){background:#eee7ff}.home-v3 .mock-card:nth-child(5){background:#ffe7e7}
.home-v3 .mock-icon{width:62px;height:62px;border-radius:18px;background:#fff;display:grid;place-items:center;font-size:2rem;box-shadow:0 5px 14px rgba(15,48,88,.12);margin-bottom:.65rem}
.home-v3 .mock-card h2{font-family:"Avenir Next Rounded","Trebuchet MS",sans-serif;color:#102f56;font-size:1.35rem;line-height:1;margin:.2rem 0 .5rem;letter-spacing:-.04em}
.home-v3 .mock-card p{font-size:.94rem;color:#49647d;margin:0 0 .9rem;line-height:1.35}
.home-v3 .mock-card a{margin-top:auto;display:inline-flex;text-decoration:none;font-weight:900;color:#11345d;padding:.45rem .7rem;border-radius:999px;background:rgba(255,255,255,.65)}
.home-v3 .story-strip{display:grid;grid-template-columns:.9fr 1.1fr;gap:1rem;margin-top:1rem}
.home-v3 .story-paper{position:relative;overflow:hidden;background:#fff8e8;border-radius:28px;padding:1.8rem;box-shadow:0 12px 30px rgba(15,48,88,.08);border:1px solid rgba(15,48,88,.06)}
.home-v3 .story-paper::before{content:"☀  ✦  ☆";position:absolute;right:1.3rem;top:1rem;color:#f4bd1b;font-size:1.7rem;letter-spacing:.35rem;transform:rotate(-5deg)}
.home-v3 .story-paper h2{font-family:"Avenir Next Rounded","Trebuchet MS",sans-serif;font-size:clamp(2rem,4vw,3.2rem);line-height:.95;letter-spacing:-.045em;color:#10345f;margin:.2rem 0 1rem;max-width:9ch}
.home-v3 .story-paper p{font-size:1.03rem;color:#506980;margin:0 0 1.1rem}
.home-v3 .workshop-photo{background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 12px 30px rgba(15,48,88,.08);border:1px solid rgba(15,48,88,.06)}
.home-v3 .workshop-photo img{width:100%;height:100%;min-height:300px;object-fit:cover}
.home-v3 .below-note{margin-top:1rem;text-align:center;color:#61768b;font-weight:700}
@media(max-width:900px){
  .home-v3 .site-header .container{width:min(100% - 1rem,1180px)}
  .home-v3 .nav-shell{max-width:none;border-radius:20px}
  .home-v3 .brand img{width:76px;max-height:56px}
  .home-v3 .mock-card-grid{grid-template-columns:1fr 1fr}
  .home-v3 .story-strip{grid-template-columns:1fr}
  .home-v3 .hero-overlay-link{display:none}
}
@media(max-width:620px){
  .home-v3 .mock-page{padding-top:.5rem}
  .home-v3 .approved-hero{border-width:4px;border-radius:24px}
  .home-v3 .mock-card-grid{grid-template-columns:1fr;gap:.7rem}
  .home-v3 .mock-card{min-height:0;text-align:left;display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:.8rem;padding:.85rem 1rem}
  .home-v3 .mock-icon{margin:0;width:54px;height:54px;font-size:1.65rem}
  .home-v3 .mock-card h2{margin:0 0 .2rem;font-size:1.15rem}.home-v3 .mock-card p{margin:0;font-size:.84rem}.home-v3 .mock-card a{margin:0;font-size:0;width:38px;height:38px;padding:0;display:grid;place-items:center;background:#fff}.home-v3 .mock-card a::after{content:"›";font-size:1.8rem;line-height:1}
  .home-v3 .story-paper{padding:1.35rem}.home-v3 .story-paper h2{font-size:2.25rem}.home-v3 .workshop-photo img{min-height:230px}
}
.home-v3 .mobile-built-hero{display:none}
@media(max-width:620px){
  .home-v3 .desktop-hero{display:none}
  .home-v3 .mobile-built-hero{display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(180deg,#f7fcff 0%,#fff9e9 72%,#e8f7ff 100%);border:4px solid #fff;border-radius:24px;box-shadow:0 16px 42px rgba(15,48,88,.16);overflow:hidden;padding:1rem 1rem 0}
  .home-v3 .mobile-built-logo{width:145px;height:auto;object-fit:contain;margin:.1rem auto .7rem}
  .home-v3 .mobile-built-hero h1{font-family:"Avenir Next Rounded","Trebuchet MS",sans-serif;font-size:clamp(2.15rem,10vw,3.2rem);line-height:.95;letter-spacing:-.05em;color:#112f55;margin:.15rem 0 .8rem}
  .home-v3 .mobile-built-hero p{font-size:1rem;line-height:1.35;color:#49647d;margin:0 0 1rem;max-width:20rem}
  .home-v3 .mobile-built-hero .button{font-size:.92rem;padding:.8rem 1rem;margin-bottom:1rem}
  .home-v3 .mobile-scene{width:calc(100% + 2rem);max-width:none;height:auto;display:block;object-fit:contain;object-position:center center;margin:.25rem -1rem 0}
}

/* Games: built by site/build.py (Skootoo first) */
.game-hero{display:flex;gap:1.6rem;align-items:flex-start}
.game-icon{width:128px;height:128px;border-radius:28px;box-shadow:var(--shadow);flex:none}
.screens{display:flex;gap:1rem;overflow-x:auto;padding:.4rem .2rem 1rem;scroll-snap-type:x mandatory}
.screens img{flex:none;width:clamp(180px,22vw,240px);height:auto;border-radius:22px;box-shadow:var(--shadow);scroll-snap-align:start}
.game-list{display:grid;gap:1rem}
.game-card{display:flex;gap:1.2rem;align-items:center;text-decoration:none;color:inherit}
.game-card img{width:72px;height:72px;border-radius:18px;flex:none}
.game-card p{margin:.2rem 0 .6rem}
.game-links{color:var(--muted)}
.faq details{background:#fff;border:1px solid rgba(16,52,95,.08);border-radius:20px;padding:1rem 1.2rem;margin:0 0 .7rem;box-shadow:0 6px 20px rgba(16,52,95,.06)}
.faq summary{font-weight:800;color:var(--navy);cursor:pointer}
.faq details p{color:var(--muted);margin:.7rem 0 0}
.legal{max-width:46rem}
.legal h2{color:var(--navy);margin:2rem 0 .5rem;letter-spacing:-.02em}
.legal h3{color:var(--navy);margin:1.4rem 0 .4rem}
.legal p{color:var(--ink);line-height:1.6}
.list-inline{list-style:none;padding:0;display:flex;gap:1rem;flex-wrap:wrap}
.link-page{text-align:center;display:flex;flex-direction:column;align-items:center}
.link-page .hero-actions{justify-content:center}
.tiny{font-size:.9rem;color:var(--muted)}
@media (max-width:640px){.game-hero{flex-direction:column}.game-icon{width:96px;height:96px;border-radius:22px}}
