/* Obi Band — sleeve, band and reading column */

@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 400; font-display: swap; src: url("face/zkg-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 400; font-display: swap; src: url("face/zkg-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url("face/zkg-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url("face/zkg-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url("face/zkg-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url("face/zkg-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 900; font-display: swap; src: url("face/zkg-900-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 900; font-display: swap; src: url("face/zkg-900-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --sleeve: #f4f5f2;
    --ink: #111111;
    --quiet: #4a4c48;
    --rule: #c9cbc5;
    --white: #ffffff;
    --hue-0: #e0300f;
    --hue-0-on: #ffffff;
    --hue-1: #1f5bd8;
    --hue-1-on: #ffffff;
    --hue-2: #b6e32a;
    --hue-2-on: #111111;
    --hue-3: #ff2e88;
    --hue-3-on: #111111;
    --hue-4: #ff8a00;
    --hue-4-on: #111111;
    --hue-5: #008276;
    --hue-5-on: #ffffff;
    --gutter: 1rem;
    --max: 90rem;
    --face: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Noto Sans JP", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans Thai", "Noto Sans Devanagari", "Noto Sans Tamil", "Tamil Sangam MN", "Latha", "Noto Sans Arabic", system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --band: var(--ink);
    --on: var(--white);
    color-scheme: light;
    scrollbar-color: var(--ink) var(--sleeve);
}

/* Topic band colours, in menu order. --on is the measured text colour (≥4.5:1) */
.hue-0 { --paper: url("paper-deep.png"); --band: var(--hue-0); --on: var(--hue-0-on); --stamp: oklch(from var(--hue-0) calc(l + .095) calc(c * .96) h); }
.hue-1 { --paper: url("paper-deep.png"); --band: var(--hue-1); --on: var(--hue-1-on); --stamp: oklch(from var(--hue-1) calc(l + .19) calc(c * .77) calc(h + 2.3)); }
.hue-2 { --paper: url("paper-soft.png"); --band: var(--hue-2); --on: var(--hue-2-on); --stamp: var(--hue-2); }
.hue-3 { --paper: url("paper-soft.png"); --band: var(--hue-3); --on: var(--hue-3-on); --stamp: var(--hue-3); }
.hue-4 { --paper: url("paper-soft.png"); --band: var(--hue-4); --on: var(--hue-4-on); --stamp: var(--hue-4); }
.hue-5 { --paper: url("paper-deep.png"); --band: var(--hue-5); --on: var(--hue-5-on); --stamp: oklch(from var(--hue-5) calc(l + .159) calc(c * 1.27) calc(h - 1.1)); }
.hue-x { --paper: url("paper-deep.png"); --band: var(--ink); --on: var(--white); --stamp: var(--sleeve); }

/* Obi paper: a procedural fibre/riso grain multiplied into every band colour */
.obi, .strip, .stack__band {
    background-color: var(--band);
    background-image: var(--paper);
    background-size: 512px 512px;
    background-blend-mode: multiply;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--sleeve);
    color: var(--ink);
    font-family: var(--face);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

::selection { background: var(--ink); color: var(--sleeve); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::placeholder { color: var(--quiet); opacity: 1; }

.sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    inset-inline-start: var(--gutter);
    inset-block-start: -4rem;
    z-index: 20;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}
.skip:focus { inset-block-start: 0.5rem; }

/* Little pieces */
.chip {
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    background: var(--band);
    box-shadow: 0 0 0 1px currentColor;
    flex: none;
}

.frame {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid currentColor;
    padding: 0.0625rem 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
}
.frame--tap {
    min-height: 2.75rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.frame--tap:hover { background: var(--ink); color: var(--sleeve); }
.frame--tap:hover .chip { box-shadow: 0 0 0 1px var(--sleeve); }
.frame--tap[aria-current] { background: var(--ink); color: var(--sleeve); }

.press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.12s var(--ease);
}
.press svg { width: 1.125rem; height: 1.125rem; }
.press:hover { background: var(--ink); color: var(--sleeve); }
.press:active { transform: translateY(1px); }
.press--ink { background: var(--ink); color: var(--sleeve); }
.press--ink:hover { background: var(--sleeve); color: var(--ink); }
.press.is-off { border-color: var(--rule); color: var(--quiet); cursor: default; }
.press.is-off:hover { background: transparent; color: var(--quiet); }
.press.is-done { background: var(--ink); color: var(--sleeve); }
.flip { transform: scaleX(-1); }
[dir="rtl"] .press svg:not(.flip), [dir="rtl"] .obi__more svg { transform: scaleX(-1); }
[dir="rtl"] .press .flip { transform: none; }

/* Underline that draws itself */
.draw, .cue__head, .row__head a, .sleeve__head a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 0.09em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: background-size 0.35s var(--ease);
}
[dir="rtl"] .cue__head, [dir="rtl"] .row__head a, [dir="rtl"] .sleeve__head a { background-position: 100% 100%; }

/* ---------- Top: name, area line, tools, topics ---------- */
.top { position: relative; z-index: 3; background: var(--sleeve); }
.top__row {
    max-width: var(--max);
    margin-inline: auto;
    padding: 0.5rem var(--gutter) 0.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name find" "area area" "tools tools";
    align-items: center;
    column-gap: 1rem;
}
.top__name {
    grid-area: name;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 1.0625rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.15;
    text-decoration: none;
}
.top__logo { max-height: 2.25rem; width: auto; }
.top__area { grid-area: area; font-size: 0.8125rem; color: var(--quiet); line-height: 1.4; }
.top__find {
    grid-area: find;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--ink);
}
.top__find svg { width: 1.25rem; height: 1.25rem; }
.top__find:hover { background: var(--ink); color: var(--sleeve); }
.top__tools { grid-area: tools; display: flex; align-items: center; gap: 0.75rem; min-width: 0; }

.find { display: none; }
.find__q {
    width: 13rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border: 1px solid var(--ink);
    border-inline-end: 0;
    background: var(--white);
    border-radius: 0;
    font-size: 0.875rem;
    -webkit-appearance: none;
    appearance: none;
}
.find__q:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.find__go {
    width: 2.75rem; height: 2.75rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--sleeve);
    cursor: pointer;
    transition: transform 0.12s var(--ease);
}
.find__go svg { width: 1.25rem; height: 1.25rem; }
.find__go:active { transform: translateY(1px); }

