/* 紙页 Kamipage — brand book. Extends css/site.css (tokens, type, buttons, tiers, faq, postcards are reused as-is). */
:root { --muted-text: #6E645C; --ribbon-w: 4px; --paper-hi: #FFFCF6; --em-dark: #E9B7A8; }
body { background: var(--paper); }
[id] { scroll-margin-top: 84px; }

/* the 5 mm dot grid, same numbers as the WebGL ground in js/main.js: 20 px pitch, dot ⌀ ≈ 2.2 px, rgb(122 104 84 / .24) */
.dots-bg { background-image: radial-gradient(circle at 10px 10px, rgb(122 104 84 / .24) .8px, rgb(122 104 84 / 0) 1.35px); background-size: 20px 20px; }
.ch.dots::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 10px 10px, rgb(122 104 84 / .24) .8px, rgb(122 104 84 / 0) 1.35px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(transparent, #000 110px, #000 calc(100% - 110px), transparent);
          mask-image: linear-gradient(transparent, #000 110px, #000 calc(100% - 110px), transparent); }

/* ------------------------------------------------------------------ chapter nav (the ribbon marks the current chapter) */
.bnav { width: min(1240px, calc(100% - 2 * var(--gutter))); gap: 18px; }
.bnav .brand { align-items: center; flex: none; }
.bnav .brand img { width: 26px; height: 26px; margin: -4px 2px -4px -6px; }
.bnav-links { display: flex; gap: 4px; font: 500 14px/1 var(--sans); min-width: 0; }
.bnav-links a { position: relative; text-decoration: none; opacity: .72; padding: 8px 9px; white-space: nowrap; transition: opacity .3s; }
.bnav-links a .n { font: 400 11px/1 var(--mono); color: var(--muted-text); margin-right: 5px; }
.bnav-links a:hover, .bnav-links a.on { opacity: 1; }
.bnav-links a::after { content: ""; position: absolute; left: 50%; top: calc(100% - 2px); width: var(--ribbon-w); height: 0; margin-left: calc(var(--ribbon-w) / -2);
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 3px), 0 100%); transition: height .35s var(--ease); }
.bnav-links a:hover::after { height: 10px; }
.bnav-links a.on::after { height: 17px; }
.bnav .btn { flex: none; padding: 11px 18px; }
@media (max-width: 1240px) { .bnav-links a .n { display: none; } }
@media (max-width: 1020px) { .bnav .btn { display: none; } }
@media (max-width: 900px) {
  .bnav { padding-right: 10px; gap: 10px; }
  .bnav .brand-word { display: none; }
  .bnav-links { overflow-x: auto; scrollbar-width: none; padding-bottom: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent); }
  .bnav-links::-webkit-scrollbar { display: none; }
  .bnav-links a { padding: 8px 8px 12px; }
  .bnav-links a::after { top: auto; bottom: 0; }
  .bnav-links a.on::after { height: 9px; }
}

/* ------------------------------------------------------------------ hero: the brand book as a journal with its ribbon out */
.ch.bhero { padding: 130px 0 80px; }
.bhero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.bhero .lead { margin: 22px 0 30px; }
.meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 36px; border-top: 1px solid rgb(42 37 33 / .14); padding-top: 16px; }
.meta b { display: block; font: 500 17px/1.4 var(--serif); color: var(--ink-2); }
.meta span { font: 400 12px/1.5 var(--mono); color: var(--muted-text); }
.cover { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 148 / 196; margin-bottom: 64px; transform: rotate(-2deg);
  background: var(--paper-hi); border-radius: 6px 12px 12px 6px; box-shadow: inset 10px 0 12px -10px rgb(60 40 20 / .25), 0 2px 0 rgb(42 37 33 / .05), 0 40px 60px -36px rgb(60 40 20 / .55);
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px 30px 34px; }
.cover::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(circle at 10px 10px, rgb(122 104 84 / .3) .8px, rgb(122 104 84 / 0) 1.35px); background-size: 20px 20px; pointer-events: none; }
.cover .rib { position: absolute; top: -2px; right: 23%; width: 22px; height: calc(100% + 58px); background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 13px), 0 100%); box-shadow: 0 0 0 1px rgb(0 0 0 / .05); transform-origin: top; animation: sway 7s var(--ease) infinite alternate; }
.cover .rib::after { content: ""; position: absolute; inset: 0 0 58px; background: linear-gradient(90deg, rgb(0 0 0 / .08), transparent 40%, rgb(255 255 255 / .08) 60%, rgb(0 0 0 / .1)); }
.cover img { width: 58%; align-self: center; position: relative; }
.cover .mono { position: relative; }
.cover b { position: relative; display: block; font: 700 22px/1.2 var(--serif); color: var(--ink); }
@keyframes sway { from { transform: rotate(.6deg); } to { transform: rotate(-.8deg); } }

