/* Fonts, self-hosted (SIL Open Font License): Schibsted Grotesk and Newsreader.
   Variable files: one per style and character set; the browser only downloads the sets a page uses. */
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-italic-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-normal-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: italic; font-weight: 400 400; font-display: swap; src: url(../fonts/schibsted-grotesk-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: italic; font-weight: 400 400; font-display: swap; src: url(../fonts/schibsted-grotesk-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/schibsted-grotesk-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/schibsted-grotesk-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   futsek — editorial theme
   Monochrome, hairline rules, a newspaper grotesk for headlines and a
   literary serif for reading. Two accents, used as fills (never as text on white):
   One accent: yellow #f6ce53, used as a fill or a bold mark (never as text on white),
   with dark type on top. Red is only for errors.
   ========================================================================== */

:root {
    --bg: #ffffff;
    --bg-2: #f4f4f4;
    --ink: #111111;
    --ink-2: #2b2b2b;
    --muted: #6f6f6f;
    --rule: #e3e3e3;
    --rule-strong: #111111;
    --yellow: #f6ce53;         /* the accent: highlights, picks, new, actions */
    --on-yellow: #32290f;      /* type on yellow */
    --error: #c62a1e;          /* errors only, not decoration */
    --footer-bg: #111111;
    --footer-ink: #ffffff;
    --footer-muted: #a3a3a3;
    --footer-rule: #333333;

    --sans: var(--gh-font-heading, "Schibsted Grotesk"), "Helvetica Neue", Helvetica, Arial, sans-serif;
    --serif: var(--gh-font-body, "Newsreader"), Georgia, "Times New Roman", serif;

    --gutter: clamp(16px, 3.5vw, 40px);
    --max: 1280px;
    --measure: 680px;
    --ease: cubic-bezier(.2, .7, .2, 1); /* one curve for all motion; durations: .2s hover, .35s panels, .8s images and reveals */
    --hl-w: .32em;   /* the yellow highlighter under titles on hover */
    --hl-o: -.18em;
    --photo-dim: none;
    color-scheme: light;
}

/* Dark: a designed palette, not an inversion. Soft off-white type (less glare
   than pure white), a lifted panel tone so bands and placeholders still read,
   rules that stay quiet. Yellow is unchanged; it reads even better on dark. */
html.scheme-dark {
    --bg: #121212;
    --bg-2: #1c1c1c;
    --ink: #ececea;
    --ink-2: #c8c8c4;
    --muted: #92928d;
    --rule: #2c2c2a;
    --rule-strong: #ececea;
    --footer-bg: #000000;
    --error: #ec6457;          /* lighter red so error text stays readable on dark (5.8:1) */
    --hl-w: 2px;     /* light type over a thick yellow bar is hard to read: a thin line instead */
    --hl-o: 5px;
    --photo-dim: brightness(.9);
    color-scheme: dark;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute always wins over component display rules */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern", "liga";
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Small type ------------------------------------------------------------- */
.label {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink);
}
.label a:hover { text-decoration: underline; text-underline-offset: 3px; }
.label--center { justify-content: center; }
.label__signal { display: inline-block; padding: 2px 6px; margin: -2px 0; background: var(--yellow); color: var(--on-yellow); }

.byline {
    display: flex; flex-wrap: wrap; gap: 4px 14px;
    font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted);
}
.byline span:first-child { color: var(--ink); font-weight: 600; }
.byline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline--center { justify-content: center; }

.text-link {
    font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 24px;
    background: var(--ink); color: var(--bg);
    border: 1px solid var(--ink);
    font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    white-space: nowrap;
    transition: opacity .2s var(--ease);
}
.btn:hover { opacity: 1; background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.btn--sm { height: 34px; padding: 0 16px; font-size: 11px; }

/* Masthead --------------------------------------------------------------- */
.masthead { background: var(--bg); position: relative; z-index: 40; }
.masthead__bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: 88px;
}
.masthead__left { display: flex; align-items: center; gap: 8px; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.masthead__logo {
    font-family: var(--logo); font-weight: 900;
    font-size: clamp(26px, 3.9vw, 2rem); letter-spacing: -.035em; line-height: .9;
    text-transform: lowercase;
    padding-bottom: .06em; /* optical centring: lowercase sits low */
}
.masthead__logo img { max-height: 40px; width: auto; }

.masthead__nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-strong); }
.masthead__nav-auth { display: none; }
.masthead__nav .nav {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0 32px;
    list-style: none; margin: 0; padding: 0;
}
.masthead__nav .nav a {
    display: block; padding: 14px 0 13px;
    font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.masthead__nav .nav a:hover, .masthead__nav .nav-current a { border-bottom-color: var(--ink); }

/* Icons ------------------------------------------------------------------
   One drawn set (partials/icons.hbs). A single hairline weight at every size,
   butt caps and mitred corners, colour from the text. */
:root {
    --i-stroke: 1.5;
    /* The same arrow as a mask, for CSS-only link arrows */
    --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M3.5 12h16.5M14 6l6 6-6 6'/%3E%3C/svg%3E");
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
    flex: none; display: inline-block; vertical-align: middle; overflow: visible;
    fill: none; stroke: currentColor; stroke-width: var(--i-stroke);
    stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;
}
.i--arrow-right, .i--arrow-left, .i--arrow-up, .i--arrow-down, .i--arrow-up-right { transition: transform .2s var(--ease); }
a:hover > .i--arrow-right, button:hover > .i--arrow-right { transform: translateX(3px); }
button:hover > .i--arrow-left { transform: translateX(-3px); }

.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; }
.icon-btn:hover { opacity: .6; }
/* Masthead balance: "Search" mirrors "Sign in"; a slimmer Join button so the logo leads */
.masthead__right .btn--sm { height: 30px; padding: 0 14px; }

.menu-toggle { display: none; width: 36px; height: 36px; position: relative; }
.menu-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .2s var(--ease), top .2s var(--ease); }
.menu-toggle span:first-child { top: 14px; }
.menu-toggle span:last-child { top: 21px; }
.menu-open .menu-toggle span:first-child { top: 17.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 17.5px; transform: rotate(-45deg); }

@media (max-width: 800px) {
    .masthead__bar { height: 64px; }
    .menu-toggle { display: block; }
    .hide-sm { display: none; }
    .masthead__nav { display: none; border-bottom: 1px solid var(--rule-strong); }
    .menu-open .masthead__nav { display: block; }
    .masthead__nav .nav { flex-direction: column; gap: 0; padding: 8px 0 16px; }
    .masthead__nav .nav a { padding: 14px 0; font-size: 14px; border: 0; border-bottom: 1px solid var(--rule); }
    .masthead__nav-auth { display: block; margin: 0; padding: 4px 0 24px; font-size: 15px; color: var(--muted); }
    .masthead__nav-auth a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
    .masthead { border-bottom: 1px solid var(--rule-strong); }
    .menu-open .masthead { border-bottom: 0; }
}
@media (max-width: 420px) {
    .masthead__right .btn { padding: 0 12px; }
    .masthead__logo { font-size: 24px; }
}

/* Cards ------------------------------------------------------------------ */
.card__link { display: flex; flex-direction: column; gap: 16px; }
.card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.card__link:hover .card__media img { opacity: .9; }
.card__body { display: flex; flex-direction: column; gap: 10px; }
.card__title {
    font-family: var(--sans); font-weight: 700;
    font-size: 20px; line-height: 1.22; letter-spacing: -.012em;
    text-wrap: pretty;
}
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card__excerpt {
    font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.card--lead .card__link { gap: 24px; }
.card--lead .card__media { aspect-ratio: 3 / 2; }
.card--lead .card__body { gap: 14px; align-items: flex-start; }
.card--lead .card__title {
    font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800;
    max-width: 18ch;
    text-wrap: balance;
}
.card--lead .card__excerpt { font-size: 15px; line-height: 1.55; max-width: 46ch; -webkit-line-clamp: 4; color: var(--ink-2); }

.card--mini .card__link { flex-direction: row; gap: 16px; align-items: flex-start; }
.card--mini .card__media { flex: 0 0 96px; }
.card--mini .card__body { gap: 8px; }
.card--mini .card__title { font-size: 17px; line-height: 1.28; }

/* Grids ------------------------------------------------------------------ */
.grid { display: grid; gap: 48px 32px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--4 .card__title { font-size: 18px; }
@media (max-width: 1000px) {
    .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
    .card__title, .grid--4 .card__title { font-size: 17px; }
    .card__excerpt { display: none; }
}

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

.statement { margin-top: 88px; }
.statement__inner { padding: 64px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.statement__text {
    max-width: 26ch; margin: 0 auto;
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(28px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.01em;
    text-wrap: balance;
}

.section { padding-top: 88px; }
.section__head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
    padding-top: 14px; margin-bottom: 32px;
    border-top: 2px solid var(--rule-strong);
}
.section__title {
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.1;
}
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.more-link::after, .auth__links a::after {
    content: ""; flex: none; width: 14px; height: 14px; background: currentColor;
    -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
    transition: transform .2s var(--ease);
}
.more-link:hover { opacity: .6; }
.more-link:hover::after, .auth__links a:hover::after { transform: translateX(3px); }

/* Archives: the line-up header, shared by every list page (sections, Popular,
   Library, Following, Updates, Track of the Day, Writers, Account). The title is
   set as a poster on the left; the label and a one-line dek sit on the right;
   a heavy rule closes it. */
.archive-head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    grid-template-areas: "title label" "title desc";
    grid-template-rows: 1fr auto; align-items: end; gap: 10px 48px;
    padding-top: clamp(32px, 4vw, 56px); margin-bottom: 48px; text-align: left;
}
/* The rule is drawn inside the padding so it lines up with the content below */
.archive-head::after { content: ""; grid-column: 1 / -1; height: 2px; margin-top: clamp(14px, 2vw, 26px); background: var(--ink); }
.archive-head > .label { grid-area: label; justify-self: start; margin: 0; }
.archive-head .label--center { text-align: left; }
.archive-head__title {
    grid-area: title; margin-left: -.05em;
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(64px, 11vw, 168px); line-height: .82; letter-spacing: -.065em; text-wrap: balance;
}
.archive-head__desc { grid-area: desc; margin: 0; padding-bottom: .3em; max-width: none; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 800px) {
    .archive-head { grid-template-columns: 1fr; grid-template-areas: "title" "label" "desc"; grid-template-rows: auto; gap: 12px; }
    .archive-head::after { margin-top: 12px; }
    .archive-head__title { margin-bottom: 12px; }
}
.archive-head .wrap { padding: 0; }

.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }

/* Article ---------------------------------------------------------------- */
.article__head {
    max-width: 960px; margin: 0 auto;
    padding: 64px var(--gutter) 48px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.article__title {
    margin-top: 20px;
    font-family: var(--sans); font-weight: 800;
    font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.04em;
    text-wrap: balance;
}
.article__dek {
    margin-top: 24px; max-width: 56ch;
    font-family: var(--logo); font-weight: 400;
    font-size: 16px; line-height: 1.55; color: var(--ink-2);
    text-wrap: balance;
}
.article__byline { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.article__byline a, .article__byline .avatar { flex: none; } /* the photo never squeezes into an oval when the byline wraps */
.article__byline .avatar + .avatar { margin-left: -22px; border: 2px solid var(--bg); }

.article__image { max-width: 1200px; margin: 0 auto 64px; padding: 0 var(--gutter); }
.article__image img { width: 100%; max-height: 82vh; object-fit: cover; }
figcaption {
    margin-top: 10px;
    font-family: var(--sans); font-size: 12px; line-height: 1.45; color: var(--muted); text-align: left;
}
figcaption a { text-decoration: underline; text-underline-offset: 2px; }

.article__foot { max-width: calc(var(--measure) + var(--gutter) * 2); margin: 64px auto 0; padding: 0 var(--gutter); }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.article__tags a {
    padding: 8px 12px; border: 1px solid var(--rule);
    font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.article__tags a:hover { border-color: var(--ink); }
.share {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
    padding: 18px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
    font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.share > span { margin-right: auto; color: var(--muted); }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; }
.share a:hover span, .share button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.share .copy-link.is-done { color: var(--ink); }
.section--more { padding-top: 96px; }

/* Content (Koenig) ------------------------------------------------------- */
.gh-content {
    display: grid;
    grid-template-columns:
        [full-start] minmax(var(--gutter), 1fr)
        [wide-start] minmax(0, 240px)
        [main-start] min(var(--measure), calc(100% - var(--gutter) * 2)) [main-end]
        minmax(0, 240px) [wide-end]
        minmax(var(--gutter), 1fr) [full-end];
    font-family: var(--serif);
    font-size: 20px; line-height: 1.6;
    color: var(--ink-2);
}
.gh-content > * { grid-column: main; }
.gh-content > * + * { margin-top: 1.4em; }
.gh-content > .kg-width-wide { grid-column: wide; }
.gh-content > .kg-width-full { grid-column: full; }
.gh-content > .kg-width-full img { width: 100%; }
.gh-content > .kg-width-wide, .gh-content > .kg-width-full { margin-top: 2.4em; margin-bottom: 1em; }

.gh-content a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content a:hover { text-decoration-thickness: 2px; }
.gh-content strong { font-weight: 600; color: var(--ink); }
.gh-content h2, .gh-content h3, .gh-content h4 { font-family: var(--sans); color: var(--ink); line-height: 1.2; }
.gh-content h2 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin-top: 2em; }
.gh-content h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; margin-top: 1.8em; }
.gh-content h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 2em; }
.gh-content h2 + *, .gh-content h3 + *, .gh-content h4 + * { margin-top: .6em; }
.gh-content ul, .gh-content ol { padding-left: 1.2em; }
.gh-content li + li { margin-top: .4em; }

.gh-content hr {
    width: 64px; height: 0; margin: 3em auto; border: 0; border-top: 1px solid var(--rule-strong);
}

.gh-content blockquote:not([class]) {
    margin: 2em 0; padding-left: 24px;
    border-left: 2px solid var(--ink);
    font-style: italic; color: var(--ink);
}
.gh-content blockquote.kg-blockquote-alt {
    margin: 2.2em 0; padding: 36px 0; border: 0;
    border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -.01em;
    color: var(--ink); text-align: center; text-wrap: balance;
}

.gh-content code { font-size: .82em; background: var(--bg-2); padding: .15em .35em; }
.gh-content pre { background: var(--bg-2); padding: 20px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
.gh-content pre code { background: none; padding: 0; }

.gh-content .kg-bookmark-card a { text-decoration: none; }
.gh-content .kg-bookmark-container { border-radius: 0 !important; border: 1px solid var(--rule) !important; box-shadow: none !important; color: var(--ink) !important; font-family: var(--sans); }
.gh-content .kg-callout-card { border-radius: 0; font-family: var(--sans); font-size: .9em; }
.gh-content .kg-button-card a.kg-btn, .gh-content .kg-product-card a.kg-product-card-button { border-radius: 0; text-decoration: none; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; }
.gh-content .kg-image-card img, .gh-content .kg-gallery-image img { border-radius: 0; }
.gh-content .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.gh-content .kg-audio-card, .gh-content .kg-file-card-container, .gh-content .kg-toggle-card, .gh-content .kg-header-card { border-radius: 0; }
.gh-content .kg-header-card h2 { margin-top: 0; }

/* Footer -----------------------------------------------------------------
   White, like the page. Opens on the 2px ink rule used by every header, then
   the newsletter as a line-up (poster title left, dek and form right), then
   link columns, then a hairline legal row. Yellow only on hover. */
.site-footer { margin-top: clamp(80px, 9vw, 128px); background: var(--bg); color: var(--ink); }
.site-footer .wrap > :first-child { border-top: 2px solid var(--ink); }

.newsletter {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 24px 64px;
    padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule);
}
.newsletter__title { margin: 0 0 0 -.05em; font-size: clamp(52px, 8vw, 120px); font-weight: 800; letter-spacing: -.065em; line-height: .85; text-wrap: balance; }
.newsletter__side { display: grid; gap: 12px; }
.newsletter__side .label { margin: 0; }
.newsletter__desc { margin: 0; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.subscribe-form { display: flex; flex-wrap: wrap; margin-top: 8px; }
.subscribe-form input {
    flex: 1 1 200px; min-width: 0; height: 48px; padding: 0;
    background: transparent; color: var(--ink);
    border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
    font: inherit; font-family: var(--logo); font-size: 17px; font-weight: 600;
}
.subscribe-form input::placeholder { color: var(--muted); font-weight: 500; }
.subscribe-form input:focus { outline: none; box-shadow: 0 2px 0 var(--ink); } /* rule thickens on focus */
.subscribe-form .btn { height: 48px; padding: 0 22px; }
.subscribe-form .btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); opacity: 1; }
.subscribe-form .loading, .subscribe-form .success { display: none; }
.subscribe-form.loading .default, .subscribe-form.success .default { display: none; }
.subscribe-form.loading .loading, .subscribe-form.success .success { display: inline; }
.form-error { flex-basis: 100%; margin-top: 10px; font-size: 14px; color: var(--error); }
.form-error:empty { display: none; }