.tongues ul { display: flex; flex-wrap: wrap; gap: 0.125rem; }
.tongue {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.5rem;
    border: 1px solid transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.tongue:hover { text-decoration: underline; }
.tongue[aria-current] { border-color: var(--ink); }
.tongue.is-off { color: var(--quiet); font-weight: 500; }

.topics { border-block: 1px solid var(--ink); }
.topics__list {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    gap: 0.25rem 1.25rem;
    overflow-x: auto;
    scrollbar-width: thin;
}
.topic {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    background-image: linear-gradient(var(--ink), var(--ink));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 3px;
    transition: background-size 0.3s var(--ease);
}
.topic:hover { background-size: 100% 3px; }
.topic[aria-current] { background-size: 100% 3px; }
.topic[aria-current] .chip { border-radius: 50%; }
[dir="rtl"] .topic { background-position: 100% 100%; }

/* ---------- The sleeve ---------- */
.sleeve { position: relative; z-index: 1; }
.sleeve__in {
    max-width: var(--max);
    margin-inline: auto;
    padding: 1.5rem var(--gutter) 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "photo";
    row-gap: 1.75rem;
}
.sleeve__copy { grid-area: copy; display: grid; gap: 0.875rem; align-content: start; }
.sleeve__head {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.012em;
    max-width: 20ch;
}
.sleeve__head a:hover, .sleeve__head a:focus-visible { background-size: 100% 0.07em; }
.sleeve__dek { font-size: 1rem; line-height: 1.6; color: var(--quiet); max-width: 38rem; font-weight: 500; }
.sleeve__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.sleeve__no { border: 1px solid var(--ink); padding: 0 0.375rem; letter-spacing: 0.04em; }
.sleeve__topic { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; text-decoration: none; }
.sleeve__topic:hover { text-decoration: underline; }
.sleeve__mark {
    grid-area: photo;
    position: relative;
    z-index: 2;
    justify-self: end;
    align-self: start;
    width: 3.25rem;
    height: 3.25rem;
    margin-block-start: 0.75rem;
    margin-inline-end: 0.75rem;
    border-radius: 50%;
    background: var(--band);
}
.sleeve__mark::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 10%;
    height: 10%;
    border-radius: 50%;
    background: var(--sleeve);
    transform: translate(-50%, -50%);
}
.sleeve__photo { grid-area: photo; display: block; overflow: hidden; background: var(--band); }
.sleeve__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.sleeve__photo:hover .sleeve__img { transform: scale(1.02); }
.sleeve__in--empty { padding-block-end: 4rem; grid-template-areas: "copy" "mark"; }
.sleeve__in--empty .sleeve__mark { grid-area: mark; justify-self: start; margin: 0; width: 8rem; height: auto; aspect-ratio: 1; }
.sleeve__in--empty .sleeve__copy p:not(.sleeve__dek) { margin-block-start: 0.5rem; }
.sleeve__mark--code {
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.sleeve__mark--code::after { display: none; }

/* ---------- The obi band ---------- */
.obi {
    position: relative;
    z-index: 2;
    color: var(--on);
}
.sleeve + .obi { margin-block-start: -1.75rem; }
.obi--slide { animation: obi-up 0.9s var(--ease) 0.1s both; }
@keyframes obi-up { from { transform: translateY(2.5rem); } }

.obi__in {
    max-width: var(--max);
    margin-inline: auto;
    padding: 1.25rem var(--gutter) 1.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
.obi__spine, .obi__end { display: none; }
.obi__more {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
}
.obi__more svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.obi__more:hover svg { transform: translateX(3px); }
.obi__more:hover { text-decoration: underline; }
.obi__more--phone { justify-self: end; margin-block-start: -0.5rem; }

.obi__list {
    columns: 5 12.5rem;
    column-gap: 1.5rem;
    column-rule: 1px solid currentColor;
}

.cue {
    break-inside: avoid;
    padding-block: 0.5rem 0.625rem;
    border-block-end: 1px solid color-mix(in srgb, currentColor 32%, transparent);
}
.cue__link {
    display: grid;
    grid-template-columns: 4.375rem minmax(0, 1fr);
    column-gap: 0.5rem;
    align-items: start;
    text-decoration: none;
}
.cue__no {
    justify-self: start;
    margin-block-start: 0.1875rem;
    padding: 0 0.3125rem;
    border: 1px solid currentColor;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.cue__head { font-size: 0.9375rem; font-weight: 500; line-height: 1.38; }
.cue__link:hover .cue__head, .cue__link:focus-visible .cue__head { background-size: 100% 1.5px; }
.cue__link:hover .cue__no, .cue__link:focus-visible .cue__no { background-color: var(--on); border-color: var(--on); color: var(--band); }
.cue__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.125rem 0.625rem;
    padding-inline-start: 4.875rem;
    margin-block-start: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.cue__topic { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 700; }
.cue__topic .chip { width: 0.5rem; height: 0.5rem; }

/* ---------- Stack: one slim obi strip per topic ---------- */
.stack { margin-block-start: 0; }
.stack__band { color: var(--on); border-block-start: 1px solid var(--sleeve); }
.stack__link {
    max-width: var(--max);
    margin-inline: auto;
    padding: 0.25rem var(--gutter);
    min-height: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.125rem 1.25rem;
    text-decoration: none;
}
.stack__name { font-size: 1.0625rem; font-weight: 900; line-height: 1.2; }
.stack__count { font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.stack__go {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
}
.stack__go svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.stack__link:hover .stack__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.stack__link:hover .stack__go svg { transform: translateX(3px); }
[dir="rtl"] .stack__go svg { transform: scaleX(-1); }
[dir="rtl"] .stack__link:hover .stack__go svg { transform: scaleX(-1) translateX(3px); }

/* ---------- Catalogue rows ---------- */
.row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
    padding-block: 1rem;
    border-block-end: 1px solid var(--rule);
}
.row__sleeve {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--band);
    position: relative;
}
.row__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.row:hover .row__img { transform: scale(1.02); }
.row__disc {
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    background: var(--sleeve);
}
.row__disc::after {
    content: "";
    position: absolute;
    inset: 44%;
    border-radius: 50%;
    background: var(--band);
}
.row__text { display: grid; gap: 0.375rem; align-content: start; min-width: 0; }
.row__head { font-size: 1.0625rem; font-weight: 700; line-height: 1.32; }
.row__head a:hover, .row__head a:focus-visible { background-size: 100% 1.5px; }
.row__dek {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--quiet);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--quiet);
    font-variant-numeric: tabular-nums;
}
.row__no { color: var(--ink); border: 1px solid var(--ink); padding: 0 0.3125rem; letter-spacing: 0.03em; }
.row__topic { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--ink); }
.row__topic .chip { box-shadow: 0 0 0 1px var(--ink); }