/* ------------------------------------------------------------------ chapters */
.ch { padding: 88px 0; }
.ch-head { max-width: 860px; margin-bottom: 28px; }
.ch-head .h2 { margin-bottom: 22px; }
.ch.night { background: var(--night); }
.ch.dusk { background: var(--dusk); }
.dark em { color: var(--em-dark); }
.dark .lead { color: rgb(247 241 230 / .82); }
.blk { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding: 38px 0; border-top: 1px solid var(--dot); }
.dark .blk { border-top-color: rgb(247 241 230 / .14); }
.blk-h { align-self: start; position: sticky; top: 104px; }
.blk-h h3 { font: 500 24px/1.35 var(--serif); color: var(--ink-2); margin: 6px 0 10px; }
.dark .blk-h h3 { color: var(--paper); }
.blk-h p, .note { color: var(--muted-text); font-size: 15px; line-height: 1.75; }
.dark .blk-h p, .dark .note { color: rgb(247 241 230 / .68); }
.blk-h p + p { margin-top: 10px; }
.blk-h ul { margin-top: 12px; padding-left: 1.1em; color: var(--muted-text); font-size: 15px; }
.dark .blk-h ul { color: rgb(247 241 230 / .68); }
.blk.full { grid-template-columns: 1fr; gap: 28px; }
.blk.full .blk-h { position: static; max-width: 760px; }
.num { font: 400 12px/2.2 var(--mono); color: var(--accent); }
.dark .num { color: var(--em-dark); }
.tag { font: 400 12px/1.5 var(--mono); color: var(--muted-text); letter-spacing: .02em; }
.dark .tag { color: rgb(247 241 230 / .6); }
code { font: 400 .88em var(--mono); background: rgb(42 37 33 / .06); padding: 1px 5px; border-radius: 4px; }
.dark code { background: rgb(247 241 230 / .1); }

/* tiles: a specimen on a ground */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { position: relative; border-radius: 10px; min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 40px 24px 44px; border: 1px solid rgb(42 37 33 / .08); overflow: hidden; }
.tile .tag { position: absolute; left: 14px; bottom: 10px; right: 14px; display: flex; justify-content: space-between; gap: 12px; }
.tile.wide { grid-column: span 2; min-height: 280px; }
.g-paper { background: var(--paper); } .g-paper2 { background: var(--paper-2); } .g-hi { background: var(--paper-hi); }
.g-night { background: var(--night); border-color: transparent; } .g-dusk { background: var(--dusk); border-color: transparent; }
.g-night .tag, .g-dusk .tag { color: rgb(247 241 230 / .62); }
.lk { display: block; height: 84px; width: auto; max-width: 100%; }
.lk-host { display: block; max-width: 100%; }
.lk-sm { height: 40px; }
.mk { width: 120px; height: 120px; }

