/* =========================================================
   Moving parts, the home page: the room of components, the three
   ways, the library in use.
   ========================================================= */

/* ---------- the round room, seen from inside ---------- */
.scene { position: relative; height: 100svh; min-height: 640px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(130% 95% at 50% 55%, transparent 62%, color-mix(in srgb, var(--bg) 50%, transparent) 100%); }
.stage { position: absolute; inset: 0; perspective-origin: 50% 55%; z-index: 1; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.stage:focus-visible { outline: 2px solid var(--line-strong); outline-offset: -6px; border-radius: 20px; }
.scene.is-dragging, .scene.is-dragging * { cursor: grabbing !important; }
.scene.is-dragging .card * { pointer-events: none; }
.drum { position: absolute; left: 50%; top: 55%; width: 0; height: 0; transform-style: preserve-3d; }
.card { position: absolute; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; padding: 10px 10px 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: border-color .3s; visibility: hidden; }
.card .pv { position: relative; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: var(--preview); border: 1px solid var(--line); }
.card .meta { display: flex; align-items: center; gap: 8px; padding: 11px 4px 12px; }
.card .meta b { font-weight: 430; font-size: 17px; letter-spacing: -.02em; }
.card .meta .badge { font: 500 10px/1.6 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; padding: 1px 7px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--text) 34%, transparent); background: color-mix(in srgb, var(--text) 10%, transparent); }
.card .meta .cat { margin-left: auto; color: var(--label); font-size: 10px; }
.empty { position: absolute; z-index: 3; left: 50%; top: 55%; transform: translate(-50%, -50%); text-align: center; color: var(--muted); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.empty.on { opacity: 1; visibility: visible; transition: opacity .5s .25s; }
.empty b { display: block; color: var(--text); font-weight: 430; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.035em; margin-bottom: 12px; }
.empty button { color: var(--text); }

.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; top: 92px; text-align: center; pointer-events: none; }
.kick { color: var(--label); }
.kick b { color: var(--text); font-weight: 500; }
h1.hero-h { font-weight: 430; font-size: clamp(44px, 6vw, 92px); line-height: .93; letter-spacing: -.05em; margin: 14px auto 0; }
h1.hero-h .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1.hero-h .ln > span { display: block; }
h1.hero-h .ln + .ln { color: var(--muted); }
.dock { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 13px; width: min(640px, calc(100% - 32px)); pointer-events: none; }
.dock > * { pointer-events: auto; }
.lede { color: var(--muted); text-align: center; font-size: 16px; line-height: 1.45; max-width: 54ch; }
.lede b { color: var(--text); font-weight: 460; }
.search { width: 100%; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 7px 0 18px; border-radius: 14px; background: rgba(29, 29, 30, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); }
.search svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.search { transition: border-color var(--mi-fast), background-color var(--mi-fast); }
/* the field lights its frame when it has the focus: the ring is the frame */
.search:focus-within { border-color: rgba(255, 255, 255, .42); background: rgba(33, 33, 35, .92); }
.search input { flex: 1; font-size: 16px; outline: none; min-width: 0; }
.search input::placeholder { color: var(--label); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search .count { color: var(--label); white-space: nowrap; }
.search .count b { color: var(--text); font-weight: 500; }
.search .btn { height: 40px; padding: 0 15px; border-radius: 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chips button { padding: 5px 11px; border-radius: 99px; color: var(--muted); border: 1px solid var(--line); transition: background-color var(--mi-fast), color var(--mi-fast), border-color var(--mi-fast), transform var(--mi-fast) var(--mi-ease); }
/* hovering is not choosing: a hovered chip only brightens its outline, the chosen one is filled */
.chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
/* the hint rides on top of the dock, so it can never run into the words under it, however low the screen */
.dock > .hint { color: var(--label); pointer-events: none; display: flex; gap: 10px; align-items: center; margin-bottom: clamp(0px, 11vh - 60px, 40px); }

/* ---------- three ways in: one component, three alternatives ---------- */
.ways-l { position: absolute; z-index: 4; left: var(--gut); top: 50%; width: min(420px, 28vw); transform: translateY(-50%); opacity: 0; visibility: hidden; }
.ways-l > .mono { color: var(--label); }
.ways-l h2 { font-weight: 430; font-size: clamp(30px, 3vw, 50px); line-height: .96; letter-spacing: -.05em; margin: 12px 0 28px; }
.ways-l h2 span { display: block; color: var(--muted); }
/* "or", not "and": radio dots, one lit at a time, and "or" on the rules between them */
.opts { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 14px; padding: 15px 0; text-align: left; color: var(--label); transition: color .35s; }
.opt b { font-weight: 450; font-size: clamp(17px, 1.35vw, 20px); letter-spacing: -.025em; }
.opt .short { display: none; }
.opt .ic { width: 16px; height: 16px; opacity: .7; }
.opt .rd { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; }
.opt .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .45s var(--ease-out); }
.opt.on { color: var(--text); }
.opt.on .rd::after { transform: scale(1); }
.opt.on[data-w="0"] .rd { border-color: var(--wf); } .opt.on[data-w="0"] .rd::after { background: var(--wf); }
.opts .or { display: flex; align-items: center; gap: 12px; height: 1px; color: var(--label); font: 400 13px/1 "Instrument Sans", sans-serif; letter-spacing: 0; }
.opts .or::before, .opts .or::after { content: ""; height: 1px; background: var(--line); }
.opts .or::before { width: 32px; } .opts .or::after { flex: 1; }
.opts .or span { padding: 0 2px; background: var(--bg); }
.ways-l .note { margin-top: 14px; color: var(--label); }
.prism-wrap { position: absolute; z-index: 5; left: 0; top: 0; perspective: 1400px; visibility: hidden; transform-origin: 0 0; }
.prism { position: absolute; inset: 0; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px #000; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.face .ftop { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); flex: none; }
.face .ftop b { color: var(--text); font-weight: 480; font-size: 13.5px; letter-spacing: -.01em; white-space: nowrap; }
.face .ftop .mono { margin-left: auto; white-space: nowrap; }
.face .fbody { position: relative; flex: 1; min-height: 0; }
.face-live .fbody { margin: 8px; border-radius: 9px; overflow: hidden; }

/* Webflow: navigator, the canvas with the section running, and its custom attributes */
.face-wf { background: #2b2b2b; color: #e6e6e6; }
.face-wf .ftop { border-color: #1e1e1e; color: #9b9b9b; gap: 10px; padding: 0 8px 0 12px; }
.wf-crumb { font-size: 12.5px; color: #d4d4d4; white-space: nowrap; }
.wf-crumb i { font-style: normal; color: #8a8a8a; }
.wf-bp { display: flex; gap: 2px; margin-left: auto; }
.wf-bp span { width: 22px; height: 20px; border-radius: 3px; display: grid; place-items: center; color: #8a8a8a; }
.wf-bp span.on { background: #3d3d3d; color: #fff; }
.wf-bp svg { width: 13px; height: 13px; }
.wf-pub { height: 24px; padding: 0 10px; border-radius: 4px; background: var(--wf); color: #fff; font-size: 12px; font-weight: 500; display: grid; place-items: center; }
.face-wf .fbody { display: grid; grid-template-columns: 25% 1fr 27%; }
.wf-nav { padding: 12px 8px; border-right: 1px solid #1e1e1e; font-size: 11.5px; display: grid; gap: 1px; align-content: start; overflow: hidden; }
.wf-nav .t, .wf-set .t { font: 500 9.5px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 9px; }
.wf-nav div { padding: 5px 6px; border-radius: 3px; display: flex; gap: 6px; align-items: center; white-space: nowrap; color: #cfcfcf; }
.wf-nav div i { width: 9px; height: 9px; border: 1.2px solid #9b9b9b; border-radius: 2px; flex: none; }
.wf-nav div.on { background: var(--wf); color: #fff; }
.wf-nav div.on i { border-color: #fff; }
.wf-canvas { position: relative; background: #1e1e1e; padding: 14px 10px; display: flex; flex-direction: column; justify-content: center; }
.wf-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 2px; box-shadow: 0 0 0 1px var(--wf); background: #fff; }
.wf-frame .clip { position: absolute; inset: 0; }
.wf-tag { position: absolute; z-index: 5; left: -1px; top: -17px; height: 17px; padding: 0 6px; background: var(--wf); color: #fff; font: 500 10px/17px "Instrument Sans", sans-serif; border-radius: 2px 2px 0 0; white-space: nowrap; }
.wf-rule { margin-top: 10px; display: flex; justify-content: space-between; font: 500 9px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #6f6f6f; }
.wf-set { padding: 12px 10px; display: grid; gap: 7px; align-content: start; border-left: 1px solid #1e1e1e; font-size: 12px; overflow: hidden; }
.wf-set .attr { display: grid; gap: 3px; padding: 7px 8px; border-radius: 4px; background: #383838; font: 500 11px/1.25 "Geist Mono", monospace; overflow: hidden; text-overflow: ellipsis; }
.wf-set .attr span { color: #9b9b9b; font-size: 9.5px; }
.wf-set .paste { margin-top: 4px; display: flex; align-items: center; gap: 7px; padding: 8px; border-radius: 5px; background: rgba(20, 110, 245, .16); color: #9cc3ff; font: 500 10px/1.2 "Geist Mono", monospace; letter-spacing: .04em; }

/* Code: the zip, open in an editor */
.face-code { background: #100c09; }
.face-code .ftop { gap: 12px; }
.tl-dots { display: flex; gap: 6px; }
.tl-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a211a; }
.face-code .fbody { display: grid; grid-template-columns: 27% 1fr; }
.tree { border-right: 1px solid var(--line); padding: 12px 8px; display: grid; gap: 1px; align-content: start; font-size: 12px; color: #9a8d7d; overflow: hidden; }
.tree .t { font: 500 9.5px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #6a5d50; margin: 0 0 9px 4px; }
.tree div { display: flex; align-items: center; gap: 7px; padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.tree div i { width: 8px; height: 10px; border: 1.2px solid currentColor; border-radius: 1.5px; opacity: .6; flex: none; }
.tree div.dir { color: #ddd2c2; }
.tree div.dir i { width: 10px; height: 8px; border-radius: 1.5px 3px 1.5px 1.5px; }
.tree div.on { background: color-mix(in srgb, var(--text) 7%, transparent); color: #fff; }
.tree div.in { padding-left: 16px; }
.ed { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); flex: none; }
.tabs span { padding: 8px 12px; font-size: 12px; color: #7a6e60; border-right: 1px solid var(--line); white-space: nowrap; }
.tabs span.on { color: var(--text); box-shadow: inset 0 -1.5px 0 var(--text); }
.face-code pre { flex: 1; padding: 12px 12px 12px 0; font: 500 11.5px/1.72 "Geist Mono", monospace; color: #d9cdbc; counter-reset: ln; white-space: pre; overflow: hidden; }
.face-code pre div { counter-increment: ln; }
.face-code pre div::before { content: counter(ln); display: inline-block; width: 30px; text-align: right; padding-right: 12px; color: #453a2f; }
.face-code pre div.hl { background: color-mix(in srgb, var(--text) 4.5%, transparent); }
.face-code .k { color: #6a5d50; font-style: italic; } .face-code .tg { color: #9a8d7d; } .face-code .a { color: #f4ece0; font-weight: 600; } .face-code .s { color: #c4b7a5; }
.code-status { display: flex; gap: 14px; height: 26px; align-items: center; padding: 0 12px; border-top: 1px solid var(--line); color: #6a5d50; flex: none; font-size: 9.5px; }
.code-status b { color: #b9ac9b; font-weight: 500; }
.code-status span:last-child { margin-left: auto; }

/* AI: a calm, bright assistant, the prompt attached, the work reported */
.face-ai { background: radial-gradient(120% 70% at 50% -10%, #fbf6ee 0%, #f4ece0 45%, #e6dccc 100%); color: var(--ink); border-color: rgba(255, 255, 255, .3); }
.face-ai .ftop { border-color: color-mix(in srgb, var(--ink) 8%, transparent); color: #7a6e60; background: rgba(255, 255, 255, .5); }
.face-ai .ftop b { color: var(--ink); }
.orb { position: relative; width: 18px; height: 18px; border-radius: 50%; flex: none; background: conic-gradient(from 0deg, #15100c, #9a8d7d, var(--text), #5f5347, #15100c); animation: orb 6s linear infinite; }
.orb::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbf6ee, #ddd2c2 60%, #b9ac9b); }
@keyframes orb { to { transform: rotate(360deg); } }
.face-ai .fbody { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.face-ai .fbody::before { content: ""; position: absolute; left: 50%; bottom: -45%; width: 90%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ink) 13%, transparent), color-mix(in srgb, var(--ink) 0%, transparent) 62%); pointer-events: none; }
.face-ai .fbody > * { position: relative; }
.ai-sug { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.ai-sug span { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); font-size: 11.5px; color: #5f5347; white-space: nowrap; }
.ai-me { align-self: flex-end; max-width: 84%; background: var(--ink); color: var(--text); border-radius: 16px 16px 4px 16px; padding: 7px 7px 10px; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .5); }
.ai-file { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 11px; background: color-mix(in srgb, var(--text) 8%, transparent); }
.ai-file .doc { position: relative; width: 26px; height: 30px; border-radius: 4px; background: var(--text); flex: none; }
.ai-file .doc::before { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; height: 1.5px; background: #15100c; box-shadow: 0 5px 0 #15100c, 0 10px 0 #a39686; }
.ai-file b { display: block; font-weight: 500; font-size: 12.5px; letter-spacing: -.01em; }
.ai-file span { display: block; font-size: 11px; color: #a39686; }
.ai-me p { font-size: 13px; line-height: 1.4; padding: 8px 5px 0; }
.ai-bot { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; max-width: 94%; }
.ai-bot .orb { width: 22px; height: 22px; margin-top: 1px; }
.ai-bot p { font-size: 13px; line-height: 1.45; color: #2a211a; min-height: 2.9em; }
.ai-bot p b { font-weight: 560; color: var(--ink); }
.ai-bot p .caret { display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-diff { margin-top: 9px; border-radius: 12px; background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent), 0 10px 26px -18px rgba(0, 0, 0, .4); overflow: hidden; }
.ai-diff div { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font: 500 11px/1.2 "Geist Mono", monospace; color: #3a3027; }
.ai-diff div + div { border-top: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); }
.ai-diff div i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.ai-diff div i::after { content: ""; width: 5px; height: 3px; border: solid #fbf6ee; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
.ai-diff div span { margin-left: auto; color: #8f8273; text-transform: uppercase; letter-spacing: .06em; font-size: 9.5px; }
.ai-comp { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; background: #fbf6ee; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 14px 30px -18px rgba(0, 0, 0, .45); font-size: 13px; color: #a39686; }
.ai-comp .send { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.ai-comp .send svg { width: 13px; height: 13px; }

/* the unfolded row reads as one line: Webflow or Code or AI */
.caps { position: absolute; z-index: 6; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; }
.cap, .cap-or { position: absolute; left: 0; top: 0; font-weight: 430; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.04em; line-height: 1; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.cap-or { color: var(--label); letter-spacing: 0; }
.cap-or span { font-size: .5em; font-weight: 400; letter-spacing: .02em; }
.actions { position: absolute; z-index: 4; right: var(--gut); top: 50%; transform: translateY(-50%); width: min(340px, 24vw); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 4px 16px; opacity: 0; visibility: hidden; }
.actions .head { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.actions .head h2 { font-weight: 440; font-size: clamp(24px, 2vw, 32px); line-height: 1; letter-spacing: -.045em; }
.actions .head p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.actions .row { cursor: pointer; }
.actions .row:focus-visible { outline: 1.5px solid var(--text); outline-offset: 2px; border-radius: 8px; }
.actions .row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .35s; opacity: .42; }
.actions .row .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color .35s; }
.actions .row .ic svg { width: 15px; height: 15px; }
.actions .row b { font-weight: 460; font-size: 15px; letter-spacing: -.015em; }
.actions .row p { color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 4px; }
.actions .row.on { opacity: 1; }
.actions .row.on .ic { background: var(--text); color: var(--bg); border-color: var(--text); }
.actions .row.on[data-r="0"] .ic { background: var(--wf); color: #fff; border-color: var(--wf); }
.actions .foot-a { padding: 12px 0 10px; color: var(--label); display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.actions .foot-a b { color: var(--text); font-weight: 500; }
.unfold-t { position: absolute; z-index: 6; left: 0; right: 0; top: 150px; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; }
.unfold-t h2 { font-weight: 430; font-size: clamp(34px, 3.8vw, 58px); letter-spacing: -.05em; line-height: .96; }
.unfold-t h2 span { color: var(--muted); }

/* ---------- the library, in use ---------- */
.walk-frame { position: relative; margin: clamp(24px, 3.5vh, 40px) 0 0; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-strong); background: #141416; overflow: hidden; box-shadow: 0 60px 120px -60px #000; }
.walk-frame .wbar { display: flex; align-items: center; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.walk-frame .clip { aspect-ratio: 16 / 10; background: var(--bg); }
.walk-frame .clip video { object-fit: contain; }
/* the head sits on the axis of the frame under it, which is centred and narrower than the page on a wide screen */
.walk-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.walk-cta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.walk { padding-top: clamp(72px, 9vh, 110px); }
.walk .h2 { font-size: clamp(40px, 4.4vw, 72px); }

@media (max-width: 820px) {
  .hero-copy { top: 76px; padding: 0 var(--gut); }
  h1.hero-h { font-size: clamp(38px, 11vw, 58px); }
  .lede { font-size: 14.5px; }
  .chips { display: none; }
  .search { height: 50px; }
  .search .count { display: none; }
  .dock { bottom: 18px; }
  .ways-l { top: 96px; bottom: 16px; transform: none; width: auto; right: var(--gut); text-align: center; pointer-events: none; }
  .ways-l h2 { font-size: 27px; margin: 0; }
  .ways-l > .mono, .ways-l .note, .opt .ic { display: none; }
  .opts { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 6px; border: 0; pointer-events: auto; }
  .opt { grid-template-columns: 16px auto; gap: 7px; padding: 10px 6px; }
  .opt b { font-size: 15px; }
  .opt .rd { width: 16px; height: 16px; }
  .opt b .long { display: none; }
  .opt b .short { display: inline; }
  .opts .or { height: auto; gap: 0; font-size: 13px; }
  .opts .or::before, .opts .or::after { display: none; }
  .actions { display: none; }
  .face .ftop { padding: 0 10px; }
  .face-wf .fbody { grid-template-columns: 30% 1fr; }
  .wf-set, .wf-bp, .wf-crumb i { display: none; }
  .face-code .fbody { grid-template-columns: 1fr; }
  .tree { display: none; }
  .face-code pre { font-size: 10.5px; }
  .ai-bot p, .ai-me p { font-size: 12px; }
  /* on a phone the AI window keeps the conversation and the composer, without the suggestions */
  .ai-sug { display: none; }
  .face-ai .fbody { gap: 8px; padding: 10px; }
  .ai-comp { margin-top: auto; }
  /* the Webflow bar loses its breakpoints, so Publish takes their push to the right */
  .wf-pub { margin-left: auto; }
  .unfold-t { top: 96px; padding: 0 var(--gut); }
  .unfold-t h2 { font-size: 27px; }
  .cap, .cap-or { font-size: 22px; }
  .walk-frame .wbar { height: 22px; padding: 0 9px; }
  .walk-frame .tl-dots { gap: 4px; }
  .walk-frame .tl-dots i { width: 6px; height: 6px; }
  .log a { grid-template-columns: 1fr 16px; gap: 6px 12px; padding: 16px 0; }
  .log .d { grid-column: 1 / -1; }
  .log p { grid-column: 1 / -1; font-size: 14px; }
  .log svg { grid-row: 2; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .chips button, .opt, .opt .rd::after, .actions .row, .log b, .log svg, .log a::before, .empty { transition: none !important; }
  .orb, .ai-bot p .caret { animation: none; }
}

/* hover, only where a pointer hovers */
@media (hover: hover) {
  .card:hover { border-color: var(--line-strong); }
  .chips button[aria-pressed="false"]:hover { color: var(--text); border-color: var(--line-strong); }
  .opt:not(.on):hover { color: var(--muted); }
  .actions .row:not(.on):hover { opacity: .75; }
  .search:hover:not(:focus-within) { border-color: rgba(255, 255, 255, .24); }
}
@media (prefers-reduced-motion: reduce) { .search { transition: none; } }

/* a screen too low for the room (a phone held sideways): the room takes the screen as it is, the search stays in reach */
@media (max-height: 560px) {
  .scene { min-height: 0; }
  .hero-copy { top: 64px; }
  .kick, .lede, .dock > .hint { display: none; }
  h1.hero-h { font-size: clamp(26px, 7vh, 36px); }
  /* the two lines of the title share one line, above the cards */
  h1.hero-h .ln { display: inline-block; }
  h1.hero-h .ln + .ln { margin-left: .25em; }
  .dock { bottom: 10px; gap: 8px; }
}