.catalogue { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; }

/* ---------- Page wrappers and strips ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) 3rem; }
.wrap__h { font-size: 1rem; font-weight: 900; margin-block: 2rem 0.25rem; padding-block-end: 0.5rem; border-block-end: 1px solid var(--ink); }

.strip { color: var(--on); }
.strip__in {
    max-width: var(--max);
    margin-inline: auto;
    padding: 1.5rem var(--gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
.disc {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--on);
    flex: none;
}
.disc::after {
    content: "";
    position: absolute;
    inset: 42%;
    border-radius: 50%;
    background: var(--band);
}
.strip__text { flex: 1 1 16rem; min-width: 0; display: grid; gap: 0.25rem; }
.strip__title { font-size: 1.625rem; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.strip__sub { font-size: 0.9375rem; font-weight: 500; }
.strip__feed {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    border: 1px solid currentColor;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
}
.strip__feed svg { width: 1rem; height: 1rem; }
.strip__feed:hover { background: var(--on); color: var(--band); }

.strip--story .strip__in { padding-block: 0.375rem; gap: 0.75rem; flex-wrap: nowrap; align-items: flex-start; }
.strip--story .disc { margin-block-start: 0.625rem; }
.strip--story .strip__line { flex: 1 1 auto; min-width: 0; }
.strip--story .disc { width: 1.5rem; height: 1.5rem; }
.strip__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.strip__topic { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; font-weight: 900; text-decoration: none; }
.strip__topic:hover { text-decoration: underline; }
.strip__no { border: 1px solid currentColor; padding: 0 0.375rem; letter-spacing: 0.04em; }

.filter ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1.5rem 0.5rem; }

.seek { margin-block: 1.75rem 1rem; max-width: 40rem; display: grid; gap: 0.5rem; }
.seek--tight { margin-block: 0.75rem 0.25rem; }
.seek__label { font-size: 0.8125rem; font-weight: 700; }
.seek__row { display: flex; gap: 0; }
.seek__q {
    flex: 1 1 auto;
    min-width: 0;
    height: 3rem;
    padding: 0 0.875rem;
    border: 1px solid var(--ink);
    border-inline-end: 0;
    border-radius: 0;
    background: var(--white);
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
}
.seek__q:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.seek__row .press { min-height: 3rem; }
.hint { color: var(--quiet); font-size: 0.9375rem; }

.void { display: grid; justify-items: start; gap: 1rem; padding-block: 3rem; }
.void__disc { width: 5rem; height: 5rem; border-radius: 50%; background: var(--ink); position: relative; }
.void__disc::after { content: ""; position: absolute; inset: 45%; border-radius: 50%; background: var(--sleeve); }
.void__text { font-size: 1.125rem; font-weight: 700; max-width: 36rem; }

.sides {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-block-start: 2rem;
    padding-block-start: 1rem;
    border-block-start: 1px solid var(--ink);
}
.sides__at { font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.person { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: start; margin-block-start: 1.75rem; max-width: 48rem; }
.person__photo { width: 7rem; height: 7rem; object-fit: cover; border-radius: 50%; }
.person__text { flex: 1 1 18rem; display: grid; gap: 0.75rem; }
.person__bio { font-size: 1rem; line-height: 1.65; }
.person__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- The story ---------- */
.story__head {
    max-width: 50rem;
    margin-inline: auto;
    padding: 1.75rem var(--gutter) 1.5rem;
    display: grid;
    gap: 1rem;
}
.story__title { font-size: 1.75rem; font-weight: 900; line-height: 1.18; letter-spacing: -0.012em; }
.story__dek { font-size: 1.125rem; line-height: 1.55; color: var(--quiet); font-weight: 500; }
.story__by { font-size: 0.875rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; }
.story__by a { text-decoration: underline; text-decoration-color: var(--band); text-decoration-thickness: 2px; }
.story__by a:hover { text-decoration-color: currentColor; }
.story__updated { color: var(--quiet); font-weight: 500; }
.story__langs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700; }
.notice { border: 2px solid var(--ink); padding: 0.875rem 1rem; display: grid; gap: 0.25rem; background: var(--white); }
.notice__title { font-size: 0.875rem; font-weight: 900; }

