/* The home page, round 3 (John, 16 Oct, second notes): quieter, less copy,
   the paper never changes colour. The use cases (?story=1..4), where a Fig
   lives (?where=1..5), playful and proactive (?play=1..5), and the character
   cards. Real reflections are cut from the carica lab (assets/site/lab). */

/* ── a real reflection, as the lab draws it: the card and the Fig's line ── */
.lab { position: relative; margin: 0; width: calc(var(--w) * var(--k, 1) * 1px); max-width: 100%; rotate: var(--r, 0deg); }
.lab img { display: block; width: 100%; height: auto; }

/* the white Fig bubble the lab puts under a card, for lines written here: as
   the real units draw it (measured off u-valencia-eclipse-7), a thought's two
   little circles rising from its top left */
.say { position: relative; width: fit-content; max-width: 19em; margin: 0; padding: 12px 15px 13px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgb(23 23 23 / 0.04), 0 6px 18px rgb(23 21 15 / 0.09); font: 400 15.5px/1.32 var(--sans); letter-spacing: -0.005em; text-wrap: pretty; }
.say::before, .say::after { content: ''; position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.04); }
.say::before { left: 26px; top: -13px; width: 15px; height: 15px; }
.say::after { left: 14px; top: -26px; width: 7px; height: 7px; }
.say b { font-weight: 500; }

