@charset "utf-8";
/* CHAPTER 03, SOFTWARE (main.ch3). Shared chapter parts (cover, section heads, contact) are in
   chapter.css; only what chapter 03 adds is here, every rule scoped to .ch3 so it can join the
   index's document on a page turn without touching it. */

/* ---------- cover: the contents are the picture ---------- */
.ch3 .cv-title { grid-row: 2; }
.ch3 .c3-toc { grid-column: 1 / 13; grid-row: 4; list-style: none; margin: clamp(56px, 6vw, 100px) 0 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: none; }
.ch3 .c3-toc a {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: baseline;
  padding: clamp(14px, 1.4vw, 20px) 0 clamp(13px, 1.3vw, 19px); border-bottom: 1px solid var(--rule); text-decoration: none; isolation: isolate;
}
.ch3 .c3-toc a::before { content: ""; position: absolute; left: -10px; right: -10px; top: -1px; bottom: -1px; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }
.ch3 .c3-toc a:hover::before, .ch3 .c3-toc a:focus-visible::before { transform: scaleX(1); }
.ch3 .c3-toc a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ch3 .t-no { grid-column: 1 / 4; color: var(--accent); transition: color .3s; }
.ch3 .c3-toc a:hover .t-no { color: var(--ink); }
.ch3 .t-name { grid-column: 4 / 7; font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.02em; line-height: 1.05; transition: transform .5s var(--ease); }
.ch3 .c3-toc a:hover .t-name { transform: translateX(10px); }
.ch3 .t-desc { grid-column: 7 / 11; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.35; }
.ch3 .t-st { grid-column: 11 / 13; justify-self: end; color: var(--ink-soft); text-align: right; }
.ch3 .c3-toc a:hover .t-st { color: var(--ink); }
.ch3.anim .c3-toc li { clip-path: inset(0 100% 0 0); }
.ch3.anim .c3-toc li.in { clip-path: inset(0 0 0 0); transition: clip-path .56s steps(7, end); }

