/*
| Default public theme.
| World: a calm catalogue frame (white masthead, warm-grey stage, outlined pills,
| image cards that lift) around white editorial sheets for anything read in full.
| The accent is the site's branding.primary_color, injected as --brand in the layout.
*/

:root {
    --stage: #f7f6f4;
    --stage-deep: #efede9;
    --surface: #ffffff;
    --line: #e6e4e0;
    --line-strong: #d4d1cb;
    --ink: #141414;
    --ink-2: #5a5955;
    --ink-3: #74726d;

    --brand: #0d6efd;
    --brand-ink: #ffffff;
    --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
    --brand-tint: color-mix(in srgb, var(--brand) 16%, #fff);
    --brand-deep: color-mix(in srgb, var(--brand) 82%, #000);

    --ok: #1d7a46;
    --ok-soft: #e9f5ee;
    --danger: #b42318;
    --danger-soft: #fdf0ee;

    --font-ui: "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-text: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-slab: "Roboto Slab", Rockwell, "Courier New", serif;

    --radius: 6px;
    --radius-sm: 4px;
    --shadow-1: 0 1px 2px rgba(20, 20, 20, .05), 0 8px 22px -12px rgba(20, 20, 20, .16);
    --shadow-2: 0 2px 4px rgba(20, 20, 20, .06), 0 20px 40px -16px rgba(20, 20, 20, .26);
    --shadow-sheet: 0 1px 2px rgba(20, 20, 20, .04), 0 12px 32px -20px rgba(20, 20, 20, .14);
    --ease: cubic-bezier(.16, 1, .3, 1);

    --wrap: 1224px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(48px, 7vw, 88px);

    /* Bootstrap re-skin so pages outside this redesign share the world. */
    --bs-body-font-family: var(--font-text);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--stage);
    --bs-secondary-color: var(--ink-2);
    --bs-border-color: var(--line);
    --bs-border-radius: var(--radius);
    --bs-border-radius-sm: var(--radius-sm);
    --bs-border-radius-lg: var(--radius);
    --bs-link-color: var(--ink);
    --bs-link-color-rgb: 20, 20, 20;
    --bs-link-hover-color: var(--brand);
    --bs-emphasis-color: var(--ink);
    --bs-heading-color: var(--ink);
    --bs-focus-ring-color: color-mix(in srgb, var(--brand) 30%, transparent);
}

/* ---------- Base ---------- */

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--stage);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--brand-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .18s var(--ease); }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-ui); font-weight: 500; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
html { scrollbar-color: var(--line-strong) transparent; }
input, textarea, select, button { font: inherit; caret-color: var(--brand); }
.tabular { font-variant-numeric: tabular-nums; }

.visually-hidden, .sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Masthead ---------- */

