/*
 * Editorial v1 layout with the scoped v2 forest/glass/radio update. Load last.
 * Content is static. Glass, optics and pressed motion are explicit opt-ins.
 */
body.editorial-v1.video-bg {
    min-width: 0;
    --ink: #ebf2f7;
    --ink-soft: rgba(235, 242, 247, .78);
    --ink-faint: rgba(190, 205, 215, .7);
    --spring: cubic-bezier(.2, .8, .2, 1);
    --soft-ease: cubic-bezier(.2, .8, .2, 1);
    --article-shell-width: 1120px;
    --article-header-width: 1020px;
    --article-reading-width: 900px;
    --article-wide-width: 1020px;
    padding-bottom: 0;
    background-color: #06121c;
    overflow-x: clip;
}
body.editorial-v1:not([data-current-page="home"]) {
    background-image: none;
}
.editorial-v1::before { background: none; }
.editorial-v1 .ambient-blob,
.editorial-v1 .cursor-aurora { display: none; }
.editorial-v1 .grain { opacity: .025; }
.editorial-v1 .page-shell { width: min(calc(100% - 64px), var(--page-width)); }
.editorial-v1 .page-stage { min-height: calc(100svh - 270px); }
.editorial-v1 .site-header { padding: 18px 32px 0; animation: none; }
.editorial-v1 .topbar.liquid-surface {
    display: flex;
    justify-content: space-between;
    min-height: 60px;
    padding: 8px 14px 8px 20px;
    border-radius: 24px;
    transform: none;
    box-shadow: 0 4px 8px rgba(0,0,0,.25), 0 -10px 25px inset rgba(0,0,0,.15);
}
.editorial-v1 .brand-link { min-width: 0; gap: 9px; }
.editorial-v1 .brand-title { font-size: 20px; letter-spacing: .1em; text-shadow: none; }
.editorial-v1 .brand-dot { width: 4px; height: 4px; box-shadow: none; }
.editorial-v1 .brand-dot-warm { display: none; }
.editorial-v1 .nav-links { justify-content: flex-end; gap: 4px; }
.editorial-v1 .nav-link {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 500;
    transition: color 180ms ease, background 180ms ease;
}
.editorial-v1 .nav-link:hover,
.editorial-v1 .nav-link.active {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, .07);
}
.editorial-v1 .nav-link::after { display: none; }
.editorial-v1 .menu-toggle { background: rgba(255, 255, 255, .04); border-radius: 12px; box-shadow: none; }
.editorial-v1 .menu-toggle > span {
    transition: transform 180ms ease;
}
.editorial-v1 .liquid-surface {
    --hover-lift: 0px;
    --hover-scale: 1;
    transition: transform 120ms ease, color 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 4px 8px rgba(0,0,0,.25), 0 -10px 25px inset rgba(0,0,0,.15);
}
.editorial-v1 [data-liquid-pressable] {
    transition: transform 120ms ease, background 180ms ease, color 180ms ease;
}
.editorial-v1 [data-liquid-pressable]:not(:disabled):active,
.editorial-v1 [data-liquid-pressable].is-liquid-pressed {
    --hover-scale: .98;
    transform: scale(.98);
}
.editorial-v1 .spring-button,
.editorial-v1 .icon-action { border-radius: 13px; filter: none; }
.editorial-v1 .spring-button:hover,
.editorial-v1 .icon-action:hover {
    --hover-lift: 0px;
    --hover-scale: 1;
    box-shadow: 0 10px 30px rgba(0, 8, 20, .12);
    filter: none;
}
.editorial-v1 :focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* Homepage: an identity and an open table of contents, not a dashboard. */
.editorial-v1 .site-video-scrim {
    background:
        linear-gradient(90deg, rgba(2, 13, 23, .7), rgba(2, 13, 23, .25) 50%, transparent 75%),
        linear-gradient(180deg, rgba(2, 13, 23, .18), rgba(2, 13, 23, .08) 55%, rgba(2, 13, 23, .5));
}
.editorial-v1:not([data-current-page="home"]) .site-video-scrim {
    background:
        linear-gradient(180deg, rgba(2,12,20,.48) 0%, rgba(2,12,20,.58) 42%, rgba(2,12,20,.66) 100%),
        linear-gradient(90deg, rgba(3,14,22,.35), rgba(3,14,22,.20));
}
.editorial-v1 .home-cinematic,
.editorial-v1 .home-cinematic:has(.home-radio.is-open) {
    display: block;
    height: auto;
    min-height: 0;
    padding: clamp(76px, 12vh, 120px) 0 12px;
}
.editorial-v1 .home-cinematic-layout,
.editorial-v1 .home-cinematic:has(.home-radio.is-open) .home-cinematic-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: clamp(64px, 6vw, 96px);
    align-items: start;
    height: auto;
    min-height: 0;
}
.editorial-v1 .home-identity { top: 0; left: 0; padding: 10px 0 0; gap: 36px; justify-content: flex-start; }
.editorial-v1 .home-identity-copy { text-shadow: none; }
.editorial-v1 .home-identity h1 {
    font-size: clamp(72px, 6.5vw, 96px);
    letter-spacing: .045em;
    line-height: 1.12;
}
.editorial-v1 .home-identity-role {
    margin-top: 24px;
    font-size: 17px;
    letter-spacing: .07em;
    font-weight: 500;
}
.editorial-v1 .home-identity-intro {
    margin-top: 20px;
    max-width: 37em;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: .015em;
}
.editorial-v1 .home-identity-actions { margin-top: 28px; gap: 12px; flex-wrap: wrap; }
.editorial-v1 .home-read-action { min-width: 0; min-height: 52px; padding: 16px 24px; font-size: 15px; }
.editorial-v1 .home-read-action svg { width: 17px; height: 17px; margin-left: 0; }
.editorial-v1 .home-social-action { width: 46px; height: 46px; border-radius: 50%; }
.editorial-v1 .home-social-action .profile-action-logo { width: 19px; height: 19px; }
.editorial-v1 .home-radio,
.editorial-v1 .home-radio.is-open {
    width: min(100%, 360px);
    height: auto;
    min-height: 64px;
    margin-top: 0;
    padding: 10px;
    border-radius: 20px;
    justify-content: flex-start;
    overflow: hidden;
    transform: none;
}
.editorial-v1 .home-radio .radio-head { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; height: 44px; }
.editorial-v1 .home-radio .radio-cover { width: 44px; height: 44px; border-radius: 12px; box-shadow: none; }
.editorial-v1 .home-radio .radio-meta { text-align: left; }
.editorial-v1 .home-radio .radio-meta h2 { font-size: 16px; letter-spacing: .02em; }
.editorial-v1 .home-radio-state { margin: 4px 0 0; font-size: 12px; letter-spacing: .02em; font-weight: 400; }
.editorial-v1 .home-radio .radio-actions { gap: 6px; justify-content: flex-end; }
.editorial-v1 .home-radio .radio-button { width: 32px; height: 36px; min-height: 0; border-radius: 12px; font-size: 12px; }
.editorial-v1 .home-radio .radio-toggle { width: 44px; margin: 0; border: 0; background: rgba(255, 255, 255, .04); }
.editorial-v1 .home-radio .radio-button svg { width: 16px; height: 16px; }
.editorial-v1 .home-radio .radio-panel {
    margin: 0;
    padding: 0 4px;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: max-height 220ms ease, padding 220ms ease, opacity 220ms ease;
}
.editorial-v1 .home-radio.is-open .radio-panel {
    margin-top: 10px;
    max-height: 540px;
    padding: 14px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    overflow-y: auto;
}
.editorial-v1 .home-map {
    top: 0;
    left: 0;
    display: block;
    margin: 0;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}
