:root,
:root[data-theme="dark"] {
  --bg: #090b0d;
  --bg-soft: #111419;
  --surface: #15191e;
  --surface-2: #1b2027;
  --ink: #f1f2ed;
  --muted: #9ba2a7;
  --line: rgba(241, 242, 237, 0.16);
  --line-strong: rgba(241, 242, 237, 0.28);
  --accent: #c8ff48;
  --accent-ink: #10130b;
  --blue: #4b6cff;
  --header: rgba(9, 11, 13, 0.86);
}

:root[data-theme="light"] {
  --bg: #f0efe8;
  --bg-soft: #e8e7df;
  --surface: #f9f8f1;
  --surface-2: #deded5;
  --ink: #101215;
  --muted: #5c6265;
  --line: rgba(16, 18, 21, 0.16);
  --line-strong: rgba(16, 18, 21, 0.3);
  --accent: #3558ff;
  --accent-ink: #ffffff;
  --blue: #3558ff;
  --header: rgba(240, 239, 232, 0.88);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--accent-ink); }

.section-wrap { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; min-height: 78px; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(18px); }
.header-inner { width: min(1450px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand-mark { position: relative; width: 35px; height: 35px; display: block; border: 1px solid var(--line-strong); overflow: hidden; }
.brand-mark i { position: absolute; display: block; background: var(--accent); }
.brand-mark i:nth-child(1) { left: 7px; top: 7px; width: 19px; height: 1px; transform: rotate(45deg); transform-origin: left; }
.brand-mark i:nth-child(2) { left: 7px; bottom: 7px; width: 1px; height: 20px; }
.brand-mark i:nth-child(3) { right: 7px; bottom: 7px; width: 12px; height: 12px; border-radius: 50%; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 14px; letter-spacing: .04em; }
.brand-copy em { color: var(--muted); font-style: normal; font: 700 9px/1.1 "Courier New", monospace; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; padding: 27px 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--accent); transition: right .25s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button, .language-button { min-width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; display: inline-grid; place-items: center; cursor: pointer; transition: .2s ease; }
.icon-button:hover, .language-button:hover { border-color: var(--accent); color: var(--accent); }
.language-button { min-width: 74px; padding: 0 14px; grid-auto-flow: column; gap: 12px; font-size: 12px; font-weight: 800; }
.language-button span { color: var(--muted); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 46%, black); }
.hero-inner { position: relative; z-index: 1; width: min(1450px, calc(100% - 48px)); margin: 0 auto; min-height: 735px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(48px, 7vw, 112px); padding: 72px 0 80px; }
.eyebrow-line { display: flex; justify-content: space-between; max-width: 620px; margin-bottom: 43px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 11px/1.2 "Courier New", monospace; letter-spacing: .12em; }
.eyebrow-line span::before { content: "●"; color: var(--accent); margin-right: 10px; }
.eyebrow-line em { font-style: normal; }
.hero h1 { margin: 0; max-width: 700px; font-size: clamp(68px, 7vw, 116px); line-height: .82; letter-spacing: -.075em; font-weight: 800; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.hero-copy > p { max-width: 590px; margin: 36px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-links { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.primary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 0 18px 0 21px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(120, 150, 40, .2); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; }
.text-link svg { width: 18px; }
.feature-terminal { position: relative; display: block; border: 1px solid var(--line-strong); background: var(--bg-soft); box-shadow: 25px 30px 70px rgba(0, 0, 0, .24); transform: rotate(1deg); transition: transform .35s ease; }
.feature-terminal:hover { transform: rotate(0) translateY(-5px); }
.terminal-top { height: 46px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 9px/1 "Courier New", monospace; letter-spacing: .12em; }
.terminal-top > span { display: flex; gap: 5px; }
.terminal-top i { width: 7px; height: 7px; border: 1px solid var(--line-strong); border-radius: 50%; }
.terminal-top i:first-child { background: var(--accent); border-color: var(--accent); }
.terminal-top em { font-style: normal; }
.terminal-top b { justify-self: end; font-weight: 700; }
.terminal-visual { position: relative; min-height: 388px; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(75,108,255,.22), transparent 48%), linear-gradient(135deg, transparent 0 48%, var(--line) 48% 48.2%, transparent 48.2%), linear-gradient(45deg, transparent 0 48%, var(--line) 48% 48.2%, transparent 48.2%); }
.terminal-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 38px 38px; opacity: .5; }
.radar { position: absolute; left: 50%; top: 48%; width: 240px; height: 240px; transform: translate(-50%,-50%); border: 1px solid var(--line-strong); border-radius: 50%; }
.radar::before, .radar::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 20%; }
.radar::after { inset: 40%; background: var(--accent); box-shadow: 0 0 40px var(--accent); }
.radar i { position: absolute; background: var(--line-strong); }
.radar i:nth-child(1), .radar i:nth-child(2) { left: 50%; top: -10%; width: 1px; height: 120%; }
.radar i:nth-child(2) { transform: rotate(90deg); }
.radar i:nth-child(3) { inset: 8%; border: 1px dashed var(--accent); border-radius: 50%; background: none; animation: spin 18s linear infinite; }
.radar i:nth-child(4) { width: 48%; height: 1px; left: 50%; top: 50%; background: var(--accent); transform-origin: left; transform: rotate(-32deg); box-shadow: 0 0 8px var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.model { position: absolute; min-width: 58px; padding: 8px 9px; border: 1px solid var(--line-strong); background: var(--bg); font: 800 12px/1 "Courier New", monospace; }
.model small { float: right; margin-left: 11px; color: var(--accent); font-size: 8px; }
.model-a { left: 13%; top: 19%; }.model-b { right: 10%; top: 31%; }.model-c { left: 18%; bottom: 17%; }
.scan-data { position: absolute; right: 18px; bottom: 17px; width: 130px; display: grid; grid-template-columns: 1fr auto; gap: 7px; color: var(--muted); font: 700 8px/1 "Courier New", monospace; }
.scan-data b { color: var(--ink); }
.terminal-story { position: relative; padding: 26px 28px 30px; border-top: 1px solid var(--line); background: var(--surface); }
.terminal-story > span { color: var(--accent); font: 700 9px/1 "Courier New", monospace; letter-spacing: .14em; }
.terminal-story h2 { margin: 14px 0 24px; font-size: clamp(29px, 3vw, 44px); line-height: .98; letter-spacing: -.045em; }
.terminal-story > div { display: flex; align-items: center; justify-content: space-between; font: 800 11px/1 "Courier New", monospace; letter-spacing: .1em; }
.signal-strip { position: relative; z-index: 2; min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(24px, calc((100vw - 1450px)/2)); background: var(--accent); color: var(--accent-ink); font: 800 10px/1 "Courier New", monospace; letter-spacing: .11em; }
.signal-strip em { justify-self: end; font-style: normal; }

.dispatches { padding: 130px 0 120px; }
.section-heading { display: grid; grid-template-columns: 1fr .62fr; align-items: end; gap: 70px; margin-bottom: 62px; }
.section-number { display: block; margin-bottom: 24px; color: var(--accent); font: 800 11px/1 "Courier New", monospace; letter-spacing: .13em; }
.section-heading h2, .topic-intro h2, .systems-copy h2, .newsletter h2 { margin: 0; font-size: clamp(58px, 7vw, 104px); line-height: .86; letter-spacing: -.07em; }
.section-heading p { max-width: 450px; margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.article-layout { display: grid; grid-template-columns: 1.06fr .94fr; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.lead-article { position: relative; padding: 28px 44px 42px 0; border-right: 1px solid var(--line-strong); }
.article-art { position: relative; min-height: 220px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.lead-article .article-art { min-height: 430px; }
.art-grid { position: absolute; inset: 0; opacity: .7; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.art-index, .art-caption { position: absolute; z-index: 2; top: 15px; left: 16px; padding: 5px 7px; background: var(--bg); font: 800 9px/1 "Courier New", monospace; letter-spacing: .1em; }
.art-caption { top: auto; left: auto; right: 16px; bottom: 15px; color: var(--muted); }
.art-object { position: absolute; z-index: 1; left: 50%; top: 50%; width: 190px; height: 190px; transform: translate(-50%, -50%); border: 1px solid var(--line-strong); }
.art-object::before, .art-object::after { content: ""; position: absolute; inset: 18%; border: 1px solid var(--line-strong); transform: rotate(45deg); }
.art-object::after { inset: 38%; background: var(--accent); box-shadow: 0 0 38px color-mix(in srgb, var(--accent) 60%, transparent); }
.art-object i { position: absolute; left: 50%; top: -60%; width: 1px; height: 220%; background: var(--line-strong); transform-origin: center; }
.art-object i:nth-child(2) { transform: rotate(60deg); }.art-object i:nth-child(3) { transform: rotate(120deg); }
.art-timeline .art-object { width: 76%; height: 2px; background: var(--accent); border: 0; }
.art-timeline .art-object::before { inset: auto; left: 15%; top: -43px; width: 84px; height: 84px; border-radius: 50%; background: var(--surface); }
.art-timeline .art-object::after { inset: auto; right: 15%; top: -25px; width: 48px; height: 48px; border-radius: 50%; }
.art-code .art-object { width: 72%; height: 55%; border: 0; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 2px, transparent 2px 18px); }
.art-code .art-object::before { inset: 9% 20% 9% 2%; transform: none; background: linear-gradient(90deg, var(--blue), var(--accent)); border: 0; opacity: .75; clip-path: polygon(0 0,76% 0,76% 25%,45% 25%,45% 50%,91% 50%,91% 75%,61% 75%,61% 100%,0 100%); }
.art-code .art-object::after { display: none; }
.art-nodes .art-object { border-radius: 50%; }
.art-nodes .art-object::before { inset: 23%; border-radius: 50%; }
.art-nodes .art-object::after { inset: 43%; border-radius: 50%; }
.art-stack .art-object { border: 0; transform: translate(-50%,-50%) rotate(-8deg); }
.art-stack .art-object::before, .art-stack .art-object::after { inset: 10%; transform: none; background: var(--surface); box-shadow: 14px 14px 0 var(--blue), 28px 28px 0 var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0 14px; color: var(--muted); font: 700 10px/1 "Courier New", monospace; letter-spacing: .09em; }
.article-meta span:first-child { color: var(--accent); }
.lead-article h3 { max-width: 670px; margin: 0; font-size: clamp(28px, 2.8vw, 44px); line-height: .98; letter-spacing: -.055em; }
.lead-article > p { max-width: 650px; margin: 19px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.round-arrow { position: absolute; right: 42px; bottom: 45px; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.round-arrow:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.article-stack { display: grid; grid-template-rows: repeat(4, 1fr); }
.stack-card { min-height: 255px; display: grid; grid-template-columns: 39% 61%; border-bottom: 1px solid var(--line-strong); }
.stack-card:last-child { border-bottom: 0; }
.stack-card .article-art { min-height: 100%; border-width: 0 1px 0 0; }
.stack-card .art-object { width: 92px; height: 92px; }
.stack-card .art-caption { display: none; }
.stack-content { display: flex; flex-direction: column; padding: 8px 24px 18px; }
.stack-content h3 { margin: 0; font-size: clamp(22px, 2vw, 29px); line-height: 1.03; letter-spacing: -.035em; }
.stack-content p { margin: 11px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.48; }
.stack-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 700 9px/1 "Courier New", monospace; }
.stack-foot a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.stack-foot svg { width: 16px; }
.archive-link { min-height: 88px; display: grid; grid-template-columns: 1fr auto 30px; align-items: center; gap: 30px; border-bottom: 1px solid var(--line-strong); font-size: 18px; font-weight: 800; }
.archive-link b { color: var(--muted); font: 700 10px/1 "Courier New", monospace; letter-spacing: .1em; }
.archive-link:hover span { color: var(--accent); }

.topics { padding: 125px 0 130px; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topics .section-wrap { display: grid; grid-template-columns: .68fr 1.32fr; gap: 90px; }
.topic-intro { position: sticky; top: 125px; align-self: start; }
.topic-intro h2 i { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.topic-intro p { max-width: 420px; margin: 34px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.topic-list { border-top: 1px solid var(--line-strong); }
.topic-row { min-height: 172px; display: grid; grid-template-columns: 45px 1.1fr 1fr auto 48px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-strong); transition: padding .25s ease, background .25s ease; }
.topic-row > span, .topic-row > b { color: var(--muted); font: 700 10px/1 "Courier New", monospace; letter-spacing: .08em; }
.topic-row h3 { margin: 0; font-size: clamp(27px, 2.5vw, 38px); line-height: 1; letter-spacing: -.04em; }
.topic-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.topic-row i { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.topic-row:hover { padding: 0 14px; background: var(--surface); }
.topic-row:hover h3 { color: var(--accent); }

.systems { position: relative; padding: 132px 0; overflow: hidden; background: #3558ff; color: white; }
.systems-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, black, transparent 65%); }
.systems-bg::after { content: "HOW / TO"; position: absolute; right: -30px; bottom: -90px; color: rgba(255,255,255,.06); font-size: 240px; line-height: 1; font-weight: 900; letter-spacing: -.09em; }
.systems-inner { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: center; }
.systems-copy .section-number { color: white; opacity: .72; }
.systems-copy p { max-width: 470px; margin: 32px 0 36px; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.65; }
.primary-button.light { background: #fff; color: #162c91; }
.route-map { border: 1px solid rgba(255,255,255,.45); background: rgba(15,24,75,.2); backdrop-filter: blur(14px); box-shadow: 28px 30px 70px rgba(15,28,105,.24); }
.route-top, .route-foot { min-height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.28); font: 700 9px/1 "Courier New", monospace; letter-spacing: .12em; }
.route-top b::before { content: "●"; color: var(--accent); margin-right: 8px; }
.route-map > a { min-height: 96px; display: grid; grid-template-columns: 42px 1fr auto 28px; align-items: center; gap: 20px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.28); }
.route-map > a > span, .route-map > a > em { color: rgba(255,255,255,.62); font: 700 9px/1 "Courier New", monospace; font-style: normal; letter-spacing: .1em; }
.route-map > a strong { font-size: 20px; }
.route-map > a svg { width: 18px; }
.route-map > a:hover { background: white; color: #162c91; }
.route-map > a:hover > span, .route-map > a:hover > em { color: #5870d8; }
.route-foot { border-bottom: 0; color: rgba(255,255,255,.65); }
.route-foot span { color: var(--accent); }

.newsletter { min-height: 680px; padding-top: 110px; padding-bottom: 110px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.newsletter-mark { position: relative; width: min(430px, 100%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.newsletter-mark::before, .newsletter-mark::after { content: ""; position: absolute; inset: 15%; border: 1px solid var(--line); border-radius: 50%; }
.newsletter-mark::after { inset: 32%; border-style: dashed; }
.newsletter-mark span { position: relative; z-index: 1; font-size: 110px; font-weight: 900; letter-spacing: -.12em; }
.newsletter-mark i { position: absolute; right: 8%; top: 8%; width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border-radius: 50%; font-size: 32px; font-style: normal; }
.newsletter-copy { max-width: 710px; }
.newsletter-copy p { max-width: 630px; margin: 30px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.newsletter form { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line-strong); }
.newsletter input { min-height: 65px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 19px; }
.newsletter input::placeholder { color: var(--muted); }
.newsletter button { min-height: 52px; align-self: center; padding: 0 18px 0 22px; border: 0; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 800; cursor: pointer; }
.newsletter small { display: block; margin-top: 13px; color: var(--muted); font: 700 9px/1 "Courier New", monospace; }

.site-footer { padding: 72px 0 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.7fr .65fr .65fr 1fr; gap: 70px; padding-bottom: 70px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-size: 26px; letter-spacing: -.03em; }
.footer-identity .masthead-image { height: 80px !important; width: auto !important; max-width: 320px !important; min-width: 0 !important; }
.footer-brand span { margin-top: 5px; color: var(--accent); font: 800 10px/1 "Courier New", monospace; letter-spacing: .16em; }
.footer-brand p { max-width: 390px; margin: 30px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-nav > span, .footer-status > span { margin-bottom: 10px; color: var(--muted); font: 700 9px/1 "Courier New", monospace; letter-spacing: .14em; }
.footer-nav a { font-size: 14px; font-weight: 700; }
.footer-nav a:hover { color: var(--accent); }
.footer-status strong, .footer-status em { display: block; }
.footer-status strong { margin: 14px 0 24px; color: var(--accent); font: 800 10px/1 "Courier New", monospace; }
.footer-status strong i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.footer-status em { color: var(--muted); font: 700 10px/1.6 "Courier New", monospace; font-style: normal; }
.footer-bottom { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; border-top: 1px solid var(--line); padding-top: 26px; color: var(--muted); font: 700 9px/1 "Courier New", monospace; letter-spacing: .08em; }
.footer-bottom nav { display: flex; gap: 24px; }.footer-bottom nav ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }.footer-bottom > a { justify-self: end; }

.search-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 30px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(22px); }
.search-close { position: absolute; right: 36px; top: 28px; width: 50px; height: 50px; border: 1px solid var(--line); background: transparent; font-size: 28px; cursor: pointer; }
.search-shell { width: min(900px, 100%); }
.search-shell .eyebrow { color: var(--accent); font: 800 11px/1 "Courier New", monospace; letter-spacing: .12em; }
.search-shell label { display: block; margin: 24px 0 38px; font-size: clamp(48px, 7vw, 88px); line-height: .94; letter-spacing: -.06em; font-weight: 800; }
.search-field { display: grid; grid-template-columns: 1fr 68px; border-bottom: 2px solid var(--ink); }
.search-field input { min-height: 76px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 22px; }
.search-field button { border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; }
.search-shell > p { color: var(--muted); }.search-shell > p button { margin: 0 3px; padding: 5px 9px; border: 1px solid var(--line); background: transparent; cursor: pointer; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .gm-menu-toggle { display: inline-grid; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; }
  .feature-terminal { max-width: 760px; transform: none; }
  .article-layout { grid-template-columns: 1fr; }
  .lead-article { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .topics .section-wrap, .systems-inner { grid-template-columns: 1fr; }
  .topic-intro { position: static; }
  .topic-list { margin-top: 20px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }.footer-status { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section-wrap, .header-inner, .hero-inner { width: min(100% - 36px, 1320px); }
  .site-header, .header-inner { min-height: 70px; }
  .brand-copy em { display: none; }
  .search-button, .language-button { display: none; }
  .hero-inner { min-height: auto; padding: 50px 0; }
  .eyebrow-line { margin-bottom: 30px; }.eyebrow-line em { display: none; }
  .hero h1 { font-size: clamp(58px, 17vw, 85px); }
  .hero-copy > p { font-size: 17px; }
  .hero-links { align-items: flex-start; flex-direction: column; }
  .terminal-visual { min-height: 300px; }.terminal-story { padding: 24px 20px; }
  .signal-strip { grid-template-columns: 1fr; padding: 16px 18px; line-height: 1.5; }.signal-strip span, .signal-strip em { display: none; }
  .dispatches, .topics, .systems { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .section-heading h2, .topic-intro h2, .systems-copy h2, .newsletter h2 { font-size: clamp(53px, 15vw, 76px); }
  .lead-article { padding-top: 20px; padding-bottom: 100px; }.lead-article .article-art { min-height: 300px; }
  .round-arrow { left: 0; right: auto; bottom: 30px; }
  .stack-card { grid-template-columns: 1fr; }.stack-card .article-art { min-height: 210px; border: 0; }.stack-content { padding: 5px 0 26px; }
  .archive-link { grid-template-columns: 1fr 24px; }.archive-link b { display: none; }
  .topics .section-wrap { gap: 45px; }
  .topic-row { padding: 25px 0; grid-template-columns: 35px 1fr 45px; gap: 14px; }.topic-row p, .topic-row > b { grid-column: 2 / -1; }.topic-row i { grid-column: 3; grid-row: 1; }.topic-row:hover { padding: 25px 10px; }
  .systems-inner { gap: 55px; }.route-map > a { padding: 14px; grid-template-columns: 28px 1fr 22px; }.route-map > a em { display: none; }.route-map > a strong { font-size: 17px; }
  .newsletter { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; }.newsletter-mark { width: 240px; }.newsletter-mark span { font-size: 65px; }.newsletter form { grid-template-columns: 1fr; }.newsletter button { justify-content: space-between; margin-bottom: 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 46px 28px; }.footer-brand, .footer-status { grid-column: 1 / -1; }.footer-bottom { grid-template-columns: 1fr; gap: 18px; }.footer-bottom nav, .footer-bottom nav ul { flex-wrap: wrap; }.footer-bottom > a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .radar i:nth-child(3) { animation: none; } * { transition-duration: .01ms !important; } }

/* WordPress + Elementor integration -------------------------------------- */
html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
body.admin-bar .site-header { top: 32px; }
.gm-site { min-height: 100vh; overflow: clip; }
.gm-panel-open { overflow: hidden; }
.gm-main { min-height: 52vh; }
.gm-skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 12px 16px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); }
.gm-skip-link:focus { transform: translateY(0); }
.brand-logo { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav > ul, .main-nav .gm-default-menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav .sub-menu { position: absolute; left: -18px; top: calc(100% - 8px); min-width: 230px; margin: 0; padding: 12px; background: var(--surface); border: 1px solid var(--line); list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 11px 10px; }
.main-nav .sub-menu a::after { display: none; }
.language-button select { width: 100%; min-height: 40px; border: 0; outline: 0; background: transparent; color: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.language-button .gm-language-fallback { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gm-menu-toggle { display: none; }
.gm-mobile-menu { position: fixed; z-index: 70; inset: 0 0 auto; min-height: 100vh; padding: 22px 24px 50px; background: var(--bg); }
.gm-mobile-menu[hidden], .search-overlay[hidden] { display: none !important; }
.gm-mobile-menu-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--accent); font: 800 11px/1 "Courier New",monospace; letter-spacing: .13em; }
.gm-mobile-menu-head button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; }
.gm-mobile-menu ul { margin: 0; padding: 28px 0; list-style: none; }
.gm-mobile-menu li { border-bottom: 1px solid var(--line); }
.gm-mobile-menu a { display: flex; align-items: center; min-height: 65px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.gm-mobile-menu .sub-menu { padding: 0 0 10px 18px; }
.gm-mobile-menu .sub-menu li { border: 0; }.gm-mobile-menu .sub-menu a { min-height: 42px; color: var(--muted); font-size: 16px; }
.gm-front-page .elementor-section.elementor-section-boxed > .elementor-container,
.gm-elementor-location .elementor-section.elementor-section-boxed > .elementor-container { max-width: none; }
.gm-front-page .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.gm-elementor-location .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }
.gm-front-page .elementor-widget:not(:last-child), .gm-elementor-location .elementor-widget:not(:last-child) { margin-bottom: 0; }
.gm-elementor-header { position: sticky; z-index: 50; top: 0; }
.gm-elementor-header .site-header { position: relative; top: 0; }
.admin-bar .gm-elementor-header { top: 32px; }
.elementor-editor-active .site-header { position: relative; top: 0 !important; }
.elementor-editor-active .feature-terminal { transform: none; }
.has-image { min-height: inherit; background: #111; }
.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
a:hover .has-image img { transform: scale(1.025); }
.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 60%,rgba(0,0,0,.48)); }
.has-image .art-index, .has-image .art-caption { z-index: 3; }
.stack-card > a { min-width: 0; overflow: hidden; }
.stack-card > a .article-art { height: 100%; }
.section-heading h2 { max-width: 760px; }
.dispatches .elementor-widget-container, .topics .elementor-widget-container { width: 100%; }

/* Archive --------------------------------------------------------------- */
.gm-archive { padding-top: 115px; padding-bottom: 120px; }
.gm-archive-header { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; padding-bottom: 58px; border-bottom: 1px solid var(--line-strong); }
.gm-archive-header .section-number { grid-column: 1 / -1; margin-bottom: -25px; }
.gm-archive-header h1 { max-width: 900px; margin: 0; font-size: clamp(40px,4.6vw,68px); line-height: .84; letter-spacing: -.075em; text-transform: none; }
.gm-archive-header p, .gm-archive-description { max-width: 540px; margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.gm-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-left: 1px solid var(--line-strong); }
.gm-post-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 28px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.gm-post-card .article-art { min-height: 285px; }
.gm-post-card .article-meta { margin-top: 22px; }
.gm-post-card h2, .gm-post-card h3 { margin: 0; font-size: clamp(22px,1.7vw,28px); line-height: 1; letter-spacing: -.045em; }
.gm-post-card h2 a:hover, .gm-post-card h3 a:hover { color: var(--accent); }
.gm-card-excerpt { margin: 16px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.gm-card-excerpt p { margin: 0; }
.gm-card-read { display: flex; justify-content: space-between; align-items: center; min-height: 46px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.gm-card-read svg { width: 18px; }
.gm-card-read:hover { color: var(--accent); }
.navigation.pagination { padding: 45px 0; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; }
.nav-links .page-numbers { min-width: 46px; min-height: 46px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.nav-links .current, .nav-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gm-no-results { min-height: 400px; padding: 80px 0; }.gm-no-results h2 { margin: 0; font-size: 54px; }.gm-no-results p { color: var(--muted); }
.gm-author-header { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 65px; padding: 20px 0 90px; }
.gm-author-avatar { position: relative; aspect-ratio: 1; border: 1px solid var(--line-strong); padding: 18px; }
.gm-author-avatar::before { content: "GM / AUTHOR"; position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 5px; background: var(--accent); color: var(--accent-ink); font: 800 9px/1 "Courier New",monospace; }
.gm-author-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.gm-author-header h1 { margin: 0; font-size: clamp(40px,4.4vw,60px); line-height: .86; letter-spacing: -.07em; }.gm-author-header p { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.gm-author-articles > .section-number { padding: 25px 0; border-top: 1px solid var(--line-strong); }

/* Long-form article ------------------------------------------------------ */
.gm-reading-progress { position: fixed; z-index: 80; left: 0; right: 0; top: 78px; height: 2px; pointer-events: none; }.admin-bar .gm-reading-progress { top: 110px; }.gm-reading-progress span { display: block; width: 0; height: 100%; background: var(--accent); }
.gm-article-header { padding-top: 88px; padding-bottom: 58px; }
.gm-article-kicker { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); color: var(--accent); font: 800 11px/1 "Courier New",monospace; letter-spacing: .12em; }.gm-article-kicker em { color: var(--muted); font-style: normal; }
.gm-article-header h1 { max-width: 1220px; margin: 44px 0 34px; font-size: clamp(40px,5vw,72px); line-height: .88; letter-spacing: -.072em; overflow-wrap: anywhere; }
.gm-article-deck { max-width: 900px; color: var(--muted); font-size: clamp(20px,2vw,27px); line-height: 1.48; }.gm-article-deck p { margin: 0; }
.gm-article-byline { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 55px; padding-top: 25px; border-top: 1px solid var(--line); }
.gm-byline-author { display: flex; align-items: center; gap: 14px; }.gm-byline-author img { width: 48px; height: 48px; border-radius: 50%; filter: grayscale(1); }.gm-byline-author span, .gm-byline-data > span { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }.gm-byline-author small, .gm-byline-data small { color: var(--muted); font: 700 9px/1 "Courier New",monospace; letter-spacing: .1em; }
.gm-byline-data { display: flex; align-items: flex-end; gap: 38px; }.gm-byline-data button { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--line); background: transparent; font: 800 10px/1 "Courier New",monospace; cursor: pointer; }.gm-byline-data button:hover { color: var(--accent); border-color: var(--accent); }
.gm-article-feature { margin-bottom: 84px; }.gm-article-feature > img { display: block; width: 100%; max-height: 800px; object-fit: cover; }.gm-article-feature figcaption { padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--line); font: 700 10px/1.5 "Courier New",monospace; }
.gm-generated-feature .article-art { min-height: min(62vw,730px); }
.gm-article-layout { display: grid; grid-template-columns: 245px minmax(0,760px) 80px; justify-content: space-between; align-items: start; gap: 55px; padding-bottom: 100px; }
.gm-article-aside { position: sticky; top: 125px; }.gm-toc > span { display: block; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 800 9px/1 "Courier New",monospace; letter-spacing: .12em; }.gm-toc ol { margin: 0; padding: 12px 0; list-style: none; counter-reset: toc; }.gm-toc li { counter-increment: toc; }.gm-toc a, .gm-toc li { display: grid; grid-template-columns: 24px 1fr; gap: 7px; padding: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.4; }.gm-toc a::before, .gm-toc li::before { content: counter(toc,decimal-leading-zero); color: var(--accent); font: 700 9px/1.5 "Courier New",monospace; }.gm-toc a:hover { color: var(--ink); }
.gm-sidebar-widget { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }.gm-sidebar-widget h3 { font-size: 18px; }
.gm-article-content { min-width: 0; font-family: Georgia,"Times New Roman",serif; font-size: 20px; line-height: 1.84; }
.gm-article-content > *:first-child { margin-top: 0; }.gm-article-content p { margin: 0 0 1.45em; }.gm-article-content h2, .gm-article-content h3, .gm-article-content h4 { scroll-margin-top: 120px; font-family: Arial,Helvetica,sans-serif; letter-spacing: -.045em; line-height: 1.05; }.gm-article-content h2 { margin: 2em 0 .65em; font-size: clamp(40px,4vw,58px); }.gm-article-content h3 { margin: 1.8em 0 .65em; font-size: 34px; }.gm-article-content h4 { font-size: 25px; }
.gm-article-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }.gm-article-content img { max-width: 100%; height: auto; }.gm-article-content figure { margin: 2.6em 0; }.gm-article-content figcaption { margin-top: 9px; color: var(--muted); font: 700 10px/1.5 "Courier New",monospace; }
.gm-article-content blockquote { margin: 2.2em 0; padding: 9px 0 9px 30px; border-left: 4px solid var(--accent); font-size: 1.3em; line-height: 1.5; }.gm-article-content blockquote p:last-child { margin: 0; }
.gm-article-content pre { max-width: 100%; overflow-x: auto; margin: 2em 0; padding: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 14px/1.65 "Courier New",monospace; }.gm-article-content code { padding: .12em .35em; background: var(--surface); font-family: "Courier New",monospace; font-size: .86em; }.gm-article-content pre code { padding: 0; background: transparent; }
.gm-article-content table { width: 100%; margin: 2em 0; border-collapse: collapse; font-family: Arial,Helvetica,sans-serif; font-size: 15px; }.gm-article-content th, .gm-article-content td { padding: 14px; border: 1px solid var(--line); text-align: left; }.gm-article-content th { background: var(--surface); }
.gm-article-content ul, .gm-article-content ol { padding-left: 1.25em; }.gm-article-content li { margin-bottom: .55em; }
.gm-article-rail { position: sticky; top: 125px; display: flex; min-height: 420px; flex-direction: column; align-items: center; gap: 15px; color: var(--muted); font: 700 8px/1 "Courier New",monospace; letter-spacing: .12em; writing-mode: vertical-rl; }.gm-article-rail b { color: var(--ink); font-size: 22px; }.gm-article-rail i { width: 1px; flex: 1; background: var(--line-strong); }
.gm-article-footer { padding-top: 44px; padding-bottom: 90px; border-top: 1px solid var(--line-strong); }.gm-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }.gm-tags > span { margin-right: 12px; color: var(--muted); font: 800 9px/1 "Courier New",monospace; }.gm-tags a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 30px; font-size: 12px; font-weight: 700; }.gm-tags a:hover { border-color: var(--accent); color: var(--accent); }
.gm-post-navigation { margin-top: 55px; }.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }.post-navigation a { min-height: 145px; display: flex; flex-direction: column; justify-content: center; padding: 26px; border: 1px solid var(--line-strong); }.post-navigation .nav-next { text-align: right; }.post-navigation small { color: var(--accent); font: 800 9px/1 "Courier New",monospace; letter-spacing: .11em; }.post-navigation strong { max-width: 520px; margin-top: 14px; font-size: 24px; line-height: 1.1; }.post-navigation .nav-next strong { align-self: flex-end; }.post-navigation a:hover { background: var(--surface); }
.gm-related { padding: 100px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }.gm-related-heading { margin-bottom: 45px; }.gm-related-heading h2 { margin: 0; font-size: clamp(54px,7vw,92px); line-height: .9; letter-spacing: -.065em; }.gm-related .gm-post-card { padding-top: 0; }.gm-related .gm-post-grid { border-top: 0; }

/* Pages, comments, utility ----------------------------------------------- */
.gm-page-shell { padding-top: 105px; padding-bottom: 120px; }.gm-page-header { padding-bottom: 50px; border-bottom: 1px solid var(--line-strong); }.gm-page-header h1 { max-width: 1050px; margin: 0; font-size: clamp(40px,4.6vw,64px); line-height: .86; letter-spacing: -.07em; }.gm-page-content { max-width: 850px; margin: 65px auto 0; font-family: Georgia,serif; font-size: 19px; line-height: 1.8; }.gm-page-content h2,.gm-page-content h3 { font-family: Arial,Helvetica,sans-serif; letter-spacing: -.04em; }.gm-page-content h2 { margin-top: 1.7em; font-size: 43px; }.gm-page-content a { color: var(--blue); text-decoration: underline; }
.gm-error-page { min-height: 720px; display: flex; flex-direction: column; justify-content: center; }.gm-error-code { color: var(--accent); font: 800 11px/1 "Courier New",monospace; letter-spacing: .12em; }.gm-error-page h1 { margin: 25px 0; font-size: clamp(48px,6vw,88px); line-height: .83; letter-spacing: -.075em; }.gm-error-page p { max-width: 600px; color: var(--muted); font-size: 19px; line-height: 1.6; }.gm-error-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }.gm-error-actions button { background: transparent; color: var(--ink); cursor: pointer; }
.gm-comments { padding-top: 90px; padding-bottom: 100px; }.gm-comments h2, .comment-respond .comment-reply-title { font-size: clamp(42px,5vw,70px); letter-spacing: -.05em; }.comment-list { margin: 0 0 70px; padding: 0; list-style: none; }.comment-list .comment { margin: 0; padding: 28px 0; border-top: 1px solid var(--line); }.comment-body { display: grid; grid-template-columns: 64px 1fr; gap: 20px; }.comment-meta, .comment-content, .reply { grid-column: 2; }.comment-author img { border-radius: 50%; }.comment-content { color: var(--muted); line-height: 1.7; }.comment-form { max-width: 820px; }.comment-form label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }.comment-form input:not([type=checkbox]), .comment-form textarea { width: 100%; min-height: 50px; padding: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }.comment-form textarea { min-height: 160px; }.gm-comment-submit { min-height: 52px; padding: 0 22px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 800; cursor: pointer; }

@media (max-width: 1100px) {
  .gm-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gm-article-layout { grid-template-columns: minmax(0,760px) 60px; justify-content: center; }
  .gm-article-aside { display: none; }
  .gm-archive-header { grid-template-columns: 1fr; gap: 28px; }
  .gm-archive-header .section-number { margin-bottom: 0; }
  .gm-author-header { grid-template-columns: 200px 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .admin-bar .gm-elementor-header { top: 46px; }
  .admin-bar .gm-reading-progress { top: 116px; }
}

@media (max-width: 720px) {
  .gm-menu-toggle { display: inline-grid; }
  .gm-post-grid { grid-template-columns: 1fr; }
  .gm-post-card { padding: 20px 0 30px; border-right: 0; }
  .gm-archive { padding-top: 72px; padding-bottom: 80px; }.gm-archive-header h1 { font-size: clamp(38px,10vw,56px); }
  .gm-author-header { grid-template-columns: 1fr; gap: 35px; }.gm-author-avatar { width: 200px; }.gm-author-header h1 { font-size: 42px; }
  .gm-reading-progress { top: 70px; }
  .gm-article-header { padding-top: 55px; }.gm-article-header h1 { margin-top: 28px; font-size: clamp(38px,9vw,56px); }.gm-article-deck { font-size: 19px; }
  .gm-article-byline { align-items: flex-start; flex-direction: column; }.gm-byline-data { width: 100%; flex-wrap: wrap; gap: 22px; }.gm-byline-data button { width: 100%; justify-content: center; }
  .gm-article-feature { width: 100%; margin-bottom: 55px; }.gm-article-feature figcaption { padding-left: 18px; padding-right: 18px; }
  .gm-article-layout { grid-template-columns: 1fr; width: min(100% - 36px,760px); gap: 0; }.gm-article-rail { display: none; }.gm-article-content { font-size: 18px; line-height: 1.78; }.gm-article-content h2 { font-size: 40px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }.post-navigation .nav-next { text-align: left; }.post-navigation .nav-next strong { align-self: flex-start; }
  .gm-page-shell { padding-top: 70px; }.gm-page-header h1 { font-size: 42px; }.gm-page-content { margin-top: 45px; font-size: 18px; }
  .gm-error-actions { align-items: flex-start; flex-direction: column; }
  .comment-body { grid-template-columns: 48px 1fr; }
}

/* Newsroom 2.0 ---------------------------------------------------------- */
:root,
:root[data-theme="light"] {
  --paper: #f5f3ec;
  --paper-2: #ebe8de;
  --card: #fbfaf6;
  --ink: #121411;
  --muted: #666a64;
  --line: #cbc8bc;
  --line-strong: #929187;
  --teal: #087f83;
  --teal-deep: #055c60;
  --red: #e6513f;
  --night: #111817;
  --bg: var(--paper);
  --bg-soft: var(--paper-2);
  --surface: var(--card);
  --surface-2: var(--paper-2);
  --accent: var(--teal);
  --accent-ink: #fff;
  --blue: var(--teal-deep);
  --header: rgba(245,243,236,.94);
}

:root[data-theme="dark"] {
  --paper: #101513;
  --paper-2: #171d1a;
  --card: #1b211e;
  --ink: #f0eee6;
  --muted: #a9aca5;
  --line: #343b37;
  --line-strong: #5c6660;
  --teal: #58c5c2;
  --teal-deep: #83d8d5;
  --red: #ff6f5d;
  --night: #080b0a;
  --bg: var(--paper);
  --bg-soft: var(--paper-2);
  --surface: var(--card);
  --surface-2: #202723;
  --accent: var(--teal);
  --accent-ink: #07100e;
  --blue: var(--teal-deep);
  --header: rgba(16,21,19,.95);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.gm-panel-open { overflow: hidden; }
.page-shell { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }
.front-page a, .latest-section a, .desk-section a, .guides-section a,
.reviews-section a, .topic-strip a, .site-footer a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }

/* Publication masthead */
.utility-bar { min-height: 38px; border-bottom: 1px solid var(--line); background: var(--night); color: #eef1ec; }
.utility-inner { min-height: 38px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; font: 700 11px/1.2 "Courier New", monospace; letter-spacing: .075em; }
.utility-inner > b { color: #aeb9b3; font-size: 10px; text-align: center; }
.utility-inner > div { justify-self: end; display: flex; align-items: center; gap: 25px; }
.utility-inner a, .utility-inner button { color: #f4f4ef; font: inherit; }
.utility-inner button { min-height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.utility-inner a:hover, .utility-inner button:hover { color: #69d4d0; }

.site-header { position: sticky; z-index: 55; top: 0; min-height: 0; border-bottom: 0; background: var(--header); backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 32px; }
.masthead-row { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.masthead { grid-column: 2; display: inline-flex; align-items: center; justify-content: center; gap: 13px; }
.masthead-mark { width: 51px; height: 51px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid var(--teal); color: var(--teal); font-size: 21px; font-weight: 900; letter-spacing: -.08em; transform: skew(-8deg); }
.masthead-image { display: block; flex: 0 0 auto; height: 64px !important; max-width: 240px !important; min-width: 0 !important; width: auto !important; }
.masthead-copy { display: grid; gap: 3px; line-height: 1; }
.masthead-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px,2vw,33px); letter-spacing: -.035em; }
.masthead-copy em { color: var(--teal); font: 800 11px/1 "Courier New", monospace; letter-spacing: .34em; }
.masthead-custom-logo { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; }
.masthead-custom-logo img { width: 100%; height: 100%; object-fit: contain; }
.masthead-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.round-control { width: 48px; height: 48px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; }
.round-control:hover { border-color: var(--teal); color: var(--teal); }
.round-control svg { width: 21px; height: 21px; }
.mobile-menu-button { justify-self: start; visibility: hidden; }
.edition-button .gm-language-switcher,
.edition-button select,
.edition-button .language-button,
.edition-button .gm-language-fallback { min-width: 132px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 800; }

.category-nav { border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.news-primary-menu { min-height: 54px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; padding: 0 12px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.news-primary-menu::-webkit-scrollbar { display: none; }
.news-primary-menu a { position: relative; display: flex; align-items: center; min-height: 54px; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 0 4px; }
.news-primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 3px; background: var(--teal); transition: right .2s ease; }
.news-primary-menu a:hover { color: var(--teal); }
.news-primary-menu a:hover::after, .news-primary-menu .current-menu-item a::after { right: 0; }
.breaking-bar { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.breaking-bar > div { min-height: 49px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.breaking-bar b { color: var(--red); font: 900 11px/1 "Courier New", monospace; letter-spacing: .08em; }
.breaking-bar p { min-width: 0; margin: 0; overflow: hidden; font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.breaking-bar a { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; }
.breaking-bar a:hover { color: var(--teal); }
.breaking-bar svg { width: 17px; height: 17px; }

/* Shared editorial language */
.edition-heading { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.edition-heading span, .edition-heading time, .story-meta, .section-title span,
.section-title > a, .rail-heading, .most-read-title, .guide-cover-copy > span,
.newsletter-title > span { font-family: "Courier New", monospace; font-weight: 800; letter-spacing: .1em; }
.edition-heading span { font-size: 12px; }
.edition-heading time { color: var(--muted); font-size: 10px; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-top: 15px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.story-meta span { color: var(--teal); }
.story-meta em { font-style: normal; }
.story-image { position: relative; min-height: 230px; overflow: hidden; background: var(--paper-2); }
.story-image img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; filter: saturate(.9); transition: transform .35s ease; }
a:hover .story-image img { transform: scale(1.025); }
.story-category { position: absolute; left: 0; bottom: 0; padding: 8px 11px; background: var(--night); color: #fff; font: 800 9px/1 "Courier New", monospace; letter-spacing: .08em; }
.gm-news-image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg,var(--paper-2),var(--card)); color: var(--teal); }
.gm-news-image-placeholder::before { content: ""; position: absolute; width: 65%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.gm-news-image-placeholder::after { content: ""; position: absolute; width: 145%; height: 1px; background: var(--line); transform: rotate(-28deg); }
.gm-news-image-placeholder b { z-index: 2; font-family: Georgia,serif; font-size: clamp(42px,6vw,94px); letter-spacing: -.08em; }
.gm-news-image-placeholder i { position: absolute; right: 8%; bottom: 12%; z-index: 2; font: 900 10px/1 "Courier New",monospace; letter-spacing: .2em; }
.gm-news-image-placeholder span { position: absolute; left: 7%; top: 8%; z-index: 2; color: var(--muted); font: 700 8px/1 "Courier New",monospace; letter-spacing: .18em; }
.section-title { min-height: 132px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 28px 0 25px; border-bottom: 2px solid var(--ink); }
.section-title > div { display: flex; align-items: baseline; gap: 17px; }
.section-title span { color: var(--teal); font-size: 11px; }
.section-title h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(44px,5vw,70px); line-height: .93; letter-spacing: -.055em; }
.section-title > a { min-height: 45px; display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line-strong); font-size: 10px; }
.section-title > a:hover { color: var(--teal); border-color: var(--teal); }
.section-title svg, .read-story svg, .card-link svg { width: 18px; height: 18px; }

/* Front page lead edition */
.front-page { padding-bottom: 84px; }
.lead-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.7fr) minmax(290px,.62fr); border-bottom: 1px solid var(--line); }
.lead-story { min-width: 0; padding: 30px 30px 32px 0; border-right: 1px solid var(--line); }
.lead-story .story-image { min-height: clamp(350px,35vw,555px); }
.lead-story h1 { margin: 16px 0 15px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(43px,4.25vw,69px); line-height: .98; letter-spacing: -.045em; }
.lead-story h1 a:hover, .secondary-story h2 a:hover, .story-card h3 a:hover,
.desk-feature h2 a:hover, .desk-list h3 a:hover, .review-card h3 a:hover { color: var(--teal); }
.lead-story > p { max-width: 830px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.62; }
.read-story, .card-link { min-height: 46px; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; border-bottom: 1px solid var(--line-strong); font-size: 11px; font-weight: 900; }
.read-story:hover, .card-link:hover { color: var(--teal); border-color: var(--teal); }
.secondary-column { border-right: 1px solid var(--line); }
.secondary-story { padding: 30px; }
.secondary-story + .secondary-story { border-top: 1px solid var(--line); }
.secondary-story .story-image { min-height: 180px; aspect-ratio: 16/9; }
.secondary-story h2 { margin: 12px 0 10px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(25px,2.1vw,34px); line-height: 1.03; letter-spacing: -.035em; }
.secondary-story > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.news-rail { display: flex; min-width: 0; flex-direction: column; padding-left: 28px; }
.rail-heading { min-height: 61px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); font-size: 10px; }
.rail-heading i { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-style: normal; }
.rail-heading i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb,var(--red) 18%,transparent); }
.wire-item { display: grid; grid-template-columns: 43px 1fr; gap: 12px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.wire-item time { color: var(--muted); font: 700 10px/1.3 "Courier New",monospace; }
.wire-item div { display: grid; gap: 6px; }
.wire-item span { color: var(--teal); font: 800 8px/1 "Courier New",monospace; letter-spacing: .08em; }
.wire-item strong { font-family: Georgia,"Times New Roman",serif; font-size: 16px; line-height: 1.25; }
.wire-item:hover strong { color: var(--teal); }
.all-news { min-height: 54px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 10px; font-weight: 900; }
.all-news:hover { color: var(--teal); }
.all-news svg { width: 18px; }

/* Latest and most read */
.latest-section { padding-bottom: 105px; }
.latest-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 46px; padding-top: 34px; }
.card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.story-card { min-width: 0; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-card .story-image { min-height: 250px; aspect-ratio: 16/9; }
.story-card h3 { margin: 13px 0 11px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(28px,2.6vw,39px); line-height: 1.03; letter-spacing: -.04em; }
.story-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.story-card .card-link { align-self: flex-start; margin-top: auto; padding-top: 15px; }
.most-read { border-top: 5px solid var(--teal); }
.most-read-title { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); font-size: 10px; }
.most-read-title em { color: var(--muted); font-style: normal; }
.most-read > a { display: grid; grid-template-columns: 53px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.most-read > a > b { color: var(--teal); font-family: Georgia,serif; font-size: 30px; font-weight: 400; }
.most-read > a div { display: grid; gap: 7px; }
.most-read > a span { color: var(--muted); font: 800 8px/1 "Courier New",monospace; letter-spacing: .08em; }
.most-read > a strong { font-family: Georgia,"Times New Roman",serif; font-size: 17px; line-height: 1.25; }
.most-read > a:hover strong { color: var(--teal); }

/* Dark editorial desk */
.desk-section { padding-bottom: 70px; background: var(--night); color: #f1f3ed; }
.desk-section .section-title { border-color: #f1f3ed; }
.desk-section .section-title > a { border-color: #59635e; color: #f1f3ed; }
.desk-section .story-meta { color: #99a39e; }
.desk-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(390px,.88fr); gap: 44px; padding-top: 38px; }
.desk-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-width: 0; border: 1px solid #38403c; }
.desk-feature .story-image { height: 100%; min-height: 510px; }
.desk-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,4vw,62px); }
.desk-feature h2 { margin: 17px 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(39px,4vw,59px); line-height: .98; letter-spacing: -.045em; }
.desk-feature p, .desk-list p { color: #aab2ad; }
.desk-feature p { margin: 0; font-size: 15px; line-height: 1.65; }
.desk-feature .read-story { align-self: flex-start; border-color: #59635e; }
.desk-list { border-top: 1px solid #46504a; }
.desk-list article { display: grid; grid-template-columns: 53px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid #46504a; }
.desk-list article > b { color: var(--teal); font: 400 26px/1 Georgia,serif; }
.desk-list .story-meta { margin-top: 0; }
.desk-list h3 { margin: 9px 0 7px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(22px,2vw,29px); line-height: 1.05; letter-spacing: -.03em; }
.desk-list p { margin: 0; font-size: 13px; line-height: 1.48; }
.topic-strip { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.topic-strip > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.topic-strip a { position: relative; min-height: 150px; display: grid; align-content: center; gap: 10px; padding: 23px 28px; border-right: 1px solid var(--line); }
.topic-strip a:first-child { border-left: 1px solid var(--line); }
.topic-strip span { color: var(--teal); font: 800 9px/1 "Courier New",monospace; }
.topic-strip strong { font-family: Georgia,"Times New Roman",serif; font-size: 23px; line-height: 1.05; }
.topic-strip em { color: var(--muted); font: 700 8px/1 "Courier New",monospace; letter-spacing: .08em; }
.topic-strip svg { position: absolute; right: 23px; top: 23px; width: 18px; }
.topic-strip a:hover { background: var(--card); color: var(--teal); }

/* Guides */
.guides-section { padding-top: 20px; padding-bottom: 115px; }
.guide-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); gap: 48px; padding-top: 40px; }
.guide-cover { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.15fr); min-height: 540px; border: 1px solid var(--line-strong); background: var(--card); }
.guide-cover-image { position: relative; min-height: 100%; overflow: hidden; background: var(--paper-2); }
.guide-cover-image > img { width: 100%; height: 100%; object-fit: cover; }
.guide-cover-image > span { position: absolute; left: 20px; top: 20px; padding: 9px 12px; background: var(--red); color: #fff; font: 900 9px/1 "Courier New",monospace; letter-spacing: .1em; }
.guide-cover-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px,4vw,64px); }
.guide-cover-copy > span { color: var(--teal); font-size: 9px; }
.guide-cover-copy h2 { margin: 20px 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(40px,4.2vw,62px); line-height: .98; letter-spacing: -.05em; }
.guide-cover-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.guide-cover-copy a { align-self: flex-start; min-height: 48px; display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; border-bottom: 1px solid var(--line-strong); font-size: 10px; font-weight: 900; }
.guide-cover-copy a:hover { color: var(--teal); border-color: var(--teal); }
.guide-cover-copy svg { width: 18px; }
.guide-index { border-top: 2px solid var(--ink); }
.guide-index > a { display: grid; grid-template-columns: 42px 86px minmax(0,1fr) 42px 22px; align-items: center; gap: 13px; min-height: 92px; border-bottom: 1px solid var(--line); }
.guide-index b { color: var(--teal); font: 400 23px/1 Georgia,serif; }
.guide-index span, .guide-index em { color: var(--muted); font: 700 8px/1.2 "Courier New",monospace; letter-spacing: .07em; }
.guide-index strong { font-family: Georgia,"Times New Roman",serif; font-size: 18px; line-height: 1.2; }
.guide-index em { font-style: normal; text-align: right; }
.guide-index svg { width: 17px; }
.guide-index a:hover strong { color: var(--teal); }

/* Reviews */
.reviews-section { padding-bottom: 110px; border-top: 1px solid var(--line); background: var(--paper-2); }
.review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 38px; }
.review-card { min-width: 0; display: flex; flex-direction: column; padding: 0 26px 28px; border-right: 1px solid var(--line); }
.review-card:first-child { padding-left: 0; }
.review-card:last-child { padding-right: 0; border-right: 0; }
.review-card .story-image { min-height: 285px; aspect-ratio: 4/3; }
.review-card h3 { margin: 13px 0 11px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(29px,2.7vw,42px); line-height: 1; letter-spacing: -.04em; }
.review-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.review-verdict { min-height: 52px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.review-verdict span { color: var(--teal); font: 900 9px/1 "Courier New",monospace; letter-spacing: .08em; }
.review-verdict a { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 900; }
.review-verdict a:hover { color: var(--teal); }
.review-verdict svg { width: 16px; }

/* Newsletter and footer */
.newsletter-section { padding: 95px 0; background: var(--teal); color: #f7fffb; }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 90px; }
.newsletter-title > span { display: block; margin-bottom: 20px; color: #bce5e2; font-size: 10px; }
.newsletter-title h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(55px,6.7vw,92px); line-height: .87; letter-spacing: -.06em; }
.newsletter-copy > p { max-width: 590px; margin: 0 0 28px; font-size: 17px; line-height: 1.62; }
.gm-newsletter-preview label { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 900; }
.gm-newsletter-preview > div { display: grid; grid-template-columns: 1fr auto; }
.gm-newsletter-preview input { min-width: 0; min-height: 58px; padding: 0 17px; border: 1px solid rgba(255,255,255,.52); border-right: 0; background: rgba(255,255,255,.08); color: #fff; outline: 0; }
.gm-newsletter-preview input::placeholder { color: rgba(255,255,255,.75); }
.gm-newsletter-preview input:focus { border-color: #fff; }
.gm-newsletter-preview button { min-height: 58px; display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; border: 1px solid var(--night); background: var(--night); color: #fff; font-size: 11px; font-weight: 900; cursor: pointer; }
.gm-newsletter-preview button:hover { background: #000; }
.gm-newsletter-preview button svg { width: 18px; }
.gm-newsletter-preview small { display: block; margin-top: 12px; color: #cbeae7; font-size: 10px; line-height: 1.5; }
.site-footer { padding: 72px 0 0; border-top: 0; background: var(--night); color: #e9ede7; }
.footer-main { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); gap: 60px; padding-bottom: 65px; }
.footer-identity { display: flex; align-items: flex-start; gap: 18px; }
.footer-identity > div { display: grid; }
.footer-identity strong { font-family: Georgia,"Times New Roman",serif; font-size: 24px; letter-spacing: -.03em; }
.footer-identity em { margin-top: 4px; color: #69d4d0; font: 900 10px/1 "Courier New",monospace; letter-spacing: .3em; }
.footer-identity p { max-width: 340px; margin: 27px 0 0; color: #9fa9a3; font-size: 13px; line-height: 1.65; }
.footer-links { display: grid; align-content: start; gap: 14px; }
.footer-links > span { margin-bottom: 8px; color: #69d4d0; font: 900 9px/1 "Courier New",monospace; letter-spacing: .12em; }
.footer-links a { color: #c9cec9; font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #37403b; color: #8c9690; font: 700 9px/1.4 "Courier New",monospace; letter-spacing: .07em; }
.footer-bottom nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }

/* Search and mobile navigation */
.search-layer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: start center; padding: clamp(80px,14vh,150px) 24px 24px; background: rgba(7,11,10,.82); backdrop-filter: blur(9px); }
.search-layer[hidden], .mobile-drawer[hidden] { display: none !important; }
.search-panel { width: min(760px,100%); padding: clamp(28px,5vw,55px); border: 1px solid #53605a; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.search-head { min-height: 48px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 2px solid var(--ink); font: 900 10px/1 "Courier New",monospace; letter-spacing: .1em; }
.search-head button, .drawer-head button { width: 42px; height: 42px; display: grid; place-items: center; margin-top: -12px; border: 1px solid var(--line); background: transparent; color: inherit; font-size: 27px; cursor: pointer; }
.search-panel > label { display: block; margin: 34px 0 15px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(30px,5vw,52px); font-weight: 700; letter-spacing: -.04em; }
.search-input { display: grid; grid-template-columns: 1fr 58px; }
.search-input input { min-width: 0; min-height: 58px; padding: 0 16px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); outline: 0; }
.search-input button { min-height: 58px; display: grid; place-items: center; border: 1px solid var(--night); background: var(--night); color: #fff; cursor: pointer; }
.search-panel > p { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.mobile-drawer { position: fixed; z-index: 1000; inset: 0; padding: 28px; overflow-y: auto; background: var(--paper); color: var(--ink); }
.drawer-head { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); font: 900 10px/1 "Courier New",monospace; letter-spacing: .1em; }
.news-mobile-menu { margin: 0; padding: 20px 0; list-style: none; }
.news-mobile-menu li { border-bottom: 1px solid var(--line); }
.news-mobile-menu a { min-height: 64px; display: flex; align-items: center; font-family: Georgia,"Times New Roman",serif; font-size: 29px; font-weight: 700; }
.mobile-drawer .news-primary-menu { display: block; }
.mobile-drawer .news-primary-menu a { justify-content: flex-start; min-height: 64px; font-family: Georgia,"Times New Roman",serif; font-size: 29px; }

/* Empty publication state */
.gm-news-empty { min-height: 620px; display: flex; flex-direction: column; justify-content: center; padding-block: 90px; }
.gm-news-empty > span { color: var(--teal); font: 900 10px/1 "Courier New",monospace; letter-spacing: .12em; }
.gm-news-empty h1 { max-width: 900px; margin: 26px 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(65px,9vw,125px); line-height: .85; letter-spacing: -.07em; }
.gm-news-empty p { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.gm-news-empty > a { align-self: flex-start; min-height: 52px; display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 0 20px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 900; }

/* Bring archive, article and utility templates into the same publication */
.gm-archive, .gm-page-shell { padding-top: 78px; }
.gm-archive-header h1, .gm-author-header h1, .gm-page-header h1,
.gm-article-header h1, .gm-related-heading h2, .gm-error-page h1 { font-family: Georgia,"Times New Roman",serif; }
.gm-archive-header h1 { font-size: clamp(40px,4.6vw,68px); line-height: .88; }
.gm-post-card h2, .gm-post-card h3, .post-navigation strong { font-family: Georgia,"Times New Roman",serif; }
.gm-post-card { background: var(--card); }
.gm-post-card h2, .gm-post-card h3 { font-size: clamp(22px,1.7vw,28px); }
.gm-card-read, .gm-byline-data button, .gm-comment-submit { min-height: 50px; }
.gm-article-header h1 { font-size: clamp(40px,5vw,72px); line-height: .9; }
.gm-article-content { font-family: Georgia,"Times New Roman",serif; font-size: 20px; }
.gm-article-content h2, .gm-article-content h3, .gm-article-content h4 { font-family: Georgia,"Times New Roman",serif; }
.gm-reading-progress { top: 0; z-index: 90; background: transparent; }
.admin-bar .gm-reading-progress { top: 32px; }

/* Elementor should hand full-width control to the custom publication widgets. */
.gm-front-page .elementor-section-wrap,
.gm-front-page .elementor-widget-wrap,
.gm-elementor-location .elementor-section-wrap,
.gm-elementor-location .elementor-widget-wrap { width: 100%; }
.gm-front-page .elementor-element-populated,
.gm-elementor-location .elementor-element-populated { padding: 0 !important; }
.gm-front-page .elementor-widget:not(:last-child),
.gm-elementor-location .elementor-widget:not(:last-child) { margin-bottom: 0 !important; }
.gm-elementor-header { position: relative; z-index: 60; top: auto; }
.gm-elementor-header .site-header { position: sticky; }

@media (max-width: 1180px) {
  .page-shell { width: min(100% - 44px,1400px); }
  .utility-inner { grid-template-columns: 1fr auto; }
  .utility-inner > b { display: none; }
  .lead-grid { grid-template-columns: 1.35fr .75fr; }
  .news-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5,1fr); padding: 0; border-top: 1px solid var(--line); }
  .rail-heading, .all-news { grid-column: 1 / -1; }
  .wire-item { grid-template-columns: 1fr; padding: 18px; border-right: 1px solid var(--line); }
  .latest-layout { grid-template-columns: 1fr 275px; gap: 30px; }
  .desk-grid { grid-template-columns: 1fr; }
  .desk-list { display: grid; grid-template-columns: 1fr 1fr; }
  .desk-list article:nth-child(odd) { padding-right: 25px; border-right: 1px solid #46504a; }
  .desk-list article:nth-child(even) { padding-left: 25px; }
  .guide-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.5fr repeat(3,1fr); gap: 30px; }
}

@media (max-width: 850px) {
  .page-shell { width: min(100% - 34px,1400px); }
  .utility-inner > span { display: none; }
  .utility-inner { display: flex; justify-content: flex-end; }
  .masthead-row { min-height: 82px; grid-template-columns: 48px 1fr 48px; gap: 12px; }
  .masthead { grid-column: 2; }
  .masthead-mark { width: 42px; height: 42px; font-size: 18px; }
  .masthead-copy strong { font-size: 23px; }
  .masthead-copy em { font-size: 9px; }
  .mobile-menu-button { visibility: visible; }
  .masthead-actions .edition-button { display: none; }
  .category-nav { display: none; }
  .breaking-bar > div { grid-template-columns: auto 1fr; }
  .breaking-bar a { display: none; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-story { padding-right: 0; border-right: 0; }
  .secondary-column { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
  .secondary-story { padding: 20px; }
  .secondary-story + .secondary-story { border-top: 0; border-left: 1px solid var(--line); }
  .news-rail { grid-template-columns: 1fr 1fr; }
  .wire-item:nth-of-type(2n) { border-right: 0; }
  .wire-item { grid-template-columns: 43px 1fr; }
  .latest-layout { grid-template-columns: 1fr; }
  .most-read { margin-top: 20px; }
  .desk-feature { grid-template-columns: 1fr; }
  .desk-feature .story-image { min-height: 440px; }
  .topic-strip > div { grid-template-columns: 1fr 1fr; }
  .topic-strip a:nth-child(3) { border-left: 1px solid var(--line); }
  .review-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .review-card:nth-child(2) { padding-right: 0; border-right: 0; }
  .review-card:nth-child(3) { padding: 0; grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .review-card:nth-child(3) .story-image { margin-top: 34px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main > :last-child { display: none; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .admin-bar .gm-reading-progress { top: 46px; }
}

@media (max-width: 580px) {
  .page-shell { width: min(100% - 26px,1400px); }
  .utility-bar { display: none; }
  .masthead-copy strong { font-size: 19px; }
  .masthead-copy em { font-size: 8px; letter-spacing: .25em; }
  .round-control { width: 44px; height: 44px; }
  .masthead-row { grid-template-columns: 44px 1fr 44px; }
  .breaking-bar p { font-size: 13px; }
  .section-title { min-height: 107px; align-items: flex-start; flex-direction: column; justify-content: flex-end; gap: 14px; }
  .section-title h2 { font-size: 44px; }
  .section-title > a { min-height: 38px; }
  .edition-heading { min-height: 55px; }
  .lead-story { padding-top: 20px; }
  .lead-story .story-image { min-height: 290px; }
  .lead-story h1 { font-size: 42px; }
  .lead-story > p { font-size: 15px; }
  .secondary-column { grid-template-columns: 1fr; }
  .secondary-story + .secondary-story { border-left: 0; border-top: 1px solid var(--line); }
  .secondary-story .story-image { min-height: 220px; }
  .news-rail { grid-template-columns: 1fr; }
  .wire-item { border-right: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .story-card { padding: 18px 0 28px; border-right: 0; }
  .story-card .story-image { min-height: 235px; }
  .desk-section { padding-bottom: 45px; }
  .desk-grid { padding-top: 24px; }
  .desk-feature .story-image { min-height: 300px; }
  .desk-feature-copy { padding: 27px 22px 32px; }
  .desk-feature h2 { font-size: 40px; }
  .desk-list { grid-template-columns: 1fr; }
  .desk-list article:nth-child(odd), .desk-list article:nth-child(even) { padding: 19px 0; border-right: 0; }
  .topic-strip > div { grid-template-columns: 1fr; }
  .topic-strip a, .topic-strip a:first-child, .topic-strip a:nth-child(3) { min-height: 116px; border-left: 1px solid var(--line); }
  .guide-cover { grid-template-columns: 1fr; }
  .guide-cover-image { min-height: 310px; }
  .guide-cover-copy { padding: 29px 23px 35px; }
  .guide-cover-copy h2 { font-size: 40px; }
  .guide-index > a { grid-template-columns: 35px minmax(0,1fr) 18px; min-height: 92px; }
  .guide-index span, .guide-index em { display: none; }
  .guide-index strong { font-size: 17px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card, .review-card:first-child, .review-card:nth-child(2), .review-card:nth-child(3) { grid-column: auto; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .review-card .story-image { min-height: 260px; }
  .newsletter-section { padding: 70px 0; }
  .newsletter-title h2 { font-size: 53px; }
  .gm-newsletter-preview > div { grid-template-columns: 1fr; }
  .gm-newsletter-preview input { border-right: 1px solid rgba(255,255,255,.52); }
  .gm-newsletter-preview button { justify-content: space-between; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
  .gm-article-header h1 { font-size: clamp(38px,9vw,56px); }
  .gm-archive-header h1 { font-size: clamp(38px,9vw,56px); }
}
/* GM Tech bug fixes 2026-08-07 */
.utility-bar { border-bottom: none !important; box-shadow: none !important; }
.utility-bar::after { display: none !important; }
.edition-button { position: relative !important; }
.edition-button .gm-language-fallback { cursor: pointer !important; user-select: none !important; }


/* 2026-08-07 fix: hide inline Yoast ToC; theme sidebar is the single ToC */
.wp-block-yoast-seo-table-of-contents { display: none; }