/* ═════ use cases · 1 · notice, plan, people (five stories) ═════════════ */
.uses { position: relative; }
.u123 { position: relative; padding: var(--beat) var(--gutter) calc(var(--beat) * 1.1); }
.u123-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; overflow: visible; pointer-events: none; }
.u123-line path { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.u123 > .figcur { z-index: 6; }
.u123-head { width: min(100%, 1180px); margin: 0 auto clamp(48px, 7vw, 96px); }
/* the product, said once, centred; the aside in the Fig's hand, at an angle */
.u123-def { width: min(100%, 1040px); margin: 0 auto clamp(54px, 7vw, 100px); text-align: center; }
.u123-def-h { margin: 0 auto; max-width: 17em; font-size: clamp(32px, 4vw, 62px); line-height: 1.04; letter-spacing: -0.034em; text-wrap: balance; }
.u123-def-aside { display: inline-block; margin: clamp(16px, 2vw, 24px) 0 0; rotate: -3deg; font-family: 'Nanum Pen Script', 'Bradley Hand', cursive; font-size: clamp(24px, 2.3vw, 34px); line-height: 1; color: var(--blue); }
.u123-for { width: min(100%, 1040px); margin: 0 auto clamp(26px, 3vw, 40px); font-size: 15px; color: var(--muted); }
.u123-steps.u123-steps--two { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 1040px); gap: clamp(30px, 6vw, 110px); }
.u123-k { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.u123-who { margin: 0; max-width: 15em; font-size: clamp(30px, 3.7vw, 58px); line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; }
.u123-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4.4vw, 72px); width: min(100%, 1180px); margin: 0 auto; padding: 0; list-style: none; }
.u123-step { position: relative; display: grid; align-content: start; gap: clamp(14px, 1.6vw, 20px); }
.u123-n { width: fit-content; margin: 0 0 0 6px; padding-top: 6px; font-family: 'Nanum Pen Script', 'Bradley Hand', cursive; font-size: clamp(64px, 6.4vw, 96px); line-height: 0.62; color: var(--blue); }
.u123-word { width: fit-content; }
.u123-word { margin: 0; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; letter-spacing: -0.025em; }
.u123-vis { position: relative; min-height: clamp(320px, 30vw, 430px); margin-top: 6px; }
.u123-step { opacity: 0; translate: 0 18px; transition: opacity 700ms var(--ease), translate 1000ms var(--expo); }
.u123-step.is-on { opacity: 1; translate: 0 0; }
/* 1 · it notices: three of your apps, quietly, and what it saw */
.u-apps { display: flex; gap: 12px; margin: 4px 0 18px; }
.u-app { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.06), 0 8px 20px rgb(23 21 15 / 0.08); rotate: var(--r, 0deg); }
.u-app img { width: 26px; height: 26px; }
.u-app-w { display: grid; justify-items: center; gap: 8px; width: 74px; }
.u-app-w:nth-child(2) { translate: 0 10px; }
.u-app-l { font-size: 12px; line-height: 1.2; color: var(--muted); text-align: center; }
.u-seen { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.u-seen span { display: block; }
/* 2 · it plans: the plan it made, and one small experiment on a note */
.u-plan { position: relative; display: inline-block; }
.u-plan .lab { --k: 0.9; }
.u-exp { position: absolute; z-index: 2; right: -30%; top: 26%; width: 9.5em; margin: 0; padding: 12px 14px 11px; rotate: 4deg; background: #fff4b8; color: var(--ink); box-shadow: 0 6px 16px rgb(23 21 15 / 0.14); font-family: 'Nanum Pen Script', 'Bradley Hand', cursive; font-size: 23px; line-height: 0.95; }
.u-exp b { display: block; margin-bottom: 4px; font-weight: 400; color: var(--red); }
/* 3 · it brings people in */
.u-people { display: flex; margin: 4px 0 16px; }
.u-face { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c, #e8e2d6); color: #fff; box-shadow: 0 0 0 3px var(--paper); font: 500 19px/1 var(--sans); }
.u-face + .u-face { margin-left: -12px; }
.u-face img { width: 60%; height: 60%; }
.u-chat { display: grid; gap: 8px; }
.u-chat .say:nth-child(2) { justify-self: end; background: linear-gradient(180deg, #3d9fff, #0a7aff 58%); color: #fff; }
.u-chat .say:nth-child(2)::before { left: auto; right: 12px; background: #2b8dff; }
.u-done { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 12px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.06); font-size: 14px; }
.u-done::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #2f9e5a; box-shadow: 0 0 0 3px rgb(47 158 90 / 0.18); }
.u-social .lab { --k: 0.85; margin-bottom: -10px; }
@media (max-width: 860px) {
  .u123-steps, .u123-steps.u123-steps--two { grid-template-columns: minmax(0, 1fr); gap: 54px; padding-left: 30px; }
  .u123-vis { min-height: 0; }
  .u-exp { position: relative; right: auto; top: auto; margin: -26px 0 0 auto; }
  .u-plan { display: grid; }
}

/* ═════ use cases · 2 · a chat, and a Fig ═══════════════════════════════ */
.ucmp { padding: var(--beat) var(--gutter); text-align: center; }
.ucmp-h { margin: 0 auto; max-width: 13em; font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.ucmp-sub { margin: 18px auto 0; font-size: 15px; color: var(--muted); }
.ucmp-frame { position: relative; width: min(100%, 1140px); aspect-ratio: 16 / 10; margin: clamp(34px, 4.6vw, 60px) auto 0; border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgb(23 23 23 / 0.07), 0 30px 80px rgb(23 21 15 / 0.12); text-align: left; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ucmp-side { position: absolute; inset: 0; }
.ucmp-tag { position: absolute; z-index: 6; top: 16px; padding: 6px 11px; border-radius: 999px; background: rgb(255 255 255 / 0.9); box-shadow: 0 0 0 1px rgb(23 23 23 / 0.06); font: 500 12px/1 var(--apple); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ucmp-chat .ucmp-tag { left: 16px; }
.ucmp-fig .ucmp-tag { right: 16px; }
/* the old way: a chat, a question, a wall of words */
.ucmp-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #f4f4f4; color: #2a2a2a; font: 400 15px/1.55 var(--apple); }
.ucmp-bar { padding: 18px 24px 14px 108px; border-bottom: 1px solid rgb(0 0 0 / 0.06); font-weight: 500; color: #555; }
.ucmp-log { overflow: hidden; padding: 30px 53% 0 4%; display: grid; align-content: start; gap: 18px; }
.ucmp-q { justify-self: end; max-width: 60%; margin: 0; padding: 10px 16px; border-radius: 18px; background: #e3e3e3; }
.ucmp-a { margin: 0; max-width: 46em; }
.ucmp-a p { margin: 0 0 10px; }
.ucmp-a ol { margin: 0 0 10px; padding-left: 1.3em; }
.ucmp-a li { margin-bottom: 7px; }
.ucmp-in { margin: 12px 53% 18px 4%; padding: 13px 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08); color: #999; }
.ucmp-cursor { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: #555; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* a Fig: the things it made */
.ucmp-fig { clip-path: inset(0 0 0 var(--cut, 50%)); background: var(--paper); }
.ucmp-fig .lab { position: absolute; left: var(--x); top: var(--y); }
.ucmp-day { position: absolute; left: 75%; top: 4.5%; translate: -50% 0; margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ucmp-handle { position: absolute; z-index: 7; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; translate: -1px 0; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.08); pointer-events: none; }
.ucmp-knob { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.08), 0 6px 18px rgb(23 21 15 / 0.18); }
.ucmp-knob svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .ucmp-frame { aspect-ratio: 3 / 4.4; border-radius: 22px; }
  .ucmp-bar { padding-left: 96px; font-size: 13px; }
  .ucmp-chat { font-size: 12.5px; line-height: 1.45; }
  .ucmp-log { padding: 16px 6% 0; }
  .ucmp-a li { margin-bottom: 4px; }
  .ucmp-in { margin: 8px 6% 12px; }
  .ucmp-day { left: 50%; }
}

/* ═════ use cases · 3 · a new kind of content ══════════════════════════ */
.uboard { position: relative; height: max(980px, 132svh); overflow-x: clip; }
.uboard .lab { position: absolute; left: var(--x); top: var(--y); translate: 0 var(--py, 0px); transition: opacity 900ms var(--ease) var(--dl, 0ms); opacity: 0; }
.uboard.in .lab { opacity: 1; }
.uboard-words { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; padding: 0 var(--gutter); text-align: center; pointer-events: none; }
.uboard-words h2 { margin: 0; max-width: 8em; font-size: clamp(46px, 6.8vw, 112px); line-height: 0.95; letter-spacing: -0.04em; text-shadow: 0 0 40px var(--paper), 0 0 18px var(--paper), 0 0 6px var(--paper); }
.uboard-words p { margin: 22px 0 0; max-width: 24em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--quiet); text-shadow: 0 0 16px var(--paper), 0 0 6px var(--paper); }
.uboard-halo { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(980px, 92vw); height: 52%; translate: -50% -50%; background: radial-gradient(closest-side, var(--paper) 52%, rgb(249 250 251 / 0) 100%); pointer-events: none; }

/* ═════ use cases · 4 · Mind Rooms ═════════════════════════════════════ */
.urooms { position: relative; height: calc(var(--n, 6) * 62svh + 100svh); }
.urooms-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(70px, 9vh, 96px) var(--gutter) clamp(30px, 5vh, 50px); }
.urooms-left { display: grid; gap: clamp(26px, 4vh, 40px); justify-items: center; }
.urooms-h { margin: 0; text-align: center; }
.urooms-h .u123-k { margin-bottom: 10px; }
.urooms-h h2 { margin: 0; max-width: 9em; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.032em; text-wrap: balance; }
.urooms-pills { display: grid; justify-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.urooms-pill { padding: 18px 30px 19px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgb(23 23 23 / 0.04), 0 4px 14px rgb(23 21 15 / 0.07); font: 400 clamp(17px, 1.4vw, 21px)/1 var(--sans); letter-spacing: -0.01em; cursor: pointer; transition: scale 500ms var(--spring), box-shadow 400ms ease, color 300ms ease; }
.urooms-pill:not(.is-on) { color: rgb(23 23 23 / 0.55); }
.urooms-pill.is-on { scale: 1.07; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.05), 0 14px 34px rgb(23 21 15 / 0.14); }
.urooms-room { position: relative; height: min(76svh, 720px); }
.urooms-set { position: absolute; inset: 0; pointer-events: none; }
.urooms-set .lab { position: absolute; left: var(--x); top: var(--y); opacity: 0; translate: 0 22px; scale: 0.96; transition: opacity 500ms var(--ease), translate 800ms var(--expo), scale 800ms var(--expo); }
.urooms-set.is-on .lab { opacity: 1; translate: 0 0; scale: 1; transition-delay: var(--dl, 0ms); }
.urooms-name { position: absolute; left: 50%; top: -2%; translate: -50% 0; margin: 0; font-size: 15px; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity 400ms ease; }
.urooms-set.is-on .urooms-name { opacity: 1; }
@media (max-width: 860px) {
  .urooms { height: auto; }
  .urooms-stage { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding: var(--beat) 0; }
  .urooms-h { padding: 0 var(--gutter); }
  .urooms-pills { display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 8px var(--gutter) 14px; scrollbar-width: none; }
  .urooms-pills::-webkit-scrollbar { display: none; }
  .urooms-pill { flex: none; padding: 13px 20px; font-size: 16px; }
  .urooms-pill.is-on { scale: 1.04; }
  .urooms-room { height: 560px; margin: 0 var(--gutter); }
}

/* ═════ not an assistant, a character ═══════════════════════════════════ */
/* each picture is the carica lab's own chat screen, still, on the lab's
   sheet: the chat on screen at the top as the lab's band raises it, the
   conversation (kit .lchat, a size up) sitting on the composer at the foot,
   and the composer, empty, with its placeholder. --k scales all three */
.uq-pic.uq-chat { --k: 1.08; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; place-items: stretch; padding: 0; background: hsl(300 8% 97.5%); font-family: var(--sans); text-align: left; -webkit-font-smoothing: antialiased; }
.uq-chat > .lchat { --k: inherit; flex: 1; justify-content: flex-end; padding: calc(16px * var(--k)) 16px calc(16px * var(--k)); }
/* the top: the band's raised pill (features/board/chat-bar/FigSwitcher): a
   white pill on the card shadow, the face (28px) 6px in, the name 8px on */
.lc-top { flex: none; display: flex; justify-content: center; padding: calc(15px * var(--k)) 16px 0; }
.lc-pill { display: inline-flex; align-items: center; gap: calc(8px * var(--k)); max-width: 100%; height: calc(40px * var(--k)); padding: 0 calc(16px * var(--k)) 0 calc(6px * var(--k)); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px hsl(0 0% 0% / 0.03), 0 8px 20px hsl(0 0% 0% / 0.05); }
.lc-pill b { overflow: hidden; font-size: calc(16px * var(--k)); line-height: calc(22px * var(--k)); font-weight: 500; color: hsl(0 0% 5%); white-space: nowrap; text-overflow: ellipsis; }
.lc-faces { display: flex; flex: none; }
.lc-faces > * { --s: calc(28px * var(--k)); width: var(--s); height: var(--s); }
/* a room's: its faces, small and cutting into each other (RoomRow FigCluster) */
.lc-pill--room .lc-faces > * { --s: calc(22px * var(--k)); box-shadow: 0 0 0 calc(2px * var(--k)) #fff; }
.lc-pill--room .lc-faces > * + * { margin-left: calc(-4px * var(--k)); }
.lc-faces .lav { font-size: calc(10px * var(--k)); background: hsl(0 0% 91%); }
/* the input, empty: the white pill on the sheet's shadow, the placeholder
   in body type. A group chat's (components/room/Composer): the plus first,
   the send last, in ink and quiet until there is something to send */
.lc-comp { flex: none; padding: 0 16px calc(15px * var(--k)); }
.lc-field { display: flex; align-items: center; gap: calc(4px * var(--k)); height: calc(52px * var(--k)); padding: 0 calc(6px * var(--k)); border-radius: 999px; background: #fff; box-shadow: 0 2px 6px hsl(0 0% 0% / 0.03), 0 14px 32px hsl(0 0% 0% / 0.08); }
.lc-ph { flex: 1; min-width: 0; overflow: hidden; padding-left: calc(2px * var(--k)); font-size: calc(15px * var(--k)); line-height: calc(22px * var(--k)); color: hsl(240 2% 46%); white-space: nowrap; text-overflow: ellipsis; }
.lc-btn { display: grid; place-items: center; flex: none; width: calc(40px * var(--k)); height: calc(40px * var(--k)); border-radius: 50%; color: hsl(240 2% 46%); }
.lc-btn svg { width: calc(18px * var(--k)); height: calc(18px * var(--k)); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lc-btn.lc-send { background: hsl(0 0% 5%); color: hsl(0 0% 97%); opacity: 0.5; }
.lc-send svg { stroke-width: 2.5; }
/* with a Fig, the lab's bar (chat-bar/ChatBar): the Fig's face beside the
   pill, the prompt 16px in (the lab's 18, two px given back so the words
   keep their room beside a classic scrollbar too), the arrows that open the
   chat at its end */
.lc-comp--bar { display: flex; align-items: center; gap: calc(8px * var(--k)); }
.lc-comp--bar .lc-field { flex: 1; min-width: 0; gap: calc(8px * var(--k)); padding: 0 calc(14px * var(--k)) 0 calc(16px * var(--k)); }
.lc-comp--bar .lc-btn { width: auto; height: auto; }
.lc-comp--bar .lc-btn svg { stroke-width: 1.8; }
.lc-face { display: grid; flex: none; }
.lc-face > * { --s: calc(38px * var(--k)); width: var(--s); height: var(--s); box-shadow: 0 4px 12px rgb(0 0 0 / 0.12); }
/* the three cards share their rows (subgrid), so the pictures are as tall as
   the longest chat and the words under them line up */
.uniq { grid-template-rows: auto auto; }
.uniq > .uq { grid-row: span 2; grid-template-rows: subgrid; }
.uniq > .uq > .uq-pic { min-height: 420px; }
/* a title on two lines breaks evenly: "Sometimes totally / out of control :))" */
.uniq > .uq h3 { text-wrap: balance; }
/* a narrower desk takes the chats a size down, so every input's words
   still fit their pill; under 1180px the cards stand one under another, a
   phone's card at most (its 16px frame), the three pictures one height */
@media (max-width: 1279px) { .uq-pic.uq-chat { --k: 1; } }
@media (max-width: 1180px) {
  .unique > .uniq { grid-template-columns: minmax(0, 1fr); width: min(100%, 460px); }
  .uniq > .uq { grid-row: auto; grid-template-rows: auto auto; padding: 16px; }
  .uniq > .uq > .uq-pic { min-height: 590px; }
  /* one under another, the two-line chat needs no group chat's height
     (17 Oct, for phones: it stood mostly empty) */
  .uniq > .uq > .uq-pic.uq-nah { min-height: 340px; }
}
/* from 520px a stacked card is the whole 460px and its picture 428px wide
   at every width: the chat takes the room a size up instead of leaving it
   blank under the pill, and the three still end one height */
@media (min-width: 520px) and (max-width: 1180px) {
  .uq-pic.uq-chat { --k: 1.1; }
  .uniq > .uq > .uq-pic { min-height: 592px; }
  .uniq > .uq > .uq-pic.uq-nah { min-height: 360px; }
}

/* ═════ where it lives (?where=1..5) ════════════════════════════════════ */
.where { padding: calc(var(--beat) * 0.85) var(--gutter); text-align: center; }
.w-head { width: min(100%, 900px); margin: 0 auto; }
.w-h { margin: 0 auto; max-width: 13em; font-size: clamp(32px, 3.8vw, 58px); line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; }
.w-sub { margin: 16px auto 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--quiet); }
.w-tile { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.06), 0 8px 20px rgb(23 21 15 / 0.07); vertical-align: middle; }
.w-tile img { width: 50%; height: 50%; }
.w-tile--sm { width: 30px; height: 30px; border-radius: 9px; background: none; box-shadow: none; }
.w-tile--sm img { width: 76%; height: 76%; }
.w-tile--xs { width: 24px; height: 24px; border-radius: 6px; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.05); }
.w-tile--big { width: 76px; height: 76px; border-radius: 22px; }
/* 1 · one row */
.w-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 760px; margin: clamp(30px, 4vw, 48px) auto 0; }
.w-chats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 34px); }
.w-chat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.07); font-size: 16px; }
/* 2 · two chats and the app */
.w-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); width: min(100%, 940px); margin: clamp(30px, 4vw, 56px) auto 0; align-items: end; }
.w-shot { margin: 0; display: grid; gap: 14px; justify-items: center; }
.w-shot > img, .w-phone { width: 100%; max-width: 260px; aspect-ratio: 390 / 760; border-radius: 30px; background: #fff; box-shadow: 0 0 0 7px #111, 0 24px 50px rgb(23 21 15 / 0.2); object-fit: cover; object-position: top; overflow: hidden; }
.w-shot figcaption { font-size: 14px; color: var(--muted); }
.w-phone { display: grid; grid-template-rows: auto minmax(0, 1fr); text-align: left; }
.w-ph-top { display: grid; justify-items: center; gap: 4px; padding: 20px 0 10px; border-bottom: 1px solid var(--hair); background: #fafafa; font: 500 13px/1.2 var(--apple); }
.w-ph-top .figav { --s: 38px; }
.w-ph-top small { font-weight: 400; font-size: 11px; color: var(--muted); }
.w-ph-log { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 10px 18px; font-size: 13.5px; }
.w-phone--imsg .bub { max-width: 88%; }
.w-phone--wa { background: #efe7dd; }
.w-wa { margin: 0; max-width: 86%; padding: 6px 9px 7px; border-radius: 8px; background: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / 0.08); font: 400 13px/1.35 var(--apple); }
.w-wa b { display: block; font-weight: 500; font-size: 11.5px; color: #d24a3a; }
.w-wa:nth-child(2) b { color: #a0522d; }
.w-wa--out { align-self: flex-end; background: #d9fdd3; }
@media (max-width: 760px) {
  .w-three { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 18% 16px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .w-three::-webkit-scrollbar { display: none; }
  .w-shot { scroll-snap-align: center; }
}
/* 3 · the orbit */
.w-orbit { position: relative; width: min(80vw, 500px); aspect-ratio: 1; margin: clamp(40px, 5vw, 70px) auto 0; }
.w-ring { position: absolute; inset: 15%; border-radius: 50%; border: 1px dashed rgb(23 23 23 / 0.16); animation: w-spin 80s linear infinite; }
.w-ring--out { inset: -1%; border-color: rgb(0 0 184 / 0.22); animation-duration: 110s; animation-direction: reverse; }
.w-at { position: absolute; translate: -50% -50%; }
.w-ring--in .w-at > * { animation: w-spin 80s linear infinite reverse; }
.w-ring--out .w-at > * { animation: w-spin 110s linear infinite; }
.w-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.05), 0 18px 44px rgb(23 21 15 / 0.14); }
.w-core img { width: 58%; }
@keyframes w-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .w-ring, .w-ring .w-at > * { animation: none; } }
@media (max-width: 640px) { .w-tile { width: 44px; height: 44px; border-radius: 13px; } .w-tile--big { width: 58px; height: 58px; } }
/* 4 · a lock screen */
.w-lock { width: min(100%, 350px); aspect-ratio: 390 / 720; margin: clamp(30px, 4vw, 56px) auto 0; padding: 52px 12px 20px; border-radius: 46px; background: linear-gradient(165deg, #5e7392 0%, #a8988f 55%, #e6c3a1 100%); box-shadow: 0 0 0 8px #111, 0 30px 70px rgb(23 21 15 / 0.25); color: #fff; text-align: center; }
.w-lock-t { margin: 0; font: 200 74px/1 var(--apple); letter-spacing: -0.02em; }
.w-lock-d { margin: 6px 0 28px; font: 500 16px/1 var(--apple); }
.w-notes { display: grid; gap: 8px; text-align: left; }
.w-note { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 9px; row-gap: 1px; align-items: start; margin: 0; padding: 11px 12px 12px; border-radius: 18px; background: rgb(255 255 255 / 0.66); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: #1c1c1e; font: 400 13px/1.3 var(--apple); opacity: 0; translate: 0 -14px; transition: opacity 500ms var(--ease), translate 700ms var(--pop); }
.w-note .w-tile { grid-row: 1 / span 2; }
.w-note b { grid-column: 2; font-weight: 600; }
.w-note span { grid-column: 2; }
.w-note i { grid-column: 3; grid-row: 1; font-style: normal; font-size: 11px; color: rgb(28 28 30 / 0.55); }
.in .w-note { opacity: 1; translate: 0 0; }
.in .w-note:nth-child(2) { transition-delay: 500ms; } .in .w-note:nth-child(3) { transition-delay: 1000ms; } .in .w-note:nth-child(4) { transition-delay: 1500ms; }
/* 5 · one sentence */
.wv5 { padding-block: calc(var(--beat) * 1.1); }
.w-sentence { width: min(100%, 1080px); margin: 0 auto; font-size: clamp(30px, 3.7vw, 58px); line-height: 1.34; letter-spacing: -0.03em; text-wrap: balance; }
.w-nb { white-space: nowrap; }
.w-sentence .w-in { width: 1.12em; height: 1.12em; border-radius: 0.3em; margin: 0 0.06em; translate: 0 -0.08em; }

/* ═════ playful and proactive (?play=1..5) ══════════════════════════════ */
.play { padding: calc(var(--beat) * 0.9) var(--gutter); text-align: center; overflow-x: clip; }
.pl-head { width: min(100%, 980px); margin: 0 auto; }
.pl-h { margin: 0 auto; max-width: 13em; font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.pl-cap { display: grid; margin: clamp(22px, 3vw, 34px) auto 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--quiet); }
.pl-cap > span { grid-area: 1 / 1; transition: opacity 500ms ease, translate 600ms var(--expo); }
.pl-cap-b { opacity: 0; translate: 0 8px; color: var(--ink); }
.is-after .pl-cap-a, .is-fig .pl-cap-a { opacity: 0; translate: 0 -8px; }
.is-after .pl-cap-b, .is-fig .pl-cap-b { opacity: 1; translate: 0 0; }
.pl-again { margin-top: 12px; padding: 6px 14px; border: 0; border-radius: 999px; background: none; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.1); font: 400 13px/1 var(--apple); color: var(--muted); cursor: pointer; opacity: 0; transition: opacity 400ms ease 1.8s; }
.is-after .pl-again { opacity: 1; }
/* 1 · the cursor */
.pl-cur-stage { position: relative; width: min(100%, 1040px); height: clamp(400px, 42vw, 540px); margin: clamp(26px, 4vw, 50px) auto 0; }
.pl-cur-box { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; display: flex; align-items: center; gap: 2px; width: min(560px, 88%); padding: 20px 26px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.08), 0 12px 30px rgb(23 21 15 / 0.08); font: 400 clamp(17px, 1.5vw, 21px)/1 var(--apple); color: #9a9a9a; text-align: left; transition: opacity 600ms ease, scale 700ms var(--expo); }
.is-after .pl-cur-box { opacity: 0; scale: 0.92; }
.pl-cur-stage .lab { position: absolute; left: var(--x); top: var(--y); opacity: 0; translate: 0 -46px; scale: 0.9; transition: opacity 500ms ease var(--dl), translate 900ms var(--pop) var(--dl), scale 900ms var(--pop) var(--dl); }
.is-after .pl-cur-stage .lab { opacity: 1; translate: 0 0; scale: 1; }
/* 2 · table tennis */
.pl-pong { position: relative; width: min(100%, 880px); margin: clamp(40px, 5vw, 70px) auto 0; padding: 0 70px; }
.pl-table { display: block; width: 100%; height: auto; overflow: visible; }
.t-top { fill: #eef1f4; stroke: rgb(23 23 23 / 0.16); stroke-width: 1.5; }
.t-mid { stroke: rgb(23 23 23 / 0.12); stroke-width: 1.2; stroke-dasharray: 3 7; }
.t-net { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ball { fill: #fff; stroke: #e8a33d; stroke-width: 3.5; }
.ball-sh { fill: rgb(23 23 23 / 0.35); }
.pl-side { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; }
.pl-side--you { left: 0; }
.pl-side--them { right: 0; }
.pl-side .u-face { width: 56px; height: 56px; font-size: 14px; box-shadow: none; }
.pl-them-a { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #cfd2d6; color: #fff; font: 500 15px/1 var(--sans); transition: opacity 400ms ease; }
.pl-them-b { position: absolute; --s: 56px; opacity: 0; transition: opacity 400ms ease; }
.is-fig .pl-them-a { opacity: 0; }
.is-fig .pl-them-b { opacity: 1; }
.pl-bub { position: absolute; margin: 0; opacity: 0; transition: opacity 400ms ease, translate 500ms var(--pop); }
.pl-bub--wait { right: 4%; top: -2%; font-size: 15px; color: var(--muted); }
.is-waiting .pl-bub--wait { opacity: 1; }
.pl-bub--serve { left: 9%; top: -12%; translate: 0 8px; text-align: left; }
.is-serving .pl-bub--serve { opacity: 1; translate: 0 0; }
/* 3 · the week */
.pl-week { width: min(100%, 1060px); margin: clamp(26px, 4vw, 50px) auto 0; }
.pl-grid { display: grid; grid-template-columns: 80px repeat(7, minmax(0, 1fr)); grid-template-rows: auto repeat(3, clamp(80px, 8.4vw, 108px)); gap: 6px; text-align: left; }
.pl-day { grid-row: 1; grid-column: calc(var(--c) + 2); padding: 0 4px 6px; font-size: 13px; color: var(--muted); }
.pl-row { grid-column: 1; grid-row: calc(var(--r) + 2); align-self: center; font-size: 13px; color: var(--muted); }
.pl-cell { position: relative; grid-column: calc(var(--c) + 2); grid-row: calc(var(--r) + 2); border-radius: 12px; background: #f0f1f3; }
.pl-cell.is-work { background: repeating-linear-gradient(-45deg, #e6e7e9 0 6px, #eef0f2 6px 12px); }
.pl-cell em { position: absolute; left: 10px; top: 9px; font-style: normal; font-size: 12px; color: #9fa3a8; }
.pl-plan { position: absolute; inset: 4px; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 8px 9px 9px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 184 / 0.16), 0 8px 18px rgb(23 21 15 / 0.08); font: 500 clamp(11.5px, 1vw, 13.5px)/1.22 var(--apple); color: var(--ink); opacity: 0; scale: 0.8; transition: opacity 400ms ease var(--dl), scale 600ms var(--pop) var(--dl); }
.pl-plan .figav { --s: 22px; }
.is-after .pl-plan { opacity: 1; scale: 1; }
@media (max-width: 760px) {
  .pl-grid { grid-template-columns: 40px repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(7, 64px); gap: 5px; }
  .pl-day { grid-row: calc(var(--c) + 2); grid-column: 1; align-self: center; padding: 0; }
  .pl-row { grid-row: 1; grid-column: calc(var(--r) + 2); padding: 0 4px 4px; }
  .pl-cell { grid-row: calc(var(--c) + 2); grid-column: calc(var(--r) + 2); }
  .pl-plan .figav { display: none; }
}
/* 4 · the counter and the door */
.pl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); width: min(100%, 980px); margin: clamp(30px, 4vw, 56px) auto 0; align-items: end; }
.pl-panel { margin: 0; display: grid; justify-items: center; gap: 22px; }
.pl-panel figcaption { max-width: 15em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; color: var(--quiet); }
.pl-vend { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 54px; grid-template-rows: minmax(0, 1fr) 68px; gap: 12px; width: 230px; height: 360px; padding: 16px; border-radius: 18px; background: #e6e3dc; box-shadow: inset 0 -6px 0 rgb(0 0 0 / 0.05), 0 18px 40px rgb(23 21 15 / 0.12); }
.pl-vend-win { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 8px; padding: 12px; border-radius: 10px; background: #2b2f36; }
.pl-vend-win i { height: 44px; border-radius: 6px; background: var(--c); }
.pl-vend-side { display: grid; justify-items: center; align-content: start; gap: 14px; padding-top: 6px; }
.pl-slot { width: 8px; height: 32px; border-radius: 4px; background: #2b2f36; }
.pl-keys { display: grid; grid-template-columns: repeat(3, 10px); gap: 5px; }
.pl-keys b { width: 10px; height: 10px; border-radius: 50%; background: #cbc6bc; }
.pl-tray { position: relative; grid-column: 1 / -1; overflow: hidden; border-radius: 10px; background: #2b2f36; }
.pl-can { position: absolute; left: 50%; bottom: 12px; translate: -50% -90px; padding: 8px 14px; border-radius: 999px; background: #fff; font: 500 13px/1 var(--apple); color: #666; white-space: nowrap; opacity: 0; transition: translate 300ms ease, opacity 200ms ease; }
.is-can .pl-can { translate: -50% 0; opacity: 1; transition: translate 650ms cubic-bezier(0.3, 1.5, 0.5, 1), opacity 150ms ease; }
.pl-coin { position: absolute; z-index: 2; right: -64px; top: -26px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: 0 6px 14px rgb(0 0 0 / 0.12); font: 500 13px/1 var(--apple); color: #666; white-space: nowrap; transition: translate 900ms var(--expo), opacity 500ms ease; }
.is-coin .pl-coin { translate: -58px 52px; opacity: 0; transition: translate 900ms var(--expo), opacity 500ms ease 600ms; }
.pl-door { position: relative; width: 214px; height: 360px; border-radius: 6px 6px 0 0; background: #c0412e; box-shadow: inset 0 0 0 10px #ac3a28, 0 18px 40px rgb(23 21 15 / 0.14); }
.pl-door::before, .pl-door::after { content: ''; position: absolute; left: 30px; right: 30px; border-radius: 4px; box-shadow: inset 0 0 0 3px #ac3a28; }
.pl-door::before { top: 30px; height: 96px; }
.pl-door::after { bottom: 30px; height: 120px; }
.pl-knob { position: absolute; right: 22px; top: 52%; width: 14px; height: 14px; border-radius: 50%; background: #e8c77a; box-shadow: 0 2px 3px rgb(0 0 0 / 0.25); }
.pl-letter { position: absolute; left: 50%; top: 44%; translate: -50% 0; width: 72px; height: 12px; border-radius: 3px; background: #e8c77a; }
.pl-bell { position: absolute; right: -32px; top: 46%; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #d8d4cc; }
.pl-ding { position: absolute; right: -104px; top: 30%; font-family: 'Nanum Pen Script', 'Bradley Hand', cursive; font-size: 30px; color: var(--blue); white-space: nowrap; opacity: 0; rotate: 8deg; }
.is-ding .pl-ding { animation: pl-ding 1.4s var(--pop) both; }
@keyframes pl-ding { 0% { opacity: 0; scale: 0.6; } 25% { opacity: 1; scale: 1.1; } 45% { rotate: -4deg; } 65% { rotate: 8deg; } 100% { opacity: 1; scale: 1; } }
.pl-door { margin-bottom: 150px; }
.pl-under { position: absolute; left: -70px; right: -70px; top: 100%; height: 150px; overflow: hidden; }
.pl-note { display: flex; justify-content: center; translate: 0 -100%; transition: translate 1100ms var(--expo); }
.is-note .pl-note { translate: 0 -6%; }
.pl-vend { margin-bottom: 150px; }
@media (max-width: 760px) {
  .pl-two { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .pl-vend { width: 200px; height: 310px; }
  .pl-door { width: 190px; height: 320px; }
  .pl-ding { right: -84px; font-size: 24px; }
}
/* 5 · the dice */
.pl-dice { display: grid; justify-items: center; gap: 26px; margin: clamp(36px, 5vw, 64px) auto 0; }
.pl-cube-wrap { width: 150px; height: 150px; perspective: 700px; }
.pl-cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-16deg) rotateY(22deg); transition: transform 1300ms cubic-bezier(0.2, 0.8, 0.2, 1); cursor: pointer; }
.pl-face { position: absolute; inset: 0; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); grid-template-areas: "p1 p2 p3" "p4 p5 p6" "p7 p8 p9"; padding: 22px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px rgb(23 23 23 / 0.08), inset 0 -10px 24px rgb(23 21 15 / 0.06); backface-visibility: hidden; }
.pl-face i { place-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.pl-face--1 i { background: var(--red); width: 30px; height: 30px; }
.pl-face--1 { transform: translateZ(75px); }
.pl-face--6 { transform: rotateY(180deg) translateZ(75px); }
.pl-face--2 { transform: rotateY(90deg) translateZ(75px); }
.pl-face--5 { transform: rotateY(-90deg) translateZ(75px); }
.pl-face--3 { transform: rotateX(90deg) translateZ(75px); }
.pl-face--4 { transform: rotateX(-90deg) translateZ(75px); }
.pl-dare { display: grid; justify-items: center; gap: 4px; min-height: 96px; opacity: 0; transition: opacity 400ms ease; }
.is-after .pl-dare { opacity: 1; }
.is-rolling .pl-dare { opacity: 0; transition-duration: 150ms; }
.pl-dare-k { margin: 0; font-family: 'Nanum Pen Script', 'Bradley Hand', cursive; font-size: 28px; line-height: 1; color: var(--red); }
.pl-dare-t { margin: 0; max-width: 15em; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }

/* ═════ the four pillars (?pillars=1..3) ════════════════════════════════ */
.pillars { padding: var(--beat) var(--gutter); }
.pl-top { margin: 0 auto clamp(40px, 5vw, 70px); text-align: center; }
.pl-top-h { margin: 0; font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.pl-word { display: block; width: auto; height: clamp(46px, 4.4vw, 66px); margin: 0 auto; }
.pl-line { margin: 12px auto 0; max-width: 17em; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.4; color: var(--quiet); text-align: center; text-wrap: balance; }
.pl-block { display: grid; justify-items: center; align-content: start; }
/* 1 · four phones */
.pl-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); width: min(100%, 1320px); margin: 0 auto; }
@media (max-width: 1100px) { .pl-four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; } }
@media (max-width: 640px) {
  .pl-four { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 8% 12px; scrollbar-width: none; }
  .pl-four::-webkit-scrollbar { display: none; }
  .pl-four .pl-block { scroll-snap-align: center; }
}
/* the phone: the lab's light screen */
.ph { width: min(100%, 288px); aspect-ratio: 9 / 17; margin-top: clamp(18px, 2vw, 26px); padding: 8px; border-radius: 44px; background: #111; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset, 0 26px 60px rgb(23 21 15 / 0.2); text-align: left; }
.ph-scr { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; overflow: hidden; border-radius: 36px; background: #f5f5f5; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.ph-me { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e6e6e6; font: 500 10px/1 var(--apple); color: #555; }
.ph-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.08); }
.ph-tabs i { width: 18px; height: 18px; border-radius: 50%; background: #f1f1f1; }
.ph-tabs i:first-child { background: #e1e1e1; }
.ph-body { display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 6px 12px 8px; }
.ph-feed { display: flex; flex-direction: column; gap: 7px; font-size: 14px; transition: opacity 220ms ease, translate 320ms var(--expo); }
.ph-feed.is-swap { opacity: 0; translate: 0 8px; }
.ph-feed .bub { max-width: 90%; }
.ph-feed .bub--fig { --bg: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.07); }
.ph-feed .who { margin: 4px 0 0 6px; }
.ph-feed .lab { align-self: center; max-width: 100%; margin: -10px 0 -6px; }
.ph-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px 16px; }
.ph-fig { flex: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 50% 56%, #1b1b1b 0 27%, transparent 29%) #3be63b; box-shadow: 0 0 0 3px rgb(59 230 59 / 0.22); }
.ph-in { flex: 1; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.08); font: 400 12px/1 var(--apple); color: #9a9a9a; white-space: nowrap; overflow: hidden; }
.ph-room { align-self: center; margin: 0; font: 500 12px/1.3 var(--apple); color: #666; }
.ph-card { overflow: hidden; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.07); font: 400 12.5px/1.38 var(--apple); color: var(--ink); }
.ph-card-k { margin: 0 0 6px; font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: #999; }
.ph-list ol { margin: 0; padding-left: 1.2em; }
.ph-event b, .ph-intro b { display: block; font-weight: 600; }
.ph-event span { color: #777; }
.ph-map { padding: 0; }
.ph-map img { display: block; width: 100%; height: 118px; object-fit: cover; }
.ph-map span { display: block; padding: 8px 12px; color: #666; }
.ph-doc p:last-child { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 14px; line-height: 1.45; }
.ph-3d { display: grid; justify-items: center; padding: 14px 12px 10px; background: radial-gradient(ellipse at 50% 92%, rgb(0 0 0 / 0.08) 0 18%, transparent 40%), #fff; }
.ph-3d-stage { perspective: 420px; }
.ph-3d-stage img { display: block; width: 104px; animation: ph-spin 7s linear infinite; }
@keyframes ph-spin { to { transform: rotateY(360deg); } }
.ph-3d-tag { margin-top: 8px; font-size: 10.5px; color: #888; }
.ph-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ph-intro .u-face { width: 30px; height: 30px; font-size: 12px; box-shadow: none; }
.ph-plus { color: #999; }
.ph-intro b { flex-basis: 100%; margin-top: 4px; }
.sp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.sp { padding: 3px; border-radius: 6px; background: #f4f4f4; }
.sp.is-found { background: #fff3cf; }
.sp svg { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .ph-3d-stage img { animation: none; } }
/* the examples, under each phone */
.ph-dots { display: flex; align-items: center; gap: 4px; margin-top: 16px; }
.ph-dots button { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.12); font: 500 11px/1 var(--apple); color: var(--muted); cursor: pointer; }
.ph-dots button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.ph-ex { margin-left: 8px; font-size: 13px; color: var(--quiet); white-space: nowrap; }
/* 2 · one phone, the pillars in turn */
.plv2 { padding: 0; }
.pl-one { position: relative; height: calc(var(--n, 4) * 80svh + 100svh); }
.pl-one-stage { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(30px, 6vw, 110px); width: min(100%, 1180px); height: 100svh; margin: 0 auto; padding: 0 var(--gutter); }
.pl-one-left .pl-top { margin: 0 0 30px; text-align: left; }
.pl-tabs { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.pl-tab { display: grid; justify-items: start; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; opacity: 0.3; transition: opacity 300ms ease; }
.pl-tab.is-on { opacity: 1; }
.pl-tab .pl-word { margin: 0; height: clamp(40px, 4vw, 58px); }
.pl-tab-line { max-height: 0; overflow: hidden; font-size: 15px; line-height: 1.4; color: var(--quiet); transition: max-height 400ms ease; }
.pl-tab.is-on .pl-tab-line { max-height: 3em; }
.pl-prog { position: relative; display: block; width: 120px; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(23 23 23 / 0.1); }
.pl-prog::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.pl-one-right { position: relative; width: 300px; height: min(680px, 84svh); }
.pl-one-ph { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity 400ms ease, translate 600ms var(--expo); }
.pl-one-ph.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.pl-one-ph .ph { margin-top: 0; }
@media (max-width: 860px) {
  .plv2 { padding: var(--beat) var(--gutter); }
  .pl-one { height: auto; }
  .pl-one-stage { position: relative; grid-template-columns: minmax(0, 1fr); height: auto; padding: 0; }
  .pl-tabs, .pl-prog { display: none; }
  .pl-one-right { width: 100%; height: auto; display: grid; gap: 56px; }
  .pl-one-ph { position: relative; inset: auto; opacity: 1; translate: none; pointer-events: auto; }
  .pl-one-ph::before { content: ''; }
}
/* 3 · a row each */
.pl-rows { display: grid; gap: clamp(64px, 8vw, 120px); width: min(100%, 1040px); margin: 0 auto; }
.pl-row .pl-block { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto minmax(0, 1fr); column-gap: clamp(30px, 7vw, 110px); justify-items: start; align-items: start; }
.pl-row .pl-word { grid-column: 1; margin: 30px 0 0; height: clamp(62px, 7vw, 104px); }
.pl-row .pl-line { grid-column: 1; margin: 18px 0 0; max-width: 14em; font-size: clamp(18px, 1.6vw, 24px); text-align: left; }
.pl-row .ph { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.pl-row .ph-dots { grid-column: 1; grid-row: 3; align-self: end; }
.pl-row.is-flip .pl-block { grid-template-columns: auto minmax(0, 1fr); }
.pl-row.is-flip .pl-word, .pl-row.is-flip .pl-line, .pl-row.is-flip .ph-dots { grid-column: 2; }
.pl-row.is-flip .ph { grid-column: 1; }
@media (max-width: 760px) {
  .pl-row .pl-block, .pl-row.is-flip .pl-block { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .pl-row .pl-word, .pl-row .pl-line, .pl-row .ph, .pl-row .ph-dots { grid-column: 1 !important; grid-row: auto !important; }
  .pl-row .pl-word { margin: 0 auto; }
  .pl-row .pl-line { text-align: center; }
  .pl-row .ph { margin-top: 22px; }
}

/* ═════ playful and proactive · 1 · the chat, and what a Fig makes of it ═ */
.pv1 { padding: 0; }
.cx { position: relative; height: 330svh; }
.cx-stage { position: sticky; top: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100svh; padding: clamp(60px, 9vh, 96px) var(--gutter) clamp(26px, 5vh, 50px); overflow: hidden; }
.cx-scene { position: relative; }
.cx-win { position: absolute; left: 50%; top: 50%; display: grid; align-content: center; justify-items: center; gap: 22px; width: min(640px, 88%); height: min(400px, 74%); padding: 52px 28px 28px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px rgb(23 23 23 / 0.07), 0 24px 70px rgb(23 21 15 / 0.12);
  --fold: 0; translate: -50% -50%; transform-origin: 50% 74%; scale: calc(1 - var(--fold) * 0.82) calc(1 - var(--fold) * 0.9); opacity: calc(1 - var(--fold) * 1.4); }
.cx-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 6px; margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--hair); font: 500 13px/1 var(--apple); color: #777; }
.cx-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e5e5e5; }
.cx-bar b { margin-left: auto; margin-right: auto; font-weight: 500; }
.cx-hi { margin: 0; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; color: #2b2b2b; }
.cx-in { display: flex; align-items: center; gap: 2px; width: min(440px, 92%); padding: 15px 20px; border-radius: 999px; background: #f4f4f4; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05); font: 400 16px/1 var(--apple); color: #9a9a9a; }
.cx-tired { margin: -8px 0 0; font: 400 13px/1.2 var(--apple); color: #aaa; }
.cx-card { position: absolute; left: 50%; top: 50%; z-index: 2; opacity: 0; transform: translate(-50%, -50%) scale(0.12); will-change: transform, opacity; }
.cx-card .lab { width: calc(var(--w) * var(--k, 1) * 1px); }
.cx-say { position: absolute; left: 50%; top: 50%; z-index: 3; margin: 0; opacity: 0; transform: translate(-50%, -50%); white-space: nowrap; }
.cx-scene > .figcur { z-index: 5; }
@media (max-width: 760px) {
  .cx { height: 300svh; }
  .cx-win { height: min(320px, 60%); padding: 46px 18px 22px; }
  .cx-say { white-space: normal; width: 80%; text-align: center; }
}

/* ═════ calmer (John, 17 Oct: "This whole page is quite in-your-face") ═════
   one step down for every big line on the home page; the shared people.css
   and kit.css keep their sizes for the other proposals */
/* and the hero's two lines a step further (John, 18 Oct: "slightly smaller") */
.home-hero .hero-h { font-size: clamp(36px, 5.5vw, 84px); }
.home-hero .hero-sub { font-size: clamp(19px, 2.35vw, 35px); }
.gems .feat-h, .unique .feat-h { font-size: clamp(30px, 4vw, 58px); line-height: 0.98; }
.gems .feat-p { font-size: clamp(16px, 1.25vw, 19px); }
.u123-def-h { font-size: clamp(28px, 3.2vw, 48px); }
/* the same size as the other section titles, "Figs don't wait to be asked."
   (play5.css .play .cx .pl-h; John, 17 Oct) */
.w-h { font-size: clamp(30px, 3.5vw, 52px); line-height: 1; letter-spacing: -0.035em; }
@media (max-width: 899px), (max-width: 1199px) and (max-aspect-ratio: 1/1) { .w-h { font-size: clamp(27px, 7.4vw, 34px); } }
.trust .trust-h { font-size: clamp(26px, 3vw, 44px); }
.door .door-line { font-size: clamp(28px, 4.2vw, 60px); }
.uq h3 { font-size: clamp(21px, 1.8vw, 28px); }