.editorial-v1 .home-map::before,
.editorial-v1 .home-map::after,
.editorial-v1 .home-map-path::before,
.editorial-v1 .home-map-node::before,
.editorial-v1 .home-map-node::after { display: none; }
.editorial-v1 .home-map-heading { padding: 0 0 18px; border-color: rgba(255, 255, 255, .12); }
.editorial-v1 .home-map-heading h2 { font-size: 27px; letter-spacing: 0; }
.editorial-v1 .home-map-path { display: block; margin: 0; padding: 0; height: auto; }
.editorial-v1 .home-map-node {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    background: transparent;
    text-align: left;
    box-shadow: none;
    transform: none;
    opacity: 1;
}
.editorial-v1 .home-map-index { color: var(--ink-faint); font-family: Georgia, serif; font-size: 12px; font-variant-numeric: tabular-nums; }
.editorial-v1 .home-map-copy { display: grid; gap: 5px; padding: 0; }
.editorial-v1 .home-map-node .star-label { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.editorial-v1 .home-map-description { display: block; margin-top: 0; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--ink-faint); letter-spacing: 0; }
.editorial-v1 .home-node-arrow { margin: 0; font-size: 18px; color: var(--ink-faint); transition: transform 200ms ease; }
.editorial-v1 a.home-map-node:hover { background: transparent; box-shadow: none; transform: none; }
.editorial-v1 .home-map .home-map-node:hover,
.editorial-v1 .home-map .home-map-node:focus-visible { transform: none; filter: none; }
.editorial-v1 a.home-map-node:hover .star-label { color: var(--cyan); }
.editorial-v1 a.home-map-node:hover .home-node-arrow { transform: translateX(3px); }
.editorial-v1 .home-map-node.is-pending .star-label { color: var(--ink-faint); }
.editorial-v1 .home-map-node.is-pending { cursor: default; opacity: .7; }
.editorial-v1 .home-map .home-map-node.is-pending .home-map-description { margin-top: 0; }

