/* Hallmark · shape: Workbench · genre: editorial · theme: Editorial (deal 3/3, seed curtain-fabric-calculator-rail-6d3c·bfeb0467·2026-12-05·r1) · job: try · draw: manual
 * hero: the condensed head over the order form on its paper well and the spec sheet that answers it · nav: edge-aligned, the wordmark and two links · footer: a heavy ink rule over the note and the credit lines · imagery: none, the fabric widths drawn to scale · signature: the fabric widths laid flat under the rail, the pair's dashed parting line, redrawn as you type · fonts: Bricolage Grotesque (variable, wdth 75) and Source Serif 4 from @fontsource
 * axes: light/display-condensed/chromatic-green · posture: restrained · copy: verbatim · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: H, the form holds eight boxes; labels are one or two words and the sum's working sits in small type under each answer */
/* Hallmark · waive 77 · every page · a calculator and a page that works its sum, not a landing strip */
/* Hallmark · waive 59 · the calculator · the headline and the form it introduces are one block; 40px parts them, 120px and more parts every other section */
/* Hallmark · waive 44c · every page · the drawing of the widths is the visual: under the sheet on the calculator, beside each step on how it works */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(97% 0.007 86); --color-paper-2: oklch(94% 0.010 86); --color-paper-3: oklch(91% 0.012 84);
  --color-ink: oklch(16% 0.012 280); --color-ink-2: oklch(29% 0.011 280); --color-muted: oklch(48% 0.010 75);
  --color-rule: oklch(85% 0.009 85); --color-rule-2: oklch(64% 0.010 80);
  --color-accent: oklch(49% 0.130 152); --color-accent-ink: oklch(98% 0.005 88); --color-focus: oklch(52% 0.135 152);
  --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif; --font-body: "Source Serif 4", ui-serif, Georgia, serif;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-heavy: 4px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural sat=-10 con=4 */
[data-slot] > img { filter: saturate(0.9) contrast(1.04); }

:root {
  --font-outlier: var(--font-display);
  --color-band: oklch(78% 0.010 80);
  --color-spare: oklch(90.5% 0.012 84);
  --color-cloth: oklch(89% 0.035 42);
  --color-cloth-2: oklch(81% 0.060 40);
  --color-sari-border: oklch(45% 0.110 32);
  --color-langa: oklch(88% 0.040 92);
  --color-dup: oklch(86% 0.045 330);
  --color-form: oklch(95% 0.008 86);
}

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.125rem; font-variant-numeric: oldstyle-nums; }
h1, h2 { font-weight: var(--display-weight); font-variation-settings: "wdth" 75; color: var(--color-ink); font-variant-numeric: lining-nums; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }

/* the bar */
.bar { border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; line-height: 1; }
.wordmark span { color: var(--color-muted); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-family: var(--font-display); font-weight: 500; color: var(--color-ink-2); }
.bar__nav a:active { transform: translateY(1px); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-ink); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* the hero */
.hero { padding-block: var(--space-xl) var(--space-xl); }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); line-height: 0.92; max-width: 17ch; }
.hero .lead { margin-top: var(--space-md); color: var(--color-ink); max-width: 60ch; }

/* the order form and the spec sheet */
.work { padding-bottom: var(--section-gap-s); }
.work__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.order { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); padding: var(--space-lg) var(--space-lg) var(--space-xl); }
.order__note { font-size: var(--text-md); color: var(--color-ink); }
.order__segs { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); margin-top: var(--space-lg); }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: end; gap: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: var(--space-2xs); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); font-family: var(--font-display); font-weight: 500; }
.seg label + label span { border-left: 0; }
.seg input:checked + span { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; position: relative; z-index: var(--z-base); }
.order__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); margin-top: var(--space-lg); }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); min-width: 0; }
.field__l { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.box { display: flex; align-items: center; height: 52px; min-width: 0; border: var(--rule-hair) solid var(--color-muted); background: var(--color-paper); }
.box:focus-within { border-color: var(--color-ink); }
.box i { font-style: normal; font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); padding: 0 var(--space-sm); white-space: nowrap; }
.box i:first-child { padding-right: 0; }
.field input { flex: 1 1 0; width: 100%; min-width: 0; height: 100%; padding: 0 0 0 var(--space-sm); border: 0; border-radius: 0; background: transparent; color: var(--color-ink); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: 1.6rem; font-variant-numeric: lining-nums tabular-nums; }
.field input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 0; }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }

