@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjdPeQ_5Y.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjeveQ.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: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxCFTeO-U.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeA.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: 'Inter'; font-style: normal; font-weight: 400 650; font-display: swap; src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 650; font-display: swap; src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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: 'Source Serif 4'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/vEFK2_tTDB4M7-auWDN0ahZJW1gewtu_Wo7H.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/vEFK2_tTDB4M7-auWDN0ahZJW1gewtW_Wg.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: 'Source Serif 4'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gV8tenXg.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.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; }
/* Atlas Musical — stylesheet */
:root {
  --ivory: #f8f2e6;
  --paper: #fcf9f1;
  --sand: #efe6d2;
  --sand-deep: #e3d6bb;
  --ink: #2a211c;
  --ink-soft: #5b4d42;
  --line: #d9cbae;
  --bordeaux: #6e1e2e;
  --bordeaux-deep: #4d1420;
  --green: #1f4a39;
  --green-deep: #153428;
  --green-logo: #4e9456;
  --gold: #a4812f;
  --gold-text: #7a5a14;
  --orange: #f26a21;
  --focus: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(58, 38, 20, .08), 0 10px 28px -14px rgba(58, 38, 20, .28);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --display: 'Fraunces', 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --measure: 68ch;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .15  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--ivory) var(--grain); color: var(--ink);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.7;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