.masthead { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead__bar { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.masthead__brand { display: inline-flex; align-items: center; font-family: var(--font-ui); font-weight: 700; font-size: 22px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.masthead__brand img { max-height: 36px; width: auto; }
.masthead__brand:hover { color: var(--ink); }
.masthead__nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; flex: 1; }
.masthead__nav a { display: block; padding: 8px 12px; font-family: var(--font-ui); font-size: 16px; text-decoration: none; color: var(--ink); border-radius: var(--radius-sm); }
.masthead__nav a:hover { color: var(--brand); }
.masthead__nav a[aria-current="page"] { color: var(--brand); }
.masthead__actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.masthead__divider { width: 1px; height: 22px; background: var(--line-strong); }
.masthead__link { font-family: var(--font-ui); font-size: 16px; color: var(--ink); text-decoration: underline; text-underline-offset: .25em; background: none; border: 0; padding: 0; cursor: pointer; }
.masthead__link:hover { color: var(--brand); }
.masthead__user { font-family: var(--font-ui); font-size: 15px; color: var(--ink-2); }
.masthead__toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; }
.masthead__toggle .icon { width: 20px; height: 20px; }
.masthead__toggle .icon-close { display: none; }

@media (max-width: 899px) {
    .masthead__bar { gap: 12px; min-height: 64px; flex-wrap: wrap; }
    .masthead__toggle { display: inline-flex; }
    .masthead__panel { display: none; width: 100%; padding: 8px 0 20px; border-top: 1px solid var(--line); }
    .masthead.is-open .masthead__panel { display: block; }
    .masthead.is-open .icon-menu { display: none; }
    .masthead.is-open .icon-close { display: block; }
    .masthead__nav { flex-direction: column; align-items: stretch; gap: 0; }
    .masthead__nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .masthead__actions { margin: 20px 0 0; justify-content: space-between; }
    .masthead__divider { display: none; }
}
@media (min-width: 900px) {
    .masthead__panel { display: contents; }
}

/* ---------- Buttons, pills, fields ---------- */

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 26px; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-ui); font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: 0;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.button--primary { background: var(--brand); color: var(--brand-ink); }
.button--primary:hover { background: var(--brand-deep); color: var(--brand-ink); }
.button--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--outline:hover { background: var(--ink); color: #fff; }
.button--quiet { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button--quiet:hover { border-color: var(--ink); color: var(--ink); }
.button--small { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.button[disabled], .button[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pill {
    display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 12px;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    font-family: var(--font-ui); font-size: 15px; line-height: 1.2; color: var(--ink); text-decoration: none; white-space: nowrap;
    transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-current="page"], .pill.is-active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.pill__count { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.pill.is-active .pill__count, .pill[aria-current="page"] .pill__count { color: inherit; }
.pills-divider { width: 1px; align-self: stretch; margin: 4px 4px; background: var(--line-strong); }

.search { position: relative; display: flex; align-items: center; max-width: 560px; margin-inline: auto; }
.search .icon { position: absolute; left: 2px; color: var(--ink); pointer-events: none; }
.search input {
    width: 100%; min-height: 48px; padding: 10px 104px 10px 32px; background: transparent;
    border: 0; border-bottom: 1px solid var(--ink-3); border-radius: 0; font-size: 17px; color: var(--ink);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-bottom-color: var(--brand); box-shadow: 0 1px 0 0 var(--brand); }
.search button { position: absolute; right: 0; min-height: 36px; padding: 6px 16px; font-size: 14px; }

.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 14px; color: var(--ink-2); }
.input, .field input, .field textarea, .field select {
    width: 100%; min-height: 48px; padding: 11px 14px; background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 16px; line-height: 1.5;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23141414' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field.has-error select { border-color: var(--danger); }
.field__optional { font-weight: 400; color: var(--ink-3); }
.field__hint { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.input:hover, .field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field .error, .form-grid > .error { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--danger); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 15px; }
.notice .icon { margin-top: 3px; }
.notice--ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, #fff); color: #14532d; }
.notice--error { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 28%, #fff); color: #7a1a12; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }

/* ---------- Page intro (Wix-style centred heading + search) ---------- */

.intro { background: var(--surface); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); text-align: center; }
.intro__title { font-family: var(--font-slab); font-weight: 400; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.15; letter-spacing: -.015em; margin: 0 auto; max-width: 20ch; }
.intro__dek { max-width: 56ch; margin: 14px auto 0; font-size: 18px; color: var(--ink-2); }
.intro__search { margin-top: 32px; }
.intro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.filterbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.filterbar__inner { display: flex; align-items: center; gap: 16px; padding-block: 14px 18px; }
.filterbar .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.filterbar .pills::-webkit-scrollbar { display: none; }
.filterbar__end { margin-left: auto; flex: none; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Stage & sections ---------- */

.stage { padding-block: clamp(32px, 5vw, 56px) var(--section); }
.section { padding-block: var(--section) 0; }
.section:first-child { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; letter-spacing: -.01em; }
.section-title--small { font-size: 22px; }
.section-link { flex: none; font-family: var(--font-ui); font-size: 15px; text-decoration: underline; text-underline-offset: .25em; color: var(--ink); }
.section-note { margin: -14px 0 24px; color: var(--ink-2); max-width: 62ch; }

.band { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- Cards (thumbnail frame that lifts, text on the stage) ---------- */

.grid { display: grid; gap: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 40px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card-post { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-post__frame {
    display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius);
    background: var(--surface); box-shadow: var(--shadow-1);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card-post__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-post__body { display: grid; gap: 8px; }
.card-post__title { margin: 0; font-family: var(--font-ui); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.card-post__title a { text-decoration: none; color: var(--ink); }
.card-post__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-post__excerpt { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-post:hover .card-post__frame, .card-post:focus-within .card-post__frame { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card-post:hover .card-post__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; color: var(--ink); }
.card-post a:focus-visible { outline: none; }
.card-post:focus-within .card-post__frame { outline: 2px solid var(--brand); outline-offset: 3px; }
.card-post .meta a { position: relative; z-index: 2; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; clip-path: inset(-8px -8px -8px 0); margin: 0; font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); }
/* Every item carries its dot in the gap before it; a dot that lands at the start of a line sits outside the clip and disappears. */
.meta > *::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 7px 0 -10px; border-radius: 50%; background: var(--ink-3); vertical-align: middle; }
.meta a { color: var(--ink-2); text-decoration: none; }
.meta a:hover { color: var(--brand); text-decoration: underline; }
.meta .meta__strong { color: var(--ink); font-weight: 500; }

/* Missing image: tinted panel, slab initial, category name. */
.placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px; background: color-mix(in srgb, var(--brand) 9%, var(--stage)); color: var(--brand-deep); overflow: hidden; container-type: size; }
.placeholder__initial { position: absolute; right: 7%; top: 50%; transform: translateY(-56%); font-family: var(--font-slab); font-weight: 300; font-size: 72cqh; line-height: 1; color: color-mix(in srgb, var(--brand) 30%, transparent); user-select: none; }
.placeholder__label { position: relative; padding: 4px 10px; border-radius: var(--radius-sm); background: var(--surface); font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 20, .08); }

/* Featured: wide frame + text */
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature .card-post__frame { aspect-ratio: 16 / 10; }
.feature .placeholder__initial { font-size: clamp(160px, 22vw, 320px); }
.feature__title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -.015em; }
.feature__title a { color: var(--ink); text-decoration: none; }
.feature__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature__excerpt { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.feature__body { display: grid; gap: 16px; }
.feature__more { position: relative; z-index: 2; justify-self: start; margin-top: 8px; }
.feature:hover .card-post__frame { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature:hover .feature__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.feature .meta a { position: relative; z-index: 2; }
@media (max-width: 799px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Sheets: white editorial surface (Brand Glow Up) ---------- */

.sheet { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
.sheet--pad { padding: clamp(24px, 5vw, 64px); }
.sheet + .sheet { margin-top: 24px; }
.narrow { max-width: 880px; margin-inline: auto; }
.crumbs + .sheet--narrow, .crumbs + .sheet { margin-top: 16px; }

.reading { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 1023px) { .reading { grid-template-columns: 1fr; } }
.reading--single { grid-template-columns: minmax(0, 860px); justify-content: center; }

.article__title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: clamp(32px, 4.2vw, 46px); line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; }
.article__dek { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.article__byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__figure { margin: 32px 0 0; }
.article__figure img { width: 100%; border-radius: var(--radius-sm); display: block; }
.article__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

.person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person__name { font-family: var(--font-ui); font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; }
.person__name:hover { color: var(--brand); text-decoration: underline; }
.person__sub { font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); }
.avatar {
    flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand-tint); color: var(--brand-deep); font-family: var(--font-slab); font-size: 18px; font-weight: 500; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 32px; height: 32px; font-size: 14px; }
.avatar--lg { width: 64px; height: 64px; font-size: 26px; }

.share { display: flex; align-items: center; gap: 8px; }
.share__label { font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.share a, .share button {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0;
    transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.share a:hover, .share button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.share .icon { width: 16px; height: 16px; }
.share button.is-copied { border-color: var(--ok); background: var(--ok); color: #fff; }

/* Long-form text set for reading */
.prose { margin-top: 36px; font-size: 18px; line-height: 1.75; color: #262624; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.sheet > .prose:first-child { margin-top: 0; }
.prose p { margin-bottom: 0; }
.prose h2 { margin: 1.9em 0 .5em; font-family: var(--font-slab); font-weight: 600; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -.01em; }
.prose h3 { margin: 1.6em 0 .4em; font-family: var(--font-slab); font-weight: 600; font-size: 21px; line-height: 1.35; }
.prose h4 { margin: 1.4em 0 .3em; font-family: var(--font-ui); font-weight: 600; font-size: 18px; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0; }
.prose a { color: var(--brand-deep); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--ink); font-family: var(--font-slab); font-size: 22px; line-height: 1.5; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose img, .prose figure { margin: 1.8em 0; border-radius: var(--radius-sm); }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); opacity: 1; }
.prose code { padding: .1em .35em; border-radius: 3px; background: var(--stage); font-size: .88em; color: var(--ink); }
.prose pre { padding: 18px 20px; border-radius: var(--radius-sm); background: #1b1b1a; color: #f3f2ef; font-size: 15px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--font-ui); font-weight: 600; }
.prose--plain { white-space: pre-line; }

/* Sidebar (stage, Brand Glow Up rhythm: heading, copy, action, hairline) */
.aside { display: grid; gap: 0; }
.aside__block { padding: 0 0 32px; }
.aside__block + .aside__block { padding-top: 32px; border-top: 1px solid var(--line-strong); }
.aside__title { margin: 0 0 16px; font-family: var(--font-slab); font-weight: 400; font-size: 22px; line-height: 1.3; }
.aside__text { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.aside .search { max-width: none; margin: 0 0 8px; }
.linklist { margin: 0; padding: 0; list-style: none; }
.linklist li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.linklist li:first-child { padding-top: 0; }
.linklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.linklist a { display: block; font-family: var(--font-ui); font-size: 16px; line-height: 1.45; color: var(--ink); text-decoration: none; }
.linklist a:hover { color: var(--brand); text-decoration: underline; }
.linklist .meta { margin-top: 4px; font-size: 13px; }
.ranklist { counter-reset: rank; }
.ranklist li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; counter-increment: rank; }
.ranklist li::before { content: counter(rank); font-family: var(--font-slab); font-size: 18px; line-height: 1.35; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .aside--sticky { position: sticky; top: 104px; } }

/* ---------- Discussions ---------- */

.threads { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
.threads__head, .thread {
    display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px 128px; align-items: center; gap: 16px; padding: 18px 24px;
}
.threads__head { padding-block: 12px; border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: 13px; color: var(--ink-2); }
.threads__head span:not(:first-child), .thread__stat { text-align: right; }
.thread { position: relative; border-bottom: 1px solid var(--line); transition: background-color .18s var(--ease); }
.thread:last-child { border-bottom: 0; }
.thread:hover { background: #fcfbfa; }
.thread__main { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.thread__title { margin: 0 0 4px; font-family: var(--font-ui); font-weight: 500; font-size: 17px; line-height: 1.35; }
.thread__title a { color: var(--ink); text-decoration: none; }
.thread__title a::after { content: ""; position: absolute; inset: 0; }
.thread:hover .thread__title a { text-decoration: underline; text-underline-offset: .18em; }
.thread .meta { font-size: 13px; }
.thread .meta a { position: relative; z-index: 1; }
.thread__stat { font-family: var(--font-ui); font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
.thread__stat small { display: none; }
.thread__activity { font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); text-align: right; }
.flag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-family: var(--font-ui); font-size: 12px; font-weight: 500; vertical-align: 2px; margin-left: 6px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.flag--featured { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.flag .icon { width: 12px; height: 12px; }
@media (max-width: 719px) {
    .threads__head { display: none; }
    .thread { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
    .thread__stats { display: flex; gap: 16px; padding-left: 46px; }
    .thread__stat, .thread__activity { text-align: left; font-size: 14px; color: var(--ink-2); }
    .thread__stat small { display: inline; font-size: 14px; }
}
@media (min-width: 720px) { .thread__stats { display: contents; } }

.discussion-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1023px) { .discussion-cards { grid-template-columns: 1fr; } }
.discussion-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.discussion-card:hover, .discussion-card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.discussion-card__title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: 21px; line-height: 1.3; }
.discussion-card__title a { color: var(--ink); text-decoration: none; }
.discussion-card__title a::after { content: ""; position: absolute; inset: 0; }
.discussion-card:hover .discussion-card__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.discussion-card__excerpt { margin: 0; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.discussion-card .meta { font-size: 13px; }
.discussion-card .meta a { position: relative; z-index: 1; }
.discussion-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.stat-inline { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.tabs { display: flex; gap: 4px; margin: 0 0 16px; padding: 4px; list-style: none; background: var(--stage-deep); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: block; padding: 7px 16px; border-radius: 999px; font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 20, .1); }

.replies { list-style: none; margin: 0; padding: 0; }
.reply { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.reply:first-child { border-top: 0; padding-top: 8px; }
.reply__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.reply__time { font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); }
.reply__body { margin-top: 8px; font-size: 17px; line-height: 1.7; color: #262624; white-space: pre-line; max-width: 68ch; }
.reply__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.reply__actions form { margin: 0; }
.vote {
    display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-family: var(--font-ui); font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer;
    transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
button.vote:hover { border-color: var(--ink); color: var(--ink); }
.vote.is-on { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
span.vote { cursor: default; }
.vote .icon { width: 15px; height: 15px; }
.textlink { background: none; border: 0; padding: 0; font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.textlink:hover { color: var(--ink); }
.textlink--danger:hover { color: var(--danger); }

.composer { display: grid; gap: 16px; }
.composer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.composer__hint { font-size: 14px; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--radius); background: var(--stage); }
.gate p { margin: 0; color: var(--ink-2); }

/* ---------- Home ---------- */

/* The editorial world, site-wide: paper and beige, near-black ink, an amber accent,
   Newsreader for everything people read and wide tracked Archivo for labels.
   html:root outranks the layout's inline :root { --brand }, so the site colour gives way to ink. */
html:root {
    --stage: #ffffff;
    --stage-deep: #ebe2d3;
    --surface: #ffffff;
    --beige: #f5efe6;
    --beige-deep: #ebe2d3;
    --line: #e4ddd1;
    --line-strong: #cfc6b6;
    --ink: #161616;
    --ink-2: #4a4741;
    --ink-3: #66615a;
    --amber: #e8891a;       /* decoration and text on dark */
    --amber-ink: #9a5200;   /* amber text on paper and beige (5:1+) */
    --night: #161616;
    --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
    --font-wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-text: var(--font-serif);
    --font-slab: var(--font-serif);
    --radius: 0px;
    --radius-sm: 0px;
    --shadow-1: none;
    --shadow-2: none;
    --shadow-sheet: none;
    --brand: #161616;
    --brand-ink: #ffffff;
    --brand-deep: #9a5200;
    --brand-soft: #f5efe6;
    --brand-tint: #ebe2d3;
    --bs-body-bg: #ffffff;
    --bs-link-hover-color: #9a5200;
    --bs-focus-ring-color: rgba(154, 82, 0, .3);
}
.home { --band-bg: var(--stage); }

/* Hero: the centred title, dek, search and paths, over the site's photo. */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; background: var(--beige); padding: clamp(80px, 11vw, 152px) 0 clamp(72px, 9vw, 124px); }
.hero--photo { background: #2a241d; color: #fff; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center / cover no-repeat; animation: hero-settle 2.2s var(--ease) both; }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 20, 13, .52) 0%, rgba(26, 20, 13, .6) 50%, rgba(26, 20, 13, .8) 100%); }
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }
.hero__title { margin: 0 auto; max-width: 20ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; color: inherit; }
.hero__dek { max-width: 52ch; margin: 22px auto 0; font-family: var(--font-serif); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--ink-2); }
.hero--photo .hero__dek { color: rgba(255, 255, 255, .88); }
.search.hero__search { max-width: 600px; margin-top: 40px; padding: 6px 6px 6px 50px; background: #fff; box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .55); transition: box-shadow .3s var(--ease); }
.search.hero__search:focus-within { box-shadow: 0 0 0 3px var(--amber), 0 22px 44px -22px rgba(0, 0, 0, .55); }
.hero__search .icon { left: 18px; width: 20px; height: 20px; color: var(--ink-3); }
.search.hero__search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px 0 0; border: 0; box-shadow: none; font-family: var(--font-serif); font-size: 18px; }
.search .hero__button, .ed-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
    background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0;
    font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.search .hero__button { position: static; min-height: 48px; padding: 0 26px; font-size: 12px; }
.search .hero__button:hover, .ed-button:hover { background: var(--amber-ink); border-color: var(--amber-ink); color: #fff; }
.hero__paths { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero__paths a {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--ink-3); color: var(--ink);
    font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.hero__paths a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero--photo .hero__paths a { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero--photo .hero__paths a:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero a:focus-visible, .hero button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Home banner: blog posts with "Show in home banner" on (blog::web.partials.home-banner). */
.banner { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; }
.banner__slide { position: relative; display: flex; align-items: center; min-height: clamp(460px, 72vh, 720px); text-align: center; }
.banner__slide[hidden] { display: none; }
.banner__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 18, 12, .5) 0%, rgba(22, 18, 12, .62) 50%, rgba(22, 18, 12, .82) 100%); }
.banner__inner { width: 100%; padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(88px, 9vw, 120px); }
.banner__eyebrow { display: inline-block; margin-bottom: 18px; color: var(--amber); font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.banner__eyebrow:hover { color: #fff; }
.banner__title { margin: 0 auto; max-width: 22ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; color: inherit; }
.banner__title, .banner__dek, .banner__meta { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.banner__dek { max-width: 56ch; margin: 18px auto 0; font-family: var(--font-serif); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.banner__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; font-family: var(--font-wide); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.banner__controls { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.banner__dots { display: flex; gap: 4px; }
.banner__dot { width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.banner__dot::before { content: ""; display: block; height: 2px; background: rgba(255, 255, 255, .4); transition: background-color .2s var(--ease); }
.banner__dot[aria-current="true"]::before, .banner__dot:hover::before { background: #fff; }
.banner__arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.banner__arrow:hover { background: #fff; color: var(--night); }
.banner__arrow[data-slide-prev] .icon { transform: scaleX(-1); }
.banner a:focus-visible, .banner button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
    .banner__slide:not([hidden]) .banner__image { animation: hero-settle 2.2s var(--ease) both; }
}
@media (max-width: 640px) {
    .banner__slide { min-height: 520px; }
    .banner__actions .ed-button { flex: 1 1 100%; }
    .banner__controls { bottom: 20px; }
    .banner__inner { padding-bottom: 92px; }
}

/* Bands alternate paper and beige; the community band is night. */
.home-band { padding-block: clamp(56px, 7vw, 96px); background: var(--band-bg); }
.home-band:nth-child(even) { --band-bg: var(--beige); }
.home-band--ink, .home-band--ink:nth-child(even) { --band-bg: var(--night); color: #f3eee6; }

/* Section head: tracked caps title, amber link, a full-width ink rule. */
.ed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: clamp(28px, 3vw, 40px); border-bottom: 2px solid var(--ink); }
.ed-head__title { margin: 0; font-family: var(--font-wide); font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ed-head__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-ink); text-decoration: none; white-space: nowrap; }
.ed-head__link .icon { width: 16px; height: 16px; transition: translate .3s var(--ease); }
.ed-head__link:hover { color: var(--ink); }
.ed-head__link:hover .icon { translate: 4px 0; }
.ed-label { margin: 0 0 22px; text-align: center; font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ed-label--start { text-align: left; }

/* Other modules' home sections (Bootstrap card grids) take the same head and flat cards. */
.home-band .section { padding: 0; }
.home-band .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: clamp(28px, 3vw, 40px); border-bottom: 2px solid var(--ink); }
.home-band .section-title { margin: 0; font-family: var(--font-wide); font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.home-band .section-link { font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-ink); text-decoration: none; }
.home-band .section-link:hover { color: var(--ink); }
.home-band .card { height: 100%; border: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; transition: border-color .25s var(--ease); }
.home-band .card:hover { border-color: var(--ink); }

/* Meta line under every title: amber category, then grey serif facts. */
.ed-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; margin: 0; font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }
.ed-meta__cat { position: relative; z-index: 2; font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-ink); text-decoration: none; }
.ed-meta__cat:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }

/* Titles draw their underline in on hover. The title link covers its whole card. */
.ed-card__title a, .ed-lead__title a, .ed-popular__title a, .ed-talk__title a, .ed-ranks__title {
    color: inherit; text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .45s var(--ease), color .2s var(--ease);
}
.ed-card__title a::after, .ed-lead__title a::after, .ed-popular__title a::after, .ed-talk__title a::after, .ed-ranks__title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ed-card:hover .ed-card__title a, .ed-lead:hover .ed-lead__title a, .ed-popular__item:hover .ed-popular__title a, .ed-talk:hover .ed-talk__title a, .ed-ranks__item:hover .ed-ranks__title,
.ed-card__title a:focus-visible, .ed-lead__title a:focus-visible, .ed-popular__title a:focus-visible, .ed-talk__title a:focus-visible, .ed-ranks__title:focus-visible { background-size: 100% 1px; }
.home .ed-section a:focus-visible { outline: none; }
.home .ed-head .ed-head__link:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 4px; }
.home .ed-section .ed-meta__cat:focus-visible { text-decoration: underline; text-underline-offset: .3em; }
.ed-card:has(a:focus-visible), .ed-lead:has(a:focus-visible), .ed-popular__item:has(a:focus-visible), .ed-talk:has(a:focus-visible), .ed-ranks__item:has(a:focus-visible) { outline: 2px solid var(--amber-ink); outline-offset: 6px; }

/* Card: image, centred serif title, excerpt, meta. */
.ed-card { position: relative; display: grid; align-content: start; gap: 12px; text-align: center; }
.ed-card__frame { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 8px; background: var(--beige-deep); }
.ed-card__frame img, .ed-lead__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ed-card:hover .ed-card__frame img, .ed-lead:hover .ed-lead__frame img { transform: scale(1.045); }
.ed-card__title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.22; text-wrap: balance; color: var(--ink); }
.ed-card__excerpt { margin: 0; font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Featured: a wide split lead (image 7 | text 5), then the picks beside a ranked "Most popular" list.
   Left-aligned and scannable: category, author, date and reading time sit together under each title. */
.ed-feat { display: grid; }
.ed-lead { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.ed-lead:not(:last-child) { padding-bottom: clamp(32px, 3.5vw, 48px); margin-bottom: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line-strong); }
.ed-lead__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige-deep); }
.ed-lead__frame img { position: absolute; inset: 0; }
.ed-lead__body { display: grid; justify-items: start; gap: 18px; }
.ed-lead__title { margin: 0; max-width: 22ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; color: var(--ink); }
.ed-lead__excerpt { margin: 0; max-width: 48ch; font-family: var(--font-serif); font-size: 18px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ed-feat .ed-meta { justify-content: flex-start; }
.ed-lead__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-strong); font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.ed-lead__more .icon { width: 16px; height: 16px; color: var(--amber-ink); transition: translate .3s var(--ease); }
.ed-lead:hover .ed-lead__more .icon { translate: 5px 0; }

/* The row under the lead: picks | Most popular, split by hairlines. */
.ed-feat__row { --pad: clamp(16px, 1.7vw, 28px); display: grid; grid-template-columns: repeat(var(--picks, 2), minmax(0, 1fr)) minmax(0, 1.1fr); margin-inline: calc(var(--pad) * -1); }
/* Equal padding on every column keeps the pick images the same size; the negative margin re-aligns the edges. */
.ed-feat__row--no-popular { grid-template-columns: repeat(var(--picks, 2), minmax(0, 1fr)); }
.ed-feat__row > * { padding-inline: var(--pad); }
.ed-feat__row > * + * { border-left: 1px solid var(--line-strong); }
.ed-feat .ed-card { text-align: left; gap: 10px; }
.ed-feat .ed-card__title { font-size: clamp(20px, 1.6vw, 23px); text-wrap: pretty; }
.ed-feat .ed-card__excerpt { -webkit-line-clamp: 2; }

/* Most popular inside Featured: rank, title, meta on compact hairline rows. */
.ed-feat .ed-popular .ed-label { margin-bottom: 6px; }
.ed-feat .ed-popular__list { border-bottom: 0; }
.ed-feat .ed-popular__item { grid-template-columns: 30px minmax(0, 1fr); justify-items: start; column-gap: 12px; row-gap: 4px; padding: 12px 0; text-align: left; border-top: 0; }
.ed-feat .ed-popular__item + .ed-popular__item { border-top: 1px solid var(--line); }
.ed-feat .ed-popular__rank { position: static; grid-row: 1 / span 2; translate: none; width: auto; height: auto; border: 0; border-radius: 0; background: none; place-items: start; padding-top: 3px; font-size: 13px; color: var(--amber-ink); }
.ed-feat .ed-popular__item:hover .ed-popular__rank { background: none; scale: 1; translate: 3px 0; }
.ed-feat .ed-popular__title { font-size: 18px; line-height: 1.3; text-wrap: pretty; }
.ed-feat .ed-popular__item .ed-meta { font-size: 14px; }

/* Ranked list with numbered rings sitting on the hairlines. */
.ed-popular__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.ed-popular__item { position: relative; display: grid; justify-items: center; gap: 10px; padding: 30px 4px 24px; text-align: center; border-top: 1px solid var(--line-strong); }
.ed-popular__rank {
    position: absolute; top: 0; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 26px; height: 26px;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--band-bg);
    font-family: var(--font-wide); font-size: 11px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
    transition: background-color .25s var(--ease), border-color .25s var(--ease), scale .35s var(--ease);
}
.ed-popular__item:hover .ed-popular__rank { background: var(--amber); border-color: var(--amber); scale: 1.12; }
.ed-popular__title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 1.25; text-wrap: balance; color: var(--ink); }

/* Columns split by vertical hairlines (latest posts, featured discussions). */
.ed-row { --pad: clamp(14px, 1.7vw, 26px); display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin-inline: calc(var(--pad) * -1); }
/* Equal padding on every column keeps images the same size; the row's negative margin re-aligns the edges. */
.ed-row > * { padding-inline: var(--pad); }
.ed-row > * + * { border-left: 1px solid var(--line-strong); }

/* Discussion: a quote mark, the question, its opening, who asked. */
.ed-talk { position: relative; display: grid; align-content: start; justify-items: center; gap: 14px; text-align: center; }
.ed-talk::before { content: "\201C"; display: block; height: 34px; font-family: var(--font-serif); font-size: 72px; line-height: .9; color: var(--amber); transition: translate .4s var(--ease); }
.ed-talk:hover::before { translate: 0 -4px; }
.ed-talk__title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; text-wrap: balance; color: var(--ink); }
.ed-talk__excerpt { margin: 0; font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ed-talk__by { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 0; font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }

.ed-split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(56px, 6vw, 88px); }
.ed-split--single { grid-template-columns: 1fr; }

/* Rows: amber number, large serif title, quiet facts (recently active, topics). */
.ed-ranks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.ed-ranks__item {
    position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: baseline; gap: 16px;
    padding: 18px 8px; border-bottom: 1px solid var(--line-strong);
    transition: background-color .3s var(--ease), padding .4s var(--ease);
}
.ed-ranks__item:hover { padding-inline: 18px 8px; background: color-mix(in srgb, var(--beige-deep) 60%, transparent); }
.ed-ranks__n { font-family: var(--font-wide); font-size: 12px; font-weight: 600; color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.ed-ranks__title { justify-self: start; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--ink); }
.ed-ranks__meta { font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.ed-ranks__item--topic { grid-template-columns: minmax(0, 1fr) auto 20px; }
.ed-ranks__item--topic .icon { width: 18px; height: 18px; align-self: center; color: var(--amber-ink); transition: translate .35s var(--ease); }
.ed-ranks__item--topic:hover .icon { translate: 4px 0; }
.ed-topics { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 80px); }

/* Community: night band, centred serif, replies as quotes. */
.ed-community, .ed-pitch { display: grid; justify-items: center; text-align: center; }
.ed-community__title, .ed-pitch__title { margin: 0; max-width: 20ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.ed-community__title { color: #fff; }
.ed-community__text, .ed-pitch__text { margin: 18px 0 0; max-width: 54ch; font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; }
.ed-community__text { color: rgba(243, 238, 230, .8); }
.ed-pitch__text { color: var(--ink-2); }
.ed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ed-button--amber { background: var(--amber); border-color: var(--amber); color: var(--night); }
.ed-button--amber:hover { background: #f6a548; border-color: #f6a548; color: var(--night); }
.ed-button--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.ed-button--ghost:hover { background: #fff; border-color: #fff; color: var(--night); }
.ed-button--line { background: transparent; color: var(--ink); }
.ed-button--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.home-band--ink .ed-button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.ed-voices { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); width: 100%; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(255, 255, 255, .16); }
.ed-voice { margin: 0; padding: 36px clamp(16px, 2vw, 32px) 0; }
.ed-voice + .ed-voice { border-left: 1px solid rgba(255, 255, 255, .14); }
.ed-voice__quote { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 19px; line-height: 1.5; color: #f3eee6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ed-voice__quote::before { content: "\201C"; }
.ed-voice__quote::after { content: "\201D"; }
.ed-voice__who { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-family: var(--font-serif); font-size: 15px; color: rgba(243, 238, 230, .68); text-align: left; }
.ed-voice__name { color: #f3eee6; }
.ed-voice__who a { color: var(--amber); text-decoration: none; }
.ed-voice__who a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Items rise in as they scroll into view, where the browser can tie motion to scrolling. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .ed-card, .ed-talk, .ed-popular__item, .ed-ranks__item, .ed-voice { animation: ed-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    }
}
@keyframes ed-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1023px) {
    .ed-lead { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ed-lead__title { max-width: 26ch; }
    .ed-lead__excerpt { max-width: 62ch; }
    .ed-feat__row, .ed-feat__row--no-popular { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-inline: 0; }
    .ed-feat__row > * { padding-inline: 0 !important; border-left: 0 !important; }
    .ed-feat__row .ed-popular { grid-column: 1 / -1; }
    .ed-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; margin-inline: 0; }
    .ed-row > * { padding: 0 !important; border: 0 !important; }
    .ed-split, .ed-topics { grid-template-columns: minmax(0, 1fr); }
    .ed-voices { grid-template-columns: minmax(0, 1fr); border-top: 0; }
    .ed-voice { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
    .ed-voice + .ed-voice { border-left: 0; }
}
@media (max-width: 639px) {
    .ed-head { align-items: baseline; }
    .ed-head__title, .home-band .section-title { font-size: 12.5px; letter-spacing: .14em; line-height: 1.4; }
    .ed-head__link, .home-band .section-link { font-size: 11px; letter-spacing: .12em; }
    .hero__paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin-inline: auto; }
    .hero__paths a { justify-content: center; min-height: 44px; padding: 0 6px; font-size: 10px; letter-spacing: .1em; white-space: nowrap; }
    .ed-lead__frame { aspect-ratio: 4 / 3; }
    .ed-lead__excerpt { font-size: 17px; -webkit-line-clamp: 3; }
    /* Picks become compact thumbnail rows under the lead. */
    .ed-lead:not(:last-child) { margin-bottom: 0; padding-bottom: 28px; }
    .ed-feat__row, .ed-feat__row--no-popular { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ed-feat .ed-card:first-child { border-top: 0; }
    .ed-feat .ed-card { grid-template-columns: 104px minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 8px; padding-block: 18px; border-top: 1px solid var(--line-strong); }
    .ed-feat .ed-card__frame { grid-row: 1 / span 2; aspect-ratio: 1; margin: 0; }
    .ed-feat .ed-card__title { font-size: 19px; }
    .ed-feat .ed-card__excerpt { display: none; }
    .ed-feat .ed-card .ed-meta { align-self: start; }
    .ed-feat .ed-card .placeholder__initial { font-size: 80cqh; }
    .ed-feat__row .ed-popular { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--ink); }
    /* Latest posts and featured discussions swipe sideways; the next card peeks in. */
    .ed-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 20px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .ed-row::-webkit-scrollbar { display: none; }
    .ed-row > * { scroll-snap-align: start; }
    .ed-row--talks > * { padding: 24px 18px !important; background: var(--band-bg); border: 1px solid var(--line-strong) !important; }
    .ed-ranks__item { grid-template-columns: 24px minmax(0, 1fr); row-gap: 4px; }
    .ed-ranks__item .ed-ranks__meta { grid-column: 2; }
    .ed-ranks__item--topic { grid-template-columns: minmax(0, 1fr) 20px; }
    .ed-ranks__item--topic .ed-ranks__meta { grid-column: 1; grid-row: 2; }
    .ed-ranks__item--topic .icon { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 479px) {
    .search.hero__search { padding-left: 44px; }
    .hero__search .icon { left: 14px; }
    .search .hero__button { padding: 0 16px; }
    .ed-actions { display: grid; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero--photo::before { animation: none; }
    .ed-card:hover .ed-card__frame img, .ed-lead:hover .ed-lead__frame img { transform: none; }
    .ed-popular__item:hover .ed-popular__rank { scale: none; }
    .ed-talk:hover::before, .ed-ranks__item--topic:hover .icon, .ed-head__link:hover .icon { translate: none; }
}

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; } }

.community { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: var(--section); }
.community__title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.015em; }
.community__text { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.community__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.voices { display: grid; gap: 14px; }
.voice { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.voice:nth-child(2) { margin-left: clamp(0px, 4vw, 48px); }
.voice:nth-child(3) { margin-left: clamp(0px, 2vw, 24px); }
.voice__quote { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: #262624; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.voice__where { margin-top: 8px; font-family: var(--font-ui); font-size: 13px; color: var(--ink-2); }
.voice__where a { position: relative; z-index: 1; }
@media (max-width: 899px) { .community { grid-template-columns: 1fr; } .voice:nth-child(n) { margin-left: 0; } }

.cta {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); border-radius: var(--radius); background: var(--brand-soft); border: 1px solid var(--brand-tint);
}
.cta__title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; }
.cta__text { margin: 10px 0 0; color: var(--ink-2); max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta form .input { width: min(320px, 100%); }
@media (max-width: 799px) { .cta { grid-template-columns: 1fr; } }

.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.topic { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .18s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease); }
.topic:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.topic__name { font-family: var(--font-ui); font-weight: 500; font-size: 16px; }
.topic__sub { display: block; font-family: var(--font-ui); font-size: 13px; color: var(--ink-2); font-weight: 400; margin-top: 2px; }
.topic .icon { color: var(--ink-3); transition: transform .28s var(--ease), color .18s var(--ease); }
.topic:hover .icon { color: var(--brand); transform: translateX(3px); }

/* ---------- About / contact ---------- */

.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--ink); }
.facts__label { display: block; font-family: var(--font-ui); font-size: 13px; color: var(--ink-2); }
.facts__value { font-family: var(--font-ui); font-size: 17px; color: var(--ink); text-decoration: none; white-space: pre-line; overflow-wrap: anywhere; }
a.facts__value:hover { color: var(--brand); text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-family: var(--font-ui); font-size: 14px; text-decoration: none; color: var(--ink); }
.socials a:hover { border-color: var(--ink); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } }
.success { display: grid; justify-items: start; gap: 12px; }
.success__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.success__mark .icon { width: 24px; height: 24px; }

.empty { padding: 48px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty__title { margin: 0; font-family: var(--font-slab); font-weight: 400; font-size: 22px; }
.empty p { margin: 8px auto 0; color: var(--ink-2); max-width: 44ch; }
.empty .button { margin-top: 20px; }

/* ---------- Pagination ---------- */

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }
.pager__summary { font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pager__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pager__list a, .pager__list span {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-family: var(--font-ui); font-size: 15px; font-variant-numeric: tabular-nums; text-decoration: none; color: var(--ink);
}
.pager__list a:hover { border-color: var(--ink); color: var(--ink); }
.pager__list [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__list .is-disabled { color: var(--ink-3); border-color: var(--line); background: transparent; }
.pager__list .is-gap { border: 0; background: none; min-width: 20px; padding: 0; }

/* ---------- Footer ---------- */

.footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: auto; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(var(--footer-cols, 2), minmax(0, .7fr)) minmax(0, 1.3fr); gap: 40px; padding-block: 56px 48px; }
.footer__brand { font-family: var(--font-ui); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.footer__brand img { max-height: 36px; width: auto; }
.footer__about { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: #2f2f30; max-width: 34ch; }
.footer__heading { margin: 0 0 14px; font-family: var(--font-ui); font-size: 16px; font-weight: 500; }
.footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer__links a { font-family: var(--font-text); font-size: 14px; color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--brand); text-decoration: underline; }
.footer__news p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.footer__news form { display: flex; gap: 8px; }
.footer__news .input { min-height: 44px; font-size: 15px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); font-family: var(--font-ui); font-size: 14px; color: var(--ink); }
.footer__social { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer__social a { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--ink); }
.footer__social a:hover { color: var(--brand); }
.footer__social .icon { width: 20px; height: 20px; }
@media (max-width: 899px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__identity, .footer__news { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__news form { flex-direction: column; } }

/* ---------- Pages not yet redesigned: Bootstrap re-skin ---------- */

.legacy { padding-block: clamp(32px, 5vw, 56px) var(--section); }
.legacy h1 { font-family: var(--font-slab); font-weight: 400; letter-spacing: -.015em; }
.btn { --bs-btn-font-family: var(--font-ui); --bs-btn-font-weight: 500; --bs-btn-border-radius: 999px; --bs-btn-padding-x: 1.2rem; }
.btn-brand, .btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-color: var(--brand-ink); --bs-btn-hover-bg: var(--brand-deep); --bs-btn-hover-border-color: var(--brand-deep); --bs-btn-hover-color: var(--brand-ink); --bs-btn-active-bg: var(--brand-deep); --bs-btn-active-border-color: var(--brand-deep); background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); color: var(--brand-ink); }
.btn-outline-secondary { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line-strong); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff; }
.form-control, .form-select { border-color: var(--line-strong); border-radius: var(--radius-sm); min-height: 44px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.form-label { font-family: var(--font-ui); font-weight: 500; }
.card { --bs-card-border-color: transparent; --bs-card-border-radius: var(--radius); box-shadow: var(--shadow-1); }
.list-group { --bs-list-group-border-color: var(--line); --bs-list-group-border-radius: var(--radius); }
.alert { border-radius: var(--radius-sm); }
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--ink); --bs-pagination-active-border-color: var(--ink); --bs-pagination-border-radius: 999px; gap: 6px; }
.pagination .page-link { border-radius: 999px !important; }
.nav-tabs { --bs-nav-tabs-link-active-color: var(--ink); --bs-nav-link-color: var(--ink-2); --bs-nav-link-hover-color: var(--ink); }
.text-secondary { color: var(--ink-2) !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .card-post:hover .card-post__frame, .feature:hover .card-post__frame, .discussion-card:hover, .topic:hover { transform: none; }
}


/* Scrolling chip and tab rows: fade the right edge so the cut reads as "more". */
@media (max-width: 899px) {
  .filterbar .pills, .tabs { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 32px; }
}
.placeholder[hidden], img[hidden] { display: none; }

/* ---------- Editorial layer: the home page's world on every page ---------- */

:focus-visible { outline-color: var(--amber-ink); border-radius: 0; }
a:hover { color: var(--amber-ink); }
.masthead__nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.masthead__nav a:hover, .masthead__link:hover { color: var(--amber-ink); }

/* Square, tracked-caps buttons. */
.button, .btn { border-radius: 0; font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.btn { --bs-btn-border-radius: 0; --bs-btn-font-family: var(--font-wide); --bs-btn-font-size: 12px; --bs-btn-font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.button--small { min-height: 36px; font-size: 11px; letter-spacing: .14em; }
.button--primary:hover, .btn-brand:hover, .btn-primary:hover { background: var(--amber-ink); border-color: var(--amber-ink); color: #fff; }
.button--quiet { border-color: var(--ink-3); }
.button--quiet:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-brand, .btn-primary { --bs-btn-hover-bg: var(--amber-ink); --bs-btn-hover-border-color: var(--amber-ink); --bs-btn-active-bg: var(--amber-ink); --bs-btn-active-border-color: var(--amber-ink); }
.btn-outline-primary { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--ink); }

/* Filters: tracked caps chips; the current one goes ink. */
.pill { min-height: 36px; padding: 6px 14px; border-color: var(--line-strong); font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pill:hover { border-color: var(--ink); }
.pill[aria-current="page"], .pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill__count { font-family: var(--font-wide); font-size: 10.5px; letter-spacing: .06em; }
.filterbar { border-bottom-color: var(--line-strong); }
.filterbar__inner { padding-block: 16px; }
.filterbar .section-link { font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); text-decoration: none; }
.tabs { gap: 0; padding: 0; background: none; border-bottom: 1px solid var(--line-strong); border-radius: 0; width: 100%; }
.tabs a { padding: 12px 16px; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tabs a[aria-current="page"] { background: none; box-shadow: none; color: var(--ink); border-bottom-color: var(--ink); }
.tabs a:hover { color: var(--ink); }

/* Page intro: a beige band with a centred serif title, like the home hero without the photo. */
.intro { background: var(--beige); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.intro__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.018em; max-width: 18ch; }
.intro__dek { max-width: 54ch; margin-top: 18px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }
.intro__search { margin-top: 36px; }
.intro__actions { margin-top: 32px; }
.legacy h1, .legacy .h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; }

/* Search: a white box with an ink button, as in the home hero. */
.search { max-width: 600px; padding: 5px 5px 5px 46px; background: #fff; border: 1px solid var(--line-strong); transition: border-color .2s var(--ease), box-shadow .25s var(--ease); }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 45%, transparent); }
.search:not(.hero__search) .icon { left: 16px; width: 18px; height: 18px; color: var(--ink-3); }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 10px 0 0; border: 0; font-family: var(--font-serif); font-size: 17px; }
.search input:focus { box-shadow: none; }
.search button, .search .button { position: static; min-height: 44px; padding: 0 22px; background: var(--ink); border: 1px solid var(--ink); color: #fff; font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.search button:hover { background: var(--amber-ink); border-color: var(--amber-ink); color: #fff; }
.search.hero__search { border: 0; }
.aside .search { padding-left: 42px; }
.aside .search button { padding: 0 14px; }

.crumbs { font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--amber-ink); }

/* Section heads: tracked caps over a 2px ink rule, amber link. */
.section-head { align-items: flex-end; padding-bottom: 16px; margin-bottom: clamp(28px, 3vw, 40px); border-bottom: 2px solid var(--ink); }
.section-title, .section-title--small { font-family: var(--font-wide); font-size: 15px; font-weight: 600; letter-spacing: .2em; line-height: 1.35; text-transform: uppercase; }
.section-link { font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-ink); text-decoration: none; }
.section-link:hover { color: var(--ink); }
.section-note { margin-top: -18px; font-size: 17px; }

/* Meta: grey serif facts; links (categories) in amber caps. */
.meta { gap: 4px 18px; font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }
.meta > *::before { background: var(--line-strong); }
.meta a { font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); }
.meta a:hover { color: var(--ink); }
.meta .meta__strong { color: var(--ink); font-weight: 400; }

/* Placeholder for posts without an image: beige panel, serif initial. */
.placeholder { background: var(--beige-deep); padding: 12px; }
.placeholder__initial { font-family: var(--font-serif); font-weight: 300; color: color-mix(in srgb, var(--amber) 38%, transparent); }
.placeholder__label { display: none; }

/* Cards: flat frame that zooms, centred serif title whose underline draws in. */
.card-post { gap: 14px; text-align: center; }
.card-post__frame { aspect-ratio: 3 / 2; background: var(--beige-deep); }
.card-post__frame img { transition: transform .8s var(--ease); }
.card-post:hover .card-post__frame, .card-post:focus-within .card-post__frame, .feature:hover .card-post__frame { transform: none; box-shadow: none; }
.card-post:hover .card-post__frame img, .feature:hover .card-post__frame img { transform: scale(1.045); }
.card-post__body { gap: 10px; justify-items: center; }
.card-post__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.22; letter-spacing: 0; }
.card-post__excerpt { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; -webkit-line-clamp: 3; }
.card-post .meta { justify-content: center; }
.card-post__title a, .feature__title a, .thread__title a, .discussion-card__title a, .linklist a {
    text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .45s var(--ease), color .2s var(--ease);
}
.card-post:hover .card-post__title a, .feature:hover .feature__title a, .thread:hover .thread__title a, .discussion-card:hover .discussion-card__title a, .linklist a:hover,
.card-post__title a:focus-visible, .feature__title a:focus-visible, .thread__title a:focus-visible, .discussion-card__title a:focus-visible { text-decoration: none; background-size: 100% 1px; color: var(--ink); }
.card-post:focus-within .card-post__frame { outline: 0; }
.card-post:has(a:focus-visible), .feature:has(a:focus-visible), .thread:has(a:focus-visible), .discussion-card:has(a:focus-visible) { outline: 2px solid var(--amber-ink); outline-offset: 6px; }

/* Featured on an index: big serif title beside a flat photo. */
.feature { padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-strong); }
.feature__title { font-family: var(--font-serif); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.012em; }
.feature__excerpt { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; }
.feature .card-post__frame { aspect-ratio: 4 / 3; }

/* Reading pages sit on beige, the text on a flat white sheet. */
.stage:has(.sheet) { background: var(--beige); }
.sheet { border-radius: 0; box-shadow: none; }
.article__title { font-family: var(--font-serif); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.018em; }
.article__dek { font-family: var(--font-serif); font-size: clamp(19px, 1.7vw, 22px); }
.article__byline, .article__footer { border-color: var(--line-strong); }
.article__figure img { border-radius: 0; }
.prose { font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose h2, .prose h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.008em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); }
.prose h3 { font-size: 23px; }
.prose h4 { font-family: var(--font-wide); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.prose a { color: var(--amber-ink); text-decoration-color: color-mix(in srgb, var(--amber-ink) 45%, transparent); }
.prose blockquote { padding-left: 28px; border-left: 1px solid var(--line-strong); font-style: italic; font-weight: 300; font-size: 24px; }
.prose img, .prose figure { border-radius: 0; }
.prose code { background: var(--beige); }
.prose th { font-family: var(--font-wide); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* Sidebar: tracked caps heads over an ink rule, serif links, amber rank numbers. */
.aside__block + .aside__block { border-top: 0; }
.aside__title { padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); font-family: var(--font-wide); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.aside__text { font-size: 16.5px; line-height: 1.55; }
.linklist li { border-bottom-color: var(--line-strong); }
.linklist a { display: inline; font-family: var(--font-serif); font-size: 18px; line-height: 1.3; }
.linklist .meta { margin-top: 6px; }
.ranklist li::before { font-family: var(--font-wide); font-size: 12px; font-weight: 600; line-height: 2; color: var(--amber-ink); }

/* People */
.avatar { background: var(--beige-deep); color: var(--amber-ink); font-family: var(--font-serif); font-weight: 400; }
.person__name { font-family: var(--font-serif); font-size: 17px; font-weight: 400; }
.person__name:hover { color: var(--amber-ink); }
.person__sub, .reply__time { font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }

/* Discussion list: hairline rows under an ink rule, serif titles. */
.threads { background: none; border-radius: 0; box-shadow: none; }
.tabs + .threads, .tabs + * .threads { border-top: 0; }
[data-ajax-list] { transition: opacity .15s ease; }
[data-ajax-list][aria-busy="true"] { opacity: .55; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { [data-ajax-list] { transition: none; } }
.threads__head { border-bottom-color: var(--line-strong); font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.thread { border-bottom: 1px solid var(--line-strong); padding-inline: 8px; transition: background-color .3s var(--ease), padding .4s var(--ease); }
.thread:last-child { border-bottom: 1px solid var(--line-strong); }
.thread:hover { background: color-mix(in srgb, var(--beige-deep) 50%, transparent); padding-inline: 18px 8px; }
.thread__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; }
.thread:hover .thread__title a { text-decoration: none; }
.thread__stat { font-family: var(--font-wide); font-size: 13px; font-weight: 600; }
.thread__activity { font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }
.flag { border-radius: 0; font-family: var(--font-wide); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 2px 7px; }
.flag--featured { background: var(--amber); border-color: var(--amber); color: var(--night); }

/* Featured discussions: hairline boxes with an amber quote mark. */
.discussion-cards { gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.discussion-card { padding: 28px clamp(18px, 2vw, 28px); border-radius: 0; box-shadow: none; background: none; text-align: center; align-items: center; }
.discussion-card + .discussion-card { border-left: 1px solid var(--line-strong); }
.discussion-card::before { content: "\201C"; display: block; height: 30px; font-family: var(--font-serif); font-size: 64px; line-height: .9; color: var(--amber); transition: translate .4s var(--ease); }
.discussion-card:hover, .discussion-card:focus-within { transform: none; box-shadow: none; }
.discussion-card:hover::before { translate: 0 -4px; }
.discussion-card__title { font-size: 22px; line-height: 1.22; }
.discussion-card__excerpt { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; }
.discussion-card .meta { justify-content: center; }
.discussion-card__foot { width: 100%; border-top-color: var(--line-strong); }
.stat-inline { font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }
@media (max-width: 1023px) { .discussion-card + .discussion-card { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* Replies and votes */
.reply { border-top-color: var(--line-strong); }
.reply__body { font-family: var(--font-serif); font-size: 18px; color: var(--ink); }
.vote { border-radius: 0; font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.vote.is-on { background: var(--amber); border-color: var(--amber); color: var(--night); }
.textlink { font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-3); }
.textlink:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.composer__hint { font-size: 15px; color: var(--ink-3); }
.gate { background: var(--beige); border-radius: 0; }

/* Boxes: flat, square, beige. */
.cta { background: var(--beige); border: 0; border-top: 2px solid var(--ink); border-radius: 0; }
.cta__title, .empty__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; }
.cta__text { font-size: 18px; }
.empty { background: var(--beige); border: 0; border-radius: 0; }
.empty p { font-size: 17px; }
.topic { border-color: var(--line-strong); border-radius: 0; }
.topic:hover { transform: none; box-shadow: none; background: var(--beige); }
.topic__name { font-family: var(--font-serif); font-size: 20px; font-weight: 400; }
.topic__sub { font-family: var(--font-serif); font-size: 15px; line-height: 1.45; color: var(--ink-3); margin-top: 4px; }
.topic:hover .icon { color: var(--amber-ink); }
.notice { border-radius: 0; }
.facts li { border-top-color: var(--line-strong); }
.facts__label { font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.facts__value { font-family: var(--font-serif); font-size: 18px; }
.socials a { border-radius: 0; font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.share a, .share button { border-radius: 0; }
.share__label { font-family: var(--font-wide); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* Forms */
.field label, .field .label, .form-label { font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field .hint, .field__hint { font-size: 15px; }
.input, .field input, .field textarea, .field select, .form-control, .form-select { border-radius: 0; border-color: var(--line-strong); }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus, .form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 35%, transparent); }

/* Pager */
.pager { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.pager__summary { font-family: var(--font-serif); font-size: 15px; color: var(--ink-3); }
.pager__list a, .pager__list span { border-radius: 0; font-family: var(--font-wide); font-size: 12px; font-weight: 600; }
.pagination { --bs-pagination-border-radius: 0; }
.pagination .page-link { border-radius: 0 !important; }

/* Bootstrap pages (business, projects, influencers, auth): flat square cards and serif headings. */
.card { --bs-card-border-color: var(--line-strong); --bs-card-border-radius: 0; --bs-card-inner-border-radius: 0; box-shadow: none !important; transition: border-color .25s var(--ease); }
a.card:hover, .card:has(a:hover) { border-color: var(--ink); }
.legacy h2, .legacy h3, .legacy .h3, .legacy .h4, .legacy .h5, .card .h5, .card h5 { font-family: var(--font-serif); font-weight: 400; }
.badge, .rounded, .img-fluid, .alert { border-radius: 0 !important; }
.badge { font-family: var(--font-wide); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lead { font-family: var(--font-serif); }

/* Footer: a beige band with tracked caps heads. */
.footer { background: var(--beige); border-top: 1px solid var(--line-strong); }
.footer__heading { font-family: var(--font-wide); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.footer__about, .footer__news p { font-family: var(--font-serif); font-size: 16px; color: var(--ink-2); }
.footer__links a { font-family: var(--font-serif); font-size: 16.5px; }
.footer__links a:hover, .footer__social a:hover { color: var(--amber-ink); }
.footer__bottom { border-top-color: var(--line-strong); }
.footer__news .input { border-radius: 0; }

/* Cards and rows rise in as they scroll into view. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .card-post, .discussion-card, .thread { animation: ed-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    }
}
@media (max-width: 719px) {
    .thread, .thread:hover { grid-template-columns: minmax(0, 1fr); padding-inline: 4px; }
    .thread__main > * { min-width: 0; }
}
/* Grid columns may shrink below their content (scrolling tab rows, long titles). */
.reading > * { min-width: 0; }
@media (max-width: 479px) {
    .search { padding-left: 40px; }
    .search .icon { left: 13px; }
    .search button, .search .button { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .card-post:hover .card-post__frame img, .feature:hover .card-post__frame img { transform: none; }
    .discussion-card:hover::before { translate: none; }
    .thread:hover { padding-inline: 8px; }
}

/* Placeholder logo (partials/logo) until one is set in Admin → Settings → General. */
.masthead__brand, .footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.logo-ph__mark {
    flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-sm, 8px);
    background: var(--brand); color: var(--brand-ink); font-family: var(--font-ui); font-weight: 700; font-size: 17px; letter-spacing: 0;
}
.logo-ph__name { white-space: nowrap; }

/* reCAPTCHA v3: the floating badge is hidden and each protected form shows Google's notice
   instead (partials/recaptcha-notice). visibility, not display:none, keeps reCAPTCHA working. */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { margin: 12px 0 0; font-family: var(--font-ui); font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.recaptcha-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.recaptcha-notice a:hover { color: var(--ink); }
.form-grid .recaptcha-notice, .composer .recaptcha-notice { margin-top: 0; }
/* Newsletter form is one flex row: put the notice on its own line, and beat .footer__news p. */
.footer__news form:has(.recaptcha-notice) { flex-wrap: wrap; }
.footer__news form:has(.recaptcha-notice) .input { flex: 1 1 0; min-width: 0; }
.footer__news .recaptcha-notice { flex: 0 0 100%; margin: 4px 0 0; font-family: var(--font-ui); font-size: 12px; color: var(--ink-3); }

/* ---------- Page FAQs and SEO bottom description (theme::partials.page-extras) ---------- */
.page-extras { padding-block: 0 var(--section); }
.page-extras > .wrap > * { max-width: 880px; margin-inline: auto; }
.page-faq + .page-bottom { margin-top: var(--section); }
.page-faq__list { border-top: 1px solid var(--line-strong); }
.page-faq__item { border-bottom: 1px solid var(--line-strong); }
.page-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-serif, var(--font-slab)); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; color: var(--ink); }
.page-faq__q::-webkit-details-marker { display: none; }
.page-faq__q:hover { color: var(--amber-ink, var(--brand-deep)); }
.page-faq__q:focus-visible { outline: 2px solid var(--amber-ink, var(--brand)); outline-offset: 4px; }
.page-faq__icon { position: relative; flex: none; width: 14px; height: 14px; }
.page-faq__icon::before, .page-faq__icon::after { content: ""; position: absolute; inset: 6px 0 auto; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.page-faq__icon::after { transform: rotate(90deg); }
.page-faq__item[open] .page-faq__icon::after { transform: rotate(0deg); }
.page-faq__a { padding: 0 40px 24px 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.page-bottom__body { max-width: none; margin-top: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.page-bottom__body h2, .page-bottom__body h3 { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .page-faq__icon::before, .page-faq__icon::after { transition: none; } }