.spec { border-top: var(--rule-heavy) solid var(--color-ink); padding-top: var(--space-md); }
.spec__label { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.spec__big { margin-top: var(--space-2xs); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(3.4rem, 5vw + 1rem, 6rem); line-height: 0.92; letter-spacing: var(--tracking-display); color: var(--color-ink); overflow-wrap: anywhere; }
.spec__blank { display: none; margin-top: var(--space-md); font-size: var(--text-lg); color: var(--color-ink); }
.spec.is-blank .spec__blank { display: block; }
.spec.is-blank .spec__big, .spec.is-blank .spec__t { opacity: 0.25; }
.spec__t { width: 100%; margin-top: var(--space-lg); border-collapse: collapse; }
.spec__t th, .spec__t td { padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.spec__t tr:first-child th, .spec__t tr:first-child td { border-top-color: var(--color-rule-2); }
.spec__t th { text-align: left; font-family: var(--font-display); font-weight: 500; color: var(--color-ink); padding-right: var(--space-md); }
.spec__t th small { display: block; margin-top: var(--space-3xs); font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: lining-nums; }
.spec__t td { text-align: right; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: var(--text-xl); color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* the drawing: the widths laid flat under the rail; the script redefines nothing, the classes take the tokens */
.draw { margin: 0; grid-column: 1 / -1; }
.draw__pic { border-top: var(--rule-hair) solid var(--color-rule-2); padding-top: var(--space-md); }
.dw { width: 100%; height: auto; max-height: 360px; }
.dw-cloth { fill: var(--color-paper); }
.dw-band { fill: var(--color-band); }
.dw-spare { fill: var(--color-spare); }
.dw-w { fill: none; stroke: var(--color-ink); stroke-width: 1.5; }
.dw-rep { stroke: var(--color-rule-2); stroke-width: 1; }
.dw-need { stroke: var(--color-ink-2); stroke-width: 2; }
.dw-cut { stroke: var(--color-ink); stroke-width: 2.5; stroke-dasharray: 7 5; }
.dw-rail { stroke: var(--color-ink); stroke-width: 5; }
.dw-end { fill: var(--color-ink); }
.key { list-style: none; margin: var(--space-sm) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.key li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.key__sw { display: inline-block; width: 22px; height: 14px; border: var(--rule-hair) solid var(--color-ink); }
.key__sw--band { background: var(--color-band); }
.key__sw--spare { background: var(--color-spare); }
.key__cut { width: 10px; height: 18px; }
.draw__cap { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }

/* sections */
.head { padding-block: var(--space-3xl) var(--space-2xl); }
.head h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 0.95; max-width: 16ch; }
.head .lead { margin-top: var(--space-md); color: var(--color-ink); max-width: 48ch; }
.sec { padding-block: var(--section-gap-s); border-top: var(--rule-heavy) solid var(--color-ink); }
.sec--first { padding-top: var(--space-2xl); }
.sec h2 { font-size: var(--text-display-s); line-height: 1; }
.sec h2 + * { margin-top: var(--space-lg); }
.sec__note { margin-top: var(--space-lg); max-width: 64ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; max-width: 62ch; }
.steps li { counter-increment: step; position: relative; padding: var(--space-sm) 0 var(--space-sm) 2.2rem; border-top: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: var(--space-sm); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; color: var(--color-ink); font-variant-numeric: lining-nums; }
.draw--side { grid-column: auto; }
.steps b { color: var(--color-ink); font-family: var(--font-display); font-weight: 500; }
.terms { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-2xl); max-width: 1080px; }
.terms div { padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.terms dt { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: var(--text-xl); color: var(--color-ink); line-height: 1.1; }
.terms dd { margin: var(--space-2xs) 0 0; max-width: 40ch; }

/* saree draping (2026-12-05): the menu on a phone, crumbs, the drawings, the steps, the chart, the GI tables */
.bar__menu, .bar__nav .bar__close { display: none; }
.crumbs ol { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule-2); }
.crumbs a { color: var(--color-ink-2); }
.ref { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); white-space: nowrap; vertical-align: 0.1em; }

/* the drawings: one dress form, the drape's pieces in token colours */
.sv { width: 100%; height: auto; display: block; }
.sv-form { fill: var(--color-form); stroke: var(--color-ink); stroke-width: 1.2; }
.sv-blouse { fill: var(--color-paper-3); stroke: var(--color-ink); stroke-width: 1; }
.sv-hair { fill: var(--color-ink-2); }
.sv-stand { stroke: var(--color-rule-2); stroke-width: 2; }
.sv-skirt { fill: var(--color-paper); stroke: var(--color-muted); stroke-width: 1; stroke-dasharray: 3 2; }
.sv-langa { fill: var(--color-langa); stroke: var(--color-ink); stroke-width: 1; }
.sv-cloth { fill: var(--color-cloth); stroke: var(--color-ink); stroke-width: 1; }
.sv-cloth2 { fill: var(--color-cloth-2); stroke: var(--color-ink); stroke-width: 1; }
.sv-border { fill: var(--color-sari-border); }
.sv-dup { fill: var(--color-dup); stroke: var(--color-ink); stroke-width: 1; }
.sv-fold { stroke: var(--color-ink); stroke-width: 0.7; }
.sv-new > * { stroke: var(--color-accent); stroke-width: 2.2; }
.sv-new > .sv-border { stroke: none; }
.sv-move { fill: none; stroke: var(--color-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-move--behind { stroke-dasharray: 4 3; }
.sv-head { fill: var(--color-accent); }
.sv-pin { fill: var(--color-ink); stroke: var(--color-paper); stroke-width: 1; }
.sv-hook { fill: var(--color-ink); }
.sv-note { font-family: var(--font-display); font-size: 9px; font-weight: 500; fill: var(--color-muted); }
.sv-floor { stroke: var(--color-rule-2); stroke-width: 1; }
.sv-zig { fill: none; stroke: var(--color-sari-border); stroke-width: 3; stroke-linejoin: round; }
.pic { margin: 0; }
.pic figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }
.pic .sv { max-width: 260px; }
.pic--wide .sv { max-width: 980px; }
.pic--mid .sv { max-width: 420px; }
.pic--wide, .pic--mid { margin-bottom: var(--space-lg); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: var(--space-xl) var(--space-2xl); margin-bottom: var(--space-lg); }

/* the steps of a drape: one step to a row, the drawing beside its words (one idea a screen) */
.drape { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); max-width: 960px; }
.drape__step { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; border-top: var(--rule-hair) solid var(--color-rule-2); padding-top: var(--space-lg); scroll-margin-top: var(--space-xl); }
.drape__step:target { outline: 3px solid var(--color-focus); outline-offset: var(--space-xs); }
.drape__pic { margin: 0; }
.drape__pic .sv { max-width: 300px; }
.drape__txt { max-width: 44ch; }
.drape__txt h3 { font-size: var(--text-2xl); font-weight: 800; font-variation-settings: "wdth" 75; color: var(--color-ink); line-height: 1.05; }
.drape__n { display: block; margin-bottom: var(--space-2xs); font-size: var(--text-lg); font-weight: 500; color: var(--color-muted); font-variation-settings: normal; }
.drape__txt p { margin-top: var(--space-sm); }

/* the home page's styles and the hub's glance */
.cards { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-xl) var(--space-lg); }
.card { border-top: var(--rule-hair) solid var(--color-rule-2); padding-top: var(--space-sm); }
.card__a { display: block; text-decoration: none; }
.card__a .sv { max-width: 200px; }
.card__name { display: block; margin-top: var(--space-xs); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: var(--text-xl); color: var(--color-ink); line-height: 1.1; }
.card__a:hover .card__name { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.glance { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-lg); }
.glance a { display: block; text-decoration: none; font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.glance span { display: block; margin-top: var(--space-2xs); }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 72ch; }
.links li { padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); display: grid; gap: var(--space-3xs); }
.links a { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: var(--text-xl); line-height: 1.15; }
.links span { font-size: var(--text-md); color: var(--color-ink-2); }
.facts { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: var(--space-sm); max-width: 66ch; }
.facts--tight { gap: var(--space-2xs); }
.facts b { color: var(--color-ink); font-family: var(--font-display); font-weight: 500; }

