/* ── Tactile monochrome theme ──────────────────────────────────
   Loaded last. Off-white paper, near-black ink, a few greys; rounded
   cards and keys with a solid shadow underneath that press down when
   you push them; scalloped edges between bands. The older palette
   tokens are remapped here so every earlier rule turns monochrome. */
:root{
  /* The two greys are Yip pinks: the hoodie pink from the app icon (--grey)
     and a pale tint of it (--off). */
  --paper:#f7f7f7;--ink:#0e0e0e;--off:#fde3e6;--grey:#f8c0c4;--mute:#5f5f5f;--soft:#a7a7a7;--rule:#0e0e0e;
  --pink:#f8c0c4;--pink-deep:#f2909c;--pink-ink:#d9506d;--lime:#fff;--purple:#0e0e0e;--purple-d:#2f2f2f;
  --f-head:'Rubik',system-ui,'Segoe UI',Helvetica,Arial,sans-serif;
  --f-body:'Rubik',system-ui,'Segoe UI',Helvetica,Arial,sans-serif;
  --f-mono:'Fira Code',ui-monospace,Menlo,monospace;
  --f-display:'Bungee',var(--f-head);
  --key:0 4px 0 var(--ink);--key-sm:0 3px 0 var(--ink);
}
body{background:var(--paper);color:var(--ink);font:400 16px/1.5 var(--f-body)}
h1,h2,h3{font-family:var(--f-head);font-weight:500;text-transform:none;letter-spacing:-.03em}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
/* On the ink bands (FAQ, footer) the focus ring is paper, or it vanishes. */
.install-section :focus-visible,footer :focus-visible{outline-color:var(--paper)}

/* Tactile key: border, solid shadow underneath, presses on hover/active. */
.btn,.nav-download,.democtl,.arrows button{
  background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:10px;box-shadow:var(--key);
  font:500 12px/1 var(--f-body);letter-spacing:.12em;text-transform:uppercase}
