/*
 * CN-AIDC Authority Editorial Layer · 2026-07
 *
 * Open-source foundations adapted for this static site:
 * - GitHub Primer CSS: 8px spacing rhythm, functional borders/focus states,
 *   and the transform-based marketing-link underline.
 * - IBM Carbon Design System: productive motion durations and easing curves.
 * - MDBootstrap Magazine Template: featured-story + metadata + compact-news
 *   editorial hierarchy (HTML adaptation lives in index.html).
 *
 * Exact revisions and licenses: ../THIRD_PARTY_NOTICES.md
 */

:root {
  /* Restrained editorial palette: ink, paper, mineral blue, cinnabar. */
  --primary: #174a68;
  --primary-dark: #0b1822;
  --primary-soft: #e4ecef;
  --accent: #bd4a2b;
  --accent-soft: #f1e3dc;
  --warn: #bd4a2b;
  --bg: #efede6;
  --bg-light: #e8e5dc;
  --bg-white: #f8f7f2;
  --text: #202a2f;
  --text-dark: #10191e;
  --text-light: #58656b;
  --text-lighter: #7f898d;
  --border: #c9ccc8;
  --border-color: #c9ccc8;
  --border-light: #dcdcd5;
  --nav-bg: #0b1822;
  --footer-bg: #0b1822;
  --paper: #efede6;
  --paper-deep: #e6e2d8;
  --paper-surface: #f8f7f2;
  --ink: #10191e;
  --ink-muted: #4f5d63;
  --rule: rgba(16, 25, 30, 0.17);
  --rule-strong: rgba(16, 25, 30, 0.34);
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: 0 1px 0 rgba(16, 25, 30, 0.07);
  --shadow-sm: 0 1px 0 rgba(16, 25, 30, 0.07);
  --shadow-md: 0 14px 34px rgba(16, 25, 30, 0.1);
  --max-width: 1220px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-editorial: "Songti SC", STSong, "Noto Serif CJK SC", SimSun, serif;

  /* IBM Carbon motion tokens, Apache-2.0. */
  --motion-fast-01: 70ms;
  --motion-fast-02: 110ms;
  --motion-moderate-01: 150ms;
  --motion-moderate-02: 240ms;
  --motion-slow-01: 400ms;
  --motion-slow-02: 700ms;
  --ease-productive: cubic-bezier(0.2, 0, 0.38, 0.9);
  --ease-entrance: cubic-bezier(0, 0, 0.38, 0.9);
  --ease-expressive: cubic-bezier(0.4, 0.14, 0.3, 1);
}

html {
  background: var(--nav-bg);
  color-scheme: light;
}

