/*
Theme Name: Buzztify Editorial
Version: 4.5.0
Requires PHP: 7.4
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root {
    --ink:#241d23; --muted:#6e6068; --paper:#f8f6f3;
    --accent:#8a2949; --line:#e5dcd8; --soft:#eee6e2; --white:#fffdfa;
    --display:"Playfair Display",Georgia,serif;
}
:root[data-theme=dark] {
    --ink:#f6edf0; --muted:#d2bbc5; --paper:#21191e; --accent:#ff9cbe;
    --line:#48333e; --soft:#32232b; --white:#291e25;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.65 "DM Sans",system-ui,sans-serif; }
a { color:inherit; }
img { display:block; max-width:100%; height:auto; }
button,input { font:inherit; }
button { cursor:pointer; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
h1,h2,h3 { font:600 1.9rem/1.13 var(--display); letter-spacing:-.028em; margin:0 0 .6em; }
h1 { font-size:clamp(2.3rem,5vw,4.25rem); }
h2 { font-size:clamp(1.55rem,2.7vw,2.2rem); }
h3 { font-size:1.3rem; }
.wrap { width:min(1200px,calc(100% - 56px)); margin-inline:auto; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mast { background:var(--white); border-top:4px solid var(--accent); border-bottom:1px solid var(--line); }
.bar,.nav,.actions,.terms,.section-head { display:flex; align-items:center; gap:18px; }
.bar,.section-head { justify-content:space-between; }
.mast .bar { min-height:83px; }
.brand { flex:none; display:inline-block; }
.brand img { width:204px; height:auto; }
[data-theme=dark] .brand img { filter:brightness(0) invert(1); }
.nav { gap:25px; margin-left:auto; }
.nav a,.actions a,.tile,.list a,.foot a,.cover h2 a { text-decoration:none; }
.nav a { font-size:.91rem; font-weight:700; white-space:nowrap; }
.nav a:hover,.tile:hover,.list a:hover,.foot a:hover,.cover h2 a:hover { color:var(--accent); }
.search { display:flex; background:var(--paper); border:1px solid var(--line); border-radius:8px; }
.search input { width:159px; background:transparent; border:0; padding:6px 8px 6px 12px; color:var(--ink); font-size:.84rem; }
.icon { border:1px solid var(--line); border-radius:8px; width:37px; height:37px; background:var(--white); color:var(--ink); }
.search .icon { border:0; background:none; }
main { padding:40px 0 68px; }
.cover-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:30px; }
.cover,.panel { background:var(--white); border:1px solid var(--line); border-radius:14px; }
.cover { overflow:hidden; position:relative; }
.cover figure { margin:0; }
.cover .art { border-radius:0; }
.cover .terms,.cover h2 { margin-inline:24px; }
.cover .terms { margin-top:21px; }
.cover h2 { margin-top:12px; font-size:clamp(1.75rem,3.6vw,3rem); }
.cover .actions { margin:12px 24px 21px; }
.cover output { font-size:.78rem; color:var(--muted); }
.badge,.terms a { display:inline-block; color:var(--accent); font-weight:700; font-size:.7rem; text-transform:uppercase; letter-spacing:.105em; text-decoration:none; }
.terms { gap:9px; flex-wrap:wrap; }
.terms a { border:1px solid var(--line); border-radius:4px; padding:3px 7px; }
.art { position:relative; display:grid; place-items:center; overflow:hidden; aspect-ratio:16/9; background:var(--soft); color:var(--accent); font:600 2.1rem var(--display); border-radius:8px; }
.art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 25%; }
.cover figure a { display:block; }
.cover figure .art { aspect-ratio:1.78; }
.panel { padding:22px; }
.list { padding:0; margin:0; list-style:none; }
.list a { display:flex; align-items:center; gap:13px; padding:11px 0; border-bottom:1px solid var(--line); font-weight:700; font-size:.92rem; line-height:1.36; }
.list li:last-child a { border-bottom:0; padding-bottom:0; }
.list .art { width:60px; flex:none; aspect-ratio:1; border-radius:7px; font-size:1rem; }
.section { margin-top:44px; }
.section-head { border-top:1px solid var(--line); padding-top:15px; margin-bottom:14px; }
.section-head h2 { margin:0; }
.section-head a { color:var(--accent); font-size:.86rem; font-weight:700; }
.grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.tile { position:relative; display:block; background:var(--white); border:1px solid var(--line); border-radius:10px; overflow:hidden; padding-bottom:13px; }
.tile .art { border-radius:0; aspect-ratio:1.62; margin-bottom:9px; }
.tile strong { display:block; font:600 1.15rem/1.27 var(--display); margin:3px 12px 0; }
.tile small { margin-left:12px; color:var(--accent); font-size:.74rem; font-weight:700; }
.tile .score { position:absolute; top:8px; right:8px; background:#241d23df; color:#fff; border-radius:4px; padding:3px 6px; }
.rail { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 54px) / 4); gap:18px; overflow:auto; scroll-snap-type:x mandatory; padding-bottom:7px; }
.rail .tile { scroll-snap-align:start; }
.hero { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); align-items:center; gap:30px; border-bottom:1px solid var(--line); padding-bottom:25px; }
.hero h1 { margin:10px 0 16px; font-size:clamp(2rem,3.65vw,3.55rem); }
.stats { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.stat { background:var(--white); border:1px solid var(--line); border-radius:7px; padding:7px 11px; }
.stat small { display:block; color:var(--muted); font-size:.72rem; }
.stat a { font-weight:700; }
.actions { flex-wrap:wrap; margin-top:14px; gap:8px; }
.actions button,.actions a { padding:6px 11px; border:1px solid var(--line); background:var(--white); color:var(--ink); border-radius:6px; font-size:.82rem; font-weight:700; }
.actions .vote { border-color:var(--accent); background:var(--accent); color:var(--white); }
.columns { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(210px,1fr); gap:36px; margin-top:23px; }
.side { align-self:start; }
.toc ol { display:grid; grid-template-columns:1fr 1fr; gap:6px 18px; margin:8px 0 0; padding-left:21px; }
.toc a { text-decoration:none; }
.copy { margin-top:23px; overflow-wrap:break-word; }
.copy h2 { scroll-margin-top:14px; margin-top:1.4em; }
.copy p { max-width:72ch; }
.copy a { color:var(--accent); }
.copy table { width:100%; border-collapse:collapse; background:var(--white); }
.copy td,.copy th { padding:9px 11px; border-bottom:1px solid var(--line); text-align:left; }
.foot { background:var(--white); border-top:1px solid var(--line); padding:32px 0; }
.foot-grid { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:20px; }
.foot nav a { display:block; padding:2px 0; }
.trail,.credit { color:var(--muted); font-size:.78rem; margin:0 0 15px; }
.credit { margin-top:8px; }
.pagination { margin-top:25px; }
@media(max-width:900px) {
    .mast .bar { flex-wrap:wrap; gap:10px; padding:12px 0; }
    .nav { order:3; width:100%; overflow:auto; gap:18px; }
    .search { margin-left:auto; }
    .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .rail { grid-auto-columns:32%; }
}
@media(max-width:650px) {
    .wrap { width:calc(100% - 28px); }
    main { padding:24px 0 42px; }
    .mast .bar { gap:8px; }
    .brand img { width:145px; }
    .search input { width:88px; }
    .cover-grid,.hero,.columns { grid-template-columns:1fr; gap:16px; }
    .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .rail { grid-auto-columns:47%; gap:10px; }
    .panel { padding:16px; }
    .toc ol { grid-template-columns:1fr; }
    .foot-grid { grid-template-columns:1fr 1fr; }
}

/* Editorial picks rail */
.pick-carousel { position:relative; }
.pick-carousel .rail { scrollbar-width:none; padding:0; }
.pick-carousel .rail::-webkit-scrollbar { display:none; }
.pick-arrow {
    position:absolute; z-index:2; top:50%; transform:translateY(-50%);
    width:40px; height:40px; padding:0; display:grid; place-items:center;
    background:var(--white); color:var(--accent); border:1px solid var(--line);
    border-radius:50%; box-shadow:0 3px 12px #241d2320; font:26px/1 system-ui,sans-serif;
}
.pick-arrow.previous { left:-17px; }
.pick-arrow.next { right:-17px; }
.pick-arrow:disabled { opacity:.55; cursor:default; box-shadow:none; }
.pick-arrow:not(:disabled):hover { background:var(--accent); color:var(--white); }

