/* Grid — Signal Architecture / 24 Oct 2026.
   One existing CORE controller. Theme owns composition and paint, not player geometry. */
:root {
  --bg:#0c0e0f; --surface:#171b1d; --surface-2:#252b2e;
  --text:#f2f1e9; --muted:#b8c0c1; --accent:#f0e64a; --on-accent:#151710;
  --line:#41494c; --control-border:#889294; --link:var(--accent);
  --radius:0px; --button-radius:0px; --max:1560px;
  --display:Oswald,sans-serif; --body:Manrope,sans-serif;
  --hero-text:var(--text); --hero-muted:var(--muted);
  --player-bg:#171b1d; --player-text:#f2f1e9; --player-error:#ffb8a1;
  --player-motion-color:#f0e64a; --player-disc-duration:20s; --player-wave-duration:1.4s;
  --brand-logo-size:44px;
  color-scheme:dark;
}
html { scroll-padding-top:24px; }
body { font-size:16px; line-height:1.75; }
h1,h2,h3 { font-weight:500; letter-spacing:-.035em; line-height:1.08; }
h1 { font-size:clamp(3.5rem,7vw,7rem); }
h2 { font-size:clamp(2.6rem,4.4vw,4.75rem); }
a:focus-visible,button:focus-visible,input:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.button { transition:background-color .18s,color .18s,border-color .18s; }
.button:hover { transform:none; }
.button.primary:hover { background:#fff77d; }
.button.secondary { border-color:var(--control-border); }
.site-header { min-height:100px; padding-block:20px; gap:28px; background:var(--bg); }
.brand { gap:14px; min-block-size:44px; }
.brand-mark { width:46px; height:46px; border:0; }
.brand-mark img,.brand-mark svg { width:44px; height:44px; object-fit:contain; }
.brand strong { font:600 2rem/1 var(--display); letter-spacing:-.035em; text-transform:uppercase; }
.brand small { font-size:.6rem; letter-spacing:.12em; }
.site-nav { gap:24px; }
.site-nav a { font-size:.75rem; }
.header-listen { border:1px solid var(--control-border); background:transparent; color:var(--text); }
.header-listen:hover { border-color:var(--accent); color:var(--accent); }
.menu-toggle { border-color:var(--control-border); }
.language-switch,.locale-switch { min-height:44px; align-items:center; }
.section { padding-block:96px; }
.grid-home { width:min(var(--max),calc(100% - 80px)); margin:0 auto; }
.grid-home > div { min-width:0; }
.grid-home .section { width:100%; margin:0; }
/* Two physical planes. No photograph ever sits beneath the heading or controls. */
.grid-entry { border-inline:1px solid var(--line); }
.grid-entry .genre-world-hero { display:grid; grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); min-height:0; overflow:hidden; background:var(--bg); }
.grid-entry .hero-layout { grid-column:1; grid-row:1; display:flex; align-items:center; width:100%; margin:0; padding:64px 40px 56px; min-height:690px; gap:0; background:var(--bg); }
.grid-entry .hero-copy { width:100%; max-width:none; padding:0; background:var(--bg); }
.pulse-eyebrow { display:flex; align-items:center; gap:12px; margin:0 0 30px; color:var(--accent); font-size:.6875rem; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.pulse-eyebrow::before { content:''; display:block; width:24px; height:3px; background:currentColor; flex-shrink:0; }
.grid-entry .hero h1 { max-width:8.6ch; font-size:clamp(4.8rem,8.6vw,9rem); line-height:.98; letter-spacing:-.045em; text-transform:uppercase; text-wrap:balance; }
.grid-entry .hero .lead { max-width:40ch; margin:28px 0 0; color:var(--muted); font-size:.9375rem; line-height:1.8; }
.grid-entry .hero-actions { gap:12px 22px; margin-top:30px; }
.grid-entry .hero-listen { min-height:60px; padding:17px 22px; font-size:.8125rem; box-shadow:inset 0 1px #ffffff50; }
.pulse-action-symbol { font-size:.875rem; }
.grid-entry .hero-actions .text-link { color:var(--text); font-size:.75rem; }
.pulse-current-name { display:block; margin-top:20px; font-size:.6875rem; letter-spacing:.025em; color:var(--muted); overflow-wrap:anywhere; }
.grid-entry .hero-media { position:relative; z-index:0; grid-column:2; grid-row:1; inset:auto; min-width:0; min-height:100%; background:#0c0e0f; border-left:1px solid var(--line); overflow:hidden; }
.grid-entry .hero-media img { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:72% center; filter:none; }
.grid-entry .hero-media::after { background:linear-gradient(0deg,#0c0e0f66,transparent 20%,transparent 90%,#0c0e0f44); border:18px solid #0c0e0f20; pointer-events:none; }
/* Rail is a real station selector, not a decorative equalizer or fabricated live feed. */
.world-station-rail { grid-column:1 / -1; background:var(--surface); border-block:1px solid var(--line); padding:16px; }
.world-station-list { gap:0; padding:5px; }
/* Permanent wrapping station matrix: native focus needs no horizontal scroll. */
.world-station-list.pulse-channel-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); overflow:visible; scroll-snap-type:none; }
.world-station { position:relative; display:flex; align-items:center; min-width:0; gap:4px; min-height:124px; padding:10px 12px; border:1px solid transparent; border-right-color:var(--line); border-bottom-color:var(--line); background:transparent; transition:background-color .18s,border-color .18s; }
.world-station:hover { background:#252b2e; }
.world-station[data-pulse-current='true'] { background:#282c20; border-color:#b8b043; box-shadow:inset 0 3px var(--accent); }
.world-station .pulse-channel-select { flex:1; min-width:0; min-height:96px; padding:8px; gap:14px; border:0; background:transparent; color:var(--text); }
.world-station .pulse-channel-art { width:30px; height:30px; flex-basis:30px; object-fit:contain; }
.pulse-channel-meta strong { font-size:.875rem; line-height:1.4; font-weight:800; }
.pulse-channel-meta > span { margin-top:5px; color:var(--muted); font-size:.6875rem; }
.pulse-channel-status { margin-top:6px; color:var(--muted); font-size:.625rem; }
.world-station .pulse-channel-request { position:relative; display:grid; place-items:center; width:44px; height:44px; min-height:44px; flex:0 0 44px; padding:0; border:1px solid var(--accent); background:var(--accent); color:var(--on-accent); border-radius:0; }
.world-station .pulse-channel-request .pulse-request-label { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.world-station [hidden],.pulse-catalog [hidden] { display:none; }
/* Silver catalogue: a station instrument, not a wall of cards. Local color tokens
   travel with this panel, including visible focus and source-derived filters. */
.grid-catalog { margin-top:40px; padding:52px 40px; background:#cbd0cd; color:#171c1e; --text:#171c1e; --muted:#424c4e; --line:#8a9492; --accent:#252f30; --on-accent:#f2f1e9; --link:#252f30; --control-border:#626f70; }
.grid-catalog .live-section { display:grid; grid-template-columns:minmax(0,.36fr) minmax(0,1fr); align-items:start; gap:48px; padding:0; }
.section-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr); align-items:start; gap:24px 64px; margin-bottom:42px; }
.section-head h2 { max-width:14ch; }
.section-head p { max-width:50ch; font-size:.9375rem; }
.section-head > a { grid-column:auto; justify-self:start; white-space:normal; }
.grid-catalog .section-head { display:flex; flex-direction:column; align-items:flex-start; gap:24px; margin:0; }
.grid-catalog .section-head h2 { max-width:8ch; font-size:clamp(2.8rem,4.3vw,4.5rem); text-transform:uppercase; }
.grid-catalog .section-head p { max-width:28ch; font-size:.8125rem; line-height:1.85; }
.grid-catalog .section-head > a { font-size:.75rem; text-decoration:underline; }
.pulse-filterbar { gap:8px; margin:0 0 16px; }
.pulse-filter { min-height:44px; min-width:44px; padding:10px 14px; border:1px solid var(--control-border); border-radius:0; background:transparent; color:var(--text); font-size:.75rem; font-weight:650; }
.pulse-filter:hover { background:#ffffff22; border-color:var(--text); }
.pulse-filter[aria-pressed='true'] { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.pulse-filter-status { margin:12px 0 20px; color:var(--muted); font-size:.6875rem; }
.station-grid { grid-template-columns:1fr; gap:0; border-top:1px solid var(--line); }
.station-card { grid-template-columns:34px minmax(0,1.3fr) minmax(100px,.55fr) minmax(140px,.7fr); gap:0 20px; align-items:start; padding:28px 0; border-color:var(--line); background:transparent; }
.station-card::before { content:attr(data-order); grid-column:1; grid-row:1; padding-top:5px; color:var(--muted); font:500 .75rem/1.5 var(--body); font-variant-numeric:tabular-nums; }
.station-identity { display:none; }
.station-content { grid-column:2; grid-row:1; }
.station-card h2,.station-card h3 { font:750 1rem/1.4 var(--body); letter-spacing:-.025em; }
.station-card p { margin-top:10px; color:var(--muted); font-size:.75rem; line-height:1.8; }
.station-meta { grid-column:3; grid-row:1; display:flex; flex-direction:column; gap:5px; margin:3px 0 0; color:var(--muted); font-size:.6875rem; }
.station-actions { grid-column:4; grid-row:1; display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin:0; }
.station-action { min-height:44px; padding:10px 12px; border:1px solid var(--control-border); border-radius:0; color:var(--text); font-size:.6875rem; }
.station-action:hover { background:#ffffff22; border-color:var(--text); }
.station-detail { min-height:44px; font-size:.6875rem; color:var(--muted); }
.station-card.is-current::before { color:var(--text); font-weight:800; }
.station-card.is-current .station-action { border-color:var(--text); }
.station-card:hover h2,.station-card:hover h3 { color:var(--text); }
/* Editorial spread: large physical detail and an offset text column. */
.grid-editorial { margin-top:96px; border-block:1px solid var(--line); }
.grid-editorial .editorial-feature { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); align-items:center; gap:0; padding:0; }
.grid-editorial .editorial-media { display:block; width:100%; aspect-ratio:1; min-height:1px; overflow:hidden; background:var(--surface); border-right:1px solid var(--line); }
.grid-editorial .editorial-media img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; filter:none; }
.grid-editorial .editorial-copy { padding:56px; }
.grid-editorial .editorial-copy::before { content:''; display:block; width:42px; height:4px; margin-bottom:36px; background:var(--accent); }
.grid-editorial .editorial-copy h2 { max-width:14ch; font-size:clamp(2.8rem,4.7vw,5rem); text-transform:uppercase; }
.grid-editorial .editorial-copy p { max-width:36ch; margin:26px 0; font-size:.9375rem; line-height:1.8; }
.grid-editorial .text-link { font-size:.75rem; }
/* Reading index replaces three equal dashboard cards. */
.grid-reading .section-head { padding-bottom:32px; border-bottom:1px solid var(--line); margin:0; }
.grid-reading .section-head h2 { text-transform:uppercase; }
.content-grid { grid-template-columns:1fr; gap:0; counter-reset:grid-reading; }
.journal-card { display:grid; grid-template-columns:64px minmax(0,1fr) minmax(0,.7fr) auto; gap:20px 36px; align-items:start; padding:36px 0; border-top:0; border-bottom:1px solid var(--line); background:transparent; }
.journal-card::before { counter-increment:grid-reading; content:counter(grid-reading,decimal-leading-zero); grid-column:1; grid-row:1 / 4; font:400 2.3rem/1 var(--display); color:var(--muted); }
.journal-card .article-category { grid-column:2; grid-row:1; order:0; margin:0; color:var(--accent); font-size:.625rem; font-weight:750; letter-spacing:.1em; text-transform:uppercase; }
.journal-card h2,.journal-card h3 { grid-column:2; grid-row:2; max-width:23ch; font-size:clamp(1.8rem,2.7vw,2.8rem); letter-spacing:-.025em; }
.journal-card p { grid-column:3; grid-row:2; margin:0; color:var(--muted); font-size:.8125rem; line-height:1.8; }
.journal-card > a { grid-column:4; grid-row:2; min-height:44px; margin:0; font-size:.6875rem; }
.journal-index { grid-template-columns:1fr; gap:0; counter-reset:grid-reading; }
.grid-about { border-top:4px solid var(--accent); background:var(--surface); }
.grid-about .discover-section { grid-template-columns:minmax(0,.85fr) minmax(0,1fr); gap:24px 80px; padding:64px 56px; align-items:center; }
.grid-about .discover-section h2 { grid-row:1 / 3; font-size:clamp(6rem,14vw,14rem); line-height:.9; letter-spacing:-.055em; text-transform:uppercase; }
.grid-about .discover-section p { max-width:44ch; font-size:1.0625rem; line-height:1.9; }
.grid-about .discover-actions { grid-column:2; gap:12px 28px; }
.grid-about .text-link { font-size:.75rem; }
.site-footer { margin-top:64px; padding-top:40px; gap:26px 60px; }
.site-footer strong { font:500 3rem/1 var(--display); letter-spacing:-.035em; text-transform:uppercase; }
.site-footer p { font-size:.75rem; line-height:1.85; }
.site-footer nav { gap:4px; }
.site-footer nav a { display:inline-flex; align-items:center; min-height:44px; }
.copyright { color:var(--muted); }
/* Supporting pages remain real SSR routes with an editorial rather than app shell. */
.page-inner .prose { max-width:76ch; }
.prose h1 { max-width:18ch; font-size:clamp(3rem,6.2vw,6.5rem); line-height:1.08; text-transform:uppercase; overflow-wrap:anywhere; }
.prose .lead { font-size:1.0625rem; }
.prose p,.prose li { font-size:1rem; line-height:1.95; }
.prose h2 { padding-top:20px; border-top:1px solid var(--line); font-size:clamp(1.9rem,3vw,2.8rem); }
.prose a { overflow-wrap:anywhere; }
.prose dt,.prose dd { min-width:0; }
.prose dl { gap:14px 28px; }
.breadcrumbs { flex-wrap:wrap; gap:8px 14px; font-size:.75rem; }
.breadcrumbs a { color:var(--muted); }
.notice { border-left:3px solid var(--accent); background:var(--surface); padding:24px; }
.external-dialog { border-color:var(--control-border); border-radius:0; background:var(--surface); }
.external-dialog::backdrop { background:#040607d9; }
.external-dialog h2 { font-size:2.3rem; }
.external-dialog .button.secondary { border-color:var(--control-border); }
/* Paint only. CORE late CSS owns transport, dock/mini geometry and measured reserve. */
.player-shell { border-color:var(--control-border); background:linear-gradient(125deg,#2c3336,#171b1d 65%); box-shadow:0 12px 48px #0009,inset 0 1px #ffffff14; }
.player-shell .player-disc { background:#252b2e url('/assets/brand-logo.svg') center/72% no-repeat; border-color:#889294; box-shadow:inset 0 0 0 2px #0c0e0f; }
.player-wave { background:var(--accent); }
.player-shell[data-player-motion='running'] .player-disc { border-color:var(--accent); box-shadow:inset 0 0 0 2px #0c0e0f,0 0 0 1px #f0e64a44; }
.player-shell[data-player-state='error'] { border-color:var(--player-error); }
.player-shell .play-button { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.player-shell .icon-button { color:var(--player-text); }
.player-source { color:var(--accent); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .genre-world-hero .genre-hero { transform:translate(var(--pulse-shift-x,0px),var(--pulse-shift-y,0px)); transition:transform .35s ease-out; }
}
@media (max-width:1200px) {
  .grid-home { width:calc(100% - 48px); }
  .grid-entry .hero-layout { min-height:650px; padding:48px 28px; }
  .grid-entry .hero h1 { font-size:clamp(4.6rem,8.8vw,7rem); }
  .grid-catalog { padding:40px 28px; }
  .grid-catalog .live-section { grid-template-columns:minmax(0,.34fr) minmax(0,1fr); gap:32px; }
  .station-card { grid-template-columns:28px minmax(0,1fr) minmax(128px,.6fr); gap:0 16px; }
  .station-content { grid-column:2; grid-row:1; }
  .station-meta { grid-column:2; grid-row:2; flex-direction:row; flex-wrap:wrap; gap:4px 12px; margin-top:14px; }
  .station-actions { grid-column:3; grid-row:1 / 3; }
  .grid-editorial .editorial-copy { padding:36px; }
  .journal-card { grid-template-columns:44px minmax(0,1fr) minmax(0,.7fr); gap:18px 24px; }
  .journal-card > a { grid-column:2; grid-row:3; }
  .grid-about .discover-section { gap:24px 48px; padding:48px 40px; }
}
@media (max-width:960px) {
  .grid-entry .genre-world-hero { grid-template-columns:minmax(0,1fr) minmax(0,.85fr); }
  .grid-entry .hero-layout { padding:40px 28px; min-height:620px; }
  .grid-entry .hero h1 { font-size:clamp(4rem,9vw,5.8rem); }
  .grid-entry .hero-media img { object-position:69% center; }
  .grid-entry .hero .lead { font-size:.875rem; }
  .grid-catalog .live-section { grid-template-columns:1fr; gap:32px; }
  .grid-catalog .section-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px 40px; }
  .grid-catalog .section-head h2 { grid-row:1 / 3; max-width:10ch; }
  .grid-catalog .section-head p { max-width:none; }
  .grid-catalog .section-head > a { grid-column:2; }
  .station-card { grid-template-columns:34px minmax(0,1.3fr) minmax(100px,.55fr) minmax(140px,.7fr); gap:0 18px; }
  .station-content { grid-column:2; grid-row:1; }
  .station-meta { grid-column:3; grid-row:1; flex-direction:column; margin-top:3px; }
  .station-actions { grid-column:4; grid-row:1; }
  .grid-editorial { margin-top:64px; }
  .grid-editorial .editorial-copy { padding:28px; }
  .grid-editorial .editorial-copy h2 { font-size:clamp(2.5rem,5vw,3.5rem); }
  .grid-editorial .editorial-copy::before { margin-bottom:24px; }
  .section-head { gap:24px 40px; }
  .section { padding-block:72px; }
  .grid-about .discover-section { gap:24px 36px; padding:40px 32px; }
}
@media (max-width:700px) {
  .site-header { min-height:80px; padding:14px 20px; gap:12px; }
  .brand { gap:10px; }
  .brand-mark { --brand-logo-size:34px; width:36px; height:36px; }
  .brand-mark img,.brand-mark svg { width:34px; height:34px; }
  .brand strong { font-size:1.65rem; }
  .brand small { font-size:.52rem; }
  .grid-home { width:calc(100% - 32px); }
  .grid-entry .genre-world-hero { grid-template-columns:minmax(0,1fr); }
  .grid-entry .hero-layout { grid-column:1; grid-row:1; min-height:0; padding:36px 24px 32px; }
  .grid-entry .hero h1 { font-size:clamp(4rem,16vw,6rem); max-width:9ch; }
  .pulse-eyebrow { font-size:.625rem; margin-bottom:24px; }
  .grid-entry .hero .lead { max-width:39ch; margin-top:24px; font-size:.875rem; }
  .grid-entry .hero-actions { margin-top:24px; gap:12px 20px; }
  .grid-entry .hero-listen { min-height:56px; padding:14px 18px; font-size:.75rem; }
  .grid-entry .hero-media { grid-column:1; grid-row:2; min-height:0; width:100%; aspect-ratio:3/2; border-left:0; border-top:1px solid var(--line); }
  .grid-entry .hero-media img { object-position:center; object-fit:cover; }
  .grid-entry .hero-media::after { border-width:10px; background:linear-gradient(0deg,#0c0e0f33,transparent 40%); }
  .world-station-rail { grid-row:3; padding:8px; }
  .world-station { min-height:116px; padding:8px; }
  .world-station .pulse-channel-select { gap:10px; }
  .grid-catalog { margin-top:24px; padding:32px 20px; }
  .grid-catalog .live-section { gap:28px; }
  .grid-catalog .section-head,.section-head { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; margin-bottom:28px; }
  .grid-catalog .section-head { margin:0; }
  .grid-catalog .section-head h2 { grid-row:auto; max-width:11ch; font-size:3rem; }
  .grid-catalog .section-head p { max-width:44ch; }
  .section-head > a,.grid-catalog .section-head > a { grid-column:auto; }
  .section-head h2 { font-size:clamp(2.5rem,10vw,3.75rem); }
  .section-head p { font-size:.875rem; }
  .pulse-filter { padding-inline:12px; font-size:.6875rem; }
  .station-card { grid-template-columns:24px minmax(0,1fr); gap:0 12px; padding:24px 0; }
  .station-card::before { grid-row:1 / 4; }
  .station-content { grid-column:2; grid-row:1; }
  .station-meta { grid-column:2; grid-row:2; flex-direction:row; flex-wrap:wrap; gap:4px 12px; margin-top:14px; }
  .station-actions { grid-column:2; grid-row:3; flex-direction:row; align-items:center; flex-wrap:wrap; gap:8px 16px; margin-top:16px; }
  .station-card h2,.station-card h3 { font-size:1rem; }
  .station-card p { font-size:.8125rem; }
  .station-action,.station-detail { font-size:.6875rem; }
  .grid-editorial { margin-top:48px; }
  .grid-editorial .editorial-feature { grid-template-columns:minmax(0,1fr); }
  .grid-editorial .editorial-media { border-right:0; border-bottom:1px solid var(--line); }
  .grid-editorial .editorial-copy { padding:32px 24px; }
  .grid-editorial .editorial-copy h2 { max-width:14ch; font-size:clamp(2.75rem,11vw,4rem); }
  .grid-editorial .editorial-copy p { font-size:.875rem; }
  .section { padding-block:56px; }
  .grid-reading .section-head { padding-bottom:28px; margin:0; }
  .content-grid,.journal-index { grid-template-columns:minmax(0,1fr); gap:0; }
  .journal-card { grid-template-columns:28px minmax(0,1fr); gap:16px 18px; padding:28px 0; }
  .journal-card::before { font-size:1.5rem; }
  .journal-card h2,.journal-card h3 { grid-column:2; grid-row:2; max-width:22ch; font-size:2rem; }
  .journal-card .article-category { grid-column:2; grid-row:1; }
  .journal-card p { grid-column:2; grid-row:3; font-size:.8125rem; }
  .journal-card > a { grid-column:2; grid-row:4; font-size:.6875rem; }
  .grid-about .discover-section { grid-template-columns:minmax(0,1fr); gap:28px; padding:36px 24px; }
  .grid-about .discover-section h2 { grid-row:auto; font-size:7rem; }
  .grid-about .discover-section p { font-size:.9375rem; }
  .grid-about .discover-actions { grid-column:1; gap:12px 24px; }
  .site-footer { margin-top:40px; padding-top:32px; }
  .site-footer nav { align-items:flex-start; }
  .prose h1 { font-size:clamp(2.75rem,12vw,4.5rem); }
  .prose .lead { font-size:1rem; }
  .prose p,.prose li { font-size:.9375rem; }
  .prose dl { gap:6px; }
}
@media (max-width:360px) {
  .grid-entry .hero-layout { padding-inline:18px; }
  .grid-entry .hero h1 { font-size:3.75rem; }
  .grid-catalog { padding-inline:16px; }
  .grid-catalog .section-head h2 { font-size:2.75rem; }
  .brand strong { font-size:1.45rem; }
}
@media (prefers-reduced-motion:reduce) {
  .genre-world-hero .genre-hero { transform:none; transition:none; }
  .button,.world-station { transition:none; }
}