.thumb picture, .plate picture, .featured figure picture { height: 100%; }
img { height: auto; }
a { color: var(--bordeaux); text-decoration-thickness: .07em; text-underline-offset: .18em; }
a:hover { color: var(--bordeaux-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; font-family: var(--sans); }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; line-height: 1.15; color: var(--bordeaux-deep); margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.eyebrow { font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); margin: 0 0 .8em; }
.lede { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }
html:not(.js) .js-only { display: none !important; }
.gloss-group[hidden] { display: none; }
.inst-list { columns: 2 280px; padding-left: 1.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 249, 241, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: block; padding: 8px 13px; font-family: var(--sans); font-size: .92rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 999px; }
.nav a:hover { background: var(--sand); color: var(--bordeaux-deep); }
.nav a[aria-current="page"] { background: var(--bordeaux); color: #fff; }
.head-search { display: flex; align-items: center; }
.head-search input { width: 140px; font: 500 .88rem var(--sans); padding: 9px 14px; border: 1px solid var(--ink-soft); border-right: 0; border-radius: 999px 0 0 999px; background: #fff; color: var(--ink); min-width: 0; }
.head-search button { font: 600 .88rem var(--sans); padding: 9px 14px; border: 1px solid var(--bordeaux); background: var(--bordeaux); color: #fff; border-radius: 0 999px 999px 0; cursor: pointer; }
.nav-toggle { display: none; margin-left: auto; font: 600 .9rem var(--sans); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink-soft); background: #fff; color: var(--ink); cursor: pointer; }
@media (max-width: 1040px) { .head-search input { width: 100px; } }
@media (max-width: 920px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 20px; margin: 0; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .js .nav.open { display: flex; }
  .js .nav ul { flex-direction: column; }
  .js .nav a { padding: 12px 10px; border-radius: 8px; }
  .js .head-search input { flex: 1; width: auto; padding: 12px 14px; }
  .js .head-search button { padding: 12px 18px; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { flex-wrap: wrap; }
}
/* Breadcrumbs */
.crumbs { font-family: var(--sans); font-size: .82rem; padding: 18px 0 6px; color: var(--ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: '/'; margin: 0 .55em; color: var(--gold); }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current] { color: var(--ink); }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 .95rem var(--sans); padding: 12px 22px; border-radius: 999px; background: var(--bordeaux); color: #fff; text-decoration: none; border: 1px solid var(--bordeaux); cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--bordeaux-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--bordeaux); }
.btn.ghost:hover { background: var(--bordeaux); color: #fff; }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.green:hover { background: var(--green-deep); }
.chip { display: inline-block; font: 600 .74rem var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--sand); color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
a.chip:hover { background: var(--sand-deep); color: var(--ink); }
.chip.fam { background: var(--green); border-color: var(--green); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { margin-bottom: .35em; overflow-wrap: break-word; }
.results { min-width: 0; }
.toolbar select { max-width: 100%; }
.hero h1 em { font-style: italic; color: var(--bordeaux); font-weight: 480; }
.search-box { position: relative; margin: 28px 0 14px; max-width: 620px; }
.search-box form { display: flex; background: #fff; border: 2px solid var(--green); border-radius: 999px; padding: 5px; box-shadow: var(--shadow); }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.05rem var(--sans); padding: 12px 18px; color: var(--ink); }
.search-box input:focus-visible { outline: none; }
.search-box form:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-box button { font: 600 .95rem var(--sans); border: 0; background: var(--green); color: #fff; padding: 0 26px; border-radius: 999px; cursor: pointer; }
.search-box button:hover { background: var(--green-deep); }
.suggest { position: absolute; left: 8px; right: 8px; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 30; max-height: 360px; overflow: auto; }
.suggest[hidden] { display: none; }
.suggest li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font: 500 .98rem var(--sans); }
.suggest li a small { color: var(--ink-soft); font-size: .78rem; }
.suggest li a:hover, .suggest li a[aria-selected="true"] { background: var(--sand); }
.suggest .none { padding: 12px; font: .95rem var(--sans); color: var(--ink-soft); }
.quick { font: .9rem var(--sans); color: var(--ink-soft); }
.quick a { margin-right: .7em; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plate { position: relative; margin: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--sand); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3/4; }
.plate.big { grid-row: span 2; aspect-ratio: auto; border-radius: 999px 999px 22px 22px; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(30, 14, 10, .78)); color: #fff; font: 600 .78rem var(--sans); letter-spacing: .04em; text-align: center; }
.plate a { position: absolute; inset: 0; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .plates { order: -1; max-width: 420px; } .plate.big { aspect-ratio: 3/4; } .plates .plate:nth-child(n+2) { display: none; } .plates { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(40px, 6vw, 84px) 0; }
.section.tint { background: var(--sand); background-image: var(--grain); border-block: 1px solid var(--line); }
.section.dark { background: var(--green-deep); color: #efe7d4; }
.section.dark h2, .section.dark h3 { color: #fbf3de; }
.section.dark a { color: #f6d98a; }
.section.dark .eyebrow { color: #e3c16e; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 52ch; color: var(--ink-soft); }
.section.dark .section-head p { color: #d8ceb6; }
.grid { display: grid; gap: 22px; }
.grid.fam { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.fam-tile { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, border-color .25s; position: relative; overflow: hidden; }
.fam-tile:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--ink); }
.fam-tile .num { font: 600 .75rem var(--sans); letter-spacing: .12em; color: var(--gold-text); }
.fam-tile h3 { margin: 0; font-size: 1.5rem; color: var(--bordeaux-deep); }
.fam-tile p { margin: 0; font-size: .98rem; color: var(--ink-soft); line-height: 1.5; }
.fam-tile .count { margin-top: auto; padding-top: 12px; font: 600 .82rem var(--sans); color: var(--green); }
.fam-tile svg { position: absolute; right: -8px; top: -8px; width: 92px; height: 92px; color: var(--gold); opacity: .22; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card[hidden] { display: none; }
.card .thumb { aspect-ratio: 4/3; background: #ece4d2; border-bottom: 1px solid var(--line); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .fam-label { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.card h3 { margin: 0; font-size: 1.35rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card p { margin: 0; font-size: .96rem; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 10px; font: 500 .78rem var(--sans); color: var(--ink-soft); }
.card.article .body { padding-top: 22px; }

/* Featured */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.featured figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4/3; }
.featured figure img { width: 100%; height: 100%; object-fit: cover; }
.featured h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } }

/* Sound explainer */
.sound-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sound { background: rgba(255, 255, 255, .06); border: 1px solid rgba(246, 217, 138, .28); border-radius: var(--radius); padding: 20px 18px 22px; }
.sound svg { width: 100%; height: 92px; margin-bottom: 12px; color: #f6d98a; }
.sound h3 { font-size: 1.15rem; margin-bottom: .3em; }
.sound p { font-size: .94rem; line-height: 1.5; margin-bottom: .7em; color: #e0d6bd; }
.sound a { font: 600 .85rem var(--sans); }
@keyframes wave { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(-1); } }
@keyframes ring { 0% { transform: scale(.3); opacity: .95; } 100% { transform: scale(1); opacity: 0; } }
@keyframes bob { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes flap { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes flow { to { stroke-dashoffset: -28; } }
.an-wave { transform-origin: 50% 50%; animation: wave 1.1s ease-in-out infinite; }
.an-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.an-ring:nth-child(2) { animation-delay: .8s; } .an-ring:nth-child(3) { animation-delay: 1.6s; }
.an-bob { animation: bob 1.2s ease-in-out infinite; }
.an-flap { transform-box: fill-box; transform-origin: left center; animation: flap .35s ease-in-out infinite; }
.an-flow { stroke-dasharray: 4 10; animation: flow 1s linear infinite; }

/* Journeys */
.journeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.journey { display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 22px; border-radius: var(--radius); text-decoration: none; color: #fff; position: relative; overflow: hidden; background: var(--green); isolation: isolate; }
.journey::before { content: ''; position: absolute; inset: 0; background: var(--jimg) center/cover; z-index: -2; transition: transform .6s; }
.journey::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 20, .05) 15%, rgba(31, 18, 12, .86)); z-index: -1; }
.journey:hover::before { transform: scale(1.05); }
.journey:hover { color: #fff; }
.journey h3 { color: #fff; margin: 0 0 .2em; font-size: 1.7rem; }
.journey p { margin: 0; font: .9rem/1.45 var(--sans); color: #f1e9d8; }
.journey .go { margin-top: 12px; font: 600 .85rem var(--sans); color: #f6d98a; }

/* Method strip */
.method { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.method h2 { margin: 0 0 .3em; font-size: 1.8rem; }
.method p { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) { .method { grid-template-columns: 1fr; } }

/* Page titles */
.page-head { padding: clamp(20px, 4vw, 48px) 0 clamp(18px, 3vw, 34px); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.page-head h1 { margin-bottom: .25em; }
.page-head p { max-width: 62ch; }

/* Article / entry */
.entry-head { padding: 10px 0 28px; }
.entry-head h1 { margin-bottom: .15em; }
.aka { font-style: italic; color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 1rem; }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 40px; }
.entry-main { min-width: 0; }
.entry-main > section, .prose { max-width: var(--measure); }
.entry-main h2 { margin-top: 2.1em; padding-top: .3em; position: relative; }
.entry-main h2::before { content: ''; display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: .6em; }
.entry-main > section:first-of-type h2 { margin-top: 1em; }
.entry-main p { overflow-wrap: break-word; }
.entry-main > section > p:first-of-type::first-letter { }
.hero-figure { margin: 0 0 32px; }
.hero-figure .frame { background: var(--sand) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(8px, 2vw, 18px); box-shadow: var(--shadow); }
.hero-figure img { width: 100%; height: auto; max-height: 640px; object-fit: contain; border-radius: 6px; margin-inline: auto; background: var(--sand); }
.hero-figure figcaption { font: .84rem/1.5 var(--sans); color: var(--ink-soft); padding: 10px 4px 0; }
.summary-lede { font-size: clamp(1.22rem, 2vw, 1.42rem); line-height: 1.55; color: var(--ink); border-left: 4px solid var(--gold); padding-left: 20px; margin: 0 0 32px; max-width: var(--measure); }
.aside { position: sticky; top: 92px; display: grid; gap: 20px; font-family: var(--sans); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.panel h2 { font: 650 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 12px; }
.panel h2::before { display: none; }
.glance { margin: 0; font-size: .9rem; line-height: 1.45; }
.glance div { padding: 9px 0; border-top: 1px solid var(--line); }
.glance div:first-child { border-top: 0; padding-top: 0; }
.glance dt { font-weight: 650; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.glance dd { margin: 2px 0 0; font-family: var(--serif); font-size: .98rem; }
.glance dd a { color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .9rem; line-height: 1.4; }
.toc li { margin: 7px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--bordeaux); text-decoration: underline; }
@media (max-width: 980px) { .entry-layout { grid-template-columns: 1fr; } .aside { position: static; order: -1; } .aside .toc { display: none; } }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px 28px; max-width: none; }
.terms div { border-top: 1px solid var(--line); padding-top: 10px; }
.terms dt { font-family: var(--display); font-weight: 600; color: var(--bordeaux-deep); }
.terms dt a { color: inherit; }
.terms dd { margin: 2px 0 10px; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.refs { padding-left: 1.4em; font-size: .98rem; line-height: 1.55; }
.refs li { margin-bottom: .7em; }
.refs a { word-break: break-all; }
.refs .inst { font-variant: small-caps; letter-spacing: .03em; }
.pubinfo { display: flex; flex-wrap: wrap; gap: 6px 24px; font: .86rem var(--sans); color: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 40px 0 0; max-width: var(--measure); }
.sign { font: .86rem var(--sans); color: var(--ink-soft); margin-top: 12px; }
.related-block { background: var(--sand) var(--grain); border-block: 1px solid var(--line); padding: 44px 0 56px; margin-top: 40px; }
.dek { font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--ink-soft); max-width: 60ch; }
.cat-note { font: .86rem var(--sans); color: var(--ink-soft); }

/* Catalog */
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; font-family: var(--sans); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.filters h2 { margin: 0 0 12px; font: 650 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.filters fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 12px 0; }
.filters legend { font: 650 .9rem var(--sans); padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.filters fieldset > * { clear: both; }
.filters label { display: flex; gap: 9px; align-items: center; padding: 4px 0; font-size: .9rem; cursor: pointer; }
.filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.filters .count { margin-left: auto; color: var(--ink-soft); font-size: .78rem; }
.filter-toggle { display: none; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-bottom: 18px; font-family: var(--sans); }
.toolbar .q { flex: 1 1 280px; display: flex; }
.toolbar input[type=search] { width: 100%; font: 500 1rem var(--sans); padding: 12px 18px; border: 2px solid var(--green); border-radius: 999px; background: #fff; color: var(--ink); }
.toolbar select { font: 500 .92rem var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.toolbar label { font-size: .85rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.status { font: 600 .92rem var(--sans); color: var(--green); }
.letters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; font-family: var(--sans); }
.letters button, .letters a { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 600 .85rem var(--sans); cursor: pointer; text-decoration: none; }
.letters button[aria-pressed="true"] { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.letters button:disabled, .letters span { opacity: .35; cursor: default; min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font: 600 .85rem var(--sans); }
.letters a:hover, .letters button:hover:not(:disabled) { background: var(--sand); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters button { font: 600 .8rem var(--sans); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--bordeaux); background: transparent; color: var(--bordeaux); cursor: pointer; }
.empty { padding: 40px 22px; text-align: center; background: var(--paper); border: 1px dashed var(--gold); border-radius: var(--radius); font-family: var(--sans); }
.empty[hidden] { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .js .filters { position: static; max-height: none; display: none; }
  .js .filters.open { display: block; }
  .js .filter-toggle { display: inline-flex; }
  .filters { position: static; max-height: none; }
}

/* Index lists */
.az-section { margin-bottom: 38px; scroll-margin-top: 90px; }
.az-section h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 2.2rem; }
.az-section h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.az-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px 28px; }
.az-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.az-list a { font: 600 1.1rem var(--display); }
.az-list span { font: .8rem var(--sans); color: var(--ink-soft); align-self: center; }
.gloss-list dt { font: 600 1.25rem var(--display); color: var(--bordeaux-deep); margin-top: 22px; scroll-margin-top: 90px; }
.gloss-list dd { margin: 4px 0 0; max-width: var(--measure); }
.gloss-list .appears { font: .84rem var(--sans); color: var(--ink-soft); margin-top: 4px; }
.gloss-list [hidden] { display: none; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 640px; font-family: var(--sans); }
.form label { font: 600 .9rem var(--sans); display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 500 1rem var(--sans); padding: 12px 14px; border: 1px solid var(--ink-soft); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 180px; resize: vertical; }
.form .hint { font-weight: 400; color: var(--ink-soft); font-size: .84rem; }

/* 404 */
.nf { padding: 40px 0 60px; text-align: center; }
.nf .big { font: 560 clamp(5rem, 20vw, 11rem)/1 var(--display); color: var(--bordeaux); margin: 0; }

/* Prose pages */
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
table.credits { width: 100%; border-collapse: collapse; font: .9rem/1.5 var(--sans); }
.credits th, .credits td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.credits td:first-child { font-family: var(--display); font-weight: 600; }
.credits .thumb-sm { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }

/* Footer */
.site-footer { background: var(--green-deep); color: #e4dbc3; margin-top: 0; padding: 56px 0 28px; font-family: var(--sans); font-size: .92rem; line-height: 1.6; }
.site-footer a { color: #f6d98a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.site-footer h2 { font: 650 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e3c16e; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.foot-brand img { height: 38px; width: auto; background: var(--paper); padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .84rem; color: #c3bca5; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) { .btn, .chip { border: 1px solid CanvasText; } }
@media print { .site-header, .site-footer, .aside, .related-block { display: none; } body { background: #fff; } }