/* ---------- figures assembled from blocks (paper and ink) ---------- */
.ch3 .c3p { margin: 0; }
.ch3 .c3p .frame { background: var(--paper); }
.ch3 .dark .c3p .frame { background: #0d0d0c; }
.ch3 .c3p .cap { margin-top: 10px; }
.ch3 .c3p .cap > span:first-child { min-width: 0; }
.ch3 .chip-s { display: inline-block; border: 1px solid currentColor; padding: 6px 10px 5px; line-height: 1; }

/* ---------- 03.1 Local Historian ---------- */
.ch3 .lh { padding-bottom: calc(100vw / 24 * 3 + clamp(110px, 10vw, 170px)); }
.ch3 .lh-now { row-gap: clamp(36px, 3.6vw, 56px); align-items: start; }
.ch3 .lh-meta { grid-column: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ch3 .lh-st { margin: 0; }
.ch3 .lh-text { grid-column: 4 / 10; display: grid; gap: 16px; }
.ch3 .lh-text p { margin: 0; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.42; text-wrap: pretty; }
.ch3 .lh-text .lh-candid { color: var(--ink-soft); }
.ch3 .lh-pair { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
.ch3 .lh-pair .frame { aspect-ratio: 16 / 10; }

/* the tape: a dark screen inside the paper. With motion the stage holds still while the page
   runs the film; without it, one still and the two lines below it. */
.ch3 .lh-run { position: relative; margin: clamp(80px, 8vw, 130px) calc(-1 * var(--m)) 0; }
.ch3 .lh-stage { position: relative; background: #0b0b0a; color: var(--bone); overflow: hidden; padding: 0 0 26px; }
.ch3 .lh-screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ch3 .lh-screen img, .ch3 .lh-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.ch3 .lh-screen canvas { opacity: 0; }
.ch3 .lh-run.live .lh-screen canvas { opacity: 1; }
.ch3 .lh-lines { list-style: none; margin: 0; padding: 26px var(--m) 0; display: grid; gap: 22px; }
.ch3 .lh-line .mono { color: var(--accent); display: block; margin-bottom: 8px; }
.ch3 .lh-line p { margin: 0; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.2; letter-spacing: -.01em; max-width: 26em; text-wrap: pretty; }
.ch3 .lh-line.l1 p { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(28px, 3.4vw, 60px); line-height: .9; }
.ch3 .lh-tc { display: none; }
.ch3 .lh-foot { padding: 26px var(--m) 0; display: grid; gap: 18px; }
.ch3 .lh-cap { margin: 0; color: #a7a39b; }
.ch3 .lh-go { display: inline-flex; flex-direction: column; gap: 6px; align-self: start; justify-self: start; text-decoration: none; padding: 14px 18px 13px; background: var(--bone); color: var(--ink); }
.ch3 .lh-go .mono { color: var(--accent); }
.ch3 .lh-go-t { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.05; }
.ch3 .lh-go i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.ch3 .lh-go:hover i { transform: translateX(5px); }
.ch3 .lh-go:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

.ch3 .lh-run.pin { height: calc(100svh + var(--lhrun, 160svh)); }
.ch3 .lh-run.pin .lh-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; container-type: size; }
.ch3 .lh-run.pin .lh-screen { position: absolute; inset: 0; aspect-ratio: auto; }
.ch3 .lh-run.pin .lh-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(11, 11, 10, .88) 0, rgba(11, 11, 10, .45) 30%, rgba(11, 11, 10, 0) 52%), linear-gradient(180deg, rgba(11, 11, 10, .55) 0, rgba(11, 11, 10, 0) 18%); }
.ch3 .lh-run.pin .lh-lines { position: absolute; left: var(--m); right: var(--m); bottom: calc(clamp(30px, 7cqh, 72px) + 120px); padding: 0; display: block; }
.ch3 .lh-run.pin .lh-line { position: absolute; left: 0; bottom: 0; width: min(58ch, 64cqw); opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .4s steps(4, end), transform .4s steps(4, end); visibility: hidden; }
.ch3 .lh-run.pin .lh-line.on { opacity: 1; transform: none; visibility: visible; }
.ch3 .lh-run.pin .lh-tc { display: block; position: absolute; right: var(--m); top: clamp(84px, 11cqh, 118px); margin: 0; color: rgba(232, 230, 225, .62); }
.ch3 .lh-run.pin .lh-foot { position: absolute; left: var(--m); right: var(--m); bottom: clamp(30px, 7cqh, 72px); padding: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--g); }
.ch3 .lh-run.pin .lh-cap { max-width: 52ch; }
html.np-on .ch3 .lh-run.pin .lh-foot { bottom: calc(clamp(30px, 7cqh, 72px) + 44px); }
html.np-on .ch3 .lh-run.pin .lh-lines { bottom: calc(clamp(30px, 7cqh, 72px) + 164px); }

.ch3 .lh-next-h { margin-top: clamp(110px, 11vw, 180px); }
.ch3 .sh-t3 { font-size: clamp(30px, 3.6vw, 64px); line-height: .88; }
.ch3 .lh-lu { row-gap: clamp(36px, 3.6vw, 56px); align-items: start; }
.ch3 .lu-a { grid-column: 4 / 13; }
.ch3 .lu-a .frame { aspect-ratio: 1800 / 938; }
.ch3 .lu-b { grid-column: 4 / 8; }
.ch3 .lu-c { grid-column: 8 / 12; margin-top: clamp(60px, 8vw, 140px); }
.ch3 .lu-b .frame, .ch3 .lu-c .frame { aspect-ratio: 11 / 18; }

/* ---------- 03.2 Athelas (ink): the block spectrogram, raw and restored ---------- */
.ch3 .at { background: var(--ink); padding-bottom: calc(100vw / 24 * 3 + clamp(110px, 10vw, 170px)); }
.ch3 .at .sh-t, .ch3 .at .sh-cap { color: var(--bone); }
.ch3 .at-grid { align-items: start; }
.ch3 .at-ctl { grid-column: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 30px; }
.ch3 .at-recs { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--rule); margin-bottom: 8px; }
.ch3 .at-rec {
  appearance: none; -webkit-appearance: none; margin: 0; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--ink-soft); cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; padding: 11px 0 10px; min-height: 44px; display: flex; gap: 1.2em; align-items: baseline;
}
.ch3 .at-rec span { color: inherit; }
.ch3 .at-rec[aria-pressed="true"] { color: var(--bone); }
.ch3 .at-rec[aria-pressed="true"] span { color: var(--accent); }
.ch3 .at-rec:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }
.ch3 .at .snd { background: var(--bone); color: var(--ink); min-height: 40px; padding: 9px 17px 8px 14px; }
.ch3 .at .snd:focus-visible { outline-color: var(--bone); }
.ch3 .at-ab { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--bone); isolation: isolate; }
.ch3 .at-v {
  appearance: none; -webkit-appearance: none; margin: 0; border: 0; background: none; cursor: pointer; position: relative; z-index: 1;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--bone); white-space: nowrap;
  min-height: 38px; padding: 8px 16px 7px; border-radius: 999px; -webkit-tap-highlight-color: transparent; transition: color .2s steps(2, end);
}
.ch3 .at-v[aria-pressed="true"] { color: var(--ink); }
.ch3 .at-v:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.ch3 .at-knob { position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; width: 50%; border-radius: 999px; background: var(--bone); transition: transform .24s steps(4, end); }
.ch3 .at-ab[data-mode="restored"] .at-knob { transform: translateX(100%); }
.ch3 .at-hint { margin: 0; color: var(--ink-soft); }
.ch3 .at-tc { color: var(--bone); }
.ch3 .at-fig { grid-column: 4 / 13; margin: 0; }
.ch3 .at-st { margin: 0 0 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 4px 18px; flex-wrap: wrap; }
.ch3 .at-mode::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .7em; background: var(--accent); vertical-align: -.02em; }
.ch3 .at-floor { color: var(--ink-soft); }
.ch3 .at-box { position: relative; height: clamp(220px, 24vw, 360px); }
.ch3 .at-box canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.ch3 .at-ax { position: absolute; right: calc(100% + 10px); top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; color: var(--ink-soft); pointer-events: none; white-space: nowrap; line-height: 1; }
.ch3 .at-ax span:nth-child(2) { position: absolute; right: 0; top: var(--k1, 55%); transform: translateY(-50%); }
.ch3 .at-fig .cap2 { margin-top: 18px; }
.ch3 .at .cap2 a { color: var(--bone); }
.ch3 .at-how { margin-top: clamp(80px, 8vw, 130px); row-gap: clamp(40px, 4vw, 64px); align-items: start; }
.ch3 .at-text { grid-column: 4 / 10; display: grid; gap: 18px; }
.ch3 .at-text p { margin: 0; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.42; color: rgba(232, 230, 225, .9); text-wrap: pretty; }
.ch3 .at-shot { grid-column: 4 / 10; }
.ch3 .at-shot .frame { aspect-ratio: 1600 / 1119; }
.ch3 .at-deck { grid-column: 4 / 13; }
.ch3 .at-deck .frame { aspect-ratio: 1600 / 232; }
.ch3 .at .cap .res { color: var(--bone); }

