/* Project-specific art direction, scoped to collection and feature pages. */
body:has(.product-feature), .product-feature, .collection-game {
  --paper: #f0eee6;
  --ink: #201f1c;
  --quiet: #575248;
  --accent: #9e421f;
  --stage: #dfd9cc;
  --rule: color-mix(in srgb, var(--ink) 23%, transparent);
  --serif: Georgia, "Songti TC", "Noto Serif TC", serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
:is(.stillroom, body:has(.product-feature.stillroom)) { --paper:#e9dfcd; --ink:#2b2017; --quiet:#5f4b39; --accent:#903513; --stage:#31241b; }
:is(.pro-camera, body:has(.product-feature.pro-camera)) { --paper:#191b1a; --ink:#f7f6ee; --quiet:#b5b5a9; --accent:#ffdb38; --stage:#252824; }
:is(.pulsetogether, body:has(.product-feature.pulsetogether)) { --paper:#271e35; --ink:#fff3f8; --quiet:#e3c5d7; --accent:#ffacc5; --stage:#3a203c; }
:is(.time-ledger, body:has(.product-feature.time-ledger)) { --paper:#f7edd6; --ink:#172b38; --quiet:#44535e; --accent:#134e96; --stage:#efc150; }
:is(.equation-visualizer, body:has(.product-feature.equation-visualizer)) { --paper:#eef1fb; --ink:#1c254a; --quiet:#465276; --accent:#4145a5; --stage:#d8e1ff; }
:is(.rhythm, body:has(.product-feature.rhythm)) { --paper:#e6eff2; --ink:#18303d; --quiet:#425963; --accent:#09647a; --stage:#c4dfe5; }
:is(.cellpilot, body:has(.product-feature.cellpilot)) { --paper:#10231a; --ink:#e9f6e6; --quiet:#b0c7b7; --accent:#baee90; --stage:#1d3a2c; }
:is(.silicon-field, body:has(.product-feature.silicon-field)) { --paper:#192c32; --ink:#e4f3f4; --quiet:#afc8cc; --accent:#71e2e1; --stage:#20373d; }
:is(.skydelta, body:has(.product-feature.skydelta)) { --paper:#eaf3ec; --ink:#183238; --quiet:#3a565a; --accent:#0b615a; --stage:#89c4ce; }
:is(.floating-vinyl, body:has(.product-feature.floating-vinyl)) { --paper:#261b24; --ink:#f7e9d8; --quiet:#ddc0b8; --accent:#efab76; --stage:#512938; }
:is(.waitown, body:has(.product-feature.waitown)) { --paper:#222942; --ink:#fff2d7; --quiet:#dad0c2; --accent:#ffd497; --stage:#282943; }
:is(.swearquest, body:has(.product-feature.swearquest)) { --paper:#fff0c8; --ink:#172c36; --quiet:#3f5153; --accent:#963522; --stage:#203948; }
:is(.pagetide, body:has(.product-feature.pagetide)) { --paper:#edf2eb; --ink:#23332d; --quiet:#465951; --accent:#14654e; --stage:#d5e5da; }
:is(.quittrace, body:has(.product-feature.quittrace)) { --paper:#24282c; --ink:#f9f5e9; --quiet:#cecdc4; --accent:#ffc579; --stage:#363b3e; }
:is(.neon-blade, body:has(.product-feature.neon-blade)) { --paper:#171617; --ink:#fff4e7; --quiet:#d9c3b9; --accent:#ff957d; --stage:#3b2022; }

.product-feature {
  color: var(--ink);
  background: var(--paper);
  margin-block: 1.4rem 3rem;
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.product-feature > .product-back {
  margin: 1.4rem var(--inset);
  display: inline-flex;
}
.product-feature { --inset: clamp(1.2rem, 5.15vw, 5.1rem); }
.product-back, .product-end a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .32em;
  font-size: .82rem;
  font-weight: 650;
}
.product-feature a:focus-visible, .product-feature summary:focus-visible, .collection-game:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4.6rem);
  padding: clamp(1.5rem, 4vw, 4rem) var(--inset) clamp(2.3rem, 5vw, 5rem);
  position: relative;
}
.product-intro { min-width: 0; position: relative; z-index: 1; }
.product-identity { display:flex; align-items:center; gap:.8rem; margin-bottom:clamp(1.2rem, 3vw, 2.6rem); }
.product-identity img { width: 3.4rem; aspect-ratio: 1; border-radius: 23%; box-shadow: 0 2px 6px #0002; }
.product-name { font-size:.95rem; margin:0; font-weight:750; line-height:1.3; }
.product-platform, .product-note, .product-fig-note { color:var(--quiet); font-size:.76rem; }
.product-platform { font-family:var(--mono); margin:.25rem 0 0; }
.product-intro h1 {
  margin: 0;
  max-width: 15ch;
  color: inherit;
  font-size: clamp(2.1rem, 4.45vw, 4.8rem);
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
:lang(zh-Hant) .product-intro h1 { letter-spacing: -.055em; line-height: 1.18; }
.product-lead { font-size:clamp(.97rem, 1.4vw, 1.19rem); line-height:1.75; max-width:40ch; color:var(--quiet); margin:1.2rem 0 0; }
.product-actions { margin-top:1.6rem; }
.product-action {
  display:inline-flex; min-height:46px; align-items:center; gap:.35rem; padding:.7rem 1.1rem;
  border:1px solid var(--accent); background:var(--accent); color:var(--action-ink, var(--paper));
  line-height:1.25; font-weight:750; font-size:.86rem; transition:transform .2s, box-shadow .2s;
}
.product-action:hover { transform:translateY(-2px); box-shadow:0 4px 0 var(--rule); }
.product-note { margin:.85rem 0 0; }
.product-art { min-width:0; position:relative; }
.product-art img { display:block; width:100%; height:auto; }
.product-chapters, .product-gallery, .product-equation, .product-controls, .product-diff { margin:0 var(--inset); padding-block:clamp(2rem, 5vw, 4.5rem); border-top:1px solid var(--rule); }
.product-chapters { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(1.4rem, 3vw, 3rem); scroll-margin-top:6.5rem; }
.product-feature h2 { color:inherit; margin:0 0 .85rem; font-size:clamp(1.25rem, 2.35vw, 2rem); line-height:1.2; letter-spacing:-.035em; text-wrap:balance; }
.product-chapters p { color:var(--quiet); line-height:1.75; margin:0; font-size:1rem; }
.product-gallery > div { display:flex; flex-wrap:wrap; align-items:flex-start; gap:clamp(.8rem, 2.5vw, 2.3rem); }
.product-gallery h2 { margin-bottom:1.55rem; }
.product-gallery figure { margin:0; min-width:0; flex:1 1 180px; }
.product-gallery figure a { display:block; width:fit-content; max-width:100%; }
.product-gallery img { display:block; max-width:100%; width:auto; max-height:420px; height:auto; background:var(--stage); border:1px solid var(--rule); border-radius:5px; }
.product-gallery figcaption { color:var(--quiet); margin-top:.65rem; font-size:.8rem; line-height:1.45; }
.product-end { display:flex; flex-wrap:wrap; gap:.65rem 1.5rem; padding:1.6rem var(--inset); border-top:1px solid var(--rule); scroll-margin-top:6.5rem; }
.product-end a:last-child { margin-inline-start:auto; }
.product-fig-note { grid-column:2; text-align:right; margin:-1.2rem 0 0; }

.print-art {
  display:grid; grid-template-columns:1fr 1.18fr 1fr; align-items:center; gap:clamp(.3rem, 1.1vw, 1.35rem);
  padding:clamp(1rem, 2.4vw, 2.2rem) clamp(.65rem, 1.6vw, 1.45rem); background:var(--stage);
}
.print-art img { box-shadow:0 10px 18px #0004; border-radius:6px; }
.print-art img:first-child { grid-column:2; grid-row:1; }
.print-art img:nth-child(2) { grid-column:1; grid-row:1; }
.print-art img:nth-child(3) { grid-column:3; grid-row:1; }
.stillroom .product-intro h1, .floating-vinyl .product-intro h1, .neon-blade .product-intro h1, .skydelta .product-intro h1 { font-family:var(--serif); }
.stillroom .print-art { padding-block:2rem; background:radial-gradient(ellipse at 45% 60%, #6c513b, var(--stage) 78%); border-block:9px solid #201c16; }
.stillroom .print-art::before, .stillroom .print-art::after {
  content:""; position:absolute; inset-inline:.6rem; height:6px; background:repeating-linear-gradient(90deg,#e9dfc9 0 10px,transparent 10px 17px);
}
.stillroom .print-art::before { top:.33rem; }
.stillroom .print-art::after { bottom:.33rem; }
.stillroom .product-gallery img { border:6px solid #faf0dc; box-shadow:0 4px 12px #3821122d; }
.stillroom .product-gallery > div { justify-content:center; }
.stillroom .product-gallery figure { flex:0 1 185px; }

.instrument-art { padding:clamp(.6rem, 1.9vw, 1.8rem); background:var(--stage); }
.instrument-art img { border:1px solid var(--rule); box-shadow:0 14px 35px #0003; }
.pro-camera .product-intro h1 { font-weight:850; }
.pro-camera .instrument-art {
  display:grid; place-items:center; min-height: clamp(20rem, 34vw, 32rem); border:1px solid var(--rule);
  background-image:linear-gradient(90deg,#ffffff15 1px,transparent 1px),linear-gradient(#ffffff15 1px,transparent 1px);
  background-size:26px 26px;
}
.pro-camera .instrument-art img { width:min(58%, 230px); border:4px solid #434641; }
.pro-camera .instrument-art::before {
  content:""; position:absolute; inset:1rem; pointer-events:none;
  border:2px solid var(--accent); clip-path:polygon(0 0,16% 0,0 16%,0 0,100% 0,100% 16%,84% 0,100% 0,100% 100%,84% 100%,100% 84%,100% 100%,0 100%,0 84%,16% 100%,0 100%);
}
.pro-camera .product-chapters article { border-top:2px solid var(--accent); padding-top:1rem; }
.pro-camera .product-gallery img { width:100%; }

.pulsetogether .product-hero { background:radial-gradient(ellipse at 77% 55%, #59355380, transparent 54%); }
.pulsetogether .product-intro h1 { font-weight:560; letter-spacing:-.07em; }
.paired-art { display:flex; align-items:center; justify-content:center; gap:6%; isolation:isolate; padding:1.5rem .75rem; }
.paired-art img { width:38%; border-radius:11% / 5%; border:3px solid #a36a91; box-shadow:0 18px 36px #120916a0; transform:translateY(-.8rem) rotate(-6deg); }
.paired-art img:last-child { transform:translateY(1rem) rotate(7deg); border-color:#75629c; }
.pulse-line { position:absolute; z-index:-1; width:115%; fill:none; stroke:#f993b7; stroke-width:2px; opacity:.75; filter:drop-shadow(0 0 8px #ff7ea9); }
.pulsetogether .product-action { border-radius:100px; }

.time-ledger .product-hero { grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); align-items:end; }
.time-ledger .print-art { box-shadow:7px 7px 0 #23313a; border:1px solid #23313a; align-items:end; }
.time-ledger .print-art img:first-child { transform:translateY(-8%); }
.time-ledger .product-chapters { background:repeating-linear-gradient(0deg,transparent 0 31px,#154e9719 31px 32px); }
.time-ledger .product-intro h1 { max-width:11ch; font-weight:880; }
.time-ledger .product-action { box-shadow:3px 3px 0 #162b38; }

.equation-visualizer .product-hero { background:repeating-linear-gradient(0deg,transparent 0 35px,#566ccd23 35px 36px); }
.equation-visualizer .product-intro h1 { color:var(--accent); }
.product-equation { display:grid; justify-items:start; grid-template-columns:minmax(0, .7fr) minmax(0, 1.3fr); gap:.6rem 2rem; }
.product-equation h2 { align-self:center; }
.product-formula { font:600 clamp(1.5rem, 3vw, 2.9rem)/1.3 var(--mono); margin:0; }
.product-formula em { color:var(--accent); font-style:normal; }
.product-equation details { grid-column:2; max-width:100%; }
.product-equation summary { cursor:pointer; color:var(--accent); padding:.8rem 0; }
.product-equation details .product-formula { margin:.8rem 0 .2rem; }

.rhythm .product-hero { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.rhythm .product-intro { grid-column:2; grid-row:1; }
.rhythm .print-art { grid-column:1; grid-row:1; background:repeating-linear-gradient(0deg, var(--stage) 0 35px,#b4d5dc 35px 36px); border-radius:50% 50% 4px 4px / 12% 12% 4px 4px; }
.rhythm .print-art img { border:2px solid #f7fafa; border-radius:10px; }
.rhythm .product-chapters { grid-template-columns:1fr; gap:0; }
.rhythm .product-chapters article { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:1rem; padding:1.2rem 0; border-bottom:1px solid var(--rule); }
.rhythm .product-chapters h2 { color:var(--accent); }

.cellpilot .product-hero, .silicon-field .product-hero, .pagetide .product-hero { grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); }
.cellpilot .instrument-art { border-radius:14px; border:1px solid #7cbf8d6b; background:radial-gradient(ellipse at 55% 45%,#3c7051,var(--stage) 74%); }
.cellpilot .instrument-art img { border-radius:7px; }
.cellpilot .product-chapters article { border-left:2px solid #8ac586; padding-left:1.05rem; }
.cellpilot .product-platform, .silicon-field .product-platform, .quittrace .product-platform { color:var(--accent); }
.silicon-field .product-hero {
  grid-template-columns:minmax(0,1fr); justify-items:center; text-align:center; gap:1.85rem; padding-top:clamp(1.25rem, 2.4vw, 2.2rem);
  background-image:radial-gradient(ellipse at 50% 57%,#4f8e902b,transparent 65%),linear-gradient(90deg,#89e9e515 1px,transparent 1px),linear-gradient(#89e9e515 1px,transparent 1px);
  background-size:auto,30px 30px,30px 30px;
}
.silicon-field .product-identity { justify-content:center; text-align:left; margin-bottom:1.2rem; }
.silicon-field .product-intro h1 { max-width:26ch; font-size:clamp(2.1rem, 3.85vw, 4.2rem); }
.silicon-field .product-lead { margin-inline:auto; max-width:55ch; }
.silicon-field .instrument-art { width:min(100%, 910px); border:1px solid #63b2b266; background:#20373da9; }
.silicon-field .product-chapters h2 { color:var(--accent); font-family:var(--mono); }
.pagetide .instrument-art { border:1px solid #5a8071; box-shadow:5px 5px 0 #8ab7a3; border-radius:3px; }
.product-diff { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.65rem 2rem; }
.product-diff h2, .product-diff p { margin:0; }
.product-diff p { display:grid; font-family:var(--mono); gap:.35rem; width:min(100%, 25rem); }
.product-diff del, .product-diff ins { padding:.6rem .85rem; }
.product-diff del { color:#8b2e39; background:#f5dfe1; }
.product-diff ins { color:#145646; background:#d2e9dd; text-decoration:none; }
.quittrace .product-hero { grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); background:linear-gradient(120deg,#292d31,var(--paper) 60%); }
.quittrace .instrument-art { border:1px solid #90949370; border-top:5px solid var(--accent); }
.quittrace .product-intro h1 { font-family:var(--mono); font-size:clamp(1.9rem, 3.65vw, 3.9rem); }
.quittrace .product-chapters article + article { border-left:1px solid var(--rule); padding-left:1rem; }

.scene-art { overflow:hidden; background:var(--stage); }
.scene-backdrop { position:absolute; inset:0; }
.scene-backdrop img { height:100%; object-fit:cover; }
.scene-foreground { position:relative; display:flex; justify-content:center; align-items:flex-end; min-height:100%; gap:5%; padding:1.25rem .9rem; }
.scene-foreground img { width:min(45%, 205px); border-radius:8% / 4%; border:3px solid var(--paper); box-shadow:0 14px 28px #110c2490; }
.skydelta .product-hero { background:linear-gradient(180deg,transparent,#d5e9df); }
.skydelta .scene-art { border:7px solid #f6f4db; box-shadow:0 0 0 1px #598279, 6px 7px 0 #a4cbb9; }
.skydelta .scene-backdrop { opacity:.87; }
.skydelta .scene-foreground img:last-child { margin-block:1.55rem -1rem; }
.skydelta .scene-foreground { padding-bottom:2.3rem; }
.sky-compare {
  min-inline-size:0; margin:2rem var(--inset); padding:1rem clamp(.9rem,3vw,2.7rem) 1.5rem; border:1px solid var(--rule);
  background:repeating-linear-gradient(135deg,#79aeab40 0 14px,transparent 14px 28px,#dd907450 28px 42px,transparent 42px 56px) bottom/100% 6px no-repeat;
}
.sky-compare legend { font-weight:750; font-size:clamp(1.15rem, 2.35vw, 2rem); padding-inline:.45rem; }
.sky-compare input { position:absolute; opacity:0; width:1px; height:1px; }
.sky-compare label {
  display:inline-flex; min-height:44px; align-items:center; justify-content:center; margin:.5rem .35rem .5rem 0;
  padding:.5rem .8rem; font-size:.85rem; border:1px solid var(--rule); cursor:pointer;
}
.sky-compare input:checked + label { background:var(--accent); color:var(--paper); }
.sky-compare input:focus-visible + label { outline:2px solid var(--accent); outline-offset:3px; }
.sky-compare > div { margin-top:1rem; background:#a3d5cf; padding:1rem; border:1px solid var(--rule); }
.sky-compare:has(#sky-theme-1:checked) > div { background:#e5b499; }
.sky-compare figure { display:none; margin:0 auto; width:min(100%, 240px); }
#sky-theme-0:checked ~ div .sky-theme-0, #sky-theme-1:checked ~ div .sky-theme-1 { display:block; }
.sky-compare img { width:100%; display:block; height:auto; border:1px solid var(--rule); border-radius:9px; }
.sky-compare figcaption { font-size:.8rem; padding-top:.55rem; color:#173036; }
.waitown .product-hero { background:radial-gradient(ellipse at 75% 80%,#55445f,transparent 68%); }
.waitown .scene-art { border:2px solid #c79667; box-shadow:7px 7px 0 #13182b; }
.waitown .scene-backdrop img { image-rendering:pixelated; object-position:60% center; }
.waitown .scene-backdrop { opacity:.82; }
.waitown .scene-foreground { justify-content:flex-end; padding-inline:8%; }
.waitown .product-chapters { border-top:2px dashed #ffd49880; }
.waitown .product-gallery figure { flex:0 1 190px; }
.waitown .product-action, .swearquest .product-action { box-shadow:3px 3px 0 #050b17; }

.neon-blade .product-hero { min-height:clamp(33rem, 50vw, 46rem); grid-template-columns:minmax(0,1fr); align-items:end; }
.neon-blade .product-intro { padding-top:clamp(4.7rem, 13vw, 13rem); }
.neon-blade .scene-art { position:absolute; inset:0; }
.neon-blade .scene-art::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,var(--paper) 1%,color-mix(in srgb,var(--paper) 91%,transparent) 20%,transparent 76%),linear-gradient(0deg,var(--paper),transparent 67%);
}
.neon-blade .product-hero { min-height:clamp(35rem, 51vw, 47rem); align-items:end; }
.neon-blade .scene-art::after { background:linear-gradient(90deg,#171617e8, #17161793 26%,transparent 75%),linear-gradient(0deg,#171617 2%,transparent 65%); }
.neon-blade .scene-backdrop img { object-position:63% center; }
.neon-blade .product-identity { width:max-content; max-width:100%; border-block:1px solid #d89b8d96; padding:.6rem 0; }
.neon-blade .product-name { letter-spacing:.16em; font-size:1rem; }
.neon-blade .product-intro h1 { max-width:12ch; font-size:clamp(2.7rem, 6.5vw, 6.7rem); }
.neon-blade .product-gallery img { max-height:none; width:min(100%, 920px); }
.product-controls dl { display:flex; flex-wrap:wrap; gap:1rem 1.8rem; margin:1.7rem 0 0; }
.product-controls dl div { min-width:6.5rem; }
.product-controls dd { margin:.7rem 0 0; color:var(--quiet); }
.product-controls kbd { border:1px solid var(--rule); border-bottom:3px solid #795049; padding:.32rem .52rem; color:var(--accent); font:700 .9rem var(--mono); }

.floating-vinyl .product-hero { background:radial-gradient(ellipse at 75% 44%, #713f3a60, transparent 65%); }
.floating-vinyl .product-intro h1 { font-weight:500; }
.vinyl-art { min-height:clamp(18rem, 36vw, 35rem); display:grid; place-items:center; overflow:hidden; }
.vinyl-record, .vinyl-record span { display:block; border-radius:50%; }
.vinyl-record {
  position:relative; width:min(86%, 430px); aspect-ratio:1; transform:rotate(-19deg);
  background:radial-gradient(circle,#111018 0 2%,#9f5d4b 2.5% 25%,#181219 25.5% 29%,transparent 30%),
    conic-gradient(from 38deg,#61505a38,transparent 23%,#cdb1ae45 46%,transparent 59%,#b2807e42 84%,#61505a38),
    repeating-radial-gradient(circle,#130f15 0 2px,#33303a 3px,#141217 4px 5px);
  border:1px solid #8b656a9f; box-shadow:0 26px 54px #10090ec7, 0 0 55px #faad673a;
}
.vinyl-record span { position:absolute; inset:33%; border:1px solid #efc49c75; }
.floating-vinyl .product-gallery img { max-height:none; width:min(100%, 840px); }

.product-collection { margin:clamp(2.6rem,7vw,6rem) auto 5rem; }
.collection-header {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.7fr); align-items:end; gap:1rem 3rem;
  padding-bottom:clamp(1.3rem, 3.5vw, 3rem); border-bottom:1px solid #222c3f54;
}
.collection-header h1 { margin:0; font-size:clamp(3.3rem,9.8vw,9rem); letter-spacing:-.077em; line-height:.98; }
.collection-header > p { margin:0 0 .15rem; max-width:35ch; font-size:clamp(1rem,1.8vw,1.3rem); line-height:1.65; color:#424b5c; }
.collection-section { margin-top:clamp(2.1rem, 5vw, 4.5rem); }
.collection-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.7rem 2rem; margin-bottom:1rem; }
.collection-heading h2, .collection-preview h2 { margin:0; font-size:clamp(1.45rem,3vw,2.6rem); letter-spacing:-.035em; }
.collection-heading .filters { margin:0; }
.collection-preview > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 2rem; margin-top:1.2rem; }
.collection-preview article { border-top:1px solid #222c3f54; padding-top:1rem; }
.collection-preview h3, .collection-preview p { margin:0 0 .5rem; }
.collection-preview p { color:#424b5c; line-height:1.65; }
.collection-game { display:grid; color:var(--ink); position:relative; isolation:isolate; overflow:hidden; margin-top:1.35rem; min-height:clamp(20rem,46vw,43rem); background:var(--paper); }
.collection-game img { position:absolute; z-index:-2; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:62% center; transition:transform .3s; }
.collection-game:hover img { transform:scale(1.025); }
.collection-game::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,#171617 5%,#1716176b 59%,transparent 80%); }
.collection-game > div { align-self:end; padding:clamp(1.4rem,5vw,4.5rem); }
.collection-game h2 { margin:0; color:var(--ink); font:800 clamp(2.4rem,7.6vw,8rem)/.95 var(--serif); letter-spacing:-.065em; }
.collection-game p { margin:.8rem 0; color:var(--quiet); }
.collection-game span { display:inline-block; margin-top:.5rem; color:var(--accent); text-decoration:underline; text-underline-offset:.3em; }

@media (max-width: 820px) {
  .product-hero, .time-ledger .product-hero, .rhythm .product-hero, .cellpilot .product-hero,
  .pagetide .product-hero, .quittrace .product-hero { grid-template-columns:minmax(0,1fr); gap:1.7rem; }
  .rhythm .product-intro, .rhythm .print-art { grid-column:auto; grid-row:auto; }
  .product-intro h1 { max-width:18ch; font-size:clamp(2.1rem, 6.6vw, 4.4rem); }
  .product-intro, .product-lead { max-width:none; }
  .product-art { width:min(100%, 530px); margin-inline:auto; }
  .scene-art { width:100%; }
  .product-fig-note { grid-column:auto; }
  .neon-blade .product-hero { min-height:30rem; }
  .neon-blade .scene-art::after {
    background:linear-gradient(0deg,var(--paper) 4%,color-mix(in srgb,var(--paper) 87%,transparent) 43%,transparent 92%);
  }
  .neon-blade .product-intro { padding-top:clamp(6rem,23vw,13rem); }
}

@media (max-width: 530px) {
  .collection-header { grid-template-columns:1fr; }
  .collection-heading .filters { gap:.35rem; }
  .collection-preview > div, .product-chapters, .product-equation, .rhythm .product-chapters article { grid-template-columns:1fr; }
  .product-equation details { grid-column:auto; }
  .product-intro h1 { max-width:none; }
  .product-chapters article + article { border-top:1px solid var(--rule); padding-top:1rem; }
  .rhythm .product-chapters article { gap:0; }
  .quittrace .product-chapters article + article { padding-left:0; border-left:0; }
  .product-gallery figure, .stillroom .product-gallery figure,
  .waitown .product-gallery figure, .swearquest .product-gallery figure { flex:1 1 38%; }
  .cellpilot .product-fig-note { text-align:left; }
  .product-end a:last-child { margin-inline-start:0; }
  .neon-blade .scene-art { position:relative; grid-row:1; aspect-ratio:16/10; }
  .neon-blade .product-intro { padding-top:0; }
  .neon-blade .product-hero { padding-top:0; gap:1.2rem; }
  .neon-blade .scene-art::after { background:linear-gradient(0deg,#0003,transparent 65%); }
  .neon-blade .product-identity { margin-bottom:1.2rem; }
}

body:has(.product-feature, .product-collection, .app-showroom) .flow-launch {
  position:relative; inset:auto; width:fit-content; margin:0 auto 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .product-action, .collection-game img { transition:none; }
  .product-action:hover, .collection-game:hover img { transform:none; }
}

/* The collection keeps the site's paper, flow field and staggered product tiles. */
.showroom-hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
  align-items:center; min-height:clamp(31rem,47vw,43rem); gap:2rem; padding:2rem 0 2.4rem;
}
.showroom-hero::after { content:none; }
.showroom-copy { position:relative; z-index:1; }
.showroom-copy h1 { font-size:clamp(3.75rem,7.6vw,7.6rem); line-height:1.08; margin:0; }
.showroom-copy .lead { max-width:34rem; margin:1.35rem 0 1.65rem; }
.showroom-display {
  position:relative; isolation:isolate; height:clamp(23rem,39vw,37rem); display:grid; place-items:center;
  perspective:1000px;
}
.showroom-display::before {
  content:""; position:absolute; z-index:-1; width:88%; height:75%; border-radius:50%;
  background:radial-gradient(ellipse,#e7d8c5 0%,#b4c6ee57 46%,transparent 72%); filter:blur(14px);
}
.display-device {
  --pose: translateX(0) translateY(0) rotate(0);
  position:absolute; width:clamp(6.25rem,32%,13rem); display:block; aspect-ratio:600/1304;
  transform:var(--pose); border:5px solid #282c35; border-radius:12% / 6%; overflow:hidden;
  box-shadow:0 20px 36px #26325150; transition:transform .42s cubic-bezier(.2,.7,.3,1),box-shadow .42s;
  background:#f6f4ee;
}
.display-device img { display:block; width:100%; height:100%; object-fit:cover; }
.display-device.stillroom { z-index:2; }
.display-device.equation-visualizer { --pose:translateX(-82%) translateY(8%) rotate(-15deg); }
.display-device.time-ledger { --pose:translateX(82%) translateY(9%) rotate(15deg); }
.display-device:is(:hover,:focus-visible) { transform:var(--pose) translateY(-14px) scale(1.035); z-index:3; box-shadow:0 26px 50px #24356360; }
.showroom-releases { scroll-margin-top:6rem; }
.showroom-releases .section-head { margin-bottom:clamp(1rem,3vw,2rem); }
.showroom-releases .section-head p { margin:.6rem 0 0; }
.showroom-releases .product-tile[hidden] { display:none; }
.showroom-releases .product-tile { background:#fffdf6; }
.showroom-releases .tile-stage { height:clamp(15rem,27vw,23rem); align-items:flex-start; }
.showroom-releases .tile-stage img { width:clamp(8rem,37%,13rem); }
.showroom-releases .product-tile:focus-visible img { transform:translateY(-12px) rotate(-3deg); }
/* On a feature route the surrounding site takes on the project's materials too. */
body:has(.product-feature) { background:var(--paper); color:var(--ink); }
body:has(.product-feature)::before { display:none; }
body:has(.product-feature):not(.flow-playing) #flowCanvas { visibility:hidden; }
body:has(.product-feature) #main.page { width:100%; }
body:has(.product-feature) .site-header {
  --muted:var(--quiet); --lime:var(--accent);
  background:color-mix(in srgb,var(--paper) 88%,transparent); border-bottom:1px solid var(--rule);
  box-shadow:none; backdrop-filter:blur(14px);
}
body:has(.product-feature) :is(.brand,.nav a,.menu-toggle,.music-toggle,.language-switch,.language-switch a,.site-footer,.site-footer a) { color:var(--ink); }
body:has(.product-feature) :is(.nav a:hover,.nav a[aria-current],.brand i) { color:var(--accent); }
body:has(.product-feature) .nav a[aria-current]::after { background:var(--accent); }
body:has(.product-feature) :is(.menu-toggle,.music-toggle,.language-switch,.curiosity-toggle,.analytics-settings) {
  border-color:var(--rule); background:color-mix(in srgb,var(--ink) 6%,transparent);
}
body:has(.product-feature) .language-switch a[aria-current] { color:var(--paper); background:var(--accent); }
body:has(.product-feature) .site-footer { background:var(--paper); border-color:var(--rule); }
body:has(.product-feature) :is(.site-footer button,.site-footer span) { color:var(--quiet); }
body:has(.product-feature) :is(.site-header,.site-footer) :focus-visible { outline-color:var(--accent); }
.product-feature { --inset:max(5.5vw, calc((100vw - 1440px)/2 + 5.5rem)); margin:0; }
.product-feature > .product-hero > .product-back {
  position:absolute; z-index:2; inset-block-start:1.5rem; inset-inline-start:var(--inset);
  min-height:42px; display:inline-flex; align-items:center; text-underline-offset:.38em;
}
.product-hero {
  min-height:clamp(37rem,55vw,59rem); padding-block:5.4rem clamp(3.2rem,6vw,7rem);
  border-bottom:1px solid var(--rule);
}
.product-feature h2 { line-height:1.22; }
.product-chapters, .product-gallery, .product-equation, .product-controls, .product-diff {
  padding-block:clamp(2.8rem,7vw,7rem);
}
.product-hero + .product-chapters, .product-hero + .product-gallery, .product-hero + .product-equation,
.product-hero + .product-controls { border-top:0; }
.product-end { padding-block:2.1rem; }
.product-art img { box-shadow:0 24px 50px #100b123d; }

:is(.stillroom, .pro-camera) .product-hero {
  background-position:center; background-size:cover; isolation:isolate;
}
.stillroom .product-hero {
  --hero-ink:#fff1d9; --hero-muted:#f0d9b8;
  background-image:
    linear-gradient(90deg,#1d140eea 5%,#231810c2 35%,#24180d21 80%),
    linear-gradient(0deg,#23160ede,transparent 52%),url("assets/photos/photo-02.jpg");
}
.stillroom .product-hero :is(.product-back,.product-intro) { color:var(--hero-ink); }
.stillroom .product-hero :is(.product-lead,.product-platform) { color:var(--hero-muted); }
.stillroom .product-hero .product-action { color:#301b13; background:#ffcc92; border-color:#ffcc92; }
.stillroom .product-hero .print-art {
  transform:rotate(-5deg); background:#20170f; box-shadow:1.2rem 1.6rem 4.2rem #130a06aa;
}
.stillroom .product-chapters h2 { font-family:var(--serif); }

.pro-camera .product-hero {
  background-image:
    linear-gradient(90deg,#0d1015 4%,#0d1015de 30%,#151d2f30 79%),
    linear-gradient(0deg,#191b1a 0%,transparent 34%,#0d1015a6 100%),url("assets/photos/photo-03.jpg");
}
.pro-camera .instrument-art {
  background-color:#191d22ab;
  background-image:linear-gradient(90deg,#ffffff28 1px,transparent 1px),linear-gradient(#ffffff28 1px,transparent 1px);
  border-color:#e6e6dc75; backdrop-filter:blur(2px);
}
.pro-camera .instrument-art img { width:min(51%,14rem); }
.pro-camera .instrument-art::before {
  inset:1.05rem; clip-path:none; border:0;
  background:
    linear-gradient(var(--accent),var(--accent)) left top/3rem 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) left top/2px 3rem no-repeat,
    linear-gradient(var(--accent),var(--accent)) right top/3rem 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) right top/2px 3rem no-repeat,
    linear-gradient(var(--accent),var(--accent)) left bottom/3rem 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) left bottom/2px 3rem no-repeat,
    linear-gradient(var(--accent),var(--accent)) right bottom/3rem 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) right bottom/2px 3rem no-repeat;
}
.focal-study { min-width:0; margin:0 var(--inset) 2.2rem; padding:1rem clamp(.85rem,3vw,2.5rem); border:1px solid var(--rule); }
.focal-study legend { font-size:clamp(1.2rem,2.3vw,2.05rem); font-weight:750; padding:0 .45rem; }
.focal-study input, .vinyl-art input { position:absolute; clip-path:inset(50%); width:1px; height:1px; }
.focal-study label, .vinyl-art label {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin:.15rem .4rem .8rem 0;
  padding:.55rem .85rem; color:var(--accent); border:1px solid var(--rule); font:700 .85rem var(--mono); cursor:pointer;
}
.focal-study input:checked + label, .vinyl-art input:checked + label { color:var(--paper); background:var(--accent); }
.focal-study input:focus-visible + label, .vinyl-art input:focus-visible + label { outline:2px solid var(--accent); outline-offset:4px; }
.focal-frame { aspect-ratio:2.35/1; overflow:hidden; background:var(--stage); }
.focal-frame img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 65%; transform-origin:53% 69%; transition:transform .45s cubic-bezier(.2,.75,.3,1); }
#focal-50:checked ~ .focal-frame img { transform:scale(2.0833); }
#focal-85:checked ~ .focal-frame img { transform:scale(3.5417); }
.focal-study p { color:var(--quiet); font-size:.85rem; margin:.7rem 0 .2rem; }

.pulsetogether .product-hero {
  background:radial-gradient(ellipse at 82% 32%,#641e536f,transparent 54%),
    radial-gradient(ellipse at 73% 74%,#60458c9c,transparent 48%),#21172f;
}
.pulsetogether .paired-art { min-height:clamp(22rem,38vw,36rem); }
.pulsetogether .pulse-line { stroke-dasharray:18 5; }
.pulsetogether .product-chapters { grid-template-columns:repeat(3,minmax(0,1fr)); }
.pulsetogether .product-chapters article + article { border-inline-start:1px solid var(--rule); padding-inline-start:1.35rem; }

.time-ledger .product-hero {
  background:linear-gradient(104deg,transparent 0 61%,#f0c75f 61%),
    repeating-linear-gradient(0deg,transparent 0 34px,#27495819 34px 35px);
  align-items:center;
}
.time-ledger .print-art { transform:rotate(-3deg); background:#f8e2a2; }
.time-ledger .product-chapters { background-size:auto; }
.equation-visualizer .product-hero {
  background:
    linear-gradient(90deg,transparent calc(var(--inset) - 1.4rem),#a4548b30 calc(var(--inset) - 1.4rem) calc(var(--inset) - 1.35rem),transparent calc(var(--inset) - 1.35rem)),
    linear-gradient(90deg,#596cc51d 1px,transparent 1px) 0 0/34px 34px,
    linear-gradient(#596cc51d 1px,transparent 1px) 0 0/34px 34px;
}

.rhythm .product-hero { background:radial-gradient(ellipse at 20% 80%,#a6d4dc,transparent 55%),linear-gradient(153deg,#f6f8f5,#e6eff2); }
.rhythm .print-art { box-shadow:0 0 0 1px #80adb76a,0 20px 40px #5f87932b; }
.rhythm .product-intro h1 { max-width:12ch; }

.cellpilot .product-hero { background:radial-gradient(ellipse at 62% 52%,#37684d8f,transparent 66%),linear-gradient(0deg,#10231a,#101e17); }
.cellpilot .instrument-art { box-shadow:0 0 0 .6rem #b3f4a413,0 0 0 .65rem #96c79548,0 30px 80px #071510a0; }
.silicon-field .product-hero {
  background-image:radial-gradient(ellipse at 50% 57%,#4f8e9047,transparent 65%),linear-gradient(90deg,#89e9e51e 1px,transparent 1px),linear-gradient(#89e9e51e 1px,transparent 1px);
}
.silicon-field .product-hero .product-back { position:relative; justify-self:start; inset:auto; }
.silicon-field .product-hero { padding-block-start:1.35rem; }
.silicon-field .instrument-art { width:min(100%,63rem); }
.pagetide .product-hero {
  background:linear-gradient(145deg,#faf9ee 0 52%,#d8eadd 52%);
}
.pagetide .product-diff { background:#f6faf5; padding-inline:clamp(.95rem,3vw,3rem); border:1px solid var(--rule); }
.quittrace .product-hero {
  background:repeating-linear-gradient(135deg,#ffffff07 0 2px,transparent 2px 9px) right bottom/39% 100% no-repeat,linear-gradient(110deg,#1e2023 38%,#3d4041);
}
.quittrace .instrument-art { box-shadow:9px 9px 0 #1b1f21,11px 11px 0 #75736a; }

.skydelta .product-hero {
  background:linear-gradient(90deg,#eaf3ec 9%,#eaf3ecc7 39%,transparent 82%),
    linear-gradient(0deg,#eaf3ec,transparent 73%),url("assets/apps/skydelta-town.webp") center 63%/cover;
}
.skydelta .scene-art { transform:rotate(-2deg); }
.skydelta .scene-foreground img:last-child { transform:rotate(4deg); }
.waitown .product-hero {
  background:linear-gradient(90deg,#20243b 8%,#20243bcc 42%,#24263920),
    linear-gradient(0deg,#20243b,transparent 62%),url("assets/apps/waitown-town.webp") center 55%/cover;
}
.waitown .scene-art { border:6px double #dfb47e; }
.neon-blade .product-hero { min-height:clamp(39rem,56vw,58rem); }
.neon-blade .scene-art::after { background:linear-gradient(90deg,#190e13ed,#190e1383 47%,transparent 77%),linear-gradient(0deg,#171617 2%,transparent 77%); }
.neon-blade .product-gallery { margin:0; padding-inline:var(--inset); border:0; background:#261c21; }

.floating-vinyl .product-hero { background:radial-gradient(ellipse at 77% 40%,#87433f9e,transparent 45%),linear-gradient(140deg,#1d1720,#332234); }
.floating-vinyl .vinyl-record {
  transform:none; width:min(82%,33rem); box-shadow:0 3rem 6rem #10090ec7,0 0 5rem #a85b4545;
}
.vinyl-art { overflow:visible; }
.vinyl-art label { position:absolute; z-index:2; bottom:-1.45rem; background:#2c1c29; border-color:#d38a68aa; }
.vinyl-record::after { content:""; position:absolute; inset:6%; border-radius:50%; border:1px solid #ecaa9352; border-top-color:#f7ad94b9; border-right-color:transparent; }
#spin-vinyl:checked ~ .vinyl-record { animation:vinyl-spin 2.8s linear infinite; }
@keyframes vinyl-spin { to { transform:rotate(1turn); } }

html.project-transition::view-transition-old(root) {
  animation:project-out .3s ease-in both;
}
html.project-transition::view-transition-new(root) {
  animation:project-in .55s cubic-bezier(.19,.72,.29,1) both;
}
@keyframes project-out { to { opacity:0; transform:scale(.99); } }
@keyframes project-in { from { opacity:0; transform:translateY(15px) scale(1.012); } to { opacity:1; transform:none; } }

@media (max-width: 820px) {
  .showroom-hero { grid-template-columns:1fr; gap:.2rem; padding-block:2rem .45rem; }
  .showroom-copy h1 { font-size:clamp(3.2rem,9.5vw,5rem); }
  .showroom-display { height:clamp(14.5rem,55vw,25rem); }
  .display-device { width:clamp(5.55rem,23%,10rem); border-width:3px; }
  .showroom-releases .tile-stage { height:clamp(13rem,49vw,19rem); }
  .product-feature { --inset:5.7vw; }
  .product-hero { min-height:auto; padding-block:4.85rem 3.5rem; }
  .product-feature > .product-hero > .product-back { inset-block-start:.7rem; }
  .stillroom .product-hero { background-position:66% 50%; }
  .stillroom .product-hero .print-art, .time-ledger .print-art { transform:none; }
  .time-ledger .product-hero { background:repeating-linear-gradient(0deg,transparent 0 34px,#27495819 34px 35px); }
  .skydelta .scene-art { transform:none; }
  .neon-blade .scene-art::after { background:linear-gradient(0deg,var(--paper),transparent 64%); }
  .vinyl-art label { bottom:-1.05rem; }
}
@media (max-width: 530px) {
  .showroom-releases .tile-stage img { width:clamp(7.5rem,41%,10rem); }
  .product-feature { --inset:6vw; }
  .pulsetogether .product-chapters { grid-template-columns:1fr; }
  .pulsetogether .product-chapters article + article { border-inline-start:0; padding-inline-start:0; }
  .neon-blade .product-hero { min-height:auto; padding-top:3.55rem; }
  .neon-blade .scene-art { margin-inline:calc(-1 * var(--inset)); width:100vw; aspect-ratio:16/9; }
  .neon-blade .product-hero .product-intro { margin-top:-1.9rem; }
  .neon-blade .product-identity { border-top:0; }
  .focal-frame { aspect-ratio:1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .display-device, .focal-frame img { transition:none; }
  .showroom-releases .product-tile, .showroom-releases .tile-stage img { transition:none; }
  #spin-vinyl:checked ~ .vinyl-record { animation:none; transform:rotate(60deg); }
  html.project-transition::view-transition-old(root), html.project-transition::view-transition-new(root) { animation:none; }
}

/* Position the interface next to the step it illustrates. */
:is(.stillroom,.time-ledger,.waitown) .product-chapters article { display:flex; flex-direction:column; gap:1.4rem; }
:is(.stillroom,.time-ledger,.waitown) .product-chapters figure { margin:auto 0 0; min-width:0; }
:is(.stillroom,.time-ledger,.waitown) .product-chapters figure a { display:block; width:fit-content; max-width:100%; }
:is(.stillroom,.time-ledger,.waitown) .product-chapters figure img {
  display:block; width:auto; max-width:100%; max-height:26rem; height:auto; border-radius:5px;
  box-shadow:0 8px 24px #241a1935;
}
:is(.stillroom,.time-ledger,.waitown) .product-chapters figcaption { color:var(--quiet); font-size:.79rem; margin-top:.7rem; }
.stillroom .product-chapters {
  margin:0; padding-inline:var(--inset); background:#2c2118; color:#f8e9cf; --quiet:#e4cdb0; --rule:#f4dfba44;
}
.stillroom .product-chapters figure img { border:6px solid #e7d2b3; }
.stillroom .product-chapters article:nth-child(2) figure { transform:rotate(2deg); }
.time-ledger .product-chapters { grid-template-columns:repeat(3,minmax(0,1fr)); }
.time-ledger .product-chapters article { padding-inline:.8rem; }
.time-ledger .product-chapters article + article { border-left:1px solid #8f86715c; }
.waitown .product-chapters { grid-template-columns:minmax(0,1fr); gap:0; }
.waitown .product-chapters article {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.88fr); align-items:center;
  gap:clamp(1rem,7vw,7rem); padding:clamp(1.25rem,4vw,4.5rem); border:1px dashed #f2c78e8c;
}
.waitown .product-chapters article + article { border-top:0; }
.waitown .product-chapters article:nth-child(2) { grid-template-columns:minmax(0,.88fr) minmax(0,1fr); }
.waitown .product-chapters article:nth-child(2) > div { grid-column:2; grid-row:1; }
.waitown .product-chapters article:nth-child(2) figure { grid-column:1; grid-row:1; }
.waitown .product-chapters figure { margin:0; justify-self:center; }
@media (min-width:821px) {
  .showroom-releases { margin-top:0; padding-top:4rem; }
}
@media (max-width:600px) {
  .time-ledger .product-chapters { grid-template-columns:1fr; }
  .time-ledger .product-chapters article + article { border-left:0; }
  .stillroom .product-chapters article:nth-child(2) figure { transform:none; }
  .waitown .product-chapters article, .waitown .product-chapters article:nth-child(2) { grid-template-columns:1fr; }
  .waitown .product-chapters article:nth-child(2) > div, .waitown .product-chapters article:nth-child(2) figure { grid-area:auto; }
  :is(.stillroom,.time-ledger,.waitown) .product-chapters figure img { max-height:22rem; }
}

.equation-desk { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr); align-items:center; gap:1.4rem; isolation:isolate; }
.equation-desk::after {
  content:""; position:absolute; z-index:-1; inset:6% 10% 3% 1%; transform:rotate(-4deg);
  border:1px solid #566cb55f; background:#dce3fc; box-shadow:7px 7px 0 #a1ade26e;
}
.equation-desk .product-equation {
  position:relative; display:block; align-self:center; margin:0; padding:clamp(.85rem,2.1vw,2rem);
  border:1px solid #8d9bc8; background:#f9faff; box-shadow:5px 7px 0 #7f8cba4a;
}
.equation-desk h2 { font-size:clamp(1.15rem,2.1vw,1.75rem); }
.equation-desk .product-formula { font-size:clamp(1.45rem,3.65vw,3.75rem); color:#253580; white-space:nowrap; }
.equation-desk details .product-formula { font-size:clamp(.9rem,1.45vw,1.4rem); white-space:normal; }
.equation-desk details { margin-top:.6rem; }
.equation-desk figure { margin:0; padding:.25rem; border-radius:.7rem; background:#47557a; transform:rotate(4deg); }
.equation-desk img { border-radius:.5rem; }
@media (max-width:530px) {
  .equation-desk { grid-template-columns:minmax(0,1.45fr) minmax(0,.65fr); gap:.6rem; }
  .equation-desk summary { font-size:.83rem; }
}


/* Editorial product guides and workbench cards. */
.product-jumps {
  display:flex; align-items:center; flex-wrap:wrap; gap:.25rem clamp(.7rem,4vw,2.8rem);
  padding:.7rem var(--inset); border-bottom:1px solid var(--rule);
}
.product-jumps a {
  min-height:42px; display:inline-flex; align-items:center; color:var(--quiet); font-size:.84rem; font-weight:700;
}
.product-jumps a:is(:hover,:focus-visible) { color:var(--accent); text-decoration:underline; text-underline-offset:.32em; }
.product-guide {
  display:grid; grid-template-columns:minmax(0,.66fr) minmax(0,1.34fr); gap:clamp(1.4rem,5vw,5rem);
  padding:clamp(2.7rem,7vw,6.2rem) var(--inset);
  background:color-mix(in srgb,var(--ink) 5%,var(--paper)); border-block:1px solid var(--rule); scroll-margin-top:5rem;
}
.product-guide header p { color:var(--accent); font:700 .76rem var(--mono); letter-spacing:.1em; margin:0 0 .9rem; }
.product-guide h2 { font:650 clamp(1.65rem,3.75vw,3.6rem)/1.12 var(--serif); max-width:12ch; }
.product-guide article { padding:1.2rem 0; border-top:1px solid var(--rule); }
.product-guide article:first-child { padding-top:.6rem; }
.product-guide article h3 { color:inherit; font-size:clamp(1.1rem,1.9vw,1.55rem); line-height:1.24; margin:0 0 .6rem; }
.product-guide article p { color:var(--quiet); max-width:67ch; font-size:1.02rem; line-height:1.78; margin:0; }
:is(.stillroom,.floating-vinyl) .product-guide { background:color-mix(in srgb,var(--stage) 15%,var(--paper)); }
:is(.pro-camera,.silicon-field,.cellpilot) .product-guide {
  background:repeating-linear-gradient(0deg,transparent 0 35px,var(--rule) 35px 36px) 0 0 / 100% 36px;
}
:is(.skydelta,.waitown) .product-guide { border-block-style:dashed; }
.product-gallery { scroll-margin-top:5rem; }

.showroom-workbench .product-tile { background:#fffdf6; }
.workbench-art {
  position:relative; isolation:isolate; height:clamp(15.5rem,27vw,23rem); overflow:hidden; display:grid;
  place-items:center; background:radial-gradient(ellipse at 75% 20%,#fff2,transparent 65%),var(--stage);
  border-bottom:1px solid #2936533a;
}
.workbench-art img { display:block; grid-area:1/1; transition:transform .58s cubic-bezier(.17,.69,.22,1); }
.workbench-art.wide img:first-child {
  width:85%; max-height:87%; object-fit:contain; border-radius:.5rem; transform:translateY(.55rem) rotate(-4deg);
  box-shadow:0 15px 32px #070d1a80;
}
.workbench-art.wide img:nth-child(2) {
  width:32%; max-height:none; justify-self:end; align-self:center; margin-right:4%; filter:drop-shadow(0 7px 12px #090512aa);
}
.workbench-art.vinyl-tile-art {
  background:radial-gradient(ellipse at 38% 38%,#82505b 0%,transparent 60%), linear-gradient(145deg,#56313d,#2e202a);
}
.vinyl-tile-art img:first-child {
  width:min(67%,16.5rem); justify-self:start; margin-inline-start:8%;
  transform:translateY(-6%) rotate(-13deg); filter:drop-shadow(0 18px 18px #1d111c90);
}
.vinyl-tile-art img:last-child {
  width:min(64%,17rem); align-self:end; justify-self:end; margin:0 7% 9% 0;
  transform:rotate(4deg); filter:drop-shadow(0 14px 16px #1d111cac);
}
.workbench-tile:is(:hover,:focus-visible) .vinyl-tile-art img:first-child { transform:translateY(-9%) rotate(8deg); }
.workbench-tile:is(:hover,:focus-visible) .vinyl-tile-art img:last-child { transform:translateY(-5%) rotate(0); }
.workbench-art.mobile img {
  width:min(42%,10.6rem); aspect-ratio:600/1300; object-fit:cover; border:3px solid #1e2233; border-radius:12% / 6%;
  transform:translate(-29%,17%) rotate(-7deg); box-shadow:0 11px 22px #0c16267a;
}
.workbench-art.mobile img:last-child { transform:translate(45%,28%) rotate(8deg); }
.workbench-art.has-scene img:first-child {
  position:absolute; inset:0; z-index:-1; width:100%; height:100%; aspect-ratio:auto; object-fit:cover;
  border:0; border-radius:0; transform:none; image-rendering:pixelated; opacity:.9;
}
.workbench-art.has-scene img:nth-child(2) { transform:translate(-37%,14%) rotate(-7deg); }
.workbench-tile:hover .workbench-art.wide img:first-child,
.workbench-tile:focus-visible .workbench-art.wide img:first-child { transform:translateY(-.3rem) rotate(0) scale(1.04); }
.workbench-tile:is(:hover,:focus-visible) .workbench-art.mobile img:nth-last-child(2) { transform:translate(-34%,7%) rotate(-9deg); }
.workbench-tile:is(:hover,:focus-visible) .workbench-art.mobile img:last-child { transform:translate(48%,18%) rotate(9deg); }
.workbench-tile:is(:hover,:focus-visible) .workbench-art.has-scene img:first-child { transform:scale(1.04); }
.workbench-tile .workbench-info > img { width:3.2rem; aspect-ratio:1; object-fit:cover; border-radius:23%; }
.workbench-tile .workbench-info p:first-of-type { color:#344052; }

.swearquest .product-hero {
  background:
    linear-gradient(0deg,#18344024 1px,transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg,#18344024 1px,transparent 1px) 0 0/24px 24px,
    linear-gradient(108deg,#fff0c8 58%,#ffcf66 58%);
}
.swearquest .product-intro h1 { color:#18343f; max-width:11ch; font-weight:900; }
.swearquest .product-action { background:#213c46; color:#fff0c8; border-color:#213c46; box-shadow:4px 4px 0 #df794d; }
.quest-art { display:grid; isolation:isolate; align-content:center; padding:clamp(.6rem,2.1vw,1.6rem); }
.quest-map {
  position:absolute; inset:7% 0 14%; z-index:-1; overflow:hidden; border:3px solid #172c36; box-shadow:8px 8px 0 #172c36;
  background:#1f3447;
}
.quest-map img { width:100%; height:100%; object-fit:cover; image-rendering:pixelated; opacity:.85; }
.quest-screens { display:flex; align-items:center; justify-content:center; gap:5%; padding:1rem 0; }
.quest-screens img {
  width:min(38%,13.5rem); height:auto; border:4px solid #172c36; border-radius:4px;
  transform:translateY(-.4rem) rotate(-3deg); box-shadow:6px 6px 0 #101e28b8;
}
.quest-screens img:last-child { transform:translateY(1rem) rotate(4deg); }
.swearquest .product-gallery { background:#183440; color:#fff0c8; margin:0; padding-inline:var(--inset); }
.swearquest .product-gallery figcaption { color:#fff0c8; }
.swearquest .product-gallery img { border:4px solid #f6bc5e; border-radius:0; }
.swearquest .product-guide { border-block:2px solid #183440; background:#ffefc1; }

@media (max-width:720px) {
  .product-guide { grid-template-columns:1fr; }
  .product-guide h2 { max-width:none; }
  .swearquest .product-hero { background:
    linear-gradient(0deg,#18344020 1px,transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg,#18344020 1px,transparent 1px) 0 0/24px 24px,#fff0c8; }
}
@media (max-width:530px) {
  .workbench-art { height:clamp(14.5rem,70vw,20rem); }
  .swearquest .product-gallery figure { flex-basis:40%; }
}
@media (prefers-reduced-motion:reduce) {
  .workbench-art img { transition:none; }
}

.quest-link { margin-inline-start:1.15rem; display:inline-flex; align-items:center; min-height:44px; color:#173440; font-weight:750; text-decoration:underline; text-underline-offset:.28em; }
.quest-case { margin:0 var(--inset) clamp(2.8rem,6vw,5rem); padding:clamp(1.15rem,4vw,3.2rem); border:3px solid #173440; box-shadow:7px 7px 0 #173440; background:#fff9e7; scroll-margin-top:6rem; }
.quest-case blockquote { width:fit-content; max-width:100%; margin:1.25rem 0; padding:.65rem .9rem; color:#fff0c8; background:#213c46; font:700 clamp(1rem,2.2vw,1.45rem) var(--mono); }
.quest-case summary { cursor:pointer; width:fit-content; min-height:44px; padding:.65rem .6rem; background:#ffdb80; border:1px solid #173440; color:#172c36; }
.quest-case p { color:#314b55; line-height:1.65; }
.product-guide header h2 { margin-bottom:0; }
.showroom-workbench { scroll-margin-top:6.5rem; }

/* Native captures lead the product stories. Wider shots keep their full frame. */
.product-tour {
  --tour-surface:color-mix(in srgb,var(--accent) 11%,var(--paper));
  --tour-line:color-mix(in srgb,var(--accent) 34%,transparent);
  --tour-frame:color-mix(in srgb,var(--ink) 70%,var(--stage));
  --tour-radius:1.85rem;
  --tour-phone:15.6rem;
  padding:clamp(3.5rem,7.6vw,8rem) var(--inset);
  scroll-margin-top:5.2rem;
}
.tour-header { display:grid; gap:1.45rem; margin-bottom:clamp(2rem,5vw,4.8rem); max-width:65rem; }
.tour-header h2, .product-faq > h2 {
  margin:0; font:660 clamp(2.05rem,4.9vw,4.65rem)/1.08 var(--serif); letter-spacing:-.048em;
}
:lang(zh-Hant) .tour-header h2 { line-height:1.24; }
.tour-header nav { display:flex; flex-wrap:wrap; gap:.45rem .65rem; }
.tour-header a {
  display:inline-flex; align-items:center; min-height:2.78rem; padding:.4rem .8rem;
  border:1px solid var(--rule); color:var(--quiet); font-size:.83rem; line-height:1.3;
}
.tour-header a:is(:hover,:focus-visible) { color:var(--ink); background:var(--tour-surface); border-color:var(--accent); }
.tour-features { display:grid; gap:clamp(1.5rem,4vw,4rem); }
.tour-shot { min-width:0; margin:0; scroll-margin-top:5.45rem; }
.tour-features .tour-shot {
  display:grid; grid-template-columns:minmax(0,1.38fr) minmax(0,.62fr); align-items:center;
  gap:clamp(1.2rem,4.9vw,5rem);
}
.tour-features .tour-shot:nth-child(even) { grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr); }
.tour-features .tour-shot:nth-child(even) .tour-stage { grid-column:2; grid-row:1; }
.tour-features .tour-shot:nth-child(even) figcaption { grid-column:1; grid-row:1; }
.tour-stage {
  display:grid; place-items:center; min-width:0; isolation:isolate;
  background:radial-gradient(ellipse at 55% 43%,var(--tour-line),transparent 72%),var(--tour-surface);
  border:1px solid var(--rule); border-radius:var(--tour-radius);
  padding:clamp(1rem,4.1vw,4rem);
  position:relative;
}
.tour-stage a {
  display:block; border-radius:inherit; max-width:100%; width:fit-content;
  transition:transform .32s ease, filter .32s ease;
}
.tour-stage a:is(:hover,:focus-visible) { transform:translateY(-4px); filter:brightness(1.035); }
.tour-stage img {
  display:block; width:100%; height:auto; border:clamp(2px,.4vw,6px) solid var(--tour-frame);
  border-radius:.45rem; box-shadow:0 1rem 2.2rem #100d1e37,0 1px 3px #100d1e52;
}
.tour-shot.portrait .tour-stage a { width:min(100%,var(--tour-phone)); }
.tour-shot.portrait img { border-radius:12% / 5.5%; }
.tour-shot figcaption { padding-block:.25rem; }
.tour-shot h3 { margin:0; font-size:clamp(1.12rem,2.1vw,1.75rem); line-height:1.25; letter-spacing:-.025em; text-wrap:balance; }
.tour-features h3 { font-size:clamp(1.45rem,3.2vw,3rem); }
.tour-shot p { margin:.72rem 0 0; color:var(--quiet); font-size:clamp(.94rem,1.45vw,1.07rem); line-height:1.72; max-width:44ch; }
.tour-shot small { display:block; margin-top:.7rem; color:var(--quiet); font-size:.73rem; line-height:1.5; }
.tour-details {
  --tour-phone:12.1rem; display:grid; grid-template-columns:repeat(12,minmax(0,1fr));
  align-items:start; gap:clamp(1.15rem,2.9vw,2.9rem);
  border-top:1px solid var(--rule);
  margin-top:clamp(2.5rem,6vw,5rem); padding-top:clamp(1.8rem,4.5vw,4.2rem);
}
.tour-details .tour-shot { grid-column:span 3; }
.tour-details .tour-shot.wide { grid-column:span 6; }
.tour-details .tour-shot:only-child { grid-column:span 6; }
.tour-details :is(.tour-shot:first-child:nth-last-child(2),.tour-shot:first-child:nth-last-child(2) ~ .tour-shot) { grid-column:span 6; }
.tour-details :is(.tour-shot:first-child:nth-last-child(3),.tour-shot:first-child:nth-last-child(3) ~ .tour-shot) { grid-column:span 4; }
.tour-details .tour-stage { aspect-ratio:1 / 1.03; padding:clamp(.72rem,2vw,1.6rem); }
.tour-details .wide .tour-stage { aspect-ratio:1.44; }
.tour-details .tour-stage img { max-height:26.6rem; object-fit:contain; }
.tour-details figcaption { padding-top:1rem; }

.stillroom .product-tour { --tour-surface:#34241e; --tour-line:#ae745a; --tour-frame:#eee0c2; --tour-radius:.35rem; }
.stillroom .tour-stage {
  background:radial-gradient(ellipse at 48% 40%,#ba796084,transparent 67%),repeating-linear-gradient(0deg,#34241e 0 17px,#4c3326 17px 18px);
}
.pro-camera .product-tour { --tour-surface:#292f29; --tour-frame:#101410; --tour-radius:.16rem; }
.pro-camera .tour-stage::before, .silicon-field .tour-stage::before {
  content:''; inset:10px; position:absolute; z-index:-1; border:1px dashed var(--tour-line); pointer-events:none;
}
.pulsetogether .product-tour { --tour-radius:3rem; --tour-frame:#190f25; --tour-line:#cb739769; }
.pulsetogether .tour-stage { background:radial-gradient(ellipse at 46% 40%,#815275 5%,#492949 52%,#322036 88%); }
.time-ledger .product-tour { --tour-frame:#272d37; --tour-radius:.35rem; }
.time-ledger .tour-stage {
  background:repeating-linear-gradient(0deg,transparent 0 25px,#72541742 25px 26px),linear-gradient(158deg,#fff2cb,#ead48e);
}
.equation-visualizer .tour-stage {
  background:linear-gradient(90deg,#4869b32b 1px,transparent 1px) 0 0/22px 22px,
    linear-gradient(0deg,#4869b32b 1px,transparent 1px) 0 0/22px 22px,linear-gradient(125deg,#e5edff,#bccbf3);
}
.rhythm .product-tour { --tour-frame:#233143; --tour-radius:6.5rem 6.5rem .4rem .4rem; }
.rhythm .tour-stage { background:radial-gradient(ellipse at 51% 20%,#eff9f8,transparent 60%),linear-gradient(155deg,#b1dadd,#9dbace); }
.cellpilot .product-tour { --tour-line:#b2f28646; --tour-frame:#101c15; --tour-radius:.65rem; }
.cellpilot .tour-stage { background:radial-gradient(ellipse at 50% 50%,#4e7556,#234334 62%,#1b3025); }
.silicon-field .product-tour { --tour-frame:#132225; --tour-radius:.25rem; }
.silicon-field .tour-stage {
  background:linear-gradient(90deg,#75bbbd35 1px,transparent 1px) 0 0/26px 26px,
    linear-gradient(0deg,#75bbbd35 1px,transparent 1px) 0 0/26px 26px,#20383b;
}
.silicon-display { display:flex; flex-wrap:nowrap; justify-content:center; gap:clamp(.35rem,2.1vw,1.7rem); }
.silicon-display img { width:min(29.5%,14rem); border-radius:11% / 5%; align-self:center; }
.skydelta .product-tour { --tour-frame:#284249; --tour-radius:.32rem; }
.skydelta .tour-stage {
  background:linear-gradient(0deg,#7da893 0 12%,#a4ca9a 12% 23%,#d5e8bc 23% 29%,#a1d4dc 29% 100%);
}
.floating-vinyl .product-tour { --tour-frame:#1c1421; --tour-radius:.65rem; }
.floating-vinyl .tour-stage { background:repeating-radial-gradient(circle at 15% 115%,#e7ab872e 0 1px,transparent 1px 11px),#563445; }
.floating-vinyl #screen-record .tour-stage img { border:0; box-shadow:none; border-radius:0; }
.waitown .product-tour { --tour-frame:#171b2c; --tour-radius:.25rem; }
.waitown .tour-stage { background:repeating-linear-gradient(45deg,#4c3e59 0 13px,#53445e 13px 26px); border:2px dashed #f3c2847a; }
.swearquest .product-tour { --tour-frame:#172c36; --tour-radius:0; }
.swearquest .tour-stage {
  background:linear-gradient(90deg,#1c3b4929 1px,transparent 1px) 0 0/21px 21px,
    linear-gradient(0deg,#1c3b4929 1px,transparent 1px) 0 0/21px 21px,#f6c875;
  border:2px solid #1c3947; box-shadow:5px 5px 0 #1c3947;
}
.swearquest .tour-header a { border:1px solid #1c3947; }
.pagetide .product-tour { --tour-frame:#28463c; --tour-radius:.25rem; }
.pagetide .tour-stage { background:repeating-linear-gradient(0deg,#d6e7db 0 24px,#afcdbb 24px 25px); }
.quittrace .product-tour { --tour-frame:#131617; --tour-radius:.2rem; }
.quittrace .tour-stage { background:linear-gradient(148deg,#4e4c44,#282d2f 63%); border-top:3px solid var(--accent); }

.product-faq, .product-close { scroll-margin-top:5.2rem; padding:clamp(2.8rem,6vw,6rem) var(--inset); }
.product-faq { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:clamp(1.5rem,4vw,4rem); }
.product-faq > h2 { font-size:clamp(1.8rem,3.8vw,3.5rem); }
.product-faq details { border-top:1px solid var(--rule); }
.product-faq details:last-child { border-bottom:1px solid var(--rule); }
.product-faq summary {
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:.75rem;
  cursor:pointer; padding:1.05rem 0; font-weight:720; line-height:1.45;
}
.product-faq summary::-webkit-details-marker { display:none; }
.product-faq summary::after { content:'+'; flex:none; color:var(--accent); font:600 1.4rem var(--mono); }
.product-faq details[open] summary::after { content:'−'; }
.product-faq details p { margin:0 2rem 1.2rem 0; color:var(--quiet); line-height:1.7; }
.product-close {
  display:grid; gap:1.4rem clamp(1.2rem,4vw,4rem); grid-template-columns:minmax(0,1fr) auto;
  align-items:center; border-top:1px solid var(--rule);
  background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 11%,var(--paper)),var(--paper) 80%);
}
.product-close h2 { margin:0; font:660 clamp(1.9rem,4.6vw,4rem)/1.1 var(--serif); }
.product-close-links { display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; }
.product-close-links a { color:var(--quiet); font-size:.82rem; text-decoration:underline; text-underline-offset:.32em; }
.product-close .product-action { justify-self:start; }
.product-fig-note { grid-row:2; }
.showroom-releases .tile-stage img[data-ui-lang] { height:auto; }
.showroom-releases .tile-stage img[data-ui-lang] + img { margin-left:-5%; }
.showroom-releases .tile-info small { display:block; font-size:.72rem; color:#53535c; }
.workbench-art img[data-ui-lang] { height:auto; }
.workbench-art.mobile.has-scene img[data-ui-lang] { height:auto; }

@media (max-width:920px) {
  .tour-details .tour-shot:not(.wide) { grid-column:span 6; }
  .tour-details .tour-shot.wide:only-child { grid-column:span 12; }
}
@media (max-width:680px) {
  .tour-features { gap:2.55rem; }
  .tour-features .tour-shot, .tour-features .tour-shot:nth-child(even),
  .product-faq, .product-close { grid-template-columns:minmax(0,1fr); }
  .tour-features .tour-shot:nth-child(even) :is(.tour-stage,figcaption) { grid-area:auto; }
  .tour-features .portrait .tour-stage a { width:min(67%,13.4rem); }
  .tour-features .tour-stage { padding:1.3rem 1rem; }
  .tour-features figcaption { padding-inline:.12rem; }
  .tour-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tour-details .tour-shot:nth-child(n) { grid-column:span 1; }
  .tour-details .tour-shot.wide:nth-child(n) { grid-column:span 2; }
  .tour-details .portrait .tour-stage { aspect-ratio:auto; padding:.65rem; }
  .tour-details .portrait .tour-stage a { width:min(100%,10rem); }
  .product-fig-note { grid-row:auto; }
}
@media (prefers-reduced-motion:reduce) {
  .tour-stage a { transition:none; }
  .tour-stage a:is(:hover,:focus-visible) { transform:none; }
}

/* Product-specific compositions for the opening two captures. */
@media (min-width:681px) {
  :is(.stillroom,.waitown,.swearquest) .tour-features {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
  }
  :is(.stillroom,.waitown,.swearquest) .tour-features .tour-shot {
    display:block;
  }
  :is(.stillroom,.waitown,.swearquest) .tour-features figcaption {
    padding-top:1.4rem;
  }
  .stillroom .tour-features {
    padding:clamp(1.1rem,3.5vw,3.5rem);
    border-block:5px double #a58b6c;
    background:#2b201a;
    color:#f7ead7;
    --quiet:#dbc5b0;
  }
  .stillroom .tour-features .tour-stage { padding-block:1.2rem; }
  .waitown .tour-features { align-items:end; }
  .waitown .tour-features .tour-shot:nth-child(2) { padding-top:clamp(0rem,1.7vw,1.6rem); }
  .swearquest .tour-features .tour-shot:nth-child(2) { padding-top:clamp(1.4rem,4vw,3.7rem); }
  :is(.pro-camera,.floating-vinyl) .tour-features .wide { grid-template-columns:minmax(0,.52fr) minmax(0,1.48fr); }
  :is(.pro-camera,.floating-vinyl) .tour-features .wide:nth-child(odd) { grid-template-columns:minmax(0,1.48fr) minmax(0,.52fr); }
  .waitown .product-chapters article:nth-child(n) { display:block; padding:clamp(1.3rem,2.8vw,2.7rem); }
  .waitown .product-chapters { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .waitown .product-chapters article + article { border-top:1px dashed #f2c78e8c; border-inline-start:0; }
}
:is(.cellpilot,.quittrace,.pagetide) .tour-features .tour-stage { padding-inline:clamp(.8rem,2.6vw,2.3rem); }
.product-tour .tour-header a:active { transform:translateY(1px); }
@media (max-width:680px) {
  .product-tour .tour-details .portrait:only-child { grid-column:span 2; }
}
.tour-shot.compact .tour-stage a { width:min(100%,12.5rem); }
.tour-details .tour-shot.compact .tour-stage {
  min-height:clamp(10rem,21vw,21rem); aspect-ratio:auto;
}
.tour-details .tour-shot.compact img { border-radius:20% / 16%; }
.tour-details .tour-shot.wide img { width:auto; max-width:100%; }
.rhythm .product-fig-note { grid-column:1; }
@media (max-width:680px) {
  .product-tour .tour-details .compact:only-child { grid-column:span 2; }
  .tour-details .tour-shot.compact .tour-stage a { width:min(100%,9rem); }
}
.tour-shot:target .tour-stage { outline:2px solid var(--accent); outline-offset:4px; }
