/* ==========================================================================
   Signal.Field — Em Dash theme
   Navys, lime, monospace instrumentation and editorial journal cards.
   All styling lives here: no inline styles, no external font requests.
   ========================================================================== */

:root {
  --bg: #09131a;
  --panel: #101e27;
  --panel2: #13232d;
  --panel3: #172a33;
  --line: #29414a;
  --line-soft: #1b323c;
  --lime: #b9f46d;
  --lime-soft: #b9f46d14;
  --text: #e8f1f0;
  --muted: #a4b7bc;
  --dim: #738d96;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  height: 660px;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(#b9f46d08 1px, transparent 1px), linear-gradient(90deg, #b9f46d08 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(#0006, transparent 100%);
  mask-image: linear-gradient(#0006, transparent 100%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
::selection { background: var(--lime); color: var(--bg); }

.container { width: min(var(--container), calc(100% - 88px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.visually-hidden {
  position: absolute !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--lime);
  color: var(--bg);
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- ribbon */
.ribbon { height: 36px; background: var(--lime); color: #101c14; font: 700 10px var(--mono); letter-spacing: .1em; display: flex; align-items: center; }
.ribbon .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ribbon-left { display: flex; gap: 11px; align-items: center; white-space: nowrap; }
.pulse-dot { width: 7px; height: 7px; background: #153629; border-radius: 50%; box-shadow: 0 0 0 3px #15362920; display: inline-block; flex: none; }
.ribbon-right { opacity: .8; white-space: nowrap; }
.ribbon .slash { opacity: .5; }

/* ---------------------------------------------------------------- header */
.site-header { background: #09131af2; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(15px); }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 13px; align-items: center; flex-shrink: 0; }
.brand-mark { background: var(--lime); color: #0d1b1c; display: grid; place-items: center; width: 42px; height: 42px; min-width: 42px; font: 800 21px var(--mono); letter-spacing: -.16em; padding-right: 5px; }
.brand-copy { display: block; min-width: 0; }
.brand-type { display: block; font-family: var(--mono); font-size: clamp(18px, 2vw, 25px); font-weight: 800; letter-spacing: -.065em; line-height: 1.05; }
.brand-type span { color: var(--lime); }
.brand-suffix { display: block; font: 10px var(--mono); color: var(--dim); letter-spacing: .08em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 29px; font: 700 11px var(--mono); letter-spacing: .06em; }
.nav a:not(.nav-cta) { color: #bacbd0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--lime); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav-cta { border: 1px solid #728d84; padding: 12px 15px; }
.nav-cta:hover { border-color: var(--lime); color: var(--lime); }
.hamburger { display: none; background: none; border: 1px solid var(--line); color: var(--text); padding: 10px 12px; font: 700 12px var(--mono); }

/* --------------------------------------------------------------- masthead */
.masthead { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 62px; align-items: center; padding: 70px 0 64px; }
.eyebrow { font: 700 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.eyebrow .slash { color: #789397; margin-right: 12px; }
.masthead h1 { font-size: clamp(56px, 6.65vw, 96px); line-height: .99; letter-spacing: -.083em; margin: 25px 0 23px; font-weight: 850; }
.masthead h1 em { font-style: normal; color: var(--lime); }
.masthead p { font-size: 17px; line-height: 1.83; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.masthead-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button-primary { border: 0; background: var(--lime); color: #0f1d17; padding: 15px 19px; font: 800 11px var(--mono); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 23px; transition: transform .15s, background .2s; }
.button-primary:hover { background: #d1ffa2; transform: translateY(-2px); }
.quiet-link { font: 700 11px var(--mono); color: #b8c7ca; border-bottom: 1px solid #536c73; padding-bottom: 5px; }
.quiet-link:hover { color: var(--lime); border-color: var(--lime); }

/* --------------------------------------------------------- signal graphic */
.signal-graphic { border: 1px solid #36535b; background: linear-gradient(160deg, #152731, #0e1e26); min-height: 344px; padding: 17px; position: relative; box-shadow: 14px 14px 0 #13232d88; overflow: hidden; }
.graphic-top { display: flex; justify-content: space-between; align-items: center; font: 700 10px var(--mono); color: #adc0c4; letter-spacing: .07em; border-bottom: 1px solid #34505a; padding-bottom: 15px; }
.graphic-lights { display: flex; gap: 7px; }
.graphic-lights i { width: 7px; height: 7px; display: block; border-radius: 50%; background: #557079; }
.graphic-lights i:first-child { background: var(--lime); }
.graphic-main { height: 223px; display: flex; align-items: center; justify-content: center; position: relative; }
.graphic-main::before { content: ""; position: absolute; inset: 15px 0; background-image: linear-gradient(#b9f46d12 1px, transparent 1px), linear-gradient(90deg, #b9f46d12 1px, transparent 1px); background-size: 30px 30px; }
.signal-wave { width: 100%; height: 198px; z-index: 1; }
.signal-wave .line-1 { stroke: var(--lime); stroke-width: 2.6; fill: none; filter: drop-shadow(0 0 5px #b9f46666); }
.signal-wave .line-2 { stroke: #7ebcb2; stroke-width: 1; fill: none; opacity: .45; }
.graphic-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #34505a; padding: 16px 0 1px; font: 10px var(--mono); color: #b8cbd0; }
.graphic-bottom strong { color: var(--lime); font-weight: 600; }

/* --------------------------------------------------------- research band */
.research-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.research-band > div { padding: 22px 22px 23px; border-right: 1px solid var(--line); min-width: 0; }
.research-band > div:first-child { padding-left: 0; }
.research-band > div:last-child { border-right: 0; }
.research-band span { display: block; color: var(--lime); font: 800 12px var(--mono); margin-bottom: 7px; }
.research-band p { margin: 0; font: 11px var(--mono); letter-spacing: .02em; color: var(--muted); }

/* ------------------------------------------------------------ page grid */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 332px; gap: 52px; align-items: start; }
.feed, .sidebar { min-width: 0; }
.feed-heading { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid #4d6268; padding-bottom: 20px; gap: 12px; margin-bottom: 18px; }
.feed-heading h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.055em; margin: 8px 0 0; }
.feed-meta { color: var(--dim); font: 10px var(--mono); text-align: right; line-height: 1.7; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.filter { background: transparent; border: 1px solid #334a54; color: #a8bbc0; font: 700 10px var(--mono); padding: 10px 12px; transition: all .15s; white-space: nowrap; }
.filter:hover { border-color: var(--lime); color: var(--lime); }
.filter[aria-current="page"] { color: #122019; background: var(--lime); border-color: var(--lime); }
.filter-count { opacity: .7; }
.search-inline { display: none; position: relative; margin-top: 18px; }
.search-input { color: var(--text); background: #0b1820; border: 1px solid #35505a; padding: 15px 15px 15px 42px; width: 100%; font: 13px var(--mono); outline: none; }
.search-input:focus { border-color: var(--lime); }
.search-input::placeholder { color: #63818a; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--lime); pointer-events: none; }
.search-form .input-wrap { position: relative; }
.search-form .input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); stroke: var(--lime); pointer-events: none; }
.search-submit { display: block; margin-top: 8px; background: transparent; border: 1px solid #52746c; color: var(--lime); padding: 10px 12px; font: 700 10px var(--mono); letter-spacing: .06em; }
.search-submit:hover { background: var(--lime-soft); }

/* ---------------------------------------------------------------- feed */
.month-label { color: #9bb4bb; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin: 34px 0 13px; display: flex; align-items: center; gap: 12px; }
.month-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.entry { padding: 27px 0 32px; border-bottom: 1px solid var(--line); }
.entry .entry-inner { display: grid; grid-template-columns: minmax(0, 1fr) 208px; gap: 28px; align-items: center; }
.entry.feature-entry { display: block; border: 1px solid #3d575e; background: linear-gradient(130deg, #13232d, #0e1b23); padding: 29px; margin-bottom: 25px; position: relative; }
.entry.feature-entry .entry-inner { display: grid; grid-template-columns: minmax(0, 1fr) 245px; align-items: center; gap: 25px; }
.feature-flag { position: absolute; right: 28px; top: 29px; color: #91a8ad; font: 700 9px var(--mono); letter-spacing: .08em; }
.entry-kicker { color: var(--lime); font: 700 10px var(--mono); letter-spacing: .075em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.entry-kicker .dot { color: #6d828b; }
.entry-kicker .date { color: #89a1a8; }
.entry h3 { margin: 0 0 13px; letter-spacing: -.045em; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.25; max-width: 660px; }
.entry.feature-entry h3 { font-size: clamp(27px, 3vw, 37px); margin-top: 29px; max-width: 560px; }
.entry h3 a:hover { color: var(--lime); }
.excerpt { font-size: 14px; line-height: 1.76; color: var(--muted); margin: 0 0 18px; max-width: 630px; }
.entry-foot { display: flex; align-items: center; gap: 19px; flex-wrap: wrap; font: 700 10px var(--mono); }
.entry-foot a { color: var(--lime); }
.entry-foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.entry-foot span { color: var(--dim); font-weight: 500; }
.entry-art { height: 163px; border: 1px solid #365962; background: radial-gradient(circle at 70% 20%, #2c584f88, transparent 53%), repeating-linear-gradient(0deg, #b9f46d08 0 1px, transparent 1px 20px), linear-gradient(140deg, #183039, #0c1922); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.entry.feature-entry .entry-art { height: 220px; }
.entry-art svg { width: 88%; max-height: 89%; filter: drop-shadow(0 0 8px #b9f46d22); }
.entry-art img { width: 100%; height: 100%; object-fit: cover; }
.entry-art::before { content: "SCAN / 00"; position: absolute; top: 12px; left: 12px; color: #adc7c1; font: 9px var(--mono); letter-spacing: .1em; z-index: 2; }
.entry-art::after { content: "↗"; position: absolute; right: 13px; bottom: 9px; color: var(--lime); font: 17px var(--mono); }
.entry-art.esports { background: radial-gradient(circle at 55% 45%, #1a575b88, transparent 53%), linear-gradient(135deg, #142c35, #0c1821); }
.entry-art.sport { background: radial-gradient(circle at 60% 45%, #35495788, transparent 65%), linear-gradient(125deg, #172932, #0c1922); }
.entry-art.governance { background: radial-gradient(circle at 65% 50%, #48624566, transparent 58%), linear-gradient(150deg, #192f32, #0c1a21); }
.entry-art.ai { background: radial-gradient(circle at 45% 50%, #375e7080, transparent 60%), linear-gradient(150deg, #1b3440, #0e1a23); }
.empty-state { border: 1px dashed #456068; padding: 50px 25px; text-align: center; margin: 24px 0; }
.empty-state h3 { margin: 0 0 10px; }
.empty-state p { color: var(--muted); margin: 0; }
.load-area { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin: 34px 0 76px; }
.load { background: none; border: 1px solid #52746c; color: var(--lime); padding: 16px 25px; font: 700 11px var(--mono); letter-spacing: .06em; }
.load:hover { background: var(--lime-soft); }
.results-count { color: var(--dim); font: 10px var(--mono); }
.load-newer { order: -1; }

/* --------------------------------------------------------------- sidebar */
.sidebar { display: grid; gap: 23px; position: relative; }
.widget { border: 1px solid #304852; background: var(--panel); padding: 24px; min-width: 0; }
.widget-title { font: 700 11px var(--mono); letter-spacing: .1em; color: var(--lime); text-transform: uppercase; margin: 0 0 21px; display: flex; align-items: center; gap: 10px; }
.widget-title::before { content: "//"; color: #6c8c86; }
.widget.search-widget { padding: 21px 23px; }
.widget.search-widget .widget-title { margin-bottom: 13px; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); stroke: var(--lime); }
.profile-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile-avatar { height: 59px; width: 59px; min-width: 59px; display: grid; place-items: center; background: var(--lime); color: #0c1c1c; font: 800 25px var(--mono); letter-spacing: -.1em; }
.profile-identity strong { display: block; font-size: 17px; letter-spacing: -.035em; }
.profile-identity span { display: block; color: var(--dim); font: 10px var(--mono); margin-top: 6px; }
.profile-desc { font-size: 13px; line-height: 1.78; color: var(--muted); margin: 0 0 18px; }
.profile-link { display: inline-flex; gap: 8px; align-items: center; color: var(--lime); font: 700 11px var(--mono); border-bottom: 1px solid #496d56; padding-bottom: 5px; }
.topic-list, .archive-list, .latest-list { list-style: none; padding: 0; margin: 0; }
.topic-list li + li, .archive-list li + li, .latest-list li + li { border-top: 1px solid #253943; }
.topic-list a, .archive-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; color: #c0d1d3; padding: 13px 0; font: 12px var(--mono); }
.topic-list a:hover, .archive-list a:hover { color: var(--lime); }
.topic-list a[aria-current="page"] { color: var(--lime); }
.topic-list .count, .archive-list .count { color: var(--dim); font: 10px var(--mono); }
.latest-list a { display: block; padding: 12px 0; line-height: 1.4; font-size: 13px; }
.latest-list a:hover { color: var(--lime); }
.latest-list small { display: block; color: var(--dim); font: 10px var(--mono); margin-bottom: 6px; }
.list-empty { color: var(--dim); font: 11px/1.6 var(--mono); padding: 8px 0; list-style: none; }
.field-card { position: relative; background: linear-gradient(155deg, #20332b, #112129); border: 1px solid #5a7855; padding: 25px 23px; overflow: hidden; }
.field-card::after { content: "*"; font: 160px var(--mono); position: absolute; right: -22px; bottom: -99px; color: #b9f46d14; pointer-events: none; }
.field-card .widget-title { color: #d6f9b2; margin-bottom: 15px; }
.field-card h3 { font-size: 22px; letter-spacing: -.04em; margin: 0 0 12px; line-height: 1.2; }
.field-card p { font-size: 12px; line-height: 1.75; color: #acbfb6; margin: 0 0 17px; }
.field-card a { font: 700 10px var(--mono); color: var(--lime); }
.sidebar-note { font: 10px/1.65 var(--mono); color: var(--dim); padding: 0 3px; margin: 0; }

/* ------------------------------------------------------------- page heads */
.page-head { padding: 64px 0 0; }
.page-head h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.03; letter-spacing: -.075em; margin: 18px 0 16px; max-width: 900px; }
.page-head p { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 680px; margin: 0 0 30px; }
.page-head + .page-grid { padding-top: 24px; }

/* --------------------------------------------------------------- article */
.full-article { max-width: 950px; margin: 0 auto 110px; padding-top: 65px; }
.article-back { font: 700 11px var(--mono); color: var(--lime); background: none; border: 0; padding: 0; margin-bottom: 45px; display: inline-block; }
.article-back:hover { text-decoration: underline; text-underline-offset: 6px; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 36px; }
.article-header h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.08; letter-spacing: -.07em; margin: 18px 0; max-width: 870px; }
.article-header .lead { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 780px; margin: 0; }
.article-header .byline { font: 11px var(--mono); color: #8da6ad; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.article-figure { margin: 38px 0 0; border: 1px solid #365962; background: #0c1922; }
.article-figure img { display: block; width: 100%; }
.article-content { max-width: 760px; margin: 47px auto 0; font-size: 18px; line-height: 1.85; color: #ccd9d9; }
.article-content > * { margin-top: 0; }
.article-content h2 { color: var(--lime); font-family: var(--mono); font-size: 19px; line-height: 1.45; letter-spacing: -.025em; margin: 46px 0 14px; }
.article-content h3 { color: #d8e7e4; font-size: 20px; line-height: 1.4; margin: 36px 0 12px; }
.article-content h4 { color: #d8e7e4; font-size: 17px; margin: 30px 0 10px; }
.article-content p { margin: 0 0 25px; }
.article-content a { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.article-content strong { color: var(--text); }
.article-content ul, .article-content ol { padding-left: 1.3em; margin: 0 0 25px; }
.article-content li { margin: .45em 0; }
.article-content li::marker { color: var(--lime); }
.article-content blockquote { border-left: 3px solid var(--lime); margin: 34px 0; padding: 12px 0 12px 23px; font-size: 21px; color: #effbd9; line-height: 1.6; }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content code { font: .88em var(--mono); background: #172a33; padding: .14em .38em; border: 1px solid #29414a; }
.article-content pre { background: #0c1922; border: 1px solid #29414a; padding: 18px 20px; overflow-x: auto; font: 13px/1.65 var(--mono); margin: 0 0 25px; }
.article-content pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.article-content img { display: block; max-width: 100%; height: auto; border: 1px solid #365962; }
.article-content .table-wrap { overflow-x: auto; margin: 0 0 25px; }
.article-content table { border-collapse: collapse; width: 100%; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.article-content th { background: #12222a; color: var(--lime); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.article-content .demo-note { color: var(--dim); font: 11px/1.65 var(--mono); border: 1px solid #344c55; padding: 16px 19px; background: #12222a; margin: 0 0 30px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 34px auto 0; padding: 0; }
.tag-list li { font: 10px var(--mono); letter-spacing: .05em; color: #a8bbc0; border: 1px solid #334a54; padding: 7px 9px; }
.article-footer { max-width: 760px; margin: 50px auto 0; padding-top: 25px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 11px var(--mono); }
.copy-link { color: var(--lime); background: transparent; border: 1px solid #56736c; padding: 13px 15px; font: 700 11px var(--mono); }
.copy-link:hover { background: var(--lime-soft); }
.copy-status { display: block; color: var(--dim); font: 10px var(--mono); margin-top: 8px; }
.share { text-align: right; }
.article-pager { max-width: 760px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.article-pager a { display: grid; gap: 7px; border-top: 1px solid var(--line); padding-top: 16px; }
.article-pager small { color: var(--dim); font: 10px var(--mono); letter-spacing: .08em; }
.article-pager span { font-size: 17px; line-height: 1.35; letter-spacing: -.025em; }
.article-pager a:hover span { color: var(--lime); }
.pager-newer { grid-column: 1; }
.pager-older { grid-column: 2; text-align: right; }

/* ---------------------------------------------------------------- about */
.about-panel { background: #102029; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 10px; }
.about-inner { padding: 59px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.about-inner h2 { font-size: 34px; letter-spacing: -.055em; margin: 14px 0 0; }
.about-inner p { font-size: 17px; line-height: 1.8; color: #b4c5c9; margin: 0 0 18px; max-width: 760px; }
.about-inner p strong { color: var(--text); }
.about-head { padding-bottom: 10px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; padding: 36px 0 100px; align-items: start; }
.about-copy { margin: 0; }
.about-copy p { font-size: 17px; line-height: 1.85; color: #c3d2d2; margin: 0 0 22px; }
.about-copy h2 { color: var(--lime); font: 700 15px var(--mono); letter-spacing: -.01em; margin: 34px 0 12px; }
.profile-widget { position: sticky; top: 110px; }

/* --------------------------------------------------------------- search */
.search-head { padding-bottom: 0; }
.search-page-form { max-width: 760px; margin: 0 0 10px; }
.search-page-form .search-input { padding: 19px 15px 19px 45px; font-size: 14px; }
.search-count { min-height: 1.6em; margin: 16px 0 8px; }
.search-results { max-width: 900px; margin-bottom: 44px; }
.search-result { border-bottom: 1px solid var(--line); padding: 24px 0 27px; }
.search-result h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.04em; margin: 0 0 9px; }
.search-result h2 a:hover { color: var(--lime); }
.search-result .search-meta { font: 10px var(--mono); color: var(--dim); letter-spacing: .06em; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.search-result .search-meta span:first-child { color: var(--lime); }
.search-result p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; max-width: 700px; }
.search-result mark { background: #b9f46d33; color: var(--text); }
.search-fallback { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 30px; }
.search-help { color: var(--dim); font: 11px/1.7 var(--mono); max-width: 700px; }
.search-fallback-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.search-fallback-list li { border-bottom: 1px solid var(--line-soft); }
.search-fallback-list a { display: grid; grid-template-columns: 110px minmax(0, 1fr) 160px; gap: 18px; padding: 14px 0; align-items: baseline; }
.search-fallback-list a:hover .search-fallback-title { color: var(--lime); }
.search-fallback-date, .search-fallback-category { color: var(--dim); font: 10px var(--mono); letter-spacing: .05em; }
.search-fallback-category { text-align: right; }
.search-fallback-title { font-size: 16px; line-height: 1.4; }

/* --------------------------------------------------------------- archive */
.archive-page { padding: 30px 0 100px; }
.archive-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.archive-cards li { min-width: 0; }
.archive-cards a { display: grid; gap: 8px; border: 1px solid #304852; background: var(--panel); padding: 22px; height: 100%; }
.archive-cards a:hover { border-color: var(--lime); }
.archive-card-date { font: 800 18px var(--mono); letter-spacing: -.03em; }
.archive-card-count { color: var(--lime); font: 10px var(--mono); letter-spacing: .08em; }
.archive-card-latest { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ------------------------------------------------------------------ 404 */
.notfound { padding: 82px 0 110px; max-width: 900px; }
.notfound h1 { font-size: clamp(64px, 12vw, 150px); line-height: .9; letter-spacing: -.09em; margin: 22px 0 24px; }
.notfound p { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 620px; margin: 0 0 28px; }
.notfound-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.notfound-graphic { margin-top: 55px; height: 170px; border: 1px solid #365962; background: radial-gradient(circle at 60% 40%, #2c584f66, transparent 55%), linear-gradient(140deg, #183039, #0c1922); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.notfound-graphic svg { width: min(520px, 88%); max-height: 90%; }

/* --------------------------------------------------------------- footer */
.footer { padding: 30px 0 34px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #839da3; font: 10px var(--mono); letter-spacing: .04em; }
.footer-inner a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.mobile-hint { display: none; }

/* ---------------------------------------------------------- breakpoints */
@media (max-width: 1120px) {
  .masthead { gap: 28px; }
  .page-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .widget { padding: 19px; }
  .entry .entry-inner { grid-template-columns: minmax(0, 1fr) 175px; gap: 20px; }
  .entry.feature-entry .entry-inner { grid-template-columns: minmax(0, 1fr) 185px; }
  .entry-art { height: 143px; }
  .entry.feature-entry .entry-art { height: 178px; }
  .about-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .masthead { grid-template-columns: 1fr; padding: 56px 0 50px; gap: 35px; }
  .masthead h1 { max-width: 740px; }
  .signal-graphic { min-height: 230px; }
  .graphic-main { height: 150px; }
  .signal-wave { height: 145px; }
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 55px; }
  .search-widget { display: none; }
  .search-inline { display: block; }
  .sidebar-note { align-self: end; }
  .research-band > div { padding: 17px 14px; }
  .research-band > div:first-child { padding-left: 0; }
  .research-band p { line-height: 1.5; }
  .about-inner { gap: 40px; }
  .about-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 70px; }
  .profile-widget { position: static; max-width: 420px; }
}

@media (max-width: 630px) {
  .container { width: calc(100% - 36px); }
  .ribbon { font-size: 9px; }
  .ribbon-right { display: none; }
  .header-inner { min-height: 70px; }
  .brand-mark { height: 36px; width: 36px; min-width: 36px; font-size: 19px; }
  .brand-type { font-size: 19px; }
  .brand-suffix { font-size: 9px; }

  /* With scripts, the menu is a disclosure. Without scripts the nav stays
     fully visible and usable; the button is not shown at all. */
  .js .hamburger { display: block; }
  .js .header-inner { flex-wrap: nowrap; gap: 16px; }
  .brand-suffix { display: none; }
  .brand-copy { min-width: 0; }
  .brand-type { white-space: nowrap; }
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #102028;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    border-bottom: 1px solid #34515b;
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 15px 10px; border-bottom: 1px solid #29434d; }
  .js .nav .nav-cta { margin-top: 10px; text-align: center; border: 1px solid #52695f; }
  .no-js .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .no-js .nav { width: 100%; flex-wrap: wrap; gap: 6px 16px; padding: 8px 0 4px; }
  .no-js .nav a { padding: 8px 0; }

  .masthead { padding: 45px 0 32px; }
  .masthead h1 { font-size: clamp(48px, 14vw, 73px); margin: 20px 0; }
  .masthead p { font-size: 15px; line-height: 1.7; }
  .signal-graphic { min-height: 0; padding: 13px; box-shadow: none; }
  .graphic-top, .graphic-bottom { font-size: 9px; }
  .research-band { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 42px; }
  .research-band > div { border-bottom: 1px solid var(--line); }
  .research-band > div:nth-child(2) { border-right: 0; }
  .research-band > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .research-band > div:nth-child(3) { padding-left: 0; }
  .feed-heading h2 { font-size: 29px; }
  .feed-meta { font-size: 9px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; padding-bottom: 10px; margin: 15px 0 21px; -webkit-overflow-scrolling: touch; }
  .filter { flex-shrink: 0; }
  .entry { padding: 21px 0 25px; }
  .entry .entry-inner { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 19px; }
  .entry-art { height: 188px; }
  .entry h3 { font-size: 26px; }
  .entry.feature-entry { padding: 19px; }
  .feature-flag { display: none; }
  .entry.feature-entry .entry-inner { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 19px; }
  .entry.feature-entry .entry-art { height: 200px; }
  .entry.feature-entry h3 { font-size: 29px; margin-top: 0; }
  .sidebar { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 15px; padding: 43px 0; }
  .about-inner h2 { font-size: 28px; }
  .about-inner p { font-size: 15px; }
  .footer-inner { display: block; line-height: 1.8; }
  .footer-inner span { display: block; }
  .footer-inner span + span { margin-top: 8px; }
  .full-article { padding-top: 32px; margin-bottom: 60px; }
  .article-back { margin-bottom: 30px; }
  .article-header h1 { font-size: 42px; }
  .article-header .lead { font-size: 17px; }
  .article-content { font-size: 16px; line-height: 1.8; margin-top: 32px; }
  .article-content blockquote { font-size: 18px; }
  .article-footer { align-items: flex-start; flex-direction: column; }
  .share { text-align: left; }
  .article-pager { grid-template-columns: 1fr; }
  .pager-older { text-align: left; }
  .page-head { padding-top: 42px; }
  .page-head h1 { font-size: 46px; }
  .archive-cards { grid-template-columns: 1fr; }
  .search-fallback-list a { grid-template-columns: 90px minmax(0, 1fr); }
  .search-fallback-category { display: none; }
  .notfound { padding: 55px 0 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  body { background: #fff; color: #111; }
  body::before, .ribbon, .site-header, .sidebar, .load-area, .about-panel, .footer, .article-back, .copy-link, .notfound-graphic { display: none !important; }
  .container, .full-article, .article-content { width: 100%; max-width: none; margin: 0; padding: 0; }
  .article-header h1, .article-content h2, .article-content h3, .article-content p, .article-content li { color: #111; }
  .article-content a { color: #111; }
}