/* ---------- 03.3 Vairë: describe a sound, find the moment ---------- */
.ch3 .vr { padding-top: clamp(150px, 14vw, 230px); }
.ch3 .vr-grid { align-items: start; }
.ch3 .vr-side { grid-column: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 6px; }
.ch3 .vr-st { margin: 0; }
.ch3 .vr-again { visibility: hidden; }
.ch3 .vr.anim.done .vr-again { visibility: visible; }
.ch3 .vr-fig { grid-column: 4 / 13; margin: 0; }
.ch3 .vr-ui { background: var(--ink); color: var(--bone); padding: clamp(16px, 1.8vw, 26px); display: grid; gap: 14px; }
.ch3 .vr-q { margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px 11px; box-shadow: inset 0 0 0 1px var(--accent); font-size: clamp(13px, 1vw, 15px); text-transform: none; letter-spacing: .03em; min-height: 46px; }
.ch3 .vr-qi { color: rgba(232, 230, 225, .55); font-size: 1.2em; line-height: 1; }
.ch3 .vr-caret { display: inline-block; width: .55em; height: 1.15em; background: var(--accent); margin-left: -8px; animation: vrc 1s steps(1, end) infinite; }
@keyframes vrc { 50% { opacity: 0; } }
.ch3 .vr.done .vr-caret { animation: none; opacity: 0; }
.ch3 .vr-n { margin: 0; color: rgba(232, 230, 225, .55); }
.ch3 .vr-res { padding: 14px 0 0; border-top: 1px solid rgba(232, 230, 225, .14); }
.ch3 .vr-h { margin: 0 0 10px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; text-transform: none; letter-spacing: .02em; }
.ch3 .vr-h b { font-weight: 500; }
.ch3 .vr-h em { font-style: normal; color: rgba(232, 230, 225, .55); margin-left: .4em; }
.ch3 .vr-w { color: var(--accent); font-weight: 500; margin-left: .6em; }
.ch3 .vr-res canvas { display: block; width: 100%; height: clamp(84px, 8vw, 120px); }
/* the steps of the search, set by the script (all shown without it) */
.ch3 .vr.anim .vr-n, .ch3 .vr.anim .vr-res { visibility: hidden; }
.ch3 .vr.anim.s1 .vr-n, .ch3 .vr.anim.s2 .vr-res[data-k="1"], .ch3 .vr.anim.s3 .vr-res { visibility: visible; }
.ch3 .vr.anim .vr-w { opacity: 0; }
.ch3 .vr.anim .vr-res.lit .vr-w { opacity: 1; transition: opacity .3s steps(3, end); }
.ch3 .vr-fig .cap2 { margin-top: 14px; }
.ch3 .vr-bench-h { margin: clamp(84px, 8.4vw, 136px) 0 clamp(26px, 2.6vw, 40px); }
.ch3 .dg-h { grid-column: 4 / 13; margin: 0; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.3vw, 58px); line-height: .9; letter-spacing: -.04em; }
.ch3 .vr-bench { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ch3 .vb-row { border-bottom: 1px solid var(--rule); padding-block: clamp(20px, 2.1vw, 32px); align-items: baseline; }
.ch3 .vb-no { grid-column: 1 / 4; margin: 0; }
.ch3 .vb-t { grid-column: 4 / 8; margin: 0; font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.02em; line-height: 1.05; }
.ch3 .vb-d { grid-column: 8 / 13; margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.38; text-wrap: pretty; }
.ch3.anim .vb-row { clip-path: inset(0 100% 0 0); }
.ch3.anim .vb-row.in { clip-path: inset(0 0 0 0); transition: clip-path .56s steps(7, end); }
.ch3 .vr-shots { margin-top: clamp(56px, 5.6vw, 90px); row-gap: clamp(36px, 3.6vw, 56px); align-items: start; }
.ch3 .vr-s1 { grid-column: 4 / 13; }
.ch3 .vr-s1 .frame { aspect-ratio: 1600 / 759; }
.ch3 .vr-s2 { grid-column: 4 / 11; }
.ch3 .vr-s2 .frame { aspect-ratio: 1600 / 572; }
.ch3 .vr-note { margin-top: clamp(56px, 5.6vw, 90px); }
.ch3 .vr-note p { grid-column: 4 / 10; margin: 0; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.42; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- the names: a dictionary entry under 03.2 and 03.3 ---------- */
.ch3 .lx { margin: clamp(-24px, -1.6vw, -10px) 0 clamp(80px, 8vw, 130px); align-items: start; }
.ch3 .lx-k { grid-column: 1 / 4; padding-top: 15px; color: var(--ink-soft); }
.ch3 .lx-e { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--g); border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.ch3 .lx-hw { grid-column: 1 / 4; padding: 18px 0 30px; }
.ch3 .lx-hw p { margin: 0; }
.ch3 .lx-w { font-family: var(--f-text); font-weight: 400; font-size: clamp(42px, 4.3vw, 76px); line-height: .95; letter-spacing: -.025em; font-variation-settings: "opsz" 72; }
.ch3 .lx-w i { font-style: normal; color: var(--accent); }
.ch3 .lx-pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-top: 16px !important; }
.ch3 .lx-ipa { font-family: "Charis SIL", "Doulos SIL", "Gentium Plus", "Noto Serif", "Times New Roman", serif; font-size: clamp(18px, 1.35vw, 21px); }
.ch3 .lx-rs { text-transform: none; letter-spacing: .05em; color: var(--ink-soft); }
.ch3 .lx-ps { margin-top: 4px !important; font-style: italic; font-size: clamp(18px, 1.35vw, 21px); color: var(--ink-soft); }
.ch3 .lx-or { margin-top: 22px !important; display: grid; gap: 2px; color: var(--ink-soft); }
.ch3 .lx-or b { font-weight: 500; color: var(--accent); }
.ch3 .lx-body { grid-column: 4 / 10; padding: 24px 0 30px; display: grid; gap: 20px; }
.ch3 .lx-et { margin: 0; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.ch3 .lx-ss { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ch3 .lx-ss li { display: grid; grid-template-columns: 2em minmax(0, 1fr); align-items: baseline; }
.ch3 .lx-ss .mono { color: var(--accent); }
.ch3 .lx-ss p { margin: 0; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.42; text-wrap: pretty; }
.ch3 .lx-al { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.1em; align-items: baseline; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.45; color: var(--ink-soft); }
.ch3 .lx-al .mono { color: var(--ink-soft); }
.ch3 .lx-why { grid-column: 1 / 10; margin: 0; padding: 20px 0 22px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--g); align-items: baseline; }
.ch3 .lx-why .mono { grid-column: 1 / 4; color: var(--accent); }
.ch3 .lx-why .mono i { font-style: normal; }
.ch3 .lx-why > span:last-child { grid-column: 4 / 10; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.38; text-wrap: pretty; }
.ch3.anim .lx-e > * { clip-path: inset(0 100% 0 0); }
.ch3.anim .lx-e > .in { clip-path: inset(0 0 0 0); transition: clip-path .56s steps(7, end); }
.ch3.anim .lx-body.in { transition-delay: .14s; }
.ch3.anim .lx-why.in { transition-delay: .28s; }

/* ---------- 03.4 - 03.7: one numbered entry each ---------- */
.ch3 .pj { padding-block: clamp(90px, 9vw, 150px) 0; }
.ch3 .pj + .pj { border-top: 0; }
.ch3 .pj-grid { align-items: start; row-gap: clamp(30px, 3vw, 48px); padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid var(--ink); }
.ch3 .pj-no { grid-column: 1 / 4; display: grid; gap: 14px; justify-items: start; }
.ch3 .pj-no p { margin: 0; }
.ch3 .pj-text { grid-column: 4 / 10; display: grid; gap: 16px; }
.ch3 .pj-t { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(34px, 4.2vw, 76px); line-height: .86; letter-spacing: -.045em; }
.ch3 .pj-hook { font-size: clamp(22px, 1.9vw, 30px) !important; line-height: 1.2 !important; letter-spacing: -.01em; }
.ch3 .pj-text p { margin: 0; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.42; text-wrap: pretty; }
.ch3 .pj-text .pj-aside { font-size: var(--fs-mono); color: var(--ink-soft); }
.ch3 .pj-shots { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--g); row-gap: 36px; align-items: start; }
.ch3 .pj-shots > :nth-child(1) { grid-column: 1 / 6; }
.ch3 .pj-shots > :nth-child(2) { grid-column: 6 / 10; margin-top: clamp(40px, 5vw, 90px); }
.ch3 .pj-shots .frame { aspect-ratio: 12 / 7; }
.ch3 .pj-shots-3l > :nth-child(1) .frame { aspect-ratio: 8 / 5; }
.ch3 .pj-shots-3l > :nth-child(2) { grid-column: 7 / 9; }
.ch3 .pj-phone .frame { aspect-ratio: 780 / 1688; }
.ch3 .os-shots > :nth-child(1) .frame { aspect-ratio: 8 / 5; }
.ch3 .os-shots > :nth-child(2) { grid-column: 7 / 9; }
.ch3 .os-chip { color: var(--accent); }
.ch3 .os-phone { margin: 0; }
.ch3 .os-case { position: relative; aspect-ratio: 9 / 16; background: #000; border-radius: 18px; padding: 7px; box-shadow: inset 0 0 0 1px rgba(19, 19, 18, .5); }
.ch3 .os-reel { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: #000; }
.ch3 .os-phone .cap { margin-top: 10px; }
.ch3 .cw { padding-bottom: calc(100vw / 24 * 3 + clamp(110px, 10vw, 170px)); }
.ch3 .cw-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.ch3 .cw-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 24px; flex-wrap: wrap; padding: 16px 0 15px; border-bottom: 1px solid var(--rule); }
.ch3 .cw-c { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(19px, 1.6vw, 25px); letter-spacing: -.02em; line-height: 1.05; }
.ch3 .cw-w { color: var(--ink-soft); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .ch3 .t-name { grid-column: 4 / 8; }
  .ch3 .t-desc { grid-column: 8 / 13; }
  .ch3 .t-st { display: none; }
  .ch3 .lh-text, .ch3 .at-text, .ch3 .pj-text, .ch3 .vr-note p { grid-column: 4 / 12; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .ch3 .c3-toc { order: 5; margin-top: 40px; width: 100%; }
  .ch3 .c3-toc a { grid-template-columns: 4.4em minmax(0, 1fr) auto; row-gap: 4px; min-height: 44px; }
  .ch3 .t-no { grid-column: 1; }
  .ch3 .t-name { grid-column: 2; font-size: 20px; }
  .ch3 .t-st { display: block; grid-column: 3; grid-row: 1; }
  .ch3 .t-desc { grid-column: 2 / 4; font-size: 16px; }
  .ch3 .t-desc:empty { display: none; }
  .ch3 .lh-now, .ch3 .at-grid, .ch3 .at-how, .ch3 .vr-grid, .ch3 .lh-lu, .ch3 .vr-shots, .ch3 .pj-grid, .ch3 .vr-note { display: flex; flex-direction: column; gap: 26px; }
  .ch3 .lh-pair { display: flex; flex-direction: column; gap: 26px; width: 100%; }
  .ch3 .lh-text p, .ch3 .at-text p, .ch3 .pj-text p { font-size: 17.5px; }
  .ch3 .lu-a, .ch3 .lu-b, .ch3 .lu-c, .ch3 .vr-s1, .ch3 .vr-s2, .ch3 .at-shot, .ch3 .at-deck { width: 100%; }
  .ch3 .lu-b, .ch3 .lu-c { width: 78%; }
  .ch3 .lu-c { align-self: flex-end; margin-top: 0; }
  .ch3 .lh-run.pin { --lhrun: 140svh; }
  .ch3 .lh-run.pin .lh-screen { inset: 64px 0 auto; height: auto; aspect-ratio: 16 / 9; }
  .ch3 .lh-run.pin .lh-screen::after { display: none; }
  .ch3 .lh-run.pin .lh-tc { top: calc(64px + 56.25cqw + 12px); left: var(--m); right: auto; }
  .ch3 .lh-run.pin .lh-lines { top: calc(64px + 56.25cqw + 56px); bottom: auto; }
  .ch3 .lh-run.pin .lh-line { top: 0; bottom: auto; width: 100%; }
  .ch3 .lh-run.pin .lh-foot { grid-template-columns: minmax(0, 1fr); bottom: 26px; row-gap: 14px; }
  html.np-on .ch3 .lh-run.pin .lh-foot { bottom: calc(26px + 56px); }
  .ch3 .lh-line p { font-size: 21px; }
  .ch3 .lh-line.l1 p { font-size: 9vw; }
  .ch3 .lh-go { justify-self: stretch; }
  .ch3 .at-ctl { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-top: 0; }
  .ch3 .at-recs { order: 0; flex-basis: 100%; }
  .ch3 .at-play { order: 1; min-height: 44px; } .ch3 .at-ab { order: 2; } .ch3 .at-tc { order: 3; } .ch3 .at-hint { order: 4; flex-basis: 100%; }
  .ch3 .at-v { min-height: 44px; padding-inline: 14px; }
  .ch3 .at-fig { width: 100%; }
  .ch3 .at-st { flex-direction: column; gap: 2px; }
  .ch3 .at-box { height: 220px; margin-left: 0; }
  .ch3 .at-ax { display: none; }
  .ch3 .at-fig .cap2 .l1 > span:first-child, .ch3 .at-fig .cap2 .l2 > span:first-child { flex-basis: 100%; }
  .ch3 .at-fig .cap2 .l1 { flex-wrap: wrap; }
  .ch3 .vr-side { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; padding-top: 0; }
  .ch3 .vr-fig { width: 100%; }
  .ch3 .vr-ui { padding: 12px; }
  .ch3 .vr-res canvas { height: 72px; }
  .ch3 .vr-bench-h { margin: 72px 0 22px; display: block; }
  .ch3 .dg-h { font-size: 9.4vw; line-height: .92; }
  .ch3 .vb-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding-block: 18px 17px; }
  .ch3 .vb-no, .ch3 .vb-t, .ch3 .vb-d { grid-column: 1; }
  .ch3 .vb-t { font-size: 21px; }
  .ch3 .vb-d { font-size: 17px; }
  .ch3 .lx { display: block; margin: 0 0 64px; }
  .ch3 .lx-k { padding: 0 0 10px; }
  .ch3 .lx-e { display: block; }
  .ch3 .lx-hw { padding: 16px 0 20px; border-bottom: 1px solid var(--rule); }
  .ch3 .lx-w { font-size: 13vw; }
  .ch3 .lx-or { margin-top: 14px !important; }
  .ch3 .lx-body { padding: 18px 0 22px; gap: 16px; }
  .ch3 .lx-ss p { font-size: 17.5px; }
  .ch3 .lx-why { display: block; padding: 16px 0 18px; }
  .ch3 .lx-why .mono { display: block; margin-bottom: 8px; }
  .ch3 .lx-why > span:last-child { font-size: 19px; }
  .ch3 .pj { padding-top: 72px; }
  .ch3 .pj-no { display: flex; justify-content: space-between; align-items: center; width: 100%; }
  .ch3 .pj-t { font-size: 11vw; }
  .ch3 .pj-shots { display: flex; flex-direction: column; gap: 26px; width: 100%; }
  .ch3 .pj-shots > :nth-child(2) { margin-top: 0; }
  .ch3 .pj-shots > .c3p:not(.pj-phone) { width: 100%; }   /* not sized by its caption's length */
  .ch3 .pj-phone, .ch3 .os-phone { width: 52%; align-self: flex-end; }
  .ch3 .cw-text { width: 100%; }
}