.story__figure { max-width: 60rem; margin-inline: auto; }
.story__img { width: 100%; }
.story__caption {
    display: flex;
    flex-wrap: wrap;
    gap: 0.125rem 0.75rem;
    padding: 0.5rem var(--gutter) 0;
    font-size: 0.8125rem;
    color: var(--quiet);
    line-height: 1.5;
}
.story__credit { font-weight: 700; }

.column {
    max-width: calc(68ch + 2 * var(--gutter));
    margin-inline: auto;
    padding: 2rem var(--gutter) 3.5rem;
    font-size: 1.125rem;
}
.column__stamp { margin-block-start: 2rem; font-size: 0.8125rem; color: var(--quiet); }

.prose { font-weight: 400; line-height: 1.72; }
.prose > * + * { margin-block-start: 1.05em; }
.prose h2 { font-size: 1.375rem; font-weight: 900; line-height: 1.3; margin-block-start: 2em; }
.prose h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; margin-block-start: 1.75em; }
.prose a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--band); text-underline-offset: 0.18em; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-block-start: 0.4em; }
.prose li::marker { color: var(--ink); font-weight: 700; }
.prose blockquote {
    padding-block: 1rem;
    border-block: 1px solid var(--ink);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.5;
}
.prose img { width: 100%; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-block-start: 0.5rem; font-size: 0.8125rem; color: var(--quiet); line-height: 1.5; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: start; padding: 0.5rem; border-block-end: 1px solid var(--rule); }