.btn{padding:15px 22px;gap:28px}
.btn--primary{background:#fff;color:var(--ink)}
.btn:hover,.nav-download:hover,.democtl:hover,.arrows button:hover{background:#fff;transform:translateY(2px);box-shadow:0 2px 0 var(--ink)}
.btn:active,.democtl:active,.arrows button:active{transform:translateY(4px);box-shadow:0 0 0 var(--ink)}

/* Header */
.wordmark{display:flex;align-items:center;gap:8px}
.wordmark__duck{display:block;width:auto;height:34px;transform-origin:50% 90%}
.wordmark:hover .wordmark__duck{animation:duckWiggle .6s ease}
@keyframes duckWiggle{25%{transform:rotate(-12deg)}55%{transform:rotate(9deg)}80%{transform:rotate(-4deg)}}
@media(prefers-reduced-motion:reduce){.wordmark:hover .wordmark__duck{animation:none}}
/* The header stays pinned to the top of the window. Over the hero it is
   clear; once the page scrolls (motion.js adds .is-scrolled) it gets a
   paper backing and an ink rule, so it reads over every section. */
.site-header{position:fixed;top:0;left:0;right:0;z-index:30;height:70px;padding:0 36px;border-bottom:0;background:transparent;
  transition:background-color .25s ease,box-shadow .25s ease}
.site-header.is-scrolled{background:var(--paper);box-shadow:0 2px 0 var(--ink)}
main [id]{scroll-margin-top:72px}
.site-header>.wordmark{align-self:center;background:none;color:var(--ink);padding:0;border:0;
  font:800 30px/1 var(--f-head);letter-spacing:-.05em;text-transform:lowercase}
.site-header nav{font:500 12px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;gap:36px}
.nav-download{align-self:center;padding:12px 16px}
.motion .nav-download::before{display:none}
.motion .nav-download:hover{background:#fff;color:var(--ink)}

/* Hero */
.r-hero{background-color:var(--paper);background-image:none}

/* Hero layout: a giant HEYYIP across the top, the desk scene set down in
   front of it, two plain uppercase statements in the lower left and small
   mono print in the corners.
   --nat is the wordmark's drawn height at full width (its grid is
   1000 x 300); --wh is the height it gets. It stays within 95-105% of
   that, so the corners and counters keep their shape. */
.hero-pin{--gut:36px;--nat:calc((100vw - 2 * var(--gut)) * .3);
  --wh:clamp(var(--nat) * .95,20svh,var(--nat) * 1.05);
  padding:78px var(--gut) 72px;min-height:600px;color:var(--ink);background-color:var(--paper);background-image:none}
.hero-ready .hero-pin{min-height:600px}
.hero-art{padding:0}

.hero-word{display:block;flex:none;width:100%;height:var(--wh);overflow:hidden;fill:var(--ink);position:relative;z-index:1}
.hero-word path{transform-box:fill-box}
/* "HEY" in ink, "YIP" in the deeper pink of the hoodie in the app icon.
   The pink elsewhere in the hero sits on the left to balance it: the
   Claude Code popup and the second statement. */
.hero-word g:nth-child(n+4) path{fill:var(--pink-deep)}

/* The pitch: one style throughout, regular weight, uppercase. */
.heroL{position:relative;z-index:3;width:100%;align-items:flex-start;text-align:left;gap:0;padding:0}
.heroL h1,.heroL p{font:500 clamp(20px,calc(14px + 1.25vw),40px)/1.22 var(--f-head);letter-spacing:-.02em;
  text-transform:uppercase;color:var(--ink);max-width:15.5em;margin:0;text-wrap:balance}
.heroL p{margin-top:1em}
/* The second statement (the pet calls you) in a pink dark enough to read
   as text; the letters' pink is too light for that. */
.heroL p.hero-call{color:var(--pink-ink)}
.hero-side,.hero-scroll{font:400 12px/16px var(--f-mono);letter-spacing:0;text-transform:uppercase;color:var(--ink)}
.hero-side{position:relative;z-index:3;margin:0;text-align:right;max-width:34ch}

/* Bottom corners, two mono lines each, like the reference's corner labels:
   "SCROLL : / TO MEET THE PETS" on the left, and on the right the task
   count over a plain-text pause control, both set flush to the corner. */
.hero-scroll{position:absolute;z-index:3;left:var(--gut);right:var(--gut);bottom:22px;display:flex;align-items:flex-end;
  justify-content:space-between;gap:16px}
.hero-scroll span,.hero-scroll span:last-child{font-family:inherit}
.hero-hint b{display:block;font-weight:400}
.hero-meter b{font-weight:400}
.hero-ctl{display:flex;flex-direction:column;align-items:flex-end}
.hero-meter{display:block;text-align:right;white-space:nowrap}
#heroCount{font-family:var(--f-mono)}
.hero-scroll .democtl,.motion .hero-scroll .democtl{position:static;display:inline-flex;align-items:center;gap:7px;margin:0;padding:0;
  background:none;border:0;border-radius:0;box-shadow:none;color:var(--ink);font:400 12px/16px var(--f-mono);letter-spacing:0;
  text-transform:uppercase;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
  transform:none;translate:none!important;cursor:pointer}
.hero-scroll .democtl:hover,.motion .hero-scroll .democtl:hover{background:none;color:var(--ink);box-shadow:none;transform:none;
  text-decoration-thickness:2px}
.hero-scroll .democtl:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}
.hero-scroll .democtl__ico,.hero-scroll .democtl:hover .democtl__ico{width:7px;height:9px;border-left:2px solid var(--ink);border-right:2px solid var(--ink)}
.hero-scroll .democtl.paused .democtl__ico{width:0;height:0;border:0;border-left:7px solid var(--ink);
  border-top:4.5px solid transparent;border-bottom:4.5px solid transparent}

/* The hero no longer scrolls through a story: it is one screen, and the
   desk plays on its own (see the hero script). */
.hero-ready .r-hero,.motion.hero-ready .r-hero{height:auto}

/* While the script cycles the popups, the desk idles: the machine floats,
   each popup bobs on its own beat and the pets sway. These use the
   standalone translate and rotate properties, so they never fight the
   transforms the script and the popup transitions own. */
.motion .stage.demo .rig{animation:deskFloat 6s ease-in-out infinite}
.motion .stage.demo .note.in{animation:noteBob 4.6s ease-in-out infinite}
.motion .stage.demo .note--b.in{animation-duration:5.4s;animation-delay:-1.8s}
.motion .stage.demo .note--c.in{animation-duration:5s;animation-delay:-3.1s}
.motion .stage.demo .note.pet-state .note__pet{animation:petSway 2.8s ease-in-out infinite}
.motion .stage.demo .note--b.pet-state .note__pet{animation-delay:-1.1s}
.motion .stage.demo .note--c.pet-state .note__pet{animation-delay:-2s}
@keyframes deskFloat{50%{translate:0 -1.2%}}
@keyframes noteBob{50%{translate:0 -1.3cqw}}
@keyframes petSway{0%,100%{rotate:-5deg}50%{rotate:5deg}}
.r-hero.is-paused *,.r-hero.is-offscreen *{animation-play-state:paused!important}

/* The pet that carries you between sections (hero script): hero popup
   cat → "Pick a pet" preview → the white cat photo on the custom desktop.
   Two stacked images so it can fade from the pet into the photo as it
   lands. While it's in the air, the pets it joins are hidden. */
.fly-pet{position:fixed;left:0;top:0;z-index:60;display:none;pointer-events:none;
  transform-origin:50% 50%;will-change:transform;filter:drop-shadow(2px 2px 0 rgba(0,0,0,.2))}
.fly-pet.is-on{display:block}
.fly-pet img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.note__pet.is-away,.pet-preview>img.is-away,.custom-avatar.is-away{opacity:0!important;transition:none!important}

/* The desk scene from tablet up: a squarer stage, a bigger computer and
   popups sized off the stage. */
@media(min-width:701px){
  .stage{width:100%;aspect-ratio:1.2}
  .computer{scale:1.53}
  .note{width:37%}
  .note--a{left:0;top:5%}
  .note--b{right:0;top:37%}
  .note--c{right:7%;top:auto;bottom:3%}
  .note__bar{font-size:1.5cqw}
  .note__bar i{width:1cqw;height:1cqw}
  .note__x{width:2.5cqw;height:2.5cqw;font-size:1.8cqw}
  .note__body{padding:1.7cqw 1.8cqw}
  .note__prompt{font-size:1.9cqw}
  .note__status{font-size:1.4cqw;margin-top:1cqw;padding-top:1cqw}
  .note__statusIcon{width:2.1cqw;height:2.1cqw}
  .note.done-state .note__statusIcon::after,.note.wait-state .note__statusIcon::after{font-size:1.45cqw}
  .note__status b{font-size:1.4cqw}
  .note__status small{font-size:1.2cqw}
  .note__pet{width:9.5cqw;height:9.5cqw;top:-1.6cqw;margin:-7.6cqw 0 -1.2cqw auto}
}
@media(min-width:981px){
  /* Three columns under the word: pitch, the scene's own lane, small print.
     The word may stretch to 40% of the screen, leaving ~440px for the pitch. */
  .hero-pin{display:grid;grid-template-columns:minmax(0,1fr) var(--sw) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
    column-gap:32px;align-items:start;
    --wh:clamp(var(--nat) * .95,min(50svh,100svh - 400px),var(--nat) * 1.05);
    --sw:min(40vw,820px,(100svh - 118px - var(--wh)) * 2)}
  .hero-word{grid-column:1/-1;grid-row:1}
  /* The pitch may run 64px into the scene's lane: down there the lane is
     empty until the keyboard, and it keeps each statement to two lines. */
  .heroL{grid-column:1;grid-row:2;margin-top:clamp(24px,4.8vh,56px);width:calc(100% + 64px)}
  .heroL h1,.heroL p{font-size:clamp(20px,min(calc(9px + 1.5vw),4.2svh),40px)}
  .hero-side{grid-column:3;grid-row:2;justify-self:end;margin-top:clamp(24px,4.8vh,56px)}
  /* The scene is centred on the word's baseline, like something set down in
     front of a sign: the monitor covers the foot of the letters and the
     keyboard and mouse hang below. */
  .hero-art{position:absolute;left:50%;top:calc(78px + var(--wh) - var(--sw) / 2.4 - var(--lift,0px));width:var(--sw);
    height:auto;translate:-50% 0;z-index:2}
  .stage{max-width:none}
  /* The stage is narrower here, so the popups grow and hang past its edges,
     over the letters and into the scene's lane. */
  .note{width:40%}
  /* Popups sit low, around the monitor, so the word above stays readable:
     only their pets peek up over the foot of the letters. Claude Code's
     hangs out to the left, clear of the computer it reports on. */
  .note--a{left:-18%;top:31%}
  .note--b{right:-13%;top:40%}
  .note--c{right:-7%;bottom:-5%}
  .note__bar{font-size:1.8cqw}
  .note__bar i{width:1.2cqw;height:1.2cqw}
  .note__x{width:3cqw;height:3cqw;font-size:2.1cqw}
  .note__body{padding:2cqw 2.15cqw}
  .note__prompt{font-size:2.25cqw}
  .note__status{font-size:1.65cqw;margin-top:1.2cqw;padding-top:1.2cqw}
  .note__statusIcon{width:2.5cqw;height:2.5cqw}
  .note.done-state .note__statusIcon::after,.note.wait-state .note__statusIcon::after{font-size:1.7cqw}
  .note__status b{font-size:1.65cqw}
  .note__status small{font-size:1.45cqw}
  .note__pet{width:11cqw;height:11cqw;top:-1.9cqw;margin:-9cqw 0 -1.4cqw auto}
}
@media(min-width:701px) and (max-width:980px){
  .hero-pin{--wh:clamp(var(--nat) * .95,20svh,var(--nat) * 1.05)}
  .heroL{margin-top:clamp(40px,7vw,64px)}
  .heroL h1,.heroL p{font-size:clamp(24px,3.6vw,34px)}
  .note--a{left:-6%;top:0}
  .stage{max-width:min(100%,640px,max(340px,calc(100svh - 600px)))}
}
@media(max-width:980px){
  /* Stacked, the hero is as tall as its content: no dead space under the
     pitch, and the next section peeks in below. */
  .hero-pin,.hero-ready .hero-pin{align-items:center;height:auto;min-height:0;padding-bottom:116px}
  .hero-art{order:1;flex:none;width:100%;margin-top:calc(var(--wh) * -.45);z-index:2}
  .heroL{order:2}
  .hero-side{display:none}
}

/* The computer, recast in paper, greys and ink. */
.face{border-color:var(--ink)}
.face--front{background:#fff;box-shadow:inset .5cqw .5cqw #fff,inset -.6cqw -.6cqw #d9d9d9}
.face--front .crt{background:#141414;border-color:#2b2b2b;border-bottom-color:#4a4a4a;color:#f2f2f2;
  box-shadow:inset .4cqw .4cqw 1.3cqw #0009}
.crt::after{background:repeating-linear-gradient(transparent 0,transparent 3px,#ffffff0d 3px,#ffffff0d 4px)}
.crt .dim{opacity:.5}
.crt .done{background:#fff;color:var(--ink);border-radius:.25em}
.crt .done--wait{background:var(--grey);color:var(--ink)}
.machine-logo{color:var(--ink);font-weight:800;letter-spacing:-.05em}
.machine-controls{border-top-color:#d6d6d6}
.speaker-grille{background:repeating-linear-gradient(90deg,var(--ink) 0,var(--ink) .45cqw,transparent .45cqw,transparent 1cqw)}
.machine-controls .floppy-slot{border-color:#9a9a9a;background:linear-gradient(#f2f2f2 35%,#1a1a1a 35%,#1a1a1a 60%,#f2f2f2 60%)}
.floppy-slot::after{background:var(--grey);border-color:var(--ink)}
.machine-controls .power-button{background:#fff;border-color:var(--ink);color:var(--ink)}
.face--right,.face--left{background:#e6e6e6}
.face--left b{color:var(--mute)}
.face--top{background:repeating-linear-gradient(90deg,#2f2f2f 0,#2f2f2f .35cqw,transparent .35cqw,transparent 1.2cqw) center/65% 2.5cqw no-repeat,#f2f2f2}
.face--back{background:#ececec;box-shadow:inset 0 0 0 1cqw #f7f7f7}
.face--back b{color:var(--ink)}
.face--back .ports{background:#d6d6d6;border-color:var(--ink)}
.face--bottom{background:#bdbdbd}
.side-panel{background:var(--ink);border-color:var(--ink);box-shadow:inset -.5cqw -.5cqw #2f2f2f}
.side-panel>i{background:#fff;border-color:var(--ink)}
.side-panel .vents{background:repeating-linear-gradient(90deg,#fff 0,#fff .7cqw,transparent .7cqw,transparent 1.8cqw)}
.keyboard-top{background:#ececec;border-color:var(--ink)}
.keys i{background:#fff;border-color:var(--ink);border-bottom-color:#9a9a9a;color:var(--ink)}
.keys i::after{background:#bdbdbd;border-color:var(--ink)}
.keys i::before{background:#d6d6d6;border-color:var(--ink)}
.keys i:first-child{background:var(--grey)}
.keys i:nth-child(20){background:var(--ink);color:#fff}
.keys i:nth-child(25){background:#fff}
.keys .space-key{background:var(--ink)}
.keyboard-face{background:#cfcfcf;border-color:var(--ink)}
.keyboard-bottom{background:#a7a7a7}
.keyboard-front{background:#c4c4c4;border-bottom-color:var(--ink)}
.keyboard-left{background:#c9c9c9}.keyboard-right{background:#dadada}
.mouse-base{background:#2f2f2f}
.mouse-cord{border-color:var(--ink)}

/* Popups: rounded windows with a key shadow. */
.note{border:var(--bw) solid var(--ink);border-radius:1.1cqw;box-shadow:0 .6cqw 0 var(--ink);background:#fff}
.note__bar{border-radius:.85cqw .85cqw 0 0;background:var(--ink);color:#fff;font-family:var(--f-body);font-weight:500;letter-spacing:.14em}
/* Claude Code (left) wears the pink bar and Codex (right, under the pink
   YIP) the ink one, so the pink is spread across the scene. */
.note--a .note__bar{background:var(--grey);color:var(--ink)}
.note--b .note__bar{background:var(--ink);color:#fff}
.note--c .note__bar{background:#fff;color:var(--ink)}
.note__bar i{border:1px solid currentColor;background:transparent}
.note__bar i:nth-child(2),.note--b .note__bar i:nth-child(2),.note--c .note__bar i:nth-child(2){background:currentColor}
.note__x{border-radius:.4cqw;background:#fff;color:var(--ink)}
.note__promptMark,.note--b .note__promptMark,.note--c .note__promptMark{color:var(--soft)}
.note__prompt{font-family:var(--f-mono);font-weight:500;letter-spacing:-.02em}
.note.done-state .note__statusIcon,.note.wait-state .note__statusIcon{background:var(--ink);color:#fff;border-radius:.3cqw}
.note__status{font-family:var(--f-body)}
.note__status b{font-weight:600;letter-spacing:.08em}
.note__status small{font-family:var(--f-mono);font-weight:400;opacity:.6}

/* Crossing tapes */
.tapes{background-color:var(--paper);background-image:none;border-block:0}
.tape{border-block-width:2px;font-family:var(--f-display);font-weight:400;letter-spacing:.01em}
.tape--front{background:#fff;color:var(--ink);box-shadow:0 5px 0 var(--ink)}
.tape--back{background:var(--ink);color:#fff}
.tape__item>*{font-weight:400}
.tape__item>*::after{color:var(--soft)}
.tape--back .tape__item>*::after{color:#5f5f5f}
.tape__label{font-family:var(--f-mono);font-weight:500;background:var(--ink);color:#fff;border-radius:.5em}

/* Sections */
.section{border-bottom:0;padding:96px 36px}
.section-head{align-items:flex-end;margin-bottom:44px}
.section-head h2{font-size:clamp(44px,7vw,112px);line-height:1;letter-spacing:-.04em}
.section-head>p{flex:none;font-size:16px;line-height:1.45;color:#2f2f2f;max-width:34ch;text-align:right}
.muted{color:var(--mute);font-size:12px;letter-spacing:.12em;text-transform:uppercase}

/* Pet picker */
.pet-section{background:var(--paper)}
.pet-gallery{align-items:stretch;border:2px solid var(--ink);border-radius:22px;overflow:hidden;box-shadow:0 8px 0 var(--ink);background:#fff}
.pet-preview{background:var(--off);border-right:2px solid var(--ink)}
.preview-label{font:500 11px/1 var(--f-body);letter-spacing:.16em;color:var(--ink)}
.preview-notification{border:2px solid var(--ink);border-radius:12px;box-shadow:var(--key)}
.notification-check{border:2px solid var(--ink);border-radius:8px;background:var(--ink);color:#fff}
.preview-notification div>span,.preview-notification small{color:var(--mute)}
.pet-caption h3{font:500 30px/1.1 var(--f-head);letter-spacing:-.03em}
.pet-caption p{font-size:15px;color:#2f2f2f}
.arrows button{width:42px;height:42px;font-size:16px;letter-spacing:0}
.pet-option{border:2px solid transparent;border-radius:14px}
.pet-option:hover{background:var(--off)}
.pet-option[aria-current=true]{border-color:var(--ink);background:var(--off);box-shadow:var(--key-sm)}
.dots i{background:#f2a3ad}.dots i.on{background:var(--ink)}

/* Your photos: a grey band with scalloped edges. */
/* Download: two big tactile cards, the whole card is the link. */
.download-section{position:relative;background:var(--paper)}
.dl-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2vw,28px)}
.dl-card{display:flex;flex-direction:column;gap:14px;padding:clamp(22px,2.4vw,36px);background:#fff;color:var(--ink);
  border:2px solid var(--ink);border-radius:22px;box-shadow:0 8px 0 var(--ink);text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease}
.dl-card:hover{transform:translateY(4px);box-shadow:0 4px 0 var(--ink)}
.dl-card:active{transform:translateY(8px);box-shadow:0 0 0 var(--ink)}
.dl-card:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.dl-card__top{display:flex;justify-content:space-between;align-items:center;gap:12px;font:500 12px/1 var(--f-mono);text-transform:uppercase}
.dl-card__top>span:last-child{text-transform:none}
.dl-free{background:var(--ink);color:#fff;border-radius:99px;padding:7px 12px;font:600 11px/1 var(--f-body);letter-spacing:.14em}
.dl-card__os{font:700 clamp(48px,6.4vw,104px)/1 var(--f-head);letter-spacing:-.045em;margin-top:clamp(24px,4vw,72px)}
.dl-card__note{font:400 clamp(15px,1.1vw,18px)/1.5 var(--f-body);color:#2f2f2f;max-width:40ch}
.dl-card__btn{align-self:flex-start;display:inline-flex;align-items:center;gap:28px;margin-top:10px;padding:16px 22px;
  background:var(--ink);color:#fff;border-radius:12px;font:600 13px/1 var(--f-body);letter-spacing:.12em;text-transform:uppercase}
@media(max-width:700px){.dl-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dl-card{transition:none}}
.photo-section{position:relative;background-color:var(--grey);background-image:none;border-top:0}
.custom-art{border:2px solid var(--ink);border-radius:22px;overflow:hidden;box-shadow:0 8px 0 var(--ink);background:#fff}
.custom-desktop-bar{background:#fff;border-bottom:2px solid var(--ink)}
.custom-browser-dots i{border-color:var(--ink);background:#fff}
.custom-browser-dots i:nth-child(2){background:var(--grey)}
.custom-browser-dots i:nth-child(3){background:var(--ink)}
.custom-browser-address{border-radius:8px;background:var(--off);font-family:var(--f-mono)}
.custom-browser-tab{font:500 11px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase}
.custom-desktop{background-color:var(--paper);background-image:radial-gradient(#f2b3bb 1.2px,transparent 1.2px)}
/* Desktop: the photo "desktop" keeps a screen-like shape as the page
   widens (about 2.7:1) instead of staying a fixed 520px strip, and the
   people, pets and their bubbles grow with it. */
@media(min-width:901px){
  .custom-desktop{height:clamp(520px,36vw,860px)}
  .custom-avatar{width:clamp(140px,10.5vw,230px);height:clamp(140px,10.5vw,230px)}
  .custom-notifier{width:auto;max-width:46%}
  .custom-notifier--girlfriend,.custom-notifier--boyfriend{top:11%}
  .custom-notifier--pet,.custom-notifier--meme{bottom:8%}
  .custom-bubble{font-size:clamp(12px,.95vw,17px);padding:clamp(13px,1vw,18px)}
  .custom-bubble small{font-size:clamp(9px,.7vw,12px)}
}
.custom-bubble{border:2px solid var(--ink);border-radius:12px;box-shadow:var(--key);background:var(--grey);font:400 14px/1.45 var(--f-body)}
.custom-bubble small{font:500 10px/1 var(--f-body);letter-spacing:.16em}
/* Japanese lines break by Japanese rules: no small kana (ゃ, っ) or closing
   punctuation at the start of a line. */
[lang="ja"]{line-break:strict}
.custom-notifier--boyfriend .custom-bubble{background:var(--ink);color:#fff}
.custom-notifier--pet .custom-bubble,.custom-notifier--anime .custom-bubble{background:#fff}
.custom-notifier--meme .custom-bubble{background:var(--off)}
.can-drag .is-dragging .custom-bubble{box-shadow:0 10px 0 var(--ink);translate:0 -4px}
.custom-hint{background:var(--ink);color:#fff;border-radius:8px;font-family:var(--f-body);font-weight:500}
.photo-footnote{color:#2f2f2f;font-size:15px}

/* Install: the dark band, options as numbered cards. */
.install-section{position:relative;background:var(--ink);color:var(--paper);grid-template-columns:1fr 1.15fr;padding:0;counter-reset:opt}
.install-intro{background:transparent;border-right:0;padding:110px 36px}
.install-intro h2{color:var(--paper);font-size:clamp(44px,6.4vw,104px);line-height:1;letter-spacing:-.04em}
.install-options{background:transparent;padding:110px 36px;gap:16px}
details,details:first-child,details:last-child{border:1.5px solid #4c4c4c;border-radius:18px;padding:0 26px;background:var(--ink);transition:border-color .2s}
details:hover,details[open]{border-color:var(--paper)}
summary{font:500 24px/1.2 var(--f-head);letter-spacing:-.02em;text-transform:none;padding:24px 0;color:var(--paper);counter-increment:opt;
  user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
/* Clicking a question shouldn't paint a focus box; the keyboard still gets one. */
summary:focus:not(:focus-visible){outline:none}
summary::before{content:counter(opt);order:3;font:500 18px/1 var(--f-head);color:var(--soft)}
summary::after{order:4;font-weight:300}
.platform-note{font:500 11px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
details p{color:#c9c9c9;font-size:15px;line-height:1.6}
details p a{color:var(--paper);text-decoration:underline;text-underline-offset:3px}
.motion summary:hover{padding-left:6px}

/* Scalloped edges: a row of half-circles in the band's own colour. */
.photo-section::before,.download-section::before,.install-section::before,footer::before,.install-section::after{
  content:'';position:absolute;left:0;right:0;height:20px;pointer-events:none;
  background:radial-gradient(circle at 20px 20px,var(--sc) 19.5px,transparent 20.5px) 0 0/40px 40px repeat-x}
.photo-section::before{--sc:var(--grey);bottom:100%}
.download-section::before{--sc:var(--paper);bottom:100%}
.install-section::before{--sc:var(--ink);bottom:100%}
.install-section::after{--sc:var(--ink);top:100%;transform:scaleY(-1);z-index:1}

/* Outro and footer */
.outro{background-color:var(--paper);background-image:none;border-top:0;padding-top:clamp(70px,9vw,140px)}
.outro__word{font-family:var(--f-head);font-weight:800;letter-spacing:-.05em;color:#fff;
  -webkit-text-stroke:.06em var(--ink);text-shadow:0 .05em 0 var(--ink)}
.outro__word>span:nth-child(2),.outro__word>span:nth-child(4){color:#fff}
.outro__pet{width:.24em;top:-.19em;filter:drop-shadow(0 .01em 0 #0002)}
.loader__pet{width:.42em;left:42%;top:-.5em}
footer .wordmark__duck{height:30px}
.outro__tag{color:var(--ink);font-family:var(--f-body);font-weight:500;letter-spacing:.16em}
.outro__tag b{background:var(--ink);color:#fff;border-radius:6px;font-family:var(--f-mono)}
footer{position:relative;border-top:0;background:var(--ink);color:var(--paper);padding:26px 36px}
footer::before{--sc:var(--ink);bottom:100%}
footer .wordmark{font:800 30px/1 var(--f-head);letter-spacing:-.05em;text-transform:lowercase;color:var(--paper)}
/* Footer: wordmark and the coffee card on top, a row of small links below. */
footer{display:block}
.footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.coffee{display:flex;align-items:center;gap:22px;padding:18px 28px 18px 18px;background:var(--paper);color:var(--ink);
  border-radius:22px;text-decoration:none;transition:transform .15s ease}
.coffee:hover{transform:translateY(-2px);text-decoration:none}
.coffee__qr{display:block;width:112px;height:112px;flex:none;box-sizing:border-box;padding:7px;background:#fff;border-radius:12px}
.coffee strong{font:600 clamp(26px,2.4vw,34px)/1 var(--f-head);letter-spacing:-.04em}
.coffee small{display:block;margin-top:12px;font:400 14px/1.3 var(--f-body);letter-spacing:0;color:var(--mute)}
.footer-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px;padding-top:20px;border-top:1px solid #333;
  font:500 13px/1.4 var(--f-body);color:var(--soft)}
.footer-links a{color:var(--paper);text-decoration:underline;text-decoration-color:#555;text-underline-offset:4px}
.footer-links a:hover{text-decoration-color:var(--pink)}
.footer-links span:last-child{margin-left:auto}

/* Loader: paper card, outlined letters, an ink wipe behind. */
.loader{background:var(--paper);background-image:none;color:var(--ink)}
.intro .loader-wipe{background:var(--ink)}
.loader__word{font-family:var(--f-head);font-weight:800;color:#fff;-webkit-text-stroke:.07em var(--ink);text-shadow:0 .05em 0 var(--ink)}
.loader__word span:nth-child(2),.loader__word span:last-of-type{color:#fff}
.loader__meta{font-family:var(--f-body);font-weight:500;letter-spacing:.16em}
.loader__count{font-family:var(--f-head);font-weight:500;letter-spacing:-.04em}

/* Small furniture */
.scroll-meter{background:var(--ink);border-bottom:0;height:3px}
.cursor-tag span{background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:8px;box-shadow:var(--key-sm);
  font:500 10px/1 var(--f-body);letter-spacing:.14em}
.skip-link{border-radius:8px}

@media(max-width:700px){
  .site-header{height:64px;padding:0 16px}
  .hero-scroll{left:16px;right:16px;bottom:14px}
  .hide-sm{display:none}
  .note__bar{letter-spacing:.02em}
  .site-header>.wordmark{font-size:26px}
  .site-header nav{gap:14px;font-size:10px;letter-spacing:.1em}
  .nav-download{padding:9px 10px;font-size:10px}
  .hero-pin{--gut:16px;--wh:clamp(var(--nat) * .95,14svh,var(--nat) * 1.05);padding:72px 16px 100px}
  .stage{aspect-ratio:1.08}
  .computer{scale:1.5}
  .hero-art{margin-top:calc(var(--wh) * -.45 - 40px)}
  .heroL{margin-top:30px}
  .note--a{top:26%;left:-3%;width:34%}
  .note--b{top:47%}
  .section{padding:72px 16px}
  .section-head>p{text-align:left;margin-top:14px}
  .pet-preview{border-right:0;border-bottom:2px solid var(--ink)}
  .install-section{grid-template-columns:1fr}
  .install-intro{padding:72px 16px 8px}
  .install-options{padding:24px 16px 72px}
  details,details:first-child,details:last-child{padding:0 18px}
  summary{font-size:20px}
  /* FAQ questions need the width; the number and +/× still mark each row. */
  .faq-section .platform-note{display:none}
  .faq-section summary>span:first-child{flex:1}
  footer{padding:22px 16px}
  .coffee{width:100%;padding:14px;gap:16px}
  .coffee__qr{width:88px;height:88px}
  .footer-links span:last-child{margin-left:0}
}
/* Reduced motion shows the finished scene with no scroll story, so the
   scroll hint and meter have nothing to point at. */
@media(prefers-reduced-motion:reduce){.hero-scroll{display:none}}