/* tables: the chart of styles, the GI sarees */
.tbl-wrap { overflow-x: auto; max-width: 100%; }
.tbl { width: 100%; max-width: 1080px; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; vertical-align: baseline; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.tbl thead th { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); border-top: 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.tbl tbody th { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: var(--text-lg); color: var(--color-ink); }
.tbl--chart { max-width: 860px; }
.tbl--chart th, .tbl--chart td { vertical-align: middle; }
.tbl__style { display: flex; align-items: center; gap: var(--space-md); text-decoration: none; color: var(--color-ink); }
.tbl__style .sv { width: 64px; flex: none; }
.tbl__style span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.tbl__style:hover span { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.tbl--gi { max-width: 760px; }
.tbl--gi tbody th { font-size: var(--text-md); font-weight: 500; font-variation-settings: normal; }
.tbl--gi td { white-space: nowrap; }
.toc { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); font-family: var(--font-display); font-weight: 500; }
.toc a { min-height: 44px; display: inline-flex; align-items: center; }
.toc .num { color: var(--color-muted); }
.gi { margin-top: var(--space-xl); }
.gi h3 { font-size: var(--text-xl); margin-bottom: var(--space-sm); scroll-margin-top: var(--space-xl); }

/* the register of sources */
.register { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 68ch; }
.register li:target { outline: 3px solid var(--color-focus); outline-offset: var(--space-xs); }
.register__claim { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: 500; }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border-left: var(--rule-heavy) solid var(--color-rule-2); }
.register blockquote p { margin: 0; }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); max-width: 64ch; }