.story__source { margin-block-start: 2rem; font-size: 0.875rem; color: var(--quiet); }
.story__source a { color: var(--ink); font-weight: 700; }
.story__tags ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-start: 1.25rem; }

.pass { margin-block-start: 2.5rem; padding-block-start: 1rem; border-block-start: 1px solid var(--ink); }
.pass__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-block-end: 0.75rem; }
.pass__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pass__row li:has(> [hidden]) { display: none; }

/* ---------- Chart (most read) ---------- */
.chart { background: var(--band); color: var(--on); margin-block-start: 3rem; }
.chart__in { max-width: var(--max); margin-inline: auto; padding: 1.25rem var(--gutter) 1.75rem; }
.chart__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding-block-end: 0.5rem; border-block-end: 1px solid currentColor; }
.chart__list { columns: 4 15rem; column-gap: 1.5rem; }
.chart .cue__link { grid-template-columns: 2rem minmax(0, 1fr); }
.chart + .foot, .obi + .foot { border-block-start: 1px solid var(--sleeve); }

/* ---------- Foot: the site's own band ---------- */
.foot { background: var(--band); color: var(--on); margin-block-start: 3.5rem; }
.wrap + .foot { margin-block-start: 0; }
main:has(> .obi:last-child) + .foot, main:has(> .chart:last-child) + .foot { margin-block-start: 0; }
.foot__in {
    max-width: var(--max);
    margin-inline: auto;
    padding: 2rem var(--gutter) 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
.foot__spine { display: none; }
.foot__name { font-size: 1.25rem; font-weight: 900; line-height: 1.2; }
.foot__area { font-size: 0.875rem; margin-block-start: 0.25rem; }
.foot__copy { font-size: 0.8125rem; margin-block-start: 1.25rem; font-variant-numeric: tabular-nums; }
.foot__h { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding-block-end: 0.375rem; border-block-end: 1px solid currentColor; margin-block-end: 0.25rem; }
.foot__col ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); column-gap: 1rem; }
.foot__col a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}
.foot__col a:hover { text-decoration: underline; }
.foot .ico { width: 1rem; height: 1rem; }
.foot ::selection, .obi ::selection, .strip ::selection, .chart ::selection { background: var(--on); color: var(--band); }

