:root {
  --ink: #07121f;
  --navy: #0b1d31;
  --paper: #f5f7f9;
  --white: #ffffff;
  --muted: #607083;
  --line: #d8e0e7;
  --cyan: #00c7d9;
  --cyan-soft: #dffafd;
  --orange: #ff6b35;
  --lime: #a6ef67;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --shadow: 0 26px 80px rgba(7, 18, 31, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; background: transparent; z-index: 999; }
.reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--lime)); transform: scaleX(0); transform-origin: left; }

.site-header { position: sticky; top: 0; z-index: 20; color: var(--ink); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-bar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 0; color: var(--cyan); background: var(--ink); font: 500 10px/1 var(--mono); }
.brand-name { color: var(--ink); font-weight: 800; font-size: .92rem; letter-spacing: -.02em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a, .mobile-nav a { color: #344557; font-size: .78rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover { color: #008b98; }
.menu-toggle { display: none; color: var(--ink); background: none; border: 1px solid var(--line); padding: 7px 12px; }
.mobile-nav { padding-block: 0 18px; }
.mobile-nav:not([hidden]) { display: grid; gap: 12px; }

.topic-ticker { overflow: hidden; color: #cbd8e2; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); }
.ticker-track { min-height: 44px; display: flex; align-items: center; gap: 20px; white-space: nowrap; font: 500 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.ticker-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.ticker-label { align-self: stretch; display: flex; align-items: center; padding-inline: 18px; color: var(--ink); background: var(--lime); margin-left: -18px; }

.article-hero { padding: 82px 0 62px; border-bottom: 1px solid var(--line); }
.article-kicker { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; color: var(--muted); font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.article-kicker span:first-child { color: #008b98; }
.article h1 { max-width: 980px; margin: 0; font: 600 clamp(3.2rem, 7vw, 6.8rem)/.91 var(--serif); letter-spacing: -.055em; }
.dek { max-width: 830px; margin: 30px 0 34px; color: #425467; font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.55; }
.byline-row { display: flex; align-items: center; gap: 14px; }
.author-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--orange); font: 500 .76rem/1 var(--mono); }
.byline-row div:nth-child(2) { display: grid; }
.byline-row strong { font-size: .88rem; }
.byline-row span { color: var(--muted); font-size: .76rem; }
.listen-button { margin-left: auto; padding: 10px 15px; color: var(--ink); background: transparent; border: 1px solid var(--ink); cursor: pointer; font-size: .76rem; font-weight: 700; }
.listen-button:hover { color: #fff; background: var(--ink); }

.article-layout { display: grid; grid-template-columns: 72px minmax(0, 720px) minmax(230px, 1fr); gap: clamp(30px, 5vw, 72px); padding-block: 64px 110px; }
.share-rail { position: sticky; top: 28px; align-self: start; display: grid; justify-items: center; gap: 12px; }
.share-rail span { color: var(--muted); font: 500 .66rem/1 var(--mono); text-transform: uppercase; writing-mode: vertical-rl; margin-bottom: 4px; }
.share-rail a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; font-size: .75rem; font-weight: 800; }
.share-rail a:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.article-body { min-width: 0; font-size: 1.07rem; }
.article-body > p { margin: 0 0 1.5em; }
.article-body .lead { font: 500 1.45rem/1.65 var(--serif); }
.article-body h2 { margin: 2.2em 0 .65em; font: 600 clamp(1rem, 2vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.02em; }
.article-body h3 { line-height: 1.25; }
.ai-callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 38px 0; padding: 22px; border: 1px solid #9bdae1; background: var(--cyan-soft); }
.ai-callout span { display: block; color: #007d88; font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.ai-callout p { margin: 0; font-size: .93rem; }
.ai-orb { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(from 180deg, var(--cyan), var(--lime), #7f75ff, var(--cyan)); box-shadow: inset 0 0 0 10px var(--cyan-soft); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.ai-keyword { display: inline-flex; align-items: center; gap: .36em; margin-inline: .08em; padding: .12em .52em .18em; color: #fff; background: #1458ae; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); cursor: pointer; font: inherit; font-weight: 700; line-height: 1.25; vertical-align: baseline; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.ai-keyword::before { content: "▣"; font-size: .68em; line-height: 1; opacity: .9; }
.ai-keyword:hover, .ai-keyword:focus-visible { color: #fff; background: #0b3f84; box-shadow: 0 4px 14px rgba(20,88,174,.25); outline: 2px solid transparent; transform: translateY(-1px); }
.gemini-keyword-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0; }
.gemini-keyword-group .ai-keyword { margin: 0; font-size: .92rem; }
.formula-card { margin: 32px 0; padding: 26px 28px; color: #fff; background: var(--ink); }
.formula-card span { display: block; margin-bottom: 8px; color: var(--cyan); font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.formula-card strong { font: 500 1.2rem/1.5 var(--mono); }
.table-wrap { overflow-x: auto; margin: 32px 0 48px; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .85rem; }
th { color: #fff; background: var(--navy); font: 500 .68rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }
.rating { display: inline-flex; padding: 3px 7px; font-size: .74rem; font-weight: 700; background: #e9fbd9; color: #276000; }
.signal-list { list-style: none; margin: 28px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.signal-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.signal-list li > span { color: #008b98; font: 500 .72rem/1.6 var(--mono); }
.signal-list strong { font-size: .92rem; }
.signal-list p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; }
blockquote { margin: 42px 0; padding: 10px 0 10px 28px; border-left: 4px solid var(--orange); }
blockquote p { margin: 0; font: 500 1.65rem/1.35 var(--serif); }
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 36px; }
.split-cards section { padding: 25px; border: 1px solid var(--line); background: #fff; }
.split-cards span, .section-label { color: #008b98; font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.split-cards h3 { margin: 12px 0; font: 600 1.25rem/1.25 var(--serif); }
.split-cards p { margin: 0; color: var(--muted); font-size: .84rem; }
.decision-list { margin: 26px 0 44px; padding-left: 1.35em; }
.decision-list li { margin-bottom: 14px; padding-left: 8px; }
.verdict-card { margin: 58px 0; padding: clamp(28px, 5vw, 48px); color: #fff; background: var(--navy); position: relative; overflow: hidden; }
.verdict-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border: 32px solid rgba(0,199,217,.22); border-radius: 50%; }
.verdict-card > * { position: relative; z-index: 1; }
.verdict-card > span { color: var(--lime); font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.verdict-card h2 { margin: 14px 0 18px; max-width: 600px; }
.verdict-card p { color: #bfd0dc; margin: 0; }
.faq { margin-top: 72px; }
.faq h2 { margin-top: 12px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: #008b98; font: 400 1.5rem/1 var(--mono); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

.story-sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 28px; }
.sidebar-sticky > .section-label { display: block; margin-bottom: 14px; }
.story-card { display: grid; gap: 8px; padding: 18px 0; text-decoration: none; border-top: 1px solid var(--line); }
.story-card span, .story-card small { color: var(--muted); font: 400 .62rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.story-card strong { font: 600 1.03rem/1.35 var(--serif); }
.story-card:hover strong { color: #008b98; }
.story-card.featured { margin-bottom: 5px; padding: 22px; color: #fff; background: var(--ink); border: 0; }
.story-card.featured span, .story-card.featured small { color: var(--cyan); }
.archive-link { display: inline-block; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: .76rem; font-weight: 800; text-decoration: none; }

.insight-dialog { position: fixed; inset: 0 0 0 auto; width: min(var(--insight-panel-width, 680px), 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; color: var(--ink); background: #fff; box-shadow: -28px 0 72px rgba(7,18,31,.24); overflow: hidden; }
.insight-dialog.drawer-left { inset: 0 auto 0 0; box-shadow: 28px 0 72px rgba(7,18,31,.24); }
.insight-dialog[open].drawer-right { animation: drawer-in-right .28s cubic-bezier(.22,.8,.35,1); }
.insight-dialog[open].drawer-left { animation: drawer-in-left .28s cubic-bezier(.22,.8,.35,1); }
.insight-dialog::backdrop { background: rgba(10, 16, 24, .58); backdrop-filter: grayscale(.2); }
@keyframes drawer-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes drawer-in-left { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.dialog-open { overflow: hidden; }
.dialog-shell { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.drawer-cta { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 28px; color: #fff; background: var(--insight-accent, #2577e8); font-size: .9rem; text-decoration: none; }
.drawer-cta b { font-size: 1.7rem; font-weight: 400; line-height: .7; }
a.drawer-cta:hover { filter: brightness(.92); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; flex: 0 0 auto; padding: 26px 28px 22px; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.gemini-lockup { display: flex; align-items: center; gap: 13px; }
.gemini-spark { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--insight-accent, #2577e8); border-radius: 50%; font-size: 1.1rem; }
.gemini-lockup div { display: grid; gap: 2px; }
.gemini-lockup small { color: #6e7d8c; font: 500 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.gemini-lockup strong { color: var(--insight-accent, #2577e8); font: 600 1.65rem/1.2 var(--sans); letter-spacing: -.025em; }
.dialog-close { width: 40px; height: 40px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.dialog-close:hover { color: #fff; background: var(--insight-accent, #2577e8); border-color: var(--insight-accent, #2577e8); }
.dialog-content { min-height: 0; display: flex; flex-direction: column; flex: 1 1 auto; overflow-y: auto; padding: clamp(26px, 5vw, 42px); background: linear-gradient(180deg, color-mix(in srgb, var(--insight-accent, #2577e8) 7%, #fff) 0, #fff 180px); }
.insight-loading { order: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.insight-loading[hidden] { display: none; }
.insight-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 1s ease-in-out infinite; }
.insight-loading span:nth-child(2) { animation-delay: .15s; }
.insight-loading span:nth-child(3) { animation-delay: .3s; }
.insight-loading p { flex-basis: 100%; margin: 8px 0 0; color: var(--muted); text-align: center; font-size: .78rem; }
@keyframes pulse { 50% { opacity: .25; transform: translateY(-4px); } }
.insight-answer { order: 2; font: 500 1.13rem/1.7 var(--sans); }
.insight-answer p { margin: 0 0 1em; }
.insight-note { order: 3; color: #8a5600; font-size: .78rem; }
.insight-meta { order: 4; display: flex; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font: 400 .62rem/1 var(--mono); text-transform: uppercase; }
.insight-meta span + span::before { content: "·"; margin-right: 12px; }
.popup-ad { order: 5; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.popup-ad.ad-top { order: 0; margin: 0 0 26px; padding: 0 0 20px; border-top: 0; border-bottom: 1px solid var(--line); }
.ad-label { display: block; margin-bottom: 9px; color: #8b98a5; font: 400 .57rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; text-align: center; }
.ad-placeholder { min-height: 90px; display: grid; place-items: center; align-content: center; gap: 4px; background: repeating-linear-gradient(-45deg, #f5f7f9, #f5f7f9 8px, #edf1f4 8px, #edf1f4 16px); border: 1px dashed #bcc8d1; color: var(--muted); text-align: center; }
.ad-placeholder strong { color: #445465; font-size: .77rem; }
.ad-placeholder span { font-size: .68rem; }
.ad-code { overflow: hidden; text-align: center; }

.site-footer { padding: 54px 0; color: #c6d2dc; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-brand { color: #fff; }
.site-footer p { color: #8699a9; font-size: .8rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; font-size: .78rem; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

.archive-page, .single-page { min-height: 70vh; padding-block: 80px; }
.archive-header, .single-article > header { max-width: 850px; margin-bottom: 52px; }
.archive-header h1, .single-article h1 { margin: 10px 0 20px; font: 600 clamp(3rem, 7vw, 6rem)/.95 var(--serif); letter-spacing: -.045em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-tile { padding: 28px; background: #fff; border: 1px solid var(--line); }
.post-tile span { color: var(--muted); font: .65rem var(--mono); text-transform: uppercase; }
.post-tile h2 { font: 600 1.6rem/1.1 var(--serif); }
.post-tile a { text-decoration: none; }
.post-tile p { color: var(--muted); font-size: .85rem; }
.single-article { max-width: 780px; margin: auto; }

@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 50px minmax(0, 1fr); }
  .story-sidebar { grid-column: 2; }
  .sidebar-sticky { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .sidebar-sticky > .section-label, .archive-link { grid-column: 1 / -1; }
  .story-card.featured { margin-top: 0; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1240px); }
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .article-hero { padding: 58px 0 42px; }
  .article h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .byline-row { align-items: flex-start; flex-wrap: wrap; }
  .listen-button { margin-left: 58px; }
  .article-layout { grid-template-columns: 1fr; padding-top: 38px; }
  .share-rail { display: none; }
  .story-sidebar { grid-column: 1; }
  .split-cards, .sidebar-sticky, .post-grid { grid-template-columns: 1fr; }
  .sidebar-sticky > .section-label, .archive-link { grid-column: auto; }
  .ticker-track { overflow: hidden; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

@media (max-width: 480px) {
  .article h1 { font-size: 2.8rem; }
  .article-body { font-size: 1rem; }
  .article-body .lead { font-size: 1.25rem; }
  .ai-callout { grid-template-columns: 1fr; }
  .formula-card strong { font-size: .9rem; }
  .dialog-content { padding: 24px 20px; }
  .drawer-cta { padding-inline: 20px; }
  .dialog-header { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Category-style home */
.category-home { min-height: 80vh; }
.category-masthead { padding: 68px 0 54px; color: #fff; background: var(--ink); overflow: hidden; }
.masthead-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 60px; align-items: end; }
.category-masthead .section-label { color: var(--cyan); }
.category-masthead h1 { margin: 18px 0 0; font: 600 clamp(4.5rem, 10vw, 9.4rem)/.73 var(--serif); letter-spacing: -.07em; }
.masthead-copy { padding-bottom: 8px; }
.masthead-copy p { margin: 0 0 26px; color: #c4d1da; font-size: 1.03rem; }
.masthead-copy span { color: var(--lime); font: 500 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.topic-filter { position: sticky; top: 66px; z-index: 15; background: #fff; border-bottom: 1px solid var(--line); }
.topic-filter-inner { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.topic-filter-inner::-webkit-scrollbar { display: none; }
.topic-filter a { flex: 0 0 auto; padding: 17px 0 14px; color: var(--muted); border-bottom: 3px solid transparent; font-size: .78rem; font-weight: 800; text-decoration: none; }
.topic-filter a:hover, .topic-filter a.active { color: var(--ink); border-bottom-color: var(--cyan); }
.category-content { padding-block: 58px 100px; }
.featured-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); min-height: 430px; margin-bottom: 76px; background: #fff; border: 1px solid var(--line); }
.featured-visual, .card-visual { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.tone-cloud { background: linear-gradient(135deg, #0b3261 0%, #007c91 58%, #36d3d1 100%); }
.tone-ai-compute { background: linear-gradient(135deg, #251445 0%, #6e3dda 55%, #cc7cff 100%); }
.tone-security { background: linear-gradient(135deg, #3b140d 0%, #a43e1f 54%, #ff865a 100%); }
.tone-business { background: linear-gradient(135deg, #102f28 0%, #26755a 52%, #a6ef67 100%); }
.featured-visual::before, .card-visual::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.28); transform: rotate(-6deg); z-index: -1; }
.featured-visual::after, .card-visual::after { content: ""; position: absolute; width: 52%; aspect-ratio: 1; right: -8%; bottom: -22%; border: clamp(24px, 4vw, 54px) solid rgba(255,255,255,.14); border-radius: 50%; z-index: -1; }
.visual-index { position: absolute; top: 28px; left: 30px; font: 500 .78rem/1 var(--mono); }
.visual-word { position: absolute; left: 30px; bottom: 28px; font: 500 clamp(1.6rem, 4vw, 3.6rem)/.9 var(--mono); letter-spacing: -.06em; }
.visual-signal { position: absolute; inset: 25% 12% auto auto; display: flex; align-items: end; gap: 8px; height: 100px; }
.visual-signal i { display: block; width: 11px; background: rgba(255,255,255,.8); }
.visual-signal i:nth-child(1) { height: 34%; }.visual-signal i:nth-child(2) { height: 68%; }.visual-signal i:nth-child(3) { height: 48%; }.visual-signal i:nth-child(4) { height: 100%; background: var(--lime); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 64px); }
.story-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font: 500 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.story-meta span + span::before { content: "·"; margin-right: 18px; }
.featured-copy h2 { margin: 22px 0 18px; font: 600 clamp(2.4rem, 4.2vw, 4.4rem)/.95 var(--serif); letter-spacing: -.045em; }
.featured-copy h2 a, .category-card h3 a { text-decoration: none; }
.featured-copy h2 a:hover, .category-card h3 a:hover { color: #008b98; }
.featured-copy p { margin: 0; color: var(--muted); }
.read-story { align-self: start; margin-top: 28px; padding-bottom: 5px; border-bottom: 2px solid var(--ink); font-size: .76rem; font-weight: 800; text-decoration: none; }
.category-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 80px); }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.feed-heading h2 { margin: 7px 0 0; font: 600 2.4rem/1 var(--serif); }
.feed-heading > span { color: var(--muted); font: .65rem var(--mono); text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 22px; }
.category-card { min-width: 0; }
.card-visual { min-height: 220px; padding: 20px; }
.card-visual > span { position: absolute; top: 20px; left: 20px; font: .7rem var(--mono); }
.card-visual > b { position: absolute; left: 20px; bottom: 18px; max-width: 80%; font: 500 1.35rem/1 var(--mono); letter-spacing: -.04em; }
.card-copy { padding-top: 18px; }
.category-card h3 { margin: 12px 0 10px; font: 600 1.55rem/1.08 var(--serif); letter-spacing: -.02em; }
.category-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.category-sidebar { min-width: 0; }
.sidebar-module { padding: 26px 0; border-top: 1px solid var(--ink); }
.sidebar-module:first-child { padding: 28px; color: #fff; background: var(--navy); border-top: 0; }
.sidebar-module:first-child .section-label { color: var(--lime); }
.sidebar-module h2 { margin: 12px 0; font: 600 1.55rem/1.08 var(--serif); }
.sidebar-module p { margin: 0; color: var(--muted); font-size: .82rem; }
.sidebar-module:first-child p { color: #bbcad5; }
.desk-list { list-style: none; margin: 18px 0 0; padding: 0; }
.desk-list li { border-top: 1px solid var(--line); }
.desk-list li:last-child { border-bottom: 1px solid var(--line); }
.desk-list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; text-decoration: none; font-size: .8rem; font-weight: 700; }
.desk-list b { color: #008b98; font-size: 1.2rem; }
.gemini-module { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.gemini-module .gemini-spark { width: 42px; height: 42px; background: linear-gradient(135deg, #2878ff, #9d59ff); }
.gemini-module h2 { margin-block: 8px; }
.empty-topic { padding: 46px; text-align: center; background: #fff; border: 1px solid var(--line); }
.empty-topic p { color: var(--muted); }
.empty-topic a { font-weight: 800; }

/* Article page */
.article-page { background: var(--paper); }
.single-story { padding-bottom: 110px; }
.single-story-header { max-width: 980px; padding: 72px 0 54px; }
.back-to-desk { display: inline-block; margin-bottom: 34px; color: #008b98; font: 500 .69rem/1 var(--mono); text-transform: uppercase; text-decoration: none; }
.back-to-desk::before { content: "←"; margin-right: 8px; }
.single-story-header h1 { margin: 0; font: 600 clamp(1.15rem, 2vw, 2rem)/1.1 var(--serif); letter-spacing: -.025em; }
.single-story-layout { display: grid; grid-template-columns: minmax(0, 740px) 300px; gap: clamp(42px, 7vw, 90px); align-items: start; border-top: 1px solid var(--line); padding-top: 56px; }
.single-story-body > p:first-of-type { font: 500 1.4rem/1.6 var(--serif); }
.single-story-body img { max-width: 100%; height: auto; }
.article-side-note { position: sticky; top: 86px; display: grid; gap: 24px; }
.article-side-note > div { padding: 24px; color: #fff; background: var(--ink); }
.article-side-note p { margin-bottom: 0; color: #b9c8d3; font-size: .8rem; }
.article-side-note a { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: .72rem; font-weight: 800; text-decoration: none; }

@media (max-width: 960px) {
  .masthead-grid, .featured-story, .category-layout, .single-story-layout { grid-template-columns: 1fr; }
  .category-masthead h1 { line-height: .82; }
  .featured-visual { min-height: 380px; }
  .category-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
  .sidebar-module { border-top: 1px solid var(--ink); }
  .article-side-note { position: static; grid-template-columns: 1fr auto; align-items: center; }
}

@media (max-width: 680px) {
  .category-masthead { padding-block: 48px 40px; }
  .category-masthead h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .masthead-grid { gap: 34px; }
  .topic-filter-inner { gap: 24px; }
  .category-content { padding-top: 34px; }
  .featured-story { margin-bottom: 54px; }
  .featured-visual { min-height: 280px; }
  .featured-copy { padding: 30px 24px 34px; }
  .featured-copy h2 { font-size: 2.5rem; }
  .story-grid, .category-sidebar { grid-template-columns: 1fr; }
  .card-visual { min-height: 250px; }
  .single-story-header { padding-top: 48px; }
  .article-side-note { grid-template-columns: 1fr; }
}

/* Latest-post list home */
.latest-home { min-height: 80vh; padding-bottom: 90px; }
.latest-home-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-block: 56px 34px; border-bottom: 1px solid var(--ink); }
.latest-home-heading h1 { margin: 9px 0 0; font: 600 clamp(3rem, 6vw, 5.4rem)/.92 var(--serif); letter-spacing: -.05em; }
.latest-home-heading p { max-width: 440px; margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
.latest-home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(42px, 6vw, 78px); align-items: start; padding-top: 38px; }
.latest-post-row { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(22px, 3vw, 34px); padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.latest-post-row:last-child { margin-bottom: 0; }
.latest-post-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.latest-post-thumb::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -18%; bottom: -36%; border: 24px solid rgba(255,255,255,.14); border-radius: 50%; z-index: -1; }
.latest-post-thumb::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.22); transform: rotate(-5deg); z-index: -1; }
.latest-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.latest-post-thumb:hover img { transform: scale(1.035); }
.thumb-number { position: absolute; top: 16px; left: 18px; font: 500 .67rem/1 var(--mono); }
.thumb-category { position: absolute; left: 18px; bottom: 16px; max-width: 80%; font: 500 1rem/1 var(--mono); letter-spacing: -.035em; }
.latest-post-thumb > i { position: absolute; right: 18px; top: 18px; width: 9px; height: 48px; background: rgba(255,255,255,.82); box-shadow: -15px 16px 0 rgba(255,255,255,.42), -30px 28px 0 var(--lime); }
.latest-post-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.latest-post-copy h2 { margin: 11px 0 9px; font: 600 clamp(1.2rem, 2vw, 1.55rem)/1.12 var(--serif); letter-spacing: -.025em; }
.latest-post-copy h2 a { text-decoration: none; }
.latest-post-copy h2 a:hover { color: #008b98; }
.latest-post-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.latest-read-link { margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: .68rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.discover-sidebar { min-width: 0; }
.discover-panel { position: sticky; top: 92px; overflow: hidden; background: #fff; border: 1px solid #cfd7df; border-radius: 3px; }
.discover-panel h2 { margin: 0; padding: 15px 20px; background: #eaf2ff; border-bottom: 1px solid #cfd7df; font-size: 1.08rem; }
.discover-list { display: grid; }
.discover-keyword { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; color: #172536; background: #fff; border: 0; border-bottom: 1px solid #e6eaee; cursor: pointer; text-align: left; font-size: .98rem; }
.discover-keyword:last-child { border-bottom: 0; }
.discover-keyword b { color: #89949e; font-size: 1.8rem; font-weight: 300; line-height: 1; transition: transform .18s ease, color .18s ease; }
.discover-keyword:hover, .discover-keyword:focus-visible { color: #005fc5; background: #f7faff; outline: 0; }
.discover-keyword:hover b, .discover-keyword:focus-visible b { color: #1472db; transform: translateX(3px); }

@media (max-width: 940px) {
  .latest-home-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 34px; }
  .latest-post-row { grid-template-columns: 210px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .latest-home-heading { align-items: start; flex-direction: column; gap: 18px; padding-top: 38px; }
  .latest-home-layout { grid-template-columns: 1fr; }
  .discover-sidebar { grid-row: 1; }
  .discover-panel { position: static; }
  .discover-list { grid-template-columns: 1fr 1fr; }
  .discover-keyword:nth-child(odd) { border-right: 1px solid #e6eaee; }
}

@media (max-width: 560px) {
  .single-story-header h1 { font-size: 1.075rem; line-height: 1.15; }
  .latest-post-row { grid-template-columns: 1fr; gap: 19px; }
  .latest-post-thumb { width: 100%; }
  .latest-post-copy h2 { font-size: 1.4rem; }
  .discover-list { grid-template-columns: 1fr; }
  .discover-keyword:nth-child(odd) { border-right: 0; }
}
