/* Delta Learning · deltalearning.co
   A light, playful product site built around live game windows.
   Brand: DeltaOps navy and the blue to green gradient. Display: Bricolage Grotesque. Text and games: Inter.
   Fonts are self-hosted. */

@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:200 800; font-stretch:75% 100%; font-display:swap; src:url(../assets/fonts/bricolage.woff2) format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap; src:url(../assets/fonts/inter.woff2) format('woff2'); }

:root {
  --ink:#0C1B24; --ink-2:#22343F; --muted:#4D606B; --faint:#8494A0;
  --paper:#FBF8F1; --paper-2:#F4EFE4; --card:#FFFFFF; --rule:#E7E1D3;
  --teal:#0B7F74; --teal-2:#0E9C8E; --mint:#8FDCD2; --mint-bg:#E5F6F1; --sky-bg:#E9F3FD; --sun-bg:#FFF5DA;
  --blue:#59C7FC; --green:#16FFC6; --grad:linear-gradient(100deg, #59C7FC, #16FFC6);
  --coral:#FF6A4A; --sun:#FFC83D; --violet:#6E5BF2;
  --night:#0D1833; --night-2:#14244A; --night-3:#1C3160;
  --sunc:#F7C04A; --windc:#6CBDFB; --batc:#16FFC6; --gasc:#F7928A; --short:#FF5D5D;
  --display:'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --sans:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g:clamp(16px, 4.6vw, 72px);
  --r:26px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --pop:cubic-bezier(.2,1.4,.4,1);
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; scroll-padding-top:76px; -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 17px/1.55 var(--sans); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin:0; }
ul, ol { padding:0; list-style:none; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
button { font:inherit; color:inherit; }
svg use { pointer-events:none; }
:focus-visible { outline:3px solid var(--teal-2); outline-offset:3px; border-radius:8px; }
.night :focus-visible, .close :focus-visible, .foot :focus-visible { outline-color:var(--green); }
.wrap { max-width:calc(1300px + 2 * var(--g)); margin:0 auto; padding:0 var(--g); }
.sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip { position:fixed; left:12px; top:-60px; z-index:100; padding:10px 16px; border-radius:10px; background:var(--ink); color:#fff; font-weight:700; text-decoration:none; transition:top .2s; }
.skip:focus { top:12px; }
p, li, dd { text-wrap:pretty; }

/* ---------- type ---------- */
h1, h2, h3 { font-family:var(--display); font-optical-sizing:auto; }
h2 { font-weight:760; font-size:clamp(34px, 4.7vw, 64px); line-height:1.02; letter-spacing:-.035em; text-wrap:balance; }
h2 .soft, h1 .soft { color:var(--teal-2); }
h3 { font-weight:720; font-size:21px; line-height:1.18; letter-spacing:-.015em; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:7px 13px 7px 11px; border-radius:99px; background:#fff; box-shadow:inset 0 0 0 1.5px rgba(12,27,36,.1), 0 2px 0 rgba(12,27,36,.06); font:700 12.5px/1.2 var(--sans); letter-spacing:.07em; text-transform:uppercase; color:var(--ink-2); }
.eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--grad); box-shadow:0 0 0 3px rgba(22,255,198,.18); }
.cap { display:block; font:750 12px/1.3 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--teal); }
.lede { font-size:clamp(18px, 1.45vw, 21px); line-height:1.45; font-weight:500; color:var(--ink-2); max-width:58ch; }
.body { color:var(--muted); font-size:18px; max-width:56ch; }
.head { display:grid; gap:18px; justify-items:start; margin-bottom:clamp(36px, 5vw, 60px); max-width:900px; }