/* ---------- Scripts that need room ---------- */
:lang(zh) { --face: "Zen Kaku Gothic New", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(zh) body, :lang(ja) body, :lang(ko) body { line-height: 1.75; }
:lang(zh) .sleeve__head, :lang(zh) .story__title, :lang(zh) .strip__title { font-weight: 700; }
:lang(zh) .prose, :lang(ja) .prose, :lang(ko) .prose { line-height: 1.95; }
:lang(ta) body, :lang(hi) body, :lang(th) body { line-height: 1.8; }
:lang(ta) .prose, :lang(hi) .prose, :lang(th) .prose { line-height: 2; }
:lang(zh) .sleeve__head, :lang(zh) .story__title, :lang(ta) .sleeve__head, :lang(ta) .story__title { line-height: 1.4; letter-spacing: 0; }
:lang(ta) .sleeve__head, :lang(ta) .story__title { font-size: 1.5rem; }
:lang(zh) .press, :lang(ta) .press, :lang(zh) .pass__title, :lang(ta) .pass__title,
:lang(zh) .chart__title, :lang(ta) .chart__title, :lang(zh) .foot__h, :lang(ta) .foot__h { text-transform: none; letter-spacing: 0; }
:lang(zh) .cue__head, :lang(ta) .cue__head { line-height: 1.6; }

/* ---------- Phones: band within the lower third ---------- */
@media (max-width: 30rem) {
    .sleeve__in { padding-block-start: 1rem; row-gap: 1rem; }
    .sleeve__copy { gap: 0.625rem; }
    .sleeve__img { aspect-ratio: 2 / 1; }
    .sleeve__dek { font-size: 0.9375rem; line-height: 1.5; }
    .sleeve__meta { row-gap: 0; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 36rem) {
    :root { --gutter: 1.5rem; }
    .row { grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; }
}

@media (min-width: 48rem) {
    .top__row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "name area tools";
        padding-block: 0.75rem;
    }
    .top__find { display: none; }
    .find { display: flex; }
    .top__area { padding-inline-start: 1rem; border-inline-start: 1px solid var(--ink); }
    .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
    .story__title { font-size: 2.125rem; }
    .strip__title { font-size: 2rem; }
}

@media (min-width: 64rem) {
    :root { --gutter: 2.5rem; }
    .sleeve__in {
        grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
        grid-template-areas: "copy mark photo";
        column-gap: 2rem;
        padding-block-start: 3rem;
        min-height: 26rem;
    }
    .sleeve__copy { padding-block-end: 5rem; }
    .sleeve__head { font-size: 2.5rem; line-height: 1.12; }
    .sleeve__dek { font-size: 1.0625rem; }
    .sleeve__mark {
        grid-area: mark;
        justify-self: center;
        align-self: start;
        width: min(100%, 9.5rem);
        height: auto;
        aspect-ratio: 1;
        margin: 3.5rem 0 0;
    }
    .sleeve__img { aspect-ratio: 3 / 2; }
    .sleeve__in--empty { grid-template-areas: "copy mark mark"; padding-block-end: 6rem; }
    .sleeve__in--empty .sleeve__mark { width: 12rem; justify-self: center; margin-block-start: 1rem; }
    .sleeve + .obi { margin-block-start: -3.5rem; }
    .sleeve__mark--code { font-size: 2.25rem; }

    .obi__in {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 1.75rem;
        padding-block: 1.5rem 2rem;
    }
    .obi__spine {
        display: block;
        writing-mode: vertical-rl;
        font-size: 1.125rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        line-height: 1;
        padding-right: 1.25rem;
        border-right: 1px solid currentColor;
        max-height: 22rem;
        overflow: hidden;
        white-space: nowrap;
    }
    .obi__end {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding-inline-start: 1.25rem;
        border-inline-start: 1px solid currentColor;
        font-size: 0.75rem;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }
    .obi__more--phone { display: none; }
    .obi__end .obi__more { margin: 0; flex-direction: column; gap: 0.125rem; text-align: center; line-height: 1.2; padding-block: 0.25rem; }
    .stamp {
        display: grid;
        justify-items: center;
        gap: 0.25rem;
        padding: 0.5rem 0.375rem;
        background: var(--ink);
        color: var(--stamp);
        border: 1px solid var(--stamp);
        outline: 1px solid var(--ink);
        line-height: 1.1;
        text-align: center;
    }
    .stamp__code { font-size: 0.875rem; font-weight: 900; letter-spacing: 0.04em; padding-block-end: 0.25rem; border-block-end: 1px solid currentColor; }
    .stamp__date { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.02em; }
    .stamp__ed { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; }
    [dir="rtl"] .obi__spine, [dir="rtl"] .foot__spine { padding-right: 0; border-right: 0; padding-left: 1.25rem; border-left: 1px solid currentColor; }
    .bars { width: 2rem; height: 7rem; fill: currentColor; }

    .foot__in { grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
    .foot__spine {
        display: block;
        writing-mode: vertical-rl;
        font-size: 1rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        padding-right: 1.25rem;
        border-right: 1px solid currentColor;
        max-height: 14rem;
        overflow: hidden;
        white-space: nowrap;
    }
    .story__head { padding-block-start: 2.5rem; }
    .story__title { font-size: 2.5rem; line-height: 1.12; }
    .strip__title { font-size: 2.25rem; }
    .row { grid-template-columns: 8.5rem minmax(0, 1fr); }
    .row__head { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .obi--slide { transform: none; }
}

@media print {
    .top__tools, .topics, .pass, .obi, .chart, .foot__col { display: none; }
    body { background: #fff; }
}