/* Profile lead */
.single .hero {
    align-items:stretch; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
    gap:0; background:var(--white); border:1px solid var(--line);
    border-radius:14px; overflow:hidden; padding:0;
}
.profile-portrait { margin:0; display:flex; flex-direction:column; min-width:0; background:var(--soft); }
.profile-portrait .art { flex:1; border-radius:0; aspect-ratio:1.5; }
.profile-portrait .credit { margin:0; padding:7px 12px; font-size:.68rem; background:var(--paper); }
.profile-heading { padding:clamp(22px,4vw,52px); align-self:center; }
.profile-heading .terms a { border:0; padding:0; }
.profile-heading h1 { font-size:clamp(2rem,4.35vw,3.9rem); line-height:1.08; margin:12px 0 24px; }
.profile-heading .stats { border-top:1px solid var(--line); padding-top:14px; gap:20px; }
.profile-heading .stat { border:0; border-radius:0; padding:0; }
.profile-heading .stat + .stat { border-left:1px solid var(--line); padding-left:18px; }
.profile-heading .stat small { margin-bottom:2px; }
.profile-tools {
    display:flex; align-items:center; justify-content:space-between; gap:15px;
    margin:0 0 26px; padding:12px 0; border-bottom:1px solid var(--line);
}
.read-profile { color:var(--accent); text-decoration:none; font-weight:700; font-size:.87rem; }
.read-profile span { margin-left:4px; }
.profile-tools button {
    background:var(--white); color:var(--ink); border:1px solid var(--line);
    padding:8px 13px; border-radius:7px; font-size:.85rem; font-weight:700;
}
.profile-tools button span { color:var(--accent); margin-right:4px; }
#profile-story { scroll-margin-top:24px; }
@media(max-width:650px) {
    .single .hero { grid-template-columns:1fr; }
    .profile-heading { padding:20px; }
    .profile-heading .stats { gap:12px; }
    .profile-heading .stat + .stat { padding-left:12px; }
    .pick-arrow { width:36px; height:36px; }
    .pick-arrow.previous { left:-9px; }
    .pick-arrow.next { right:-9px; }
}