body {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(16, 25, 30, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 25, 30, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 15% 4%, rgba(23, 74, 104, 0.06), transparent 30rem);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

::selection {
  background: #d6b7a9;
  color: var(--ink);
}

a {
  transition:
    color var(--motion-fast-02) ease,
    background-color var(--motion-fast-02) ease,
    border-color var(--motion-fast-02) ease,
    box-shadow var(--motion-moderate-01) var(--ease-productive),
    transform var(--motion-moderate-01) var(--ease-productive);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container { padding-inline: 24px; }
.site-main { overflow: clip; }

/* Masthead: a newsroom bar, not an app shell. */
.top-bar {
  height: 32px;
  background: #07131b;
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.top-bar-inner { height: 32px; }
.top-date { color: #8f9ca2; font-variant-numeric: tabular-nums; }
.ticker-label {
  padding-inline: 7px;
  border-radius: 0;
  background: var(--accent);
  letter-spacing: 0.08em;
}
.ticker-content a { color: #bec7ca; }

.site-header {
  background: rgba(11, 24, 34, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}
.site-header.scrolled { box-shadow: 0 12px 30px rgba(5, 13, 18, 0.2); }
.header-inner { min-height: 64px; }

.logo { gap: 11px; }
.logo-icon {
  min-height: auto;
  padding: 2px 9px 2px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: transparent;
  color: #e06b48;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.logo-text {
  font-family: var(--font-editorial);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.main-nav { gap: 0; }
.main-nav a {
  position: relative;
  min-height: 36px;
  padding-inline: 12px;
  border-radius: 0;
  background: transparent;
  color: #cbd2d4;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 1px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-moderate-02) var(--ease-productive);
}
.main-nav a:hover,
.main-nav a.active { background: transparent; color: #fff; box-shadow: none; }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.search-form {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}
.search-form input { width: 158px; }
.nav-toggle:active { transform: scale(0.98); }

/* Hero: desaturated infrastructure image framed like a front page. */
.hero-showcase {
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}
.hero-showcase-inner {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background-color: #25343d;
  background-blend-mode: luminosity;
  box-shadow: 0 18px 44px rgba(16, 25, 30, 0.16);
}
.hero-showcase-inner::before {
  background:
    linear-gradient(90deg, rgba(7, 19, 27, 0.96), rgba(11, 24, 34, 0.82) 48%, rgba(11, 24, 34, 0.22)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}
.hero-showcase-inner::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 64%;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
}
.hero-copy {
  max-width: 650px;
  padding: 76px 58px 64px;
}
.hero-copy > span {
  margin-bottom: 20px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(224, 107, 72, 0.7);
  border-radius: 0;
  color: #d8dcda;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.hero-copy h1 {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--font-editorial);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 560px;
  color: rgba(239, 237, 230, 0.76);
  font-size: 15px;
  line-height: 1.9;
}
.hero-topics { margin-top: 30px; color: rgba(239, 237, 230, 0.64); }
.hero-topics i { width: 26px; background: rgba(224, 107, 72, 0.74); }
.hero-folio {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 30px;
  width: 250px;
  padding: 18px 0 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hero-folio span {
  display: block;
  color: #9eadb2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.hero-folio strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-editorial);
  font-size: 22px;
  letter-spacing: 0.12em;
}
.hero-folio p { margin-top: 5px; color: #aeb9bc; font-size: 11px; }

/* Editorial credo adds culture and a deliberate pause after the hero. */
.editorial-brief {
  padding: 0 0 28px;
  background: transparent;
}
.editorial-brief-grid {
  display: grid;
  grid-template-columns: 110px minmax(280px, 1.4fr) repeat(2, minmax(190px, 0.8fr));
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  background: rgba(248, 247, 242, 0.62);
}
.brief-mark,
.editorial-brief blockquote,
.brief-item { min-width: 0; padding: 22px 24px; }
.brief-mark,
.editorial-brief blockquote,
.brief-item:not(:last-child) { border-right: 1px solid var(--rule); }
.brief-mark { display: grid; align-content: space-between; color: var(--ink); }
.brief-mark span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.brief-mark strong { color: var(--accent); font-size: 32px; font-weight: 500; line-height: 1; }
.editorial-brief blockquote { border-left: 0; background: transparent; }
.editorial-brief blockquote span,
.brief-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.editorial-brief blockquote p {
  font-family: var(--font-editorial);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}
.brief-item strong { display: block; color: var(--ink); font-size: 14px; }
.brief-item p { margin-top: 7px; color: var(--ink-muted); font-size: 12px; line-height: 1.7; }

/* Section rhythm: paper, rules, and occasional ink panels. */
.signal-desk,
.portal-board,
.portal-columns,
.latest-feed-section,
.feature-strip-section,
.brand-display-section,
.forum-live,
.topic-strip-section { background: transparent; }

.portal-board,
.latest-feed-section,
.profile-band,
.forum-live,
.periodical-band { border-top: 1px solid var(--rule); }
.portal-board { padding-block: 34px 30px; }
.portal-columns { padding-block: 28px 34px; background: rgba(230, 226, 216, 0.58); }
.latest-feed-section { padding-block: 44px 52px; }
.feature-strip-section,
.brand-display-section { padding-block: 22px; }
.forum-live { padding-block: 34px; }
.topic-strip-section { padding-block: 20px 34px; }

.portal-heading { min-height: 50px; margin-bottom: 17px; }
.portal-heading::after {
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 10px;
  content: "";
  background: var(--accent);
  transform-origin: left center;
}
.portal-heading span,
.section-eyebrow,
.band-heading span {
  color: #7d878a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.portal-heading h2,
.feed-section-heading h2,
.band-heading h2,
.section-title,
.insight-panel-heading h3 {
  color: var(--ink);
  font-family: var(--font-editorial);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.portal-heading h2 { margin-top: 5px; font-size: 20px; }

.feature-card,
.team-card,
.side-showcase,
.profile-card,
.article-card-row,
.article-card-featured,
.article-card-mini,
.sidebar-widget,
.article-detail,
.about-card,
.live-card,
.register-card,
.media-kit-panel,
.ad-spec-card {
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper-surface);
  box-shadow: var(--shadow);
}
.feature-card img,
.profile-card img,
.live-card img,
.team-card img,
.feed-thumb img {
  transition: transform var(--motion-moderate-02) var(--ease-productive);
}
.feature-body { padding: 18px 18px 20px; }
.feature-news-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-lighter);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.feature-news-data span { color: var(--accent); font-size: 10px; }
.feature-body h3 { margin-top: 10px; font-family: var(--font-editorial); font-size: 19px; }
.feature-body p { line-height: 1.8; }

.headline-list li { padding-block: 11px; border-bottom-color: var(--rule); }
.headline-list li::before {
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: var(--accent);
}
.headline-list a { color: var(--ink); line-height: 1.55; }
.headline-list time { color: #7d878a; font-variant-numeric: tabular-nums; }
.portal-side { background: transparent; }
.team-card,
.side-showcase { box-shadow: none; }
.showcase-stack { border-top: 1px solid var(--rule); padding-top: 14px; }

.feed-section-heading { border-bottom: 1px solid var(--rule-strong); padding-bottom: 20px; }
.feed-section-heading h2 { font-size: 29px; }
.feed-section-heading p { color: var(--ink-muted); }
.feed-more {
  position: relative;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.feed-more::after {
  position: absolute;
  right: 1.2em;
  bottom: -0.2em;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-moderate-02) var(--ease-productive);
}
.feed-card { border-bottom-color: var(--rule); }
.feed-card-link { background: transparent; }
.feed-card-body h3 { color: var(--ink); font-family: var(--font-editorial); font-size: 19px; }
.feed-card-body p { color: var(--ink-muted); line-height: 1.75; }
.feed-card-meta { color: #778184; }
.feed-source { color: var(--accent); }
.feed-thumb { background: #d8d8d0; }
.category-badge { border-radius: 0; }
.insight-panel {
  border: 1px solid var(--rule);
  border-radius: 0;
  background: rgba(248, 247, 242, 0.64);
  box-shadow: none;
}
.trending-list li { border-bottom-color: var(--rule); }
.trending-list > li > span { color: var(--accent); font-family: var(--font-editorial); }
.radar-tags a { border-radius: 0; background: transparent; border-color: var(--rule); }

.feature-strip {
  border-color: var(--rule);
  border-radius: 0;
  background: rgba(248, 247, 242, 0.72);
  box-shadow: none;
}
.feature-strip img { filter: saturate(0.58) contrast(0.96); }
.feature-strip h2 { color: var(--ink); font-family: var(--font-editorial); letter-spacing: 0.05em; }
.brand-display {
  min-height: 240px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background-image: url('../images/showcase-brand.png');
  background-color: #26363e;
  background-blend-mode: luminosity;
  box-shadow: none;
}
.brand-display::before { background: linear-gradient(90deg, rgba(7, 19, 27, 0.94), rgba(11, 24, 34, 0.68) 54%, rgba(11, 24, 34, 0.2)); }
.brand-display h2 { font-family: var(--font-editorial); letter-spacing: 0.06em; }

.profile-band {
  padding-block: 40px 46px;
  background: #23343c;
}
.band-heading span { color: #8f9ea3; }
.band-heading h2 { color: #fff; font-size: 22px; }
.profile-card { box-shadow: none; }
.profile-card h3 { font-family: var(--font-editorial); color: var(--ink); font-size: 14px; }
.topic-pill {
  min-height: 62px;
  border-color: var(--rule);
  border-radius: 0;
  background: rgba(248, 247, 242, 0.58);
  color: var(--ink);
}
.topic-pill strong { font-family: var(--font-editorial); letter-spacing: 0.06em; }
.periodical-band {
  padding-block: 42px;
  background: #192a32;
}
.association-panel { border-radius: 0; background: var(--paper-surface); box-shadow: none; }
.association-links span { border-radius: 0; border-color: var(--rule); }

/* Advertising uses the supplied artwork at its complete aspect ratio. */
.ad-zone[data-ad-position="home-top"] { margin-top: 0; margin-bottom: 34px; }
.ad-banner {
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper-surface);
  box-shadow: 0 10px 28px rgba(16, 25, 30, 0.09);
}
.ad-slide.active { animation: adFade var(--motion-moderate-01) var(--ease-entrance); }
.ad-zone[data-ad-position="home-top"] .ad-slide img {
  width: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1915 / 450;
  object-fit: contain;
  background: #075c84;
}

/* Signal desk: technical, matte, and data-led. */
.signal-desk { padding-bottom: 38px; }
.signal-desk-shell {
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    #0b1822;
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 0 18px 42px rgba(7, 19, 27, 0.18);
}
.signal-card { border-color: rgba(255, 255, 255, 0.12); border-radius: 0; }
.signal-card h3 { font-family: var(--font-editorial); font-weight: 700; letter-spacing: 0.03em; }
.signal-topic { border-radius: 0; }
.orbit-ring--outer { border-style: dashed; }
.orbit-core { box-shadow: none; }
.orbit-satellite {
  box-shadow: 0 0 0 4px rgba(217, 240, 255, 0.08);
  transform-origin: 60px 80px;
  animation: satellite-orbit 14s linear infinite;
}
.signal-bars i {
  transform: scaleY(0.14);
  transform-origin: center bottom;
  transition: transform var(--motion-slow-01) var(--ease-entrance);
}
.signal-card.revealed .signal-bars i { transform: scaleY(1); }
.signal-card.revealed .signal-bars i:nth-child(2) { transition-delay: 50ms; }
.signal-card.revealed .signal-bars i:nth-child(3) { transition-delay: 100ms; }
.signal-card.revealed .signal-bars i:nth-child(4) { transition-delay: 150ms; }
.signal-card.revealed .signal-bars i:nth-child(5) { transition-delay: 200ms; }

@keyframes satellite-orbit { to { transform: rotate(1turn); } }

/* Inner pages share the same paper-and-rule grammar. */
.categories-bar { border-bottom-color: var(--rule); background: rgba(248, 247, 242, 0.76); }
.cat-item { border-radius: 0; background: transparent; border: 1px solid var(--rule); color: var(--ink-muted); }
.cat-item:hover,
.cat-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.content-layout { padding-top: 36px; }
.section-title {
  padding-left: 15px;
  border-left: 2px solid var(--accent);
  font-size: 23px;
}
.article-card-row,
.article-card-featured,
.article-card-mini { box-shadow: none; }
.card-info-lg h3,
.card-info h3,
.card-info-mini h4 { color: var(--ink); font-family: var(--font-editorial); letter-spacing: 0.025em; }
.card-summary { color: var(--ink-muted); }
.sidebar-widget { box-shadow: none; }
.widget-title { border-bottom-color: var(--accent); font-family: var(--font-editorial); color: var(--ink); }
.article-detail {
  padding: 38px 42px 46px;
  border-top: 3px solid var(--accent);
  box-shadow: none;
}
.article-header h1 {
  font-family: var(--font-editorial);
  color: var(--ink);
  font-size: clamp(29px, 3.6vw, 42px);
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.article-content { color: #263238; font-size: 16px; line-height: 2; }
.article-content h2,
.article-content h3 { font-family: var(--font-editorial); color: var(--ink); letter-spacing: 0.04em; }
.article-content blockquote {
  border-left: 2px solid var(--accent);
  border-radius: 0;
  background: var(--paper-deep);
  font-family: var(--font-editorial);
  color: #344148;
}
.article-content table { background: var(--paper-surface); }
.article-content th { background: #dcd8ce; color: var(--ink); }
.nav-prev,
.nav-next,
.related-item { border-radius: 0; border-color: var(--rule); background: var(--paper-surface); }

.about-page,
.register-page,
.live-page { background: transparent; }
.about-hero h1,
.register-intro h1,
.live-copy h1,
.ad-kit-hero h1 { font-family: var(--font-editorial); letter-spacing: 0.05em; }
.about-section h2 { border-left-width: 2px; border-left-color: var(--accent); color: var(--ink); font-family: var(--font-editorial); }
.register-intro,
.live-hero { border-radius: 0; background: #1b2c34; box-shadow: none; }
.portal-form input,
.portal-form select,
.portal-form textarea { border-radius: 0; background: var(--paper-surface); }
.portal-submit,
.primary-link,
.live-register { border-radius: 0; background: var(--ink); }
.live-player-card,
.live-player,
.live-placeholder { border-radius: 0; }
.ad-kit-hero-inner { border-radius: 0; background-color: #22343d; background-blend-mode: luminosity; }

.site-footer { border-top: 3px solid var(--accent); background: #09151d; }
.footer-grid { padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-logo .logo-text { font-family: var(--font-editorial); letter-spacing: 0.08em; }

/* Motion system: rich enough to guide attention, restrained enough to read. */
.reveal,
.reveal-item { opacity: 1; transform: none; }
.motion-enhanced .reveal,
.motion-enhanced .reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--motion-slow-01) var(--ease-entrance),
    transform var(--motion-slow-01) var(--ease-entrance);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-enhanced .reveal.revealed,
.motion-enhanced .reveal-item.revealed { opacity: 1; transform: translateY(0); }

.motion-enhanced .hero-showcase-inner.reveal {
  clip-path: inset(0 0 8% 0);
  transform: translateY(10px);
  transition:
    clip-path var(--motion-slow-02) var(--ease-expressive),
    opacity var(--motion-slow-01) var(--ease-entrance),
    transform var(--motion-slow-01) var(--ease-entrance);
}
.motion-enhanced .hero-showcase-inner.revealed { clip-path: inset(0); transform: translateY(0); }
.motion-enhanced .hero-showcase-inner .hero-copy > *,
.motion-enhanced .hero-showcase-inner .hero-folio {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--motion-slow-01) var(--ease-entrance),
    transform var(--motion-slow-01) var(--ease-entrance);
}
.motion-enhanced .hero-showcase-inner.revealed .hero-copy > *,
.motion-enhanced .hero-showcase-inner.revealed .hero-folio { opacity: 1; transform: translateY(0); }
.motion-enhanced .hero-showcase-inner.revealed .hero-copy > :nth-child(2) { transition-delay: 50ms; }
.motion-enhanced .hero-showcase-inner.revealed .hero-copy > :nth-child(3) { transition-delay: 100ms; }
.motion-enhanced .hero-showcase-inner.revealed .hero-copy > :nth-child(4) { transition-delay: 150ms; }
.motion-enhanced .hero-showcase-inner.revealed .hero-folio { transition-delay: 200ms; }

.motion-enhanced .reveal-section .portal-heading::after,
.motion-enhanced .reveal-section .feed-section-heading::after {
  transform: scaleX(0);
  transition: transform var(--motion-slow-01) var(--ease-entrance);
}
.motion-enhanced .reveal-section.revealed .portal-heading::after,
.motion-enhanced .reveal-section.revealed .feed-section-heading::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover::after,
  .feed-more:hover::after { transform: scaleX(1); }
  .feature-card:hover,
  .profile-card:hover,
  .article-card-row:hover,
  .article-card-featured:hover,
  .article-card-mini:hover,
  .live-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 25, 30, 0.09); }
  .feature-card:hover img,
  .profile-card:hover img,
  .live-card:hover img,
  .feed-card:hover .feed-thumb img { transform: scale(1.018); }
  .topic-pill:hover,
  .radar-tags a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
  .signal-card:hover { transform: translateY(-2px); }
}

:where(.feature-card, .profile-card, .article-card-row, .article-card-featured, .article-card-mini, .topic-pill, .signal-card > a, .feed-more, .portal-submit, .primary-link, .live-register):active {
  transform: scale(0.985);
  transition-duration: var(--motion-fast-02);
}

@media (max-width: 1100px) {
  .hero-showcase-inner::after { left: 70%; }
  .hero-folio { width: 220px; }
  .editorial-brief-grid { grid-template-columns: 92px 1.2fr 1fr 1fr; }
  .brief-mark,
  .editorial-brief blockquote,
  .brief-item { padding: 20px; }
}

@media (max-width: 900px) {
  .site-header { backdrop-filter: none; }
  .main-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1822;
  }
  .main-nav a { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .main-nav a::after { right: auto; left: 0; bottom: 0; width: 3px; height: 100%; transform: scaleY(0); transform-origin: center bottom; }
  .main-nav a:hover::after,
  .main-nav a.active::after { transform: scaleY(1); }
  .hero-showcase-inner { min-height: 440px; }
  .hero-copy { max-width: 72%; padding: 62px 38px; }
  .hero-showcase-inner::after { left: 73%; }
  .hero-folio { right: 22px; bottom: 24px; width: 190px; }
  .editorial-brief-grid { grid-template-columns: 82px 1fr 1fr; }
  .brief-item:last-child { display: none; }
  .brief-item:nth-child(3) { border-right: 0; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .header-inner { min-height: 58px; }
  .logo-text { font-size: 18px; }
  .hero-showcase { padding-block: 14px 18px; }
  .hero-showcase-inner { min-height: 470px; background-position: 66% center; }
  .hero-showcase-inner::after { display: none; }
  .hero-copy { max-width: none; padding: 50px 24px 150px; }
  .hero-copy h1 { font-size: 31px; line-height: 1.3; }
  .hero-copy p { font-size: 14px; line-height: 1.8; }
  .hero-topics { margin-top: 24px; }
  .hero-folio { right: 24px; bottom: 24px; left: 24px; width: auto; }
  .editorial-brief { padding-bottom: 22px; }
  .editorial-brief-grid { grid-template-columns: 62px minmax(0, 1fr); }
  .brief-mark { padding: 18px 12px; }
  .brief-mark strong { font-size: 25px; }
  .editorial-brief blockquote { padding: 18px; border-right: 0; }
  .editorial-brief blockquote p { font-size: 16px; line-height: 1.7; }
  .brief-item { display: none; }
  .portal-board { padding-top: 28px; }
  .portal-heading { min-height: 46px; }
  .portal-heading h2 { font-size: 18px; }
  .feed-section-heading h2 { font-size: 25px; }
  .feed-card-body h3 { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip div { padding: 18px; }
  .brand-display div { padding: 28px 24px; }
  .article-detail { padding: 24px 18px 32px; }
  .article-header h1 { font-size: 27px; }
  .article-content { font-size: 15px; line-height: 1.9; }
  .signal-desk-shell { padding: 22px 16px 18px; }
  .signal-card h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation: none; }
  .orbit-satellite { animation: none; }
  .signal-bars i,
  .signal-card.revealed .signal-bars i { transform: scaleY(1); transition: none; }
  .motion-enhanced .reveal,
  .motion-enhanced .reveal-item,
  .motion-enhanced .hero-showcase-inner.reveal,
  .motion-enhanced .hero-showcase-inner .hero-copy > *,
  .motion-enhanced .hero-showcase-inner .hero-folio {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: opacity var(--motion-fast-02) ease;
  }
  .main-nav a::after,
  .feed-more::after,
  .feature-card img,
  .profile-card img,
  .live-card img,
  .team-card img,
  .feed-thumb img { transition-duration: 0.01ms; }
}
