/* Medical Practice Owner: the practice catalogue. A medical-surgical supply catalogue printed in two inks on white
   stock: black ink for every word, rule, drawing and reversed box, and citron as stock only (the cover, a section's
   band, the figure plates). No tints of either and no greys: what is secondary is smaller or lighter, never paler.
   One family, Encode Sans: its condensed width (75) for item numbers, the claim, headings and captions, its normal
   width for text; Noto Sans (with its width axis) for the scripts it does not set. Logical properties throughout, for
   right to left. Every media query sits after the rules it changes. */
:root {
    --ink: #1b1b14;
    --stock: #ffffff;
    --citron: #e6dc2a;
    --wrap: 82.5rem;
    --gut: clamp(1rem, 3.2vw, 2.5rem);
    --measure: 42rem;
    --fig-h: clamp(4.25rem, 6.2vw, 6.25rem);
    --face: "Encode Sans", "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Thai", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif;
    font-family: var(--face);
    font-size: 100%;
    line-height: 1.55;
    color: var(--ink);
    background: var(--stock);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scrollbar-color: var(--ink) var(--stock);
    caret-color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-wrap: break-word; font-variant-numeric: lining-nums; }
::selection { background: var(--ink); color: var(--stock); }
img { max-inline-size: 100%; block-size: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
.wrap { max-inline-size: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 0.5rem; inset-block-start: -5rem; z-index: 20; padding: 0.7rem 1rem; background: var(--ink); color: var(--stock); font-weight: 700; }
.skip:focus { inset-block-start: 0.5rem; outline-color: var(--citron); }

/* the boxes every number is printed in: an item's six figures, a section's two (reversed, tabular figures) */
/* inline, not inline-block, so that a no-break space binds the box to the name's first word */
.item-no, .sec-no {
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0.08em 0.42em 0.04em;
    background: var(--ink);
    color: var(--stock);
    font-weight: 800;
    font-stretch: 75%;
    font-variant-numeric: tabular-nums lining-nums;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}
.sec-no { padding-inline: 0.34em; }

/* the button: black ink, condensed, the arrow drawn */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.65em;
    min-block-size: 3rem;
    padding: 0.65rem 1.15rem 0.6rem;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: var(--stock);
    font-weight: 800;
    font-stretch: 75%;
    font-size: 1.15rem;
    line-height: 1.15;
    text-decoration: none;
}
.button:hover { background: var(--stock); color: var(--ink); }
.arrow { inline-size: 1.35em; block-size: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.more { margin: 0.9rem 0 0; font-weight: 700; font-stretch: 87.5%; }

/* a section heading of a page: big, condensed, under a heavy rule */
.head {
    margin: clamp(2.75rem, 5vw, 4rem) 0 1.1rem;
    padding-block-start: 0.55rem;
    border-block-start: 6px solid var(--ink);
    font-size: clamp(1.55rem, 1.15rem + 1.2vw, 2.15rem);
    font-weight: 850;
    font-stretch: 75%;
    line-height: 1.05;
}

/* ---- the masthead ---- */
.mast { background: var(--stock); border-block-end: 4px solid var(--ink); position: relative; z-index: 5; }
.mast__row { display: flex; align-items: center; gap: 0.75rem 1.6rem; min-block-size: 4.4rem; padding-block: 0.55rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; min-inline-size: 0; margin-inline-end: auto; color: var(--ink); text-decoration: none; }
.brand__mark { inline-size: 2.75rem; block-size: 2.75rem; flex: none; }
.brand__mark .mk-stock { fill: var(--citron); }
.brand__mark .mk-ink { fill: var(--ink); }
.brand__mark .mk-body { fill: var(--stock); }
.brand__words { display: grid; min-inline-size: 0; }
.brand__name { font-size: 1.4rem; font-weight: 850; font-stretch: 75%; line-height: 1; }
.brand__sub { margin-block-start: 0.25rem; font-size: 0.8rem; font-weight: 600; font-stretch: 87.5%; line-height: 1.2; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.1rem 1.1rem; }
.nav a { padding-block: 0.45rem 0.3rem; border-block-end: 3px solid transparent; font-size: 0.95rem; font-weight: 700; font-stretch: 87.5%; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { border-block-end-color: var(--ink); }
.menu, .lang { position: relative; flex: none; }
.menu summary, .lang summary {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-block-size: 2.75rem;
    padding: 0.35rem 0.65rem;
    border: 2px solid var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    font-stretch: 87.5%;
    cursor: pointer;
    list-style: none;
}
.menu summary::-webkit-details-marker, .lang summary::-webkit-details-marker { display: none; }
.menu[open] summary, .lang[open] summary { background: var(--ink); color: var(--stock); }
.menu summary svg { inline-size: 1.1rem; block-size: auto; fill: none; stroke: currentColor; stroke-width: 2; }
.lang__code { padding: 0.05rem 0.3rem; background: var(--ink); color: var(--stock); font-weight: 800; font-stretch: 75%; }
.lang[open] .lang__code { background: var(--stock); color: var(--ink); }
.menu ul, .lang ul {
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: calc(100% + 6px);
    z-index: 6;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    background: var(--stock);
    border: 2px solid var(--ink);
    inline-size: max-content;
    max-inline-size: min(22rem, calc(100vw - 2rem));
    max-block-size: 65vh;
    overflow: auto;
}
.lang ul { columns: 2; column-gap: 0.4rem; }
.menu:not([open]) ul, .lang:not([open]) ul { display: none; }
.menu li a, .lang li a { display: block; padding: 0.55rem 0.7rem; text-decoration: none; font-weight: 600; break-inside: avoid; }
.menu li a:hover, .menu li a[aria-current], .lang li a:hover, .lang li a[aria-current] { background: var(--ink); color: var(--stock); }
.menu { display: none; }

/* ---- the cover (the home's first view): citron stock, full bleed ---- */
.cover { background: var(--citron); border-block-end: 4px solid var(--ink); }
.cover__grid {
    display: grid;
    grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
    gap: 2rem clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    padding-block: clamp(1.5rem, 2.6vw, 2.5rem) clamp(2.25rem, 4vw, 3.25rem);
}
.claim {
    margin: 0;
    font-size: clamp(2.35rem, 1.05rem + 3.4vw, 4.4rem);
    font-weight: 850;
    font-stretch: 75%;
    line-height: 0.95;
    letter-spacing: -0.012em;
}
.claim--long { font-size: clamp(2.1rem, 0.95rem + 2.9vw, 3.7rem); }
.claim--longer { font-size: clamp(1.9rem, 0.9rem + 2.4vw, 3.1rem); }
.cover__lede { margin: 0.9rem 0 0; max-inline-size: 34rem; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.45; }
.cover__go { margin: 1.2rem 0 0; }
.cover__go .button:hover { background: var(--stock); }

/* the look-up: the index box on the cover (js/site.js) */
.look { margin-block-start: 1.4rem; max-inline-size: 34rem; container-type: inline-size; }
.look[hidden] { display: none; }
.look__label { display: block; margin-block-end: 0.35rem; font-size: 1.05rem; font-weight: 800; font-stretch: 75%; }
.look__field { display: flex; align-items: center; gap: 0.55rem; min-block-size: 3.25rem; padding-inline: 0.8rem 0.35rem; background: var(--stock); border: 2px solid var(--ink); }
.look__field:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.look__glass { inline-size: 1.25rem; block-size: auto; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.2; }
.look__input { flex: 1; min-inline-size: 0; padding-block: 0.6rem; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.15rem; font-weight: 700; outline: none; }
.look__input::placeholder { color: var(--ink); opacity: 1; font-weight: 400; }
.look__input::-webkit-search-cancel-button { display: none; }
.look__clear { flex: none; min-block-size: 2.4rem; padding: 0.25rem 0.6rem; border: 0; background: none; color: var(--ink); font: inherit; font-size: 0.9rem; font-weight: 700; font-stretch: 87.5%; text-decoration: underline; cursor: pointer; }
.look__clear[hidden] { display: none; }
.look__try { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35em; margin: 0.8rem 0 0; font-size: clamp(0.8rem, 3.1cqi, 0.95rem); }
.look__try-word { font-weight: 800; font-stretch: 75%; margin-inline-end: 0.15em; }
.look__chip { min-block-size: 2.6rem; padding: 0.3em 0.45em; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-stretch: 87.5%; cursor: pointer; }
.look__chip:hover, .look__chip[aria-pressed="true"] { background: var(--ink); color: var(--stock); }
.look__status { min-block-size: 1.4em; margin: 0.9rem 0 0.45rem; font-size: 0.95rem; font-weight: 700; font-stretch: 87.5%; }
.look__status:empty { margin: 0; min-block-size: 0; }
.look__answer { margin: 0; padding: 0; list-style: none; background: var(--stock); border: 2px solid var(--ink); }
.look__answer[hidden] { display: none; }
.look__answer li + li { border-block-start: 1px solid var(--ink); }
.look__answer a { display: flex; align-items: baseline; gap: 0.55rem; padding: 0.55rem 0.7rem; text-decoration: none; font-weight: 600; line-height: 1.3; }
.look__answer a:hover, .look__answer a:focus-visible { background: var(--ink); color: var(--stock); outline: none; }
.look__answer a:hover :is(.item-no, .sec-no), .look__answer a:focus-visible :is(.item-no, .sec-no) { background: var(--stock); color: var(--ink); }
.look__answer .look__group { padding: 0.35rem 0.7rem 0.2rem; font-size: 0.8rem; font-weight: 800; font-stretch: 75%; letter-spacing: 0.05em; text-transform: uppercase; }
.look__secs { display: inline-flex; gap: 0.25rem; flex: none; }

/* the shelves: the ten sections' figures standing on black rules, each captioned and linked */
.shelves { display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); padding-block-start: 0.4rem; }
.shelf { display: flex; margin: 0; padding: 0; list-style: none; }
.shelf__item { position: relative; flex: 1 0 auto; inline-size: max(calc(var(--fig-h) * var(--w) / 100), 7.75rem); }
.shelf__link { display: block; color: var(--ink); text-decoration: none; }
.shelf__fig { display: flex; justify-content: center; align-items: flex-end; block-size: calc(var(--fig-h) + 0.6rem); padding-inline: 0.35rem; border-block-end: 4px solid var(--ink); }
.shelf__fig .fig { block-size: var(--fig-h); inline-size: auto; max-inline-size: 100%; }
.shelf__cap { display: block; padding: 0.55rem 0.2rem 0; hyphens: auto; font-size: 0.875rem; font-weight: 700; font-stretch: 87.5%; line-height: 1.2; text-align: center; }
.shelf__link:hover .shelf__cap { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.shelf .sec-no { background: var(--stock); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.shelf__item.is-hit .sec-no { background: var(--ink); color: var(--stock); }
.shelf__count { position: absolute; inset-block-start: 0; inset-inline-end: 0.2rem; padding: 0.1rem 0.4rem; background: var(--stock); border: 2px solid var(--ink); font-size: 0.8rem; font-weight: 800; font-stretch: 75%; line-height: 1.2; white-space: nowrap; }
.shelf__count[hidden] { display: none; }

/* the figures: black line, white bodies, solid black parts, citron stock; the line keeps its width at any size */
.fig * { fill: none; stroke: var(--ink); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.fig .b { fill: var(--stock); }
.fig .k { fill: var(--ink); }
.fig .c { fill: var(--citron); }
.fig .t { stroke-width: 1.2px; }

/* ---- the page band: a section's on its citron stock with its figure, every other page's white under the heavy rule ---- */
.band { border-block-end: 4px solid var(--ink); }
.band--sec { background: var(--citron); }
.band--plain { background: var(--stock); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.5rem 2rem; }
.band__words { padding-block: 1.1rem 1.2rem; }
.band__fig { padding-block-start: 0.9rem; line-height: 0; }
.band__fig .fig { block-size: clamp(4.25rem, 7.5vw, 7rem); inline-size: auto; }
.crumbs { font-size: 0.9rem; font-weight: 700; font-stretch: 87.5%; line-height: 1.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { margin-inline: 0.2rem; }
.crumbs__sec { white-space: normal; }
.band__title { margin: 0.6rem 0 0; max-inline-size: 52rem; font-size: clamp(2rem, 1.15rem + 2.6vw, 3.6rem); font-weight: 850; font-stretch: 75%; line-height: 1; letter-spacing: -0.008em; }
.sec-no--big { font-size: 0.62em; vertical-align: 0.22em; }
.band__lede { margin: 0.8rem 0 0; max-inline-size: 46rem; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.45; }
.band__in { margin: 0.75rem 0 0; font-weight: 700; font-stretch: 87.5%; }
.band__in a { text-decoration: none; }
.band__runin { margin-block-start: 0.85rem; }

/* ---- an item (an article) ---- */
.item { padding-block: clamp(1.75rem, 3.5vw, 2.75rem) 0; }
.notice { margin: 0 0 1.5rem; padding: 0.8rem 1rem; border: 2px solid var(--ink); }
.item__head { max-inline-size: 56rem; }
.item__title { margin: 0; font-size: clamp(1.95rem, 1.2rem + 2.3vw, 3.3rem); font-weight: 800; font-stretch: 75%; line-height: 1.02; letter-spacing: -0.006em; }
.item-no--big { font-size: 0.5em; vertical-align: 0.32em; }
.item__lede { margin: 1rem 0 0; max-inline-size: 46rem; font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.28rem); line-height: 1.5; }
.item__meta { margin: 1rem 0 0; font-size: 0.9rem; font-weight: 600; font-stretch: 87.5%; }
.item__kind { font-weight: 800; }
.item__cover { display: block; margin-block-start: 1.75rem; }

/* the specification table: the reversed head, ruled rows, the label column */
.spec-wrap { max-inline-size: 56rem; margin-block: clamp(1.75rem, 3vw, 2.5rem) 0; }
.spec { inline-size: 100%; border-collapse: collapse; border: 2px solid var(--ink); }
.spec__head { caption-side: top; padding: 0.55rem 0.9rem 0.5rem; background: var(--ink); color: var(--stock); text-align: start; font-size: 1.05rem; font-weight: 850; font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase; }
.spec th, .spec td { padding: 0.7rem 0.9rem; border-block-start: 1px solid var(--ink); vertical-align: top; text-align: start; }
.spec tr:first-child :is(th, td) { border-block-start: 0; }
.spec th { inline-size: 30%; border-inline-end: 1px solid var(--ink); font-size: 0.98rem; font-weight: 800; font-stretch: 87.5%; line-height: 1.35; }
.spec td { font-size: 1.05rem; line-height: 1.5; }
.spec a { font-weight: 600; }

/* the description: "On this sheet" beside it on a wide screen */
.item__body { margin-block-start: clamp(2rem, 4vw, 3rem); }
.item__body.has-sheet { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, var(--measure)); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.sheet { position: sticky; inset-block-start: 1.25rem; padding-block-start: 0.5rem; border-block-start: 6px solid var(--ink); }
.sheet__head { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 850; font-stretch: 75%; }
.sheet ol { margin: 0; padding: 0; list-style: none; }
.sheet a { display: block; padding-block: 0.45rem; border-block-end: 1px solid var(--ink); font-size: 0.95rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.sheet a:hover { text-decoration: underline; }

.prose { max-inline-size: var(--measure); font-size: 1.125rem; line-height: 1.65; }
.prose > :first-child { margin-block-start: 0; }
.prose h2 { margin: 2.6rem 0 0.75rem; padding-block-start: 0.45rem; border-block-start: 3px solid var(--ink); font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 800; font-stretch: 75%; line-height: 1.12; }
.prose h3 { margin: 1.9rem 0 0.5rem; font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.prose p, .prose ul, .prose ol, .prose dl { margin: 0 0 1.1rem; }
.prose strong { font-weight: 750; }
.prose ul { padding-inline-start: 1.35rem; list-style: none; }
.prose ul > li { position: relative; margin-block-end: 0.45rem; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: -1.2rem; inset-block-start: 0.62em; inline-size: 0.45em; block-size: 0.45em; background: var(--ink); }
.prose ol { padding-inline-start: 2.7rem; list-style: none; counter-reset: step; }
.prose ol > li { position: relative; margin-block-end: 0.75rem; counter-increment: step; }
.prose ol > li::before { content: counter(step); position: absolute; inset-inline-start: -2.7rem; inset-block-start: 0.12em; display: grid; place-items: center; min-inline-size: 1.85rem; block-size: 1.6rem; padding-inline: 0.2rem; background: var(--ink); color: var(--stock); font-size: 0.95rem; font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; line-height: 1; }
.prose li > ul, .prose li > ol { margin-block: 0.5rem 0; }
.prose code { padding: 0 0.28em; border: 1px solid var(--ink); font: inherit; font-weight: 700; font-stretch: 87.5%; }
.prose hr { margin: 2.5rem 0; border: 0; border-block-start: 3px solid var(--ink); }
.prose figure { margin: 2rem 0; }
.prose figcaption { margin-block-start: 0.5rem; font-size: 0.9rem; font-weight: 600; font-stretch: 87.5%; }
/* a blockquote is a note: ruled, its label run in, reversed */
.prose blockquote { margin: 1.75rem 0; padding: 0.95rem 1.15rem; border: 2px solid var(--ink); }
.prose blockquote p:last-child { margin-block-end: 0; }
.note__label { display: inline-block; margin-inline-end: 0.45em; padding: 0.06em 0.4em 0.02em; background: var(--ink); color: var(--stock); font-size: 0.82em; font-weight: 850; font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }
/* tables ruled the catalogue's way; a column aligned right is set as figures */
.prose .zna-table { margin: 1.75rem 0; overflow-x: auto; overscroll-behavior-x: contain; border-block: 2px solid var(--ink); }
.prose table { inline-size: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.prose th { padding: 0.55rem 0.75rem; background: var(--ink); color: var(--stock); text-align: start; vertical-align: bottom; font-size: 0.92rem; font-weight: 800; font-stretch: 87.5%; }
.prose td { padding: 0.6rem 0.75rem; border-block-start: 1px solid var(--ink); vertical-align: top; }
.prose :is(th, td)[align="right"] { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose :is(th, td)[align="center"] { text-align: center; }
.prose .zna-table:focus-visible { outline-offset: 2px; }
/* the questions */
.qa { margin-block-start: 2.6rem; }
.qa__list { margin: 0; }
.qa__list dt { margin-block-start: 1.25rem; font-size: 1.15rem; font-weight: 800; line-height: 1.35; }
.qa__list dd { margin: 0.4rem 0 0; }
.qa__list dd p { margin-block-end: 0.6rem; }
/* a run-in label and its items: an item's index terms and languages, a topic's sub-topics, the mail address */
.runin { margin: 1.4rem 0 0; font-size: 1rem; line-height: 1.6; }
.runin__key { margin-inline-end: 0.55em; padding: 0.06em 0.4em 0.02em; background: var(--ink); color: var(--stock); font-size: 0.82em; font-weight: 850; font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase; }
.use { padding-block-end: 1rem; }

/* ---- the listing: one row per item, one grid for all of them ---- */
.rows { container-type: inline-size; margin: 0; padding: 0; list-style: none; border-block-start: 2px solid var(--ink); }
.row { position: relative; display: grid; grid-template-columns: 6.25rem minmax(0, 1fr) minmax(0, 15rem); gap: 0.35rem 1.25rem; align-items: baseline; padding-block: 0.9rem; border-block-end: 1px solid var(--ink); }
.row__no { justify-self: start; font-size: 1rem; }
.row__body { min-inline-size: 0; }
.row__title { margin: 0; font-size: 1.12rem; font-weight: 750; line-height: 1.3; }
.row__title a { text-decoration: none; }
.row__title a:hover { text-decoration: underline; }
.row__sum { margin: 0.3rem 0 0; font-size: 1rem; line-height: 1.5; }
.row__meta { margin: 0; font-size: 0.88rem; font-weight: 600; font-stretch: 87.5%; line-height: 1.4; text-align: end; }
.rows--compact .row { grid-template-columns: 5.6rem minmax(0, 1fr) auto; padding-block: 0.55rem; }
.rows--compact .row__no { font-size: 0.9rem; }
.rows--compact .row__title { font-size: 1rem; }
@container (max-width: 40rem) {
    .rows .row { grid-template-columns: auto minmax(0, 1fr); }
    .rows .row__meta { grid-column: 2; text-align: start; }
}
.listing { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0.5rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-block-start: 1.75rem; }
.pager__go { display: inline-flex; align-items: center; min-block-size: 2.75rem; padding: 0.4rem 0.9rem; border: 2px solid var(--ink); font-weight: 800; font-stretch: 87.5%; text-decoration: none; }
.pager__go:hover { background: var(--ink); color: var(--stock); }
.pager__here { font-weight: 700; font-stretch: 87.5%; }

/* ---- the home after the cover: new items and notices, the contents, the index ---- */
.news--two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 clamp(2rem, 4vw, 3.5rem); }
.contents__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(2rem, 4vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.contents__sec { padding-block-start: 0.6rem; border-block-start: 3px solid var(--ink); }
.contents__name { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem); font-weight: 850; font-stretch: 75%; line-height: 1.1; }
.contents__name a { text-decoration: none; }
.contents__name a:hover { text-decoration: underline; }
.contents__holds { margin: 0.5rem 0 0.9rem; max-inline-size: 36rem; font-size: 1rem; line-height: 1.5; }
.contents__empty { margin: 0; font-size: 0.95rem; font-weight: 700; font-stretch: 87.5%; }
.index__lede { margin: 0 0 1.25rem; max-inline-size: 40rem; font-size: 1.05rem; }
.index__list { margin: 0; padding: 0; list-style: none; columns: 4 15rem; column-gap: clamp(1.5rem, 3vw, 2.75rem); }
.index__entry { display: flex; align-items: baseline; padding-block: 0.32rem; break-inside: avoid; font-size: 1rem; line-height: 1.35; }
.index__entry[hidden] { display: none; }
.index__term { font-weight: 600; text-decoration: none; }
.index__term:hover { text-decoration: underline; }
.index__secs { display: flex; flex: 1; align-items: baseline; justify-content: flex-end; font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.index__secs::before { content: ""; flex: 1; min-inline-size: 0.75rem; margin-inline: 0.35rem; border-block-end: 2px dotted var(--ink); }
.index__secs a { text-decoration: none; }
.index__secs a:hover { text-decoration: underline; }

/* ---- the start page: the ten sections on their plates ---- */
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.plates__sec { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; scroll-margin-block-start: 1.5rem; }
.plates__sec:target .plate { outline: 4px solid var(--ink); outline-offset: 3px; }
.plate { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1; padding: 0.75rem; background: var(--citron); border-block-end: 4px solid var(--ink); }
.plate .fig { inline-size: 100%; block-size: auto; max-block-size: 100%; }
.plates__name { margin: 0 0 0.45rem; font-size: 1.35rem; font-weight: 850; font-stretch: 75%; line-height: 1.1; }
.plates__words p { margin: 0 0 0.5rem; font-size: 1rem; line-height: 1.5; }
.plates__begin strong { font-weight: 800; }
.page-prose { padding-block: clamp(1.5rem, 3vw, 2.5rem) 1rem; }
.start .page-prose { padding-block-start: 0.5rem; }
.page-date { font-size: 0.95rem; font-weight: 700; font-stretch: 87.5%; }
.mail { font-size: 1.2rem; }
.short { padding-block: 2rem 1rem; }
.short__go { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0; }
.short__go > a:not(.button) { font-weight: 700; }

/* ---- the house ad: an advertiser's panel in reverse, like the house bar, "Advertisement" printed under it ---- */
.advert { max-inline-size: var(--measure); margin-block: 3rem 1rem; }
.house { display: grid; gap: 0.4rem; padding: 1.15rem 1.35rem 1.25rem; border: 2px solid var(--ink); background: var(--ink); color: var(--stock); text-decoration: none; }
.house__logo { color: var(--stock); }
.house__title { font-size: 1.3rem; font-weight: 850; font-stretch: 75%; line-height: 1.15; }
.house__text { font-size: 1rem; line-height: 1.5; }
.house__go { justify-self: start; margin-block-start: 0.4rem; padding: 0.5rem 0.95rem; border: 2px solid var(--stock); background: var(--stock); color: var(--ink); font-weight: 800; font-stretch: 75%; font-size: 1.05rem; }
.house:hover .house__go { background: var(--ink); color: var(--stock); }
.advert__word { margin: 0.35rem 0 0; font-size: 0.78rem; font-weight: 700; font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase; text-align: end; }
.home-ad { padding-block-end: 1rem; }

/* the floating house ad, in reverse; the page keeps its measured height (--bar-h, set by the script) free at its foot */
.has-bar { padding-block-end: var(--bar-h, 4.5rem); }
html:has(.has-bar) { scroll-padding-block-end: calc(var(--bar-h, 4.5rem) + 0.75rem); }
.house-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 4; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem var(--gut) calc(0.5rem + env(safe-area-inset-bottom)); background: var(--ink); color: var(--stock); }
.house-bar[hidden] { display: none; }
.house-bar__tag { flex: none; padding: 0.1rem 0.35rem; border: 1px solid var(--stock); font-size: 0.68rem; font-weight: 800; font-stretch: 75%; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.house-bar__link { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; min-block-size: 44px; color: var(--stock); text-decoration: none; }
.house-bar .house__logo { color: var(--stock); }
.house-bar__text { flex: 1 1 12rem; font-weight: 700; font-stretch: 87.5%; }
.house-bar__go { padding: 0.35rem 0.8rem; background: var(--stock); color: var(--ink); font-weight: 800; font-stretch: 75%; }
.house-bar__link:hover .house-bar__go { text-decoration: underline; }
.house-bar__close { flex: none; display: grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 0; background: none; color: var(--stock); cursor: pointer; }
.house-bar__close svg { inline-size: 1rem; block-size: 1rem; }
.house-bar :focus-visible { outline-color: var(--stock); }

/* ---- the back cover: the footer, in reverse ---- */
.back { background: var(--ink); color: var(--stock); padding-block: 2.5rem 2.75rem; margin-block-start: clamp(3rem, 6vw, 5rem); }
.back a { color: var(--stock); }
.back :focus-visible { outline-color: var(--stock); }
.back__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; }
.back__name { margin: 0; font-size: 1.6rem; font-weight: 850; font-stretch: 75%; line-height: 1.1; }
.back__sub { display: block; font-size: 0.95rem; font-weight: 600; font-stretch: 87.5%; }
.back__note { margin: 0; max-inline-size: 34rem; font-size: 1rem; line-height: 1.5; }
.back__links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; }
.back__links a { padding-block: 0.4rem; font-weight: 700; font-stretch: 87.5%; }
.back__copy { margin: 0; align-self: end; font-size: 0.9rem; font-weight: 600; font-stretch: 87.5%; }

/* scripts that have no capitals, or no letter-spacing of their own */
body:is(.lang-ar-SA, .lang-hi-IN, .lang-th-TH, .lang-ja-JP, .lang-ko-KR, .lang-zh-CHS, .lang-zh-CHT) :is(.spec__head, .note__label, .runin__key, .advert__word, .look__group, .house-bar__tag) { letter-spacing: 0; text-transform: none; }
body:is(.lang-ar-SA, .lang-hi-IN, .lang-th-TH) :is(.claim, .band__title, .item__title) { line-height: 1.25; }
body:is(.lang-ja-JP, .lang-ko-KR, .lang-zh-CHS, .lang-zh-CHT) :is(.claim, .band__title, .item__title) { line-height: 1.15; letter-spacing: 0; }

/* ---- motion: one authored moment, the look-up's answer on the shelves ---- */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .shelf__fig .fig { transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1); }
    .shelf__item.is-hit .shelf__fig .fig { transform: translateY(-0.45rem); }
    .shelf .sec-no { transition: background-color 0.18s ease-out, color 0.18s ease-out; }
}

/* ---- narrower screens (after the rules they change) ---- */
@media (min-width: 77.01rem) and (max-height: 50rem) {
    .claim { font-size: clamp(2.2rem, 0.9rem + 3.1vw, 3.9rem); }
    .claim--long { font-size: clamp(2rem, 0.85rem + 2.6vw, 3.3rem); }
    .claim--longer { font-size: clamp(1.8rem, 0.8rem + 2.2vw, 2.8rem); }
    .cover__lede { font-size: 1.05rem; }
}
@media (max-width: 77rem) {
    .cover__grid { grid-template-columns: minmax(0, 1fr); }
    .cover__text { max-inline-size: 44rem; }
    .claim { font-size: clamp(2.35rem, 1.2rem + 4.2vw, 4rem); }
    .claim--long { font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.4rem); }
    .claim--longer { font-size: clamp(1.9rem, 1rem + 3vw, 2.9rem); }
}
@media (max-width: 64rem) {
    .nav { display: none; }
    .menu { display: block; }
    .item__body.has-sheet { display: block; }
    .sheet { position: static; margin-block-end: 2rem; }
    .news--two, .contents__list, .plates { grid-template-columns: minmax(0, 1fr); }
    .back__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 44rem) {
    :root { --fig-h: 4.5rem; }
    .mast__row { gap: 0.5rem; min-block-size: 3.75rem; padding-block: 0.45rem; }
    .brand { gap: 0.5rem; }
    .brand__mark { inline-size: 2.3rem; block-size: 2.3rem; }
    .brand__name { font-size: 1.05rem; }
    .brand__sub { font-size: 0.72rem; }
    .brand__desc { display: none; }
    .menu summary, .lang summary { padding-inline: 0.5rem; }
    .lang__name { display: none; }
    .cover__grid { gap: 1.75rem; padding-block: 1.25rem 1.75rem; }
    .cover__lede { margin-block-start: 0.85rem; }
    .cover__go { margin-block-start: 1.15rem; }
    .look { margin-block-start: 1.4rem; }
    /* the shelves become strips that scroll sideways */
    .shelves { gap: 1rem; margin-inline: calc(var(--gut) * -1); }
    .shelf { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-inline: var(--gut); scrollbar-width: thin; }
    .shelf__item { flex: 0 0 auto; scroll-snap-align: start; }
    .band__grid { grid-template-columns: minmax(0, 1fr) auto; }
    .band__fig .fig { block-size: 3.75rem; }
    .spec th, .spec td { display: block; inline-size: auto; }
    .spec th { padding-block-end: 0.1rem; border-inline-end: 0; }
    .spec td { padding-block-start: 0.15rem; border-block-start: 0; }
    .spec tr:first-child th { border-block-start: 0; }
    .spec tr + tr th { border-block-start: 1px solid var(--ink); }
    .spec td[colspan] { padding-block-start: 0.7rem; border-block-start: 1px solid var(--ink); }
    .plates__sec { grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; }
    .prose ol { padding-inline-start: 2.4rem; }
    .prose ol > li::before { inset-inline-start: -2.4rem; }
    .house-bar__link { gap: 0.3rem 0.5rem; }
    .house-bar .house__logo { display: none; }
    .house-bar__text { order: -1; flex-basis: 100%; font-size: 0.92rem; line-height: 1.25; }
    .house-bar__go { margin-inline-start: auto; padding-inline: 0.5rem; }
    .house-bar__tag { font-size: 0.62rem; }
}
@media (min-width: 22.5rem) and (max-width: 44rem) {
    .brand__name { white-space: nowrap; }
}
@media (max-width: 22rem) {
    .brand__sub { display: none; }
    .menu__word { display: none; }
    .house-bar { gap: 0.25rem; }
    .house-bar__link { gap: 0.3rem 0.35rem; }
    .house-bar__tag { padding: 0.05rem 0.2rem; font-size: 0.56rem; letter-spacing: 0.03em; }
    .house-bar__go { padding: 0.3rem 0.4rem; font-size: 0.95rem; }
}

@media print {
    .house-bar, .nav, .menu, .lang, .look, .advert, .skip, .sheet, .pager { display: none !important; }
    .has-bar { padding-block-end: 0; }
    .cover, .band--sec { background: none; }
    .back { background: none; color: var(--ink); }
    .back a { color: var(--ink); }
    .item__body.has-sheet { display: block; }
}