/* Magazine front page */
.home main { padding-top:25px; }
.magazine-lead {
    display:grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
    background:#261720; color:#fff8f2; border-radius:16px; overflow:hidden;
}
.lead-copy { padding:clamp(25px,5vw,73px); align-self:center; }
.eyebrow { color:var(--accent); font-size:.71rem; line-height:1.35; letter-spacing:.13em; text-transform:uppercase; font-weight:700; margin:0 0 12px; }
.lead-copy .eyebrow { color:#ffb5cf; }
.lead-copy h2 { font-size:clamp(3rem,6vw,6.1rem); line-height:1.03; margin:0 0 19px; letter-spacing:-.05em; }
.lead-copy h2 a,.lead-action,.lead-guide { text-decoration:none; }
.lead-copy > p:not(.eyebrow) { color:#eedfe4; max-width:39ch; margin:0 0 24px; }
.lead-actions { display:flex; align-items:flex-start; flex-direction:column; gap:15px; font-size:.89rem; font-weight:700; }
.lead-action { display:inline-flex; gap:10px; align-items:center; background:#fff5f1; color:#261720; padding:10px 15px; border-radius:6px; }
.lead-action:hover { background:#ffdceb; }
.lead-guide { color:#ffd3e4; }
.lead-photo { position:relative; display:block; min-height:460px; }
.lead-photo .art { position:absolute; inset:0; aspect-ratio:auto; border-radius:0; }
.lead-photo .art img { object-position:center 28%; }
.lead-photo:after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,#26172044,transparent 34%); }
.discovery {
    display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
    gap:clamp(18px,5vw,66px); margin-top:34px; padding:clamp(20px,4vw,50px);
    background:var(--white); border:1px solid var(--line); border-radius:16px;
    scroll-margin-top:24px;
}
.discovery-intro h2 { font-size:clamp(2.2rem,4.2vw,3.85rem); margin-bottom:14px; }
.discovery-intro > p:last-child { margin:0; max-width:39ch; color:var(--muted); }
.discovery [hidden] { display:none; }
.guide-filters { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.guide-filters button { border:1px solid var(--line); color:var(--ink); background:var(--paper); padding:6px 11px; border-radius:99px; font-size:.84rem; font-weight:700; }
.guide-filters button[aria-pressed=true] { color:var(--white); background:var(--accent); border-color:var(--accent); }
.guide-item { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 0; border-top:1px solid var(--line); }
.guide-item .eyebrow { margin-bottom:4px; font-size:.65rem; }
.guide-item h3 { font-size:1.28rem; margin:0 0 4px; }
.guide-item p:last-child { margin:0; color:var(--muted); font-size:.87rem; }
.guide-item a { flex:none; color:var(--accent); font-size:.77rem; font-weight:700; text-decoration:none; }
.guide-item a:hover,.lead-guide:hover { text-decoration:underline; }
@media(max-width:760px) {
    .magazine-lead,.discovery { grid-template-columns:1fr; }
    .lead-photo { min-height:0; aspect-ratio:1.5; grid-row:1; }
    .lead-photo:after { background:linear-gradient(0deg,#26172066,transparent 40%); }
    .lead-copy h2 { font-size:clamp(2.7rem,8vw,4.5rem); }
    .discovery { margin-top:20px; }
}
@media(max-width:430px) {
    .guide-item { align-items:flex-start; flex-direction:column; gap:6px; }
}

.daily-desk { margin-top:34px; border:1px solid var(--line); border-top:3px solid var(--accent); background:var(--white); border-radius:13px; padding:clamp(20px,3vw,35px); scroll-margin-top:15px; }
.daily-header { display:flex; align-items:end; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line); padding-bottom:13px; margin-bottom:16px; }
.daily-header h2,.daily-header .eyebrow { margin:0; }
.daily-header time { font-size:.82rem; font-weight:700; color:var(--muted); }
.daily-grid { display:grid; grid-template-columns:1.13fr 1fr 1fr; gap:21px; }
.daily-grid > * { min-width:0; }
.daily-grid > * + * { border-left:1px solid var(--line); padding-left:21px; }
.daily-grid ul { list-style:none; margin:0; padding:0; }
.daily-grid li { display:flex; justify-content:space-between; align-items:center; gap:7px; padding:7px 0; border-bottom:1px solid var(--line); }
.daily-grid li:last-child { border-bottom:0; }
.daily-grid small { display:block; color:var(--muted); }
.daily-grid a { font-weight:700; text-decoration:none; }
.daily-grid a:hover { color:var(--accent); }
.daily-grid button { flex:none; padding:4px 8px; color:var(--accent); background:var(--white); border:1px solid var(--line); border-radius:5px; font-size:.76rem; font-weight:700; }
.daily-grid button[aria-pressed=true] { color:var(--white); background:var(--accent); border-color:var(--accent); }
[data-daily-spotlight] { display:flex; align-items:flex-start; gap:12px; }
[data-daily-spotlight] img { width:76px; height:85px; flex:none; border-radius:6px; object-fit:cover; object-position:center 25%; }
[data-daily-spotlight] p { font-size:.88rem; margin:0 0 7px; }
[data-daily-spotlight] .spotlight-name { font:600 1.3rem/1.15 var(--display); }
.daily-watchlist > p { color:var(--muted); font-size:.9rem; }
.daily-watchlist summary { color:var(--accent); cursor:pointer; font-weight:700; font-size:.87rem; padding:8px 0; }
.daily-watchlist input { width:100%; padding:6px 8px; border:1px solid var(--line); border-radius:5px; color:var(--ink); background:var(--paper); font-size:.85rem; }
[data-daily-directory] { max-height:225px; overflow:auto; }
@media(max-width:810px) {
    .daily-grid { grid-template-columns:1fr 1fr; }
    .daily-grid .daily-feature { grid-column:1/-1; padding-bottom:14px; border-bottom:1px solid var(--line); }
    .daily-grid .daily-birthdays { border-left:0; padding-left:0; }
}
@media(max-width:560px) {
    .daily-grid { grid-template-columns:1fr; gap:14px; }
    .daily-grid .daily-watchlist { border-left:0; padding:12px 0 0; border-top:1px solid var(--line); }
}

.article-listen { display:grid; grid-template-columns:1fr auto; gap:12px 22px; align-items:center; padding:16px 19px 13px; margin-bottom:24px; background:var(--white); border:1px solid var(--line); border-radius:10px; }
.article-listen[hidden] { display:none; }
.listen-start,.listen-settings { display:flex; align-items:center; gap:12px; }
.listen-start p { margin:2px 0 0; color:var(--muted); font-size:.8rem; }
.listen-play { width:43px; height:43px; display:grid; place-items:center; flex:none; color:var(--white); background:var(--accent); border:0; border-radius:50%; }
.listen-settings { gap:9px; flex-wrap:wrap; }
.listen-settings label { display:grid; font-size:.72rem; font-weight:700; color:var(--muted); }
.listen-settings select,.listen-restart { color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:5px; padding:4px 6px; font-size:.82rem; }
.listen-settings select { max-width:190px; }
.listen-restart { align-self:end; }
.listen-restart:disabled { opacity:.5; cursor:default; }
.article-listen progress { width:100%; height:5px; grid-column:1/-1; accent-color:var(--accent); }
@media(max-width:700px) { .article-listen { grid-template-columns:1fr; gap:10px; } }

.newsroom-latest .section-head { align-items:end; }
.newsroom-latest .eyebrow { margin:0 0 5px; }
.news-grid { display:grid; grid-template-columns:1.35fr repeat(3,1fr); gap:12px; }
.news-card { min-width:0; background:var(--white); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.news-card .art { border-radius:0; }
.news-card > div { padding:10px 12px 14px; }
.news-card time,.news-dateline { color:var(--muted); font-size:.8rem; }
.news-card h3 { margin:6px 0 0; font-size:1.2rem; }
.news-card a { text-decoration:none; }
.news-card a:hover { color:var(--accent); }
.news-empty { margin:0; padding:14px 16px; border-left:3px solid var(--accent); background:var(--white); color:var(--muted); }
@media(max-width:720px) { .news-grid { grid-template-columns:1fr 1fr; } }

/* Editorial design system */
:root { --accent:#86334d; --edge:#ddd0ce; --elevation:0 14px 38px #38212d12; }
:root[data-theme=dark] { --accent:#efa5bf; --edge:#614553; --elevation:0 14px 38px #09060a55; }
.skip-link { position:fixed; z-index:100009; top:10px; left:10px; transform:translateY(-150%); background:var(--white); color:var(--ink); padding:8px 12px; }
.skip-link:focus { transform:none; }
.mast { border-top-width:2px; }
.nav a { position:relative; padding:8px 0; }
.nav a[aria-current=page] { color:var(--accent); }
.nav a::after { content:""; position:absolute; inset:auto 0 3px; height:1px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.nav a:is(:hover,:focus-visible,[aria-current=page])::after { transform:scaleX(1); }
.section-head { border-top-color:var(--edge); }
.section-head > a { text-decoration-thickness:1px; text-underline-offset:4px; }
.edition-nav {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(148px,1fr));
    background:var(--white); margin:20px 0 42px; padding:4px 12px;
    border-block:1px solid var(--edge); border-radius:3px; gap:0 12px;
}
.edition-nav a { display:flex; align-items:center; justify-content:space-between; gap:4px; padding:10px 12px; font-size:.88rem; font-weight:700; text-decoration:none; }
.edition-nav a span:last-child { color:var(--accent); transition:transform .2s ease; }
.edition-nav a:hover span:last-child { transform:translateY(3px); }
.magazine-lead { position:relative; box-shadow:var(--elevation); }
.lead-copy { background:radial-gradient(ellipse at 8% 0%,#543044 0%,transparent 65%); }
.lead-photo img { transition:transform .7s cubic-bezier(.2,.75,.2,1); }
.lead-photo:hover img { transform:scale(1.035); }
.lead-copy .eyebrow { border-left:2px solid #f6b5c8; padding-left:9px; }
.edition-nav + .section { margin-top:0; }
.newsroom-latest,.edition-picks,#daily,#start-here { scroll-margin-top:20px; }
.daily-desk { background:linear-gradient(130deg,var(--white) 55%,var(--soft)); border-top-width:2px; }
.discovery { border-color:var(--edge); }
.guide-filters button,.profile-tools button,.listen-play,.pick-arrow { transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease; }
.guide-filters button:not([aria-pressed=true]):hover,.profile-tools button:hover { border-color:var(--accent); color:var(--accent); }
.listen-play:hover,.pick-arrow:not(:disabled):hover { transform:scale(1.045); }
.pick-arrow:not(:disabled):hover { transform:translateY(-50%) scale(1.045); }
.tile { transition:border-color .2s ease,box-shadow .25s ease; }
.tile .art img,.archive-feature .art img,.news-card .art img { transition:transform .42s cubic-bezier(.2,.75,.2,1); }
.tile:hover,.tile:focus-visible { border-color:var(--edge); box-shadow:var(--elevation); }
.tile:hover img,.tile:focus-visible img,.archive-feature-art:hover img,.news-card a:hover img { transform:scale(1.04); }
.edition-picks .tile { background:var(--white); }
.edition-directory .tile { background:transparent; border-color:transparent; border-radius:0; }
.edition-directory .tile .art { border-radius:7px; }
.edition-directory .tile strong,.edition-directory .tile small { margin-left:0; }
.edition-directory .tile:hover { box-shadow:none; }
.archive-mast { border-bottom:1px solid var(--edge); padding:16px 0 25px; margin-bottom:22px; }
.archive-mast h1 { font-size:clamp(3rem,7.5vw,6rem); margin-bottom:0; }
.archive-mast .eyebrow a { text-decoration:none; }
.archive-mast p:last-child { margin-bottom:0; }
.archive-feature { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); overflow:hidden; border-radius:12px; background:var(--soft); border:1px solid var(--edge); }
.archive-feature-art { position:relative; min-height:290px; display:block; }
.archive-feature .art { position:absolute; inset:0; border-radius:0; aspect-ratio:auto; }
.archive-feature > div { align-self:center; padding:clamp(20px,5vw,48px); }
.archive-feature h2 { font-size:clamp(2rem,4vw,4.3rem); margin-bottom:12px; }
.archive-feature h2 a { text-decoration:none; }
.archive-feature p:not(.eyebrow),.archive-empty p { color:var(--muted); }
.archive-cta { display:inline-flex; gap:8px; align-items:center; padding:7px 12px; border:1px solid var(--edge); border-radius:5px; background:var(--white); color:var(--accent); font-size:.85rem; font-weight:700; text-decoration:none; }
.archive-empty { min-height:220px; padding:clamp(22px,5vw,54px); background:var(--white); border:1px solid var(--edge); border-left:3px solid var(--accent); border-radius:7px; }
.edition-article .hero { background:linear-gradient(135deg,var(--white),var(--soft)); border-color:var(--edge); }
.edition-article .stat { background:transparent; }
.edition-article .copy { font-size:1.055rem; line-height:1.78; }
.edition-article .copy > p:first-of-type { font-size:1.14em; color:var(--ink); }
.edition-article .toc { border-left:3px solid var(--accent); }
.edition-article .side { border-color:var(--edge); }
.reading-progress { position:fixed; z-index:10000; inset:0 0 auto; height:3px; pointer-events:none; }
.reading-progress span { display:block; width:100%; height:100%; background:var(--accent); transform:scaleX(0); transform-origin:left; }
.foot { border-top:1px solid var(--edge); }
@keyframes edition-enter { from { opacity:.68; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.edition-enter { animation:edition-enter .48s ease-out both; }
@media(max-width:700px) {
    .archive-feature { grid-template-columns:1fr; }
    .archive-feature-art { min-height:0; aspect-ratio:1.65; }
    .edition-nav { grid-template-columns:1fr 1fr; margin-bottom:24px; }
    .edition-nav a { padding:8px 3px; }
}
@media(prefers-reduced-motion: reduce) {
    .edition-enter { animation:none; }
    .nav a::after,.lead-photo img,.edition-nav a span,.tile,.tile .art img,.archive-feature .art img,.news-card .art img,.guide-filters button,.profile-tools button,.listen-play,.pick-arrow { transition:none; }
    .lead-photo:hover img,.tile:hover img,.tile:focus-visible img,.archive-feature-art:hover img,.news-card a:hover img { transform:none; }
}

/* Layered glass and soft surfaces */
:root { --glass:#fffdfaab; --glass-edge:#ffffffbf; --clay:#efe4e5; --level:0 16px 30px #39212e11; }
:root[data-theme=dark] { --glass:#34242dd9; --glass-edge:#69515d; --clay:#3b2b34; --level:0 16px 30px #0005; }
body { background:radial-gradient(ellipse 65rem 28rem at 15% 0%,var(--soft),transparent 75%),var(--paper); }
.mast,.edition-nav { background:var(--glass); backdrop-filter:blur(14px) saturate(1.16); }
.spatial-cover {
    isolation:isolate;
    display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
    align-items:center; min-height:clamp(425px,48vw,570px);
    padding:24px; border-radius:24px; background:#271b25;
}
.spatial-cover::before {
    content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
    background:radial-gradient(ellipse at var(--light-x,18%) var(--light-y,15%),#e8b0ca46,transparent 58%);
}
.spatial-cover .lead-copy {
    position:relative; z-index:2; margin-right:-62px; padding:clamp(22px,4vw,50px);
    background:linear-gradient(145deg,#402936e8,#261924f2);
    border:1px solid #eac2d348; box-shadow:inset 0 1px 0 #ffffff21,0 12px 36px #140b133f;
    border-radius:18px; backdrop-filter:blur(18px) saturate(1.12);
}
.spatial-cover .lead-copy h2 { font-size:clamp(2.15rem,4.3vw,4.6rem); letter-spacing:-.038em; line-height:1.04; max-width:16ch; }
.spatial-cover .lead-photo { align-self:stretch; min-height:370px; overflow:hidden; border-radius:16px; }
.spatial-cover .lead-photo::after { background:linear-gradient(90deg,#28182372,transparent 25%); }
.cover-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-bottom:16px; }
.cover-meta .eyebrow { margin:0; }
.cover-meta time { color:#e7ccd7; font-size:.76rem; }
.edition-nav { border:1px solid var(--glass-edge); box-shadow:var(--level); border-radius:12px; }
.daily-desk,.discovery { box-shadow:inset 0 1px 0 var(--glass-edge),var(--level); }
.daily-desk { border-radius:20px; }
.discovery { background:linear-gradient(148deg,var(--white),var(--clay)); border-radius:22px; }
.guide-filters button,.daily-grid button,.listen-restart { box-shadow:inset 0 1px 0 var(--glass-edge),0 2px 4px #2a122009; }
.guide-filters button[aria-pressed=true],.daily-grid button[aria-pressed=true] { box-shadow:inset 0 1px 3px #2a12202c; }
.article-listen,.edition-article .side,.edition-article .toc,.archive-empty { background:var(--glass); border-color:var(--edge); box-shadow:var(--level); }
.edition-article .profile-tools { background:var(--glass); border-radius:0 0 12px 12px; padding-inline:12px; }
.archive-mast { padding-inline:clamp(12px,4vw,44px); border:1px solid var(--edge); border-radius:14px; background:linear-gradient(125deg,var(--white),var(--soft)); }
.archive-music { background:radial-gradient(ellipse at 90% 15%,var(--clay),transparent 70%),var(--white); }
.archive-news { background:var(--white); border-left:3px solid var(--accent); }
.archive-feature { box-shadow:var(--level); }
.edition-picks .tile,.news-card { box-shadow:0 6px 18px #39212e0b; }
@media(max-width:760px) {
    .spatial-cover { grid-template-columns:1fr; min-height:0; padding:12px; border-radius:17px; }
    .spatial-cover .lead-photo { min-height:0; aspect-ratio:1.38; grid-row:1; }
    .spatial-cover .lead-copy { margin:-30px 8px 0; padding:18px; }
    .spatial-cover .lead-copy h2 { font-size:clamp(2rem,7.1vw,3.4rem); }
}