.footer-main {
    display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px;
    padding: clamp(40px, 5vw, 56px) 0;
}
.footer-brand { display: grid; align-content: start; gap: 20px; }
.footer-brand__line { margin: 0; max-width: 30ch; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.footer-col__head { margin: 0 0 16px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-col .nav { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
/* Sections lists only the subject sections; About, Writers and Popular sit under Explore */
.footer-col :is(.nav-home, .nav-about, .nav-writers, .nav-popular) { display: none; }
.footer-col a { font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.footer-col a:hover { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.footer-legal .nav { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-legal {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
    padding: 20px 0 32px; border-top: 1px solid var(--rule);
    font-size: 12px; color: var(--muted);
}
.footer-legal p { margin: 0; }
.footer-legal a { font-size: 12px; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
    .newsletter { grid-template-columns: 1fr; align-items: start; }
    .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
}
@media (max-width: 560px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
    .subscribe-form .btn { width: 100%; margin-top: 12px; }
    .subscribe-form input { flex-basis: 100%; }
}

/* Pager ------------------------------------------------------------------ */
.pager {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
    margin-top: 72px;
}
/* Drawn inside the gutter so the rule lines up with the grid above */
.pager::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 4px; background: var(--rule); }
.pager > :last-child { justify-self: end; }
.pager__count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Error ------------------------------------------------------------------ */
.error-page { padding-top: 96px; text-align: center; }
.error-page__code { font-weight: 900; font-size: clamp(96px, 16vw, 200px); line-height: 1; letter-spacing: -.05em; }
.error-page__msg { margin: 16px 0 32px; font-family: var(--logo); font-weight: 400; font-size: 15px; color: var(--ink-2); }

/* Wide and full-width images fill their column */
.gh-content .kg-width-wide img, .gh-content .kg-width-full img { width: 100%; }
.gh-content .kg-image-card img { margin: 0 auto; }

/* Sections with exactly two stories: two wide columns */

@media (max-width: 800px) {
    .card--lead .card__excerpt { display: -webkit-box; }
}
@media (max-width: 600px) {
    .article__byline { flex-direction: column; gap: 10px; }
    /* Left-aligned headers keep the photo beside the byline, not centred above it */
    :is(.aopen__by, .theater__side, .cine, .listen) .article__byline { flex-direction: row; align-items: center; gap: 12px; }
}



/* ==========================================================================
   Interactions: like, save, follow, library
   ========================================================================== */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.article__foot .actions { justify-content: flex-start; margin: 0 0 32px; }

.action {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 16px;
    border: 1px solid var(--rule);
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.action:hover { border-color: var(--ink); }
.action svg { flex: none; }
.action[aria-pressed="true"] { --icon-fill: currentColor; border-color: var(--ink); }
.action[data-action="like"][aria-pressed="true"] { --icon-fill: var(--yellow); color: var(--ink); border-color: var(--ink); }
.action__count { font-variant-numeric: tabular-nums; color: var(--muted); }
.action__count:empty { display: none; }
.action[aria-pressed="true"] .action__count { color: inherit; }
.action[aria-pressed="true"] svg { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .action[aria-pressed="true"] svg { animation: none; } }

.follow-btn {
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 108px; height: 36px; padding: 0 16px;
    border: 1px solid var(--ink);
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.follow-btn { gap: 8px; }
.follow-btn .i--check, .follow-btn[aria-pressed="true"] .i--plus { display: none; }
.follow-btn[aria-pressed="true"] .i--check { display: inline-block; }
.follow-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.follow-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.follow-btn[aria-pressed="true"]:hover { background: transparent; color: var(--ink); }
@media (max-width: 520px) {
    .share { gap: 10px 24px; }
    .share > span { flex-basis: 100%; }
}

.avatar--md { width: 56px; height: 56px; }
.avatar--blank { display: grid; place-items: center; font-weight: 800; font-size: 20px; }

/* Library */
/* Tabs, period and subject filters all mark the choice the same way: a yellow chip */
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.tabs__tab {
    padding: 2px 0;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    transition: color .2s var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { padding: 2px 8px; background: var(--yellow); color: var(--on-yellow); }

.library .archive-head { margin-bottom: 32px; }
.empty { grid-column: 1 / -1; max-width: 46ch; margin: 24px 0; text-align: left; font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--muted); }
.empty strong { color: var(--ink); font-weight: 500; }

.following { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.following:empty { display: none; }
.following__row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.following__text { flex: 1; min-width: 0; }
.following__name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.following__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.following__meta { margin-top: 2px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.following + .empty + [data-feed-wrap] { margin-top: 64px; }
[data-feed-wrap] { margin-top: 64px; }
@media (max-width: 800px) { .following { grid-template-columns: 1fr; } }

.library-gate { text-align: left; }
.library-gate > p { max-width: 46ch; }
.library-gate p { font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.library-gate__actions { display: flex; justify-content: flex-start; align-items: center; gap: 24px; margin-top: 28px; }
.share button { font: inherit; letter-spacing: inherit; text-transform: inherit; }

/* ==========================================================================
   Writers, popularity, profiles
   ========================================================================== */
.follow-btn--sm { min-width: 96px; height: 32px; padding: 0 12px; font-size: 10px; }

/* Sort / period toggles */
.sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.sortbar button {
    padding: 2px 0;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    transition: color .2s var(--ease);
}
.sortbar button:hover { color: var(--ink); }
.sortbar button[aria-pressed="true"] { padding: 2px 8px; background: var(--yellow); color: var(--on-yellow); }
.writers + .sortbar { justify-content: center; margin-bottom: 40px; }
.section__head--tabs { align-items: center; flex-wrap: wrap; }

/* Initial block for writers without a photo */
.writer__initial {
    display: grid; place-items: center; width: 100%; height: 100%;
    background: var(--ink); color: var(--bg);
    font-weight: 900; font-size: 0; letter-spacing: -.04em;
}
.writer__initial::first-letter { font-size: 64px; }

/* Directory: profile cards. Circular portraits, the site's label/headline/
   serif rhythm, numbers set like a social profile. */

/* Writers: the line-up ------------------------------------------------------
   Read like a festival poster: names set large with the portrait inline, numbered,
   one rhythm per row. Hover floods the row yellow and brings the portrait to colour. */
.roster-head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: end; gap: 24px 48px;
    padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 36px);
}
.roster-head__title {
    margin-left: -.05em;
    font-size: clamp(72px, 13vw, 200px); font-weight: 800; letter-spacing: -.065em; line-height: .78;
}
.roster-head__side { display: grid; gap: 10px; padding-bottom: .4em; }
.roster-head__desc { font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.roster-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
    padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.roster-subjects:empty { display: none; }
.roster-find {
    display: flex; align-items: center; gap: 10px; width: min(100%, 260px); margin-left: auto;
    padding: 6px 0; border-bottom: 1px solid var(--rule); color: var(--muted);
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.roster-find:focus-within { border-color: var(--ink); color: var(--ink); }
.roster-find input { flex: 1; min-width: 0; padding: 0; border: 0; background: none; outline: none; font-family: var(--sans); font-size: 15px; color: var(--ink); }
.roster-find input::placeholder { color: var(--muted); }
.writers__none { padding: 48px 0; text-align: center; font-family: var(--logo); font-size: 15px; color: var(--muted); }

.writers { counter-reset: writer; }
.writer {
    counter-increment: writer;
    position: relative; display: grid; align-items: start; column-gap: clamp(20px, 3vw, 40px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px) 112px;
    padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--rule);
    transition: background-color .35s var(--ease);
}
.writer[hidden] { display: none; }
/* The yellow flood runs edge to edge of the column, a little past the text */
.writer::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: var(--yellow); opacity: 0; transition: opacity .35s var(--ease); }
.writers { position: relative; z-index: 0; }
.writer:hover::before, .writer:focus-within::before { opacity: 1; }
.writer:hover, .writer:focus-within { border-bottom-color: transparent; }

.writer__num { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.writer__num::before { content: counter(writer, decimal-leading-zero); }
.writer:hover .writer__num, .writer:focus-within .writer__num { color: var(--on-yellow); }

.writer__main { min-width: 0; }
.writer__name { font-size: clamp(36px, 5.2vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: .95; text-wrap: balance; }
.writer__name a { display: inline; }
.writer__name a:hover { text-decoration: none; }
.writer__face {
    display: inline-block; width: .78em; height: .78em; margin-right: .16em; vertical-align: -.06em;
    border-radius: 50%; overflow: hidden; background: var(--bg-2);
}
.writer__face img, .writer__face .writer__initial { display: grid; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s var(--ease); }
.writer__face .writer__initial { place-items: center; font-size: .5em; letter-spacing: 0; }
.writer__face .writer__initial::first-letter { font-size: inherit; }
.writer:hover .writer__face img, .writer:focus-within .writer__face img { filter: none; }
.writer:hover .writer__name, .writer:focus-within .writer__name { color: var(--on-yellow); }

.writer__meta { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.writer__meta span:empty { display: none; }
.writer__city:not(:empty) + .writer__nums::before { content: "·"; margin: 0 8px; }
.writer__nums span:not(:empty) ~ span:not(:empty)::before { content: "·"; margin: 0 8px; }
.writer:hover .writer__meta, .writer:focus-within .writer__meta { color: var(--on-yellow); }

.writer__aside { display: grid; gap: 14px; padding-top: 28px; min-width: 0; }
.writer__bio {
    font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.writer__latest { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--rule); }
.writer__latest-label { font-size: 12px; color: var(--muted); }
.writer__latest-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.writer__latest:hover .writer__latest-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.writer:hover :is(.writer__bio, .writer__latest-label, .writer__latest-title),
.writer:focus-within :is(.writer__bio, .writer__latest-label, .writer__latest-title) { color: var(--on-yellow); }
.writer:hover .writer__latest, .writer:focus-within .writer__latest { border-top-color: color-mix(in srgb, var(--on-yellow) 25%, transparent); }

.writer__foot { display: flex; justify-content: flex-end; padding-top: 28px; }
.writer__foot .follow-btn { height: 34px; }
.writer:hover .follow-btn, .writer:focus-within .follow-btn { border-color: var(--on-yellow); color: var(--on-yellow); }
.writer:hover .follow-btn:hover, .writer .follow-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

@media (max-width: 1000px) {
    .writer { grid-template-columns: minmax(0, 1fr) auto; row-gap: 16px; }
    .writer__aside { grid-column: 1 / 2; grid-row: 2; padding-top: 0; max-width: 56ch; }
    .writer__foot { grid-column: 2; grid-row: 1; }
}
@media (max-width: 700px) {
    .roster-head { grid-template-columns: 1fr; }
    .roster-head__side { padding-bottom: 0; }
    .roster-find { width: 100%; }
    .roster-subjects { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .roster-subjects button { flex: none; }
    .writer { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 0; }
    .writer::before { inset: 0 calc(-1 * var(--gutter)); }
    .writer__main { grid-column: 1; grid-row: 1; }
    .writer__foot { grid-column: 2; grid-row: 1; padding-top: 24px; }
    .writer__aside { grid-column: 1 / -1; grid-row: 2; }
    .writer__bio { -webkit-line-clamp: 2; }
    .writer__name { font-size: clamp(34px, 10vw, 44px); }
}

.writer__city, .writer__nums > span { white-space: nowrap; }

/* Homepage strip */

/* Profile: a writer's page, set like a social profile over a timeline, in the
   line-up's voice: the name as a poster headline, numbers set large, a heavy rule. */
.profile {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: start;
    padding-top: 64px;
}
.profile::after { content: ""; grid-column: 1 / -1; height: 2px; margin-top: 24px; background: var(--ink); }
.article[data-format="status"] .talk__join-tip { display: none; }
.profile__avatar {
    width: 176px; height: 176px; border-radius: 50%; overflow: hidden;
}
.profile__avatar img, .profile__avatar .writer__initial { display: grid; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg-2); filter: grayscale(1); transition: filter .8s var(--ease); }
.profile__avatar:hover img { filter: none; }
.profile__avatar .writer__initial::first-letter { font-size: 64px; }
.profile__main { display: flex; flex-direction: column; align-items: flex-start; padding-top: 4px; }
.profile__where { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.profile__name { margin-top: 16px; margin-left: -.04em; font-size: clamp(56px, 8vw, 128px); font-weight: 800; letter-spacing: -.055em; line-height: .88; text-wrap: balance; }
.profile__handle { margin-top: 16px; font-size: 15px; color: var(--muted); }
.profile__bio { margin-top: 18px; max-width: 52ch; font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.profile__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.profile__links:empty { display: none; }
.profile__links a { display: inline-flex; align-items: center; gap: 8px; }
.profile__links a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.profile__side { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; padding-top: 4px; }
.profile__stats { display: grid; grid-auto-flow: column; margin: 0; }
.profile__stats div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 0 24px; border-left: 1px solid var(--rule); }
.profile__stats div:first-child { padding-left: 0; border-left: 0; }
.profile__stats div:last-of-type { padding-right: 0; }
.profile__stats dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.profile__stats dd { margin: 0; margin-left: -.04em; font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: .8; font-variant-numeric: tabular-nums; }

/* Timeline + side column */
.profile-layout {
    display: grid; grid-template-columns: minmax(0, 680px) minmax(240px, 320px);
    justify-content: space-between; gap: 64px; padding-top: 8px;
}
.profile-feed { min-width: 0; }
.profile-tabs { position: sticky; top: 48px; z-index: 4; display: flex; align-items: center; gap: 24px; padding: 16px 0; background: var(--bg); border-bottom: 1px solid var(--rule); }
.profile-tabs button {
    padding: 2px 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    transition: color .2s var(--ease);
}
.profile-tabs button:hover { color: var(--ink); }
.profile-tabs button[aria-selected="true"] { padding: 2px 8px; background: var(--yellow); color: var(--on-yellow); }
.feed[data-show="story"] > .feed-item:not([data-kind="story"]),
.feed[data-show="status"] > .feed-item:not([data-kind="status"]) { display: none; }

.profile-aside { display: flex; flex-direction: column; gap: 48px; padding-top: 0; }
.profile-aside__title { padding: 16px 0; margin-bottom: 4px; border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
/* The header's heavy rule already sits over the first block; later blocks get their own */
.profile-aside__block:not([hidden]) ~ .profile-aside__block .profile-aside__title { border-top: 2px solid var(--ink); }
.profile-aside .ranked__item { padding: 16px 0; }
.profile-aside .ranked__num { flex-basis: 40px; font-size: 36px; letter-spacing: -.05em; }
.profile-aside .ranked__title { font-size: 16px; }
.profile-beats { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.profile-beats a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--rule);
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.profile-beats a span { font-weight: 500; color: var(--muted); }
.profile-beats a:hover { border-color: var(--yellow); background: var(--yellow); color: var(--on-yellow); }
.profile-beats a:hover span { color: var(--on-yellow); }

/* Timeline entries (profile + Following feed) */
.feed-item__head .avatar { width: 44px; height: 44px; }
.feed-item__meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.feed-item__meta > * + *::before { content: "·"; margin: 0 6px; }
.feed-item__meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.feed-item__status { padding-left: 56px; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink); }
.feed-item__status p + p { margin-top: .6em; }
.feed-item__status a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }
.feed-item--status .feed-item__head { margin-bottom: 8px; }
.feed-item__card { display: block; margin-left: 56px; border: 1px solid var(--rule); transition: border-color .2s var(--ease); }
.feed-item__card:hover { border-color: var(--ink); }
.feed-item__card .feed-item__media { aspect-ratio: 16 / 9; }
.feed-item__card .feed-item__body { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 20px 24px 24px; }
.feed-item__card .feed-item__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.feed-item__card:hover .feed-item__title { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.feed-item__card .feed-item__dek { margin: 0; }
.feed-item__read { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.feed-item__foot { display: flex; align-items: center; gap: 6px; margin: 14px 0 0 50px; }
.feed-item__spacer { flex: 1; }
.feed-act {
    display: inline-flex; align-items: center; gap: 8px; min-width: 40px; height: 36px; padding: 0 8px;
    font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted);
    transition: color .2s var(--ease);
}
.feed-act:hover { color: var(--ink); }
.feed-act[aria-pressed="true"] { --icon-fill: var(--yellow); color: var(--ink); }
.feed-act[aria-pressed="true"] .i { animation: pop .3s ease; }
.feed-act.is-done { color: var(--ink); }
.feed-act--quiet span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.feed-item.is-just-posted { animation: pill-in .35s ease; }

/* The writer's composer */
.profile-compose { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.status-compose { display: flex; align-items: flex-start; gap: 12px; }
.status-compose > .avatar { flex: none; width: 44px; height: 44px; }
.status-compose__field { flex: 1; min-width: 0; }
.status-compose textarea {
    display: block; width: 100%; min-height: 48px; padding: 8px 0; border: 0; resize: none; background: none; outline: none;
    font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink);
}
.status-compose textarea::placeholder { color: var(--muted); }
.status-compose__bar { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid var(--rule); transition: border-color .2s var(--ease); }
.status-compose.is-active .status-compose__bar { border-top-color: var(--ink); }
.status-compose__note { flex: 1; font-size: 12px; color: var(--muted); }
.status-compose__count { position: relative; display: grid; place-items: center; width: 22px; height: 22px; font-size: 10px; font-weight: 700; color: var(--muted); }
.status-compose__count svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.status-compose__count circle { fill: none; stroke-width: 1.5; }
.status-compose__count .ring-bg { stroke: var(--rule); }
.status-compose__count .ring { stroke: var(--ink); transition: stroke-dashoffset .2s var(--ease); }
.status-compose__count.is-near { color: var(--ink); }
.status-compose__count.is-near .ring { stroke: #b36b00; }
.status-compose__count.is-over, .status-compose__count.is-over .ring { color: var(--error); stroke: var(--error); }
.status-compose__count [data-left] { position: relative; }
.status-compose__count.is-near, .status-compose__count.is-over { width: 30px; }
.status-compose .btn:disabled { opacity: .35; cursor: default; }
.status-compose__error { margin-top: 10px; font-size: 13px; color: var(--error); }

/* An update on its own page */
.status-page { max-width: calc(var(--measure) + var(--gutter) * 2); margin: 0 auto; padding: 72px var(--gutter) 8px; }
.status-page__who { display: inline-flex; align-items: center; gap: 14px; }
.status-page__who .avatar { width: 56px; height: 56px; }
.status-page__who > span { display: grid; gap: 2px; }
.status-page__name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.status-page__who:hover .status-page__name { text-decoration: underline; text-underline-offset: 3px; }
.status-page__handle { font-size: 14px; color: var(--muted); }
.status-page__text { margin-top: 28px; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.38; letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.status-page__text p + p { margin-top: .5em; }
.status-page__text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.status-page__meta { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.status-page__meta .label { color: var(--ink); }
.article[data-format="status"] .article__foot { margin-top: 24px; }
.status-page__all { margin-left: auto; font-size: 11px; }
.updates { max-width: calc(680px + var(--gutter) * 2); }

@media (max-width: 1000px) {
    .profile { grid-template-columns: auto minmax(0, 1fr); }
    .profile__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: flex-end; padding-top: 24px; border-top: 1px solid var(--rule); }
    .profile-aside { padding-top: 64px; }
    .profile-aside .profile-aside__title { border-top: 2px solid var(--ink); }
    .profile-layout { grid-template-columns: 1fr; gap: 0; }
    .profile-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 700px) {
    .profile { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; padding-top: 36px; }
    .profile__avatar { width: 120px; height: 120px; }
    .profile__main { align-items: center; padding-top: 0; }
    .profile__name { margin-left: 0; font-size: clamp(44px, 13vw, 60px); }
    .profile__bio { font-size: 15px; }
    .profile__links { justify-content: center; }
    .profile__side { flex-direction: column; align-items: center; gap: 20px; width: 100%; }
    .profile__stats div { padding: 0 16px; align-items: center; }
    .profile__stats dd { margin-left: 0; font-size: 36px; }
    .profile-tabs { top: 0; justify-content: center; }
    .profile-aside { grid-template-columns: 1fr; }
    .feed-item__status, .feed-item__card { margin-left: 0; padding-left: 0; }
    .feed-item__foot { margin-left: -8px; }
    .status-page { padding-top: 40px; }
}

/* Ranked stories */
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked[aria-busy="true"] { opacity: .4; transition: opacity .2s var(--ease); }
.ranked__item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.ranked__item:first-child { padding-top: 6px; }
.ranked__num {
    flex: 0 0 44px;
    font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: .9;
    font-variant-numeric: tabular-nums;
}
.ranked__link { flex: 1; display: flex; gap: 20px; min-width: 0; }
.ranked__media { flex: 0 0 120px; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.ranked__media img { width: 100%; height: 100%; object-fit: cover; }
.ranked__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ranked__title { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.22; text-wrap: pretty; }
.ranked__link:hover .ranked__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ranked__stats { color: var(--muted); }

/* Ranked row (homepage + profile) */
.ranked--row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.ranked--row .ranked__item { flex-direction: column; gap: 14px; padding: 0; border: 0; }
.ranked--row .ranked__item:first-child { padding-top: 0; }
.ranked--row .ranked__num { flex: none; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 48px; }
.ranked--row .ranked__link { flex-direction: column; gap: 14px; }
.ranked--row .ranked__media { flex: none; width: 100%; aspect-ratio: 3 / 2; }
.ranked--row .ranked__title { font-size: 18px; }
@media (max-width: 1000px) { .ranked--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .ranked--row { grid-template-columns: 1fr; gap: 0; }
    .ranked--row .ranked__item { flex-direction: row; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
    .ranked--row .ranked__num { flex: 0 0 40px; border: 0; padding: 0; font-size: 34px; }
    .ranked--row .ranked__media { display: none; }
    .ranked__media { flex-basis: 84px; }
    .ranked__title { font-size: 18px; }
}

/* Popular page */
.popular { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ranked-writers { list-style: none; margin: 0; padding: 0; }
.ranked-writers__item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ranked-writers__item .ranked__num { flex: 0 0 32px; font-size: 26px; }
.ranked-writers__text { flex: 1; min-width: 0; }
.ranked-writers__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ranked-writers__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.ranked-writers__meta { margin-top: 2px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.empty--left { text-align: left; margin-left: 0; }
@media (max-width: 1000px) { .popular { grid-template-columns: 1fr; gap: 24px; } }

/* ==========================================================================
   Media-first layer: covers, formats, embeds, reel, lightbox, reveal
   ========================================================================== */

/* Dark scope (theatre, cinematic heroes, photo essays, bands) */
.is-dark {
    --bg: #0c0c0c;
    --bg-2: #1a1a1a;
    --ink: #f3f3f3;
    --ink-2: #cfcfcf;
    --muted: #8f8f8f;
    --rule: #2b2b2b;
    --rule-strong: #f3f3f3;
    background: var(--bg);
    color: var(--ink);
}
.is-dark .follow-btn, .is-dark .action { border-color: #444; }
.is-dark .action:hover { border-color: var(--ink); }

.label__format { display: inline-block; padding: 1px 5px; margin: -2px 0; border: 1px solid currentColor; color: var(--ink); }

/* Wider "wide" column for images, galleries and video */
.gh-content {
    grid-template-columns:
        [full-start] minmax(var(--gutter), 1fr)
        [wide-start] minmax(0, 300px)
        [main-start] min(var(--measure), calc(100% - var(--gutter) * 2)) [main-end]
        minmax(0, 300px) [wide-end]
        minmax(var(--gutter), 1fr) [full-end];
}
.gh-content > .kg-gallery-card { grid-column: wide; }
.gh-content img { cursor: zoom-in; }
.gh-content a img { cursor: pointer; }

/* Video + audio embeds */
.gh-content > .kg-embed-card:has(iframe[src*="youtube"]),
.gh-content > .kg-embed-card:has(iframe[src*="vimeo"]),
.gh-content > .kg-video-card { grid-column: wide; }
.gh-content iframe[src*="youtube"], .gh-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.gh-content iframe[src*="spotify"], .gh-content iframe[src*="soundcloud"], .gh-content iframe[src*="bandcamp"] { width: 100%; }
.gh-content .kg-video-card, .gh-content .kg-video-container { border-radius: 0; }
.gh-content .kg-audio-card {
    border: 1px solid var(--rule-strong) !important; box-shadow: none !important; border-radius: 0 !important;
    font-family: var(--sans);
}
.gh-content .kg-audio-thumbnail { border-radius: 0 !important; }

/* Standard opener: a split spread. Words on one side, the picture at its
   true shape on the other (never cropped). Stacks on narrower screens. */

.feature { margin: 0 auto; width: fit-content; max-width: 100%; min-width: 0; }
.feature__media { position: relative; cursor: zoom-in; }
.feature__media img {
    display: block; width: auto; max-width: 100%; height: auto;
    max-height: min(calc(100svh - 150px), 900px);
    outline: 1px solid transparent; outline-offset: 0;
    transition: outline-color .35s var(--ease), outline-offset .35s var(--ease);
}
.feature__media:hover img, .feature__media img:focus-visible { outline-color: var(--ink); outline-offset: 8px; }
.feature__media img:focus-visible { outline-width: 2px; }
.feature__expand {
    position: absolute; right: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; background: var(--bg); color: var(--ink);
    font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
    pointer-events: none; opacity: 0; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.feature__media:hover .feature__expand, .feature__media:focus-within .feature__expand { opacity: 1; transform: none; }
@media (hover: none) { .feature__expand { opacity: 1; transform: none; } }

/* The rail never widens the figure: it takes the picture's width. */
.feature__rail {
    contain: inline-size;
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px;
    margin-top: 14px;
}
.feature__caption { flex: 1 1 260px; }
.feature__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.feature__thumbs { display: flex; gap: 6px; }
.feature__thumbs:empty { display: none; }
.feature__thumb { position: relative; width: 44px; height: 44px; padding: 0; overflow: hidden; background: var(--bg-2); }
.feature__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s var(--ease), transform .35s var(--ease); }
.feature__thumb:hover img { opacity: 1; transform: scale(1.06); }
.feature__thumb span {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(17,17,17,.55); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700;
}
.feature__open {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
    font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
    border-bottom: 1px solid var(--ink); white-space: nowrap;
}
.feature__open svg { transition: transform .2s var(--ease); }
.feature__open:hover svg { transform: translateX(3px); }

@media (min-width: 1000px) {
    .feature__media img { max-height: min(calc(100svh - 190px), 860px); }
}
.article__head .actions { margin-top: 28px; }

/* Cinematic hero */
.cine { position: relative; min-height: min(100svh, 1100px); display: flex; align-items: flex-end; overflow: hidden; }
.cine__media { position: absolute; inset: 0; }
.cine__media img { width: 100%; height: 100%; object-fit: cover; }
.cine__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%);
}
.cine__text { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vh, 96px); color: #fff; }
.cine__title {
    margin-top: 18px; max-width: 16ch;
    font-size: clamp(44px, 7.4vw, 112px); font-weight: 800; line-height: .96; letter-spacing: -.045em;
    text-wrap: balance;
}
.cine__dek { margin-top: 24px; max-width: 56ch; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.86); }
.cine .article__byline { justify-content: flex-start; margin-top: 28px; }
.cine .byline, .cine .byline span:first-child { color: rgba(255,255,255,.9); }
.cine .label, .cine .label a { color: #fff; }
.cine__cue {
    position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px); z-index: 1;
    display: grid; place-items: center; width: 52px; height: 52px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.cine__cue:hover { background: #fff; color: #000; }
.cine__caption { margin-top: 12px; font-size: 12px; color: var(--muted); }
.cine__caption a { text-decoration: underline; }
.actions-row { max-width: calc(var(--measure) + var(--gutter) * 2); }
.actions-row .actions { justify-content: flex-start; margin: 40px 0 48px; }
.article[data-format="cinematic"] .gh-content > p:first-of-type { margin-top: 0; }
@media (max-width: 700px) { .cine__cue { display: none; } }

/* Video: theatre */
.theater { padding-bottom: 56px; }
/* Pure black, like the video's own letterbox, so the stage and the band read as one surface */
.is-dark.theater, html.scheme-dark .is-dark.theater { --bg: #000; }
.theater__stage { max-width: 1440px; margin: 0 auto; background: #000; }
.theater__stage > figure, .theater__stage > .kg-card { margin: 0; }
.theater__stage iframe, .theater__stage video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Never taller than the screen (phones held sideways, short laptops): narrow it and centre it on the black stage */
.theater__stage iframe, .theater__stage video, .theater__poster { --theater-room: 72px; max-width: calc((100vh - var(--theater-room)) * 16 / 9); max-width: calc((100svh - var(--theater-room)) * 16 / 9); margin-inline: auto; }
/* Laptops: the full masthead (136px) sits above the video, so the whole picture fits on the first screen */
@media (min-width: 801px) and (min-height: 500px) { .theater__stage iframe, .theater__stage video, .theater__poster { --theater-room: 152px; } }
.theater__stage .kg-video-card { max-width: none; }
.theater__poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.theater__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.theater__meta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 64px; padding-top: 40px; align-items: end; }
.theater__title { margin-top: 16px; font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.theater__dek { margin-top: 18px; max-width: 56ch; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.theater__side .article__byline { justify-content: flex-start; margin-top: 0; }
.theater__side .actions { justify-content: flex-start; margin-top: 20px; }
.article[data-format="video"] .gh-content { padding-top: 64px; }
@media (max-width: 900px) { .theater__meta { grid-template-columns: 1fr; } }

/* Listen: album-style */
.listen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.listen__cover { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.listen__cover img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.listen__blank { display: block; width: 100%; height: 100%; background: var(--ink); }
.listen__title { margin-top: 16px; font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.listen__dek { margin-top: 18px; max-width: 52ch; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.listen__player { margin-top: 28px; }
.listen__player:empty { display: none; }
.listen__player > * { margin: 0; }
.listen__player iframe { width: 100%; border: 0; }
.listen .article__byline { justify-content: flex-start; margin-top: 28px; }
.listen .actions { justify-content: flex-start; }
@media (max-width: 900px) { .listen { grid-template-columns: 1fr; gap: 32px; } .listen__cover { max-width: 480px; } }

/* Photo essay: immersive dark page, images go wide or full */
.article[data-format="photo"] {
    --bg: #0c0c0c; --bg-2: #1a1a1a; --ink: #f3f3f3; --ink-2: #cfcfcf; --muted: #8f8f8f; --rule: #2b2b2b; --rule-strong: #f3f3f3;
    background: var(--bg); color: var(--ink); padding-bottom: 96px;
}
.article[data-format="photo"] .gh-content > .kg-image-card:not(.kg-width-full) { grid-column: wide; }
.article[data-format="photo"] .gh-content > .kg-image-card,
.article[data-format="photo"] .gh-content > .kg-gallery-card { margin-top: 3.2em; margin-bottom: 1.6em; }
.article[data-format="photo"] .gh-content > .kg-gallery-card { grid-column: full; padding: 0 var(--gutter); }
.article[data-format="photo"] .gh-content img { width: 100%; }
.article[data-format="photo"] .article__foot { color: var(--ink); }
.article[data-format="photo"] + .section--more { padding-top: 96px; }

/* Homepage cover */
.section--first { padding-top: 56px; }

/* Wider imagery in 3-up sections */

/* Bands */
.band { margin-top: 96px; padding: 72px 0 88px; }
.band .section__head { border-top-color: var(--ink); }

/* Media cards (video / listen) */
.media-card__link { display: flex; flex-direction: column; gap: 16px; }
.media-card__media { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 9; }
.media-card--listen .media-card__media { aspect-ratio: 1; }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .35s var(--ease); }
.media-card__link:hover .media-card__media img { transform: scale(1.03); }
.media-card__play {
    position: absolute; left: 16px; bottom: 16px;
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: #fff; color: #000;
    transition: transform .2s var(--ease);
}
.media-card__play .i { margin-left: 1px; }
.media-card__link:hover .media-card__play { transform: scale(1.08); }
.media-card__body { display: flex; flex-direction: column; gap: 8px; }
.media-card__title { font-size: 19px; font-weight: 700; letter-spacing: -.012em; line-height: 1.22; }
.media-card__link:hover .media-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.watch { display: grid; grid-template-columns: minmax(0, 2fr) repeat(1, minmax(0, 1fr)); grid-auto-rows: auto; gap: 40px 32px; }
.watch > .media-card:first-child { grid-row: span 3; }
.watch > .media-card:first-child .media-card__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.watch > .media-card:first-child .media-card__play { width: 72px; height: 72px; left: 24px; bottom: 24px; }
.watch > .media-card:not(:first-child) .media-card__link { flex-direction: row; gap: 16px; }
.watch > .media-card:not(:first-child) .media-card__media { flex: 0 0 46%; }
.watch > .media-card:not(:first-child) .media-card__play { width: 36px; height: 36px; left: 10px; bottom: 10px; }
.watch:has(> .media-card:only-child) { grid-template-columns: 1fr; }
@media (max-width: 900px) {
    .watch { grid-template-columns: 1fr; }
    .watch > .media-card:first-child { grid-row: auto; }
}

/* In Pictures reel */
.reel-section .section__head { margin-bottom: 28px; }
.reel__controls { display: flex; gap: 8px; }
.reel__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: 50%; transition: background .2s var(--ease), color .2s var(--ease); }
.reel__btn:hover { background: var(--ink); color: var(--bg); }
.reel {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel__item { position: relative; flex: 0 0 min(42vw, 560px); aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; background: var(--bg-2); }
.reel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel__item:hover img { transform: scale(1.04); }
.reel__caption { position: absolute; inset: auto 0 0 0; padding: 72px 24px 24px; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0)); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.reel__caption .label { color: #fff; }
.reel__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
@media (max-width: 700px) { .reel__item { flex-basis: 78vw; } .reel__controls { display: none; } }

/* Lightbox: the site's own page colour (white; dark when the reader is in dark mode) */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
    background: var(--bg); color: var(--ink);
    opacity: 0; transition: opacity .2s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__bar {
    display: flex; align-items: center; gap: 16px;
    padding: 12px var(--gutter); border-bottom: 1px solid var(--rule);
    font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.lightbox__count { min-width: 6ch; color: var(--ink); }
.lightbox__hint { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.lightbox__close { margin-left: auto; }
.lightbox__stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; padding: 28px 96px; touch-action: pan-y; }
.lightbox__frame { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; overflow: hidden; }
.lightbox__img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    user-select: none; -webkit-user-drag: none;
    transition: opacity .2s var(--ease), transform .35s var(--ease);
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox.can-zoom .lightbox__img { cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__img { cursor: zoom-out; transform: scale(var(--zoom, 2)); transition: opacity .2s var(--ease), transform .35s var(--ease), transform-origin .12s linear; }
.lightbox.is-zoomed .lightbox__prev, .lightbox.is-zoomed .lightbox__next { opacity: 0; pointer-events: none; }
.lightbox__foot { display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter) 20px; }
.lightbox__caption { max-width: 72ch; min-height: 1.5em; text-align: center; font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--muted); }
.lightbox__caption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lightbox__strip { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.lightbox__strip::-webkit-scrollbar { display: none; }
.lightbox__strip button { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; background: var(--bg-2); opacity: .45; transition: opacity .2s var(--ease); }
.lightbox__strip button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox__strip button:hover { opacity: .8; }
.lightbox__strip button[aria-current] { opacity: 1; outline: 1px solid var(--ink); outline-offset: 3px; }
.lightbox__btn {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); color: var(--ink);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.lightbox__btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
@media (max-width: 700px) {
    .lightbox__stage { padding: 12px 0; }
    .lightbox__prev, .lightbox__next, .lightbox__hint { display: none; }
    .lightbox__strip button { width: 48px; height: 48px; }
}
html.lightbox-open { overflow: hidden; }

/* Scroll reveal (only when JS + motion allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
/* Align the reel's first item with the page grid, then let it bleed off the right edge */
.reel {
    --reel-inset: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-left: var(--reel-inset); padding-right: var(--reel-inset);
    scroll-padding: 0 var(--reel-inset);
}

/* ==========================================================================
   Habit layer: Following feed, header badge, Track of the Day
   ========================================================================== */
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { opacity: 1; background: var(--ink); color: var(--bg); }

/* Header badge */
.following-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.badge {
    display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9px; background: var(--yellow); color: var(--on-yellow);
    font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1;
}

/* Feed page */
.feed-page { max-width: calc(760px + var(--gutter) * 2); }
.feed-writers {
    display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none;
    padding: 4px 0 28px; margin-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.feed-writers::-webkit-scrollbar { display: none; }
.feed-writer { flex: 0 0 auto; display: grid; justify-items: center; gap: 8px; width: 72px; font-size: 12px; font-weight: 600; text-align: center; color: var(--ink-2); }
.feed-writer .avatar { width: 64px; height: 64px; padding: 3px; border: 2px solid transparent; background-clip: content-box; }
.feed-writer.has-new .avatar { border-color: var(--yellow); border-width: 3px; }
.feed-writer--add .avatar { border: 1px dashed var(--muted); color: var(--muted); font-weight: 400; font-size: 24px; background: none; }
.feed-writer span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.feed__status { padding: 48px 0; text-align: center; font-family: var(--logo); font-weight: 400; font-size: 15px; color: var(--muted); }
.feed-item { padding: 36px 0 40px; border-bottom: 1px solid var(--rule); }
.feed-item__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.feed-item__head p { display: grid; gap: 2px; line-height: 1.2; }
.feed-item__author { display: inline-block; padding-block: 4px; font-size: 14px; font-weight: 700; }  /* 24px+ tap target */
.feed-item__head time { font-size: 12px; color: var(--muted); }
.feed-item__new { margin-left: auto; padding: 2px 6px; background: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-yellow); }
.feed-item__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.feed-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feed-item__media:hover img { transform: scale(1.02); }
.feed-item__body { margin-top: 20px; }
.feed-item__title { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.feed-item__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.feed-item__dek { margin-top: 12px; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.feed__caught-up {
    display: flex; align-items: center; gap: 16px; padding: 40px 0 4px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.feed__caught-up::before, .feed__caught-up::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.feed__more { display: flex; justify-content: center; padding: 40px 0 8px; }
.feed-empty__lead { max-width: 46ch; margin: 0 0 24px; text-align: left; font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.feed-empty__all { margin-top: 32px; }
.library__feed-link { margin-top: 32px; text-align: center; }

/* Track of the Day strip */
.totd {
    display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: center;
    margin-top: 40px; padding-bottom: 8px; position: relative;
}
.totd__cover { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); box-shadow: 0 18px 36px -20px rgba(0,0,0,.45); }
.totd__cover img { width: 100%; height: 100%; object-fit: cover; }
.totd .label time { color: var(--muted); }
.totd__title { margin-top: 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.totd__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.totd__note { margin-top: 8px; max-width: 58ch; font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.totd__player > * { margin: 0 !important; }
.totd__player iframe, .totd__player audio { display: block; width: 100%; border: 0; }
.totd:not(.has-player) .totd__player { justify-self: end; }
.totd__all { position: absolute; top: 0; right: var(--gutter); }
.totd.has-player .totd__all { position: static; grid-column: 3; justify-self: end; margin-top: -12px; }
.totd template { display: none; }

@media (max-width: 900px) {
    .totd { grid-template-columns: 88px minmax(0, 1fr); gap: 16px 20px; }
    .totd__player { grid-column: 1 / -1; }
    .totd:not(.has-player) .totd__player { justify-self: start; }
    .totd__all, .totd.has-player .totd__all { position: static; grid-column: 1 / -1; justify-self: start; margin-top: 0; }
}

/* ==========================================================================
   About: the word, defined, then flipped
   ========================================================================== */

/* 1. Definition */
/* White, like every other page opening: the word in ink, the yellow kept for sense 2 */
.define { padding: clamp(40px, 5vw, 72px) 0 0; }
.define__inner { display: grid; justify-items: start; }
.define__word {
    margin-top: 20px; margin-left: -.04em;
    font-size: clamp(96px, 19vw, 280px); font-weight: 800; letter-spacing: -.09em; line-height: .82;
}
.define__meta {
    display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px;
    font-size: 13px; color: var(--muted);
}
.define__ipa { font-family: var(--serif); font-size: 19px; letter-spacing: 0; color: var(--ink-2); }
.define__meta em { font-family: var(--serif); font-size: 17px; letter-spacing: 0; }
.define__senses { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 28px; max-width: 880px; counter-reset: none; }
.define__sense { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; }
.define__num { font-size: 13px; font-weight: 700; color: var(--muted); }
.define__sense p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; color: var(--ink-2); }
.define__usage { font-style: italic; color: var(--muted); }
/* in dark mode the word goes yellow, like the logo */
html.scheme-dark .define__word { color: var(--yellow); }
.define__sense--ours .define__num { justify-self: start; padding: 2px 8px; margin-left: -8px; background: var(--yellow); color: var(--on-yellow); line-height: 1.4; }
.define__sense--ours p { color: var(--ink); font-weight: 500; }
.define__origin { margin-top: 36px; max-width: 880px; width: 100%; font-size: 13px; color: var(--muted); }
.define__origin i { font-family: var(--serif); font-size: 16px; color: var(--ink-2); }

/* About sections share the Read next heading: title on a 2px rule, a note at the right */
.about-sec { margin-top: clamp(72px, 8vw, 112px); }
.about-sec .artist-sec__head { margin-bottom: 8px; }
.about-sec__note { margin: 0; padding-bottom: 4px; max-width: 340px; font-family: var(--logo); font-size: 15px; line-height: 1.5; color: var(--muted); }

/* 2. Futsek to: a compact numbered list, each line struck once with a thin yellow line */
.refuse { list-style: none; margin: 0; padding: 0; counter-reset: refuse; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.refuse li {
    counter-increment: refuse; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: baseline;
    padding: 18px 0; border-bottom: 1px solid var(--rule);
    font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; color: var(--ink);
}
.refuse li::before { content: counter(refuse, decimal-leading-zero); font-size: 13px; font-weight: 800; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
/* struck once, thin and yellow, so the words stay readable */
.refuse s { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-decoration-skip-ink: none; }

/* 4. The story: heading rows, like the account settings */
.about-body { padding-top: clamp(72px, 8vw, 112px); }
.about-body .gh-content.is-rows { display: block; }
.about-rows { border-top: 2px solid var(--ink); }
.about-row {
    display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 680px); gap: 24px 64px;
    padding: 36px 0 40px; border-bottom: 1px solid var(--rule);
}
.about-row:last-child { border-bottom: 0; }
.about-row__head h2 { margin: 0; font-family: var(--sans); font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1; text-transform: none; }
.about-row__body > * + * { margin-top: 1em; }
.about-row__body p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }
/* Rhythm: the first row opens like an essay; the middle ones sit side by side */
.about-row--lede .about-row__body > p:first-child { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.about-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-bottom: 1px solid var(--rule); }
.about-pair .about-row { grid-template-columns: 1fr; gap: 18px; align-content: start; border-bottom: 0; }
.about-pair .about-row__head h2 { font-size: clamp(26px, 2.4vw, 34px); }
.about-pair .about-row__body p { font-size: 18px; line-height: 1.6; }
/* "Who we are": a list written in Ghost ("Editor: Name") is set as a masthead */
.about-row__body ul { list-style: none; margin: 1.2em 0 0; padding: 0; border-top: 1px solid var(--rule); }
.about-row__body ul li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.4; }
.about-row__body ul li strong, .about-row__body ul li b { font-weight: 800; }

/* The photograph: the page's feature image, after the story */
.about-photo { margin-top: clamp(56px, 7vw, 96px); }
.about-photo img { width: 100%; max-height: 80vh; object-fit: cover; background: var(--bg-2); }
.about-photo__caption { margin-top: 12px; font-size: 13px; color: var(--muted); }
html.scheme-dark .about-photo img { filter: var(--photo-dim); }

/* "Who we are": the live numbers under the text */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.facts div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 0 20px; border-left: 1px solid var(--rule); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.facts dd { margin: 0 0 0 -.04em; font-family: var(--sans); font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: .85; font-variant-numeric: tabular-nums; }

/* Before JS (or without it): the plain column */
.about-body .gh-content:not(.is-rows) > h2 { margin-top: 1.8em; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-body .gh-content:not(.is-rows) > h2:first-child { margin-top: 0; }
.about-body .gh-content:not(.is-rows) > p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }

/* 4. What we cover: five sections in a row */
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 32px; }
.beats__item { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 0 4px; }
.beats__name { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.beats__name::after { content: ""; position: absolute; inset: 0; }
.beats__item:hover .beats__name { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.beats__count { font-size: 13px; font-weight: 500; color: var(--muted); }
.beats__desc { margin-top: 4px; font-family: var(--logo); font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* 5. The voices use the homepage line-up as is */
.about-sec__lineup { margin-top: 8px; }

/* 6. Work with us */
.work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.work__item { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 22px 0 4px; }
.work__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.work__text { margin: 0; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.work__email { font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.work__item .more-link, .work__email { margin-top: 4px; }

@media (max-width: 900px) {
    .define__sense { grid-template-columns: 28px minmax(0, 1fr); }
    .refuse { grid-template-columns: 1fr; }
    .beats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
    .about-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 32px; }
    .about-pair { grid-template-columns: 1fr; }
    .about-pair .about-row + .about-row { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
    .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
    .refuse li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
    .work { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Homepage type: the About page's scale, applied to the front
   Oversized grotesk headings, a quiet serif note beneath, one red accent.
   ========================================================================== */
.home-template .section { padding-top: clamp(80px, 9vw, 128px); }
.home-template .section--first { padding-top: clamp(56px, 6vw, 80px); }

/* Section heads: hairline rule, huge title, serif note, link on the baseline */
.home-template .section__head {
    align-items: flex-end; gap: 24px 40px;
    padding-top: 20px; margin-bottom: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--rule-strong);
}
.section__titles { display: grid; gap: 14px; min-width: 0; }
.home-template .section__title {
    margin-left: -.03em;
    /* Section labels sit below the stories they introduce: never larger than the lead headline */
    font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
/* Supporting text standard: the short line under a heading (section notes, deks, intros)
   is the logo font (Schibsted Grotesk) at 400, 16px / 1.55. Reading text stays serif. */
.section__note { font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--muted); }
.home-template .section__head .more-link,
.home-template .section__head .reel__controls { flex: none; margin-bottom: .35em; }

/* Cover: the headline gets the "futsek" treatment */
/* Red text vanishes on a busy photo: keep the words white, mark them with a red square */

/* Cards: tighter, heavier titles */
.home-template .card__title,
.home-template .media-card__title { font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.home-template .grid--4 .card__title { font-size: clamp(19px, 1.5vw, 22px); }

/* Most Popular: giant numerals, number one in red (like sense 2 on About) */
.home-template .ranked--row { gap: 40px 32px; }
.home-template .ranked--row .ranked__num {
    padding-bottom: 16px;
    font-size: clamp(72px, 8vw, 128px); letter-spacing: -.07em; line-height: .78;
    text-indent: -.06em; /* optical: the figures' side bearing makes them look indented (moves the glyph, not the rule) */
}
/* Number one: its rule turns into a thick yellow bar */
.home-template .ranked--row .ranked__item:first-child .ranked__num { color: var(--ink); border-bottom-color: var(--yellow); box-shadow: 0 3px 0 var(--yellow); }
.home-template .ranked--row .ranked__title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

/* Manifesto: left-aligned serif, sized like "What stays is the work." */
.home-template .statement { margin-top: clamp(80px, 9vw, 128px); }
.home-template .statement__inner {
    display: grid; justify-items: start; gap: 28px;
    padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--rule-strong); text-align: left;
}
.home-template .statement__text {
    max-width: 20ch; margin: 0;
    font-size: clamp(40px, 6.2vw, 92px); line-height: 1.0; letter-spacing: -.025em;
    text-wrap: balance;
}

/* Track of the Day + reel titles step up a notch */
.home-template .totd__title { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.045em; line-height: 1; }
.home-template .reel__title { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.04; }

@media (max-width: 700px) {
    .home-template .section__head { flex-wrap: wrap; }
    .home-template .section__head .more-link { margin-bottom: 0; }
    .home-template .ranked--row { gap: 0; }
    .home-template .ranked--row .ranked__num { flex: 0 0 50px; padding: 0; font-size: 60px; line-height: .8; }
    .home-template .ranked--row .ranked__item { padding: 24px 0; }
}

/* ==========================================================================
   Join + Sign in: photo and headline on the left, the form on the right
   ========================================================================== */
.auth { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: min(calc(100svh - 136px), 1000px); }

.auth__art {
    /* Fills the row beside the form and scrolls with it (pinning it fought the sticky header) */
    position: relative; align-self: stretch; min-height: min(calc(100svh - 136px), 1000px);
    display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: clamp(32px, 4vw, 64px);
}
.auth__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.1) 100%); }
.auth__art-text, .auth__credit { position: relative; z-index: 1; }
.auth__art .label { color: #fff; }
.auth__headline {
    margin-top: 18px; margin-left: -.04em; max-width: 8ch; text-wrap: balance;
    font-size: clamp(64px, 8.4vw, 148px); font-weight: 800; letter-spacing: -.06em; line-height: .86; color: #fff;
}
.auth__credit { display: inline-block; margin-top: 28px; font-size: 12px; color: rgba(255,255,255,.7); }
.auth__credit:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.auth__panel { display: flex; align-items: center; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 88px); }
.auth__inner { width: 100%; max-width: 460px; }
.auth__dek { font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink); }

.auth__perks { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.auth__perks li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.auth__num { font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; color: var(--muted); }
.auth__perks li:first-child .auth__num { color: var(--ink); }
.auth__perks p { font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.auth__perks strong { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }

.auth__form { margin-top: 28px; }
.auth__fields { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input {
    width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
    background: transparent; color: var(--ink); font: inherit; font-size: 20px; letter-spacing: -.01em;
}
.field input::placeholder { color: color-mix(in srgb, var(--muted) 70%, var(--bg)); }
.field input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.auth__submit { width: 100%; height: 56px; margin-top: 6px; font-size: 12px; }
.auth__form .loading { display: none; }
.auth__form.loading .default { display: none; }
.auth__form.loading .loading { display: inline; }
.auth__form.loading .auth__submit { opacity: .6; pointer-events: none; }
.auth .form-error { margin: 0; color: var(--error); }
.auth__fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

.auth__done { display: none; padding: 28px 0; border-top: 2px solid var(--ink); }
.auth__form.success .auth__fields { display: none; }
.auth__form.success .auth__done { display: block; }
.auth__done-title { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.auth__done p:not(.auth__done-title), .auth__done-title + .auth__dek { margin-top: 14px; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.auth__switch { margin-top: 28px; font-size: 14px; color: var(--muted); }
.auth__switch a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth--signin .auth__dek { margin-bottom: 4px; }

.auth__continue { margin-top: 28px; }
.auth__links { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.auth__links a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.auth__links a { align-items: center; }
.auth__links a::after { width: 18px; height: 18px; color: var(--muted); }
.auth__links a:hover::after { color: var(--ink); }

/* The footer newsletter would repeat the form right below it */
.site-main:has(.auth) + .site-footer { margin-top: 0; }
.site-main:has(.auth) + .site-footer .newsletter { display: none; }

@media (max-width: 900px) {
    .auth { grid-template-columns: 1fr; min-height: 0; }
    .auth__art { min-height: 46svh; }
    .auth__headline { max-width: none; }
    .auth__headline { font-size: clamp(56px, 16vw, 96px); }
    .auth__panel { padding: 40px var(--gutter) 64px; }
}

/* ==========================================================================
   Search: full-screen, oversized input, results as you type
   ========================================================================== */
.search {
    position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg); color: var(--ink);
    opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.search.is-open { opacity: 1; transform: none; }
.search-open, .search-open body { overflow: hidden; }

.search__bar { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.search__close { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0 8px 12px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.search__esc { padding: 3px 8px; border: 1px solid var(--rule); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }

.search__field { padding-top: clamp(8px, 3vw, 40px); }
.search__input {
    display: block; width: 100%; height: auto; padding: 0 0 20px; margin: 0;
    border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); caret-color: var(--ink);
    font-family: var(--sans); font-size: clamp(36px, 6vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1.15;
    -webkit-appearance: none; appearance: none;
}
.search__input::placeholder { color: var(--muted); font-weight: 500; letter-spacing: -.04em; opacity: 1; }
.search__input::selection { background: var(--yellow); color: var(--on-yellow); }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { display: none; }

.search__body { padding-top: 0; padding-bottom: 96px; }
.search__count { padding: 16px 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; margin-top: 16px; }
.search__heading { padding: 16px 0; margin-bottom: 4px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.search__side { gap: 48px; }
.search__side { display: grid; gap: 40px; align-content: start; }

/* Story results: numbered rows that flood yellow, like the writers line-up */
.search__group--stories { counter-reset: hit; position: relative; z-index: 0; border-top: 2px solid var(--ink); }
.search__story {
    position: relative; counter-increment: hit;
    display: grid; grid-template-columns: 40px 144px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.search__story::before {
    content: counter(hit, decimal-leading-zero); padding-top: 2px;
    font-size: 12px; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--muted);
}
.search__story::after { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: var(--yellow); opacity: 0; transition: opacity .2s var(--ease); }
.search__story:is(:hover, .is-active)::after { opacity: 1; }
.search__story:is(:hover, .is-active) { border-bottom-color: transparent; }
.search__story:is(:hover, .is-active) :is(.search__title, .search__snippet, .label, .byline, .byline *), .search__story:is(:hover, .is-active)::before { color: var(--on-yellow); }
.search__story:is(:hover, .is-active) mark { background: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.search__thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.search__story-text { display: grid; gap: 8px; align-content: start; min-width: 0; }
.search__title { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.search__snippet { font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.search__person, .search__section { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.search__section { justify-content: space-between; }
.search__person > span { display: grid; gap: 2px; }
.search__name { font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.search__meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search__person, .search__section { position: relative; z-index: 0; }
.search__person::after, .search__section::after { content: ""; position: absolute; inset: 0 -12px; z-index: -1; background: var(--yellow); opacity: 0; transition: opacity .2s var(--ease); }
:is(.search__person, .search__section):is(:hover, .is-active)::after { opacity: 1; }
:is(.search__person, .search__section):is(:hover, .is-active) { border-bottom-color: transparent; }
:is(.search__person, .search__section):is(:hover, .is-active) :is(.search__name, .search__meta) { color: var(--on-yellow); }
:is(.search__person, .search__section):is(:hover, .is-active) mark { background: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.search__person .avatar { width: 48px; height: 48px; filter: grayscale(1); transition: filter .2s var(--ease); }
.search__person:is(:hover, .is-active) .avatar { filter: none; }

/* Matches: a yellow highlighter under the matched letters */
.search mark { background: linear-gradient(transparent 55%, var(--yellow) 55%) no-repeat; color: inherit; }

.search__idle { display: grid; gap: 48px; }
.search__idle > .search__group:first-child .search__heading { border-top: 0; }
.search__words { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 16px 0 0; padding: 0; }
.search__word {
    padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer;
    font-family: var(--sans); font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.2;
}
.search__word:hover, .search__word:focus-visible { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.search__none { padding-top: 32px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.search__hint { margin-top: 12px; font-family: var(--logo); font-weight: 400; font-size: 15px; color: var(--muted); }

@media (max-width: 800px) {
    .search__grid { grid-template-columns: 1fr; gap: 40px; }
    .search__story { grid-template-columns: 24px 96px minmax(0, 1fr); gap: 12px; }
    .search__story::after, .search__person::after, .search__section::after { inset: 0 calc(-1 * var(--gutter)); }
    .search__title { font-size: 20px; }
    .search__snippet { display: none; }
    .search__esc { display: none; }
}
@media (prefers-reduced-motion: reduce) { .search { transition: none; transform: none; } }

/* ==========================================================================
   Homepage lead switcher
   Photo left, headline + numbered list right. Frames and headline blocks are
   stacked in single grid cells so switching never changes the layout.
   ========================================================================== */
.lead {
    /* Fill the screen below the masthead, but never taller than a landscape-ish frame at the max width */
    --lead-h: clamp(440px, min(100svh - 208px, 0.54 * min(100vw, var(--max))), 720px);
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px);
    padding-top: clamp(24px, 3vw, 40px);
}
/* The photo stretches to the row, so its edges always meet the text column's, whatever the text needs */
.lead__stage { position: relative; align-self: stretch; min-height: var(--lead-h); overflow: hidden; background: var(--bg-2); touch-action: pan-y; }
.lead__frame { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.lead__frame.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); z-index: 1; }
.lead__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s cubic-bezier(.2,.6,.3,1); user-select: none; -webkit-user-drag: none; }
.lead__frame.is-active img { transform: scale(1); }

.lead__side { display: flex; flex-direction: column; min-height: var(--lead-h); container-type: inline-size; }
.lead__head { border-bottom: 2px solid var(--ink); }
.lead__dateline { justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.lead__dateline time { color: var(--muted); }

.lead__blocks { display: grid; margin: clamp(24px, 3vw, 40px) 0 28px; }
/* With the list pinned to the image's bottom edge, centre the story in the space above it
   so the spare room reads as intentional rather than left over */
@media (min-width: 901px) {
    .lead__side .lead__blocks { margin-block: auto; padding-block: 24px; }
    .lead__side .lead__controls { margin-top: 0; }
}
.lead__block { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.lead__block.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease) .1s, transform .35s var(--ease) .1s; }
.lead__title {
    margin-left: -.03em;
    /* Sized to its own column and to the screen height, so it never pushes the banner off screen */
    font-size: clamp(30px, min(10cqi, 5.4svh), 56px); font-weight: 800; letter-spacing: -.05em; line-height: .98; text-wrap: balance;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    padding-bottom: .06em; /* room for descenders (g, p, y) on the last line */
}
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lead__dek { font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.lead__controls { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.lead__bar { flex: 1; height: 2px; background: var(--rule); overflow: hidden; }
.lead__pause { flex: none; min-width: 44px; min-height: 24px; padding: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead__pause:hover, .lead__pause[data-stopped] { color: var(--ink); }
.lead__bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.lead__bar span.is-running { animation: lead-progress 7s linear forwards; }
.lead.is-paused .lead__bar span { animation-play-state: paused; }
.lead.is-still .lead__controls, .lead.is-single .lead__controls, .lead.is-single .lead__list { display: none; }
.lead.is-still .lead__list { margin-top: auto; } /* no progress bar to push it down */
@keyframes lead-progress { to { transform: scaleX(1); } }

.lead__list { list-style: none; margin: 0; padding: 0; }
.lead__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.lead__list li:first-child .lead__row { padding-top: 16px; }
.lead__num { font-size: 13px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
.lead__row-text { display: grid; gap: 4px; min-width: 0; }
.lead__row-tag { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead__row-title { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; color: var(--muted); transition: color .2s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead__row:hover .lead__row-title, .lead__row.is-active .lead__row-title { color: var(--ink); }
.lead__row.is-active .lead__num { color: var(--on-yellow); }
.lead__num { justify-self: start; padding: 1px 4px; margin-left: -4px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.lead__row.is-active .lead__num { background: var(--yellow); }

/* Shorter laptop screens: tighten the text column so the block still fits on screen */
@media (min-width: 901px) and (max-height: 980px) {
    .lead__blocks { margin: 20px 0 20px; }
    .lead__block { gap: 12px; }
    .lead__dek { -webkit-line-clamp: 2; }
    .lead__row { padding: 10px 0; }
    .lead__list li:first-child .lead__row { padding-top: 12px; }
    .lead__row-tag { display: none; }
    .lead__row-title { font-size: 16px; }
}
/* Very short windows (small laptops, zoomed in): drop the standfirst, keep headline + list */
@media (min-width: 901px) and (max-height: 700px) {
    .lead__dek { display: none; }
}
@media (max-width: 900px) {
    .lead { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
    /* align-self: start, not stretch: Safari lets a stretched grid item ignore aspect-ratio, and the frames inside are
       absolutely positioned, so the photo collapsed to 0px on iPhones and iPads */
    .lead__stage { align-self: start; height: auto; min-height: 0; aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); }
    .lead__side { min-height: 0; }
    .lead__blocks { margin-top: 20px; }
    .lead__title { font-size: clamp(34px, 9.5vw, 48px); -webkit-line-clamp: 5; }
    .lead__dek { display: block; -webkit-line-clamp: unset; overflow: visible; }
    .lead__controls { margin-top: 24px; }
    .lead__row-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (prefers-reduced-motion: reduce) {
    .lead__frame, .lead__block, .lead__frame img { transition: none; transform: none; }
}

/* ==========================================================================
   Brand: the logo face is for the logo only (masthead, compact bar, footer).
   In text, the name is ordinary text in the surrounding font, kept lowercase
   even inside uppercase labels.
   ========================================================================== */
:root { --logo: var(--sans); } /* Schibsted Grotesk, same cut as the About page headword */
.masthead__logo, .masthead__mini, .footer-logo { font-weight: 900; letter-spacing: -.08em; }

/* The full stop that ends the wordmark: futsek. */

/* ==========================================================================
   Adaptive sticky masthead
   Desktop: the tall logo bar scrolls away and the section row stays pinned,
   picking up a compact logo + actions. Scrolling up brings the full bar back.
   Mobile: the 64px bar hides on the way down and returns on the way up.
   ========================================================================== */
.masthead {
    --bar-h: 88px;
    position: sticky; top: calc(-1 * var(--bar-h));
    transform: translateY(var(--reveal, 0px));
}
.masthead.is-animating { transition: transform .35s var(--ease); }
.masthead.is-stuck { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .45); }
.masthead__nav { background: var(--bg); }
.masthead__nav-inner { position: relative; }

.masthead__mini, .masthead__mini-actions {
    position: absolute; top: 50%; translate: 0 -50%;
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s var(--ease);
}
.masthead__mini {
    left: var(--gutter);
    font-family: var(--logo); font-weight: 900; font-size: 26px; line-height: 1;
    letter-spacing: -.08em; text-transform: lowercase; padding-bottom: .1em;
}
.masthead__mini-actions { right: var(--gutter); display: flex; align-items: center; gap: 12px; }
.masthead__mini-actions .icon-btn { width: 30px; height: 30px; }
.btn--xs { height: 28px; padding: 0 12px; font-size: 10px; }
.masthead.is-stuck:not(.is-revealed) :is(.masthead__mini, .masthead__mini-actions) { opacity: 1; visibility: visible; }

/* Reading progress on articles: a yellow bar under the header */
.masthead__progress {
    position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
    background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--read, 0));
    pointer-events: none;
}

html { scroll-padding-top: 64px; }

@media (min-width: 801px) and (max-width: 1199px) { .masthead__nav .nav { gap: 0 20px; } }
@media (max-width: 1023px) { .masthead__mini, .masthead__mini-actions { display: none; } }

@media (max-width: 800px) {
    .masthead { --bar-h: 0px; top: 0; }
    .masthead.is-tucked { transform: translateY(-100%); }
    .menu-open .masthead__nav { max-height: calc(100svh - 64px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .masthead.is-animating { transition: none; }
}

/* ==========================================================================
   404: dark band in the About page's voice, then the latest stories
   ========================================================================== */
.lost { padding: clamp(80px, 11vw, 160px) 0 clamp(72px, 9vw, 128px); background: var(--bg); color: var(--ink); }
.lost__inner { display: grid; justify-items: start; }
.lost__title {
    margin-top: 24px; max-width: 12ch;
    font-size: clamp(52px, 9vw, 148px); font-weight: 800; letter-spacing: -.055em; line-height: .92;
    text-wrap: balance;
}
.lost__dek {
    margin-top: clamp(24px, 3vw, 40px); max-width: 48ch;
    font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--muted);
}
.lost__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(32px, 4vw, 48px); }
.lost__search {
    display: flex; align-items: center; gap: 14px;
    width: min(440px, 100%); height: 60px; padding: 0 18px;
    border: 1px solid #444; color: var(--ink); background: transparent; cursor: text;
    font: inherit; font-size: 17px; text-align: left; transition: border-color .2s var(--ease);
}
.lost__search span { flex: 1; color: var(--muted); }
.lost__search:hover, .lost__search:focus-visible { border-color: var(--ink); }
.lost__search kbd { font: inherit; font-size: 11px; letter-spacing: .08em; color: var(--muted); border: 1px solid #444; padding: 3px 8px; }
.lost__home { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lost__home:hover { opacity: .7; }
.lost__more { padding-top: clamp(64px, 8vw, 104px); }
.lost__more .section__title { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.055em; line-height: .95; }
.lost__more .section__note { font-family: var(--logo); color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (hover: none) { .lost__search kbd { display: none; } }

/* ==========================================================================
   Responses: futsek's discussion (assets/js/comments.js)
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Responses ---------------------------------------------------------------
   One quiet system: a heading like Read next (title on a 2px rule), one box for
   writing (or for joining, when signed out), then responses separated by
   hairlines. Actions are sentence case and muted; Report appears on hover.
   Yellow is kept for the Writer badge, liked hearts and quoted passages. */
.talk { max-width: calc(var(--measure) + var(--gutter) * 2); margin: clamp(64px, 8vw, 96px) auto 0; padding: 0 var(--gutter); scroll-margin-top: 64px; }
.talk__head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
    padding-bottom: 16px; border-bottom: 2px solid var(--ink);
}
.talk__title { margin: 0; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.talk__count { color: var(--muted); font-weight: 700; }
.talk__sort { display: flex; gap: 18px; padding-bottom: 3px; }
.talk__sort button { padding: 2px 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.talk__sort button:hover { color: var(--ink); }
.talk__sort button[aria-pressed="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* The box: the composer when signed in, the join prompt when not */
.talk__compose, .talk__join { margin-top: 24px; }
.composer { display: grid; gap: 10px; }
.composer__box, .talk__join {
    border: 1px solid var(--rule); background: var(--bg);
    transition: border-color .2s var(--ease);
}
.composer__box:focus-within { border-color: var(--ink); }
.composer textarea {
    display: block; width: 100%; min-height: 88px; resize: none; padding: 16px 18px 8px;
    border: 0; background: transparent; color: var(--ink);
    font-family: var(--logo); font-size: 16px; line-height: 1.55;
}
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: var(--muted); }
.composer--compact textarea { min-height: 64px; padding-top: 12px; }
.composer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 8px 10px 10px 18px; }
.composer__as { margin-right: auto; font-size: 13px; color: var(--muted); }
.composer__as strong { color: var(--ink); font-weight: 600; }
.composer__hint { font-size: 12px; color: var(--muted); }
.composer__cancel { font-size: 13px; font-weight: 500; color: var(--muted); }
.composer__cancel:hover { color: var(--ink); }
.composer__submit:disabled { opacity: .35; cursor: default; }
.composer.is-busy { opacity: .6; pointer-events: none; }
.composer__error { font-size: 14px; color: var(--error); }
.composer__quote {
    position: relative; display: grid; gap: 4px; margin: 12px 12px 0; padding: 10px 40px 10px 14px;
    border-left: 3px solid var(--yellow); background: var(--bg-2);
}
.composer__quote-label, .resp__quote-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.composer__quote-text { font-family: var(--logo); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.composer__quote-x { position: absolute; top: 6px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; color: var(--muted); }
.composer__quote-x:hover { color: var(--ink); }
@media (hover: none) { .composer__hint { display: none; } }

/* Signed out: the same box, with the way in */
.talk__join { display: grid; gap: 14px; padding: 18px; }
.talk__join-lead { font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink); }
.talk__join-tip { font-family: var(--logo); font-size: 14px; line-height: 1.5; color: var(--muted); }
.talk__join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.talk__join-actions .text-link { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.talk__note { margin-top: 24px; font-family: var(--logo); color: var(--muted); }

/* New responses pill */
.talk__pill {
    position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 8px; width: fit-content; margin: 20px auto 0; padding: 9px 16px;
    background: var(--ink); color: var(--bg); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5);
    font-size: 13px; font-weight: 600;
    animation: pill-in .3s ease;
}
@keyframes pill-in { from { opacity: 0; transform: translateY(-6px); } }

/* List */
.talk__list { list-style: none; margin: 8px 0 0; padding: 0; }
.talk__status, .talk__empty { padding: 28px 0; font-family: var(--logo); font-size: 16px; color: var(--muted); }
.talk__empty p:first-child { font-family: var(--sans); font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.talk__empty p + p { margin-top: 6px; }
.talk__item { list-style: none; scroll-margin-top: 96px; }
.talk__list > .talk__item + .talk__item { border-top: 1px solid var(--rule); }
.talk__more { margin-top: 24px; text-align: center; }

.resp { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
.resp--gone { display: block; padding: 16px 0; font-family: var(--logo); font-size: 14px; font-style: italic; color: var(--muted); }
.resp__avatar { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.resp__avatar span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.resp__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resp__main { min-width: 0; }
.resp__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; min-height: 36px; align-content: center; }
.resp__name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.resp__badge { align-self: center; margin-left: 8px; padding: 2px 6px; background: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-yellow); }
.resp__badge--pin { margin-left: 0; padding: 0; background: none; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.resp__expertise { font-size: 13px; color: var(--muted); }
.resp__meta { display: inline-flex; flex-wrap: wrap; align-items: baseline; }
.resp__badge--pin::before, .resp__expertise::before, .resp__time::before { content: "·"; margin: 0 7px; color: var(--muted); }
.resp__time { font-size: 13px; color: var(--muted); }
.resp__time:hover { color: var(--ink); }
.resp__replying { margin-top: 2px; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resp__quote {
    display: grid; gap: 4px; width: 100%; margin-top: 10px; padding: 8px 0 8px 14px; text-align: left;
    border-left: 3px solid var(--yellow); transition: background-color .2s var(--ease);
}
.resp__quote:hover { background: var(--bg-2); }
.resp__quote-text { font-family: var(--logo); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.resp__body { margin-top: 6px; font-family: var(--logo); font-size: 16px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.resp__quote + .resp__body { margin-top: 12px; }
.resp__body p + p { margin-top: .7em; }
.resp__body blockquote { margin: .6em 0; padding-left: 14px; border-left: 2px solid var(--rule-strong); font-style: italic; color: var(--ink-2); }
.resp__body a { text-decoration: underline; text-underline-offset: 3px; }
.resp.is-editing .resp__body, .resp.is-editing .resp__quote { display: none; }
.resp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 10px; margin-left: -2px; }
.resp__actions button { display: inline-flex; align-items: center; gap: 6px; padding: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
.resp__actions button:hover { color: var(--ink); }
.resp__like { font-variant-numeric: tabular-nums; }
.resp__like[aria-pressed="true"] { --icon-fill: var(--yellow); color: var(--ink); }
.resp__like[aria-pressed="true"] svg { animation: pop .3s ease; }
/* Report sits at the end and only shows on the response you're on */
.resp__report { margin-left: auto; opacity: 0; transition: opacity .2s var(--ease); }
.resp:hover .resp__report, .resp__report:focus-visible { opacity: 1; }
@media (hover: none) { .resp__report { opacity: 1; } }
.resp__slot:not(:empty) { margin-top: 14px; }

/* Replies: indented under the avatar, a hairline down the side */
.talk__replies { list-style: none; margin: -6px 0 14px 17px; padding: 0 0 0 31px; border-left: 1px solid var(--rule); }
.talk__replies:empty { display: none; }
.talk__item--reply .resp { padding: 12px 0; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.talk__item--reply .resp__avatar { width: 28px; height: 28px; }
.talk__item--reply .resp__avatar span { font-size: 11px; }
.talk__item--reply .resp__head { min-height: 28px; }
.talk__replies-more button { padding: 6px 0 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.talk__replies-more button::after { content: " ↓"; color: var(--muted); }
.talk__replies-more button:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
    .resp { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
    .resp__avatar { width: 32px; height: 32px; }
    .resp__head { min-height: 32px; }
    .talk__replies { margin-left: 15px; padding-left: 16px; }
    .talk__sort { width: 100%; }
    /* name and badges on one line, who-and-when on the next */
    .resp__meta { flex-basis: 100%; }
    .resp__meta > :first-child::before { content: none; }
    .composer__hint { display: none; }
}

/* Flash: briefly mark what a link or tap pointed at */
.is-flash { animation: flash 2.4s ease; }
@keyframes flash { 0%, 30% { background-color: color-mix(in srgb, var(--yellow) 35%, transparent); } 100% { background-color: transparent; } }
::highlight(futsek-passage) { background-color: color-mix(in srgb, var(--yellow) 55%, transparent); color: inherit; }

/* Respond-to-a-passage button that floats over a text selection */
.passage-respond {
    position: absolute; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 14px; background: var(--ink); color: var(--bg);
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,.55);
    opacity: 0; transform: translateY(4px); pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.passage-respond.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.passage-respond:hover { background: var(--yellow); color: var(--on-yellow); }

/* Marker beside a passage that has responses (wide screens) */
.has-passage-mark { position: relative; }
.passage-mark {
    position: absolute; top: .15em; right: -52px; display: none; place-items: center;
    min-width: 28px; height: 28px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg);
    font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted);
    user-select: none; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.passage-mark:hover { border-color: var(--ink); color: var(--ink); background: var(--yellow); }
@media (min-width: 1100px) { .passage-mark { display: grid; } }

/* Signed-in reader: avatar + account menu --------------------------------- */
.mavatar {
    position: relative; display: inline-grid; place-items: center; flex: none;
    width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
    background: var(--ink); color: var(--bg);
    font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1;
}
.mavatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mavatar--lg { width: 44px; height: 44px; font-size: 16px; }
.acct { position: relative; display: flex; }
.acct__btn { display: grid; place-items: center; padding: 3px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); transition: box-shadow .2s var(--ease); }
.acct__btn:hover, .acct__btn[aria-expanded="true"] { box-shadow: 0 0 0 1px var(--ink); }
.acct__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.acct__menu {
    position: absolute; top: calc(100% + 12px); right: 0; z-index: 60; width: 272px;
    background: var(--bg); border: 1px solid var(--rule-strong);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35);
    animation: acct-in .18s cubic-bezier(.2, .7, .2, 1);
}
@keyframes acct-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .acct__menu { animation: none; } }
.acct__who { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.acct__who p { display: grid; gap: 3px; min-width: 0; }
.acct__label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.acct__name { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.acct__email { font-family: var(--logo); font-weight: 400; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__list { list-style: none; margin: 0; padding: 8px 0; }
.acct__list a, .acct__list button {
    display: block; width: 100%; padding: 10px 20px; text-align: left;
    font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.acct__list a:hover, .acct__list button:hover, .acct__list a:focus-visible, .acct__list button:focus-visible { background: var(--bg-2); }
.acct__list a:focus-visible, .acct__list button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.acct__out { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); }
.acct__out button { color: var(--muted); }
.acct__out button:hover { color: var(--ink); }
.acct__mini { display: flex; }
.acct__mini .mavatar { width: 26px; height: 26px; font-size: 10px; }
@media (max-width: 800px) {
    .acct__menu { position: fixed; top: 64px; right: var(--gutter); left: var(--gutter); width: auto; }
}
.acct__btn { position: relative; }
.acct__btn[data-new]::after { content: ""; position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); display: none; }
@media (max-width: 800px) { .acct__btn[data-new]::after { display: block; } }
@media (max-width: 800px) { .masthead__right .hide-sm { display: none; } }
/* Hold the ranking's place while it loads so the page below doesn't jump. */
.ranked:empty[aria-busy="true"] { min-height: 150vh; }

/* Saved images ------------------------------------------------------------- */
/* Lightbox: "Save image" sits beside Close, styled like the story actions */
.lightbox__save { gap: 8px; color: var(--ink); background: var(--bg); }
.lightbox__save[aria-pressed="true"] { border-color: var(--ink); }
.lightbox__save[aria-pressed="true"] .i { animation: pop .3s ease; }
@media (max-width: 700px) { .lightbox__save { margin-left: auto; } }

/* Library > Images: a masonry shelf that keeps each picture's own shape */
.shelf { columns: 3 260px; column-gap: 28px; }
.shelf__item { position: relative; break-inside: avoid; margin: 0 0 36px; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.shelf__item.is-leaving { opacity: 0; transform: scale(.98); }
.shelf__media { display: block; background: var(--bg-2); overflow: hidden; }
.shelf__media img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.shelf__media:hover img { transform: scale(1.03); }
.shelf__cap { display: grid; gap: 4px; margin-top: 12px; padding: 0; font: inherit; text-align: left; color: var(--ink); }
.shelf__cap a.shelf__story { text-decoration: none; }
.shelf__story { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.shelf__cap a.shelf__story:hover { text-decoration: underline; text-underline-offset: 3px; }
.shelf__note { font-family: var(--logo); font-size: 13px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shelf__remove {
    position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px;
    border-radius: 50%; background: var(--bg); color: var(--ink); --icon-fill: currentColor;
    box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.shelf__item:hover .shelf__remove, .shelf__remove:focus-visible { opacity: 1; }
.shelf__remove:hover { background: var(--ink); color: var(--bg); }
@media (hover: none) { .shelf__remove { opacity: 1; } }

/* No one-word last lines on short titles */
.writer__latest-title, .ranked__title, .lead__row-title, .feed-item__title, .search__title, .ranked-writers__name, .totd__title { text-wrap: pretty; }

/* Details --------------------------------------------------------------- */
/* Embeds bring their own rounded corners; the site is square-cornered */
.gh-content iframe { border-radius: 0 !important; }
/* Opening quotes hang into the margin where supported (Safari) */
.gh-content { hanging-punctuation: first allow-end; }
/* One underline weight everywhere unless a rule says otherwise */
:where(a, button) { text-decoration-thickness: 1px; }

/* Accents --------------------------------------------------------------- */
::selection { background: var(--yellow); color: var(--on-yellow); }
/* One hover for every headline and name: the yellow highlighter behind the words.
   (Small links, labels and meta keep a thin underline.) */
.card__link:hover .card__title, .ranked__title a:hover, .lead__title a:hover, .feed-item__title a:hover, .writer__latest:hover .writer__latest-title, 
.ranked__link:hover .ranked__title, .media-card__link:hover .media-card__title, 
.following__name:hover, .status-page__who:hover .status-page__name, 
.ranked-writers__name:hover, .feed-item__author:hover, .profile-aside .ranked__link:hover .ranked__title {
    text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none;
}
/* Colour fields: a few signature moments get a full-width band, like a magazine colour page */
.home-template .statement { border-image: conic-gradient(var(--yellow) 0 0) fill 0 / / 0 100vmax; color: var(--on-yellow); } /* full-bleed in one paint, no seams */
.home-template .statement__inner { border: 0; padding-block: clamp(56px, 7vw, 96px); }
.home-template .statement .label, .home-template .statement__text, .home-template .statement a { color: var(--on-yellow); }
.home-template .totd { margin-top: 64px; padding-block: 40px; border-image: conic-gradient(var(--yellow) 0 0) fill 0 / / 0 100vmax; color: var(--on-yellow); }
.home-template .totd .label, .home-template .totd .label time, .home-template .totd__note, .home-template .totd a { color: var(--on-yellow); }

/* ==========================================================================
   Account settings (/account/): the line-up header, then one row per setting:
   a heading and note on the left, the controls on the right.
   ========================================================================== */
.acct-page__email { overflow-wrap: anywhere; }
.settings { padding-bottom: 96px; }
.settings__row {
    display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px 64px;
    padding: 32px 0; border-bottom: 1px solid var(--rule);
}
.settings__row:first-child { border-top: 2px solid var(--ink); }
.settings__row--last { border-bottom: 0; }
.settings__title { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.settings__note { margin-top: 12px; max-width: 40ch; font-family: var(--logo); font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.settings__body { min-width: 0; max-width: 560px; }
.settings__form { display: grid; gap: 24px; }
.settings__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.settings__status { font-family: var(--logo); font-size: 14px; line-height: 1.5; color: var(--muted); }
.settings__status:empty { display: none; }
.settings__status.is-ok { color: var(--ink); }
.settings__status.is-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px var(--ink); vertical-align: 1px; }
.settings__status.is-error { color: var(--error); }
.field__count { margin-left: 6px; font-weight: 500; letter-spacing: .06em; }
.settings .btn:disabled { opacity: .5; cursor: default; }

/* Photo */
.photo { display: grid; gap: 20px; }
.photo__now { display: flex; align-items: center; gap: 28px; }
.photo__circle {
    position: relative; display: grid; place-items: center; flex: none;
    width: 144px; height: 144px; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--bg);
}
.photo__circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__init { font-size: 48px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.photo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.photo__pick { position: relative; cursor: pointer; }
.photo__pick:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.photo__crop { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.photo__crop[hidden] { display: none; }
.photo__stage {
    position: relative; flex: none; width: 280px; height: 280px; overflow: hidden; border-radius: 50%;
    background: var(--bg-2); cursor: grab; touch-action: none;
    box-shadow: 0 0 0 1px var(--rule-strong);
}
.photo__stage.is-dragging { cursor: grabbing; }
.photo__stage:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.photo__stage canvas { display: block; width: 100%; height: 100%; }
.photo__tools { display: grid; gap: 16px; min-width: 200px; flex: 1; }
.photo__tools .settings__note { margin-top: 0; }
.photo__zoom { display: grid; gap: 10px; }
.photo__zoom input { width: 100%; accent-color: var(--ink); }

/* Email switches */
.switches { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.switches__loading { padding: 16px 0; font-size: 14px; color: var(--muted); }
.switches__item { border-bottom: 1px solid var(--rule); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; cursor: pointer; }
.switch__text { display: grid; gap: 4px; }
.switch__title { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.switch__note { font-family: var(--logo); font-size: 14px; line-height: 1.5; color: var(--muted); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui {
    position: relative; flex: none; width: 48px; height: 28px; border-radius: 14px;
    background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--rule-strong);
    transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.switch__ui::after {
    content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--ink); transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.switch input:checked + .switch__ui { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--on-yellow); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--ink); outline-offset: 3px; }
.switch input:disabled + .switch__ui { opacity: .6; }

@media (max-width: 800px) {
    .settings__row { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
    .photo__now { gap: 20px; }
    .photo__circle { width: 112px; height: 112px; }
    .photo__init { font-size: 36px; }
    .photo__stage { width: min(280px, 100%); height: auto; aspect-ratio: 1; }
}

/* The wordmark turns yellow wherever it sits on black: the footer always,
   and the masthead when the site runs in the Dark scheme. */
html.scheme-dark .masthead__logo, html.scheme-dark .masthead__mini { color: var(--yellow); }

/* Homepage "Writers to follow": a compact line-up. Numbered rows in two
   columns, every row on one baseline, Follow at the end, yellow on hover. */
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; position: relative; z-index: 0; }
.lineup__row {
    position: relative;
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 20px;
    padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.lineup__row:nth-child(-n+2) { border-top: 0; }
.lineup__row::after { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: var(--yellow); opacity: 0; transition: opacity .2s var(--ease); }
.lineup__row:hover::after, .lineup__row:focus-within::after { opacity: 1; }
.lineup__row:hover, .lineup__row:focus-within { border-bottom-color: transparent; }
.lineup__face { display: block; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.lineup__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s var(--ease); }
.lineup__face .writer__initial { display: block; width: 100%; height: 100%; font-size: 0; line-height: 56px; text-align: center; }
.lineup__face .writer__initial::first-letter { font-size: 22px; }
.lineup__row:hover .lineup__face img, .lineup__row:focus-within .lineup__face img { filter: none; }
.lineup__text { min-width: 0; }
.lineup__name { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.lineup__name a::before { content: ""; position: absolute; inset: 0; z-index: 0; } /* the whole row opens the profile */
.lineup__meta { margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lineup__meta span:empty { display: none; }
.lineup__meta span + span:not(:empty)::before { content: "·"; margin: 0 8px; }
.lineup__row .follow-btn { position: relative; z-index: 1; }
.lineup__row:hover :is(.lineup__name, .lineup__meta),
.lineup__row:focus-within :is(.lineup__name, .lineup__meta) { color: var(--on-yellow); }
.lineup__row:hover .follow-btn, .lineup__row:focus-within .follow-btn { border-color: var(--on-yellow); color: var(--on-yellow); }
.lineup__row .follow-btn:hover, .lineup__row .follow-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 900px) {
    .lineup { grid-template-columns: 1fr; }
    .lineup__row::after { inset: 0 calc(-1 * var(--gutter)); }
}
@media (max-width: 520px) {
    .lineup__row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; }
    .lineup__face { width: 44px; height: 44px; }
    .lineup__name { font-size: 20px; }
    .lineup__city { display: none; } /* phones: just the counts, on one line */
    .lineup__meta { font-size: 10px; letter-spacing: .06em; }
    .lineup__meta span + span:not(:empty)::before { margin: 0 6px; }
    .lineup__city + span::before { content: none !important; }
    .lineup__row .follow-btn { min-width: 0; padding: 0 12px; }
}

/* Under a line-up header the page already has its heavy rule, so the first
   section heads below it don't draw a second one. */
.archive-head + .popular .popular__stories > .section__head { border-top: 0; padding-top: 0; }
@media (min-width: 1001px) { .archive-head + .popular .popular__writers > .section__head { border-top: 0; padding-top: 0; } }

/* Writer meta on phones: each fact wraps as a whole instead of pushing the page wide */
.writer__nums > span { display: inline-block; }

/* Section pages: title and description in the header, then the section in
   numbers as a full-width bar under the heavy rule (like the writers page bar):
   figures on the left, what's trending in the middle, the top voice on the right. */
.archive-head--tag { grid-template-areas: "title desc"; grid-template-rows: auto; }
.archive-head--tag::after { grid-row: 2; }
.tag-stats {
    grid-column: 1 / -1; grid-row: 3;
    display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: 0 48px;
    margin-top: -10px; padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.tag-stats__nums { display: flex; margin: 0; }
.tag-stats__nums div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 0 24px; border-left: 1px solid var(--rule); }
.tag-stats__nums div:first-child { padding-left: 0; border-left: 0; }
.tag-stats__nums dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag-stats__nums dd { margin: 0 0 0 -.04em; font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: .8; font-variant-numeric: tabular-nums; }
.tag-stats__row { display: grid; gap: 8px; align-content: start; min-width: 0; padding-left: 48px; border-left: 1px solid var(--rule); align-self: stretch; }
.tag-stats__voice { grid-column: 3; }
.tag-stats__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag-stats__title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; text-wrap: pretty; }
.tag-stats__row:hover .tag-stats__title { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.tag-stats__who { display: flex; align-items: center; gap: 10px; }
.tag-stats__face { flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.tag-stats__face:empty { display: none; }
.tag-stats__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s var(--ease); }
.tag-stats__voice:hover .tag-stats__face img { filter: none; }
@media (max-width: 1000px) {
    .tag-stats { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
    .tag-stats__nums { grid-column: 1 / -1; }
    .tag-stats__row { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
    .tag-stats__voice { grid-column: auto; }
}
@media (max-width: 800px) {
    .archive-head--tag { grid-template-areas: "title" "desc"; }
    .archive-head--tag::after { grid-row: 3; }
    .tag-stats { grid-row: 4; grid-template-columns: 1fr; margin-top: 0; }
}

/* "Now" line under the homepage dateline: one live item at a time (kicker chip +
   one line), rotating every few seconds; hover or focus holds it. */
.now { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 48px; }
.now__track { display: grid; min-width: 0; }
.now__item {
    grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.now__item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease) .1s, transform .35s var(--ease) .1s; }
.now__item.is-leaving { transform: translateY(-8px); }
.now__kick {
    flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 2px;
    font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
    background: var(--yellow); color: var(--on-yellow);
}
.now__kick svg { width: 8px; height: 8px; fill: currentColor; }
.now__item--quiet .now__kick { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.now__text { min-width: 0; font-size: 15px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now__text b { font-weight: 800; }
.now__quote { margin-left: 4px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05em; letter-spacing: 0; color: var(--ink-2); }
.now__item:hover .now__text, .now__item:focus-visible .now__text { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.now__next {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 0 4px 8px; border: 0; background: none; cursor: pointer;
    font: 600 11px/1 var(--sans); letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums;
}
.now__next::after { content: "→"; font-size: 13px; letter-spacing: 0; color: var(--ink); transition: transform .2s var(--ease); }
.now__next:hover { color: var(--ink); }
.now__next:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .now__item, .now__item.is-active { transition: none; transform: none; } }
@media (max-width: 900px) { .now__text { font-size: 14px; } }

/* The mark: an "f." whose crossbar points away, with a yellow square full stop.
   No wordmark: the site name is screen-reader text. On black it turns yellow
   with a white stop (footer, Dark scheme). */
.logo-mark { flex: none; display: block; height: 1em; width: auto; aspect-ratio: 377.2 / 515; overflow: visible; }
.logo-mark__f { fill: var(--ink); }
html.scheme-dark :is(.masthead__logo, .masthead__mini) .logo-mark__f { fill: var(--yellow); }
.masthead__logo, .footer-logo { display: inline-flex; align-items: center; }
.masthead__logo { padding-bottom: 0; }
.masthead__logo .logo-mark { height: 46px; }
.masthead__mini { padding-bottom: 0; }
.masthead__mini .logo-mark { height: 30px; }
.footer-logo .logo-mark { height: 48px; }
@media (max-width: 1023px) { .masthead__logo .logo-mark { height: 36px; } }

/* Header search, set as a field rather than an icon: a 2px ink rule underneath,
   "Search" plus a muted hint that cycles through the sections, and a key chip.
   Hover or focus: the rule and the chip turn yellow. */
.search-trigger {
    display: inline-flex; align-items: center; gap: 10px;
    width: min(300px, 100%); height: 40px; padding: 0 2px;
    border: 0; border-bottom: 2px solid var(--ink); background: none; color: var(--ink); cursor: text;
    font-family: var(--logo); text-align: left;
    transition: border-color .2s var(--ease);
}
.search-trigger .icon { flex: none; }
.search-trigger__text { flex: 1; min-width: 0; display: flex; gap: .3em; font-size: 14px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.search-trigger__hint { position: relative; flex: 1; min-width: 0; overflow: hidden; color: var(--muted); font-weight: 500; }
.search-trigger__hint > span { display: block; overflow: hidden; text-overflow: ellipsis; }
.search-trigger__key {
    flex: none; padding: 3px 6px 2px; border: 1px solid var(--rule); border-radius: 0;
    font: 700 10px/1.2 var(--sans); letter-spacing: .08em; color: var(--muted);
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.search-trigger:hover, .search-trigger:focus-visible { border-bottom-color: var(--yellow); }
.search-trigger:hover .search-trigger__key, .search-trigger:focus-visible .search-trigger__key { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
@media (max-width: 1100px) { .search-trigger { width: min(270px, 100%); } }
@media (max-width: 800px) {
    .search-trigger { width: 36px; height: 36px; justify-content: center; border-bottom: 0; cursor: pointer; }
    .search-trigger :is(.search-trigger__text, .search-trigger__key) { display: none; }
}

/* ==========================================================================
   Artist pages (custom-artist.hbs) and the /artists/ index
   The header reuses the section header (poster name left, side column right,
   2px rule, stats bar); then Start here, numbered coverage rows, the longer
   bio and related artists as round portraits.
   ========================================================================== */
.artist-head .artist-head__side { grid-area: desc; display: grid; gap: 12px; padding-bottom: .3em; }
.artist-head__side .label { margin: 0; flex-wrap: wrap; }
.artist-head__side .label { gap: 4px 0; }
.artist-head__side .label span + span::before { content: "·"; margin: 0 8px; }
.artist-head__bio { margin: 0; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.artist-head__acts { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.artist-head__followers { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.artist-head__links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.artist-head__links a { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.artist-head__links a::after { content: " ↗"; color: var(--muted); }
.artist-head__links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.artist-start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 4vw, 64px); margin-bottom: clamp(64px, 7vw, 96px); }
.artist-start__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.artist-start__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.artist-start:hover .artist-start__media img { transform: scale(1.02); }
.artist-start__kicker { display: inline-block; margin: 0; padding: 3px 6px 2px; background: var(--yellow); color: var(--on-yellow); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.artist-start__title { margin: 16px 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.artist-start__title a:hover { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.artist-start__dek { margin: 0 0 14px; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.artist-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.artist-sec__title { margin: 0; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.artist-cov, .artist-about { margin-bottom: clamp(64px, 7vw, 96px); }
.artist-cov__kinds { margin: 0; }

.cov { list-style: none; margin: 0; padding: 0; counter-reset: cov; }
.cov__row {
    counter-increment: cov; position: relative;
    display: grid; grid-template-columns: 48px 120px 150px minmax(0, 1fr) 180px; align-items: baseline; gap: 20px;
    padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.cov__row[hidden] { display: none; }
.cov__num::before { content: counter(cov, decimal-leading-zero); font-size: 13px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.cov__date, .cov__by { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cov__by { text-align: right; overflow: hidden; text-overflow: ellipsis; }
.cov__kind { justify-self: start; padding: 2px 6px 1px; box-shadow: inset 0 0 0 1px var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.cov__kind.is-pick { box-shadow: none; background: var(--yellow); color: var(--on-yellow); }
.cov__title { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.cov__title::after { content: ""; position: absolute; inset: 0; } /* the whole row opens the story */
.cov__row:hover .cov__title { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }

.artist-about__body.gh-content { display: block; max-width: var(--measure); padding: 24px 0 0; margin: 0; }
.artist-about__body > * { margin-left: 0; margin-right: 0; }
.artist-about__body > :first-child { margin-top: 0; }

.artist-like { margin-bottom: 40px; }
.artist-like__list { list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.artist-like__item { position: relative; display: grid; justify-items: start; gap: 10px; }
.artist-like__face { width: min(112px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.artist-like__init { display: grid; place-items: center; width: 100%; height: 100%; background: var(--ink); color: var(--bg); font-size: 40px; font-weight: 900; }
.artist-like__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s var(--ease); }
.artist-like__item:hover .artist-like__face img { filter: none; }
.artist-like__name { font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.artist-like__name::after { content: ""; position: absolute; inset: 0; }
.artist-like__item:hover .artist-like__name { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.artist-like__meta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.artists-filter { margin: 0 0 24px; }
.artists-list .lineup__row[hidden] { display: none; }

@media (max-width: 1000px) {
    .cov__row { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 16px; }
    .cov__row > :not(.cov__num) { grid-column: 2; }
    .cov__num { grid-row: 1 / span 3; }
    .cov__date { grid-row: 1; }
    .cov__kind { grid-row: 2; }
    .cov__title { grid-row: 3; }
    .cov__by { grid-row: 4; text-align: left; }
    .artist-like__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .artist-start { grid-template-columns: 1fr; }
    .artist-start__media { margin: 0 calc(-1 * var(--gutter)); }
    .artist-like__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Article page, set like a print spread
   ========================================================================== */
/* Opener: label, poster headline, 2px rule, dek | byline + actions, lead photo */
.aopen { padding-top: clamp(32px, 4vw, 56px); margin-bottom: clamp(48px, 6vw, 80px); }
.aopen > .label { margin: 0 0 20px; }
.aopen__title {
    margin: 0 0 0 -.05em; padding-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 2px solid var(--ink);
    font-size: clamp(52px, 9vw, 140px); font-weight: 800; letter-spacing: -.06em; line-height: .88; text-wrap: balance;
}
.aopen__title.is-long { font-size: clamp(42px, 6.2vw, 96px); letter-spacing: -.055em; line-height: .92; }
.aopen__row { display: grid; gap: 40px; padding-top: 24px; }
.aopen__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px 64px; align-items: start; }
.aopen--text .aopen__text, .aopen__text:not(:has(.aopen__dek)) { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.aopen__dek {
    margin: 0; max-width: 36ch; text-wrap: pretty;
    font-family: var(--logo); font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink);
}
.aopen__by { grid-column: 2; display: grid; gap: 16px; }
.aopen__by .article__byline { justify-content: flex-start; margin: 0; }
.aopen__by .byline { justify-content: flex-start; }
.aopen__by .actions { justify-content: flex-start; margin: 0; }
.aopen__by .avatar { filter: grayscale(1); }

/* Landscape lead photo: full width, never taller than the screen */
.aopen__photo { width: 100%; margin: 0; }
.aopen__photo .feature__media img { width: 100%; max-height: min(82svh, 860px); object-fit: cover; }
.aopen__photo .feature__media:hover img { outline-color: transparent; }

/* Tall lead photo (portrait, artwork): true shape, beside the dek and byline */
.aopen.is-tall .aopen__row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: clamp(32px, 4vw, 64px); }
.aopen.is-tall .aopen__text { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 28px; }
.aopen.is-tall .aopen__by { grid-column: 1; }
.aopen.is-tall .aopen__photo { width: fit-content; max-width: min(56vw, 720px); }
.aopen.is-tall .aopen__photo .feature__media img { width: auto; max-width: 100%; max-height: min(calc(100svh - 150px), 900px); object-fit: contain; }

/* Body: a bigger opening paragraph, numbered section breaks, pull quotes that
   break out wider than the text, and a yellow end mark */
.article__content { color: var(--ink); }
.article__content > p:first-child { font-size: clamp(21px, 1.9vw, 24px); line-height: 1.5; }
.article__content > h2 {
    margin-top: 2.2em; padding-top: 16px; border-top: 2px solid var(--ink);
    font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.08;
}
.article__content > h2 + * { margin-top: .8em; }
.gh-content > blockquote:not([class]) {
    grid-column: wide; justify-self: center; width: min(100%, calc(var(--measure) + 240px));
    margin: 1.8em 0 .6em; padding: 28px 0 0; border: 0; border-top: 1px solid var(--rule);
    font-family: var(--sans); font-style: normal; font-weight: 800; color: var(--ink);
    font-size: clamp(32px, 4vw, 56px); letter-spacing: -.045em; line-height: 1.02; text-wrap: balance;
}
.gh-content > blockquote:not([class]) p { margin: 0; }
.gh-content > blockquote:not([class]) > p:first-child::before,
.gh-content > blockquote:not([class]):not(:has(p))::before {
    content: ""; display: inline-block; width: .32em; height: .32em; margin-right: .25em; vertical-align: .12em; background: var(--yellow);
}
.end-mark { display: inline-block; width: .5em; height: .5em; margin-left: .3em; vertical-align: -.02em; background: var(--yellow); }

/* Ending: one bar of actions and sharing, the writer, the artists, the tags */
.article__foot { margin-top: 56px; }
.afoot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.afoot__bar .actions { margin: 0; justify-content: flex-start; }
.afoot__bar .share { margin: 0; padding: 0; border: 0; gap: 18px; }
/* Icons only in the bar; the names stay for screen readers */
.afoot__bar .share a > span:not(.sr-only), .afoot__bar .share button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.afoot__sec { margin-top: 40px; }
.afoot__label { margin: 0 0 16px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.afoot-writer__grid { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.afoot-writer__face { display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.afoot-writer__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s var(--ease); }
.afoot-writer:hover .afoot-writer__face img { filter: none; }
.afoot-writer__face .writer__initial { display: block; font-size: 0; line-height: 96px; text-align: center; }
.afoot-writer__face .writer__initial::first-letter { font-size: 36px; }
.afoot-writer__name { margin: 0 0 8px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.afoot-writer__name a:hover, .afoot-artist__name:hover, .afoot-writer__more a:hover { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }
.afoot-writer__bio { margin: 0; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.afoot-writer__followers { margin: 8px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.afoot-writer__followers:empty { display: none; }
.afoot-writer__more { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: wm; }
.afoot-writer__more:empty { display: none; }
.afoot-writer__more li { counter-increment: wm; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.afoot-writer__more li::before { content: counter(wm, decimal-leading-zero); padding-top: 2px; font-size: 12px; font-weight: 800; color: var(--muted); }
.afoot-artists__list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.afoot-artist { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.afoot-artist:first-child { border-top: 0; padding-top: 0; }
.afoot-artist__face { display: block; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.afoot-artist__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.afoot-artist__face .writer__initial { display: block; font-size: 0; line-height: 56px; text-align: center; }
.afoot-artist__face .writer__initial::first-letter { font-size: 22px; }
.afoot-artist__text { display: grid; gap: 4px; min-width: 0; }
.afoot-artist__name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.afoot-artist__meta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article__foot .article__tags { margin: 32px 0 0; }
.article__foot .article__tags:empty { display: none; }

/* Read next: one large story and three numbered rows */
.readnext { margin-top: clamp(80px, 9vw, 128px); }
.readnext__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); padding-top: 28px; }
.readnext__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.readnext__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.readnext__lead:hover .readnext__media img { transform: scale(1.02); }
.readnext__lead .label { margin: 0 0 10px; }
.readnext__title { margin: 0 0 12px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.readnext__list { list-style: none; margin: 0; padding: 0; counter-reset: rn; }
.readnext__row { counter-increment: rn; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.readnext__row:first-child { padding-top: 0; }
.readnext__num::before { content: counter(rn, decimal-leading-zero); font-size: 13px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.readnext__text { display: grid; gap: 6px; }
.readnext__row-title { font-size: clamp(19px, 1.8vw, 22px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.readnext__row-title::after { content: ""; position: absolute; inset: 0; }
.readnext__meta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.readnext__title a:hover, .readnext__row:hover .readnext__row-title { text-decoration-line: underline; text-decoration-color: var(--yellow); text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none; }

@media (max-width: 900px) {
    .aopen__text, .aopen--text .aopen__text, .aopen__text:not(:has(.aopen__dek)) { grid-template-columns: minmax(0, 1fr); }
    .aopen__by { grid-column: 1; }
    .aopen.is-tall .aopen__row { grid-template-columns: 1fr; }
    .aopen.is-tall .aopen__photo { max-width: 100%; justify-self: center; }
    .aopen__photo { margin: 0 calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); max-width: none; }
    .aopen.is-tall .aopen__photo { margin: 0 auto; width: fit-content; }
    .aopen__photo .feature__rail { padding: 0 var(--gutter); }
    .aopen__photo .feature__media img { max-height: none; }
    .gh-content > blockquote:not([class]) { grid-column: main; width: 100%; }
    .readnext__grid { grid-template-columns: 1fr; }
    .afoot-writer__grid { grid-template-columns: 64px minmax(0, 1fr); }
    .afoot-writer__face { width: 64px; height: 64px; }
    .afoot-writer__face .writer__initial { line-height: 64px; }
    .afoot-writer__grid > .follow-btn { grid-column: 2; justify-self: start; }
}

/* Quiet header for utility pages (Library, Following, Account): the title at
   section-heading size with a note beside it, over the 2px rule. The poster
   header stays for the big destinations (sections, Voices, Artists). */
.util-head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px;
    margin-top: clamp(32px, 4vw, 48px); margin-bottom: 32px;
}
/* the rule sits inside the content box, so it lines up with the content, not the gutters */
.util-head::after { content: ""; flex: 0 0 100%; height: 2px; margin-top: 8px; background: var(--ink); }
.util-head__title { margin: 0; font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.util-head__desc { flex: 1 1 280px; margin: 0; font-family: var(--logo); font-size: 15px; line-height: 1.5; color: var(--muted); }
.util-head__desc .acct-page__email { color: var(--ink); font-weight: 600; }
.util-head__link { margin-left: auto; }

/* Labels: spaced capitals are for categories, chips, kickers and stat captions.
   Metadata about people and time (bylines, dates, read time, counts, followers,
   cities) is set in calm sentence case. */
.byline, .lineup__meta, .writer__meta, .following__meta, .ranked-writers__meta, 
.search__meta, .resp__time, .cov__date, .cov__by, .artist-like__meta, .afoot-writer__followers, 
.afoot-artist__meta, .readnext__meta, .artist-head__followers, .pager__count {
    font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.byline span:first-child { font-weight: 600; }
.writer__meta { font-size: 14px; }
.cov__date { font-variant-numeric: tabular-nums; }

/* Homepage ---------------------------------------------------------------
   Below the lead the page alternates: Latest (list left, story right), one
   full-bleed long read, then the sections side by side. Shared hover: the
   yellow highlighter under titles. */
.latest__title a:hover, .latest__row:hover .latest__row-title,
.longread__title a:hover, .desk__item:hover .desk__title, .desk__name a:hover {
    text-decoration-line: underline; text-decoration-color: var(--yellow);
    text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none;
}

/* Latest */
.latest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.latest__lead { grid-column: 2; grid-row: 1; display: grid; gap: 14px; justify-items: start; }
.latest__media { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); margin-bottom: 6px; }
.latest__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.latest__lead:hover .latest__media img { transform: scale(1.02); }
.latest__lead .label { margin: 0; }
.latest__title { margin: 0; max-width: 20ch; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.latest__dek { margin: 0; max-width: 52ch; font-family: var(--logo); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.latest__list { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; }
.latest__row {
    position: relative;
    display: grid; grid-template-columns: 56px minmax(0, 1fr) 96px; gap: 16px; align-items: start;
    padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.latest__row:first-child { padding-top: 0; }
.latest__when { padding-top: 1px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.latest__when.is-fresh { color: var(--ink); }
.latest__text { display: grid; gap: 7px; justify-items: start; }
.latest__tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.latest__row-title { font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-wrap: pretty; }
.latest__row-title::after { content: ""; position: absolute; inset: 0; }
.latest__thumb { width: 96px; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.latest__thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest__row:not(:has(.latest__thumb)) { grid-template-columns: 56px minmax(0, 1fr); }

/* The long read: edge to edge */
.longread { margin-top: clamp(88px, 10vw, 136px); }
.longread__media { display: block; height: clamp(360px, 46vw, 760px); overflow: hidden; background: var(--bg-2); }
.longread__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.longread:hover .longread__media img { transform: scale(1.015); }
.longread__text {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    grid-template-areas: "label label" "title side"; gap: 16px clamp(32px, 5vw, 72px); align-items: end;
    padding-top: 24px;
}
.longread__label { grid-area: label; margin: 0; }
.longread__title {
    grid-area: title; margin: 0 0 0 -.04em;
    font-size: clamp(44px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.055em; line-height: .9; text-wrap: balance;
}
.longread__side { grid-area: side; display: grid; gap: 14px; justify-items: start; padding-bottom: .4em; }
.longread__dek { margin: 0; font-family: var(--logo); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.longread__text::after { content: ""; grid-column: 1 / -1; height: 2px; margin-top: clamp(14px, 2vw, 24px); background: var(--ink); }

/* The sections, side by side */
/* Equal columns: the dividers are drawn in the gaps, so every column (and
   every picture) is exactly the same width */
.desk { --desk-gap: clamp(40px, 4.8vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--desk-gap); }
.desk__col { position: relative; display: flex; flex-direction: column; }
.desk__col + .desk__col::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--desk-gap) / -2); width: 1px; background: var(--rule); }
.desk__name { margin: 0 0 20px; font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.desk__list { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.desk__item { position: relative; display: grid; gap: 8px; justify-items: start; padding: 16px 0; border-top: 1px solid var(--rule); }
.desk__item:first-child { padding-top: 0; border-top: 0; }
.desk__item:nth-child(n+4) { display: none; }
.desk__item:not(:first-child) .desk__media { display: none; }
.desk__media { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); margin-bottom: 8px; }
.desk__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.desk__item:hover .desk__media img { transform: scale(1.02); }
.desk__title { font-size: 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.18; text-wrap: pretty; }
.desk__item:first-child .desk__title { font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -.035em; line-height: 1.1; }
.desk__title::after { content: ""; position: absolute; inset: 0; }
.desk__all { align-self: flex-start; }

@media (max-width: 900px) {
    .latest { grid-template-columns: 1fr; }
    .latest__lead, .latest__list { grid-column: 1; grid-row: auto; }
    .latest__list { padding-top: 8px; }
    .latest__row:first-child { padding-top: 20px; }
    .longread__text { grid-template-columns: 1fr; grid-template-areas: "label" "title" "side"; }
    .longread__media { height: auto; aspect-ratio: 4 / 3; }
    .desk { grid-template-columns: 1fr; gap: 48px; }
    .desk__col + .desk__col::before { content: none; }
    .desk__name { padding-top: 12px; border-top: 2px solid var(--ink); }
    .desk__col:first-child .desk__name { padding-top: 0; border-top: 0; }
}
@media (max-width: 480px) {
    .latest__row { grid-template-columns: 48px minmax(0, 1fr) 72px; gap: 12px; }
    .latest__thumb { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
    .latest__media img, .longread__media img, .desk__media img { transition: none; transform: none !important; }
}

/* Dark mode ----------------------------------------------------------------
   Component touches the palette can't do on its own. */
/* No colour fades while switching, so the page changes in one step */
html.scheme-switching *, html.scheme-switching *::before, html.scheme-switching *::after { transition: none !important; }

/* Photos sit slightly down so they don't glow against the page */
html.scheme-dark :is(.card__media, .lead__frame, .latest__media, .latest__thumb, .longread__media, .desk__media,
    .readnext__media, .feature, .aopen__photo, .gh-content figure, .totd__cover, .media-card, .reel__item) img { filter: var(--photo-dim); }
/* (portraits keep their own black-and-white filter) */

/* Dark bands (Watch, photo essays, cinematic) lift a step off the page so they still read as bands */
html.scheme-dark .is-dark, html.scheme-dark .article[data-format="photo"] { --bg: #1a1a1a; --bg-2: #242424; --rule: #333331; }

/* The manifesto: a big yellow field glares at night, so it becomes yellow type on a dark band */
html.scheme-dark .home-template .statement { border-image: conic-gradient(var(--bg-2) 0 0) fill 0 / / 0 100vmax; color: var(--yellow); }
html.scheme-dark .home-template .statement__text { color: var(--yellow); }
html.scheme-dark .home-template .statement .label, html.scheme-dark .home-template .statement a { color: var(--ink); }

/* The mark goes yellow on dark, in the masthead and the footer alike */
html.scheme-dark .footer-logo .logo-mark__f { fill: var(--yellow); }

/* Hairline borders that were set for white */
html.scheme-dark :is(.follow-btn, .action, .lost__search, .lost__search kbd) { border-color: #3a3a38; }
html.scheme-dark :is(.follow-btn, .action):hover { border-color: var(--ink); }
html.scheme-dark .masthead.is-stuck { box-shadow: 0 1px 0 var(--rule); }

/* Appearance switch: three quiet words, the current one underlined */
.footer-legal__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.scheme-switch { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; }
.scheme-switch__label { color: var(--muted); }
.scheme-switch__opt { padding: 2px 0; font-size: 12px; color: var(--muted); }
.scheme-switch__opt:hover { color: var(--ink); }
.scheme-switch__opt[aria-pressed="true"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* Account: a segmented control */
.scheme-switch--lg { gap: 0; border: 1px solid var(--rule); }
.scheme-switch--lg .scheme-switch__opt { height: 40px; padding: 0 20px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scheme-switch--lg .scheme-switch__opt + .scheme-switch__opt { border-left: 1px solid var(--rule); }
.scheme-switch--lg .scheme-switch__opt[aria-pressed="true"] { background: var(--ink); color: var(--bg); text-decoration: none; }

/* Homepage close: More stories as a numbered headline list in two columns */
.morelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.morelist__row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.morelist__row:nth-child(-n+2) { padding-top: 4px; }
.morelist__text { display: grid; gap: 8px; justify-items: start; align-content: start; }
.morelist__title { font-size: clamp(19px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.morelist__title::after { content: ""; position: absolute; inset: 0; }
.morelist__row:hover .morelist__title {
    text-decoration-line: underline; text-decoration-color: var(--yellow);
    text-decoration-thickness: var(--hl-w); text-underline-offset: var(--hl-o); text-decoration-skip-ink: none;
}
.morelist__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.morelist__meta > span:first-child { color: var(--ink); font-weight: 600; }
.morelist__tag { padding-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.morelist__older { margin-top: 28px; }
@media (max-width: 800px) {
    .morelist { grid-template-columns: 1fr; }
    .morelist__row:nth-child(2) { padding-top: 22px; }
    .morelist__row { grid-template-columns: 1fr; gap: 8px; }
    .morelist__tag { padding-top: 0; }
}

/* Logo flame: the tongues flicker while the logo is hovered or focused. Path frames share one command list so they morph; browsers without CSS d() just show the still mark. */
@keyframes futsek-flame {
  0%, 100% { d: path("M 8 440 L 8 225 C 8 191 26 173 59 160 C 129 133 213 113 271 68 C 292 51 306 30 319 12 C 330 61 317 133 291 205 C 327 194 360 169 381 137 C 399 207 354 278 280 314 C 218 345 136 364 70 386 C 28 402 8 420 8 440 Z"); }
  22% { d: path("M 8 440 L 8 225 C 8 191 26 173 59 160 C 129 133 209 116 265 74 C 285 58 293 40 303 22 C 321 68 317 133 288 205 C 327 194 348 178 363 152 C 388 217 354 278 280 314 C 218 345 136 364 70 386 C 28 402 8 420 8 440 Z"); }
  48% { d: path("M 8 440 L 8 225 C 8 191 26 173 59 160 C 129 133 217 110 279 60 C 299 42 321 18 333 0 C 341 52 317 133 294 203 C 327 194 375 152 397 120 C 415 192 354 278 280 314 C 218 345 136 364 70 386 C 28 402 8 420 8 440 Z"); }
  74% { d: path("M 8 440 L 8 225 C 8 191 26 173 59 160 C 129 133 213 113 271 68 C 292 51 301 36 311 20 C 325 66 317 133 291 205 C 327 194 353 174 371 146 C 393 212 354 278 280 314 C 218 345 136 364 70 386 C 28 402 8 420 8 440 Z"); }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.masthead__logo, .masthead__mini, .footer-logo):is(:hover, :focus-visible) .logo-mark__flame { animation: futsek-flame 1.1s ease-in-out infinite; }
}
#main:focus { outline: none; } /* skip-link target: focus lands here without a ring around the page */

/* Very narrow screens (320px, or 400% zoom): let rows of buttons and stats wrap instead of scrolling sideways */
@media (max-width: 420px) { .actions { gap: 8px; } .action { padding: 0 13px; } }
@media (max-width: 360px) {
    .actions { flex-wrap: wrap; }
    .profile__stats div { padding: 0 10px; }
    .profile__stats dd { font-size: 30px; }
    .tag-stats__nums { flex-wrap: wrap; row-gap: 16px; }
    .tag-stats__nums div { padding: 0 14px; }
    .tag-stats__nums dt { white-space: normal; }
}