/* Listing pages: immediately useful editorial content. */
.editorial-v1 .articles-index-page,
.editorial-v1 .software-index-page { padding: 48px 0 0; }
.editorial-v1 .articles-intro { padding: 0 0 30px; }
.editorial-v1 .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
    min-height: 150px;
    gap: 32px;
    align-items: center;
    margin-bottom: 30px;
}
.editorial-v1 .articles-intro .section-heading { margin-bottom: 0; }
.editorial-v1 .section-heading h1 { font-size: 54px; }
.editorial-v1 .section-heading > p { font-size: 14px; line-height: 1.85; color: var(--ink-faint); margin: 0; }
.editorial-v1 .eyebrow { color: var(--cyan); font-size: 11px; font-weight: 500; letter-spacing: .18em; margin-bottom: 14px; }
.editorial-v1 .article-showcase { grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr); gap: 24px; }
.editorial-v1 .article-card,
.editorial-v1 .resource-card {
    background: rgba(8, 22, 32, .78);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    box-shadow: none;
    transition: transform 200ms ease, border-color 200ms ease;
}
.editorial-v1 .article-card:hover,
.editorial-v1 .resource-card:hover {
    --hover-scale: 1;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: none;
}
.editorial-v1 .article-featured { min-height: 0; grid-template-rows: 270px auto; }
.editorial-v1 .article-visual,
.editorial-v1 .article-cover img { min-height: 0; height: 270px; }
.editorial-v1 .article-cover img { transition: transform 220ms ease; }
.editorial-v1 .article-featured:hover .article-cover img { transform: scale(1.02); filter: none; }
.editorial-v1 .article-copy { padding: 26px 28px 28px; }
.editorial-v1 .article-copy h2 { margin: 16px 0 12px; font-size: 30px; }
.editorial-v1 .article-copy > p { font-size: 14px; line-height: 1.8; }
.editorial-v1 .article-stack { gap: 24px; }
.editorial-v1 .article-compact { grid-template-columns: 54px minmax(0, 1fr); }
.editorial-v1 .compact-index { font-size: 23px; border-color: rgba(255, 255, 255, .08); }
.editorial-v1 .article-compact .article-copy { padding: 26px; gap: 0; }
.editorial-v1 .article-compact .article-copy h2 { font-size: 25px; }
.editorial-v1 .article-compact .text-link { margin-top: 20px; }
.editorial-v1 .text-link { font-weight: 500; }
.editorial-v1 .resource-grid { grid-template-columns: minmax(0, 1fr); }
.editorial-v1 .software-index-page .resource-card {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 24px;
    max-width: none;
    min-height: 0;
    padding: 30px;
}
.editorial-v1 .software-index-page .resource-icon,
.editorial-v1 .software-index-page .resource-icon img { width: 64px; height: 64px; }
.editorial-v1 .resource-icon { transition: transform 200ms ease; border-radius: 16px; }
.editorial-v1 .resource-card:hover .resource-icon { transform: scale(1.03); filter: none; }
.editorial-v1 .resource-heading h2 { font-size: 28px; }
.editorial-v1 .resource-description { max-width: 48em; font-size: 14px; }
.editorial-v1 .resource-details { gap: 8px 18px; margin-top: 16px; }
.editorial-v1 .resource-details span { padding: 0; border: 0; border-radius: 0; background: none; font-weight: 400; font-size: 11px; color: var(--ink-faint); }
.editorial-v1 .resource-link { grid-column: auto; padding: 0; border: 0; gap: 14px; white-space: nowrap; align-self: center; font-size: 13px; font-weight: 500; }