/* the foot */
.foot { border-top: var(--rule-heavy) solid var(--color-ink); }
.foot__in { padding-block: var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-sm); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

@media (max-width: 900px) {
  .work__in, .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .bar__menu { display: inline-flex; min-height: 44px; align-items: center; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); color: var(--color-ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; }
  .bar__nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: var(--space-sm); }
  .bar__nav:target { display: flex; }
  .bar__in:has(.bar__nav:target) .bar__menu { display: none; }
  .bar__nav:target .bar__close { display: inline-flex; }
  .bar__nav a { border-top: var(--rule-hair) solid var(--color-rule); }
}
@media (max-width: 600px) {
  .drape { gap: var(--space-xl); }
  .drape__step { grid-template-columns: 128px minmax(0, 1fr); gap: var(--space-md); align-items: start; padding-top: var(--space-md); }
  .drape__txt h3 { font-size: var(--text-xl); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
  .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md) var(--space-xs); }
  .glance span { font-size: var(--text-sm); }
  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .tbl th, .tbl td { padding-right: var(--space-sm); }
  .tbl__style { gap: var(--space-xs); }
  .tbl__style .sv { width: 40px; }
  .hero { padding-top: var(--space-xl); }
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .order { padding: var(--space-md) var(--space-md) var(--space-lg); }
  .order__grid { gap: var(--space-sm) var(--space-md); }
  .seg span { padding: 0 var(--space-sm); }
  .terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
