/* The About page (/about): the story of Study Classroom, its founder and his projects. Only this page loads this file.
   Colours are custom properties on .ab-root, set again for dark mode at the end; the background is a slow aurora of
   three soft lights over a dot grid, still when the visitor asks for less motion. */
.ab-root{--ab-bg:#f3f7f4;--ab-ink:#10231b;--ab-text:#33473f;--ab-muted:#5f7068;--ab-card:#ffffffeb;--ab-solid:#fff;--ab-soft:#f4f8f6;--ab-line:#dce6e0;--ab-accent:#176653;--ab-hover:#9fc3b4;
 --ab-a:#5eead473;--ab-b:#a78bfa5c;--ab-c:#fdba7466;--ab-dot:#10231b1c;--ab-shadow:0 1px 2px #10231b0f,0 22px 48px -22px #10231b40;--ab-lift:0 14px 30px -14px #10231b59;
 --ab-title:linear-gradient(115deg,#0f5a45 8%,#16a34a 46%,#6d3fd6 92%);--ab-ring:#1766533d;--ab-ring-2:#6d3fd629}
body.ab-root{margin:0;min-height:100vh;background:var(--ab-bg);color:var(--ab-ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden;transition:background-color .3s}
.ab-root a:focus-visible,.ab-root button:focus-visible,.ab-root summary:focus-visible{outline:3px solid #16a34a;outline-offset:3px}

/* The background */
.ab-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.ab-blob{position:absolute;width:72vmax;height:72vmax;border-radius:50%;will-change:transform}
.ab-blob.is-a{left:-24vmax;top:-34vmax;background:radial-gradient(closest-side,var(--ab-a),transparent);animation:ab-drift-a 26s ease-in-out infinite alternate}
.ab-blob.is-b{right:-30vmax;top:6vh;background:radial-gradient(closest-side,var(--ab-b),transparent);animation:ab-drift-b 32s ease-in-out infinite alternate}
.ab-blob.is-c{left:6vw;bottom:-46vmax;background:radial-gradient(closest-side,var(--ab-c),transparent);animation:ab-drift-c 38s ease-in-out infinite alternate}
.ab-dots{position:absolute;inset:0;background-image:radial-gradient(var(--ab-dot) 1px,transparent 1.4px);background-size:24px 24px;-webkit-mask-image:linear-gradient(#000 0,#0008 45%,transparent 85%);mask-image:linear-gradient(#000 0,#0008 45%,transparent 85%)}
body.ab-root>.ab-top,body.ab-root>.ab,body.ab-root>.legal-footer{position:relative;z-index:1}
@keyframes ab-drift-a{to{transform:translate(12vmax,9vmax) scale(1.12)}}
@keyframes ab-drift-b{to{transform:translate(-14vmax,16vmax) scale(.9)}}
@keyframes ab-drift-c{to{transform:translate(16vmax,-12vmax) scale(1.1)}}

/* The top bar */
.ab-top{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1120px;margin:0 auto;padding:20px 24px 0}
.ab-top .brand{text-decoration:none}
.ab-top-link{display:inline-flex;align-items:center;gap:6px;padding:9px 14px 9px 18px;border:1px solid var(--ab-line);border-radius:999px;background:var(--ab-card);color:var(--ab-ink);font-size:14px;font-weight:800;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.ab-top-link:hover{transform:translateY(-1px);border-color:var(--ab-hover);box-shadow:var(--ab-lift)}
.ab-top-link svg{width:15px;height:15px}

.ab{display:grid;gap:clamp(48px,8vw,96px);max-width:1120px;margin:0 auto;padding:clamp(28px,6vw,64px) 24px 40px}

/* The hero */
.ab-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:clamp(24px,5vw,64px)}
.ab-eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 18px;padding:6px 14px;border:1px solid var(--ab-line);border-radius:999px;background:var(--ab-card);color:var(--ab-accent);font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.ab-eyebrow i{width:8px;height:8px;border-radius:50%;background:#16a34a;animation:ab-ping 2.2s ease-out infinite}
.ab-title{margin:0;padding-bottom:.06em;background:var(--ab-title);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:clamp(46px,8vw,86px);font-weight:900;line-height:.98;letter-spacing:-.04em}
.ab-lead{max-width:610px;margin:20px 0 0;color:var(--ab-text);font-size:clamp(16px,1.6vw,18.5px);line-height:1.65}
.ab-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:610px;margin:26px 0 0;padding:0;list-style:none}
.ab-features li{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 14px 10px 10px;border:1px solid var(--ab-line);border-radius:16px;background:var(--ab-card)}
.ab-features b{font-size:14.5px;line-height:1.3}
.ab-ico{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:linear-gradient(140deg,#1f7a5c,#0f4a37);color:#fff;box-shadow:0 6px 14px -6px #0f4a37aa}
.ab-ico svg{width:19px;height:19px}
.ab-features li:nth-child(2) .ab-ico{background:linear-gradient(140deg,#7c5ce0,#4c2aa8);box-shadow:0 6px 14px -6px #4c2aa8aa}
.ab-features li:nth-child(3) .ab-ico{background:linear-gradient(140deg,#f59e0b,#c2410c);box-shadow:0 6px 14px -6px #c2410caa}
.ab-features li:nth-child(4) .ab-ico{background:linear-gradient(140deg,#38bdf8,#1d4ed8);box-shadow:0 6px 14px -6px #1d4ed8aa}
.ab-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.ab-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border:1px solid var(--ab-line);border-radius:14px;background:var(--ab-solid);color:var(--ab-ink);font-size:15px;font-weight:800;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s,filter .15s}
.ab-btn svg{flex:none;width:17px;height:17px}
.ab-btn:hover{transform:translateY(-1px);border-color:var(--ab-hover);box-shadow:var(--ab-lift)}
.ab-btn.is-primary{border-color:transparent;background:linear-gradient(135deg,#1d8062,#10503c);color:#fff;box-shadow:0 12px 26px -12px #10503ccc}
.ab-btn.is-primary:hover{filter:brightness(1.08)}

/* The mascot, floating among slow rings */
.ab-art{position:relative;justify-self:center;display:grid;place-items:center;width:min(420px,100%);aspect-ratio:1}
.ab-glow{position:absolute;inset:16%;border-radius:50%;background:radial-gradient(closest-side,#8b5cf659,#16a34a38 62%,transparent)}
.ab-ring{position:absolute;border:1.5px dashed var(--ab-ring);border-radius:50%}
.ab-ring.is-1{inset:21%;animation:ab-spin 42s linear infinite}
.ab-ring.is-2{inset:9%;border-style:solid;border-color:var(--ab-ring-2)}
.ab-ring.is-3{inset:0;border-color:var(--ab-ring);opacity:.7;animation:ab-spin 80s linear infinite reverse}
.ab-logo{position:relative;z-index:2;width:44%;aspect-ratio:1;overflow:hidden;border-radius:30%;box-shadow:0 34px 60px -22px #3b1d7a99,0 8px 18px #10231b29;animation:ab-float 5s ease-in-out infinite}
.ab-logo svg{display:block;width:100%;height:100%}
.ab-shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,#ffffff5c 50%,transparent 65%);transform:translateX(-130%);animation:ab-shine 6s ease-in-out 1.2s infinite}
.ab-orbit{position:absolute;inset:0;z-index:3;animation:ab-spin 28s linear infinite}
.ab-orbit i{position:absolute;top:calc(9% - 23px);left:calc(50% - 23px);display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--ab-solid);color:#16a34a;box-shadow:0 0 0 1px var(--ab-line),0 12px 24px -12px #10231b66;animation:ab-spin 28s linear infinite reverse}
.ab-orbit i svg{width:22px;height:22px}
.ab-orbit.is-2,.ab-orbit.is-2 i{animation-delay:-7s}.ab-orbit.is-2 i{color:#7c3aed}
.ab-orbit.is-3,.ab-orbit.is-3 i{animation-delay:-14s}.ab-orbit.is-3 i{color:#ea8a0b}
.ab-orbit.is-4,.ab-orbit.is-4 i{animation-delay:-21s}.ab-orbit.is-4 i{color:#2563eb}
@keyframes ab-spin{to{transform:rotate(360deg)}}
@keyframes ab-float{50%{transform:translateY(-10px) rotate(-2deg)}}
@keyframes ab-shine{0%,62%{transform:translateX(-130%)}82%,100%{transform:translateX(130%)}}
@keyframes ab-ping{0%{box-shadow:0 0 0 0 #16a34a66}100%{box-shadow:0 0 0 10px #16a34a00}}

/* Sections and cards */
.ab-section{display:grid;gap:22px;scroll-margin-top:24px}
.ab-head{display:grid;gap:6px}
.ab-kicker{display:inline-flex;align-items:center;gap:10px;margin:0;color:var(--ab-accent);font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.ab-kicker .ab-ico{width:30px;height:30px;border-radius:9px}.ab-kicker .ab-ico svg{width:16px;height:16px}
.ab-head h2{margin:0;color:var(--ab-ink);font-size:clamp(28px,4vw,42px);font-weight:900;line-height:1.1;letter-spacing:-.03em}
.ab-card{position:relative;padding:clamp(20px,3.4vw,36px);border:1px solid var(--ab-line);border-radius:28px;background:var(--ab-card);box-shadow:var(--ab-shadow)}
.ab-root .ab-card a:not(.ab-btn):not(.ab-link):not(.ab-aff):not(.ab-name){color:var(--ab-accent);font-weight:700;text-decoration:underline;text-decoration-color:var(--ab-hover);text-underline-offset:3px}

/* Our story: a line through four steps (down the page on a phone) */
.ab-timeline{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.ab-timeline::before{content:"";position:absolute;top:27px;left:28px;right:28px;height:2px;border-radius:2px;background:linear-gradient(90deg,#16a34a,#6d3fd6 66%,#f59e0b);opacity:.5}
.ab-step{position:relative;display:grid;align-content:start;gap:8px}
.ab-step-dot{position:relative;z-index:1;display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--ab-solid);color:var(--ab-accent);box-shadow:0 0 0 1px var(--ab-line),0 12px 24px -12px #10231b59}
.ab-step-dot svg{width:24px;height:24px}
.ab-step.is-now .ab-step-dot{background:linear-gradient(140deg,#1f7a5c,#0f4a37);color:#fff;box-shadow:0 0 0 6px #16a34a24,0 14px 28px -12px #0f4a37}
.ab-step-when{margin:8px 0 0;color:var(--ab-muted);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ab-step.is-now .ab-step-when{color:#16a34a}
.ab-step h3{margin:0;font-size:19px;line-height:1.25;letter-spacing:-.01em}
.ab-step p:last-child{margin:0;color:var(--ab-text);font-size:15px;line-height:1.6}

/* The founder: a banner, the photo over its edge, his roles as the site shows them, links, background, affiliations */
.ab-founder{padding:0;overflow:hidden}
.ab-founder>:not(.ab-banner){margin-left:clamp(20px,3.4vw,36px);margin-right:clamp(20px,3.4vw,36px)}
.ab-banner{position:relative;height:clamp(110px,15vw,150px);overflow:hidden;background:linear-gradient(118deg,#0c3d2e 0%,#1b7a5d 36%,#4f36a8 74%,#7c3aed 100%)}
.ab-banner::before{content:"";position:absolute;inset:0;background-image:radial-gradient(#ffffff30 1.2px,transparent 1.6px);background-size:16px 16px;-webkit-mask-image:linear-gradient(90deg,transparent 10%,#000 60%);mask-image:linear-gradient(90deg,transparent 10%,#000 60%)}
.ab-banner::after{content:"";position:absolute;top:-90px;right:-50px;width:300px;height:300px;border-radius:50%;background:radial-gradient(closest-side,#fbbf2470,transparent)}
.ab-banner i{position:absolute;left:-60px;bottom:-150px;width:300px;height:300px;border:1.5px solid #ffffff26;border-radius:50%;box-shadow:0 0 0 40px #ffffff08}
.ab-founder-main{display:flex;align-items:flex-end;gap:20px;margin-top:-58px}
.ab-face{position:relative;display:grid;place-items:center;flex:none;width:clamp(108px,13vw,132px);aspect-ratio:1;overflow:hidden;border-radius:50%;background:linear-gradient(140deg,#1f6f55,#123d2e);color:#fff;font:900 34px/1 system-ui,sans-serif;box-shadow:0 0 0 5px var(--ab-solid),0 18px 36px -12px #10231b80}
.ab-face.is-waiting::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,#ffffff47 50%,transparent 70%);background-size:220% 100%;animation:ab-wait 1.3s linear infinite}
.ab-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s}
.ab-face img.is-in{opacity:1}
button.ab-face{margin:0;padding:0;border:0;cursor:zoom-in}
@keyframes ab-wait{from{background-position:120% 0}to{background-position:-120% 0}}
.ab-founder-id{display:grid;gap:10px;min-width:0;padding-bottom:4px}
.ab-founder-id h2{margin:0;font-size:clamp(25px,3.4vw,34px);font-weight:900;line-height:1.12;letter-spacing:-.02em}
.ab-name{color:inherit;text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-position:0 100%;background-repeat:no-repeat;background-size:0 2px;transition:background-size .25s}
.ab-name:hover{background-size:100% 2px}
.ab-roles{display:flex;flex-wrap:wrap;gap:8px;min-height:28px}
.ab-bio{max-width:780px;margin-top:20px;margin-bottom:0;color:var(--ab-text);font-size:16.5px;line-height:1.7}
.ab-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;margin-bottom:0;padding:0;list-style:none}
.ab-highlights li{display:grid;align-content:start;gap:2px;min-width:0;padding:16px 18px;border:1px solid var(--ab-line);border-radius:18px;background:var(--ab-soft)}
.ab-hl-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}
.ab-hl-top b{background:var(--ab-title);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:30px;font-weight:900;line-height:1.1;letter-spacing:-.03em}
.ab-hl-logo{display:grid;place-items:center;flex:none;height:40px;padding:5px 9px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px var(--ab-line)}
.ab-hl-logo img{display:block;width:auto;height:28px}
.ab-hl-label{color:var(--ab-ink);font-size:14.5px;font-weight:800}
.ab-highlights p{margin:4px 0 0;color:var(--ab-text);font-size:14px;line-height:1.55}
.ab-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.ab-link{display:inline-flex;align-items:center;gap:10px;min-width:0;padding:6px 16px 6px 6px;border:1px solid var(--ab-line);border-radius:16px;background:var(--ab-solid);color:var(--ab-ink);text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.ab-link:hover{transform:translateY(-2px);border-color:var(--ab-hover);box-shadow:var(--ab-lift)}
.ab-link-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;color:#fff}
.ab-link-icon svg{width:21px;height:21px}
.ab-link.is-instagram .ab-link-icon{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.ab-link.is-x .ab-link-icon{background:#000;box-shadow:inset 0 0 0 1px #ffffff26}.ab-link.is-x .ab-link-icon svg{width:18px;height:18px}
.ab-link.is-github .ab-link-icon{background:#181717;box-shadow:inset 0 0 0 1px #ffffff26}.ab-link.is-github .ab-link-icon svg{width:22px;height:22px}
.ab-link.is-mail .ab-link-icon{background:linear-gradient(140deg,#1f7a5c,#0f4a37)}
.ab-link-text{display:grid;min-width:0;line-height:1.2}.ab-link-text b{font-size:14px}.ab-link-text small{overflow-wrap:anywhere;color:var(--ab-muted);font-size:12.5px}
.ab-affiliations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.ab-aff{display:flex;align-items:center;gap:14px;min-width:0;padding:14px;border:1px solid var(--ab-line);border-radius:18px;background:var(--ab-soft);color:var(--ab-ink);text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.ab-aff:hover{transform:translateY(-2px);border-color:var(--ab-hover);box-shadow:var(--ab-lift)}
.ab-aff-logo{display:grid;place-items:center;flex:none;height:60px;overflow:hidden;border-radius:14px}
.ab-aff-logo.is-scut{padding:6px 12px;background:linear-gradient(140deg,#1f6f55,#0f3a2c)}.ab-aff-logo.is-scut img{display:block;width:auto;height:46px}
.ab-aff-logo.is-isu{width:60px;padding:3px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px var(--ab-line)}.ab-aff-logo.is-isu img{display:block;width:100%;height:100%;object-fit:contain}
.ab-aff-text{display:grid;gap:1px;min-width:0}.ab-aff-text b{font-size:15px;line-height:1.3}.ab-aff-text small{color:var(--ab-muted);font-size:13px}
.ab-aff-site{display:inline-flex;align-items:center;gap:5px}.ab-aff-site svg{width:13px;height:13px}
.ab-note{margin-top:12px;margin-bottom:0;color:var(--ab-muted);font-size:13px;line-height:1.55}
.ab-profile{margin-top:22px;margin-bottom:clamp(20px,3.4vw,36px)}

/* Projects */
.ab-project{display:grid;gap:24px}
.ab-film{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:20px;background:#07120e}
.ab-film-poster{display:block;width:100%;height:100%;object-fit:cover}
.ab-film .film,.ab-trailer .film{border-radius:inherit;box-shadow:none}
.ab-project-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:24px}
.ab-tag-line{display:inline-flex;align-items:center;gap:10px;margin:0 0 12px;color:var(--ab-muted);font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ab-tag-line .ab-ico{width:30px;height:30px;border-radius:9px}.ab-tag-line .ab-ico svg{width:16px;height:16px}
.ab-project h3{margin:0;font-size:clamp(21px,2.6vw,27px);line-height:1.2;letter-spacing:-.02em}
.ab-project-text>p:not(.ab-tag-line){margin:12px 0 0;color:var(--ab-text);font-size:16px;line-height:1.65}
.ab-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.ab-stats div{display:flex;flex-direction:column-reverse;gap:2px;min-width:0;padding:14px 16px;border:1px solid var(--ab-line);border-radius:16px;background:var(--ab-soft)}
.ab-stats dd{margin:0;color:var(--ab-ink);font-size:24px;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.ab-stats dt{color:var(--ab-muted);font-size:13px;line-height:1.35}
.ab-more{overflow:hidden;border:1px solid var(--ab-line);border-radius:18px;background:var(--ab-soft)}
.ab-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;font-size:16px;font-weight:800;list-style:none;cursor:pointer}
.ab-more summary::-webkit-details-marker{display:none}
.ab-more summary i{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--ab-solid);box-shadow:0 0 0 1px var(--ab-line);transition:transform .25s}
.ab-more summary i svg{width:16px;height:16px}
.ab-more[open] summary i{transform:rotate(180deg)}
.ab-more-body{display:grid;gap:18px;padding:4px 20px 22px}
.ab-more[open] .ab-more-body{animation:ab-open .3s ease-out}
@keyframes ab-open{from{opacity:0;transform:translateY(-6px)}}
.ab-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.ab-steps li{display:flex;align-items:flex-start;gap:14px;min-width:0;padding:16px;border-radius:16px;background:var(--ab-solid);box-shadow:0 0 0 1px var(--ab-line)}
.ab-steps b{display:block;margin-bottom:4px;font-size:15.5px}
.ab-steps p{margin:0;color:var(--ab-text);font-size:14.5px;line-height:1.6}
.ab-specs{padding:18px;border-radius:16px;background:linear-gradient(135deg,#0f2a21,#1d1745);color:#e7f0eb}
.ab-specs .ab-kicker{color:#a7f3d0}
.ab-specs dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 0}
.ab-specs dl div{min-width:0;padding:12px;border-radius:12px;background:#ffffff0f;box-shadow:inset 0 0 0 1px #ffffff1c}
.ab-specs dt{color:#9fb8ae;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ab-specs dd{display:grid;margin:4px 0 0}.ab-specs dd b{font-size:15px;line-height:1.3}.ab-specs dd small{color:#b9cbc3;font-size:12.5px}
.ab-credits{margin:0;color:var(--ab-muted);font-size:12.5px;line-height:1.6}
.ab-project.is-site{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;align-items:center;column-gap:clamp(24px,5vw,56px)}
.ab-project.is-site .ab-project-text{grid-column:1;align-self:end}
.ab-project.is-site .ab-site-open{grid-column:1;align-self:start;justify-self:start}
.ab-trailer{position:relative;grid-column:2;grid-row:1/span 2;width:clamp(220px,23vw,280px);aspect-ratio:9/16;overflow:hidden;border-radius:32px;background:#07120e;box-shadow:0 0 0 7px #0d1613,0 0 0 8px #ffffff24,0 34px 64px -24px #10231b99}
.ab-trailer .film{aspect-ratio:9/16}
.ab-pills{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.ab-pills li{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border:1px solid var(--ab-line);border-radius:999px;background:var(--ab-soft);font-size:13.5px;font-weight:700}
.ab-pills svg{width:15px;height:15px;color:#16a34a}

/* Copyright and contact */
.ab-legal{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:stretch}
.ab-copy p:not(.ab-kicker),.ab-contact p:not(.ab-kicker){margin:12px 0 0;color:var(--ab-text);font-size:15px;line-height:1.65}
.ab-copy .ab-kicker,.ab-contact .ab-kicker{margin-bottom:4px}
.ab-copy p.ab-strong{color:var(--ab-ink);font-weight:800}
.ab-copy p.ab-small{color:var(--ab-muted);font-size:13.5px}
.ab-contact{display:flex;flex-direction:column}
.ab-contact-actions{display:grid;gap:10px;margin-top:auto;padding-top:20px}
.ab-contact-actions .ab-btn{justify-content:flex-start;min-width:0}
.ab-contact-actions .ab-btn span{overflow-wrap:anywhere}
body.ab-root .legal-footer{width:min(1072px,calc(100% - 48px));border-top-color:var(--ab-line);color:var(--ab-muted)}

/* Phones */
@media(max-width:760px){
 .ab-top{padding:14px 16px 0}
 .ab-top-link{padding:8px 12px 8px 14px;font-size:13px}
 .ab{gap:52px;padding:22px 16px 28px}
 .ab-hero{grid-template-columns:minmax(0,1fr);gap:8px}
 .ab-art{order:-1;width:min(250px,72vw)}
 .ab-orbit i{width:38px;height:38px;border-radius:12px;top:calc(9% - 19px);left:calc(50% - 19px)}.ab-orbit i svg{width:18px;height:18px}
 .ab-features{grid-template-columns:minmax(0,1fr)}
 .ab-actions .ab-btn{flex:1 1 auto}
 .ab-timeline{grid-template-columns:minmax(0,1fr);gap:24px}
 .ab-timeline::before{top:26px;bottom:26px;left:25px;right:auto;width:2px;height:auto;background:linear-gradient(#16a34a,#6d3fd6 66%,#f59e0b)}
 .ab-step{grid-template-columns:52px minmax(0,1fr);column-gap:16px;row-gap:4px}
 .ab-step-dot{grid-row:1/span 3;width:52px;height:52px;border-radius:16px}
 .ab-step>:not(.ab-step-dot){grid-column:2}
 .ab-step-when{margin-top:2px}
 .ab-card{border-radius:22px}
 .ab-founder-main{flex-direction:column;align-items:flex-start;gap:12px;margin-top:-54px}
 .ab-bio{font-size:16px}
 .ab-highlights,.ab-affiliations{grid-template-columns:minmax(0,1fr)}
 .ab-links{display:grid;grid-template-columns:minmax(0,1fr)}
 .ab-profile{display:flex}
 .ab-project-body,.ab-steps{grid-template-columns:minmax(0,1fr)}
 .ab-film{margin:-6px -6px 0;border-radius:16px}
 .ab-specs dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ab-more summary{padding:14px 16px}.ab-more-body{padding:4px 12px 16px}
 .ab-project.is-site{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
 .ab-project.is-site .ab-project-text,.ab-project.is-site .ab-site-open{grid-column:1}
 .ab-project.is-site .ab-site-open{justify-self:stretch}
 .ab-trailer{order:-1;grid-column:1;grid-row:auto;justify-self:center;width:min(250px,70vw)}
 .ab-legal{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px){.ab-title{font-size:42px}.ab-stats dd{font-size:21px}}
@media(prefers-reduced-motion:reduce){.ab-blob,.ab-ring,.ab-orbit,.ab-orbit i,.ab-logo,.ab-shine,.ab-eyebrow i,.ab-face.is-waiting::after{animation:none}.ab-btn,.ab-link,.ab-aff,.ab-top-link{transition:none}.ab-btn:hover,.ab-link:hover,.ab-aff:hover,.ab-top-link:hover{transform:none}}

/* Dark mode: the same page at night */
html[data-theme=dark] .ab-root{--ab-bg:#09110e;--ab-ink:#e8f1ec;--ab-text:#c3d1ca;--ab-muted:#93a69d;--ab-card:#101a16eb;--ab-solid:#15211c;--ab-soft:#14201b;--ab-line:#263832;--ab-accent:#6ee7b7;--ab-hover:#3f7a63;
 --ab-a:#10b98142;--ab-b:#7c3aed4d;--ab-c:#f9731626;--ab-dot:#ffffff12;--ab-shadow:0 1px 2px #0009,0 24px 52px -24px #000d;--ab-lift:0 14px 30px -14px #000e;
 --ab-title:linear-gradient(115deg,#6ee7b7 5%,#34d399 42%,#c4b5fd 92%);--ab-ring:#6ee7b738;--ab-ring-2:#c4b5fd2e}
html[data-theme=dark] body.ab-root{background:var(--ab-bg);color:var(--ab-ink)}
html[data-theme=dark] .ab-root .brand-name strong{color:#e8f1ec}
html[data-theme=dark] .ab-specs{background:linear-gradient(135deg,#0c211a,#191338);box-shadow:inset 0 0 0 1px #ffffff14}
html[data-theme=dark] .ab-trailer{box-shadow:0 0 0 7px #1b2823,0 0 0 8px #ffffff1f,0 34px 64px -24px #000}
html[data-theme=dark] .ab-step-dot,html[data-theme=dark] .ab-orbit i{box-shadow:0 0 0 1px var(--ab-line),0 12px 24px -12px #000}
/* The photo is also a site avatar (button.person-avatar, so the site's photo viewer opens it); it keeps this card's
   size, ring and colours over the small avatars' rules in both themes. */
.ab-root button.ab-face,.ab-root span.ab-face{width:clamp(108px,13vw,132px);height:auto;aspect-ratio:1;background:linear-gradient(140deg,#1f6f55,#123d2e);color:#fff;font:900 34px/1 system-ui,sans-serif;letter-spacing:0;box-shadow:0 0 0 5px var(--ab-solid),0 18px 36px -12px #10231b80}
/* Tablets: the founder's three tiles as rows (the big figure on the left, the words on the right), not three narrow
   columns. */
@media(min-width:761px) and (max-width:1000px){
 .ab-highlights{grid-template-columns:minmax(0,1fr)}
 .ab-highlights li{grid-template-columns:170px minmax(0,1fr);column-gap:22px;align-items:center}
 .ab-hl-top{grid-row:1/span 2;flex-direction:column;align-items:flex-start;gap:8px}
 .ab-hl-label,.ab-highlights p{grid-column:2}
}

/* The E3 film with its live map: beside the film on a computer, a row under it on a tablet, full width on a phone. The
   map is drawn at night, like the film, in both themes. */
.ab-e3-stage{display:grid;grid-template-columns:minmax(0,1fr) clamp(250px,26vw,300px);align-items:stretch;gap:14px}
.ab-map{display:grid;grid-template-rows:auto auto 1fr;gap:10px;min-width:0;padding:12px;border-radius:20px;background:linear-gradient(160deg,#0f1d2e,#080d15);color:#e8eef5;box-shadow:inset 0 0 0 1px #ffffff17,0 18px 40px -22px #000c}
.ab-map-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px 0;color:#9fb0c3;font:700 11px/1.2 ui-monospace,"Cascadia Code",Consolas,monospace;letter-spacing:.12em;text-transform:uppercase}
.ab-map-title small{margin-left:8px;color:#6f8297;font-weight:600;letter-spacing:.04em;text-transform:none}
.ab-map-live{display:inline-flex;align-items:center;gap:6px;color:#6f8297}
.ab-map-live i{width:7px;height:7px;border-radius:50%;background:#4b5a6d}
.ab-map.is-live .ab-map-live{color:#ffd8a6}.ab-map.is-live .ab-map-live i{background:#fb923c;animation:ab-ping-o 1.6s ease-out infinite}
@keyframes ab-ping-o{0%{box-shadow:0 0 0 0 #fb923c99}100%{box-shadow:0 0 0 8px #fb923c00}}
.ab-map-box{position:relative;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#05080d;box-shadow:inset 0 0 0 1px #ffffff12;touch-action:none;user-select:none}
.ab-map-box img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ab-map-box svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ab-map-box svg.is-near,.ab-map.is-dragging .ab-map-box svg{cursor:grab}.ab-map.is-dragging .ab-map-box svg{cursor:grabbing}
.ab-map-trail{fill:none;stroke:#ffd8a666;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 12}
.ab-map-flown{fill:none;stroke:#ffb15c;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.ab-map-hit{fill:none;stroke:transparent;stroke-width:70;pointer-events:stroke}
.ab-map-chapter{fill:#0b1220;stroke:#ffd8a6;stroke-width:5}
.ab-map-dot{fill:#fff;stroke:#fb923c;stroke-width:8}
.ab-map-halo{fill:#fb923c38;transform-origin:center;transform-box:fill-box;animation:ab-halo 1.8s ease-out infinite}
@keyframes ab-halo{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.6);opacity:0}}
.ab-map-north path{fill:#ffd8a6}.ab-map-north text,.ab-map-scale text{fill:#f0e7db;font:700 34px ui-monospace,Consolas,monospace}
.ab-map-scale path{fill:none;stroke:#f0e7db;stroke-width:5}
.ab-map-read{display:grid;align-content:start;gap:3px;min-height:44px;margin:0;padding:0 4px 2px;color:#c7d3e0;font-size:13px;line-height:1.45}
.ab-map-read b{color:#fff;font-size:15px;font-weight:800}
.ab-map-read>span{color:#9fb0c3;font:12px/1.4 ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums}
@media(max-width:1000px){
 .ab-e3-stage{grid-template-columns:minmax(0,1fr)}
 .ab-map{grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:16px}
 .ab-map-box{grid-column:1;grid-row:1/span 2}
 .ab-map-head{grid-column:2;padding-top:6px}.ab-map-read{grid-column:2}
}
@media(max-width:760px){
 .ab-map{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;margin:0 -6px}
 .ab-map-box,.ab-map-head,.ab-map-read{grid-column:1;grid-row:auto}
 .ab-map-head{padding-top:2px}
}
@media(prefers-reduced-motion:reduce){.ab-map-halo,.ab-map.is-live .ab-map-live i{animation:none}}

/* Logos in the projects' tag lines: Blender's mark on white, and the site's own logo. */
.ab-tag-line .ab-ico.is-img{background:#fff;box-shadow:0 0 0 1px var(--ab-line),0 6px 14px -8px #10231b66}
.ab-tag-line .ab-ico.is-img img{display:block;width:78%;height:78%;object-fit:contain}
.ab-tag-line .ab-ico.is-logo{overflow:hidden;padding:0;border-radius:9px;background:none;box-shadow:0 6px 14px -6px #3b1d7a88}
.ab-tag-line .ab-ico.is-logo svg{display:block;width:100%;height:100%}
.ab-tag-line .ab-ico.is-img,.ab-tag-line .ab-ico.is-logo{width:34px;height:34px}
/* The tools he works best in, under the Erasmus+ tile's words. */
.ab-hl-tools{display:grid;gap:6px;margin-top:10px}
.ab-hl-tools small{color:var(--ab-muted);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ab-hl-tools ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.ab-hl-tools li{padding:4px 10px;border-radius:999px;background:var(--ab-solid);box-shadow:0 0 0 1px var(--ab-line);color:var(--ab-ink);font-size:12.5px;font-weight:750}
@media(min-width:761px) and (max-width:1000px){.ab-hl-tools{grid-column:2}}

/* The mascot plays: it leans toward the pointer (--rx, --ry from about.js) with a glare where the light falls and its
   eyes following, squashes when pressed and bounces back, gets dizzy when shaken about (it wobbles, squints, stars go
   round its head); a tap opens it full screen. */
.ab-logo{overflow:visible;margin:0;padding:0;border:0;border-radius:30%;background:none;box-shadow:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ab-logo:focus-visible{outline:3px solid #16a34a;outline-offset:6px}
.ab-logo-tilt{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:30%;box-shadow:0 34px 60px -22px #3b1d7a99,0 8px 18px #10231b29;transform:perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.ab-logo-tilt svg{display:block;width:100%;height:100%}
.ab-logo-tilt::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--gx,30%) var(--gy,20%),#ffffff66,transparent 48%);opacity:var(--glare,0);transition:opacity .3s;pointer-events:none}
.ab-logo.is-tracking .ab-logo-tilt{transition:transform .06s linear}
.ab-logo.is-pressed .ab-logo-tilt{transform:perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(.9,.84);transition:transform .12s ease-out}
.ab-logo.is-boing .ab-logo-tilt{animation:ab-boing .55s cubic-bezier(.3,1.7,.5,1)}
@keyframes ab-boing{0%{transform:perspective(700px) scale(.9,.84)}45%{transform:perspective(700px) scale(1.08,1.1)}100%{transform:perspective(700px) scale(1)}}
.ab-logo.is-dizzy .ab-logo-tilt{animation:ab-dizzy 1.2s ease-in-out}
@keyframes ab-dizzy{0%,100%{transform:perspective(700px) rotate(0)}20%{transform:perspective(700px) rotate(-9deg) translateX(-4%)}40%{transform:perspective(700px) rotate(8deg) translateX(4%)}60%{transform:perspective(700px) rotate(-6deg)}80%{transform:perspective(700px) rotate(4deg)}}
.ab-logo.is-dizzy .logo-eyes ellipse{animation:none;transform:scaleY(.22)}
.ab-dizzy{position:absolute;left:50%;top:-14%;z-index:3;width:76%;height:32%;transform:translateX(-50%) scaleY(.36);opacity:0;transition:opacity .2s;pointer-events:none}
.ab-dizzy>span{position:absolute;inset:0;animation:ab-spin .9s linear infinite;animation-play-state:paused}
.ab-dizzy i{position:absolute;left:50%;top:50%;width:17%;aspect-ratio:1;margin:-8.5% 0 0 -8.5%;background:#fbbf24;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.ab-dizzy i:nth-child(1){transform:rotate(0deg) translateX(250%)}.ab-dizzy i:nth-child(2){transform:rotate(120deg) translateX(250%)}.ab-dizzy i:nth-child(3){transform:rotate(240deg) translateX(250%)}
.ab-logo.is-dizzy .ab-dizzy{opacity:1}.ab-logo.is-dizzy .ab-dizzy>span{animation-play-state:running}
/* Full screen */
.ab-mascot-view{--ab-ring:#ffffff33;--ab-ring-2:#c4b5fd47;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:radial-gradient(circle at 50% 42%,#3b2a7a 0,#140f2e 46%,#06070d 88%);color:#fff;overflow:hidden}
.ab-mascot-view::backdrop{background:#000c}
.ab-mascot-view[open]{animation:ab-mv-in .3s ease-out}
@keyframes ab-mv-in{from{opacity:0}}
.ab-mv{position:relative;display:grid;place-items:center;align-content:center;gap:14px;box-sizing:border-box;width:100%;height:100%;padding:24px;text-align:center}
.ab-mv-stage{position:relative;display:grid;place-items:center;width:min(78vmin,560px);aspect-ratio:1}
.ab-mascot-view[open] .ab-mv-stage{animation:ab-mv-pop .6s cubic-bezier(.2,1.4,.4,1)}
@keyframes ab-mv-pop{from{transform:scale(.55);opacity:0}}
.ab-mv-stage .ab-logo{width:52%;animation-duration:4s}
.ab-mv-name{margin:0;font-size:clamp(26px,5vw,40px);font-weight:900;letter-spacing:-.02em}
.ab-mv-hint{margin:0;color:#c9c2ee;font-size:14.5px}
.ab-mv-close{position:absolute;top:max(16px,env(safe-area-inset-top));right:16px;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:#ffffff24;color:#fff;cursor:pointer}
.ab-mv-close:hover{background:#ffffff38}.ab-mv-close svg{width:20px;height:20px}
@media(prefers-reduced-motion:reduce){.ab-logo-tilt{transition:none}.ab-logo.is-boing .ab-logo-tilt,.ab-logo.is-dizzy .ab-logo-tilt,.ab-mascot-view[open],.ab-mascot-view[open] .ab-mv-stage{animation:none}}
.ab-glow,.ab-ring,.ab-orbit{pointer-events:none}
/* The dizzy stars go round an oval above its head, each keeping its shape. */
.ab-dizzy{top:-12%;width:80%;height:26%;transform:translateX(-50%)}
.ab-dizzy>span{animation:none}
.ab-dizzy i{left:0;top:0;width:14%;margin:0;transform:none!important;offset-path:ellipse(46% 38% at 50% 50%);offset-rotate:0deg;offset-anchor:50% 50%;animation:ab-star-go 1s linear infinite;animation-play-state:paused}
.ab-dizzy i:nth-child(2){animation-delay:-.333s}.ab-dizzy i:nth-child(3){animation-delay:-.667s}
.ab-logo.is-dizzy .ab-dizzy i{animation-play-state:running}
@keyframes ab-star-go{from{offset-distance:0%}to{offset-distance:100%}}

/* The founder's banner: his own render of the E3 Library at dusk, darkened behind his photo and name, with what he
   works on and a credit for the picture, and a thin line in the site's colours along its foot. The same in both
   themes (a picture keeps its look). */
/* The picture is a real image inside the banner (not a background), so it is fetched, decoded and shown with the founder's photo and the rest of the page. */
.ab-banner{height:clamp(150px,18vw,200px);background:#0a120f;isolation:isolate}
.ab-banner-img{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.ab-banner::before{-webkit-mask-image:none;mask-image:none;background:linear-gradient(90deg,#060c0af5 0%,#060c0ae0 24%,#060c0a8c 50%,#060c0a26 78%,#060c0a0d),linear-gradient(0deg,#060c0ab3 0%,#060c0a00 60%)}
.ab-banner::after{top:auto;right:0;bottom:0;left:0;width:auto;height:3px;border-radius:0;background:linear-gradient(90deg,#16a34a,#7c3aed 55%,#f59e0b)}
.ab-banner-tags{position:absolute;top:16px;right:18px;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:60%;margin:0;padding:0;list-style:none}
.ab-banner-tags li{padding:5px 11px;border-radius:999px;background:#ffffff1a;box-shadow:inset 0 0 0 1px #ffffff33;color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ab-banner-credit{position:absolute;right:18px;bottom:12px;z-index:1;margin:0;color:#ffffffb3;font-size:11.5px;font-weight:600;letter-spacing:.02em;text-shadow:0 1px 6px #000a}
html.ab-wait .ab-banner-img{visibility:hidden}
@media(max-width:760px){
 .ab-banner{height:150px}.ab-banner-img{object-position:62% 58%}
 .ab-banner-tags{top:12px;right:12px;max-width:72%;gap:5px}.ab-banner-tags li{padding:4px 9px;font-size:11px}
 .ab-banner-credit{right:12px;bottom:9px;font-size:10.5px}
}
/* The copyright card's sign: a black © on white. */
.ab-kicker .ab-ico.is-copy{background:#fff;color:#0b0f0d;box-shadow:0 0 0 1px var(--ab-line),0 6px 14px -8px #10231b66}
.ab-kicker .ab-ico.is-copy svg{width:20px;height:20px}

/* The features and the story's steps wear the site's own badge pictures (the mascot with what each one is about). */
.ab-art-ico{display:block;flex:none;width:54px;height:54px;margin:-6px 0 -6px -4px;filter:drop-shadow(0 8px 12px #10231b26)}
.ab-art-ico svg{display:block;width:100%;height:100%}
.ab-features li{gap:10px;padding:8px 14px 8px 8px}
.ab-step-dot{width:72px;height:72px;border-radius:50%;background:var(--ab-bg);box-shadow:none;transform:translateY(-8px)}
.ab-step-dot svg{width:72px;height:72px;filter:drop-shadow(0 10px 16px #10231b33)}
.ab-step.is-now .ab-step-dot{background:var(--ab-bg);box-shadow:0 0 0 6px #16a34a2e,0 0 30px 6px #16a34a40}
.ab-timeline::before{top:28px}
.ab-step-when{margin-top:0}
@media(max-width:760px){
 .ab-art-ico{width:48px;height:48px}
 .ab-step-dot{width:60px;height:60px;transform:none}.ab-step-dot svg{width:60px;height:60px}
 .ab-step{grid-template-columns:60px minmax(0,1fr)}
 .ab-timeline::before{left:29px}
}
/* Each tool with its app icon on the left. */
.ab-hl-tools li{display:inline-flex;align-items:center;gap:7px;padding:4px 11px 4px 4px}
.ab-hl-tools img{display:block;flex:none;width:22px;height:22px;border-radius:5px}

/* The founder's bio: calm text at a comfortable line length, the names in a little more weight (their links are the
   tiles below). */
.ab-bio{max-width:64ch;margin-top:18px;color:var(--ab-text);font-size:clamp(16px,1.35vw,17.5px);line-height:1.75;text-wrap:pretty}
.ab-bio b{color:var(--ab-ink);font-weight:650}
/* The story's own pictures: a round picture on the line, no box around it. */
.ab-step-dot{background:transparent}
.ab-step-dot svg{filter:drop-shadow(0 10px 18px #10231b40)}
.ab-step.is-now .ab-step-dot{background:transparent;box-shadow:0 0 0 6px #7c3aed26,0 0 34px 8px #7c3aed40}
@media(max-width:760px){.ab-bio{font-size:16px;line-height:1.7}}

/* The mascot as a 3D object you can hold and turn: a slab with thickness (layers along its edge), the logo on the
   front, Study Classroom and the site's address on the back, a sheen that moves with the light and shade on a face
   turning away. about.js turns .ab-obj; .ab-wob carries the wobble (dizzy) and the squash (pressed). */
.ab-logo{touch-action:none;outline:none}
.ab-logo:focus-visible .ab-wob{outline:3px solid #16a34a;outline-offset:8px;border-radius:30%}
.ab-wob{position:relative;display:block;width:100%;height:100%;perspective:900px}
.ab-obj{--half:7px;position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;will-change:transform}
.ab-side,.ab-edge{position:absolute;inset:0;border-radius:30%}
.ab-edge{background:linear-gradient(140deg,#5b3fb0,#2a1260);transform:translateZ(var(--z));box-shadow:inset 0 0 0 1px #ffffff14}
.ab-side{overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.ab-side.is-front{transform:translateZ(var(--half));box-shadow:0 0 0 1px #ffffff1a inset}
.ab-side.is-front svg{display:block;width:100%;height:100%}
.ab-side.is-back{display:grid;place-items:center;align-content:center;gap:5%;padding:10%;box-sizing:border-box;container-type:size;transform:rotateY(180deg) translateZ(var(--half));background:radial-gradient(circle at 30% 20%,#a78bfa,#6d3fd6 55%,#3b1d7a);color:#fff;text-align:center}
.ab-side.is-back b{font-size:14cqw;font-weight:900;line-height:1.05;letter-spacing:-.02em;text-shadow:0 2px 8px #0005}
.ab-side.is-back small,.ab-side.is-back a{max-width:100%;padding:3% 6%;border-radius:999px;background:#ffffff26;color:#fff;font-size:6.2cqw;font-weight:800;overflow-wrap:anywhere;text-decoration:none;box-shadow:inset 0 0 0 1px #ffffff40}
.ab-side.is-back a:hover{background:#ffffff3d}
.ab-gloss{position:absolute;inset:0;background:linear-gradient(115deg,transparent calc(var(--gl,50%) - 22%),#ffffff59 var(--gl,50%),transparent calc(var(--gl,50%) + 22%));mix-blend-mode:screen;pointer-events:none}
.ab-shade{position:absolute;inset:0;background:#05030f;opacity:var(--sd,0);pointer-events:none}
.ab-logo.is-pressed .ab-wob{transform:scale(.92,.86);transition:transform .12s ease-out}
.ab-logo.is-boing .ab-wob{animation:ab-boing2 .55s cubic-bezier(.3,1.7,.5,1)}
@keyframes ab-boing2{0%{transform:scale(.92,.86)}45%{transform:scale(1.07,1.09)}100%{transform:scale(1)}}
.ab-logo.is-dizzy .ab-wob{animation:ab-dizzy2 1.2s ease-in-out}
@keyframes ab-dizzy2{0%,100%{transform:rotate(0)}20%{transform:rotate(-9deg) translateX(-4%)}40%{transform:rotate(8deg) translateX(4%)}60%{transform:rotate(-6deg)}80%{transform:rotate(4deg)}}
.ab-logo.is-grabbing{cursor:grabbing}
.ab-mv-stage .ab-logo{cursor:grab}
.ab-mv-stage .ab-obj{--half:11px}
@media(prefers-reduced-motion:reduce){.ab-logo.is-boing .ab-wob,.ab-logo.is-dizzy .ab-wob{animation:none}}
/* The banner's tags lead to the projects; the card arrived at glows for a moment. */
.ab-banner-tags a{display:block;margin:-5px -11px;padding:5px 11px;border-radius:inherit;color:inherit;text-decoration:none}
.ab-banner-tags li{transition:background .15s,transform .15s}
.ab-banner-tags li:hover{background:#ffffff33;transform:translateY(-1px)}
.ab-banner-tags a:focus-visible{outline:2px solid #fff;outline-offset:2px}
html:has(body.ab-root){scroll-behavior:smooth}
.ab-section,.ab-project{scroll-margin-top:24px}
.ab-project:target{animation:ab-arrive 1.6s ease-out}
@keyframes ab-arrive{0%,30%{box-shadow:0 0 0 4px #16a34a66,var(--ab-shadow)}100%{box-shadow:var(--ab-shadow)}}
@media(max-width:760px){.ab-banner-tags a{margin:-4px -9px;padding:4px 9px}}
@media(prefers-reduced-motion:reduce){html:has(body.ab-root){scroll-behavior:auto}.ab-project:target{animation:none}}

/* What's inside Study Classroom: six parts, each with an app-style icon, filling the card beside the trailer. */
.ab-inside-title{margin:22px 0 10px!important;color:var(--ab-muted)!important;font-size:12px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ab-inside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.ab-inside li{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:12px;border:1px solid var(--ab-line);border-radius:16px;background:var(--ab-soft);transition:transform .15s,border-color .15s}
.ab-inside li:hover{transform:translateY(-2px);border-color:var(--ab-hover)}
.ab-inside li>span:last-child{display:grid;gap:2px;min-width:0}
.ab-inside b{font-size:14.5px;line-height:1.3}
.ab-inside small{color:var(--ab-muted);font-size:13px;line-height:1.45}
.ab-app{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;color:#fff;box-shadow:inset 0 1px 0 #ffffff59,inset 0 -2px 0 #0000001f,0 8px 16px -8px #10231b80}
.ab-app svg{width:21px;height:21px;filter:drop-shadow(0 1px 1px #0003)}
.ab-app.is-green{background:linear-gradient(150deg,#4ade80,#15803d)}.ab-app.is-orange{background:linear-gradient(150deg,#fdba74,#ea580c)}
.ab-app.is-violet{background:linear-gradient(150deg,#c4b5fd,#6d28d9)}.ab-app.is-sky{background:linear-gradient(150deg,#7dd3fc,#1d4ed8)}
.ab-app.is-amber{background:linear-gradient(150deg,#fde68a,#d97706)}.ab-app.is-pink{background:linear-gradient(150deg,#f9a8d4,#db2777)}
.ab-project.is-site .ab-site-open{margin-top:18px}
@media(max-width:1000px){.ab-inside{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.ab-inside{grid-template-columns:minmax(0,1fr)}.ab-inside li{padding:10px}}
@media(prefers-reduced-motion:reduce){.ab-inside li{transition:none}.ab-inside li:hover{transform:none}}

/* The background, calm: a solid ground, a fine drafting grid behind the header only (fading out), and one soft light
   from the top. No coloured glows. */
.ab-root{--ab-gridline:#10231b12;--ab-spot:#16a34a14;--ab-bg:#f5f7f6}
html[data-theme=dark] .ab-root{--ab-gridline:#ffffff0c;--ab-spot:#34d39917;--ab-bg:#0a0e0d}
body.ab-root{position:relative}
.ab-bg{position:absolute;inset:0 0 auto 0;height:min(1150px,130vh)}
.ab-blob{display:none}
.ab-dots{background-image:linear-gradient(var(--ab-gridline) 1px,transparent 1px),linear-gradient(90deg,var(--ab-gridline) 1px,transparent 1px);background-size:44px 44px;background-position:center -1px;-webkit-mask-image:radial-gradient(ellipse 75% 70% at 50% 0%,#000 25%,transparent 78%);mask-image:radial-gradient(ellipse 75% 70% at 50% 0%,#000 25%,transparent 78%)}
.ab-bg::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 55% 45% at 50% -8%,var(--ab-spot),transparent 72%)}
/* Sections a little closer together; copyright and contact sit right under the projects, like cards of one list. */
.ab{gap:clamp(44px,6vw,76px)}
.ab>.ab-legal{margin-top:calc(22px - clamp(44px,6vw,76px))}

/* The illustrated background: a campus on rolling hills behind the header, morning in light mode and a calm night
   in dark mode, with the E3 library on the hill, a paper plane, clouds and study doodles that move gently. The
   front hill is the page's own colour, so the drawing melts into it. */
.ab-root{--sc-ink:#10231b;--sc-sky-a:#cfe9ff;--sc-sky-b:#eaf7ff;--sc-sky-c:#f1faf5;--sc-sun-glow:#ffe9a8;--sc-sun:1;--sc-moon:0;--sc-stars:0;--sc-cloud:#fff;--sc-cloud-op:.95;--sc-hill-1:#cdebd8;--sc-hill-2:#b8e2c8;--sc-tree:#6cc08f;--sc-tree-2:#4fae7b;--sc-trunk:#8a6a4a;--sc-podium:#8fcca4;--sc-podium-top:#6fbf8c;--sc-glass:#d6e9f2;--sc-core:#a9c3d1;--sc-core-line:#8fb0c2;--sc-fin:#b8864a;--sc-roof:#6b7a86;--sc-base:#ece4d4;--sc-stair:#d9ccb3;--sc-stair-line:#c4b597;--sc-window:#e9f3f8;--sc-lamp:#94a3b8;--sc-lamp-glow:0;--sc-trail:#7c8ca8;--sc-doodle:1;--ab-bg:#f1faf5}
html[data-theme=dark] .ab-root{--sc-ink:#0b1220;--sc-sky-a:#121b3d;--sc-sky-b:#1c3352;--sc-sky-c:#183128;--sc-sun-glow:#8aa2ff33;--sc-sun:0;--sc-moon:1;--sc-stars:.9;--sc-cloud:#2a3c63;--sc-cloud-op:.7;--sc-hill-1:#1d3b44;--sc-hill-2:#1a3a32;--sc-tree:#225043;--sc-tree-2:#1b4538;--sc-trunk:#3a2d24;--sc-podium:#2b5446;--sc-podium-top:#3c6e5a;--sc-glass:#f3b45c;--sc-core:#ffd98f;--sc-core-line:#e8a64b;--sc-fin:#6b3f17;--sc-roof:#2c3446;--sc-base:#3d3a40;--sc-stair:#5a5248;--sc-stair-line:#7a6e60;--sc-window:#ffcf7a;--sc-lamp:#ffd27a;--sc-lamp-glow:.35;--sc-trail:#8ea3d6;--sc-doodle:.92;--ab-bg:#14261f;--ab-card:#1a2e26f2;--ab-solid:#1e342b;--ab-soft:#1b3027;--ab-line:#2e493e}
html[data-theme=dark] body.ab-root{background:var(--ab-bg)}
.ab-bg{position:absolute;inset:0 0 auto 0;height:clamp(900px,100vh,1000px);overflow:hidden}
.ab-dots,.ab-blob{display:none}.ab-bg::before{content:none}
.sc-scene{position:absolute;inset:0;width:100%;height:100%}
.sc-star{fill:#fff;opacity:var(--sc-stars,0);animation:sc-twinkle 4s ease-in-out infinite}
@keyframes sc-twinkle{50%{opacity:calc(var(--sc-stars,0)*.35)}}
.sc-sun{opacity:var(--sc-sun,1)}.sc-moon{opacity:var(--sc-moon,0)}
.sc-cloud{opacity:var(--sc-cloud-op,.95);animation:sc-drift 60s ease-in-out infinite alternate}
.sc-cloud.is-b{animation-duration:75s;animation-direction:alternate-reverse}.sc-cloud.is-c{animation-duration:50s}.sc-cloud.is-d{animation-duration:90s}
@keyframes sc-drift{to{translate:60px 0}}
.sc-doodle{opacity:var(--sc-doodle,1);animation:sc-bob 7s ease-in-out infinite}
.sc-doodle:nth-of-type(2n){animation-duration:9s;animation-delay:-2s}.sc-doodle:nth-of-type(3n){animation-duration:8s;animation-delay:-4s}
@keyframes sc-bob{50%{translate:0 -10px}}
.sc-trail{stroke:var(--sc-trail);stroke-width:3;stroke-dasharray:2 12;stroke-linecap:round}
.sc-plane{animation:sc-glide 8s ease-in-out infinite}
@keyframes sc-glide{50%{translate:14px -12px}}
.sc-fins path{stroke:var(--sc-fin);stroke-width:3}
.sc-windows rect{fill:var(--sc-window)}
.sc-lamp{fill:var(--sc-lamp)}.sc-lamp-glow{fill:var(--sc-lamp);opacity:var(--sc-lamp-glow,0)}
@media(max-width:760px){.ab-bg{height:1180px}}
@media(prefers-reduced-motion:reduce){.sc-star,.sc-cloud,.sc-doodle,.sc-plane{animation:none}}
/* The address on the mascot's back on one line, fitted to the face. */
.ab-side.is-back small,.ab-side.is-back a{white-space:nowrap;overflow-wrap:normal;font-size:4.7cqw;padding:3.2% 5.5%;letter-spacing:.01em}
/* The tools as three equal tiles in one row: the app's icon, its name under it. */
.ab-hl-tools ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ab-hl-tools li{display:grid;justify-items:center;gap:6px;padding:10px 6px 9px;border-radius:14px;background:var(--ab-solid);box-shadow:0 0 0 1px var(--ab-line);font-size:11.5px;font-weight:800;line-height:1.2;text-align:center}
.ab-hl-tools img{width:32px;height:32px;border-radius:8px;box-shadow:0 6px 12px -6px #000a}
@media(min-width:761px) and (max-width:1000px){.ab-hl-tools ul{max-width:420px}}
/* What's inside: each part with its own little picture. */
.ab-app.is-art{width:52px;height:52px;margin:-4px 0 -4px -4px;border-radius:50%;background:none;box-shadow:none;filter:drop-shadow(0 8px 12px #10231b33)}
.ab-app.is-art svg{width:100%;height:100%;filter:none}
/* The header's pictures: the same little pictures as What's inside, in the feature tiles and circling the mascot. */
.ab-features .ab-art-ico{width:48px;height:48px;margin:-4px 0 -4px -4px;filter:drop-shadow(0 6px 10px #10231b33)}
.ab-orbit i.is-art{width:54px;height:54px;top:calc(9% - 27px);left:calc(50% - 27px);border-radius:50%;background:none;box-shadow:none;filter:drop-shadow(0 10px 14px #10231b4d)}
.ab-orbit i.is-art svg{width:100%;height:100%}
@media(max-width:760px){.ab-orbit i.is-art{width:42px;height:42px;top:calc(9% - 21px);left:calc(50% - 21px)}}

/* SpaleStudio: its film (the play button on the right, clear of the name), its gold logo and gold pills. */
.ab-tag-line .ab-ico.is-spale{border-radius:8px;box-shadow:0 6px 14px -6px #9f7d2c99}
#project-spalestudio .film-cover{justify-items:end;padding-right:8%}
#project-spalestudio .film-big{background:linear-gradient(160deg,#f3e3b5,#c9a24a);color:#17140d}
.ab-pills.is-gold li{border-color:#d6b25c66;background:linear-gradient(180deg,#fff9e8,#f6ecd2);color:#5c4510}
html[data-theme=dark] .ab-pills.is-gold li{border-color:#d6b25c55;background:#2a2412;color:#f3e3b5}
#project-spalestudio .ab-project-body{align-items:start}
#project-spalestudio .ab-pills{align-content:start}
/* SpaleVoice: its picture beside the words. */
.ab-project.is-voice{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:clamp(18px,3vw,32px)}
.ab-voice-art{display:block;width:clamp(110px,13vw,150px);aspect-ratio:1;filter:drop-shadow(0 14px 22px #10231b40)}
.ab-voice-art svg{display:block;width:100%;height:100%}
.ab-voice-art .sv-waves path{animation:sv-wave 1.6s ease-in-out infinite}
.ab-voice-art .sv-waves path:nth-child(2){animation-delay:.25s}
@keyframes sv-wave{50%{opacity:.25}}
.ab-voice-art .sv-caret{animation:sv-caret 1s steps(2) infinite}
@keyframes sv-caret{50%{opacity:0}}
@media(max-width:760px){.ab-project.is-voice{grid-template-columns:minmax(0,1fr)}.ab-voice-art{justify-self:center;width:130px}}
@media(prefers-reduced-motion:reduce){.ab-voice-art .sv-waves path,.ab-voice-art .sv-caret{animation:none}}

/* Dark mode below the scene: a neutral slate (not green), cards clearly above it, brighter text. */
html[data-theme=dark] .ab-root{--ab-bg:#101519;--ab-card:#171f25f5;--ab-solid:#1c252c;--ab-soft:#19222a;--ab-line:#2b363f;--ab-text:#d3dce1;--ab-muted:#9eabb4;--ab-ink:#f1f5f7;--ab-hover:#4b6b5e;--ab-shadow:0 1px 2px #0009,0 24px 52px -24px #000c}
html[data-theme=dark] .ab-root{--sc-hill-1:#1c3540;--sc-hill-2:#17303a;--sc-sky-c:#162a36}
/* A fine grain over the whole page, so nothing looks flat. */
body.ab-root::after{content:"";position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.07;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
html[data-theme=dark] body.ab-root::after{opacity:.09}
.ab-root .ab-banner-tags a{color:#fff;font-weight:800;text-decoration:none}
/* No gradient text: the title and the founder's figures in one solid colour. */
.ab-title,.ab-hl-top b{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:var(--ab-ink)}

/* The map panel in the page's own style: the card surface around the night map, a clean header, the chapter and two
   readouts under it. */
.ab-map{background:var(--ab-soft);color:var(--ab-ink);box-shadow:0 0 0 1px var(--ab-line),var(--ab-shadow);border-radius:22px;padding:14px}
.ab-map-head{color:var(--ab-muted);font:800 11.5px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.12em}
.ab-map-title small{color:var(--ab-muted);font:600 11.5px ui-monospace,Consolas,monospace;letter-spacing:0;opacity:.8}
.ab-map-live{padding:4px 9px;border-radius:999px;background:var(--ab-solid);box-shadow:0 0 0 1px var(--ab-line);color:var(--ab-muted)}
.ab-map.is-live .ab-map-live{color:#ea580c}
html[data-theme=dark] .ab-map.is-live .ab-map-live{color:#fdba74}
.ab-map-box{border-radius:16px;box-shadow:0 0 0 1px var(--ab-line),0 14px 28px -16px #0009}
.ab-map-read{gap:8px;color:var(--ab-text);font-size:13px}
.ab-map-read b{color:var(--ab-ink);font-size:16px}
.ab-map-stats{display:flex;flex-wrap:wrap;gap:6px}
.ab-map-stats>span{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 7px;border-radius:999px;background:var(--ab-solid);box-shadow:0 0 0 1px var(--ab-line);color:var(--ab-muted);font-size:12px;font-weight:700}
.ab-map-stats svg{width:15px;height:15px;color:#ea580c}
.ab-map-stats b{color:var(--ab-ink);font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums}
.ab-e3-stage>.ab-film{align-self:start;width:100%;min-width:0}
/* The map in the full-screen film: a glass panel in the top right corner, live and tappable like on the page. */
.film .ab-map.is-overlay{position:absolute;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:6;display:grid;grid-template-columns:none;grid-template-rows:auto auto auto;width:clamp(200px,24vw,320px);margin:0;padding:12px;border-radius:20px;background:#0b1220c7;color:#e8eef5;box-shadow:inset 0 0 0 1px #ffffff26,0 18px 40px -16px #000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.film .ab-map.is-overlay .ab-map-head{color:#c7d3e0}
.film .ab-map.is-overlay .ab-map-title small{color:#9fb0c3}
.film .ab-map.is-overlay .ab-map-box{grid-row:auto;grid-column:auto}
.film .ab-map.is-overlay .ab-map-read{color:#c7d3e0}.film .ab-map.is-overlay .ab-map-read b{color:#fff}
.film .ab-map.is-overlay .ab-map-live,.film .ab-map.is-overlay .ab-map-stats>span{background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffff26;color:#c7d3e0}
.film .ab-map.is-overlay .ab-map-stats b{color:#fff}
.film.is-idle .ab-map.is-overlay{opacity:.35;transition:opacity .4s}
.film .ab-map.is-overlay:hover{opacity:1}
@media(max-width:760px){.film .ab-map.is-overlay{width:min(46vw,210px);padding:8px;gap:6px}.film .ab-map.is-overlay .ab-map-read{display:none}}

/* Pictures of their own for How it was made, The computer and Contact. */
.ab-pic{display:block;flex:none;width:54px;height:54px;margin:-4px 0 0 -4px;filter:drop-shadow(0 8px 12px #10231b33)}
.ab-pic svg{display:block;width:100%;height:100%}
.ab-pic.is-small{width:40px;height:40px;margin:-4px 0 -4px -2px}
.ab-specs .ab-pic{filter:drop-shadow(0 6px 10px #0006)}
/* Resizing the full-screen map: a grip at each corner, shown only there. */
.film .ab-map.is-overlay{width:var(--ov-w,clamp(200px,24vw,320px))}
.ab-map-grip{display:none}
.film .ab-map.is-overlay .ab-map-grip{position:absolute;z-index:3;display:block;width:22px;height:22px;touch-action:none}
.film .ab-map.is-overlay .ab-map-grip::before{content:"";position:absolute;inset:5px;border:2.5px solid #ffffffb3;border-radius:2px;opacity:.55;transition:opacity .15s}
.film .ab-map.is-overlay .ab-map-grip:hover::before,.film .ab-map.is-resizing .ab-map-grip::before{opacity:1}
.ab-map-grip.is-tl{top:-4px;left:-4px;cursor:nwse-resize}.ab-map-grip.is-tl::before{border-right:0;border-bottom:0}
.ab-map-grip.is-tr{top:-4px;right:-4px;cursor:nesw-resize}.ab-map-grip.is-tr::before{border-left:0;border-bottom:0}
.ab-map-grip.is-bl{bottom:-4px;left:-4px;cursor:nesw-resize}.ab-map-grip.is-bl::before{border-right:0;border-top:0}
.ab-map-grip.is-br{bottom:-4px;right:-4px;cursor:nwse-resize}.ab-map-grip.is-br::before{border-left:0;border-top:0}
.film .ab-map.is-resizing{opacity:1!important;transition:none}
@media(max-width:760px){.film .ab-map.is-overlay{width:var(--ov-w,min(46vw,210px))}}
/* The founder's tiles: a picture, then the figure in a clean, solid face; the Erasmus+ logo stays on the right. */
.ab-hl-top{justify-content:flex-start;gap:12px;min-height:52px}
.ab-hl-pic{display:block;flex:none;width:50px;height:50px;filter:drop-shadow(0 8px 12px #10231b33)}
.ab-hl-pic svg{display:block;width:100%;height:100%}
.ab-hl-top b{font:800 32px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.035em;color:var(--ab-ink)}
.ab-hl-top .ab-hl-logo{margin-left:auto}
.ab-hl-label{margin-top:12px;font-size:15px;letter-spacing:-.005em}
.ab-highlights li{padding:18px 18px 20px}
@media(min-width:761px) and (max-width:1000px){.ab-hl-top{flex-direction:row;align-items:center}}

/* SpaleStudio's features: six tiles in the app's own look (black and gold), each with its icon. */
#project-spalestudio .ab-project-body{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.ab-feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.ab-feats li{display:flex;align-items:center;gap:11px;min-width:0;padding:10px 12px 10px 10px;border-radius:14px;background:linear-gradient(160deg,#211c10,#141109);box-shadow:inset 0 0 0 1px #d6b25c38,0 10px 20px -14px #000c;color:#f6ead0}
.ab-feat-ico{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:11px;background:radial-gradient(circle at 30% 20%,#2c2512,#120f07);box-shadow:inset 0 0 0 1px #e9c97740}
.ab-feat-ico svg{width:30px;height:30px}
.ab-feats li.is-windows .ab-feat-ico{background:#fff;box-shadow:inset 0 0 0 1px #0078d433}
.ab-feats li.is-windows .ab-feat-ico svg{width:20px;height:20px}
.ab-feats li>span:last-child{display:grid;gap:1px;min-width:0}
.ab-feats b{color:#f3e3b5;font-size:14px;line-height:1.25}
.ab-feats small{color:#c9b98f;font-size:12.5px;line-height:1.4}
@media(max-width:1000px){#project-spalestudio .ab-project-body{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.ab-feats{grid-template-columns:minmax(0,1fr)}}
/* The banner's tags: white words on dark glass over the photo, in both themes (stronger than the card's link style). */
.ab-banner-tags li{background:#0a110ea6;box-shadow:inset 0 0 0 1px #ffffff47,0 6px 16px -8px #000c}
.ab-banner-tags li:hover{background:#0a110ed9}
.ab-root .ab-card .ab-banner-tags a,.ab-root .ab-card .ab-banner-tags a:visited{color:#fff!important;text-decoration:none!important;font-weight:800}
.ab-feats li.is-logo .ab-feat-ico{background:#fff;box-shadow:inset 0 0 0 1px #f0513333}.ab-feats li.is-logo .ab-feat-ico svg{width:24px;height:24px}
.ab-bio{max-width:none}
.ab-hl-pic .ab-gear{transform-box:fill-box;transform-origin:center;animation:ab-spin 9s linear infinite}
@media(prefers-reduced-motion:reduce){.ab-hl-pic .ab-gear{animation:none}}
/* Moving the full-screen map: held anywhere but the map itself; placed by left and top once moved. */
.film .ab-map.is-overlay{cursor:grab;touch-action:none}
.film .ab-map.is-overlay .ab-map-box{cursor:default}
.film .ab-map.is-overlay.is-moving{cursor:grabbing;opacity:1!important;transition:none;box-shadow:inset 0 0 0 1px #ffffff40,0 26px 50px -14px #000}
.film .ab-map.is-overlay.is-placed{top:var(--ov-y);left:var(--ov-x);right:auto}
/* The tool tiles, compact: the icon and the name centred, the name on one line. */
.ab-hl-tools ul{gap:6px}
.ab-hl-tools li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:9px 4px 8px;border-radius:12px;font-size:11.5px;line-height:1.15;white-space:nowrap;letter-spacing:-.01em}
.ab-hl-tools img{width:28px;height:28px;border-radius:7px}
@media(max-width:380px){.ab-hl-tools li{font-size:10.5px}}
/* The mascot's full screen: no focus ring around the object (it is turned with the pointer or a tap); its sizes are
   set directly so every browser shows it, including older in-app ones (WeChat). */
.ab-mv-logo:focus,.ab-mv-logo:focus-visible{outline:none}
.ab-mv-logo:focus .ab-wob,.ab-mv-logo:focus-visible .ab-wob{outline:none}
.ab-mascot-view{height:100vh;height:100dvh}
.ab-mv-stage{height:min(78vmin,560px)}
.ab-mv-stage .ab-logo{height:52%}
/* Only the face pointing at the viewer is shown (set by about.js), so every browser draws the mascot right. */
.ab-logo:not(.is-back) .ab-side.is-back,.ab-logo.is-back .ab-side.is-front{visibility:hidden}
/* The grain is part of the page's own background (it scrolls with it): a separate fixed layer lagged behind on phones
   while scrolling fast and showed a band. */
body.ab-root::after{content:none;display:none}
body.ab-root{background-color:var(--ab-bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:180px 180px}
/* The language switch in the top bar, for everyone (the About page has no account menu). */
.ab-top-right{display:flex;align-items:center;gap:10px}

/* About soundtrack: compact glass card below the top bar. */
/* The soundtrack: a small player that floats at the bottom of the page, out of the way of the page itself. */
.ab-music-wrap{position:fixed;left:20px;bottom:20px;z-index:30;display:block;max-width:none;margin:0;padding:0}
.ab-music{display:flex;align-items:center;gap:0;width:max-content;max-width:min(340px,calc(100vw - 24px));padding:6px 8px 6px 6px;border:1px solid var(--ab-line);border-radius:999px;background:var(--ab-card);box-shadow:0 12px 32px -14px #0b1f188c;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:border-color .25s,box-shadow .25s,transform .25s}
.ab-music:hover{border-color:var(--ab-hover);transform:translateY(-1px)}
.ab-music-toggle{display:flex;align-items:center;gap:12px;min-width:0;min-height:46px;margin:0;padding:0 2px 0 0;border:0;border-radius:999px;background:transparent;color:var(--ab-ink);font:inherit;text-align:left;cursor:pointer;box-shadow:none}
/* A record that turns while the music plays, with its equaliser on the label. */
.ab-music-visual{position:relative;display:flex;align-items:center;justify-content:center;gap:2px;flex:none;width:46px;height:46px;border-radius:50%}
.ab-music-visual::before{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,#0f5b43 0 24%,#16231e 25% 100%),#16231e;box-shadow:inset 0 0 0 1.5px #ffffff1f,inset 0 0 0 7px #ffffff0d,inset 0 0 0 13px #ffffff0a}
.ab-music.is-playing .ab-music-visual::before{animation:ab-music-spin 5s linear infinite}
.ab-music-visual i{position:relative;width:2.5px;height:7px;border-radius:2px;background:#c4f5de;transform:scaleY(.45);transition:transform .3s}
.ab-music.is-playing .ab-music-visual i{animation:ab-music-bar .85s ease-in-out infinite alternate}
.ab-music.is-playing .ab-music-visual i:nth-child(2){animation-delay:-.55s;height:11px}
.ab-music.is-playing .ab-music-visual i:nth-child(3){animation-delay:-.2s;height:9px}
.ab-music.is-playing .ab-music-visual i:nth-child(4){animation-delay:-.7s;height:12px}
.ab-music.is-playing .ab-music-visual i:nth-child(5){animation-delay:-.35s}
.ab-music.is-muted .ab-music-visual::before,.ab-music.is-waiting .ab-music-visual::before{background:radial-gradient(circle,#4c5d56 0 24%,#1d2623 25% 100%),#1d2623}
.ab-music-copy{display:grid;gap:0;min-width:0;line-height:1.25}
.ab-music-copy strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:850}
.ab-music-copy small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ab-muted);font-size:12px;font-weight:650}
.ab-music-status{color:var(--ab-accent)}
.ab-music.is-muted .ab-music-status{color:var(--ab-muted)}
.ab-music-speaker{display:grid;place-items:center;flex:none;width:36px;height:36px;margin-left:4px;border-radius:50%;background:var(--ab-soft);color:var(--ab-accent);transition:background-color .2s,color .2s}
.ab-music-toggle:hover .ab-music-speaker{background:var(--ab-line)}
.ab-music.is-muted .ab-music-speaker{color:var(--ab-muted)}
.ab-music-speaker svg{width:18px;height:18px}
.ab-music-cross{opacity:0;transform:scale(.65);transform-origin:center;transition:opacity .25s,transform .25s}
.ab-music-wave{opacity:1;transition:opacity .25s}
.ab-music.is-muted .ab-music-cross{opacity:1;transform:scale(1)}
.ab-music.is-muted .ab-music-wave{opacity:0}
.ab-music-spotify{display:grid;place-items:center;flex:none;width:36px;height:36px;margin-left:2px;border-radius:50%;transition:transform .2s}
.ab-music-spotify:hover{transform:scale(1.1)}
.ab-music-spotify svg{width:28px;height:28px}
@keyframes ab-music-bar{from{transform:scaleY(.4)}to{transform:scaleY(1)}}
@keyframes ab-music-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.ab-music-wrap{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom))}.ab-music{width:100%;max-width:none}.ab-music-toggle{flex:1}.ab-music-speaker{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.ab-music,.ab-music-visual i,.ab-music-cross,.ab-music-wave,.ab-music-spotify,.ab-music-speaker{transition:none}.ab-music.is-playing .ab-music-visual::before,.ab-music.is-playing .ab-music-visual i{animation:none}.ab-music.is-playing .ab-music-visual i{transform:scaleY(.7)}}
.ab-lang .lang-settings{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--ab-line);border-radius:999px;background:var(--ab-card)}
.ab-lang [data-lang-option]{min-height:32px;padding:5px 12px;border:0;border-radius:999px;background:none;color:var(--ab-muted);font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.ab-lang [data-lang-option][aria-pressed=true]{background:var(--ab-accent);color:#fff}
html[data-theme=dark] .ab-lang [data-lang-option][aria-pressed=true]{color:#06281d}
@media(max-width:760px){.ab-top-right{gap:6px}.ab-top-link{display:none}.ab-lang [data-lang-option]{padding:5px 10px}}
/* The SpaleStudio lead-in in bold. */
.ab-lead-in{color:var(--ab-ink);font-weight:800}
/* SpaleStudio's film: its gold play button in the middle, like the other films. */
#project-spalestudio .film-cover{justify-items:center;padding-right:0}
/* The About page's films (SpaleStudio, the library, the trailer): the play button exactly in the middle at every
   size (the shared player lowers it on small players for the Terminal page's film). */
.ab-root .film .film-big{margin-top:0}
/* Volume: a short slider in the player (the music starts at 30% and fades in; the level chosen is kept on the device). */
.ab-music-vol{display:flex;align-items:center;flex:none;height:36px;margin:0 4px 0 8px;cursor:pointer}
.ab-music-vol input{-webkit-appearance:none;appearance:none;width:64px;height:4px;margin:0;border-radius:999px;background:linear-gradient(90deg,var(--ab-accent) var(--v,30%),var(--ab-line) var(--v,30%));cursor:pointer}
.ab-music-vol input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;border:2px solid var(--ab-accent);border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}
.ab-music-vol input::-moz-range-thumb{width:11px;height:11px;border:2px solid var(--ab-accent);border-radius:50%;background:#fff}
.ab-music-vol input:focus-visible{outline:2px solid var(--ab-accent);outline-offset:4px}
.ab-music.is-muted .ab-music-vol{opacity:.45}
@media(max-width:600px){.ab-music-vol input{width:50px}.ab-music-vol{margin:0 2px 0 4px}}
/* The title and the artist with what the player is doing always show whole (never cut with "…"): the capsule grows to them,
   and on a small phone its round parts and the slider are a little smaller so that everything stays on one line. */
.ab-music{max-width:calc(100vw - 24px)}
.ab-music-copy{min-width:max-content}
.ab-music-copy strong,.ab-music-copy small{overflow:visible;text-overflow:clip}
@media(max-width:420px){
 .ab-music{padding:5px 7px 5px 5px}
 .ab-music-toggle{gap:9px;min-height:42px}
 .ab-music-visual{width:42px;height:42px}
 .ab-music-speaker{width:32px;height:32px;margin-left:2px}.ab-music-speaker svg{width:16px;height:16px}
 .ab-music-vol{margin:0 2px 0 5px}.ab-music-vol input{width:42px}
 .ab-music-spotify{width:32px;height:32px}.ab-music-spotify svg{width:25px;height:25px}
 .ab-music-copy strong{font-size:13.5px}.ab-music-copy small{font-size:11.5px}
}
@media(max-width:350px){.ab-music-vol{display:none}}
