/* Moonlet Labs site. Paper and ink, after the studio homepage prototype (2026-10). Pages are built by scripts/site/build_pages.py. */
:root{--paper:#f4f1e9;--paper-2:#e7dfd0;--paper-3:#cec5b3;--ink:#242522;--muted:#5e6059;--line:#cac8bd;--accent:#5140ea;--on-tint:#242522;--on-tint-muted:#3f413b;--display:'Bricolage Grotesque',Arial,sans-serif;--body:'Instrument Sans',Arial,sans-serif;--serif:Fraunces,Georgia,serif;--gutter:5%;--max:1440px;color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--paper:#161714;--paper-2:#24251f;--paper-3:#3a3b35;--ink:#ece8de;--muted:#aba99f;--line:#3a3b35;--accent:#a9a2ff}}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.5}
h1,h2,h3,p,figure{margin:0}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:5px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px;border-radius:2px}
.skip{position:absolute;top:-60px;left:20px;z-index:10;background:var(--ink);color:var(--paper);padding:12px 16px}
.skip:focus{top:10px}
.label{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.muted{color:var(--muted)}
.arrow{width:14px;height:14px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}
.wrap{max-width:var(--max);margin:0 auto}

/* chrome */
.site-head{max-width:var(--max);margin:0 auto;padding:28px var(--gutter);display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.05em;font-weight:700;min-height:44px}
.brand svg{color:var(--accent);width:30px;height:30px;flex:none}
.site-nav{display:flex;gap:4px 28px;font-size:15px;flex-wrap:wrap}
.site-nav a{min-height:44px;display:inline-flex;align-items:center}
.site-nav a[aria-current="page"]{color:var(--accent)}
.site-foot{max-width:var(--max);margin:0 auto;padding:30px var(--gutter) 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px 25px;flex-wrap:wrap;font-size:13px}
.site-foot nav{display:flex;gap:4px 22px;flex-wrap:wrap}
.site-foot nav a{min-height:44px;display:inline-flex;align-items:center}
.foot-legal{flex-basis:100%;color:var(--muted)}

/* shared bits */
.display{font-family:var(--display);font-size:clamp(36px,5vw,68px);line-height:1.05;font-weight:500;letter-spacing:-.045em}
.line-link{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid currentColor;padding:8px 0;font-size:15px;min-height:44px}
.badge{display:inline-flex;align-items:center;gap:10px;background:#000;color:#fff;border-radius:8px;padding:6px 16px 6px 12px;line-height:1.05;border:1px solid #6b6b6b;min-height:52px}
.badge:hover{text-decoration:none}
.badge-tri{width:0;height:0;border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:2px}
.badge-text{display:flex;flex-direction:column;font-weight:600;font-size:18px}
.badge-text small{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.actions{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center}
.section{max-width:var(--max);margin:0 auto;padding:110px var(--gutter) 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px 24px;flex-wrap:wrap;margin-bottom:36px}
.section-head .display{width:min(60%,760px);min-width:280px}
.section-head.baseline{align-items:baseline;margin-bottom:28px}
.section-head.baseline .display{width:auto}

.moon{max-width:var(--max);margin:0 auto;padding:16px var(--gutter) 0}
.moon picture{display:block;position:relative;overflow:hidden;border-radius:3px;background:#13131A;height:clamp(180px,28vw,340px)}
.moon img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;display:block}
.moon+.intro{padding-top:20px}
/* product pages */
.crumbs{max-width:var(--max);margin:0 auto;padding:22px var(--gutter) 0;display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
.crumbs a,.crumbs .muted{color:var(--muted)}
.product-hero{max-width:var(--max);margin:0 auto;padding:24px var(--gutter) 0}
.huge{font-family:var(--display);font-size:clamp(84px,15vw,220px);font-weight:700;line-height:.84;letter-spacing:-.055em;margin:12px 0 0;overflow-wrap:anywhere}
.huge .dot{color:var(--accent)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:40px;margin-top:28px;align-items:end}
.hero-copy{display:flex;flex-direction:column;gap:16px;padding-bottom:8px;align-items:flex-start}
.tagline{font-size:clamp(26px,2.6vw,36px);line-height:1.15;letter-spacing:-.01em}
.hero-copy .lede{max-width:460px;color:var(--muted)}
.store-title{font-size:15px;font-weight:600}
.panel{position:relative;background:var(--tint);color:var(--on-tint);border-radius:3px;overflow:hidden;display:flex;justify-content:center;align-items:flex-end}
.panel .label{position:absolute;top:22px}
.panel .label:first-child{left:24px}
.panel .label:nth-child(2){right:24px;text-align:right}
.hero-panel{height:500px}
.hero-panel img{width:236px;border-radius:26px;transform:translateY(60px) rotate(-6deg);box-shadow:8px 25px 40px rgba(36,37,34,.22)}
.feat-list{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line)}
.feat-list li{display:grid;grid-template-columns:80px minmax(0,1fr) minmax(0,1.2fr);gap:12px 24px;border-top:1px solid var(--line);padding:28px 0}
.feat-n{font-family:var(--display);font-size:22px;color:var(--accent)}
.feat-list h3{font-family:var(--display);font-size:30px;font-weight:500;letter-spacing:-.03em;line-height:1.1}
.feat-list p{color:var(--muted);max-width:540px}
.honest-card{font-family:var(--serif);font-size:clamp(22px,2.2vw,28px);line-height:1.35;max-width:900px;margin:0 0 32px}
.honest-intro{color:var(--muted);margin:0 0 10px}
.honest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.honest-col{border-radius:3px;padding:30px 32px;background:var(--paper-2)}
.honest-col.does{background:var(--tint);color:var(--on-tint)}
.honest-col h3{font-family:var(--display);font-size:28px;font-weight:500;letter-spacing:-.03em;margin-bottom:14px}
.honest-col ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px}
.honest-col.not ul{color:var(--muted)}
.shots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.shots.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.shots figure{display:flex;flex-direction:column;gap:12px;min-width:0}
.shot{border-radius:3px;padding:36px 28px 0;height:450px;overflow:hidden;display:flex;justify-content:center;background:var(--paper-2)}
.shots figure:nth-child(even) .shot{background:var(--tint)}
.shot img{width:100%;max-width:230px;border-radius:20px;box-shadow:0 14px 30px rgba(36,37,34,.16);align-self:flex-start}
.shots figcaption{font-size:14px;color:var(--muted)}
.shots-note{color:var(--muted);font-size:15px;margin-top:16px}
.reads{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
.sheet{background:var(--paper-2);padding:40px 34px;transform:rotate(1.5deg);box-shadow:3px 3px 0 var(--paper-3)}
.sheet p{font-family:var(--serif);font-size:clamp(19px,1.7vw,22px);line-height:1.45}
.sheet a{text-decoration:underline;text-underline-offset:4px}
.next-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:28px;margin-bottom:24px}
.next-head h2{font-size:18px;font-weight:500}
.next-head a{color:var(--accent);font-size:18px;display:inline-flex;gap:16px;align-items:center;min-height:44px}
.next-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-bottom:90px}
.next-card{display:flex;justify-content:space-between;gap:20px;background:var(--tint);color:var(--on-tint);border-radius:3px;padding:24px 28px 0;height:260px;overflow:hidden}
.next-card:hover{text-decoration:none}
.next-card:hover .next-name{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.next-card>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.next-name{font-family:var(--display);font-size:52px;font-weight:500;letter-spacing:-.05em;line-height:1.05}
.next-card img{width:150px;border-radius:18px;transform:translateY(24px) rotate(6deg);box-shadow:6px 18px 30px rgba(36,37,34,.2);align-self:flex-start;flex:none}

/* games: the puzzle-book line (docs/design/games-system.md): Fraunces display, one pen colour per game */
.game{--pen-c:var(--pen)}
@media (prefers-color-scheme:dark){.game{--pen-c:var(--pen-dark)}}
.game .huge{font-family:var(--serif);font-variation-settings:'SOFT' 50,'WONK' 1;font-weight:600;letter-spacing:-.04em;line-height:.88}
.game .huge .dot,.game .feat-n{color:var(--pen-c)}
.game .tagline{font-family:var(--serif);font-style:italic;font-size:clamp(28px,2.8vw,38px)}
.game .display{font-family:var(--serif);letter-spacing:-.02em;line-height:1.08}
.game .feat-n{font-family:var(--serif);font-style:italic;font-size:24px}
.game .next-name{font-family:var(--serif);font-weight:600;letter-spacing:-.03em}
.game .next-card{flex-direction:column;justify-content:flex-end;padding-bottom:26px;height:220px}
.game .next-card .label{margin-bottom:auto}
.game .next-short{font-family:var(--serif);font-style:italic;font-size:20px}

/* home */
.intro{max-width:var(--max);margin:0 auto;padding:32px var(--gutter) 38px}
.intro-top,.intro-bottom{display:flex;justify-content:space-between;gap:16px}
.intro h1{font-family:var(--display);font-size:clamp(76px,15.6vw,225px);font-weight:700;line-height:.82;letter-spacing:-.05em;margin:45px 0 32px;display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;font-variation-settings:'opsz' 96}
.intro h1 .labs{color:var(--accent)}
.intro h1 .dot{font-size:.6em}
.intro-bottom{align-items:flex-end;flex-wrap:wrap}
.intro-bottom>p:first-child{font-size:clamp(19px,1.8vw,24px);line-height:1.25}
.invitation{font-size:14px;color:var(--muted);text-align:right}
.invitation a{display:inline-flex;gap:30px;align-items:center;color:var(--ink);margin-top:4px;min-height:44px}
.bench{max-width:var(--max);margin:0 auto;padding:0 var(--gutter);display:grid;grid-template-columns:1.4fr 1fr;gap:14px}
.instrument{padding:25px 30px 17px;background:#cfef69;color:#242522;border-radius:3px}
.piece-head{display:flex;justify-content:space-between;gap:15px}
.level{position:relative;width:min(360px,86%);aspect-ratio:1;border:2px solid #242522;border-radius:50%;margin:24px auto 14px}
.ticks{position:absolute;inset:9px;border-radius:50%;background:repeating-conic-gradient(#242522 0deg 1deg,transparent 1deg 10deg);-webkit-mask:radial-gradient(circle,transparent 66%,#000 66%);mask:radial-gradient(circle,transparent 66%,#000 66%)}
.axis{position:absolute;background:#242522;opacity:.3}
.axis.h{height:1px;width:100%;top:50%}
.axis.v{width:1px;height:100%;left:50%}
.inner-ring{position:absolute;inset:22%;border:1px solid #24252277;border-radius:50%}
.target{position:absolute;inset:37%;border:1px dashed #242522;border-radius:50%}
.bubble{position:absolute;width:26%;height:26%;border:2px solid #242522;border-radius:50%;top:37%;left:37%;background:#f7ffacaa;box-shadow:inset 0 0 0 6px #f7ffac88;transform:translateX(42px)}
.degree{position:absolute;top:72%;width:100%;text-align:center;font-family:var(--display);font-weight:600;font-size:30px;letter-spacing:-.04em}
.level-controls{display:flex;gap:24px;align-items:center;border-top:1px solid #24252255;padding-top:14px}
.level-controls label{font-size:14px;white-space:nowrap}
.level-controls input{accent-color:#242522;width:100%;min-width:0;cursor:pointer;height:44px}
.demo-note{font-size:13px;margin-top:6px;color:#3f4a1c}
.bench-side{display:grid;grid-template-rows:1fr 1fr;gap:14px}
.piece{padding:22px 26px;display:block;border-radius:3px;overflow:hidden;position:relative}
.piece:hover{text-decoration:none}
.piece:hover .piece-go{text-decoration:underline;text-underline-offset:4px}
.beat-piece{background:#5140ea;color:#f4f1e9}
.beat-graphic{position:relative;height:160px}
.pendulum{position:absolute;left:27%;bottom:10px;width:3px;height:145px;background:#f4f1e9;transform-origin:bottom;transform:rotate(22deg)}
.pendulum i{display:block;position:absolute;top:30%;left:-12px;width:27px;height:34px;background:#f4f1e9}
@media (prefers-reduced-motion:no-preference){.pendulum{animation:swing 1s ease-in-out infinite alternate}}
@keyframes swing{from{transform:rotate(22deg)}to{transform:rotate(-22deg)}}
.beat-arc{position:absolute;left:6%;bottom:10px;width:44%;height:120px;border:1px solid #ffffff77;border-bottom:0;border-radius:50% 50% 0 0}
.tempo{position:absolute;right:0;bottom:12px;font-family:var(--display);font-size:64px;line-height:1;letter-spacing:-.05em;text-align:right}
.tempo span{display:block;font-size:11px;letter-spacing:.1em;padding-top:8px;font-family:var(--body)}
.puzzle-piece{background:#e7dfd0;color:#242522;min-height:210px}
.puzzle-art{display:grid;grid-template-columns:repeat(3,45px);grid-template-rows:repeat(3,45px);transform:rotate(-8deg);margin:19px 0 0 15px;border:1px solid #242522;width:max-content}
.puzzle-art span{display:grid;place-items:center;border:1px solid #24252244;font-family:var(--serif);font-size:23px}
.puzzle-art .pen{color:#1A44B5;font-style:italic}
.puzzle-piece .say{position:absolute;bottom:30px;right:26px;width:150px;font-family:var(--serif);font-size:24px;line-height:1.1;font-style:italic}
.work{max-width:var(--max);margin:0 auto;padding:92px var(--gutter) 0}
.project{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding:40px 0;gap:28px}
.project-copy{padding:15px 40px 0 0;display:flex;align-items:flex-start;flex-direction:column}
.project h3{font-family:var(--display);font-weight:500;font-size:clamp(52px,5.2vw,74px);letter-spacing:-.055em;line-height:1.1;margin:40px 0 12px}
.project.game-line h3{font-family:var(--serif);letter-spacing:-.03em;font-weight:600}
.project-sub{font-size:26px;line-height:1.2;margin-bottom:22px}
.project.game-line .project-sub{font-family:var(--serif);font-style:italic}
.project-copy>p:not(.label):not(.project-sub){max-width:360px;color:var(--muted);font-size:16px}
.project-copy .line-link{margin-top:30px;min-width:190px}
.project .panel{height:530px}
.project .panel img{width:225px;border-radius:25px;transform:translateY(65px) rotate(-8deg);box-shadow:8px 25px 40px rgba(36,37,34,.2)}
.project:nth-of-type(even) .panel img{transform:translateY(65px) rotate(8deg)}
.hint-sheet{background:#e7dfd0;color:#242522;padding:42px 32px;transform:rotate(2deg);align-self:center;box-shadow:3px 3px 0 #cec5b3}
.hint-grid{display:grid;grid-template-columns:repeat(9,1fr);margin:56px 0 27px;border:1px solid #242522}
.hint-grid span{display:grid;place-items:center;aspect-ratio:1;border-right:1px solid #24252255;font-family:var(--serif);font-size:clamp(16px,1.8vw,23px)}
.hint-grid span:nth-child(3n){border-right:2px solid #242522}
.hint-grid span:last-child{border-right:0}
.hint-grid .answer{color:#1A44B5;background:#1A44B515;outline:2px solid #1A44B5;outline-offset:4px}
.hint-sheet>p{font-family:var(--serif);font-size:26px;line-height:1.35}
.sheet-foot{display:block;font-size:12px;color:#5e6059;margin-top:40px}
.all-work{padding:30px 0 60px;border-bottom:1px solid var(--line)}
.all-work-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:18px;margin-bottom:22px}
.all-work-head a{color:var(--accent);display:inline-flex;gap:20px;align-items:center;min-height:44px}
.name-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 26px;font-family:var(--display);font-size:clamp(24px,2.4vw,34px);letter-spacing:-.03em}
.name-list a{min-height:44px;display:inline-flex;align-items:center}
.name-list .g a{font-family:var(--serif);font-style:italic;letter-spacing:-.01em}
.studio{max-width:var(--max);margin:0 auto;padding:90px var(--gutter) 100px;display:grid;grid-template-columns:1fr 1fr;gap:40px}
.studio h2{margin-top:30px}
.studio h2 span{color:var(--accent)}
.studio-copy{padding-top:45px;max-width:440px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.studio-copy p{font-size:20px}
.studio-copy p+p{font-size:16px;color:var(--muted)}

/* work index */
.index-intro{max-width:var(--max);margin:0 auto;padding:32px var(--gutter) 0}
.index-intro .huge{margin:40px 0 28px}
.index-intro-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.index-intro-bottom p{font-size:clamp(19px,1.8vw,24px);line-height:1.25;max-width:600px}
.jump{display:flex;gap:8px;flex-wrap:wrap}
.jump a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--ink);font-size:15px}
.jump a:hover{background:var(--ink);color:var(--paper);text-decoration:none}
.index{max-width:var(--max);margin:0 auto;padding:80px var(--gutter) 0}
.index>h2{margin-bottom:20px}
.index-list{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line)}
.row{display:grid;grid-template-columns:64px minmax(0,1.1fr) minmax(0,1fr) 260px;gap:16px 28px;align-items:center;border-top:1px solid var(--line);padding:26px 0}
.row-n{font-family:var(--display);font-size:22px;color:var(--accent)}
.row h3{font-family:var(--display);font-size:clamp(44px,4.4vw,64px);font-weight:500;letter-spacing:-.055em;line-height:1.05;margin-top:4px}
.row-sub{font-size:22px;line-height:1.2;margin-top:2px}
.row-desc{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.row-desc p{color:var(--muted);font-size:16px;max-width:400px}
.row-links{display:flex;gap:4px 22px;flex-wrap:wrap;font-size:15px}
.row-links a{border-bottom:1px solid currentColor;padding-bottom:3px;min-height:36px;display:inline-flex;align-items:flex-end}
.thumb{background:var(--tint);border-radius:3px;height:190px;overflow:hidden;display:flex;justify-content:center;padding-top:24px}
.thumb img{width:120px;border-radius:14px;transform:rotate(-6deg);box-shadow:4px 12px 22px rgba(36,37,34,.2);align-self:flex-start}
.row:nth-child(even) .thumb img{transform:rotate(6deg)}
.game-row .row-n{font-family:var(--serif);font-style:italic;color:var(--pen-c)}
.game-row h3{font-family:var(--serif);font-weight:600;letter-spacing:-.03em}
.game-row .row-sub{font-family:var(--serif);font-style:italic}
.game-row{--pen-c:var(--pen)}
@media (prefers-color-scheme:dark){.game-row{--pen-c:var(--pen-dark)}}
.trust{max-width:var(--max);margin:0 auto;padding:90px var(--gutter)}
.trust p{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;font-size:18px;display:flex;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.trust a{color:var(--accent)}

/* prose pages (privacy, support): content unchanged, paper type */
.prose{max-width:76ch;margin:0 auto;padding:48px var(--gutter) 90px;display:flex;flex-direction:column;gap:14px}
.prose .eyebrow{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.prose h1{font-family:var(--display);font-size:clamp(48px,7vw,96px);font-weight:700;letter-spacing:-.05em;line-height:.95;margin:6px 0 10px}
.prose h2{font-family:var(--display);font-weight:500;letter-spacing:-.035em;font-size:clamp(28px,3vw,38px);line-height:1.1;margin:36px 0 0;padding-top:24px;border-top:1px solid var(--line);scroll-margin-top:24px}
.prose h3{font-family:var(--display);font-weight:500;letter-spacing:-.02em;font-size:23px;margin-top:14px;scroll-margin-top:24px}
.prose .lede{font-size:20px;line-height:1.4}
.prose a{text-decoration:underline;text-underline-offset:3px}
.prose ul,.prose ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose .meta{color:var(--muted);font-size:15px}
.draft-banner{background:#FFDDB2;color:#291800;border-radius:3px;padding:14px 18px;font-size:15px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:3px}
table{border-collapse:collapse;width:100%;min-width:560px;font-size:15px}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--paper-2)}
tr:last-child td{border-bottom:0}
details{background:var(--paper-2);border-radius:3px;padding:4px 18px}
details+details{margin-top:-4px}
summary{cursor:pointer;font-weight:600;padding:12px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:44px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--display);font-size:22px;color:var(--accent);flex:none}
details[open] summary::after{content:"–"}
details p{padding:0 0 14px;color:var(--muted)}

@media (max-width:900px){
  .hero-grid,.reads,.project,.studio,.bench{grid-template-columns:minmax(0,1fr)}
  .project-copy{padding:0}
  .hero-panel,.project .panel{height:440px}
  .row{grid-template-columns:44px minmax(0,1fr)}
  .row-desc,.thumb{grid-column:2}
  .thumb{max-width:320px;width:100%}
  .shots{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shots.three{grid-template-columns:repeat(2,minmax(0,1fr))}
  .honest-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  :root{--gutter:6%}
  body{font-size:16px}
  .site-head{padding:18px var(--gutter)}
  .brand{font-size:11px;gap:8px}
  .site-nav{gap:4px 18px;font-size:14px}
  .section{padding-top:72px}
  .intro h1{display:block;line-height:.86;font-size:23.8vw;margin:28px 0 22px}
  .intro h1 .labs{display:block;padding-left:22%}
  .invitation{text-align:left}
  .bench-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .piece{padding:16px;min-height:230px}
  .piece-head{flex-direction:column;gap:4px;font-size:11px}
  .tempo{font-size:38px}
  .pendulum{height:105px;bottom:25px}
  .beat-arc{height:85px;bottom:25px;width:60%}
  .puzzle-art{margin:20px auto 0;grid-template-columns:repeat(3,31px);grid-template-rows:repeat(3,31px)}
  .puzzle-art span{font-size:18px}
  .puzzle-piece .say{position:static;width:auto;font-size:18px;margin-top:22px}
  .work{padding-top:60px}
  .feat-list li{grid-template-columns:40px minmax(0,1fr)}
  .feat-list p{grid-column:2}
  .feat-list h3{font-size:25px}
  .shots,.shots.three,.next-grid{grid-template-columns:minmax(0,1fr)}
  .shot{height:400px}
  .next-card img{display:none}
  .next-name{font-size:44px}
  .hero-panel img,.project .panel img{width:200px}
  .hero-panel .label:nth-child(2){display:none}
  .studio{padding:60px var(--gutter)}
  .studio-copy{padding-top:10px}
  .sheet{transform:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* generated-site additions: the Privacy menu, catalogue lists on the home page, facts, games policy page */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.site-nav a[aria-current]{color:var(--accent)}
.site-nav details{background:none;padding:0;margin:0;position:relative}
.site-nav summary{padding:0;min-height:44px;display:inline-flex;gap:8px;justify-content:flex-start;font-weight:400;cursor:pointer;align-items:center}
.site-nav summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);font-size:0;margin-top:-3px;color:inherit}
.site-nav details[open] summary::after{content:"";transform:rotate(-135deg);margin-top:3px}
.site-nav summary[aria-current]{color:var(--accent)}
.site-nav details div{position:absolute;right:0;top:100%;z-index:5;background:var(--paper);border:1px solid var(--ink);border-radius:3px;padding:6px;min-width:200px;display:flex;flex-direction:column}
.site-nav details div a{padding:0 10px}
@media (max-width:600px){.site-nav details div{left:0;right:auto}}
.hero-copy .eyebrow{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ink)}
.facts{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 18px;font-size:13px;color:var(--muted)}
.facts li+li::before{content:"/";margin-right:18px;color:var(--line)}
.sheet-small{margin-top:18px;font-family:var(--body);font-size:16px;color:var(--muted)}
.next-links{display:flex;gap:4px 28px;flex-wrap:wrap}
.catalog{max-width:var(--max);margin:0 auto;padding:92px var(--gutter) 0}
.catalog .section-head{align-items:flex-end}
.catalog h2{font-family:var(--display);font-size:clamp(36px,5vw,68px);line-height:1.05;font-weight:500;letter-spacing:-.045em;margin-top:8px}
.section-note{max-width:420px;color:var(--muted)}
.catalog .jump{margin-bottom:20px}
.group{padding-top:28px;border-top:1px solid var(--line);margin-top:20px}
.group h3{font-family:var(--display);font-size:26px;font-weight:500;letter-spacing:-.03em}
.group>p{color:var(--muted);margin:2px 0 14px}
.app-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:4px 24px}
.app-list a{display:grid;grid-template-columns:36px 1fr;grid-template-areas:"n name" ". tag";column-gap:8px;padding:8px 0;min-height:44px;align-items:baseline}
.app-n{grid-area:n;font-family:var(--display);font-size:15px;color:var(--accent)}
.app-name{grid-area:name;font-family:var(--display);font-size:clamp(26px,2.6vw,34px);letter-spacing:-.03em;line-height:1.1}
.app-tag{grid-area:tag;color:var(--muted);font-size:15px}
.games-catalog .app-n{color:var(--pen-c,var(--accent));font-family:var(--serif);font-style:italic}
.games-catalog .app-name{font-family:var(--serif);font-weight:600;letter-spacing:-.02em}
.game-item{--pen-c:var(--pen)}
@media (prefers-color-scheme:dark){.game-item{--pen-c:var(--pen-dark)}}
.catalog-foot{padding:30px 0 60px;border-bottom:1px solid var(--line)}
.trust-links{display:flex;gap:4px 22px;flex-wrap:wrap}
.trust p{align-items:center}
body.paper{--accent:#1A44B5}
@media (prefers-color-scheme:dark){body.paper{--accent:#B4C9FF}}
body.paper .prose h1,body.paper .prose h2,body.paper .prose h3{font-family:var(--serif);font-weight:600;letter-spacing:-.02em}