/* anatomy */
.anat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.anat svg { width: 100%; height: auto; background: var(--paper-hi); border-radius: 10px; border: 1px solid rgb(42 37 33 / .08); }
.parts { list-style: none; padding: 0; counter-reset: p; }
.parts li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--dot); font-size: 15px; }
.parts li:first-child { border-top: 1px dashed var(--dot); }
.parts li::before { counter-increment: p; content: counter(p); width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font: 500 12px/22px var(--mono); text-align: center; margin-top: 2px; }
.parts b { font-weight: 500; color: var(--ink); }
.parts span { display: block; color: var(--muted-text); font-size: 14px; }
.motifs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.motif { background: var(--paper-2); border-radius: 10px; padding: 20px 22px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.motif h4 { font: 500 18px/1.4 var(--serif); color: var(--ink-2); }
.motif p { color: var(--muted-text); font-size: 14px; }

/* clear space + sizes */
.space { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; align-items: stretch; }
.space svg { width: 100%; height: auto; max-height: 360px; }
.cs-lock { outline: 1.5px dashed rgb(158 59 59 / .55); outline-offset: 0; padding: 20px; background: rgb(158 59 59 / .05); }
.cs-lock svg { height: 72px; width: auto; outline: 1px solid rgb(42 37 33 / .25); }
.sizes { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 26px 30px; }
.sizes figure { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sizes figcaption { font: 400 11px/1.3 var(--mono); color: var(--muted-text); text-align: center; }
.sizes .lk { width: auto; }
.rule-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.rule-row div { background: var(--paper-2); border-radius: 8px; padding: 14px 16px; }
.rule-row b { display: block; font: 500 22px/1.3 var(--serif); color: var(--ink-2); }
.rule-row span { font-size: 13px; color: var(--muted-text); }

/* the enamel pin */
.pin { display: grid; grid-template-columns: 5fr 6fr; gap: 32px; align-items: center; background: var(--night); color: var(--paper); border-radius: 12px; padding: 36px; }
.pin img { width: 100%; height: auto; max-width: 340px; justify-self: center; filter: drop-shadow(0 22px 30px rgb(0 0 0 / .55)); }
.pin h4 { font: 500 22px/1.4 var(--serif); margin-bottom: 10px; }
.pin p, .pin li { color: rgb(247 241 230 / .74); font-size: 15px; }
.pin ul { padding-left: 1.1em; margin-top: 12px; }
.pin .tag { color: rgb(247 241 230 / .55); }

/* misuse */
.misuse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mis { margin: 0; }
.mis .stage { position: relative; height: 180px; border-radius: 10px; background: var(--paper-hi); border: 1px solid rgb(42 37 33 / .08); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mis .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), rgb(158 59 59 / .5) 50%, transparent calc(50% + 1px)); pointer-events: none; }
.mis figcaption { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 15px; }
.mis figcaption b { font: 500 11px/1 var(--mono); color: #fff; background: var(--accent); padding: 4px 6px; border-radius: 4px; }
.mis figcaption span { color: var(--muted-text); font-size: 13px; display: block; }
.mis .x-stretch { width: 100px; transform: scaleX(1.75); }
.mis .x-rot { width: 100px; transform: rotate(-14deg); }
.mis .x-glow { width: 100px; filter: drop-shadow(0 0 5px #ff4d7a) drop-shadow(0 0 16px #ff4d7a) drop-shadow(0 0 30px #7a5cff); }
.mis .x-busy { background: url(../assets/img/gen/tex-cork.webp) center / 360px; }
.mis .x-busy img { width: 100px; }
.mis .x-busy::before { content: ""; position: absolute; inset: 0; background: url(../assets/img/gen/st-sakura.webp) 16% 30% / 90px no-repeat, url(../assets/img/gen/st-ginkgo.webp) 86% 78% / 80px no-repeat; }
.mis .x-busy img { position: relative; }
.mis .x-re { display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1; }
.mis .x-re i { font: italic 400 26px/1 Georgia, serif; color: var(--ink); }
.mis .x-re b { font: 400 50px/1.1 var(--sans); color: var(--ink-2); display: flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------------------ colour */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sw { border-radius: 10px; overflow: hidden; background: var(--paper-hi); border: 1px solid rgb(42 37 33 / .08); }
.sw .chip { height: 100px; position: relative; display: flex; align-items: flex-end; padding: 12px 14px; }
.sw .chip b { font: 500 22px/1 var(--serif); }
.sw .chip i { font: normal 400 13px/1 var(--jp); margin-left: 8px; opacity: .8; }
.sw dl { display: grid; grid-template-columns: 40px 1fr; gap: 3px 10px; margin: 0; padding: 14px 16px 16px; font-size: 13px; }
.sw dt { font: 400 11px/1.9 var(--mono); color: var(--muted-text); }
.sw dd { margin: 0; font: 400 13px/1.7 var(--mono); color: var(--ink); }
.sw dd.use { font-family: var(--sans); color: var(--ink); }
.ratio { display: flex; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid rgb(42 37 33 / .1); }
.ratio div { position: relative; display: flex; align-items: flex-end; padding: 8px; font: 400 11px/1.2 var(--mono); min-width: 0; white-space: nowrap; }
.ratio-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font: 400 12px/1.5 var(--mono); color: var(--muted-text); }
.ratio-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; border: 1px solid rgb(42 37 33 / .15); }
.tapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; padding: 26px; border-radius: 10px; background: var(--paper-hi); border: 1px solid rgb(42 37 33 / .08); }
.tapes figure { margin: 0; }
.tape-line { position: relative; height: 54px; display: flex; align-items: center; }
.tape-line .hand { font-size: 20px; color: var(--ink); padding-left: 8px; }
.tape { position: absolute; left: -6px; right: 10px; top: 9px; height: 36px; mix-blend-mode: multiply; opacity: .82; transform: rotate(-1.4deg);
  clip-path: polygon(0 6%, 2% 22%, 0 38%, 2.2% 55%, .4% 72%, 2% 88%, 0 100%, 100% 96%, 98.4% 80%, 100% 64%, 98% 46%, 100% 30%, 98.2% 14%, 100% 0);
  background-image: linear-gradient(rgb(255 255 255 / .18), rgb(255 255 255 / 0) 40%, rgb(0 0 0 / .04)); }
.tapes figure:nth-child(2n) .tape { transform: rotate(1.1deg); }
.tapes figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 14px; }
.tapes figcaption b { font-weight: 500; }
.tapes figcaption span { font: 400 12px/1.6 var(--mono); color: var(--muted-text); }
.tapes p.tag { grid-column: 1 / -1; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font: 400 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted-text); padding: 0 10px 10px 0; border-bottom: 1px solid rgb(42 37 33 / .2); }
.t td { padding: 9px 10px 9px 0; border-bottom: 1px dashed var(--dot); vertical-align: middle; }
.t td.m { font: 400 13px/1.5 var(--mono); }
.dark .t th { color: rgb(247 241 230 / .6); border-bottom-color: rgb(247 241 230 / .25); }
.dark .t td { border-bottom-color: rgb(247 241 230 / .14); }
.pair { display: inline-flex; align-items: center; min-width: 190px; padding: 7px 14px; border-radius: 8px; font: 500 15px/1.2 var(--sans); border: 1px solid rgb(42 37 33 / .08); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 99px; font: 500 12px/1.3 var(--sans); white-space: nowrap; }
.badge.aaa { background: #2A2521; color: #F7F1E6; } .badge.aa { background: #5B4130; color: #F7F1E6; }
.badge.lg { background: #EEE4D2; color: #5B4130; box-shadow: inset 0 0 0 1px #D6C8B2; } .badge.no { background: transparent; color: #9E3B3B; box-shadow: inset 0 0 0 1px rgb(158 59 59 / .5); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ------------------------------------------------------------------ type */
.fam { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--dot); }
.fam:first-child { border-top: 1px solid var(--dot); }
.fam .spec { font-size: clamp(34px, 4vw, 54px); line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.fam h4 { font: 500 19px/1.4 var(--sans); }
.fam p { color: var(--muted-text); font-size: 14px; }
.fam a { font: 400 12px var(--mono); color: var(--accent); }
.scale { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--dot); }
.scale .row { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed var(--dot); }
.scale .row.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 300px; }
.scale .sample { color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.scale .spec { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font: 400 12px/1.6 var(--mono); color: var(--muted-text); }
.scale .spec b { grid-column: 1 / -1; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.scale .spec .live { color: var(--accent); }
.hw { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.hw label { display: block; font: 400 12px var(--mono); color: var(--muted-text); margin-bottom: 8px; }
.hw textarea { width: 100%; min-height: 120px; resize: vertical; padding: 14px 16px; border-radius: 12px; border: 1px solid rgb(42 37 33 / .14); background: var(--paper-hi); font: 400 17px/1.6 var(--hand); color: var(--ink); outline: none; }
.hw textarea:focus { border-color: var(--ink-2); }
.hw-page { position: relative; min-height: 300px; padding: 58px 30px 34px; border-radius: 6px; background-color: var(--paper-hi); box-shadow: 0 1px 0 rgb(42 37 33 / .06), 0 24px 44px -30px rgb(60 40 20 / .5); }
.hw-page .tp { position: absolute; top: -10px; left: 50%; width: 120px; height: 28px; margin-left: -60px; background: var(--sakura); opacity: .8; transform: rotate(-3deg); mix-blend-mode: multiply;
  clip-path: polygon(0 8%, 3% 30%, 0 52%, 3% 76%, 0 100%, 100% 94%, 97% 70%, 100% 48%, 97% 24%, 100% 0); }
.hw-page .date { position: absolute; top: 22px; left: 30px; font: 400 12px var(--mono); color: var(--muted-text); }
.hw-out { font: 400 24px/40px var(--hand); color: var(--ink); background-image: linear-gradient(transparent 39px, rgb(122 104 84 / .22) 1px); background-size: 100% 40px; min-height: 200px; overflow-wrap: anywhere; }
.hw-out span { display: inline-block; white-space: pre; }
.hw-page .seal { position: absolute; right: 22px; bottom: 18px; width: 58px; height: 58px; border: 2px solid var(--shu); border-radius: 50%; color: var(--shu); display: grid; place-items: center; font: 700 24px/1 var(--jp); transform: rotate(-9deg); opacity: .85; }
.minrules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.minrules div { background: var(--paper-2); border-radius: 8px; padding: 14px 16px; }
.minrules b { display: block; font: 500 26px/1.2 var(--serif); color: var(--ink-2); }
.minrules span { font-size: 13px; color: var(--muted-text); }

/* ------------------------------------------------------------------ grid */
.dotpanel { position: relative; height: 340px; border-radius: 10px; background-color: var(--paper); border: 1px solid rgb(42 37 33 / .1); overflow: hidden; }
.dotpanel .cell-hi { position: absolute; left: 200px; top: 100px; width: 20px; height: 20px; outline: 1.5px solid var(--accent); }
.dotpanel .anno { position: absolute; font: 400 12px/1.5 var(--mono); color: var(--ink-2); background: var(--paper); padding: 2px 6px; }
.dotpanel .zoom { position: absolute; right: 22px; top: 22px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgb(42 37 33 / .2); background-color: var(--paper);
  background-image: radial-gradient(circle at 50px 50px, rgb(122 104 84 / .24) 4px, rgb(122 104 84 / 0) 6.75px); background-size: 100px 100px; background-position: 25px 25px; box-shadow: 0 16px 30px -20px rgb(60 40 20 / .5); }
.dotpanel .mk-on { position: absolute; left: 400px; top: 100px; width: 160px; height: 160px; }
.readout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.readout div { background: var(--paper-2); border-radius: 8px; padding: 14px 16px; }
.readout b { display: block; font: 500 28px/1.2 var(--serif); color: var(--ink-2); }
.readout span { font: 400 12px var(--mono); color: var(--muted-text); }
.vp { position: relative; height: 70px; border-radius: 8px; background: rgb(42 37 33 / .05); border: 1px solid rgb(42 37 33 / .12); }
.vp .ct { position: absolute; top: 10px; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgb(158 59 59 / .08); border-left: 1px dashed var(--accent); border-right: 1px dashed var(--accent); }
.vp .ct::before, .vp .ct::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--g); background: rgb(158 59 59 / .16); }
.vp .ct::before { left: 0; } .vp .ct::after { right: 0; }
.cols { display: grid; gap: 14px; }
.colrow { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; }
.colrow .bars { display: grid; height: 40px; }
.colrow .bars i { background: rgb(158 59 59 / .12); border: 1px solid rgb(158 59 59 / .35); border-radius: 3px; }
.colrow b { font: 500 15px var(--sans); display: block; }
.colrow span { font: 400 12px var(--mono); color: var(--muted-text); }
.rhythm { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 22px; gap: 12px; align-items: end; }
.rhythm div { display: flex; flex-direction: column; gap: 6px; font: 400 12px/1.4 var(--mono); color: var(--muted-text); }
.rhythm i { display: block; background: repeating-linear-gradient(45deg, rgb(158 59 59 / .14) 0 4px, rgb(158 59 59 / .05) 4px 8px); border-radius: 3px; }
.rhythm b { font: 500 14px var(--sans); color: var(--ink); }
.seq { display: flex; height: 250px; border-radius: 10px; overflow: hidden; border: 1px solid rgb(42 37 33 / .12); }
.seq div { flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 14px 0; font: 400 13px/1.2 var(--sans); color: var(--ink); min-width: 0; }
.seq div span { writing-mode: vertical-rl; letter-spacing: .15em; }
.seq div small { font: 400 10px var(--mono); opacity: .7; }
.seq .d { color: var(--paper); }

/* ------------------------------------------------------------------ components */
.comp { padding: 26px; border-radius: 12px; border: 1px solid rgb(42 37 33 / .1); background: var(--paper); }
.comp + .tag { display: block; margin-top: 10px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.comp.on-night { background: var(--night); border-color: transparent; }
.comp .tiers { border-top: 1px solid rgb(42 37 33 / .14); }
.comp .cards3 { gap: 22px; }
.comp .postcard blockquote { font-size: 17px; }
.comp .prompt-card { max-width: none; }
.stack > * + * { margin-top: 18px; }

/* ------------------------------------------------------------------ imagery (night) */
.stills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stills figure { margin: 0; grid-column: span 2; }
.stills figure.w3 { grid-column: span 3; } .stills figure.w4 { grid-column: span 4; } .stills figure.w6 { grid-column: span 6; }
.stills img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; background: #2a241f; }
.stills .fr { height: 290px; border-radius: 8px; overflow: hidden; }
.stills figure.w6 .fr { height: 250px; }
.stills figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--paper); }
.stills figcaption span { font: 400 12px var(--mono); color: rgb(247 241 230 / .55); text-align: right; }
.polas { display: flex; gap: 22px; flex-wrap: wrap; }
.pola { background: #FFFCF6; padding: 10px 10px 34px; border-radius: 2px; width: calc((100% - 44px) / 3); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .7); transform: rotate(var(--r, 0deg)); margin: 0; }
.pola:nth-child(1) { --r: -2deg; } .pola:nth-child(2) { --r: 1.4deg; } .pola:nth-child(3) { --r: -.6deg; }
.pola img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pola figcaption { font: 400 15px/1 var(--hand); color: var(--ink); margin-top: 12px; text-align: center; }
.sheet { position: relative; background: var(--paper-2); border-radius: 6px; padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 20px; align-items: center; justify-items: center; box-shadow: 0 30px 50px -30px rgb(0 0 0 / .8); }
.sheet img { width: 100%; max-height: 118px; object-fit: contain; filter: drop-shadow(0 2px 2px rgb(60 40 20 / .22)); transform: rotate(var(--r, 0deg)); }
.sheet img:nth-child(3n) { --r: -6deg; } .sheet img:nth-child(3n+1) { --r: 4deg; } .sheet img:nth-child(4n+2) { --r: -2deg; }
.sheet .tag { grid-column: 1 / -1; justify-self: start; color: var(--muted-text); }
.texs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.texs figure { margin: 0; }
.texs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.texs figcaption { font: 400 12px/1.5 var(--mono); color: rgb(247 241 230 / .6); margin-top: 8px; }
.dos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dos > div { border-radius: 10px; padding: 20px 22px; border: 1px solid rgb(247 241 230 / .14); }
.dos h4 { font: 500 18px/1.4 var(--serif); margin-bottom: 10px; color: var(--paper); }
.dos ul { list-style: none; padding: 0; font-size: 14px; }
.dos li { padding: 6px 0 6px 22px; position: relative; color: rgb(247 241 230 / .8); }
.dos li::before { content: "○"; position: absolute; left: 0; color: #B8C48A; font: 400 13px var(--mono); }
.dos li.no::before { content: "✕"; color: var(--em-dark); }

/* ------------------------------------------------------------------ motion */
.ease { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.ease-box { position: relative; background: var(--paper-hi); border-radius: 10px; border: 1px solid rgb(42 37 33 / .08); padding: 14px; }
.ease-box svg { width: 100%; height: auto; overflow: visible; }
.ease-box .ball { offset-path: path("M20 220 C 60 220, 180 44, 220 20"); offset-rotate: 0deg; animation: along 2.4s var(--ease) infinite; }
@keyframes along { 0%, 12% { offset-distance: 0%; } 62%, 100% { offset-distance: 100%; } }
.ease-track { position: relative; height: 34px; margin-top: 10px; border-bottom: 1px dashed var(--dot); }
.ease-track i { position: absolute; left: 0; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); animation: slide 2.4s var(--ease) infinite; }
.ease-track.lin i { background: var(--muted); animation-timing-function: linear; }
@keyframes slide { 0%, 12% { left: 0; } 62%, 100% { left: calc(100% - 20px); } }
.demos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.demo { border-radius: 12px; border: 1px solid rgb(42 37 33 / .1); background: var(--paper-hi); overflow: hidden; }
.demo .stage { position: relative; height: 300px; overflow: hidden; background-color: var(--paper); }
.demo .cap { padding: 16px 20px 18px; border-top: 1px solid rgb(42 37 33 / .08); }
.demo .cap h4 { font: 500 18px/1.4 var(--serif); color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.demo .cap h4 button { font: 400 12px var(--mono); color: var(--accent); background: none; border: 1px solid rgb(158 59 59 / .4); border-radius: 99px; padding: 4px 10px; cursor: pointer; }
.demo .cap p { color: var(--muted-text); font-size: 14px; margin-top: 4px; }
/* A: the page assembles itself */
.pg-mini { position: absolute; left: 50%; top: 50%; width: 250px; height: 220px; margin: -110px 0 0 -125px; background-color: var(--paper-hi); border-radius: 4px; box-shadow: 0 20px 36px -24px rgb(60 40 20 / .55); padding: 22px 20px; }
.pg-mini .dg { position: absolute; inset: 0; border-radius: 4px; background-image: radial-gradient(circle at 5px 5px, rgb(122 104 84 / .35) .7px, transparent 1.2px); background-size: 10px 10px; animation: a-dots 7s var(--ease) infinite; }
.pg-mini .ln { position: relative; font: 400 15px/26px var(--hand); color: var(--ink); white-space: nowrap; clip-path: inset(0 100% 0 0); animation: a-write 7s steps(14, end) infinite; }
.pg-mini .ln.l2 { animation-name: a-write2; }
.pg-mini .ln.d { font: 400 11px/22px var(--mono); color: var(--muted-text); animation-name: a-write0; animation-timing-function: steps(10, end); }
.pg-mini .ph { position: absolute; left: 22px; top: 104px; width: 92px; background: #fff; padding: 5px 5px 16px; box-shadow: 0 6px 12px -6px rgb(60 40 20 / .5); animation: a-drop 7s var(--ease) infinite; --rot: -4deg; }
.pg-mini .ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pg-mini .tp2 { position: absolute; left: 44px; top: 96px; width: 56px; height: 16px; background: var(--wakakusa); opacity: .8; mix-blend-mode: multiply; animation: a-tape 7s var(--ease) infinite; }
.pg-mini .stk { position: absolute; right: 26px; top: 110px; width: 70px; animation: a-drop2 7s var(--ease) infinite; --rot: 6deg; }
.pg-mini .seal { position: absolute; right: 18px; bottom: 16px; width: 42px; height: 42px; border: 1.5px solid var(--shu); color: var(--shu); border-radius: 50%; display: grid; place-items: center; font: 700 18px/1 var(--jp); animation: a-seal 7s var(--ease) infinite; }
@keyframes a-dots { 0% { opacity: 0; } 6%, 100% { opacity: 1; } }
@keyframes a-write0 { 0%, 8% { clip-path: inset(0 100% 0 0); } 16%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes a-write { 0%, 16% { clip-path: inset(0 100% 0 0); } 30%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes a-write2 { 0%, 30% { clip-path: inset(0 100% 0 0); } 42%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes a-drop { 0%, 44% { opacity: 0; transform: translateY(-46px) rotate(calc(var(--rot) - 14deg)) scale(1.06); } 52% { opacity: 1; transform: translateY(0) rotate(var(--rot)) scale(1); } 55% { transform: translateY(-3px) rotate(var(--rot)); } 58%, 100% { opacity: 1; transform: translateY(0) rotate(var(--rot)); } }
@keyframes a-tape { 0%, 56% { opacity: 0; transform: translateY(-10px) rotate(-12deg) scale(1.04); } 62% { opacity: .8; transform: rotate(-12deg) scale(1.02); } 64%, 100% { opacity: .8; transform: rotate(-12deg) scale(1); } }
@keyframes a-drop2 { 0%, 60% { opacity: 0; transform: translateY(-46px) rotate(calc(var(--rot) + 20deg)); } 68% { opacity: 1; transform: translateY(0) rotate(var(--rot)); } 71% { transform: translateY(-3px) rotate(var(--rot)); } 74%, 100% { opacity: 1; transform: translateY(0) rotate(var(--rot)); } }
@keyframes a-seal { 0%, 74% { opacity: 0; transform: scale(1.35) rotate(-9deg); } 78% { opacity: .9; transform: scale(.96) rotate(-9deg); } 81%, 100% { opacity: .9; transform: scale(1) rotate(-9deg); } }
/* B: decal drop-and-settle (landDecal: fall², bounce in the last 28 %) */
.drop-st { position: absolute; left: 50%; top: 50%; width: 150px; margin: -60px 0 0 -75px; animation: b-drop 3.2s var(--ease) infinite; }
.drop-sh { position: absolute; left: 50%; top: 50%; width: 130px; height: 18px; margin: 58px 0 0 -65px; border-radius: 50%; background: radial-gradient(rgb(60 40 20 / .3), transparent 70%); animation: b-shadow 3.2s var(--ease) infinite; }
@keyframes b-drop { 0%, 10% { opacity: 0; transform: translate(26px, -120px) rotate(-26deg) scale(1.08); } 14% { opacity: 1; } 52% { transform: translate(0, 0) rotate(-3deg) scale(1); } 62% { transform: translate(0, -5px) rotate(-3deg); } 72%, 100% { opacity: 1; transform: translate(0, 0) rotate(-3deg); } }
@keyframes b-shadow { 0%, 10% { opacity: 0; transform: scale(.5); } 52%, 100% { opacity: 1; transform: scale(1); } 62% { transform: scale(.94); } }
/* C: journal closing */
.book { position: absolute; left: 50%; top: 42px; width: 260px; height: 180px; margin-left: -130px; perspective: 900px; }
.book .half { position: absolute; top: 0; width: 130px; height: 180px; background-color: var(--paper-hi); background-image: radial-gradient(circle at 5px 5px, rgb(122 104 84 / .35) .7px, transparent 1.2px); background-size: 10px 10px; box-shadow: 0 0 0 5px #7A4A2E; }
.book .r { right: 0; border-radius: 0 3px 3px 0; }
.book .l { left: 0; border-radius: 3px 0 0 3px; transform-origin: right center; animation: c-close 5s cubic-bezier(.45, .05, .2, 1) infinite; transform-style: preserve-3d; z-index: 2; }
.book .l::after { content: ""; position: absolute; inset: -5px; background: #7A4A2E; border-radius: 4px; backface-visibility: hidden; transform: rotateY(180deg); }
.book .l .hand, .book .r .hand { position: absolute; left: 14px; top: 16px; font: 400 13px/22px var(--hand); color: var(--ink); backface-visibility: hidden; }
.book .rb { position: absolute; left: 196px; top: -4px; width: 9px; height: 236px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 6px), 0 100%); z-index: 1; transform-origin: top; animation: c-rib 5s var(--ease) infinite; }
@keyframes c-close { 0%, 18% { transform: rotateY(0); } 62%, 90% { transform: rotateY(-178deg); } 100% { transform: rotateY(0); } }
@keyframes c-rib { 0%, 40% { transform: rotate(0); } 62% { transform: rotate(3deg); } 72%, 90% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }
/* D: the ribbon marks where you are */
.rib-nav { position: absolute; left: 50%; top: 56px; transform: translateX(-50%); display: flex; gap: 22px; padding: 12px 22px; border-radius: 99px; background: rgb(255 252 246 / .9); border: 1px solid rgb(42 37 33 / .1); font: 500 14px/1 var(--sans); white-space: nowrap; }
.rib-nav span { position: relative; opacity: .72; }
.rib-nav span::after { content: ""; position: absolute; left: 50%; top: calc(100% + 6px); width: 4px; margin-left: -2px; height: 0; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 3px), 0 100%); }
.rib-nav span:nth-child(1)::after { animation: d-mark 6s var(--ease) infinite; }
.rib-nav span:nth-child(2)::after { animation: d-mark 6s var(--ease) 1.5s infinite; }
.rib-nav span:nth-child(3)::after { animation: d-mark 6s var(--ease) 3s infinite; }
.rib-nav span:nth-child(4)::after { animation: d-mark 6s var(--ease) 4.5s infinite; }
@keyframes d-mark { 0% { height: 0; } 6%, 22% { height: 16px; } 28%, 100% { height: 0; } }
.rib-long { position: absolute; left: 50%; top: 150px; width: 16px; height: 130px; margin-left: -8px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 10px), 0 100%); transform-origin: top; animation: sway 3.6s ease-in-out infinite alternate; }
.mo-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.mo-rules div { background: var(--paper-2); border-radius: 8px; padding: 14px 16px; font-size: 14px; color: var(--muted-text); }
.mo-rules b { display: block; font: 500 16px/1.4 var(--sans); color: var(--ink); margin-bottom: 4px; }

/* ------------------------------------------------------------------ voice */
.voice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vc { border-radius: 12px; background: var(--paper-hi); border: 1px solid rgb(42 37 33 / .08); padding: 22px 24px; }
.vc h4 { font: 500 20px/1.4 var(--serif); color: var(--ink-2); }
.vc > p { color: var(--muted-text); font-size: 14px; margin: 4px 0 14px; }
.say { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--dot); }
.say b { font: 500 12px/1 var(--sans); padding: 6px 0; text-align: center; border-radius: 4px; }
.say.ok b { background: var(--ink); color: var(--paper); }
.say.no b { color: var(--accent); box-shadow: inset 0 0 0 1px rgb(158 59 59 / .5); }
.say p { font-size: 16px; line-height: 1.6; }
.say.no p { color: var(--muted-text); text-decoration: line-through; text-decoration-color: rgb(158 59 59 / .45); }
.words { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.words > div { border-radius: 10px; padding: 18px 20px; background: var(--paper-2); }
.words h4 { font: 400 12px var(--mono); color: var(--muted-text); letter-spacing: .06em; margin-bottom: 10px; }
.words ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.words li { padding: 6px 12px; border-radius: 99px; background: var(--paper-hi); font-size: 14px; }
.words .bad li { color: var(--muted-text); text-decoration: line-through; text-decoration-color: rgb(158 59 59 / .5); }

/* ------------------------------------------------------------------ rules */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rules > div { border-radius: 12px; padding: 24px 26px; }
.rules .must { background: var(--paper-hi); border: 1px solid rgb(42 37 33 / .1); }
.rules .never { background: var(--paper-2); }
.rules h3 { font: 500 24px/1.3 var(--serif); color: var(--ink-2); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.rules h3 i { font: normal 500 13px/1 var(--mono); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.rules .must h3 i { background: var(--ink); color: var(--paper); }
.rules .never h3 i { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.rules ol { padding: 0; list-style: none; counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 30px 1fr; padding: 11px 0; border-top: 1px dashed var(--dot); font-size: 15px; }
.rules li::before { content: counter(r, decimal-leading-zero); font: 400 12px/1.9 var(--mono); color: var(--accent); }
.rules li span { display: block; color: var(--muted-text); font-size: 13px; }

/* ------------------------------------------------------------------ downloads (dusk) */
.dl .t td a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgb(247 241 230 / .3); }
.dl .t td a:hover { border-bottom-color: var(--em-dark); }
.dl .t td.sz { font: 500 13px var(--mono); color: var(--em-dark); text-align: right; white-space: nowrap; }
.dl .t th.sz { text-align: right; }
.dl .t td.m { color: rgb(247 241 230 / .6); }
.dl .t tr.grp td { padding-top: 26px; font: 400 11px var(--mono); letter-spacing: .08em; color: rgb(247 241 230 / .5); border-bottom: 1px solid rgb(247 241 230 / .25); }
.kit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 30px; }
.kit .mono { color: rgb(247 241 230 / .6); }
.fontlinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fontlinks a { padding: 8px 14px; border-radius: 99px; border: 1px solid rgb(247 241 230 / .2); text-decoration: none; font-size: 14px; }

.footer .brand img { width: 30px; height: 30px; align-self: center; margin-right: 4px; }
.footer .brand { align-items: center; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .misuse { grid-template-columns: repeat(2, 1fr); }
  .minrules, .mo-rules, .readout { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ch { padding: 96px 0; }
  .ch.bhero { padding: 116px 0 70px; }
  .bhero-grid, .blk, .anat, .space, .pin, .hw, .ease, .fam, .voice, .words, .rules, .demos, .dos, .motifs { grid-template-columns: 1fr; }
  .blk { gap: 24px; padding: 44px 0; }
  .blk-h { position: static; }
  .cover { width: min(300px, 82%); }
  .meta { grid-template-columns: repeat(2, auto); gap: 12px 28px; }
  .tiles { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .lk { height: 64px; }
  .rule-row { grid-template-columns: 1fr; }
  .tapes { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .scale { grid-template-columns: 1fr; }
  .scale .row, .scale .row.wide { grid-template-columns: 1fr; gap: 8px; }
  .stills { grid-template-columns: 1fr 1fr; }
  .stills figure, .stills figure.w3, .stills figure.w4 { grid-column: span 1; }
  .stills figure.w6, .stills figure.w4 { grid-column: span 2; }
  .stills figcaption { flex-direction: column; gap: 0; }
  .stills figcaption span { text-align: left; }
  .pola { width: calc((100% - 22px) / 2); }
  .sheet { grid-template-columns: repeat(3, 1fr); padding: 18px; }
  .texs { grid-template-columns: repeat(2, 1fr); }
  .colrow { grid-template-columns: 1fr; gap: 6px; }
  .rhythm { grid-template-columns: repeat(5, 1fr); row-gap: 18px; }
  .seq { height: 210px; }
  .seq div { font-size: 11px; }
  .seq div small { display: none; }
  .dotpanel .mk-on { left: 30px; top: 170px; width: 120px; height: 120px; }
  .dotpanel .zoom { width: 110px; height: 110px; }
  .pin { padding: 26px 22px; }
  .pair { min-width: 150px; }
  .comp { padding: 18px; }
}
@media (max-width: 520px) {
  .swatches, .misuse, .tapes { grid-template-columns: 1fr; }
  .minrules, .mo-rules, .readout { grid-template-columns: 1fr 1fr; }
  .sheet { grid-template-columns: repeat(2, 1fr); }
  .rhythm { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; animation-fill-mode: forwards !important; transition: none !important; }
}
/* the site's --muted is 4.3 : 1 on paper (see 2.4); this book's own small labels use the proposed darker value */
.ch:not(.dark) .eyebrow, .ch:not(.dark) .mono, .ch:not(.dark) details p, .ch:not(.dark) .price span { color: var(--muted-text); }

.dark .eyebrow .jp { color: var(--em-dark); }
@media (max-width: 1100px) { .scale { grid-template-columns: 1fr; } }

/* grid children may not widen the page with their min-content (live site components change underneath this book) */
.blk > *, .tiles > *, .stack > *, .comp > * { min-width: 0; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tiles.four .tile { min-height: 190px; }
.tiles.four .tile.wide { grid-column: 1 / -1; }
.tiles.four .mk { width: 88px; height: 88px; }
@media (max-width: 1100px) { .tiles.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .comp .cards3 { grid-template-columns: minmax(0, 1fr); }
  .ratio div { font-size: 0; }
  .dl .t th:nth-child(3), .dl .t td:nth-child(3) { display: none; }
  .dl .t td a { word-break: break-all; }
  .dl .t td { font-size: 13px; }
  .dotpanel .anno { display: none; }
  .dotpanel .anno.keep { display: block; }
}

.tiles.two .tile { min-height: 200px; }
.tiles.two .lk { height: 64px; }
@media (max-width: 820px) { .stills .fr { height: 200px; } .stills figure.w6 .fr { height: 120px; } .tiles.two .lk { height: 56px; } }

.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cc { background: var(--paper-hi); border: 1px solid rgb(42 37 33 / .08); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cc .pair { min-width: 0; width: 100%; justify-content: center; padding: 14px 10px; font-size: 16px; }
.cc-r { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cc-r b { font: 500 22px/1 var(--serif); color: var(--ink); }
.cc-r small { font: 400 12px var(--mono); color: var(--muted-text); }
.cc .tag { font-size: 11px; }
.cc-u { font-size: 13px; color: var(--ink); }
.dlcols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 1100px) { .cgrid { grid-template-columns: repeat(3, 1fr); } .dlcols { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 820px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) { .voice { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .voice { grid-template-columns: 1fr; } }
.footer { padding: 64px 0 28px; } .footer .footer-legal { margin-top: 40px; }
.scale .spec span { white-space: nowrap; }
.scale .spec { grid-template-columns: auto auto; justify-content: start; }
@media (max-width: 1100px) { .dlcols > .scroll-x + .scroll-x thead { display: none; } }