/* ---------- buttons ---------- */
.btn { --bg:var(--ink); --fg:#fff; --lip:#000; display:inline-flex; align-items:center; gap:10px; padding:15px 22px; border:0; border-radius:15px; background:var(--bg); color:var(--fg); font:700 16px/1.1 var(--sans); letter-spacing:-.005em; text-decoration:none; cursor:pointer; box-shadow:0 4px 0 var(--lip), 0 12px 24px -8px rgba(12,27,36,.35); transition:transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; white-space:nowrap; }
.btn:hover { transform:translateY(-2px); box-shadow:0 6px 0 var(--lip), 0 16px 28px -8px rgba(12,27,36,.38); }
.btn:active { transform:translateY(3px); box-shadow:0 1px 0 var(--lip), 0 6px 12px -6px rgba(12,27,36,.3); }
.btn .arr { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s var(--ease); }
.btn:hover .arr { transform:translateX(3px); }
.btn.ghost { --bg:#fff; --fg:var(--ink); --lip:rgba(12,27,36,.16); box-shadow:inset 0 0 0 2px rgba(12,27,36,.12), 0 4px 0 var(--lip); }
.btn.ghost:hover { box-shadow:inset 0 0 0 2px rgba(12,27,36,.2), 0 6px 0 var(--lip); }
.btn.light { --bg:var(--green); --fg:var(--ink); --lip:#0aa984; background:var(--grad); }
.btn.ghost.light { --bg:rgba(255,255,255,.08); --fg:#fff; --lip:rgba(0,0,0,.35); background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 2px rgba(255,255,255,.22), 0 4px 0 var(--lip); }
.btn.sm { padding:11px 16px; font-size:14.5px; border-radius:12px; }
.cta-row { display:flex; flex-wrap:wrap; gap:14px; }
.more { display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--teal); text-decoration:none; border-bottom:2px solid rgba(14,156,142,.3); padding-bottom:2px; }
.more::after { content:"→"; transition:transform .2s; }
.more:hover::after { transform:translateX(3px); }

/* ---------- nav ---------- */
.nav { position:fixed; inset:0 0 auto; z-index:50; transition:background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav-in { display:flex; align-items:center; gap:24px; height:72px; }
.nav.solid { background:rgba(251,248,241,.86); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); box-shadow:0 1px 0 rgba(12,27,36,.08); }
.brand img { width:210px; height:auto; }
.links { display:flex; align-items:center; gap:4px; margin-left:auto; }
.links a { padding:9px 12px; border-radius:10px; font-weight:600; font-size:15px; text-decoration:none; color:var(--ink-2); transition:background .2s, color .2s; }
.links a:hover { background:rgba(12,27,36,.06); }
.links a.on { color:var(--ink); background:rgba(22,255,198,.22); }
.menu-cta { display:none !important; }
.nav-cta { margin-left:8px; }
.menu-btn { display:none; width:46px; height:46px; margin-left:auto; border:0; border-radius:12px; background:#fff; box-shadow:inset 0 0 0 1.5px rgba(12,27,36,.12); cursor:pointer; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display:block; width:20px; height:2.2px; margin:auto; border-radius:2px; background:var(--ink); position:relative; transition:transform .25s, background .2s; }
.menu-btn i::before, .menu-btn i::after { content:""; position:absolute; left:0; }
.menu-btn i::before { top:-6.5px; } .menu-btn i::after { top:6.5px; }
.menu-btn[aria-expanded="true"] i { background:transparent; }
.menu-btn[aria-expanded="true"] i::before { transform:translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform:translateY(-6.5px) rotate(-45deg); }
.progress { position:absolute; left:0; bottom:-1px; height:3px; width:100%; background:var(--grad); transform-origin:0 50%; transform:scaleX(0); }


/* ---------- sections ---------- */
.band { position:relative; padding:clamp(64px, 7.6vw, 108px) 0; }
.band.sky { background:var(--sky-bg); }
.band.mint { background:var(--mint-bg); }
.band.sun { background:var(--sun-bg); }
.band.night, .close { background:radial-gradient(120% 70% at 80% 0%, #1E3A78 0%, transparent 60%), radial-gradient(80% 60% at 0% 100%, #123A5A 0%, transparent 60%), var(--night); color:#fff; }
.night .eyebrow, .close .eyebrow { background:rgba(255,255,255,.08); color:#d9e8ff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14); }
.night h2 .soft, .close h2 .soft { color:var(--mint); }
.night .lede, .close .lede { color:#cfdcf2; }
.night .cap, .close .cap { color:var(--mint); }
.stars { position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 46% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 63% 40%, #fff 50%, transparent 52%), radial-gradient(1.3px 1.3px at 82% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 92% 70%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 6% 82%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 88%, #fff 50%, transparent 52%);
  background-size:520px 420px; }
/* section heads: the plain stack, a split (headline left, lede right) and a centred one */
.head.split { max-width:none; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); align-items:end; column-gap:clamp(24px, 5vw, 80px); }
.head.split > div { display:grid; gap:18px; justify-items:start; }
.head.split .lede { padding-bottom:6px; }
@keyframes bob { 50% { transform:translateY(-10px) rotate(-2deg); } }

/* ---------- hero ---------- */
.hero { position:relative; padding:116px 0 0; overflow:hidden; background:linear-gradient(180deg, #CFEAFF 0%, #E6F4FF 38%, var(--paper) 88%); }
.hero-sky { position:absolute; inset:0; pointer-events:none; }
.cube { position:absolute; display:block; width:34px; height:39px; clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background:conic-gradient(from -60deg at 50% 50%, var(--t) 0 120deg, var(--r) 120deg 240deg, var(--l) 240deg 360deg); animation:float 7s ease-in-out infinite; opacity:.9; }
.cube.k1 { --t:#bff6ea; --l:#5fd9c4; --r:#2bb8a3; left:3%; top:150px; }
.cube.k2 { --t:#fff1b8; --l:#ffd23f; --r:#e8a317; left:40%; top:96px; width:24px; height:28px; animation-delay:-2s; }
.cube.k3 { --t:#d9eeff; --l:#8cc8ff; --r:#59a6f0; right:4%; top:620px; width:28px; height:32px; animation-delay:-4s; }
@keyframes float { 50% { transform:translateY(-14px) rotate(6deg); } }
.hero-grid { position:relative; display:grid; grid-template-columns:minmax(0, 5.2fr) minmax(0, 7fr); gap:clamp(28px, 4vw, 64px); align-items:center; padding-bottom:56px; }
.sticker { display:inline-flex; align-items:center; gap:9px; max-width:100%; padding:8px 14px 8px 10px; border-radius:99px; background:#fff; font:700 13px/1.3 var(--sans); color:var(--ink-2); box-shadow:0 3px 0 rgba(12,27,36,.08), inset 0 0 0 1.5px rgba(12,27,36,.08); }
.sticker .dot { flex:none; width:9px; height:9px; border-radius:50%; background:var(--grad); box-shadow:0 0 0 4px rgba(22,255,198,.2); }
h1 { margin:22px 0 22px; font-weight:800; font-size:clamp(44px, 5.3vw, 80px); line-height:.98; letter-spacing:-.045em; text-wrap:balance; }
h1 .hl { position:relative; -webkit-box-decoration-break:clone; box-decoration-break:clone; background:linear-gradient(100deg, rgba(89,199,252,.55), rgba(22,255,198,.7)); background-size:100% .3em; background-repeat:no-repeat; background-position:0 88%; padding:0 .04em; }
.hero-sub { font-size:clamp(17px, 1.35vw, 20px); line-height:1.5; color:var(--ink-2); max-width:52ch; margin-bottom:30px; }
.hero-note { margin-top:22px; font-size:14.5px; color:var(--muted); }
.hero-play { position:relative; }
.hero-gw { aspect-ratio:16/10.4; border-radius:28px; box-shadow:0 0 0 7px #fff, 0 30px 60px -20px rgba(12,40,80,.45), 0 0 0 8px rgba(12,27,36,.06); }
.gw-load { position:absolute; inset:0; display:grid; place-items:center; transition:opacity .6s; pointer-events:none; }
.gw-load span { width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.75); animation:load 1.1s var(--ease) infinite; }
@keyframes load { 50% { transform:rotate(90deg) scale(.8); } }
.gw.ready .gw-load, .gw.nogl .gw-load { opacity:0; }
.gw.nogl .gw-load { display:none; }
.gw.nogl > canvas { display:none; }
.gw-fic { position:absolute; right:12px; bottom:10px; z-index:3; font:700 10.5px/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:rgba(12,27,36,.55); background:rgba(255,255,255,.7); padding:5px 8px; border-radius:6px; pointer-events:none; }
.gw-cap { display:flex; align-items:center; gap:10px; margin-top:12px; font-size:14px; line-height:1.35; font-weight:600; color:var(--muted); }
.gw-cap b { color:var(--ink); }
.gw-pause { flex:none; width:34px; height:34px; border:0; border-radius:10px; display:grid; place-items:center; background:#fff; box-shadow:0 3px 0 rgba(12,27,36,.12), inset 0 0 0 1.5px rgba(12,27,36,.1); cursor:pointer; }
.gw-pause svg { width:16px; height:16px; fill:none; stroke:var(--ink); stroke-width:2.6; stroke-linecap:round; }
.gw-pause[aria-pressed="true"] svg { fill:var(--ink); stroke-width:1.5; }
.note { position:absolute; z-index:4; pointer-events:none; font:800 13px/1 var(--sans); color:var(--ink); background:var(--sun); padding:8px 11px; border-radius:10px; box-shadow:0 3px 0 rgba(0,0,0,.14); rotate:-4deg; opacity:0; transition:opacity .5s, translate .5s var(--pop); translate:0 8px; }
.note::after { content:""; position:absolute; width:26px; height:20px; border:2.5px solid var(--ink); border-color:var(--ink) transparent transparent var(--ink); border-radius:50% 0 0 0; }
.note.n2 { left:-86px; top:96px; background:#fff; rotate:3deg; }
.note.n2::after { right:-22px; top:24px; rotate:150deg; }
.note.n3 { right:150px; top:-46px; background:var(--mint); rotate:4deg; }
.note.n3::after { right:-24px; top:22px; rotate:200deg; }
.hero-play.noted .note { opacity:1; translate:0 0; }
.hero-play.noted .n2 { transition-delay:.25s; } .hero-play.noted .n3 { transition-delay:.5s; }


/* ---------- the Eco Town demo ---------- */
.flow { position:relative; display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:12px; margin-bottom:28px; counter-reset:step; }
.flow::before { content:""; position:absolute; left:8%; right:8%; top:24px; border-top:3px dashed rgba(255,255,255,.18); }
.flow li { position:relative; display:grid; justify-items:center; gap:6px; text-align:center; }
.flow li::before { content:""; width:48px; height:48px; border-radius:16px; background:var(--night-2); box-shadow:inset 0 0 0 2px rgba(255,255,255,.16); transition:background .35s, box-shadow .35s, transform .35s var(--pop); }
.flow li::after { content:counter(step); counter-increment:step; position:absolute; top:0; width:48px; height:48px; display:grid; place-items:center; font:800 17px/1 var(--sans); color:#9fb3d9; }
.flow b { font:750 15px/1.2 var(--sans); }
.flow span { font-size:13px; color:#9fb3d9; line-height:1.3; }
.flow li.done::before { background:var(--night-3); box-shadow:inset 0 0 0 2px var(--mint); }
.flow li.done::after { color:var(--mint); }
.flow li.on::before { background:var(--grad); box-shadow:0 0 0 6px rgba(22,255,198,.18), 0 0 24px rgba(22,255,198,.45); transform:scale(1.08) rotate(-4deg); }
.flow li.on::after { color:var(--ink); }
.demo { display:grid; grid-template-columns:minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas:"game side" "chart side" "path side"; grid-template-rows:auto auto 1fr; gap:14px 18px; padding:14px; border-radius:32px; background:rgba(255,255,255,.05); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.1); }
.demo-gw { grid-area:game; aspect-ratio:16/10.4; border-radius:22px; }
.demo-side { grid-area:side; align-self:start; }
.chart { grid-area:chart; }
.demo > .path { grid-area:path; align-self:start; }
.dm-hud .hd-top { right:1.1em; }
.dm-clock i { font-style:normal; font-size:.72em; font-weight:800; color:#fff; background:var(--b1); border-radius:.4em; padding:.18em .45em; text-transform:uppercase; letter-spacing:.04em; }
.dm-clock b { font-size:1.15em; }
.dm-status { position:absolute; left:50%; bottom:1.1em; transform:translateX(-50%); padding:.55em 1em; border-radius:99px; background:#fff; color:#10202b; font:800 1.05em/1 var(--sans); white-space:nowrap; box-shadow:0 .25em 0 rgba(0,0,0,.25); }
.dm-status::before { content:""; display:inline-block; width:.6em; height:.6em; margin-right:.5em; border-radius:50%; background:#1fb45f; vertical-align:.05em; }
.dm-status.warn::before { background:#f0a030; } .dm-status.bad { background:#ff5d5d; color:#fff; } .dm-status.bad::before { background:#fff; }
.chart { padding:14px 16px 12px; border-radius:20px; background:rgba(5,12,30,.45); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.08); font-family:var(--sans); }
.chart-head { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
.legend { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; font-size:12px; font-weight:600; color:#b9c8e6; }
.legend > span { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.legend i { display:inline-block; width:10px; height:10px; border-radius:3px; }
.k-sun { background:var(--sunc); } .k-wind { background:var(--windc); } .k-bat { background:var(--batc); } .k-gas { background:var(--gasc); }
.k-short { background:repeating-linear-gradient(45deg, var(--short) 0 2px, transparent 2px 4px); box-shadow:inset 0 0 0 1.5px var(--short); }
.chart-plot { position:relative; }
.chart svg { display:block; width:100%; height:120px; }
.chart-empty { position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; }
.chart-empty span { padding:9px 14px; border-radius:12px; background:#101c3c; box-shadow:0 0 0 6px #101c3c, inset 0 0 0 1.5px rgba(255,255,255,.14); font:750 14px/1.2 var(--sans); color:#dbe6ff; }
.scrub { margin-top:8px; }
.scrub input { width:100%; accent-color:var(--green); cursor:pointer; }
.scrub input:disabled { opacity:.45; cursor:not-allowed; }
.scrub-ticks { display:flex; justify-content:space-between; font-size:11.5px; font-weight:600; color:#8fa3c9; }
.demo-side { display:flex; flex-direction:column; gap:14px; padding:22px; border-radius:22px; background:#fff; color:var(--ink); font-family:var(--sans); min-width:0; }
.guide-head { display:flex; align-items:center; gap:12px; padding-bottom:14px; border-bottom:1.5px solid #eef1f3; }
.guide-ico { flex:none; width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:var(--ink); box-shadow:0 3px 0 #000; }
.guide-ico svg { width:26px; height:26px; fill:none; stroke:var(--green); stroke-width:1.8; stroke-linecap:round; }
.guide-head b { display:block; font-weight:800; font-size:17px; }
.guide-head span { font-size:13px; color:var(--muted); }
.demo-side .cap { color:var(--teal); }
.mission { font-size:16px; line-height:1.45; }
.pick { font-size:14px; font-weight:650; color:var(--muted); }
.cards { display:grid; gap:10px; }
.cards.busy { pointer-events:none; }
.card { display:flex; align-items:center; gap:12px; width:100%; padding:13px 14px; border:0; border-radius:15px; background:#fff; text-align:left; font-weight:650; font-size:15.5px; line-height:1.3; cursor:pointer; box-shadow:0 4px 0 #d3dbe1, inset 0 0 0 2px #e4e9ed; transition:transform .15s var(--ease), box-shadow .15s, background .2s, color .2s; }
.card:hover { transform:translateY(-2px); box-shadow:0 6px 0 #d3dbe1, inset 0 0 0 2px #cfd8de; }
.card:active { transform:translateY(3px); box-shadow:0 1px 0 #d3dbe1, inset 0 0 0 2px #cfd8de; }
.card-n { flex:none; width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#e9f7f5; color:var(--teal); font-weight:900; }
.card[aria-pressed="true"] { background:var(--ink); color:#fff; box-shadow:0 4px 0 #000; }
.card[aria-pressed="true"] .card-n { background:var(--grad); color:var(--ink); }
.card.tried:not([aria-pressed="true"]) .card-n::after { content:"✓"; font-size:12px; margin-left:1px; }
.howto { display:grid; gap:10px; counter-reset:ht; margin-top:4px; padding-top:16px; border-top:1.5px dashed #e3e8ec; }
.howto li { position:relative; padding-left:40px; font-size:14.5px; color:var(--muted); line-height:1.4; counter-increment:ht; }
.howto li::before { content:counter(ht); position:absolute; left:0; top:-2px; width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:var(--sun-bg); color:#9a6a00; font-weight:850; font-size:13px; box-shadow:inset 0 0 0 1.5px #ffe7a0; }
.howto b { color:var(--ink); }
.result, .outcome { display:grid; gap:14px; margin-top:8px; padding-top:18px; border-top:1.5px dashed #e3e8ec; animation:rise .45s var(--pop); }
.says .cap, .facil .cap, .outcome .cap { margin-bottom:6px; }
.paths { display:flex; align-items:center; gap:14px; margin-top:auto; padding:14px 16px; border-radius:16px; background:var(--ink); color:#c8d6de; font-size:13.5px; line-height:1.35; }
.paths b { font:800 36px/1 var(--display); letter-spacing:-.04em; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.says p { font-size:15.5px; line-height:1.45; }
.assumed { display:flex; flex-direction:column; gap:6px; padding:12px 14px; border-radius:14px; background:#fff1ec; box-shadow:inset 0 0 0 1.5px #ffd4c7; }
.tag { align-self:flex-start; font:800 11px/1 var(--sans); letter-spacing:.07em; text-transform:uppercase; padding:5px 8px; border-radius:99px; background:var(--coral); color:#fff; }
.assumed p { font-size:15px; font-weight:600; }
.effect { font-weight:800; font-size:16px; }
.meters { display:grid; gap:8px; }
.meters p { display:grid; grid-template-columns:64px 1fr 34px; align-items:center; gap:10px; font-weight:700; font-size:14.5px; }
.meters i { height:12px; border-radius:99px; background:#edf1f3; overflow:hidden; box-shadow:inset 0 1px 0 rgba(0,0,0,.06); }
.meters i b { display:block; height:100%; width:calc(var(--v, 0) * 100%); border-radius:99px; background:linear-gradient(90deg, #29c46f, #7be08a); transition:width .9s var(--ease); }
.meters i b.low { background:linear-gradient(90deg, #ff6a4a, #ffa25a); }
.meters em { font-style:normal; font-weight:850; text-align:right; font-variant-numeric:tabular-nums; }
.tradeoff { font-size:14.5px; color:var(--muted); }
.facil { padding:12px 14px; border-radius:14px; background:#fff6d6; box-shadow:inset 0 0 0 1.5px #ffe7a0; rotate:-.6deg; }
.facil .cap { color:#9a6a00; }
.facil p { font-weight:650; font-size:15px; }
.result-actions { display:flex; flex-wrap:wrap; gap:10px; }
.outcome-title { font-family:var(--display); font-weight:750; font-size:24px; letter-spacing:-.02em; }
.outcome dl { display:grid; gap:6px; }
.outcome dl div { display:grid; grid-template-columns:96px 1fr; gap:10px; font-size:14.5px; padding:8px 0; border-bottom:1.5px solid #eef1f3; }
.outcome dt { font-weight:750; color:var(--muted); }
.outcome-note { font-size:14px; color:var(--muted); }
.demo > .path { padding:14px 16px; border-radius:20px; background:rgba(5,12,30,.45); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.08); font-family:var(--sans); }
.path ol { display:grid; gap:8px; margin-top:8px; }
.path li { display:grid; grid-template-columns:26px 1fr auto; align-items:center; gap:10px; font-size:14px; color:#dbe6ff; }
.path li span:first-child { width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background:var(--grad); color:var(--ink); font-weight:850; font-size:12px; }
.path li em { font-style:normal; color:#9fb3d9; font-size:12.5px; font-weight:650; white-space:nowrap; }
.demo-note { margin-top:16px; font-size:14px; color:#9fb3d9; max-width:80ch; }


/* ---------- demo: a light frame around the loop ---------- */
.flow { grid-template-columns:repeat(4, minmax(0, 1fr)); max-width:980px; }
.flow::before { left:12%; right:12%; }
.mission .cap { margin-bottom:5px; }
.learn { margin-top:16px; border-radius:20px; background:rgba(255,255,255,.05); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.1); }
.learn summary { display:flex; align-items:center; gap:12px; padding:16px 20px; cursor:pointer; font-weight:700; color:#fff; list-style:none; border-radius:20px; }
.learn summary::-webkit-details-marker { display:none; }
.learn summary::before { content:"+"; flex:none; width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:var(--grad); color:var(--ink); font-weight:900; font-size:18px; line-height:1; transition:rotate .25s var(--ease); }
.learn[open] summary::before { rotate:45deg; }
.learn-in { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:26px; padding:4px 20px 24px 60px; color:#c0cbe0; font-size:15px; }
.learn-in .cap { margin-bottom:9px; }
.learn-in .chips { margin-bottom:10px; }
.learn .chips li { background:rgba(255,255,255,.08); color:#e3ecff; }
.chips { display:flex; flex-wrap:wrap; gap:7px; }
.chips li { padding:6px 11px; border-radius:99px; background:#fff; font-size:13.5px; font-weight:600; }

/* ---------- why organisations use it: three reasons ---------- */
.head.centre { justify-items:center; text-align:center; margin-left:auto; margin-right:auto; }
.why { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
.why li { display:grid; gap:14px; align-content:start; padding:24px 26px 28px; border-radius:var(--r); background:#fff; box-shadow:inset 0 4px 0 var(--c), inset 0 0 0 1.5px var(--rule), 0 2px 0 rgba(12,27,36,.04); }
.why img { width:108px; height:108px; margin:-4px 0 -4px -8px; filter:drop-shadow(0 14px 12px rgba(12,27,36,.16)); }
.why h3 { font-size:23px; margin-bottom:8px; }
.why p { color:var(--muted); font-size:16px; }
.today { max-width:720px; margin:26px auto 0; text-align:center; font-size:14.5px; color:var(--muted); }

/* ---------- one platform, different worlds: three examples in one component ---------- */
.ws { padding:14px; border-radius:32px; background:#fff; box-shadow:0 2px 0 rgba(12,27,36,.05), 0 30px 60px -36px rgba(12,40,80,.45); }
.ws-tabs { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin-bottom:14px; }
.ws-tabs button { display:flex; align-items:center; gap:12px; min-width:0; padding:12px 14px; border:0; border-radius:18px; background:var(--paper); text-align:left; cursor:pointer; box-shadow:inset 0 0 0 1.5px rgba(12,27,36,.08); transition:transform .2s var(--ease), box-shadow .2s, background .2s; }
.ws-tabs button:hover { transform:translateY(-2px); }
.ws-tabs button[aria-selected="true"] { background:#fff; box-shadow:0 4px 0 var(--c), inset 0 0 0 2.5px var(--c); transform:translateY(-2px); }
.ws-tabs button > span:last-child { min-width:0; }
.ws-tabs b { display:block; font-weight:750; font-size:16px; line-height:1.2; }
.ws-tabs small { display:block; font-size:13px; color:var(--muted); font-weight:600; }
.bt-ico { flex:none; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--c); box-shadow:inset 0 -3px 0 rgba(0,0,0,.18); }
.bt-ico svg { width:22px; height:22px; fill:#fff; }
.ws-panel { display:grid; grid-template-columns:minmax(0, 1.65fr) minmax(0, 1fr); gap:14px; }
.ws-stage { grid-row:1 / span 3; min-width:0; }
.ws-gw { aspect-ratio:16/10.4; border-radius:22px; }
.ws-stage .gw-cap { margin:10px 4px 2px; font-size:13.5px; }
.ws-copy { grid-column:2; display:flex; flex-direction:column; gap:12px; padding:24px 22px 22px; border-radius:22px; background:var(--paper); animation:rise .45s var(--ease); }
.js .ws-copy:not(.on) { display:none; }
.ws-copy h3 { font-size:clamp(26px, 2.4vw, 32px); letter-spacing:-.03em; line-height:1.05; }
.ws-copy > p { color:var(--ink-2); font-size:16.5px; }
.ws-facts { display:grid; gap:10px; margin-top:auto; }
.ws-facts div { padding:12px 14px; border-radius:14px; background:#fff; }
.ws-facts dt { font:750 12px/1.3 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--teal); margin-bottom:3px; }
.ws-facts dd { font-weight:600; font-size:15px; line-height:1.4; }
.fiction { margin-top:16px; font-size:14px; color:var(--muted); text-align:center; }

/* ---------- what partners get ---------- */
.pk { display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:clamp(28px, 5vw, 72px); align-items:center; }
.pk-head { display:grid; gap:18px; justify-items:start; }
.pk-obj { width:clamp(140px, 13vw, 190px); height:auto; margin-top:6px; filter:drop-shadow(0 22px 20px rgba(12,27,36,.18)); animation:bob 5s ease-in-out infinite; }
.pk-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pk-list li { display:grid; grid-template-columns:54px 1fr; gap:16px; align-items:start; padding:20px; border-radius:22px; background:#fff; box-shadow:inset 0 0 0 1.5px var(--rule), 0 2px 0 rgba(12,27,36,.04); }
.slot { width:54px; height:54px; display:grid; place-items:center; border-radius:16px; background:var(--c); box-shadow:inset 0 -4px 0 rgba(0,0,0,.2), 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); rotate:-5deg; }
.slot svg { width:26px; height:26px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.pk-list b { display:block; font:720 19px/1.2 var(--display); letter-spacing:-.015em; margin:3px 0 6px; }
.pk-list li span:not(.slot) { display:block; color:var(--muted); font-size:15.5px; line-height:1.45; }

/* ---------- how we work: co-create, pilot, scale ---------- */
.ccs { position:relative; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:clamp(18px, 3vw, 40px); max-width:1080px; margin:0 auto; }
.ccs::before { content:""; position:absolute; left:17%; right:17%; top:34px; height:4px; border-radius:4px; background:repeating-linear-gradient(90deg, rgba(12,27,36,.2) 0 10px, transparent 10px 18px); }
.ccs li { position:relative; display:grid; justify-items:center; align-content:start; text-align:center; gap:10px; }
.ccs-n { width:72px; height:72px; display:grid; place-items:center; margin-bottom:6px; border-radius:24px; background:var(--ink); color:#fff; font:800 28px/1 var(--display); box-shadow:0 5px 0 #000, 0 0 0 8px var(--sun-bg); rotate:-5deg; }
.ccs li:last-child .ccs-n { background:var(--grad); color:var(--ink); box-shadow:0 5px 0 #0aa984, 0 0 0 8px var(--sun-bg); }
.ccs h3 { font-size:26px; }
.ccs p { color:var(--ink-2); max-width:30ch; }

/* ---------- credibility: the team, the record and the prototypes ---------- */
.cred { display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, .7fr); grid-template-areas:"people proof" "shelf shelf"; gap:18px; }
.people { grid-area:people; display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.person { display:grid; grid-template-columns:84px 1fr; grid-template-rows:auto auto; align-content:start; gap:4px 16px; padding:20px; border-radius:var(--r); background:#fff; box-shadow:inset 0 0 0 1.5px var(--rule), 0 2px 0 rgba(12,27,36,.04); }
.person img { grid-row:1 / span 2; width:84px; height:84px; border-radius:18px; object-fit:cover; object-position:50% 20%; }
.person figcaption { display:contents; }
.person b { grid-column:2; align-self:end; font:750 20px/1.2 var(--display); letter-spacing:-.015em; }
.person .role { grid-column:2; align-self:start; font-size:14px; line-height:1.3; font-weight:650; color:var(--teal); }
.person .bio { grid-column:1 / -1; margin-top:12px; color:var(--muted); font-size:15px; line-height:1.5; }
.person .badge { grid-column:1 / -1; justify-self:start; margin-top:8px; padding:5px 10px; border-radius:99px; background:var(--mint-bg); color:var(--teal); font-size:12.5px; font-weight:700; }
.proof { grid-area:proof; padding:22px 24px; border-radius:var(--r); background:var(--ink); color:#fff; }
.proof .cap { color:var(--mint); }
.stats li { display:grid; grid-template-columns:92px 1fr; gap:14px; align-items:center; padding:13px 0; border-top:1px solid rgba(255,255,255,.1); }
.stats li:first-child { border-top:0; }
.stats b { font:800 38px/1 var(--display); letter-spacing:-.04em; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stats span { font-size:14.5px; color:#c8d6de; line-height:1.35; }
.shelf { grid-area:shelf; padding:22px 24px; border-radius:var(--r); background:var(--mint-bg); }
.themes { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:10px; margin:14px 0 12px; }
.themes li { display:grid; gap:4px; justify-items:start; padding:12px 14px 14px; border-radius:18px; background:#fff; box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--c) 30%, transparent), 0 3px 0 color-mix(in srgb, var(--c) 22%, transparent); }
.themes img { width:58px; height:58px; margin:-6px 0 2px -6px; filter:drop-shadow(0 6px 6px rgba(12,27,36,.2)); }
.themes span { font:800 11px/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:color-mix(in srgb, var(--c) 80%, #000); }
.themes b { font:750 18px/1.15 var(--display); letter-spacing:-.015em; }
.shelf-sub { font-size:14.5px; color:var(--muted); }
.m-only { display:none; }

/* ---------- close: one clear action ---------- */
.close { padding:clamp(80px, 9vw, 130px) 0; overflow:hidden; }
.close-in { position:relative; display:grid; gap:20px; justify-items:center; text-align:center; max-width:960px; }
.close-sub { color:#cfdcf2; font-size:19px; max-width:52ch; }
.close .cta-row { justify-content:center; }
.close-bot { width:118px; height:auto; margin-bottom:-4px; animation:bob 4.5s ease-in-out infinite; filter:drop-shadow(0 20px 20px rgba(0,0,0,.4)); }
.direct { font-size:15px; color:#9fb3d9; }
.direct a { color:#fff; font-weight:700; }

/* ---------- footer ---------- */
.foot { background:#081022; color:#9fb3c9; padding:44px 0 30px; font-size:14.5px; }
.foot-in { display:flex; flex-wrap:wrap; align-items:center; gap:18px 36px; padding-bottom:26px; border-bottom:1px solid rgba(255,255,255,.08); }
.foot-in img { width:190px; height:auto; }
.foot nav { display:flex; flex-wrap:wrap; gap:6px 18px; }
.foot nav a { text-decoration:none; font-weight:600; color:#d3deeb; }
.foot nav a:hover { color:#fff; }
.foot-in > p { margin-left:auto; }
.foot-base { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding-top:20px; font-size:13.5px; }

/* ---------- motion ---------- */
.rise { opacity:0; transform:translateY(18px); animation:rise .8s var(--ease) forwards; animation-delay:calc(var(--i, 0) * .09s + .05s); }
@keyframes rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
.js .reveal { opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); transition-delay:var(--d, 0s); }
.js .reveal.in { opacity:1; transform:none; }


/* ---------- responsive ---------- */
@media (max-width:1180px) {
  .links a { padding:9px 9px; font-size:14.5px; }
  .note { display:none; }
}
@media (max-width:1100px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy { max-width:760px; }
  .demo { grid-template-columns:1fr; grid-template-areas:"game" "side" "chart" "path"; grid-template-rows:auto; }
  .ws-panel { grid-template-columns:1fr; }
  .ws-stage { grid-row:auto; }
  .ws-copy { grid-column:auto; }
  .cred { grid-template-columns:1fr; grid-template-areas:"people" "proof" "shelf"; }
  .pk { grid-template-columns:1fr; }
  .pk-head { grid-template-columns:minmax(0, 1fr) auto; align-items:center; column-gap:24px; }
  .pk-head > .eyebrow, .pk-head > h2 { grid-column:1; }
  .pk-obj { grid-column:2; grid-row:1 / span 2; margin:0; }
}
@media (max-width:1060px) {
  .links { position:fixed; inset:72px 12px auto; display:none; flex-direction:column; align-items:stretch; gap:2px; padding:12px; border-radius:20px; background:#fff; box-shadow:0 20px 40px -16px rgba(12,27,36,.4), inset 0 0 0 1.5px rgba(12,27,36,.08); }
  .links.open { display:flex; }
  .links a { padding:13px 14px; font-size:16px; }
  .menu-cta { display:inline-flex !important; justify-content:center; margin-top:8px; }
  .nav-cta { display:none; }
  .menu-btn { display:block; }
  .nav { background:rgba(251,248,241,.9); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
}
@media (max-width:900px) {
  .head.split { grid-template-columns:1fr; row-gap:18px; }
  .learn-in { grid-template-columns:1fr; gap:20px; }
  .why { grid-template-columns:1fr; gap:12px; }
  .why li { grid-template-columns:96px 1fr; align-items:center; gap:18px; }
  .why img { width:96px; height:96px; margin:0; }
  .themes { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width:720px) {
  .people, .pk-list { grid-template-columns:1fr; }
  .ccs { grid-template-columns:1fr; gap:22px; max-width:none; }
  .ccs::before { left:27px; right:auto; top:30px; bottom:30px; width:4px; height:auto; background:repeating-linear-gradient(180deg, rgba(12,27,36,.2) 0 10px, transparent 10px 18px); }
  .ccs li { grid-template-columns:58px 1fr; justify-items:start; text-align:left; column-gap:18px; row-gap:4px; }
  .ccs-n { grid-row:span 2; width:58px; height:58px; margin:0; border-radius:19px; font-size:23px; box-shadow:0 4px 0 #000, 0 0 0 6px var(--sun-bg); }
  .ccs li:last-child .ccs-n { box-shadow:0 4px 0 #0aa984, 0 0 0 6px var(--sun-bg); }
  .ccs h3 { font-size:21px; align-self:end; }
  .ccs p { align-self:start; }
}
/* Phones get their own edit: one idea per screen, shorter copy, one interaction at a time. */
@media (max-width:640px) {
  body { font-size:16px; }
  .m-hide { display:none; }
  .band { padding:56px 0; }
  .head { gap:14px; margin-bottom:28px; }
  h2 { font-size:clamp(31px, 8.6vw, 38px); }
  .lede { font-size:17px; }
  h1 { font-size:clamp(40px, 11.2vw, 52px); margin:0 0 14px; }

  .hero { padding-top:96px; }
  .cube { display:none; }
  .hero-sub { margin-bottom:22px; }
  .hero .cta-row { display:grid; grid-template-columns:1fr; gap:10px; }
  .hero .cta-row .btn { justify-content:center; }
  .hero-grid { gap:30px; padding-bottom:40px; }
  .hero-gw { aspect-ratio:4/4.4; border-radius:22px; }
  .gw-cap { font-size:13px; }

  .flow { gap:8px 4px; margin-bottom:18px; }
  .flow li::before, .flow li::after { width:38px; height:38px; border-radius:12px; font-size:15px; }
  .flow::before { top:19px; }
  .flow span { display:none; }
  .flow b { font-size:12.5px; }
  .demo { padding:8px; border-radius:24px; gap:8px; }
  .demo-gw { aspect-ratio:16/11; border-radius:18px; }
  .demo-side { padding:16px; gap:12px; border-radius:18px; }
  .guide-head { padding-bottom:10px; }
  .guide-ico { width:38px; height:38px; border-radius:12px; }
  .guide-head b { font-size:15.5px; }
  .mission { font-size:15px; }
  .card { padding:11px 12px; font-size:15px; }
  .card-n { width:30px; height:30px; }
  .chart, .demo > .path, .tradeoff, .demo-gw .gw-fic { display:none !important; }
  .learn summary { padding:14px 16px; font-size:15.5px; }
  .learn-in { padding:0 16px 20px; font-size:14.5px; }

  .why li { grid-template-columns:72px 1fr; padding:18px 18px 20px; gap:14px; }
  .why img { width:72px; height:72px; }
  .why h3 { font-size:19.5px; margin-bottom:5px; }
  .why p { font-size:15px; }
  .today { font-size:13.5px; margin-top:20px; }

  .ws { padding:8px; border-radius:24px; }
  .ws-tabs { gap:6px; margin-bottom:8px; }
  .ws-tabs button { flex-direction:column; justify-content:center; gap:6px; padding:10px 6px 9px; text-align:center; border-radius:14px; }
  .ws-tabs b { font-size:13px; }
  .ws-tabs small, .ws-long { display:none; }
  .bt-ico { width:30px; height:30px; border-radius:10px; }
  .bt-ico svg { width:18px; height:18px; }
  .ws-panel { gap:8px; }
  .ws-gw { aspect-ratio:4/3.6; border-radius:18px; }
  .ws-copy { padding:18px 16px; border-radius:18px; gap:10px; }
  .ws-copy h3 { font-size:24px; }
  .ws-copy > p { font-size:15px; }
  .ws-facts dd { font-size:14.5px; }
  .fiction { font-size:13px; }

  .pk-head { grid-template-columns:1fr; }
  .pk-obj { display:none; }
  .pk-list { gap:8px; }
  .pk-list li { grid-template-columns:44px 1fr; gap:14px; padding:14px 16px; border-radius:18px; }
  .slot { width:44px; height:44px; border-radius:13px; }
  .slot svg { width:22px; height:22px; }
  .pk-list b { font-size:17px; margin:0 0 3px; }
  .pk-list li span:not(.slot) { font-size:14.5px; }

  .people { gap:10px; }
  .cred { gap:10px; }
  .person { grid-template-columns:64px 1fr; padding:16px; }
  .person img { width:64px; height:64px; border-radius:15px; }
  .person b { font-size:18px; }
  .person .role { font-size:13px; }
  .person .bio { font-size:14.5px; margin-top:10px; }
  .proof { padding:18px; }
  .stats li { grid-template-columns:74px 1fr; padding:11px 0; }
  .stats b { font-size:31px; }
  .stats span { font-size:14px; }
  .shelf { padding:18px; }
  .themes, .d-only { display:none; }
  .m-only { display:inline; }
  .shelf .cap { margin-bottom:6px; }

  .close { padding:64px 0 72px; }
  .close-bot { width:88px; }
  .close-sub { font-size:17px; }
  .close .cta-row { display:grid; grid-template-columns:1fr; width:100%; gap:10px; }
  .close .cta-row .btn { justify-content:center; }
  .foot-in > p { margin-left:0; }
  .brand img { width:180px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .rise, .js .reveal { animation:none; opacity:1; transform:none; transition:none; }
  .gw-load span, .cube, .pk-obj, .close-bot, .ws-copy { animation:none; }
}