/* Long-form pages: no glass shell and a measured reading width. */
.editorial-v1 .article-page { max-width: 960px; padding: 38px 0 0; }
.editorial-v1 .article-back { margin: 0 auto 30px; display: flex; max-width: 800px; width: fit-content; margin-left: max(0px, calc((100% - 800px) / 2)); font-weight: 500; }
.editorial-v1 .article-container.article-detail {
    width: 100%;
    max-width: 960px;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.editorial-v1 .article-detail-header { max-width: 800px; padding-bottom: 32px; margin-bottom: 42px; border-color: rgba(255, 255, 255, .08); }
.editorial-v1 .article-detail-header h1 { font-size: clamp(46px, 4vw, 58px); letter-spacing: -.02em; line-height: 1.25; }
.editorial-v1 .article-subtitle { font-size: 17px; font-weight: 500; }
.editorial-v1 .article-lead { color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.editorial-v1 .article-detail-meta { font-weight: 400; letter-spacing: .01em; gap: 10px 20px; }
.editorial-v1 .article-detail .article-content { max-width: 790px; font-size: 17px; line-height: 1.85; color: rgba(235, 242, 247, .9); overflow-wrap: anywhere; }
.editorial-v1 .article-detail .article-content h2 { font-size: 32px; margin-top: 48px; }
.editorial-v1 .article-callout {
    padding: 20px;
    border: 0;
    border-left: 2px solid rgba(129, 227, 244, .5);
    border-radius: 12px;
    background: rgba(13, 31, 42, .72);
    box-shadow: none;
}
.editorial-v1 .article-callout-warning { border-left-color: rgba(240, 199, 138, .55); }
.editorial-v1 .article-figure {
    border-radius: 14px;
    border-color: rgba(255, 255, 255, .08);
    background: rgba(8, 22, 32, .78);
    box-shadow: none;
}
.editorial-v1 .article-figure figcaption { color: var(--ink-faint); font-size: 12px; line-height: 1.7; }
.editorial-v1 .article-content .article-figure img.is-viewable-image:hover { transform: none; filter: none; }
.editorial-v1 .article-container .article-content code {
    color: #d2e8f3 !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 6px;
}
.editorial-v1 .code-block { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .07); border-radius: 12px; color: #d2e8f3; }
.editorial-v1 .code-block code { background: none !important; border: 0 !important; }
.editorial-v1 .article-source { border-radius: 13px; font-weight: 500; transition: background 180ms ease; }
.editorial-v1 .article-source:hover { transform: none; }
.editorial-v1 .image-viewer { transform: none; transition: opacity 180ms ease; }
.editorial-v1 .image-viewer .image-viewer-toolbar { border-radius: 16px; }

/* Article detail widths. Shared long-form widths above remain the software fallback.
 * The page-state guard matters: software detail also uses .article-page.
 * Keep Page Shell gutters; the existing <=820px rule supplies mobile gutters.
 */
.editorial-v1:where([data-current-page="articles"]) .article-page {
    width: min(calc(100% - 64px), var(--article-shell-width));
    max-width: var(--article-shell-width);
}
.editorial-v1:where([data-current-page="articles"]) .article-page .article-container.article-detail {
    width: 100%;
    max-width: var(--article-shell-width);
}
.editorial-v1:where([data-current-page="articles"]) .article-page .article-detail-header {
    width: 100%;
    max-width: var(--article-header-width);
}
.editorial-v1:where([data-current-page="articles"]) :where(.article-page) .article-back {
    display: flex;
    width: min(100%, var(--article-header-width));
    max-width: var(--article-header-width);
    margin: 0 auto 30px;
}
.editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content {
    width: 100%;
    max-width: var(--article-reading-width);
}
.editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .article-wide-content,
.editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .article-config-callout,
.editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .eq-config-block,
.editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .article-figure-wide {
    width: calc(100% + var(--article-wide-width) - var(--article-reading-width));
    max-width: var(--article-wide-width);
    margin-left: calc((var(--article-reading-width) - var(--article-wide-width)) / 2);
    margin-right: calc((var(--article-reading-width) - var(--article-wide-width)) / 2);
}
@media (max-width: 1100px) {
    .editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .article-wide-content,
    .editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .article-config-callout,
    .editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .eq-config-block,
    .editorial-v1:where([data-current-page="articles"]) .article-page .article-detail .article-content > .article-figure-wide {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Software detail: content and file links are intentionally unchanged. */
.editorial-v1.software-detail-page .software-app-icon { width: 64px; height: 64px; }
.editorial-v1 .software-detail-page .software-downloads {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}
.editorial-v1.software-detail-page .software-downloads { padding: 0; border: 0; background: none; }
.editorial-v1 .article-detail .software-downloads h2 { margin: 0 0 12px; font-size: 28px; }
.editorial-v1 .software-download-grid { gap: 18px; margin-block: 24px; }
.editorial-v1 .software-download-card { padding: 22px; background: #0b1c28; border-color: rgba(255, 255, 255, .1); border-radius: 18px; }
.editorial-v1 .software-download-button {
    border-radius: 13px;
    border-color: rgba(129, 227, 244, .28);
    background: rgba(94, 162, 225, .15);
    transition: background 180ms ease, border-color 180ms ease;
}
.editorial-v1 .software-download-button:hover { background: rgba(94, 162, 225, .24); }
.editorial-v1 .software-feature-list,
.editorial-v1 .software-verification { gap: 0 28px; }
.editorial-v1 .software-feature-list > div,
.editorial-v1 .software-verification > div { border-color: rgba(255, 255, 255, .08); }
.editorial-v1 .software-secondary-links a,
.editorial-v1 .editorial-contact-links a { color: #a9dded; text-decoration: underline; text-underline-offset: 5px; }
.editorial-v1 .editorial-empty-page { padding-top: 48px; max-width: 800px; }
.editorial-v1 .editorial-empty-page .section-heading { min-height: 150px; margin-bottom: 16px; }
.editorial-v1 .editorial-empty-page > p { font-size: 17px; line-height: 1.85; color: var(--ink-soft); max-width: 38em; }
.editorial-v1 .editorial-contact-links { display: flex; gap: 24px; margin-top: 28px; font-size: 14px; }

/* Footer is ordinary document content. The Top control is independent. */
body.editorial-v1 .site-dock {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    left: auto;
    bottom: auto;
    width: min(calc(100% - 64px), var(--page-width));
    height: auto;
    margin: 80px auto 0;
    padding: 30px 0;
    color: var(--ink-faint);
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
    animation: none;
}
.editorial-v1 .dock-copyright { gap: 4px; font-size: 12px; font-weight: 400; letter-spacing: .025em; }
.editorial-v1 .dock-actions { display: flex; gap: 24px; font-size: 12px; }
.editorial-v1 .dock-actions a:hover { color: var(--ink); }
.editorial-v1 .dock-top,
.editorial-v1 .dock-top.is-visible {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    background: rgba(7, 24, 35, .92);
    color: var(--ink-soft);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, background 180ms ease, transform 120ms ease;
}
.editorial-v1 .dock-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.editorial-v1 .dock-top svg { width: 18px; height: 18px; }

/* Reveal whole groups, with no overshoot or whole-page spring motion. */
.editorial-v1 .reveal-card {
    opacity: 0;
    translate: 0 12px;
    transition: opacity 500ms var(--soft-ease), translate 500ms var(--soft-ease);
}
.editorial-v1 .reveal-card.is-visible { opacity: 1; translate: 0 0; transition-delay: var(--entrance-delay, 0ms); }
.editorial-v1.intro-running .reveal-card.is-visible { opacity: 0; translate: 0 12px; }

@media (max-width: 1040px) {
    .editorial-v1 .home-cinematic-layout { gap: 64px; }
    .editorial-v1 .home-desktop-break { display: none; }
    .editorial-v1 .article-showcase { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
    .editorial-v1 .article-copy h2 { font-size: 27px; }
    .editorial-v1 .software-index-page .resource-card { gap: 20px; }
}
@media (max-width: 820px) {
    .editorial-v1 .site-header { padding: 12px 20px 0; }
    .editorial-v1 .page-shell,
    body.editorial-v1 .site-dock { width: calc(100% - 40px); }
    .editorial-v1 .topbar.liquid-surface { min-height: 60px; padding: 8px 10px 8px 16px; }
    .editorial-v1 .menu-toggle { display: grid; width: 42px; height: 42px; }
    .editorial-v1 .topbar > .nav-links {
        border-color: rgba(255, 255, 255, .14);
        border-radius: 20px;
        background: rgba(7, 23, 33, .94);
        box-shadow: 0 14px 40px rgba(0, 8, 20, .22);
        transform: translateY(-6px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }
    .editorial-v1 .topbar > .nav-links.is-open { transform: none; }
    .editorial-v1 .home-cinematic,
    .editorial-v1 .home-cinematic:has(.home-radio.is-open) { padding-top: 68px; }
    .editorial-v1 .home-cinematic-layout,
    .editorial-v1 .home-cinematic:has(.home-radio.is-open) .home-cinematic-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
    .editorial-v1 .home-identity { min-height: 0; padding: 0; }
    .editorial-v1 .home-identity h1 { font-size: clamp(48px, 10vw, 64px); }
    .editorial-v1 .home-identity-role { font-size: 15px; letter-spacing: .04em; }
    .editorial-v1 .home-map { min-height: 0; width: 100%; }
    .editorial-v1 .article-showcase { grid-template-columns: minmax(0, 1fr); }
    .editorial-v1 .article-stack { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
    .editorial-v1 .article-compact { min-height: 0; }
    .editorial-v1 .software-index-page .resource-card { grid-template-columns: 64px minmax(0, 1fr); padding: 24px; }
    .editorial-v1 .resource-link { grid-column: 2; justify-content: flex-start; margin-top: 4px; }
}
@media (max-width: 560px) {
    .editorial-v1 .home-cinematic,
    .editorial-v1 .home-cinematic:has(.home-radio.is-open) { padding-top: 58px; }
    .editorial-v1 .home-identity-intro { font-size: 14px; }
    .editorial-v1 .home-radio { width: 100%; max-width: 360px; }
    .editorial-v1 .section-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; margin-bottom: 28px; }
    .editorial-v1 .section-heading h1 { font-size: 42px; }
    .editorial-v1 .articles-index-page,
    .editorial-v1 .software-index-page { padding-top: 42px; }
    .editorial-v1 .articles-intro { padding-bottom: 28px; }
    .editorial-v1 .article-featured { grid-template-rows: 230px auto; }
    .editorial-v1 .article-cover,
    .editorial-v1 .article-cover img { height: 230px; }
    .editorial-v1 .article-copy,
    .editorial-v1 .article-compact .article-copy { padding: 22px; }
    .editorial-v1 .article-copy h2 { font-size: 25px; }
    .editorial-v1 .article-compact .article-copy h2 { font-size: 23px; }
    .editorial-v1 .software-index-page .resource-card { gap: 18px; padding: 22px; }
    .editorial-v1 .software-index-page .resource-icon { align-self: start; }
    .editorial-v1 .resource-heading h2 { font-size: 25px; }
    .editorial-v1 .resource-description,
    .editorial-v1 .resource-details { margin-left: -82px; margin-top: 22px; }
    .editorial-v1 .resource-link { grid-column: 1 / -1; margin-top: 0; white-space: normal; }
    .editorial-v1 .article-page { padding-top: 26px; }
    .editorial-v1 .article-back { margin-bottom: 24px; }
    .editorial-v1 .article-detail-header h1 { font-size: clamp(34px, 8.8vw, 40px); }
    .editorial-v1 .article-detail-header { padding-bottom: 28px; margin-bottom: 32px; }
    .editorial-v1 .article-detail .article-content { font-size: 16px; }
    .editorial-v1 .article-detail .article-content h2 { font-size: 28px; }
    .editorial-v1 .software-download-grid,
    .editorial-v1 .software-feature-list,
    .editorial-v1 .software-verification { grid-template-columns: minmax(0, 1fr); }
    .editorial-v1 .software-download-card { padding: 20px; }
    body.editorial-v1 .site-dock { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 64px; padding: 28px 0; }
    .editorial-v1 .dock-actions a { display: inline; }
    .editorial-v1 .dock-top,
    .editorial-v1 .dock-top.is-visible { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .editorial-v1 *,
    .editorial-v1 *::before,
    .editorial-v1 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .editorial-v1 .reveal-card,
    .editorial-v1.intro-running .reveal-card.is-visible { opacity: 1 !important; translate: none !important; }
    .editorial-v1 .article-card:hover,
    .editorial-v1 .resource-card:hover,
    .editorial-v1 .resource-card:hover .resource-icon,
    .editorial-v1 .home-map-node:hover .home-node-arrow,
    .editorial-v1 .article-cover img,
    .editorial-v1 [data-liquid-pressable]:active,
    .editorial-v1 .liquid-surface { transform: none !important; }
}

/* Editorial v2: only the existing radio grows to expose working transport. */
.editorial-v1 .home-radio { padding: 14px; }
.editorial-v1 .home-radio .radio-head { min-height: 58px; }
.editorial-v1 .home-radio .radio-cover { width: 44px; height: 44px; }
.editorial-v1 .home-radio .radio-meta h2 { font-size: 16px; }
.editorial-v1 .home-radio .home-radio-state { font-size: 12px; margin-top: 3px; }
.editorial-v1 .home-radio .radio-artist { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.editorial-v1 .home-radio .home-radio-play:not(:disabled) { cursor: pointer; }
.editorial-v1 .home-radio .home-radio-play.is-playing path { fill: none; stroke: currentColor; stroke-width: 3; }
.editorial-v1 .home-radio .radio-timeline { margin-top: 12px; grid-template-columns: 34px minmax(0,1fr) 34px; gap: 8px; font-size: 11px; }
.editorial-v1 .home-radio .radio-volume { display: grid; grid-template-columns: 16px minmax(0,1fr) 34px; align-items: center; gap: 8px; margin-top: 4px; font-size: 11px; }
.editorial-v1 .home-radio .radio-volume input { width: 100%; }
.editorial-v1 .home-radio [hidden] { display: none; }
.editorial-v1 .home-radio .radio-error { font-size: 11px; color: #ffd2bf; margin-top: 4px; }
.editorial-v1 .home-radio input[type="range"] {
    --range-progress: 0%;
    appearance: none; -webkit-appearance: none;
    width: 100%; min-width: 0; height: 24px; margin: 0; cursor: pointer; background: transparent;
    touch-action: pan-y;
}
.editorial-v1 .home-radio input[type="range"]::-webkit-slider-runnable-track {
    height: 3px; border-radius: 3px;
    background: linear-gradient(90deg,var(--cyan) var(--range-progress),rgba(255,255,255,.2) var(--range-progress));
}
.editorial-v1 .home-radio input[type="range"]::-webkit-slider-thumb {
    appearance: none; -webkit-appearance: none; width: 11px; height: 11px; border: 0; border-radius: 50%; background: #d3f5ff; margin-top: -4px;
}
.editorial-v1 .home-radio input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); }
.editorial-v1 .home-radio input[type="range"]::-moz-range-progress { height: 3px; background: var(--cyan); }
.editorial-v1 .home-radio input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: #d3f5ff; }

/* Article 04: additive article-only styles; existing cards remain unchanged. */
.editorial-v1 .article-wide-row {
    grid-column: 1 / -1;
    grid-template-columns: 160px 54px minmax(0, 1fr);
    min-width: 0;
    min-height: 180px;
    overflow: hidden;
}
.editorial-v1 .article-wide-row-media {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 18px 0 18px 18px;
}
.editorial-v1 .article-wide-row-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.editorial-v1 .article-wide-row .article-copy { min-width: 0; }
.editorial-v1 .article-wide-row .article-copy h2 { font-size: clamp(22px, 2vw, 28px); }
.editorial-v1 .article-config-callout { margin-top: 0; }
.editorial-v1 .article-download-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(129, 227, 244, .22);
    border-radius: 10px;
    background: rgba(129, 227, 244, .08);
    color: var(--cyan);
    text-decoration: none;
}
.editorial-v1 .article-download-action svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.editorial-v1 .article-download-action:hover { background: rgba(129, 227, 244, .14); }
.editorial-v1 .article-download-action:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.editorial-v1 .eq-config-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: pre;
    overflow-wrap: normal;
    word-break: normal;
    overflow-x: auto;
    background: #091923;
    backdrop-filter: none;
}
.editorial-v1 .eq-config-block code { white-space: inherit; overflow-wrap: inherit; word-break: inherit; }
.editorial-v1 .article-container .article-content .eq-config-block code {
    background: none !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
}
@media (max-width: 560px) {
    .editorial-v1 .article-wide-row { grid-template-columns: 46px minmax(0, 1fr); }
    .editorial-v1 .article-wide-row-media { display: none; }
    .editorial-v1 .article-wide-row .article-copy h2 { font-size: 23px; }
}
