/* Unified site stylesheet: single source of truth for the full portal */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

:root {
  --bg: #20304a;
  --bg-soft: #2a3d5d;
  --bg-alt: #31496d;
  --surface: rgba(46, 66, 98, 0.8);
  --surface-strong: rgba(56, 79, 115, 0.9);
  --surface-soft: rgba(246, 249, 255, 0.08);
  --text: #f7fbff;
  --muted: #d7e2f1;
  --muted-2: #b8c7db;
  --ink: #0d1726;
  --border: rgba(225, 235, 248, 0.14);
  --border-strong: rgba(145, 193, 255, 0.32);
  --primary: #8cc4ff;
  --primary-2: #6f83ff;
  --teal: #4ed8c9;
  --violet: #9b8cff;
  --amber: #f4c36d;
  --amber-2: #ffe5a0;
  --shadow: 0 18px 46px rgba(2, 8, 20, 0.22), 0 2px 10px rgba(56, 125, 255, 0.08);
  --shadow-hover: 0 28px 64px rgba(2, 8, 20, 0.32), 0 10px 28px rgba(56, 125, 255, 0.12);
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  color: var(--text);
  line-height: 1.72;
  min-height: 100vh;
  background:
    radial-gradient(circle at 6% 10%, rgba(140, 196, 255, 0.16), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(155, 140, 255, 0.13), transparent 22%),
    radial-gradient(circle at 50% 96%, rgba(78, 216, 201, 0.11), transparent 24%),
    linear-gradient(135deg, #223350 0%, #2d4264 34%, #385278 68%, #273852 100%);
  overflow-x: hidden;
  overflow-x: clip;
}

body.subpage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(140, 196, 255, 0.1), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(155, 140, 255, 0.08), transparent 24%),
    radial-gradient(circle at 72% 88%, rgba(78, 216, 201, 0.06), transparent 20%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(140, 196, 255, 0.24);
  color: #ffffff;
}

main a:not(.btn):not(.nav a):not(.brand):not(.post-card):not(.topic-card):not(.section-card):not(.trending-link) {
  color: #b9dcff;
}

main a:not(.btn):not(.nav a):not(.brand):not(.post-card):not(.topic-card):not(.section-card):not(.trending-link):hover {
  color: #edf6ff;
}

button,
input,
textarea,
select {
  font: inherit;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(225, 235, 248, 0.12);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

p,
li,
.topic-card p,
.section-card p,
.content-card p,
.resource-card p,
.watch-note p,
.watch-block p,
.resource-mini p,
.cta p,
.card-caption p,
.page-figure figcaption,
.callout,
.contact-list p,
.resource-note,
.watch-bottom-note,
.accordion-preview,
.resource-list li,
.figure-caption,
.profile-compact p {
  color: var(--muted);
  line-height: 1.8;
}

h1,
h2,
h3,
h4 {
  color: #fbfdff;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 4vw, 4.3rem);
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
  margin: 1.45rem 0 0.65rem;
  font-size: 1.24rem;
}

h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

strong { color: #ffffff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px) saturate(145%);
  background: rgba(32, 48, 74, 0.74);
  border-bottom: 1px solid rgba(225, 235, 248, 0.12);
  box-shadow: 0 10px 28px rgba(2, 8, 20, 0.14);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 48px;
  padding: 0 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff !important;
  background: linear-gradient(135deg, #86bdff, #7c87ff 58%, #56d7ca 100%);
  box-shadow: 0 14px 28px rgba(70, 132, 255, 0.22);
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.brand span { color: #ffffff; }

.brand-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #f0f6ff;
  background: rgba(246, 249, 255, 0.1);
  border: 1px solid rgba(225, 235, 248, 0.14);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #edf4ff;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
  background: rgba(140, 196, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(225, 235, 248, 0.08);
  outline: none;
}

.nav a.active {
  color: var(--ink);
  background: linear-gradient(135deg, #f4c36d, #ffe2a1);
  box-shadow: 0 12px 26px rgba(244, 195, 109, 0.24);
}

.menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(225, 235, 248, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(57, 80, 117, 0.96), rgba(40, 59, 88, 0.9));
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 8, 20, 0.16);
  flex-shrink: 0;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: #edf4ff;
  transition: 0.25s ease;
}

.menu-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.floating-notif {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(690px, calc(100vw - 1rem));
  padding: 0.78rem 0.92rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(57, 80, 117, 0.96), rgba(42, 61, 90, 0.92));
  border: 1px solid rgba(140, 196, 255, 0.18);
  box-shadow: 0 22px 44px rgba(2, 8, 20, 0.24);
  backdrop-filter: blur(18px) saturate(145%);
  animation: floatCard 4.5s ease-in-out infinite;
}

.floating-notif.hide-notif {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.35s ease;
}

.notif-badge {
  flex-shrink: 0;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: linear-gradient(135deg, #89c2ff, #7d86ff 58%, #56d7ca 100%);
  box-shadow: 0 10px 24px rgba(70, 132, 255, 0.24);
}

.notif-text {
  font-size: 0.96rem;
  line-height: 1.5;
  color: #eff5ff;
}

.notif-text strong { color: #ffffff; }

.hero,
.page-hero {
  position: relative;
  overflow: clip;
}

.hero { padding: 5rem 0 4.2rem; }
.page-hero { padding: 4.6rem 0 3.3rem; }

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  z-index: 0;
}

.hero::before,
.page-hero::before {
  width: 340px;
  height: 340px;
  top: -90px;
  left: -100px;
  background: radial-gradient(circle, rgba(140, 196, 255, 0.14), transparent 68%);
}

.hero::after,
.page-hero::after {
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(155, 140, 255, 0.12), transparent 68%);
}

.hero-grid,
.section .container,
.footer-grid,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.eyebrow,
.kicker,
.tag,
.watch-badge,
.watch-tag,
.resource-pill,
.accordion-kicker,
.accordion-meta,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.46rem 0.82rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(246, 249, 255, 0.1);
  border: 1px solid rgba(225, 235, 248, 0.14);
  color: #eff5ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.eyebrow {
  margin-bottom: 1rem;
  background: rgba(140, 196, 255, 0.1);
  border-color: rgba(140, 196, 255, 0.18);
  color: #eaf4ff;
}

.tag,
.resource-pill {
  color: #d8faf4;
  background: rgba(78, 216, 201, 0.1);
  border-color: rgba(78, 216, 201, 0.18);
}

.watch-tag,
.accordion-meta {
  color: #e4efff;
  background: rgba(140, 196, 255, 0.1);
  border-color: rgba(140, 196, 255, 0.16);
}

.lead {
  max-width: 74ch;
  margin: 0.15rem 0 0;
  color: #eaf1fb;
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions,
.cta-actions,
.btn-row,
.hero-mini-points,
.meta-chip-row,
.pill-row,
.anchor-links,
.watch-inline-links,
.resource-pill-row,
.watch-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions,
.btn-row,
.cta-actions,
.meta-chip-row,
.pill-row { margin-top: 1.4rem; }

.hero-mini-points { margin-top: 1.35rem; }

.hero-mini-points span,
.mini-stat,
.snapshot-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(57, 80, 117, 0.96), rgba(42, 61, 90, 0.9));
  border: 1px solid rgba(225, 235, 248, 0.12);
  box-shadow: 0 12px 24px rgba(2, 8, 20, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
  color: #edf4ff;
}

.hero-mini-points span::before,
.snapshot-chip::before {
  content: "✦";
  color: var(--primary);
  font-size: 0.82rem;
}

.hero-visual,
.content-card,
.post-card,
.topic-card,
.section-card,
.cta,
.resource-card,
.watch-note,
.watch-block,
.resource-mini,
.toc,
.page-figure,
.lifecycle-fig,
.landscape-card,
.compact-figure,
.accordion,
.foundational-figure,
.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(225, 235, 248, 0.14);
  background: linear-gradient(180deg, rgba(58, 82, 119, 0.94), rgba(43, 62, 91, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(145%);
  transition: 0.35s ease;
}

.hero-visual:hover,
.content-card:hover,
.post-card:hover,
.topic-card:hover,
.section-card:hover,
.cta:hover,
.resource-card:hover,
.watch-note:hover,
.accordion:hover,
.foundational-figure:hover,
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(140, 196, 255, 0.24);
}

.hero-visual::before,
.content-card::before,
.post-card::before,
.topic-card::before,
.section-card::before,
.cta::before,
.resource-card::before,
.watch-note::before,
.toc::before,
.page-figure::before,
.accordion::before,
.foundational-figure::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--violet), var(--teal));
}

.hero-visual {
  padding: 1rem;
  transform: perspective(1200px) rotateY(-3deg);
  background:
    linear-gradient(180deg, rgba(66, 92, 132, 0.96), rgba(45, 65, 96, 0.93)),
    linear-gradient(135deg, rgba(140, 196, 255, 0.12), rgba(155, 140, 255, 0.08), rgba(78, 216, 201, 0.1));
}

.hero-visual img { border-radius: 20px; }

.section {
  padding: 4.1rem 0;
}

.section.alt {
  background:
    radial-gradient(circle at 16% 18%, rgba(140, 196, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 78%, rgba(78, 216, 201, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(30, 45, 69, 0.32));
}

.section-head {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head > :last-child { margin-bottom: 0; }
.section-head p { margin-top: 0.35rem; }
.page-hero .lead { margin-top: 0.3rem; }
.page-hero h1 { margin-bottom: 0.85rem; }

.section-head h2,
.page-hero h1,
.hero h1 {
  position: relative;
}

.section-head h2::after,
.page-hero h1::after,
.hero h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--violet), var(--teal));
  box-shadow: 0 0 18px rgba(140, 196, 255, 0.28);
}

.section-head h2::after {
  margin-left: auto;
  margin-right: auto;
}

.hero h1::after,
.page-hero h1::after { margin-left: 0; }

.split,
.watch-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
  align-items: stretch;
}

.card-grid,
.post-list,
.resource-grid,
.watch-columns,
.diagram-grid,
.journey-grid,
.direct-domain-grid,
.expertise-grid,
.stat-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three,
.post-list,
.diagram-grid,
.journey-grid,
.direct-domain-grid,
.expertise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four,
.resource-grid,
.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-card,
.topic-card,
.section-card,
.resource-mini,
.watch-block,
.stat-card {
  display: block;
  text-decoration: none;
}

.content-card,
.watch-note,
.resource-card,
.cta,
.stat-card {
  padding: 1.65rem;
}

.post-card,
.visual-card,
.expertise-card,
.foundation-card {
  padding: 1rem;
}

.topic-card,
.section-card,
.resource-mini,
.watch-block {
  padding: 1.35rem 1.25rem;
}

.section-card h3,
.topic-card h3,
.post-card h3,
.watch-note h3,
.resource-card h2,
.content-card h2,
.visual-card h3 {
  margin-top: 0;
}

.visual-card,
.foundation-card,
.expertise-card {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(225, 235, 248, 0.1);
}

.visual-card .img-container,
.foundation-card .img-container,
.expertise-card .img-container {
  aspect-ratio: 16 / 10;
}

.zoomable-thumb,
.zoom-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.42s ease, filter 0.42s ease;
}

.post-card:hover .zoomable-thumb,
.visual-card:hover .zoomable-thumb,
.expertise-card:hover .zoomable-thumb,
.foundation-card:hover .zoomable-thumb,
.zoom-img:hover {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.03);
}

.img-expand-btn,
.figure-expand-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 24, 40, 0.76);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(2, 8, 20, 0.24);
  transition: 0.25s ease;
  z-index: 3;
}

.img-expand-btn:hover,
.figure-expand-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--primary), var(--violet));
}

.figure-caption,
.page-figure figcaption,
.card-caption {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.page-figure,
.lifecycle-fig,
.landscape-card,
.compact-figure,
.foundational-figure {
  width: 100%;
  margin: 1.5rem auto 0;
  padding: 1rem;
}

.foundational-figure {
  max-width: 980px;
  margin-top: 1.5rem;
  padding: 1rem;
}

.img-frame {
  overflow: hidden;
  border-radius: 22px;
}

.page-figure img,
.lifecycle-fig img,
.landscape-card img,
.compact-figure img,
.page-figure svg,
.page-figure object,
.foundational-figure img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.callout,
.resource-note,
.watch-bottom-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(140, 196, 255, 0.12), rgba(155, 140, 255, 0.1), rgba(78, 216, 201, 0.08));
  border: 1px solid rgba(140, 196, 255, 0.16);
}

.meta-grid,
.profile-compact,
.mini-card-grid,
.snapshot-grid {
  display: grid;
  gap: 0.85rem;
}

.snapshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.mini-card,
.snapshot-box {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(246, 249, 255, 0.07);
  border: 1px solid rgba(225, 235, 248, 0.12);
}

.mini-card strong,
.snapshot-box strong { display: block; margin-bottom: 0.35rem; }

.contact-list p,
.profile-list p { margin: 0 0 0.75rem; }

.check-list,
.resource-list,
.key-points {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.resource-list li strong,
.check-list li strong { color: #ffffff; }

.toc {
  position: sticky;
  top: 96px;
  padding: 1.2rem;
}

.toc h3 { margin-top: 0; margin-bottom: 0.9rem; }

.toc a {
  display: block;
  padding: 0.68rem 0.8rem;
  border-radius: 12px;
  font-weight: 700;
  color: #edf4ff;
  transition: 0.22s ease;
}

.toc a:hover {
  color: #ffffff;
  background: rgba(140, 196, 255, 0.1);
}

.toc hr {
  margin: 0.85rem 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
}

.resource-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: linear-gradient(180deg, rgba(64, 91, 132, 0.96), rgba(46, 66, 98, 0.92));
  overflow: hidden;
  border-radius: 18px;
}

.resource-table th,
.resource-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(225, 235, 248, 0.12);
  text-align: left;
  vertical-align: top;
}

.resource-table td { color: #edf4ff; }

.resource-table th {
  color: #fbfdff;
  background: linear-gradient(135deg, rgba(140, 196, 255, 0.14), rgba(155, 140, 255, 0.1));
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  background:
    linear-gradient(135deg, rgba(140, 196, 255, 0.13), rgba(155, 140, 255, 0.1), rgba(78, 216, 201, 0.1)),
    linear-gradient(180deg, rgba(64, 91, 132, 0.96), rgba(46, 66, 98, 0.92));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  padding: 0.9rem 1.2rem;
  border-radius: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f4c36d, #ffe5a7);
  box-shadow: 0 14px 28px rgba(244, 195, 109, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(244, 195, 109, 0.28);
  outline: none;
}

.btn-secondary {
  color: #edf4ff;
  background: linear-gradient(180deg, rgba(64, 91, 132, 0.96), rgba(46, 66, 98, 0.92));
  border-color: rgba(59, 250, 231, 0.14);
  box-shadow: 0 12px 26px rgba(2, 8, 20, 0.14);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(70, 238, 250, 0.12);
  color: #77e5ef;
  outline: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(22, 33, 50, 0.98), rgba(28, 42, 63, 0.98), rgba(24, 37, 56, 0.96));
  border-top: 1px solid rgba(225, 235, 248, 0.12);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 196, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 1.5rem;
  padding: 2.45rem 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 0.65rem;
  color: #cae5ff;
  font-weight: 700;
}

.footer-grid a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(10px);
}

.image-lightbox.open { display: flex; }

.image-lightbox__dialog {
  position: relative;
  width: min(1400px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(66, 92, 132, 0.98), rgba(46, 66, 98, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.image-lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border-radius: 16px;
}

.image-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.92);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.accordion {
  --accordion-accent: var(--primary);
  --accordion-accent-soft: rgba(140, 196, 255, 0.12);
  overflow: hidden;
}

.accordion.is-open {
  border-color: rgba(140, 196, 255, 0.28);
  box-shadow: var(--shadow-hover);
}

.accordion-trigger {
  width: 100%;
  padding: 1.18rem 1.2rem 1.15rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  display: grid;
  gap: 0.55rem;
  position: relative;
  cursor: pointer;
}

.accordion-trigger:focus-visible {
  outline: 3px solid rgba(140, 196, 255, 0.35);
  outline-offset: -3px;
}

.accordion-title {
  font-size: clamp(1.16rem, 1.35vw, 1.52rem);
  font-weight: 800;
  line-height: 1.28;
  color: #fbfdff;
  max-width: calc(100% - 3.5rem);
}

.accordion-cta {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.45rem;
  margin-top: 0.2rem;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8cc4ff, #8d8cff 58%, #62ddd0);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(140, 196, 255, 0.22);
}

.accordion-icon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 18px;
  height: 18px;
  border-right: 2.4px solid #dce8fb;
  border-bottom: 2.4px solid #dce8fb;
  transform: rotate(45deg);
  transition: transform 0.28s ease, top 0.28s ease;
}

.accordion.is-open .accordion-icon {
  top: 1.45rem;
  transform: rotate(-135deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.34s ease, opacity 0.24s ease;
}

.accordion.is-open .accordion-panel {
  opacity: 1;
}

.accordion-panel-inner { padding: 0 1.2rem 1.25rem; }
.accordion-panel-inner > :first-child { margin-top: 0; }

.home-accordion-stack,
.resource-stack,
.watch-stack { display: grid; gap: 1.15rem; }

.watch-note.accordion,
.resource-card.accordion { padding: 0; }

.watch-note.accordion .accordion-trigger,
.resource-card.accordion .accordion-trigger,
.home-accordion-stack .accordion-trigger {
  padding: 1.2rem 1.2rem 1.1rem;
}

.watch-note.accordion .accordion-panel-inner,
.resource-card.accordion .accordion-panel-inner,
.home-accordion-stack .accordion-panel-inner {
  padding: 0 1.2rem 1.2rem;
}

.watch-note.accordion .accordion-meta { gap: 0.45rem; flex-wrap: wrap; }
.watch-note.accordion .accordion-preview { font-size: 1.02rem; }
.resource-card.accordion .accordion-preview { max-width: 78ch; }

.research-watch-slider {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.watch-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.watch-viewport.is-dragging { cursor: grabbing; }

.watch-track {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  transition: transform 0.55s ease;
  will-change: transform;
}

.watch-card {
  flex: 0 0 calc((100% - 1.25rem) / 2);
  min-height: 100%;
}

.watch-nav {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(225, 235, 248, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(64, 91, 132, 0.96), rgba(46, 66, 98, 0.92));
  color: #edf4ff;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(2, 8, 20, 0.16);
  transition: 0.3s ease;
}

.watch-nav:hover,
.watch-nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(140, 196, 255, 0.28);
  box-shadow: 0 16px 28px rgba(2, 8, 20, 0.22);
  outline: none;
}

.watch-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.watch-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(225, 235, 248, 0.35);
  cursor: pointer;
  transition: 0.3s ease;
}

.watch-dot.active {
  width: 30px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
}

.watch-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.watch-progress-track {
  position: relative;
  width: min(220px, 42vw);
  height: 6px;
  border-radius: 999px;
  background: rgba(225, 235, 248, 0.14);
  overflow: hidden;
}

.watch-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  transition: width 0.4s ease;
}

.watch-progress-text {
  min-width: 58px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.watch-note {
  scroll-margin-top: 110px;
}

.watch-lead {
  font-size: 1.06rem;
  line-height: 1.72;
  color: #eef4ff;
  margin-bottom: 0.9rem;
}

.watch-block h4 { color: #fbfdff; }
.watch-block ul { margin: 0; padding-left: 1.1rem; }
.watch-inline-links { margin-top: 1rem; padding-top: 0.95rem; border-top: 1px solid rgba(225, 235, 248, 0.1); }
.watch-inline-links a { font-size: 0.95rem; font-weight: 600; }

/* glossy Trending Topics highlight */
a.trending-link,
.nav a.trending-link,
.notif-text a.trending-link,
.footer-grid a.trending-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink) !important;
  background: linear-gradient(135deg, #ffe089 0%, #f4c36d 42%, #fff0b8 100%);
  border: 1px solid rgba(255, 236, 174, 0.65);
  box-shadow:
    0 0 0 rgba(255, 217, 120, 0),
    0 10px 24px rgba(244, 195, 109, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: hidden;
  animation: trendingPulse 1.75s ease-in-out infinite;
  text-decoration: none !important;
}

.nav a.trending-link { margin-left: 0.2rem; }
.notif-text a.trending-link { margin-left: 0.45rem; padding: 0.38rem 0.8rem; font-size: 0.92rem; }
.footer-grid a.trending-link { width: fit-content; }

a.trending-link::before,
.nav a.trending-link::before,
.notif-text a.trending-link::before,
.footer-grid a.trending-link::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  width: 42%;
  height: 140%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.18) 80%, rgba(255,255,255,0) 100%);
  transform: rotate(18deg);
  animation: glossySweep 2.4s linear infinite;
  pointer-events: none;
}

a.trending-link:hover,
.nav a.trending-link:hover,
.notif-text a.trending-link:hover,
.footer-grid a.trending-link:hover {
  color: #08111d !important;
  background: linear-gradient(135deg, #ffe69a 0%, #f4c36d 42%, #fff4c4 100%);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 22px rgba(255, 217, 120, 0.42), 0 14px 30px rgba(244, 195, 109, 0.34), inset 0 1px 0 rgba(255,255,255,0.95);
}

@keyframes trendingPulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 217, 120, 0), 0 10px 24px rgba(244, 195, 109, 0.28), inset 0 1px 0 rgba(255,255,255,0.88);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 217, 120, 0.38), 0 14px 30px rgba(244, 195, 109, 0.36), inset 0 1px 0 rgba(255,255,255,0.98);
    filter: brightness(1.06);
  }
}

@keyframes glossySweep {
  0% { left: -35%; }
  100% { left: 120%; }
}

.lead-measure { max-width: 920px; }
.section-actions-center { margin-top: 2rem; text-align: center; }
.foundation-grid,
.expertise-grid,
.direct-domain-grid { align-items: stretch; }

@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .footer-grid,
  .card-grid.four,
  .card-grid.three,
  .post-list,
  .watch-columns,
  .resource-grid,
  .diagram-grid,
  .page-grid,
  .journey-grid,
  .direct-domain-grid,
  .expertise-grid,
  .snapshot-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual { transform: none; }
  .toc { position: relative; top: 0; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }

  .nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(67, 94, 135, 0.98), rgba(46, 66, 98, 0.94));
    border: 1px solid rgba(225, 235, 248, 0.14);
    box-shadow: 0 20px 44px rgba(2, 8, 20, 0.2);
  }

  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 0.95rem 1rem; border-radius: 14px; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 1rem, var(--container)); }

  .floating-notif {
    position: static;
    width: calc(100% - 1rem);
    margin: 0.75rem auto 0;
    animation: none;
  }

  .hero,
  .page-hero {
    padding-top: 3.7rem;
    padding-bottom: 3rem;
  }

  .section { padding: 3.1rem 0; }

  .hero-actions,
  .hero-mini-points,
  .cta-actions,
  .btn-row,
  .meta-chip-row,
  .pill-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-mini-points span,
  .mini-stat,
  .snapshot-chip {
    justify-content: center;
    text-align: center;
  }

  .resource-table { min-width: 640px; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.28rem; }
  h2 { font-size: 1.82rem; }

  .brand {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    font-size: 0.78rem;
  }

  .brand-hint { display: none; }
  .menu-btn { width: 46px; height: 46px; }

  .hero-visual,
  .content-card,
  .post-card,
  .topic-card,
  .section-card,
  .cta,
  .resource-card,
  .watch-note,
  .toc,
  .page-figure,
  .foundational-figure,
  .stat-card {
    border-radius: 22px;
  }

  .image-lightbox__dialog {
    width: calc(100vw - 1rem);
    padding: 0.7rem;
  }

  a.trending-link,
  .nav a.trending-link { padding-inline: 0.82rem; }
}



:root{
  --portal-bg:#223350;
  --portal-bg-2:#2d4264;
  --portal-surface:rgba(46,66,98,.96);
  --portal-surface-2:rgba(56,79,115,.96);
  --portal-surface-3:rgba(66,92,133,.98);
  --portal-line:rgba(225,235,248,.14);
  --portal-line-strong:rgba(145,193,255,.32);
  --portal-text:#f7fbff;
  --portal-text-soft:#d7e2f1;
  --portal-text-dim:#b8c7db;
  --portal-blue:#8cc4ff;
  --portal-cyan:#4ed8c9;
  --portal-gold:#f4c36d;
  --portal-magenta:#9b8cff;
  --portal-shadow:0 20px 60px rgba(2,8,20,.34);
  --portal-radius:26px;
  --portal-radius-lg:32px;
  --portal-glass:linear-gradient(180deg, rgba(46,66,98,.88), rgba(34,51,80,.94));
}

html{scroll-behavior:smooth;background:var(--portal-bg)}
body.portal-page{
  margin:0;
  background:
    radial-gradient(circle at 6% 10%, rgba(140,196,255,.16), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(155,140,255,.13), transparent 22%),
    radial-gradient(circle at 50% 96%, rgba(78,216,201,.11), transparent 24%),
    linear-gradient(135deg, #223350 0%, #2d4264 34%, #385278 68%, #273852 100%);
  color:var(--portal-text);
  font-family:"Inter",system-ui,sans-serif;
  overflow-x:hidden;
}
body.portal-page::before,
body.portal-page::after{
  content:"";
  position:fixed;
  inset:auto;
  width:34rem;
  height:34rem;
  border-radius:50%;
  filter:blur(70px);
  pointer-events:none;
  opacity:.14;
  z-index:0;
  animation:portalFloat 16s ease-in-out infinite;
}
body.portal-page::before{top:-8rem;right:-10rem;background:radial-gradient(circle, var(--portal-cyan), transparent 65%)}
body.portal-page::after{bottom:-10rem;left:-8rem;background:radial-gradient(circle, var(--portal-blue), transparent 65%);animation-delay:-8s}

main, .site-shell-header, .site-shell-footer{position:relative;z-index:1}
.container{width:min(1160px, calc(100% - 1.25rem));margin:0 auto}
img{max-width:100%;display:block}
a{text-decoration:none}

.site-shell-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(18px) saturate(130%);
  background:rgba(6,14,28,.62);
  border-bottom:1px solid rgba(151,190,255,.09);
  overflow:visible;
}
.shell-header__inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.9rem;
  position: relative;
}
.portal-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(24px);
  opacity:.34;
  pointer-events:none;
}
.portal-orb--a{top:-1rem;left:10%;width:8rem;height:8rem;background:rgba(83,229,246,.24);animation:orbPulse 9s ease-in-out infinite}
.portal-orb--b{right:4%;top:-2rem;width:9rem;height:9rem;background:rgba(255,106,183,.18);animation:orbPulse 12s ease-in-out infinite reverse}

.shell-brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width:0;
  color:var(--portal-text);
}
.shell-brand__mark{
  width:46px;height:46px;border-radius:16px;display:grid;place-items:center;
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
  font-weight:800;font-size:1rem;
  background:linear-gradient(135deg, rgba(91,140,255,1), rgba(83,229,246,.95));
  color:#06111f;
  box-shadow:0 10px 24px rgba(83,229,246,.25);
}
.shell-brand__copy{display:flex;flex-direction:column;line-height:1.08;min-width:0}
.shell-brand__copy strong{font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:.98rem;letter-spacing:-.02em;color:var(--portal-text)}
.shell-brand__copy small{font-size:.74rem;color:var(--portal-text-dim);text-transform:uppercase;letter-spacing:.12em}
.shell-theme-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 .95rem;
  border-radius:999px;
  border:1px solid rgba(151,190,255,.18);
  background:rgba(255,255,255,.04);
  color:var(--portal-text-soft);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:.22s ease;
  box-shadow:0 10px 22px rgba(4,12,24,.18);
}
.shell-theme-switch:hover{
  color:var(--portal-text);
  background:rgba(255,255,255,.08);
  border-color:rgba(151,190,255,.34);
  transform:translateY(-1px);
}
.shell-theme-switch--footer{
  margin-top:.9rem;
  width:max-content;
}

.shell-menu-btn{
  width:48px;height:48px;border-radius:16px;border:1px solid var(--portal-line);background:rgba(10,22,43,.82);
  display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer;
  box-shadow:var(--portal-shadow);
}
.shell-menu-btn span{display:block;width:20px;height:2px;background:var(--portal-text);border-radius:999px;transition:.25s ease}
.shell-menu-btn.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.shell-menu-btn.active span:nth-child(2){opacity:0}
.shell-menu-btn.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.shell-nav{
  position:absolute;
  top:calc(100% + .8rem);
  right:.65rem;
  width:min(340px, calc(100vw - 1.3rem));
  padding:.85rem;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(15,29,55,.96), rgba(8,18,36,.98));
  border:1px solid var(--portal-line);
  box-shadow:var(--portal-shadow);
  display:none;
  flex-direction:column;
  gap:.45rem;
}
.shell-nav.open{display:flex}
.shell-nav a{
  color:var(--portal-text-soft);
  padding:.95rem 1rem;
  border-radius:16px;
  font-weight:700;
  background:rgba(255,255,255,.02);
  border:1px solid transparent;
  transition:.22s ease;
}
.shell-nav a:hover,.shell-nav a.active{
  color:var(--portal-text);
  background:rgba(255,255,255,.05);
  border-color:var(--portal-line);
  transform:translateY(-1px);
}
.trending-link{
  position:relative;
  background:linear-gradient(135deg, rgba(255,200,109,.15), rgba(255,106,183,.14), rgba(91,140,255,.14));
  border-color:rgba(255,200,109,.24)!important;
  animation:portalBlink 2.2s ease-in-out infinite;
  overflow:hidden;
}
.trending-link::before{
  content:"";
  position:absolute;inset:-30% auto -30% -34%;width:34%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform:rotate(18deg);
  animation:glossSweep 3s linear infinite;
}

.portal-topline{
  padding-top:.55rem;
}
.portal-topline__inner{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.75rem .9rem;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(13,28,55,.92), rgba(16,36,72,.86));
  border:1px solid var(--portal-line);
  box-shadow:var(--portal-shadow);
}
.portal-topline__text{margin:0;flex:1;color:var(--portal-text-soft);font-size:.92rem;line-height:1.45}
.portal-topline__link{color:var(--portal-cyan);font-weight:800;white-space:nowrap}
.portal-pill{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 .82rem;border-radius:999px;
  background:rgba(83,229,246,.12);color:var(--portal-cyan);border:1px solid rgba(83,229,246,.2);font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.portal-pill--pulse{background:rgba(255,200,109,.16);color:var(--portal-gold);border-color:rgba(255,200,109,.26)}

body.portal-page h1, body.portal-page h2, body.portal-page h3, body.portal-page h4{
  color:var(--portal-text)!important;
  font-family:"Plus Jakarta Sans","Inter",system-ui,sans-serif;
  letter-spacing:-.04em;
  line-height:1.02;
}
body.portal-page p, body.portal-page li{color:var(--portal-text-soft)!important}
body.portal-page .note, body.portal-page .mini-kicker, body.portal-page .eyebrow, body.portal-page .tag, body.portal-page .kicker{
  color:var(--portal-text)!important;
}
body.portal-page .eyebrow,
body.portal-page .mini-kicker,
body.portal-page .tag,
body.portal-page .kicker,
body.portal-page .pulse-label{
  display:inline-flex;align-items:center;gap:.45rem;min-height:34px;padding:0 .82rem;border-radius:999px;
  background:rgba(91,140,255,.13)!important;border:1px solid rgba(91,140,255,.22)!important;color:#dce7ff!important;
  font-size:.74rem!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase;
}
body.portal-page .mini-kicker{background:rgba(83,229,246,.12)!important;border-color:rgba(83,229,246,.2)!important;color:#d2fbff!important}
body.portal-page .tag{background:rgba(255,200,109,.12)!important;border-color:rgba(255,200,109,.2)!important;color:#ffe3b2!important}

body.portal-page .hero,
body.portal-page .page-hero{
  padding:1.2rem 0 1.1rem!important;
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
}
body.portal-page .hero::before,
body.portal-page .hero::after,
body.portal-page .page-hero::before,
body.portal-page .page-hero::after{display:none!important}
body.portal-page .hero .container,
body.portal-page .page-hero .container{
  position:relative;
  padding:1.2rem 1rem 1rem;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(15,29,55,.92), rgba(8,18,36,.96));
  border:1px solid var(--portal-line);
  box-shadow:var(--portal-shadow);
  overflow:hidden;
}
body.portal-page .hero .container::before,
body.portal-page .page-hero .container::before{
  content:"";
  position:absolute;inset:-30% auto auto -10%;width:11rem;height:11rem;border-radius:50%;
  background:radial-gradient(circle, rgba(83,229,246,.18), transparent 62%);
  filter:blur(8px);
}
body.portal-page h1{font-size:clamp(2.25rem, 11vw, 4rem)!important;margin:.8rem 0 1rem!important}
body.portal-page h2{font-size:clamp(1.5rem, 7vw, 2.6rem)!important;margin:.2rem 0 .85rem!important}
body.portal-page h3{font-size:clamp(1.08rem, 5vw, 1.45rem)!important;margin:0 0 .45rem!important}
body.portal-page .lead{font-size:1rem!important;line-height:1.68!important;max-width:65ch;color:var(--portal-text-soft)!important}

body.portal-page .section{padding:1rem 0!important}
body.portal-page .section-head{display:block!important;margin-bottom:.95rem!important}
body.portal-page .section-head > * + *{margin-top:.7rem}
body.portal-page .view-all{color:var(--portal-cyan)!important;font-weight:800}

body.portal-page .content-card,
body.portal-page .panel,
body.portal-page .post-card,
body.portal-page .quick-card,
body.portal-page .feature-card,
body.portal-page .topic-card,
body.portal-page .foundation-card,
body.portal-page .section-card,
body.portal-page .info-card,
body.portal-page .watch-card,
body.portal-page .profile-card,
body.portal-page .faq-card,
body.portal-page .toc,
body.portal-page .cta,
body.portal-page .portal-visual,
body.portal-page .pulse-card,
body.portal-page .metric-card,
body.portal-page .resource-card,
body.portal-page .watch-note,
body.portal-page .accordion{
  background:var(--portal-glass)!important;
  border:1px solid var(--portal-line)!important;
  border-radius:26px!important;
  box-shadow:var(--portal-shadow)!important;
  color:var(--portal-text)!important;
  backdrop-filter:blur(10px);
}
body.portal-page .content-card,
body.portal-page .panel,
body.portal-page .profile-card,
body.portal-page .topic-card,
body.portal-page .foundation-card,
body.portal-page .faq-card,
body.portal-page .toc,
body.portal-page .cta,
body.portal-page .pulse-card,
body.portal-page .section-card,
body.portal-page .quick-card,
body.portal-page .watch-card{padding:1rem!important}
body.portal-page .content-card::before,
body.portal-page .panel::before,
body.portal-page .post-card::before,
body.portal-page .feature-card::before,
body.portal-page .topic-card::before,
body.portal-page .section-card::before,
body.portal-page .cta::before,
body.portal-page .toc::before{display:none!important}

body.portal-page .hero-grid,
body.portal-page .two-col,
body.portal-page .page-grid,
body.portal-page .grid-2,
body.portal-page .grid-3,
body.portal-page .grid-4,
body.portal-page .quick-grid,
body.portal-page .watch-grid,
body.portal-page .topic-grid,
body.portal-page .foundation-grid,
body.portal-page .card-grid,
body.portal-page .split,
body.portal-page .pulse-grid,
body.portal-page .faq-grid,
body.portal-page .footer-grid,
body.portal-page .metric-grid{
  display:grid;
  gap:.95rem!important;
  grid-template-columns:1fr!important;
}

body.portal-page .hero-search,
body.portal-page .search-fake,
body.portal-page .hero-chips span,
body.portal-page .mini-link,
body.portal-page .footer-links a,
body.portal-page .toc a,
body.portal-page .portal-figure-link,
body.portal-page .btn,
body.portal-page .pulse-link,
body.portal-page .cta-actions .btn{
  border-radius:18px!important;
}
body.portal-page .hero-search,
body.portal-page .search-fake,
body.portal-page .hero-chips span,
body.portal-page .mini-link,
body.portal-page .footer-links a,
body.portal-page .toc a,
body.portal-page .portal-figure-link,
body.portal-page .btn-secondary,
body.portal-page .btn-accent{
  background:rgba(255,255,255,.03)!important;
  border:1px solid var(--portal-line)!important;
  color:var(--portal-text)!important;
  box-shadow:none!important;
}

/* minimal fix for Trending page jump text */
body.portal-page .pulse-link{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
  color:#ffffff!important;
  font-weight:800!important;
  display:inline-block;
}


body.portal-page .btn,
body.portal-page .portal-figure-link,
body.portal-page .pulse-link,
body.portal-page .footer-links a,
body.portal-page .toc a,
body.portal-page .mini-link,
body.portal-page .quick-card,
body.portal-page .post-card,
body.portal-page .topic-card,
body.portal-page .section-card,
body.portal-page .feature-card,
body.portal-page .pulse-card,
body.portal-page .watch-card,
body.portal-page .profile-card{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease!important;
}
body.portal-page .btn-primary,
body.portal-page .btn.btn-primary{
  background:linear-gradient(135deg, rgba(91,140,255,.94), rgba(83,229,246,.86))!important;
  color:#04101d!important;
  border:none!important;
  box-shadow:0 16px 34px rgba(83,229,246,.2)!important;
  font-weight:800!important;
}
body.portal-page .btn:hover,
body.portal-page .portal-figure-link:hover,
body.portal-page .footer-links a:hover,
body.portal-page .toc a:hover,
body.portal-page .mini-link:hover{
  transform:translateY(-2px);
  border-color:var(--portal-line-strong)!important;
}

body.portal-page .post-card,
body.portal-page .feature-card,
body.portal-page .quick-card,
body.portal-page .topic-card,
body.portal-page .foundation-card,
body.portal-page .section-card,
body.portal-page .pulse-card{
  min-width:82vw;
  scroll-snap-align:start;
}
body.portal-page .quick-grid,
body.portal-page .grid-3,
body.portal-page .watch-grid,
body.portal-page .topic-grid,
body.portal-page .foundation-grid,
body.portal-page .pulse-grid,
body.portal-page .card-grid,
body.portal-page .grid-2,
body.portal-page .faq-grid{
  display:flex!important;
  overflow-x:auto;
  padding-bottom:.35rem;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
body.portal-page .quick-grid::-webkit-scrollbar,
body.portal-page .grid-3::-webkit-scrollbar,
body.portal-page .watch-grid::-webkit-scrollbar,
body.portal-page .topic-grid::-webkit-scrollbar,
body.portal-page .foundation-grid::-webkit-scrollbar,
body.portal-page .pulse-grid::-webkit-scrollbar,
body.portal-page .card-grid::-webkit-scrollbar,
body.portal-page .grid-2::-webkit-scrollbar,
body.portal-page .faq-grid::-webkit-scrollbar,
body.portal-page .portal-chip-rail::-webkit-scrollbar{height:6px}
body.portal-page .quick-grid::-webkit-scrollbar-thumb,
body.portal-page .grid-3::-webkit-scrollbar-thumb,
body.portal-page .watch-grid::-webkit-scrollbar-thumb,
body.portal-page .topic-grid::-webkit-scrollbar-thumb,
body.portal-page .foundation-grid::-webkit-scrollbar-thumb,
body.portal-page .pulse-grid::-webkit-scrollbar-thumb,
body.portal-page .card-grid::-webkit-scrollbar-thumb,
body.portal-page .grid-2::-webkit-scrollbar-thumb,
body.portal-page .faq-grid::-webkit-scrollbar-thumb,
body.portal-page .portal-chip-rail::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}

body.portal-page .feature-media,
body.portal-page .portal-media,
body.portal-page .img-container,
body.portal-page .visual-panel img,
body.portal-page .feature-media img,
body.portal-page .portal-media img,
body.portal-page .page-figure .img-frame,
body.portal-page .img-frame{
  border-radius:22px!important;
  overflow:hidden;
  border:1px solid rgba(151,190,255,.12)!important;
  background:linear-gradient(180deg, rgba(10,22,43,.96), rgba(13,28,55,.9))!important;
}
body.portal-page .feature-media img,
body.portal-page .portal-media img,
body.portal-page .visual-panel img,
body.portal-page .zoom-img,
body.portal-page .zoomable-thumb,
body.portal-page .hero-figure-img{background:#09172b!important}
body.portal-page figure figcaption{color:var(--portal-text-dim)!important}

body.portal-page .metric-card strong,
body.portal-page .icon-badge,
body.portal-page .pulse-link,
body.portal-page .portal-figure-link,
body.portal-page .toc a:hover,
body.portal-page .view-all,
body.portal-page .mini-link small{color:var(--portal-cyan)!important}
body.portal-page .icon-badge,
body.portal-page .profile-mark{
  background:linear-gradient(135deg, rgba(91,140,255,.18), rgba(83,229,246,.18))!important;
  border:1px solid rgba(91,140,255,.24)!important;
}
body.portal-page .profile-mark{color:var(--portal-text)!important;box-shadow:none!important}

body.portal-page .toc{
  display:flex;
  flex-direction:column;
  gap:.55rem;
}
body.portal-page .toc h3{margin:0 0 .2rem!important}
body.portal-page .toc a{display:block!important;padding:.85rem .95rem!important;color:var(--portal-text-soft)!important;background:rgba(255,255,255,.03)!important}
body.portal-page .toc hr{border-color:var(--portal-line)!important;opacity:.7}

.portal-chip-rail{
  display:flex;
  gap:.65rem;
  overflow-x:auto;
  padding:.7rem max(.65rem, calc((100vw - min(1160px, 100vw - 1.25rem))/2));
  margin: .25rem 0 .2rem;
  scroll-snap-type:x proximity;
}
.portal-chip-rail a{
  flex:0 0 auto;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:0 .95rem;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--portal-line);
  color:var(--portal-text-soft);
  font-weight:700;
  scroll-snap-align:start;
}

.portal-collapse{display:none}
.is-open .portal-collapse{display:block;animation:fadeRise .25s ease}
.portal-toggle{
  margin-top:.9rem;
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 .95rem;
  border-radius:16px;
  border:1px solid var(--portal-line);
  background:rgba(255,255,255,.03);
  color:var(--portal-text);
  font-weight:800;
  cursor:pointer;
}
.portal-toggle strong{font-size:1.15rem;color:var(--portal-cyan)}

.portal-lightbox{
  position:fixed;inset:0;display:grid;place-items:center;padding:1rem;
  background:rgba(3,8,16,.86);backdrop-filter:blur(14px);
  opacity:0;pointer-events:none;transition:.25s ease;z-index:200;
}
.portal-lightbox.open{opacity:1;pointer-events:auto}
.portal-lightbox__dialog{position:relative;max-width:min(1120px, 96vw);max-height:90vh}
.portal-lightbox__img{max-width:100%;max-height:90vh;border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.5)}
.portal-lightbox__close{
  position:absolute;top:-12px;right:-8px;width:44px;height:44px;border-radius:999px;border:none;cursor:pointer;
  background:#fff;color:#06111f;font-size:1.7rem;box-shadow:0 14px 30px rgba(0,0,0,.28)
}

.portal-reveal{opacity:1;transform:none;transition:none}
.portal-reveal.is-visible{opacity:1;transform:none}

.site-shell-footer{padding:1.2rem 0 2.3rem}
.shell-footer__grid{display:grid;grid-template-columns:1fr;gap:.9rem}
.shell-footer__card{
  padding:1rem;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(14,29,54,.88), rgba(8,18,36,.94));
  border:1px solid var(--portal-line);
  box-shadow:var(--portal-shadow);
}
.shell-footer__card h3,.shell-footer__card h4{margin:0 0 .55rem}
.shell-footer__card p{margin:0;color:var(--portal-text-soft)!important}
.shell-footer__links{display:grid;gap:.55rem}
.shell-footer__links a{
  padding:.84rem .92rem;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--portal-line);
  color:var(--portal-text-soft);
  font-weight:700;
}

body.portal-page .faq-card summary,
body.portal-page details summary{color:var(--portal-text)!important}
body.portal-page details summary::after{color:var(--portal-cyan)!important}
body.portal-page .answer{color:var(--portal-text-soft)!important}
body.portal-page .cta-band,
body.portal-page .cta{
  background:linear-gradient(135deg, rgba(18,40,76,.98), rgba(9,18,36,.96))!important;
}
body.portal-page .cta-band p,
body.portal-page .cta p{color:var(--portal-text-soft)!important}
body.portal-page .hero-actions,
body.portal-page .btn-row,
body.portal-page .cta-actions,
body.portal-page .section-actions{display:flex;flex-wrap:wrap;gap:.65rem!important}
body.portal-page .hero-actions .btn,
body.portal-page .cta-actions .btn,
body.portal-page .btn-row .btn{flex:1 1 220px}

@media (min-width: 920px){
  .container{width:min(1240px, calc(100% - 2rem))}
  .shell-menu-btn{display:none}
  .shell-theme-switch{order:3}
  .shell-nav{position:static;display:flex!important;flex-direction:row;gap:.35rem;width:auto;padding:0;background:transparent;border:none;box-shadow:none}
  .shell-nav a{padding:.82rem 1rem;border-radius:999px}
  .portal-topline__inner{padding:.8rem 1rem}
  body.portal-page .hero .container,
  body.portal-page .page-hero .container{padding:1.6rem 1.4rem 1.35rem}
  body.portal-page .hero-grid,
  body.portal-page .two-col,
  body.portal-page .page-grid,
  body.portal-page .split,
  body.portal-page .metric-grid,
  body.portal-page .shell-footer__grid{display:grid!important}
  body.portal-page .hero-grid,
  body.portal-page .two-col,
  body.portal-page .split{grid-template-columns:1.02fr .98fr!important}
  body.portal-page .page-grid{grid-template-columns:320px minmax(0,1fr)!important;align-items:start}
  body.portal-page .metric-grid{grid-template-columns:repeat(3, minmax(0,1fr))!important}
  body.portal-page .shell-footer__grid{grid-template-columns:1.35fr .85fr .85fr}
  .shell-footer__card--wide{grid-column:auto}
  body.portal-page .quick-grid,
  body.portal-page .grid-3,
  body.portal-page .watch-grid,
  body.portal-page .topic-grid,
  body.portal-page .foundation-grid,
  body.portal-page .pulse-grid,
  body.portal-page .card-grid,
  body.portal-page .grid-2,
  body.portal-page .faq-grid{
    overflow:visible;display:grid!important;padding-bottom:0;scroll-snap-type:none
  }
  body.portal-page .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.portal-page .grid-3,
  body.portal-page .topic-grid,
  body.portal-page .foundation-grid,
  body.portal-page .card-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.portal-page .card-grid.four,
  body.portal-page .watch-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.portal-page .grid-2,
  body.portal-page .faq-grid,
  body.portal-page .pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.portal-page .post-card,
  body.portal-page .feature-card,
  body.portal-page .quick-card,
  body.portal-page .topic-card,
  body.portal-page .foundation-card,
  body.portal-page .section-card,
  body.portal-page .pulse-card{min-width:0}
  body.portal-page .toc{position:sticky;top:108px}
}

@media (max-width: 919px){
  .portal-topline__inner{align-items:flex-start;flex-wrap:wrap}
  .portal-topline__link{width:100%;text-align:center;padding-top:.15rem}
  body.portal-page .hero .container,
  body.portal-page .page-hero .container{padding:1.05rem .95rem .95rem}
  body.portal-page .hero-search-row{display:grid;gap:.7rem!important}
}

@keyframes portalFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-12px,0)}}
@keyframes orbPulse{0%,100%{transform:scale(1);opacity:.28}50%{transform:scale(1.18);opacity:.42}}
@keyframes portalBlink{0%,100%{filter:brightness(1)}50%{filter:brightness(1.16)}}
@keyframes glossSweep{0%{left:-34%}100%{left:128%}}
@keyframes fadeRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}


/* =========================================================
   PORTAL FIX PASS — contrast, figures, accordions, links
   ========================================================= */

.site-shell-header .shell-nav a{
  color:#dce8ff!important;
  background:rgba(255,255,255,.025)!important;
}
.site-shell-header .shell-nav a:hover{
  color:#ffffff!important;
  background:rgba(255,255,255,.08)!important;
  border-color:var(--portal-line-strong)!important;
}
.site-shell-header .shell-nav a.active{
  color:#05111f!important;
  background:linear-gradient(135deg, rgba(91,140,255,.96), rgba(83,229,246,.84))!important;
  border-color:transparent!important;
  box-shadow:0 12px 28px rgba(83,229,246,.18)!important;
}
.site-shell-header .shell-nav a.trending-link.active,
.site-shell-header .shell-nav a.trending-link:hover{
  color:#08111f!important;
}

body.portal-page main a:not(.btn):not(.post-card):not(.quick-card):not(.feature-card):not(.topic-card):not(.foundation-card):not(.section-card):not(.pulse-card):not(.resource-card):not(.watch-note):not(.accordion-trigger):not(.portal-figure-link):not(.shell-brand):not(.trending-link){
  color:var(--portal-cyan)!important;
}
body.portal-page main a:not(.btn):not(.post-card):not(.quick-card):not(.feature-card):not(.topic-card):not(.foundation-card):not(.section-card):not(.pulse-card):not(.resource-card):not(.watch-note):not(.accordion-trigger):not(.portal-figure-link):not(.shell-brand):not(.trending-link):hover{
  color:#ffffff!important;
}
body.portal-page .post-card,
body.portal-page .quick-card,
body.portal-page .feature-card,
body.portal-page .topic-card,
body.portal-page .foundation-card,
body.portal-page .section-card,
body.portal-page .pulse-card,
body.portal-page .resource-card,
body.portal-page .watch-note,
body.portal-page .expertise-card{
  color:inherit!important;
}
body.portal-page .post-card h3,
body.portal-page .quick-card h3,
body.portal-page .feature-card h3,
body.portal-page .topic-card h3,
body.portal-page .foundation-card h3,
body.portal-page .section-card h3,
body.portal-page .pulse-card h3,
body.portal-page .resource-card h2,
body.portal-page .resource-card h3,
body.portal-page .watch-note h3,
body.portal-page .watch-block h4,
body.portal-page .accordion-title,
body.portal-page .contact-list strong,
body.portal-page .snapshot-box strong,
body.portal-page strong{
  color:var(--portal-text)!important;
}
body.portal-page .post-card p,
body.portal-page .quick-card p,
body.portal-page .feature-card p,
body.portal-page .topic-card p,
body.portal-page .foundation-card p,
body.portal-page .section-card p,
body.portal-page .pulse-card p,
body.portal-page .resource-card p,
body.portal-page .watch-note p,
body.portal-page .watch-block p,
body.portal-page .watch-block li,
body.portal-page .resource-mini p,
body.portal-page .accordion-preview,
body.portal-page .accordion-panel p,
body.portal-page .accordion-panel li,
body.portal-page .contact-list p,
body.portal-page .callout,
body.portal-page .resource-note,
body.portal-page .snapshot-box p,
body.portal-page .resource-table td,
body.portal-page .resource-table li{
  color:var(--portal-text-soft)!important;
}

body.portal-page .portal-media,
body.portal-page .feature-media,
body.portal-page .img-container,
body.portal-page .visual-panel,
body.portal-page .compact-figure,
body.portal-page .page-figure .img-frame,
body.portal-page .img-frame,
body.portal-page .hero-visual .portal-visual,
body.portal-page .portal-media.hero-figure-media{
  background:linear-gradient(180deg,#ffffff,#eef5ff)!important;
  border:1px solid rgba(151,190,255,.20)!important;
  box-shadow:0 18px 34px rgba(0,0,0,.18)!important;
}
body.portal-page .feature-media img,
body.portal-page .portal-media img,
body.portal-page .visual-panel img,
body.portal-page .zoom-img,
body.portal-page .zoomable-thumb,
body.portal-page .hero-figure-img,
body.portal-page .img-frame img{
  background:#ffffff!important;
  object-fit:contain!important;
}
body.portal-page .hero-figure-img,
body.portal-page .zoomable-thumb,
body.portal-page .zoom-img{
  padding:.15rem;
}
body.portal-page .img-container{position:relative!important;overflow:hidden!important}
body.portal-page .img-expand-btn{
  position:absolute!important;
  top:.72rem!important;
  right:.72rem!important;
  z-index:4!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:14px!important;
  border:1px solid rgba(6,17,31,.1)!important;
  background:rgba(255,255,255,.92)!important;
  color:#07111f!important;
  box-shadow:0 12px 24px rgba(0,0,0,.15)!important;
  cursor:pointer!important;
}
body.portal-page .img-expand-btn:hover{
  transform:translateY(-1px) scale(1.02)!important;
  background:#ffffff!important;
}

body.portal-page .resource-mini,
body.portal-page .resource-note,
body.portal-page .snapshot-box,
body.portal-page .callout,
body.portal-page .watch-block,
body.portal-page .watch-bottom-note,
body.portal-page .contact-list,
body.portal-page .pulse-anchor-card,
body.portal-page .watch-block,
body.portal-page .resource-card .resource-note{
  background:rgba(255,255,255,.04)!important;
  border:1px solid var(--portal-line)!important;
  border-radius:20px!important;
  padding:1rem!important;
  box-shadow:none!important;
}
body.portal-page .snapshot-grid,
body.portal-page .watch-columns,
body.portal-page .journey-grid,
body.portal-page .expertise-grid{
  display:grid!important;
  gap:.85rem!important;
}
body.portal-page .check-list{
  margin:1rem 0 0;
  padding-left:1.1rem;
}
body.portal-page .check-list li{color:var(--portal-text-soft)!important; margin:.35rem 0;}

body.portal-page .meta-chip,
body.portal-page .resource-pill,
body.portal-page .accordion-kicker,
body.portal-page .accordion-meta,
body.portal-page .pill-row span,
body.portal-page .resource-pill-row span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:0 .82rem!important;
  border-radius:999px!important;
  background:rgba(91,140,255,.12)!important;
  border:1px solid rgba(91,140,255,.22)!important;
  color:#dce8ff!important;
  font-size:.74rem!important;
  font-weight:800!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body.portal-page .accordion-meta,
body.portal-page .accordion-kicker,
body.portal-page .resource-pill{
  background:rgba(255,200,109,.12)!important;
  border-color:rgba(255,200,109,.2)!important;
  color:#ffe3b2!important;
}
body.portal-page .pill-row,
body.portal-page .resource-pill-row,
body.portal-page .anchor-links,
body.portal-page .watch-inline-links,
body.portal-page .pulse-link-list,
body.portal-page .contact-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.6rem!important;
}
body.portal-page .anchor-links a,
body.portal-page .watch-inline-links a,
body.portal-page .pulse-link-list a,
body.portal-page .contact-list a,
body.portal-page .resource-list a,
body.portal-page .resource-mini a,
body.portal-page .resource-note a,
body.portal-page .table-wrap a,
body.portal-page .callout a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:40px!important;
  padding:0 .9rem!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid var(--portal-line)!important;
  color:var(--portal-cyan)!important;
  font-weight:700!important;
}
body.portal-page .anchor-links a:hover,
body.portal-page .watch-inline-links a:hover,
body.portal-page .pulse-link-list a:hover,
body.portal-page .contact-list a:hover,
body.portal-page .resource-list a:hover,
body.portal-page .resource-mini a:hover,
body.portal-page .resource-note a:hover,
body.portal-page .table-wrap a:hover,
body.portal-page .callout a:hover{
  border-color:var(--portal-line-strong)!important;
  color:#ffffff!important;
}

body.portal-page .table-wrap{
  overflow:auto!important;
  border-radius:20px!important;
  border:1px solid var(--portal-line)!important;
  background:rgba(255,255,255,.03)!important;
}
body.portal-page .resource-table{
  width:100%!important;
  min-width:640px!important;
  border-collapse:collapse!important;
  background:transparent!important;
}
body.portal-page .resource-table th,
body.portal-page .resource-table td{
  padding:.92rem .9rem!important;
  border-bottom:1px solid var(--portal-line)!important;
  background:transparent!important;
}
body.portal-page .resource-table th{
  background:rgba(91,140,255,.12)!important;
  color:var(--portal-text)!important;
}
body.portal-page .resource-table td{
  color:var(--portal-text-soft)!important;
}

body.portal-page .accordion{overflow:hidden!important}
body.portal-page .accordion-trigger{
  width:100%!important;
  text-align:left!important;
  display:flex!important;
  flex-direction:column!important;
  gap:.62rem!important;
  padding:1rem 1rem .95rem!important;
  border:none!important;
  border-radius:24px!important;
  background:transparent!important;
  color:inherit!important;
  cursor:pointer!important;
}
body.portal-page .accordion-trigger:focus-visible{
  outline:2px solid rgba(83,229,246,.55)!important;
  outline-offset:3px!important;
}
body.portal-page .accordion-title{
  font-size:1.1rem!important;
  line-height:1.3!important;
}
body.portal-page .accordion-preview{
  font-size:.97rem!important;
  line-height:1.72!important;
}
body.portal-page .accordion-cta{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  min-height:36px!important;
  padding:0 .8rem!important;
  border-radius:999px!important;
  background:rgba(83,229,246,.12)!important;
  border:1px solid rgba(83,229,246,.2)!important;
  color:var(--portal-cyan)!important;
  font-weight:800!important;
}
body.portal-page .accordion-icon{
  position:absolute!important;
  top:1rem!important;
  right:1rem!important;
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.05)!important;
  border:1px solid var(--portal-line)!important;
}
body.portal-page .accordion-icon::before,
body.portal-page .accordion-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:2px;
  background:var(--portal-cyan);
  transform:translate(-50%,-50%);
  border-radius:999px;
}
body.portal-page .accordion-icon::after{
  width:2px;
  height:12px;
}
body.portal-page .accordion.is-open .accordion-icon::after{opacity:0}
body.portal-page .accordion-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .28s ease;
  background:transparent!important;
}
body.portal-page .accordion.is-open .accordion-panel{
  border-top:1px solid var(--portal-line)!important;
}
body.portal-page .accordion-panel-inner{
  padding:0 1rem 1rem!important;
}
body.portal-page .watch-note.accordion,
body.portal-page .resource-card.accordion{
  padding:0!important;
}
body.portal-page .watch-note.accordion .accordion-trigger,
body.portal-page .resource-card.accordion .accordion-trigger{
  position:relative!important;
}

body.portal-page[data-page="home"] .hero .container::after,
body.portal-page[data-page="research"] .page-hero .container::after,
body.portal-page[data-page="trending"] .page-hero .container::after,
body.portal-page[data-page="resources"] .page-hero .container::after,
body.portal-page[data-page="about"] .page-hero .container::after,
body.portal-page[data-page="contact"] .page-hero .container::after{
  content:"";
  position:absolute;
  inset:auto -2.5rem -3rem auto;
  width:10rem;
  height:10rem;
  border-radius:50%;
  filter:blur(10px);
  opacity:.32;
  pointer-events:none;
  animation:orbPulse 11s ease-in-out infinite;
}
body.portal-page[data-page="research"] .page-hero .container::after{background:radial-gradient(circle, rgba(91,140,255,.45), transparent 65%)}
body.portal-page[data-page="trending"] .page-hero .container::after{background:radial-gradient(circle, rgba(255,106,183,.42), transparent 65%)}
body.portal-page[data-page="resources"] .page-hero .container::after{background:radial-gradient(circle, rgba(255,200,109,.40), transparent 65%)}
body.portal-page[data-page="about"] .page-hero .container::after{background:radial-gradient(circle, rgba(83,229,246,.40), transparent 65%)}
body.portal-page[data-page="contact"] .page-hero .container::after{background:radial-gradient(circle, rgba(91,140,255,.30), rgba(255,106,183,.24), transparent 70%)}
body.portal-page[data-page="home"] .hero .container::after{background:radial-gradient(circle, rgba(83,229,246,.42), rgba(91,140,255,.22), transparent 68%)}

@media (min-width: 920px){
  body.portal-page .watch-columns,
  body.portal-page .snapshot-grid,
  body.portal-page .journey-grid,
  body.portal-page .expertise-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.portal-page .journey-grid,
  body.portal-page .expertise-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}



/* === Unified homepage cards and layout for the same dark theme === */
.section-top{padding-top:3rem}
.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:1.5rem;align-items:center}
.hero-copy{padding:.8rem 0}
.hero-copy h1{margin:.95rem 0 1rem;max-width:11.5ch}
.hero-copy .lead{margin-bottom:0}
.hero-search{
  margin-top:1.25rem;
  padding:1rem;
  background:linear-gradient(180deg, rgba(56,79,115,.92), rgba(46,66,98,.92));
  border:1px solid rgba(225,235,248,.14);
  border-radius:24px;
  box-shadow:0 18px 42px rgba(2,8,20,.18);
}
.hero-search-row{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}
.search-fake{
  flex:1 1 320px;
  min-height:54px;
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:0 1rem;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(225,235,248,.12);
  color:var(--muted);
}
.search-fake strong{color:#ffffff}
.hero-chips{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.hero-chips span{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  padding:0 .95rem;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(225,235,248,.14);
  color:#eef5ff;
  font-weight:700;
  box-shadow:0 10px 24px rgba(2,8,20,.10);
}
.portal-visual{
  background:linear-gradient(180deg, rgba(56,79,115,.96), rgba(37,53,80,.98));
  border:1px solid rgba(225,235,248,.14);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.portal-media{padding:1.1rem 1.1rem 0}
.portal-media img{border-radius:24px;border:1px solid rgba(225,235,248,.12);width:100%;aspect-ratio:16/10;object-fit:cover;cursor:zoom-in;background:#ffffff}
.portal-copy{
  padding:1rem 1.2rem 1.3rem;
  background:linear-gradient(180deg, rgba(23,35,56,.18), rgba(16,26,42,.34));
}
.portal-copy p{
  margin:.45rem 0 0;
  color:#edf6ff;
  line-height:1.72;
}
.portal-copy h3,
.visual-copy h3{color:#ffffff}
.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:1rem}
.metric-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(225,235,248,.12);
  border-radius:20px;
  padding:1rem;
  box-shadow:0 10px 22px rgba(2,8,20,.10);
}
.metric-card strong{display:block;color:var(--primary);font-size:1.35rem;font-family:"Plus Jakarta Sans", system-ui, sans-serif}
.metric-card span{display:block;color:var(--muted);font-size:.9rem;font-weight:700}
.quick-grid,.grid-3{display:grid;gap:1rem}
.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.feature-card,.quick-card,.panel,.mini-link,.profile-card{
  border:1px solid rgba(225,235,248,.14);
  background:linear-gradient(180deg, rgba(56,79,115,.96), rgba(37,53,80,.98));
  box-shadow:var(--shadow);
}
.quick-card,.panel,.profile-card{padding:1.35rem}
.quick-card,.feature-card,.mini-link,.profile-card{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.quick-card:hover,.feature-card:hover,.mini-link:hover,.profile-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:rgba(145,193,255,.28)}
.icon-badge{
  width:50px;height:50px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(140,196,255,.18), rgba(78,216,201,.16));
  border:1px solid rgba(145,193,255,.24);
  color:#ffffff;font-size:1.2rem;margin-bottom:.95rem
}
.feature-card{overflow:hidden;display:flex;flex-direction:column}
.feature-media{padding:1rem 1rem 0}
.feature-media img{border-radius:22px;border:1px solid rgba(225,235,248,.12);width:100%;aspect-ratio:16/10;object-fit:cover}
.feature-body{padding:1rem 1.2rem 1.25rem}
.feature-body p{margin:.1rem 0 0;color:var(--muted)}
.two-col{display:grid;grid-template-columns:1.04fr .96fr;gap:1rem;align-items:start}
.list-stack{display:grid;gap:.8rem;margin-top:1rem}
.mini-link{display:block;padding:1rem 1.1rem;border-radius:18px;background:rgba(255,255,255,.05)}
.mini-link small{display:block;color:var(--primary);font-size:.74rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;margin-bottom:.3rem}
.mini-link strong{display:block;color:#ffffff;margin-bottom:.25rem}
.mini-link span{color:var(--muted)}
.visual-panel{overflow:hidden;padding:0}
.visual-panel img{width:100%;aspect-ratio:16/10;object-fit:cover;border-bottom:1px solid rgba(225,235,248,.12);cursor:zoom-in;background:#ffffff}
.visual-copy{
  padding:1.2rem 1.25rem 1.35rem;
  background:linear-gradient(180deg, rgba(23,35,56,.16), rgba(16,26,42,.30));
}
.visual-copy p{
  color:#edf6ff;
  line-height:1.72;
}
.visual-copy .mini-kicker,
.portal-copy .mini-kicker{
  background:rgba(83,229,246,.18)!important;
  border-color:rgba(83,229,246,.34)!important;
  color:#f2feff!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;
}
.profile-mark{
  width:62px;height:62px;border-radius:22px;background:linear-gradient(135deg,#86bdff,#7c87ff 58%,#56d7ca 100%);color:#08111f;
  display:grid;place-items:center;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:1.15rem;font-weight:800;flex-shrink:0;
  box-shadow:0 14px 28px rgba(2,8,20,.20)
}
.pulse-home .section-head p{max-width:860px}
.pulse-card--academic::before{background:#8cc4ff}
.foundation-figure{border:1px solid rgba(225,235,248,.14);background:linear-gradient(180deg, rgba(56,79,115,.96), rgba(37,53,80,.98));box-shadow:var(--shadow)}
.foundation-figure:hover{border-color:rgba(145,193,255,.28);box-shadow:var(--shadow-hover)}

/* === Unified contrast and clickable text fixes === */
body.portal-page h1,
body.portal-page h2,
body.portal-page h3,
body.portal-page h4{color:#f7fbff!important}
body.portal-page p,
body.portal-page li,
body.portal-page .accordion-preview,
body.portal-page .resource-note,
body.portal-page .watch-bottom-note,
body.portal-page .visual-copy p,
body.portal-page .portal-copy p,
body.portal-page .feature-body p,
body.portal-page .quick-card p,
body.portal-page .panel p,
body.portal-page .mini-link span{color:#d7e2f1!important}
body.portal-page strong{color:#ffffff}
body.portal-page a:not(.btn):not(.shell-nav a):not(.trending-link):not(.portal-topline__link):not(.portal-figure-link):not(.mini-link):not(.quick-card):not(.feature-card):not(.pulse-card):not(.topic-card):not(.section-card):not(.post-card){color:#b9dcff!important}
body.portal-page a:not(.btn):not(.shell-nav a):not(.trending-link):not(.portal-topline__link):not(.portal-figure-link):not(.mini-link):not(.quick-card):not(.feature-card):not(.pulse-card):not(.topic-card):not(.section-card):not(.post-card):hover{color:#edf6ff!important}
body.portal-page .portal-topline__link,
body.portal-page .portal-figure-link{color:#eaf4ff!important}
body.portal-page .portal-topline__link:hover,
body.portal-page .portal-figure-link:hover{color:#ffffff!important}

body.portal-page .hero .portal-copy p,
body.portal-page .visual-panel .visual-copy p{
  color:#edf6ff!important;
}
body.portal-page .hero .portal-copy,
body.portal-page .visual-panel .visual-copy{
  background:linear-gradient(180deg, rgba(23,35,56,.18), rgba(16,26,42,.34))!important;
}
body.portal-page .hero .portal-copy .mini-kicker,
body.portal-page .visual-panel .visual-copy .mini-kicker{
  color:#f2feff!important;
}

@media (max-width:1100px){
  .hero-grid,.two-col,.quick-grid,.grid-3{grid-template-columns:1fr}
}
@media (max-width:860px){
  .section-top{padding-top:2rem}
  .hero-copy h1{max-width:none}
  .metric-grid,.quick-grid,.grid-3{grid-template-columns:1fr}
}

/* === Home figure visibility redesign + trending contrast fix === */
body.portal-page[data-page="home"] .hero .portal-visual,
body.portal-page[data-page="home"] .section .visual-panel{
  overflow:hidden;
  background:linear-gradient(180deg, rgba(17,31,52,.98), rgba(8,16,30,.99))!important;
  border:1px solid rgba(151,190,255,.18)!important;
  box-shadow:0 24px 52px rgba(0,0,0,.28)!important;
}

body.portal-page[data-page="home"] .hero .portal-media,
body.portal-page[data-page="home"] .section .visual-panel > img{
  background:linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%)!important;
}

body.portal-page[data-page="home"] .hero .portal-media{
  padding:1.15rem 1.15rem .7rem!important;
}

body.portal-page[data-page="home"] .section .visual-panel > img{
  display:block;
  width:100%;
  padding:1rem!important;
  aspect-ratio:16/10;
  object-fit:contain!important;
  border-bottom:1px solid rgba(151,190,255,.16)!important;
}

body.portal-page[data-page="home"] .portal-figure-actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 1.2rem .15rem;
  background:linear-gradient(180deg, rgba(12,22,38,.06), rgba(12,22,38,0));
}

body.portal-page[data-page="home"] .portal-figure-link{
  display:inline-flex!important;
  align-items:center;
  gap:.45rem;
  padding:.72rem 1rem!important;
  border-radius:16px!important;
  background:linear-gradient(135deg, #8cc4ff 0%, #69ddf0 100%)!important;
  border:0!important;
  color:#07111f!important;
  font-weight:800!important;
  letter-spacing:.01em;
  box-shadow:0 12px 26px rgba(83,229,246,.22)!important;
}

body.portal-page[data-page="home"] .portal-figure-link:hover{
  color:#07111f!important;
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(83,229,246,.28)!important;
}

body.portal-page[data-page="home"] .portal-copy,
body.portal-page[data-page="home"] .visual-panel .visual-copy{
  background:linear-gradient(180deg, #12243c 0%, #0a1628 100%)!important;
  padding:1.18rem 1.25rem 1.28rem!important;
}

body.portal-page[data-page="home"] .portal-copy .mini-kicker,
body.portal-page[data-page="home"] .visual-panel .visual-copy .mini-kicker{
  display:inline-flex;
  align-items:center;
  padding:.38rem .7rem;
  border-radius:999px;
  background:rgba(140,196,255,.18)!important;
  border:1px solid rgba(140,196,255,.3)!important;
  color:#f6fbff!important;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

body.portal-page[data-page="home"] .portal-copy h3,
body.portal-page[data-page="home"] .visual-panel .visual-copy h3{
  margin:.68rem 0 .38rem;
  color:#ffffff!important;
  font-size:1.3rem;
  line-height:1.25;
}

body.portal-page[data-page="home"] .portal-copy p,
body.portal-page[data-page="home"] .visual-panel .visual-copy p{
  margin:.2rem 0 0;
  color:#f3f8ff!important;
  line-height:1.76;
}

body.portal-page[data-page="home"] .hero .metric-card{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(151,190,255,.18)!important;
}

body.portal-page[data-page="home"] .hero .metric-card span{
  color:#eef5ff!important;
}

body.portal-page a.trending-link,
body.portal-page .nav a.trending-link,
body.portal-page .footer-grid a.trending-link,
body.portal-page .site-shell-header .shell-nav a.trending-link,
body.portal-page .site-shell-header .shell-nav a.trending-link.active,
body.portal-page .site-shell-header .shell-nav a.trending-link:hover{
  color:#ffffff!important;
}

body.portal-page a.trending-link,
body.portal-page .footer-grid a.trending-link{
  background:linear-gradient(135deg, rgba(91,140,255,.28), rgba(83,229,246,.18), rgba(255,106,183,.2))!important;
  border:1px solid rgba(151,190,255,.22)!important;
  box-shadow:0 0 0 rgba(83,229,246,0), 0 12px 30px rgba(7,17,31,.28), inset 0 1px 0 rgba(255,255,255,.12)!important;
}

body.portal-page a.trending-link:hover,
body.portal-page .footer-grid a.trending-link:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg, rgba(104,151,255,.34), rgba(90,234,247,.23), rgba(255,106,183,.24))!important;
}

/* =========================================================
   MOBILE CLEANUP LAYER
   Keep existing desktop view unchanged
   Paste at the VERY END of the stylesheet
   ========================================================= */

/* safer overflow handling */
html,
body {
  overflow-x: hidden;
}

/* generic media safety */
img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   TABLET + MOBILE
   --------------------------------------------------------- */
@media (max-width: 919px) {
  .container {
    width: min(100% - 1rem, 1240px) !important;
    margin-inline: auto !important;
  }

  /* header / top line */
  .portal-topline {
    padding-top: 0.45rem !important;
  }

  .portal-topline__inner {
    padding: 0.8rem 0.9rem !important;
    border-radius: 18px !important;
    gap: 0.6rem !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }

  .portal-topline__text {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  .portal-topline__link {
    width: 100% !important;
    text-align: center !important;
    padding-top: 0.1rem !important;
  }

  /* sticky header */
  .site-shell-header,
  .site-header {
    backdrop-filter: blur(14px) saturate(125%) !important;
  }

  .shell-header__inner,
  .nav-wrap {
    min-height: 66px !important;
    gap: 0.7rem !important;
  }

  .shell-brand__copy strong {
    font-size: 0.92rem !important;
  }

  .shell-brand__copy small {
    font-size: 0.68rem !important;
  }

  /* mobile menu */
  .shell-nav {
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: auto !important;
    border-radius: 20px !important;
    padding: 0.7rem !important;
    gap: 0.4rem !important;
  }

  .shell-nav a {
    padding: 0.85rem 0.95rem !important;
    font-size: 0.95rem !important;
    border-radius: 14px !important;
  }

  .nav {
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: auto !important;
    border-radius: 20px !important;
    padding: 0.7rem !important;
    gap: 0.45rem !important;
  }

  .nav a {
    width: 100% !important;
    padding: 0.88rem 0.95rem !important;
    font-size: 0.95rem !important;
    border-radius: 14px !important;
  }

  /* hero */
  body.portal-page .hero,
  body.portal-page .page-hero,
  .hero,
  .page-hero {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  body.portal-page .hero .container,
  body.portal-page .page-hero .container {
    padding: 1rem 0.9rem 0.95rem !important;
    border-radius: 24px !important;
  }

  .hero-grid,
  .page-grid,
  .two-col,
  .split,
  .watch-columns,
  .footer-grid,
  .card-grid.three,
  .card-grid.four,
  .post-list,
  .resource-grid,
  .diagram-grid,
  .journey-grid,
  .direct-domain-grid,
  .expertise-grid,
  .snapshot-grid,
  .stat-grid,
  .metric-grid,
  .quick-grid,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body.portal-page h1 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.04em !important;
    margin: 0.7rem 0 0.9rem !important;
  }

  body.portal-page h2 {
    font-size: clamp(1.45rem, 6.2vw, 2.1rem) !important;
    line-height: 1.14 !important;
    margin: 0.15rem 0 0.75rem !important;
  }

  body.portal-page h3 {
    font-size: clamp(1.02rem, 4.7vw, 1.3rem) !important;
    line-height: 1.28 !important;
  }

  body.portal-page .lead,
  body.portal-page p,
  body.portal-page li,
  .lead,
  p,
  li {
    font-size: 0.98rem !important;
    line-height: 1.72 !important;
  }

  .hero-copy,
  .hero-copy h1 {
    max-width: 100% !important;
  }

  .hero-search {
    margin-top: 1rem !important;
    padding: 0.9rem !important;
    border-radius: 20px !important;
  }

  .hero-search-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }

  .search-fake {
    min-height: 50px !important;
    padding: 0 0.9rem !important;
    border-radius: 16px !important;
  }

  .hero-chips {
    gap: 0.55rem !important;
  }

  .hero-chips span,
  .hero-mini-points span,
  .mini-stat,
  .snapshot-chip {
    min-height: 38px !important;
    padding: 0.68rem 0.9rem !important;
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
  }

  /* sections */
  body.portal-page .section,
  .section {
    padding: 1rem 0 1.25rem !important;
  }

  body.portal-page .section-head,
  .section-head {
    margin-bottom: 0.9rem !important;
  }

  .section-head h2::after,
  .page-hero h1::after,
  .hero h1::after {
    width: 64px !important;
    margin-top: 0.55rem !important;
  }

  /* pills / eyebrows */
  body.portal-page .eyebrow,
  body.portal-page .mini-kicker,
  body.portal-page .tag,
  body.portal-page .kicker,
  body.portal-page .pulse-label,
  .eyebrow,
  .kicker,
  .tag,
  .watch-badge,
  .watch-tag,
  .resource-pill,
  .accordion-kicker,
  .accordion-meta,
  .meta-chip {
    font-size: 0.72rem !important;
    min-height: 32px !important;
    padding: 0 0.72rem !important;
    letter-spacing: 0.05em !important;
  }

  /* buttons */
  .hero-actions,
  .btn-row,
  .cta-actions,
  .section-actions,
  .pill-row,
  .meta-chip-row,
  .anchor-links,
  .watch-inline-links,
  .resource-pill-row {
    gap: 0.55rem !important;
  }

  body.portal-page .hero-actions .btn,
  body.portal-page .cta-actions .btn,
  body.portal-page .btn-row .btn,
  .hero-actions .btn,
  .cta-actions .btn,
  .btn-row .btn {
    flex: 1 1 auto !important;
    min-height: 46px !important;
    padding: 0.82rem 1rem !important;
    font-size: 0.94rem !important;
  }

  /* cards */
  body.portal-page .content-card,
  body.portal-page .panel,
  body.portal-page .post-card,
  body.portal-page .quick-card,
  body.portal-page .feature-card,
  body.portal-page .topic-card,
  body.portal-page .foundation-card,
  body.portal-page .section-card,
  body.portal-page .info-card,
  body.portal-page .watch-card,
  body.portal-page .profile-card,
  body.portal-page .faq-card,
  body.portal-page .toc,
  body.portal-page .cta,
  body.portal-page .portal-visual,
  body.portal-page .pulse-card,
  body.portal-page .metric-card,
  body.portal-page .resource-card,
  body.portal-page .watch-note,
  body.portal-page .accordion,
  .content-card,
  .post-card,
  .topic-card,
  .section-card,
  .cta,
  .resource-card,
  .watch-note,
  .watch-block,
  .resource-mini,
  .toc,
  .page-figure,
  .lifecycle-fig,
  .landscape-card,
  .compact-figure,
  .accordion,
  .foundational-figure,
  .stat-card {
    border-radius: 22px !important;
  }

  body.portal-page .content-card,
  body.portal-page .panel,
  body.portal-page .topic-card,
  body.portal-page .foundation-card,
  body.portal-page .section-card,
  body.portal-page .watch-card,
  body.portal-page .pulse-card,
  body.portal-page .quick-card,
  body.portal-page .feature-card,
  body.portal-page .resource-card,
  body.portal-page .watch-note,
  body.portal-page .accordion,
  .content-card,
  .watch-note,
  .resource-card,
  .cta,
  .stat-card {
    padding: 0.95rem !important;
  }

  .topic-card,
  .section-card,
  .resource-mini,
  .watch-block {
    padding: 1rem !important;
  }

  /* medium mobile/tablet: allow swipe cards but less oversized */
  body.portal-page .post-card,
  body.portal-page .feature-card,
  body.portal-page .quick-card,
  body.portal-page .topic-card,
  body.portal-page .foundation-card,
  body.portal-page .section-card,
  body.portal-page .pulse-card {
    min-width: 88% !important;
  }

  /* images */
  body.portal-page .portal-media,
  body.portal-page .feature-media,
  body.portal-page .img-container,
  body.portal-page .visual-panel,
  body.portal-page .compact-figure,
  body.portal-page .page-figure .img-frame,
  body.portal-page .img-frame,
  .img-container,
  .img-frame,
  .page-figure,
  .foundational-figure {
    border-radius: 20px !important;
  }

  body.portal-page .portal-media img,
  body.portal-page .feature-media img,
  body.portal-page .visual-panel img,
  body.portal-page .zoomable-thumb,
  body.portal-page .zoom-img,
  body.portal-page .hero-figure-img,
  .portal-media img,
  .feature-media img,
  .visual-panel img,
  .zoomable-thumb,
  .zoom-img {
    aspect-ratio: 16 / 11 !important;
    object-fit: contain !important;
  }

  body.portal-page .hero .portal-media {
    padding: 0.95rem 0.95rem 0.55rem !important;
  }

  body.portal-page[data-page="home"] .section .visual-panel > img {
    padding: 0.85rem !important;
  }

  .img-expand-btn,
  .figure-expand-btn {
    width: 38px !important;
    height: 38px !important;
    top: 0.65rem !important;
    right: 0.65rem !important;
    border-radius: 12px !important;
  }

  /* accordion */
  body.portal-page .accordion-trigger,
  .accordion-trigger {
    padding: 0.95rem 0.95rem 0.9rem !important;
    gap: 0.55rem !important;
  }

  body.portal-page .accordion-title,
  .accordion-title {
    font-size: 1.02rem !important;
    line-height: 1.28 !important;
    max-width: calc(100% - 3rem) !important;
  }

  body.portal-page .accordion-preview,
  .accordion-preview {
    font-size: 0.95rem !important;
    line-height: 1.68 !important;
  }

  body.portal-page .accordion-panel-inner,
  .accordion-panel-inner {
    padding: 0 0.95rem 0.95rem !important;
  }

  body.portal-page .accordion-icon,
  .accordion-icon {
    right: 0.95rem !important;
    top: 0.95rem !important;
  }

  /* tables */
  .table-wrap {
    border-radius: 16px !important;
  }

  .resource-table {
    min-width: 620px !important;
  }

  .resource-table th,
  .resource-table td {
    padding: 0.8rem !important;
    font-size: 0.94rem !important;
  }

  /* toc */
  body.portal-page .toc,
  .toc {
    position: relative !important;
    top: 0 !important;
  }

  body.portal-page .toc a,
  .toc a {
    padding: 0.78rem 0.85rem !important;
    border-radius: 12px !important;
  }

  /* footer */
  .footer-grid,
  .shell-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .shell-footer__card,
  .site-footer .content-card {
    padding: 0.95rem !important;
    border-radius: 20px !important;
  }

  /* floating note */
  .floating-notif {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100% - 1rem) !important;
    margin: 0.75rem auto 0 !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 18px !important;
    animation: none !important;
  }

  .notif-text {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }

  .notif-badge {
    font-size: 0.7rem !important;
    padding: 0.32rem 0.54rem !important;
  }
}

/* ---------------------------------------------------------
   SMALL PHONES
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .container {
    width: min(100% - 0.8rem, 1240px) !important;
  }

  body.portal-page .hero .container,
  body.portal-page .page-hero .container {
    padding: 0.9rem 0.82rem 0.85rem !important;
    border-radius: 20px !important;
  }

  body.portal-page h1 {
    font-size: clamp(1.8rem, 8.4vw, 2.55rem) !important;
    line-height: 1.07 !important;
  }

  body.portal-page h2 {
    font-size: clamp(1.28rem, 6.4vw, 1.75rem) !important;
    line-height: 1.16 !important;
  }

  body.portal-page h3 {
    font-size: clamp(1rem, 4.9vw, 1.18rem) !important;
  }

  body.portal-page .lead,
  body.portal-page p,
  body.portal-page li {
    font-size: 0.95rem !important;
    line-height: 1.68 !important;
  }

  body.portal-page .eyebrow,
  body.portal-page .mini-kicker,
  body.portal-page .tag,
  body.portal-page .kicker,
  body.portal-page .pulse-label,
  .eyebrow,
  .kicker,
  .tag,
  .watch-badge,
  .watch-tag,
  .resource-pill,
  .accordion-kicker,
  .accordion-meta,
  .meta-chip {
    font-size: 0.69rem !important;
    min-height: 30px !important;
    padding: 0 0.66rem !important;
  }

  .brand,
  .shell-brand__mark {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }

  .brand-hint,
  .shell-brand__copy small {
    display: none !important;
  }

  .menu-btn,
  .shell-menu-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }

  /* very small screens: stack cards instead of horizontal slider */
  body.portal-page .quick-grid,
  body.portal-page .grid-3,
  body.portal-page .watch-grid,
  body.portal-page .topic-grid,
  body.portal-page .foundation-grid,
  body.portal-page .pulse-grid,
  body.portal-page .card-grid,
  body.portal-page .grid-2,
  body.portal-page .faq-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    scroll-snap-type: none !important;
  }

  body.portal-page .post-card,
  body.portal-page .feature-card,
  body.portal-page .quick-card,
  body.portal-page .topic-card,
  body.portal-page .foundation-card,
  body.portal-page .section-card,
  body.portal-page .pulse-card {
    min-width: 0 !important;
  }

  .hero-actions,
  .btn-row,
  .cta-actions,
  .pill-row,
  .meta-chip-row,
  .anchor-links,
  .watch-inline-links,
  .resource-pill-row,
  .hero-chips {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions .btn,
  .btn-row .btn,
  .cta-actions .btn {
    width: 100% !important;
  }

  .hero-mini-points span,
  .mini-stat,
  .snapshot-chip,
  .hero-chips span {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .metric-grid,
  .snapshot-grid {
    grid-template-columns: 1fr !important;
  }

  body.portal-page .content-card,
  body.portal-page .panel,
  body.portal-page .topic-card,
  body.portal-page .foundation-card,
  body.portal-page .section-card,
  body.portal-page .watch-card,
  body.portal-page .pulse-card,
  body.portal-page .quick-card,
  body.portal-page .feature-card,
  body.portal-page .resource-card,
  body.portal-page .watch-note,
  body.portal-page .accordion,
  .content-card,
  .watch-note,
  .resource-card,
  .cta,
  .stat-card {
    padding: 0.88rem !important;
    border-radius: 18px !important;
  }

  .img-expand-btn,
  .figure-expand-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
  }

  .floating-notif {
    width: calc(100% - 0.8rem) !important;
    margin-top: 0.6rem !important;
  }

  .notif-text {
    font-size: 0.89rem !important;
  }

  .portal-chip-rail {
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }

  .portal-chip-rail a {
    min-height: 36px !important;
    padding: 0 0.82rem !important;
    font-size: 0.88rem !important;
  }
}

/* ---------------------------------------------------------
   EXTRA SMALL PHONES
   --------------------------------------------------------- */
@media (max-width: 420px) {
  body.portal-page h1 {
    font-size: 1.65rem !important;
  }

  body.portal-page h2 {
    font-size: 1.18rem !important;
  }

  body.portal-page .lead,
  body.portal-page p,
  body.portal-page li {
    font-size: 0.93rem !important;
  }

  .shell-nav a,
  .nav a {
    padding: 0.78rem 0.85rem !important;
    font-size: 0.92rem !important;
  }

  .resource-table {
    min-width: 560px !important;
  }
}

/* 2026-04 readability and trending-topic clarity refinement */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { letter-spacing: 0.012em; word-spacing: 0.03em; }
p, li, .topic-card p, .section-card p, .content-card p, .resource-card p, .watch-note p, .watch-block p, .resource-mini p, .cta p, .card-caption p, .page-figure figcaption, .callout, .contact-list p, .resource-note, .watch-bottom-note, .accordion-preview, .resource-list li, .figure-caption, .profile-compact p { letter-spacing: 0.008em; }
h1, h2, h3, h4 { letter-spacing: -0.022em; }
.stream-chip { display: inline-flex; align-items: center; width: fit-content; min-height: 30px; padding: 0 0.7rem; border-radius: 999px; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.55rem; border: 1px solid rgba(96, 165, 250, 0.42); background: rgba(59, 130, 246, 0.18); color: #dbeafe; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); }
.stream-chip--academic { border-color: rgba(96, 165, 250, 0.48); background: rgba(59, 130, 246, 0.20); color: #dbeafe; }
.stream-chip--industry { background: rgba(16, 185, 129, 0.18); border-color: rgba(52, 211, 153, 0.42); color: #d1fae5; }
.stream-chip--ecosystem { background: rgba(245, 158, 11, 0.18); border-color: rgba(251, 191, 36, 0.44); color: #fef3c7; }
.article-index-board { padding-top: 0.1rem; }
.stream-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stream-board-card { padding: 1.2rem; border-radius: 24px; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.10); box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08); }
.stream-board-head h3 { margin: 0.2rem 0 0.45rem; color: #0f172a; line-height: 1.28; }
.stream-board-head p { margin: 0; color: #334155; line-height: 1.7; }
.stream-mini-list { display: grid; gap: 0.72rem; margin-top: 1rem; }
.stream-mini-item { display: grid; gap: 0.22rem; padding: 0.88rem 0.95rem; border-radius: 18px; background: #f8fbff; border: 1px solid rgba(148, 163, 184, 0.18); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.stream-mini-item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08); border-color: rgba(37, 99, 235, 0.18); }
.stream-mini-item strong { color: #0f172a; line-height: 1.35; }
.stream-mini-item span { color: #475569; font-size: 0.94rem; line-height: 1.62; }
.pulse-anchor-card, .stream-board-card, .document-card { background: rgba(255,255,255,0.96); }
.pulse-link-list a::before { content: "•"; color: #64748b; margin-right: 0.18rem; }
.watch-note .accordion-trigger { align-items: flex-start; }
.watch-note .accordion-meta { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.05rem; }
.watch-note .accordion-title { line-height: 1.3; }
.watch-note .accordion-preview { display: block; max-width: 88ch; line-height: 1.72; }
.watch-inline-links { display: flex; flex-wrap: wrap; gap: 0.65rem 0.9rem; }
.watch-inline-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0.2rem 0; }
body.portal-page[data-page="trending"] .watch-note,
body.portal-page[data-page="trending"] .accordion{
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease !important;
}
body.portal-page[data-page="trending"] .watch-note:hover,
body.portal-page[data-page="trending"] .accordion:hover,
body.portal-page[data-page="trending"] .watch-note.is-open,
body.portal-page[data-page="trending"] .accordion.is-open{
  transform: none !important;
}
.watch-topic-visual{
  --visual-accent:#60a5fa;
  --visual-accent-soft:rgba(96,165,250,0.18);
  --visual-accent-soft-2:rgba(59,130,246,0.18);
  --visual-node-border:rgba(96,165,250,0.2);
  --visual-border:rgba(148,163,184,0.18);
  --visual-text:#f8fafc;
  --visual-muted:#cbd5e1;
  --visual-node-bg:rgba(8,18,36,0.9);
  --travel-percent:0%;
  position:relative;
  overflow:hidden;
  display:grid;
  gap:0.92rem;
  margin:0.2rem 0 1.35rem;
  padding:1rem 1rem 1.08rem;
  border-radius:24px;
  border:1px solid var(--visual-border);
  background:
    radial-gradient(circle at top right, var(--visual-accent-soft-2), transparent 34%),
    linear-gradient(180deg, rgba(7,15,31,0.96), rgba(12,23,44,0.96));
  box-shadow:0 20px 36px rgba(2,6,23,0.32), inset 0 1px 0 rgba(255,255,255,0.06);
}
.watch-topic-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(148,163,184,0.14) 44%, transparent 72%);
  transform:translateX(-120%);
  animation:watchVisualSweep 7s ease-in-out infinite;
  pointer-events:none;
}
.watch-topic-visual__head{
  position:relative;
  z-index:1;
  display:grid;
  gap:0.26rem;
}
.watch-topic-visual__eyebrow{
  display:inline-flex;
  width:max-content;
  align-items:center;
  padding:0.28rem 0.62rem;
  border-radius:999px;
  background:var(--visual-accent-soft);
  color:var(--visual-text);
  font-size:0.73rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.watch-topic-visual__head h4{
  margin:0;
  color:var(--visual-text);
  font-size:1.03rem;
  line-height:1.3;
}
.watch-topic-visual__head p{
  margin:0;
  color:var(--visual-muted);
  line-height:1.66;
}
.watch-topic-visual__status{
  position:relative;
  z-index:1;
  display:grid;
  gap:0.16rem;
  padding:0.88rem 0.95rem;
  border-radius:18px;
  border:1px solid rgba(148,163,184,0.18);
  background:rgba(12,23,44,0.64);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
}
.watch-topic-visual__status-label{
  color:var(--visual-muted);
  font-size:0.72rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.watch-topic-visual__status-title{
  color:var(--visual-text);
  font-size:1rem;
  line-height:1.3;
}
.watch-topic-visual__status-copy{
  margin:0;
  color:var(--visual-muted);
  line-height:1.62;
}
.watch-topic-visual__rail{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:0.82rem;
  align-items:stretch;
  margin-top:0.08rem;
  padding-top:1.28rem;
}
.watch-topic-visual__beam{
  position:absolute;
  left:9%;
  right:9%;
  top:0.56rem;
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(148,163,184,0.2), rgba(148,163,184,0.08));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.08);
  overflow:visible;
}
.watch-topic-visual__progress{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:var(--travel-percent);
  border-radius:999px;
  background:linear-gradient(90deg, var(--visual-accent), color-mix(in srgb, var(--visual-accent) 55%, white));
  box-shadow:0 0 20px color-mix(in srgb, var(--visual-accent) 34%, transparent);
  transition:width 0.95s cubic-bezier(.25,.8,.25,1);
}
.watch-topic-visual__traveler{
  position:absolute;
  top:50%;
  left:var(--travel-percent);
  width:18px;
  height:18px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #ffffff 0 24%, color-mix(in srgb, var(--visual-accent) 78%, white) 46%, var(--visual-accent) 100%);
  border:2px solid rgba(224,242,254,0.9);
  box-shadow:0 0 0 6px color-mix(in srgb, var(--visual-accent) 14%, transparent), 0 0 24px color-mix(in srgb, var(--visual-accent) 38%, transparent);
  transform:translate(-50%, -50%);
  transition:left 0.95s cubic-bezier(.25,.8,.25,1);
  animation:watchTravelerPulse 1.5s ease-in-out infinite;
}
.watch-topic-visual__node{
  position:relative;
  min-height:100%;
  padding:1.58rem 0.88rem 0.88rem;
  border-radius:18px;
  border:1px solid var(--visual-node-border);
  background:var(--visual-node-bg);
  box-shadow:0 16px 28px rgba(2,6,23,0.28);
  opacity:0.72;
  transition:transform .45s ease, border-color .45s ease, background .45s ease, box-shadow .45s ease, opacity .45s ease;
}
.watch-topic-visual__node::before{
  content:"";
  position:absolute;
  top:0.64rem;
  left:0.88rem;
  width:0.78rem;
  height:0.78rem;
  border-radius:50%;
  background:rgba(148,163,184,0.38);
  transition:transform .4s ease, background .4s ease, box-shadow .4s ease;
}
.watch-topic-visual__index{
  display:block;
  margin-bottom:0.3rem;
  color:var(--visual-muted);
  font-size:0.74rem;
  font-weight:800;
  letter-spacing:0.08em;
}
.watch-topic-visual__node strong{
  display:block;
  color:var(--visual-text);
  font-size:0.97rem;
  line-height:1.35;
}
.watch-topic-visual__detail{
  display:block;
  margin-top:0.45rem;
  color:var(--visual-muted);
  font-size:0.9rem;
  line-height:1.58;
}
.watch-topic-visual__node.is-complete{
  opacity:0.94;
  border-color:color-mix(in srgb, var(--visual-accent) 30%, rgba(148,163,184,0.2));
  background:linear-gradient(180deg, rgba(8,18,36,0.94), color-mix(in srgb, var(--visual-accent) 10%, rgba(8,18,36,0.96)));
}
.watch-topic-visual__node.is-complete::before{
  background:var(--visual-accent);
  box-shadow:0 0 0 6px color-mix(in srgb, var(--visual-accent) 14%, transparent);
}
.watch-topic-visual__node.is-active{
  opacity:1;
  transform:translateY(-6px);
  border-color:var(--visual-accent);
  background:linear-gradient(180deg, rgba(10,22,42,0.98), color-mix(in srgb, var(--visual-accent) 12%, rgba(10,22,42,0.98)));
  box-shadow:0 20px 34px color-mix(in srgb, var(--visual-accent) 10%, rgba(2,6,23,0.28));
}
.watch-topic-visual__node.is-active::before{
  background:linear-gradient(135deg, var(--visual-accent), #e0f2fe);
  box-shadow:0 0 0 7px color-mix(in srgb, var(--visual-accent) 14%, transparent);
  transform:scale(1.12);
}
.watch-topic-visual--evaluation{
  --visual-accent:#60a5fa;
  --visual-accent-soft:rgba(96,165,250,0.18);
  --visual-accent-soft-2:rgba(59,130,246,0.2);
  --visual-node-border:rgba(96,165,250,0.22);
}
.watch-topic-visual--cloud{
  --visual-accent:#2dd4bf;
  --visual-accent-soft:rgba(45,212,191,0.18);
  --visual-accent-soft-2:rgba(20,184,166,0.18);
  --visual-node-border:rgba(45,212,191,0.22);
}
.watch-topic-visual--software{
  --visual-accent:#a78bfa;
  --visual-accent-soft:rgba(167,139,250,0.18);
  --visual-accent-soft-2:rgba(139,92,246,0.2);
  --visual-node-border:rgba(167,139,250,0.22);
}
.watch-topic-visual--physical{
  --visual-accent:#fb923c;
  --visual-accent-soft:rgba(251,146,60,0.16);
  --visual-accent-soft-2:rgba(249,115,22,0.18);
  --visual-node-border:rgba(251,146,60,0.22);
}
.watch-topic-visual--edge{
  --visual-accent:#22d3ee;
  --visual-accent-soft:rgba(34,211,238,0.18);
  --visual-accent-soft-2:rgba(6,182,212,0.18);
  --visual-node-border:rgba(34,211,238,0.22);
}
.watch-topic-visual--agentic{
  --visual-accent:#818cf8;
  --visual-accent-soft:rgba(129,140,248,0.18);
  --visual-accent-soft-2:rgba(99,102,241,0.18);
  --visual-node-border:rgba(129,140,248,0.22);
}
@keyframes watchVisualSweep{
  0%, 100%{ transform:translateX(-120%); opacity:0; }
  20%{ opacity:0.34; }
  50%{ transform:translateX(120%); opacity:0.18; }
  100%{ opacity:0; }
}
@keyframes watchTravelerPulse{
  0%, 100%{ box-shadow:0 0 0 6px color-mix(in srgb, var(--visual-accent) 14%, transparent), 0 0 24px color-mix(in srgb, var(--visual-accent) 38%, transparent); }
  50%{ box-shadow:0 0 0 10px color-mix(in srgb, var(--visual-accent) 10%, transparent), 0 0 30px color-mix(in srgb, var(--visual-accent) 44%, transparent); }
}
.compact-resource-stack { display: grid; gap: 1rem; }
.document-card h3 { margin-top: 0.4rem; }
.document-card .btn-row { margin-top: 1rem; }
@media (max-width: 980px) { .pulse-grid-dark, .pulse-anchor-stack, .stream-board { grid-template-columns: 1fr; } }
@media (max-width: 900px){
  .watch-topic-visual__rail{ grid-template-columns:repeat(2, minmax(0, 1fr)); padding-top:0.25rem; }
  .watch-topic-visual__beam{ display:none; }
}
@media (max-width: 640px){
  .watch-topic-visual{ padding:0.95rem 0.95rem 1rem; }
  .watch-topic-visual__rail{ grid-template-columns:1fr; gap:0.72rem; }
}
@media (prefers-reduced-motion: reduce){
  .watch-topic-visual::after,
  .watch-topic-visual__traveler{
    animation:none;
  }
  .watch-topic-visual__progress,
  .watch-topic-visual__traveler,
  .watch-topic-visual__node,
  .watch-topic-visual__node::before{
    transition:none;
  }
}

.watch-topic-visual__scene{
  position:relative;
  z-index:1;
  min-height:248px;
  border-radius:22px;
  border:1px solid color-mix(in srgb, var(--visual-accent) 18%, rgba(148,163,184,0.16));
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--visual-accent) 10%, transparent), transparent 24%),
    linear-gradient(180deg, rgba(10,18,34,0.84), color-mix(in srgb, var(--visual-accent) 5%, rgba(12,23,44,0.94)));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
  overflow:hidden;
}
.watch-topic-visual__scene::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 32%),
    repeating-linear-gradient(90deg, rgba(148,163,184,0.08) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(180deg, rgba(148,163,184,0.06) 0 1px, transparent 1px 54px);
  pointer-events:none;
}
.watch-topic-visual__scene::after{
  content:"";
  position:absolute;
  inset:auto -8% -18% auto;
  width:34%;
  height:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--visual-accent) 18%, transparent), transparent 68%);
  animation:watchSceneGlow 6.8s ease-in-out infinite;
  pointer-events:none;
}
.watch-scene__node,
.watch-scene__cluster{
  position:absolute;
  z-index:2;
  display:grid;
  gap:0.12rem;
  padding:0.65rem 0.8rem;
  border-radius:18px;
  border:1px solid color-mix(in srgb, var(--visual-accent) 16%, rgba(148,163,184,0.18));
  background:rgba(10,22,42,0.88);
  box-shadow:0 12px 24px rgba(2,6,23,0.24);
  color:var(--visual-text);
  transition:transform .45s ease, border-color .45s ease, background .45s ease, box-shadow .45s ease, opacity .45s ease;
}
.watch-scene__node strong,
.watch-scene__cluster strong{
  display:block;
  font-size:0.88rem;
  line-height:1.25;
}
.watch-scene__node span,
.watch-scene__cluster span{
  display:block;
  color:var(--visual-muted);
  font-size:0.76rem;
  line-height:1.42;
}
.watch-scene__mini{
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  min-width:56px;
  padding:0.34rem 0.45rem;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--visual-accent) 16%, rgba(148,163,184,0.18));
  background:rgba(10,22,42,0.86);
  color:var(--visual-text);
  font-size:0.72rem;
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
  box-shadow:0 10px 20px rgba(2,6,23,0.22);
  transition:transform .45s ease, background .45s ease, border-color .45s ease, box-shadow .45s ease, opacity .45s ease;
}
.watch-scene__path{
  position:absolute;
  z-index:1;
  border-top:2px dashed color-mix(in srgb, var(--visual-accent) 34%, rgba(148,163,184,0.34));
  opacity:0.55;
  transform-origin:left center;
  animation:watchSceneDash 7s linear infinite;
  transition:opacity .45s ease, border-color .45s ease;
}
.watch-scene__band{
  position:absolute;
  z-index:1;
  display:grid;
  place-items:center;
  padding:0.5rem 0.75rem;
  border-radius:18px;
  border:1px solid color-mix(in srgb, var(--visual-accent) 16%, rgba(148,163,184,0.16));
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--visual-accent) 14%, rgba(10,22,42,0.92)), rgba(10,22,42,0.8));
  color:var(--visual-text);
  box-shadow:0 10px 20px rgba(2,6,23,0.2);
  overflow:hidden;
  transition:transform .45s ease, opacity .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.watch-scene__band span{
  color:var(--visual-muted);
  font-size:0.76rem;
  line-height:1.45;
  font-weight:600;
}
.watch-scene__band::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.1) 46%, transparent 78%);
  transform:translateX(-120%);
  animation:watchSceneSweep 4.8s linear infinite;
}
.watch-scene__shield,
.watch-scene__ring{
  position:absolute;
  z-index:1;
  border-radius:30px;
  border:1.5px solid color-mix(in srgb, var(--visual-accent) 34%, rgba(148,163,184,0.24));
  background:color-mix(in srgb, var(--visual-accent) 8%, transparent);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);
  transition:transform .45s ease, opacity .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.watch-scene__shield::after,
.watch-scene__ring::after{
  content:"";
  position:absolute;
  inset:12%;
  border-radius:inherit;
  border:1px dashed color-mix(in srgb, var(--visual-accent) 34%, transparent);
  opacity:0.72;
}
.watch-scene__bars{
  position:absolute;
  z-index:2;
  display:flex;
  align-items:flex-end;
  gap:0.55rem;
  padding:0.75rem 0.85rem;
  border-radius:18px;
  border:1px solid color-mix(in srgb, var(--visual-accent) 16%, rgba(148,163,184,0.18));
  background:rgba(10,22,42,0.86);
  box-shadow:0 10px 20px rgba(2,6,23,0.22);
  transition:transform .45s ease, opacity .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.watch-scene__bar{
  width:24px;
  border-radius:12px 12px 6px 6px;
  background:linear-gradient(180deg, color-mix(in srgb, var(--visual-accent) 84%, white), color-mix(in srgb, var(--visual-accent) 56%, transparent));
  animation:watchBarRise 3.4s ease-in-out infinite;
}
.watch-scene__bar--a{ height:52px; animation-delay:0s; }
.watch-scene__bar--b{ height:84px; animation-delay:.35s; }
.watch-scene__bar--c{ height:122px; animation-delay:.7s; }
.watch-scene__token{
  position:absolute;
  z-index:4;
  width:18px;
  height:18px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #ffffff 0 26%, color-mix(in srgb, var(--visual-accent) 82%, white) 44%, var(--visual-accent) 100%);
  border:2px solid rgba(224,242,254,0.9);
  box-shadow:0 0 0 6px color-mix(in srgb, var(--visual-accent) 14%, transparent), 0 0 24px color-mix(in srgb, var(--visual-accent) 38%, transparent);
  transform:translate(-50%, -50%);
  transition:left .95s cubic-bezier(.25,.8,.25,1), top .95s cubic-bezier(.25,.8,.25,1);
  animation:watchTravelerPulse 1.6s ease-in-out infinite;
}
.watch-scene__actor.is-active{
  opacity:1;
}
.watch-scene__node.watch-scene__actor.is-active,
.watch-scene__cluster.watch-scene__actor.is-active,
.watch-scene__mini.watch-scene__actor.is-active,
.watch-scene__bars.watch-scene__actor.is-active{
  transform:translateY(-4px);
  border-color:var(--visual-accent);
  box-shadow:0 16px 28px color-mix(in srgb, var(--visual-accent) 10%, rgba(2,6,23,0.24));
}
.watch-scene__node.watch-scene__actor.is-complete,
.watch-scene__cluster.watch-scene__actor.is-complete,
.watch-scene__mini.watch-scene__actor.is-complete,
.watch-scene__bars.watch-scene__actor.is-complete{
  border-color:color-mix(in srgb, var(--visual-accent) 24%, rgba(148,163,184,0.18));
  background:color-mix(in srgb, var(--visual-accent) 8%, rgba(10,22,42,0.88));
}
.watch-scene__path.watch-scene__actor.is-active,
.watch-scene__path.watch-scene__actor.is-complete,
.watch-scene__band.watch-scene__actor.is-active,
.watch-scene__band.watch-scene__actor.is-complete,
.watch-scene__shield.watch-scene__actor.is-active,
.watch-scene__shield.watch-scene__actor.is-complete,
.watch-scene__ring.watch-scene__actor.is-active,
.watch-scene__ring.watch-scene__actor.is-complete{
  opacity:1;
  border-color:color-mix(in srgb, var(--visual-accent) 52%, rgba(148,163,184,0.22));
  box-shadow:0 0 0 1px color-mix(in srgb, var(--visual-accent) 8%, transparent), 0 0 24px color-mix(in srgb, var(--visual-accent) 10%, transparent);
}
.watch-topic-visual__scene--agentic .watch-scene__node--goal{ left:5%; top:12%; width:21%; }
.watch-topic-visual__scene--agentic .watch-scene__node--planner{ left:34%; top:36%; width:21%; }
.watch-topic-visual__scene--agentic .watch-scene__mini--tool-a{ right:8%; top:14%; }
.watch-topic-visual__scene--agentic .watch-scene__mini--tool-b{ right:16%; top:35%; }
.watch-topic-visual__scene--agentic .watch-scene__mini--tool-c{ right:8%; top:56%; }
.watch-topic-visual__scene--agentic .watch-scene__node--action{ left:61%; top:60%; width:25%; }
.watch-topic-visual__scene--agentic .watch-scene__node--human{ left:12%; bottom:10%; width:23%; }
.watch-topic-visual__scene--agentic .watch-scene__ring--oversight{ left:56%; top:52%; width:31%; height:34%; }
.watch-topic-visual__scene--agentic .watch-scene__path--agentic-a{ left:23%; top:31%; width:17%; transform:rotate(27deg); }
.watch-topic-visual__scene--agentic .watch-scene__path--agentic-b{ left:47%; top:44%; width:20%; transform:rotate(14deg); }
.watch-topic-visual__scene--agentic .watch-scene__path--agentic-c{ left:27%; top:74%; width:35%; transform:rotate(-12deg); }
.watch-topic-visual__scene--edge .watch-scene__node--cloud{ left:35%; top:10%; width:30%; text-align:center; }
.watch-topic-visual__scene--edge .watch-scene__node--device-a{ left:8%; top:64%; width:22%; }
.watch-topic-visual__scene--edge .watch-scene__node--device-b{ left:36%; top:68%; width:22%; }
.watch-topic-visual__scene--edge .watch-scene__band--drift{ left:27%; top:44%; width:40%; }
.watch-topic-visual__scene--edge .watch-scene__node--control{ right:8%; top:16%; width:24%; }
.watch-topic-visual__scene--edge .watch-scene__shield--fleet{ left:5%; top:55%; width:56%; height:31%; }
.watch-topic-visual__scene--edge .watch-scene__path--edge-a{ left:49%; top:31%; height:32%; border-top:0; border-left:2px dashed color-mix(in srgb, var(--visual-accent) 34%, rgba(148,163,184,0.34)); }
.watch-topic-visual__scene--physical .watch-scene__node--sensor{ left:6%; top:40%; width:20%; }
.watch-topic-visual__scene--physical .watch-scene__node--controller{ left:37%; top:40%; width:22%; }
.watch-topic-visual__scene--physical .watch-scene__node--actuator{ left:67%; top:40%; width:22%; }
.watch-topic-visual__scene--physical .watch-scene__node--recovery{ right:8%; top:8%; width:24%; }
.watch-topic-visual__scene--physical .watch-scene__shield--safety{ left:61%; top:21%; width:30%; height:56%; }
.watch-topic-visual__scene--physical .watch-scene__path--physical-a{ left:25%; top:53%; width:13%; }
.watch-topic-visual__scene--physical .watch-scene__path--physical-b{ left:58%; top:53%; width:10%; }
.watch-topic-visual__scene--software .watch-scene__node--artifact{ left:5%; top:39%; width:20%; }
.watch-topic-visual__scene--software .watch-scene__node--gate{ left:34%; top:39%; width:20%; }
.watch-topic-visual__scene--software .watch-scene__node--runtime{ left:60%; top:39%; width:21%; }
.watch-topic-visual__scene--software .watch-scene__node--monitor{ right:6%; top:10%; width:22%; }
.watch-topic-visual__scene--software .watch-scene__shield--runtime{ left:56%; top:21%; width:34%; height:58%; }
.watch-topic-visual__scene--software .watch-scene__path--software-a{ left:24%; top:52%; width:11%; }
.watch-topic-visual__scene--software .watch-scene__path--software-b{ left:54%; top:52%; width:8%; }
.watch-topic-visual__scene--cloud .watch-scene__node--identity{ left:5%; top:40%; width:22%; }
.watch-topic-visual__scene--cloud .watch-scene__cluster--workload{ left:34%; top:30%; width:28%; }
.watch-topic-visual__scene--cloud .watch-scene__node--privilege{ left:68%; top:36%; width:22%; }
.watch-topic-visual__scene--cloud .watch-scene__node--guard{ right:7%; top:9%; width:23%; }
.watch-topic-visual__scene--cloud .watch-scene__ring--boundary{ left:62%; top:6%; width:31%; height:66%; }
.watch-topic-visual__scene--cloud .watch-scene__path--cloud-a{ left:26%; top:50%; width:10%; }
.watch-topic-visual__scene--cloud .watch-scene__path--cloud-b{ left:62%; top:46%; width:8%; }
.watch-topic-visual__scene--evaluation .watch-scene__bars--capability{ left:8%; top:26%; width:19%; height:54%; }
.watch-topic-visual__scene--evaluation .watch-scene__node--lab{ left:34%; top:45%; width:22%; }
.watch-topic-visual__scene--evaluation .watch-scene__band--gap{ left:56%; top:18%; width:34%; background:linear-gradient(120deg, rgba(251,146,60,0.16), rgba(10,22,42,0.78)); }
.watch-topic-visual__scene--evaluation .watch-scene__node--assurance{ left:66%; top:68%; width:24%; }
.watch-topic-visual__scene--evaluation .watch-scene__path--evaluation-a{ left:27%; top:57%; width:8%; }
.watch-topic-visual__scene--evaluation .watch-scene__path--evaluation-b{ left:57%; top:60%; width:12%; transform:rotate(45deg); }
.watch-topic-visual__scene--generic .watch-scene__node{ width:18%; min-width:0; padding:0.6rem 0.55rem; }
.watch-topic-visual__scene--generic .watch-scene__node--generic-a{ left:4%; top:40%; }
.watch-topic-visual__scene--generic .watch-scene__node--generic-b{ left:28%; top:40%; }
.watch-topic-visual__scene--generic .watch-scene__node--generic-c{ left:52%; top:40%; }
.watch-topic-visual__scene--generic .watch-scene__node--generic-d{ left:76%; top:40%; }
.watch-topic-visual__scene--generic .watch-scene__path--generic-a{ left:22%; top:53%; width:6%; }
.watch-topic-visual__scene--generic .watch-scene__path--generic-b{ left:46%; top:53%; width:6%; }
.watch-topic-visual__scene--generic .watch-scene__path--generic-c{ left:70%; top:53%; width:6%; }
.watch-topic-visual--agentic[data-active-stage="0"] .watch-scene__token{ left:14%; top:22%; }
.watch-topic-visual--agentic[data-active-stage="1"] .watch-scene__token{ left:50%; top:28%; }
.watch-topic-visual--agentic[data-active-stage="2"] .watch-scene__token{ left:74%; top:72%; }
.watch-topic-visual--agentic[data-active-stage="3"] .watch-scene__token{ left:22%; top:75%; }
.watch-topic-visual--edge[data-active-stage="0"] .watch-scene__token{ left:50%; top:21%; }
.watch-topic-visual--edge[data-active-stage="1"] .watch-scene__token{ left:18%; top:73%; }
.watch-topic-visual--edge[data-active-stage="2"] .watch-scene__token{ left:47%; top:51%; }
.watch-topic-visual--edge[data-active-stage="3"] .watch-scene__token{ left:82%; top:24%; }
.watch-topic-visual--physical[data-active-stage="0"] .watch-scene__token{ left:14%; top:53%; }
.watch-topic-visual--physical[data-active-stage="1"] .watch-scene__token{ left:48%; top:53%; }
.watch-topic-visual--physical[data-active-stage="2"] .watch-scene__token{ left:78%; top:53%; }
.watch-topic-visual--physical[data-active-stage="3"] .watch-scene__token{ left:83%; top:24%; }
.watch-topic-visual--software[data-active-stage="0"] .watch-scene__token{ left:15%; top:51%; }
.watch-topic-visual--software[data-active-stage="1"] .watch-scene__token{ left:44%; top:51%; }
.watch-topic-visual--software[data-active-stage="2"] .watch-scene__token{ left:69%; top:51%; }
.watch-topic-visual--software[data-active-stage="3"] .watch-scene__token{ left:85%; top:23%; }
.watch-topic-visual--cloud[data-active-stage="0"] .watch-scene__token{ left:15%; top:51%; }
.watch-topic-visual--cloud[data-active-stage="1"] .watch-scene__token{ left:47%; top:49%; }
.watch-topic-visual--cloud[data-active-stage="2"] .watch-scene__token{ left:76%; top:47%; }
.watch-topic-visual--cloud[data-active-stage="3"] .watch-scene__token{ left:84%; top:22%; }
.watch-topic-visual--evaluation[data-active-stage="0"] .watch-scene__token{ left:17%; top:54%; }
.watch-topic-visual--evaluation[data-active-stage="1"] .watch-scene__token{ left:45%; top:58%; }
.watch-topic-visual--evaluation[data-active-stage="2"] .watch-scene__token{ left:72%; top:34%; }
.watch-topic-visual--evaluation[data-active-stage="3"] .watch-scene__token{ left:78%; top:77%; }
.watch-topic-visual--generic[data-active-stage="0"] .watch-scene__token{ left:13%; top:53%; }
.watch-topic-visual--generic[data-active-stage="1"] .watch-scene__token{ left:38%; top:53%; }
.watch-topic-visual--generic[data-active-stage="2"] .watch-scene__token{ left:62%; top:53%; }
.watch-topic-visual--generic[data-active-stage="3"] .watch-scene__token{ left:86%; top:53%; }
@keyframes watchSceneDash{
  from{ background-position:0 0; }
  to{ background-position:34px 0; }
}
@keyframes watchSceneGlow{
  0%, 100%{ transform:translateY(0) scale(1); opacity:.6; }
  50%{ transform:translateY(-6px) scale(1.08); opacity:.92; }
}
@keyframes watchSceneSweep{
  from{ transform:translateX(-120%); }
  to{ transform:translateX(120%); }
}
@keyframes watchBarRise{
  0%, 100%{ transform:scaleY(0.94); opacity:.82; }
  50%{ transform:scaleY(1.08); opacity:1; }
}
@media (max-width: 900px){
  .watch-topic-visual__scene{ min-height:280px; }
  .watch-topic-visual__scene--generic .watch-scene__node{ width:22%; }
}
@media (max-width: 640px){
  .watch-topic-visual__scene{ min-height:320px; }
  .watch-topic-visual__scene--generic .watch-scene__node{ width:23%; font-size:0.92rem; }
  .watch-scene__band span,
  .watch-scene__node span,
  .watch-scene__cluster span{ font-size:0.72rem; }
}
@media (prefers-reduced-motion: reduce){
  .watch-topic-visual__scene::after,
  .watch-scene__token,
  .watch-scene__bar,
  .watch-scene__band::after,
  .watch-scene__path{
    animation:none;
  }
}


/* Home latest-note bar aligned with light-mode structure */
.topbar{padding:.65rem 0 0;position:relative;z-index:4}
.topbar-inner{display:flex;justify-content:flex-start}
.research-alert{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:1.1rem;
  width:100%;
  padding:1.08rem 1.2rem 1.08rem 1.4rem;
  border:1px solid rgba(252,165,165,.42);
  background:
    linear-gradient(135deg, rgba(125, 18, 34, 0.97), rgba(74, 12, 28, 0.95) 32%, rgba(20, 17, 33, 0.94) 68%, rgba(8, 20, 42, 0.94) 100%);
  border-radius:28px;
  box-shadow:0 22px 52px rgba(0,0,0,.34), 0 0 0 1px rgba(239,68,68,.08), 0 0 34px rgba(239,68,68,.22), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.research-alert::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:9px;
  background:linear-gradient(180deg, #fecaca 0%, #f87171 18%, #ef4444 52%, #991b1b 100%);
  box-shadow:0 0 24px rgba(239,68,68,.42);
}
.research-alert::after{
  content:"";
  position:absolute;
  inset:auto -12% -45% auto;
  width:42%;
  height:150%;
  background:radial-gradient(circle, rgba(248,113,113,.22) 0%, rgba(248,113,113,.08) 34%, transparent 70%);
  pointer-events:none;
  z-index:-1;
}
.research-alert-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.52rem .92rem;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(254,226,226,.18), rgba(239,68,68,.38) 48%, rgba(127,29,29,.88));
  border:1px solid rgba(254,202,202,.56);
  color:#fff7f7;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow:0 0 0 1px rgba(255,255,255,.06), 0 12px 26px rgba(127,29,29,.28);
}
.research-alert-badge::before{
  content:"";
  width:.62rem;
  height:.62rem;
  border-radius:999px;
  background:#ffb4b4;
  box-shadow:0 0 0 0 rgba(252,165,165,.65);
  animation:researchPulse 1.8s ease-out infinite;
}
.research-alert-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:.22rem;
}
.research-alert-meta{
  color:#ffd0d0;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.research-alert-title{
  color:#ffffff;
  font-size:1.24rem;
  font-weight:900;
  line-height:1.2;
  letter-spacing:-.02em;
  text-shadow:0 4px 18px rgba(0,0,0,.24);
}
.research-alert-summary{
  margin:0;
  color:#fff1f2;
  font-size:.95rem;
  line-height:1.45;
  max-width:72ch;
}
.research-alert-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 1.05rem;
  border-radius:15px;
  border:1px solid rgba(254,202,202,.48);
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(248,113,113,.28) 55%, rgba(127,29,29,.6));
  color:#fffdfd!important;
  font-weight:800;
  white-space:nowrap;
  letter-spacing:.01em;
  box-shadow:0 14px 30px rgba(0,0,0,.24);
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.research-alert-link:hover{
  color:#ffffff!important;
  border-color:rgba(254,202,202,.78);
  background:linear-gradient(135deg, rgba(255,255,255,.2), rgba(248,113,113,.36) 55%, rgba(153,27,27,.72));
  transform:translateY(-1px) scale(1.01);
  box-shadow:0 18px 36px rgba(0,0,0,.28), 0 0 18px rgba(248,113,113,.2);
}
@keyframes researchPulse{
  0%{ box-shadow:0 0 0 0 rgba(252,165,165,.6); opacity:1; }
  70%{ box-shadow:0 0 0 12px rgba(252,165,165,0); opacity:1; }
  100%{ box-shadow:0 0 0 0 rgba(252,165,165,0); opacity:.92; }
}
@media (max-width: 760px){
  .topbar-inner{justify-content:center}
  .research-alert{
    width:100%;
    grid-template-columns:1fr;
    justify-items:start;
    border-radius:24px;
    padding:1rem;
  }
  .research-alert-link{
    width:100%;
    text-align:center;
  }
}

.research-alert-strip{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:.8rem;
}

.research-alert-strip .research-alert{
  min-height:116px;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:.8rem;
  padding:.92rem 1rem;
  border-radius:20px;
  text-decoration:none;
  animation:researchCardFloat 4.8s ease-in-out infinite;
}

.research-alert-strip .research-alert--deep{
  animation-delay:.7s;
  border-color:rgba(125,211,252,.36);
  background:
    linear-gradient(135deg, rgba(8, 18, 33, .96), rgba(12, 45, 68, .95) 48%, rgba(15, 23, 42, .96) 100%);
  box-shadow:0 22px 52px rgba(0,0,0,.3), 0 0 28px rgba(56,189,248,.14), inset 0 1px 0 rgba(255,255,255,.08);
}

.research-alert-strip .research-alert--deep::before{
  background:linear-gradient(180deg, #bae6fd 0%, #38bdf8 34%, #0e7490 100%);
  box-shadow:0 0 24px rgba(56,189,248,.34);
}

.research-alert-strip .research-alert--deep::after{
  background:radial-gradient(circle, rgba(56,189,248,.22) 0%, rgba(56,189,248,.08) 34%, transparent 70%);
}

.research-alert-strip .research-alert--deep .research-alert-badge{
  background:linear-gradient(135deg, rgba(186,230,253,.16), rgba(14,116,144,.5) 52%, rgba(8,47,73,.88));
  border-color:rgba(186,230,253,.5);
  color:#effcff;
}

.research-alert-strip .research-alert-title{
  font-size:1.02rem;
}

.research-alert-strip .research-alert-summary{
  display:block;
  font-size:.88rem;
}

.research-alert-strip .research-alert--deep .research-alert-meta{
  color:#bae6fd;
}

.research-alert-strip .research-alert--deep .research-alert-summary{
  color:#d9f3ff;
}

.research-alert-strip .research-alert--deep .research-alert-link{
  border-color:rgba(186,230,253,.5);
  background:linear-gradient(135deg, rgba(56,189,248,.16), rgba(14,116,144,.38) 55%, rgba(8,47,73,.68));
}

@keyframes researchCardFloat{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-2px); }
}

@media (max-width: 960px){
  .research-alert-strip{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .research-alert-strip .research-alert{
    grid-template-columns:1fr;
    justify-items:start;
  }

  .research-alert-strip .research-alert-link{
    width:100%;
    text-align:center;
  }
}

/* Deep-dive archive: visually separate from short Research Watch notes */
.deep-dive-section{
  position:relative;
  background:
    linear-gradient(135deg, rgba(4,12,27,.96) 0%, rgba(7,28,47,.96) 45%, rgba(15,23,42,.98) 100%);
  border-top:1px solid rgba(125,211,252,.3);
  border-bottom:1px solid rgba(125,211,252,.22);
  overflow:hidden;
}

.deep-dive-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(56,189,248,.1) 0 1px, transparent 1px 82px),
    linear-gradient(0deg, rgba(168,85,247,.08) 0 1px, transparent 1px 82px),
    radial-gradient(circle at 82% 22%, rgba(56,189,248,.16), transparent 32%);
}

.deep-dive-section .container{
  position:relative;
  z-index:1;
}

.deep-dive-archive-head{
  max-width:920px;
  margin-bottom:1.45rem;
}

.deep-dive-archive-head .kicker{
  color:#7dd3fc;
}

.deep-dive-archive-head .lead{
  color:#c7d8ea;
}

.deep-dive-archive-shell{
  display:grid;
  grid-template-columns:180px minmax(0, 1fr);
  gap:1rem;
  align-items:stretch;
}

.deep-dive-month{
  display:grid;
  place-items:center;
  min-height:190px;
  border:1px solid rgba(125,211,252,.42);
  border-radius:18px;
  background:
    linear-gradient(160deg, rgba(8,18,33,.98), rgba(14,116,144,.72) 58%, rgba(30,41,59,.98));
  color:#ffffff;
  box-shadow:0 22px 54px rgba(0,0,0,.34), 0 0 34px rgba(56,189,248,.12), inset 0 1px 0 rgba(255,255,255,.1);
  text-align:center;
}

.deep-dive-month span{
  display:block;
  color:#bff3ff;
  font-size:1.05rem;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.deep-dive-month strong{
  display:block;
  color:#ffffff;
  font-size:2.9rem;
  line-height:1;
}

.deep-dive-feature{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:1.2rem;
  align-items:center;
  min-height:190px;
  padding:1.35rem;
  border:1px solid rgba(125,211,252,.32);
  border-radius:18px;
  background:
    linear-gradient(135deg, rgba(8,18,33,.92), rgba(12,45,68,.9) 56%, rgba(12,32,46,.94));
  box-shadow:0 22px 54px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}

.deep-dive-type{
  display:inline-flex;
  width:fit-content;
  margin-bottom:.55rem;
  padding:.32rem .68rem;
  border:1px solid rgba(125,211,252,.4);
  border-radius:999px;
  background:rgba(56,189,248,.13);
  color:#bff3ff;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.deep-dive-feature h3{
  margin:.1rem 0 .55rem;
  color:#ffffff;
  font-size:clamp(1.45rem, 2.6vw, 2.3rem);
}

.deep-dive-feature p{
  max-width:76ch;
  margin:0;
  color:#c7d8ea;
}

.deep-dive-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 1.1rem;
  border:1px solid rgba(125,211,252,.48);
  border-radius:14px;
  background:linear-gradient(135deg, rgba(14,116,144,.95), rgba(30,64,175,.86));
  color:#ffffff!important;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 14px 30px rgba(0,0,0,.24), 0 0 20px rgba(56,189,248,.12);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.deep-dive-open:hover{
  border-color:rgba(186,230,253,.86);
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(0,0,0,.28), 0 0 28px rgba(56,189,248,.18);
}

@media (max-width: 820px){
  .deep-dive-archive-shell,
  .deep-dive-feature{
    grid-template-columns:1fr;
  }

  .deep-dive-month{
    min-height:128px;
  }

  .deep-dive-open{
    width:100%;
  }
}

/* Folder-style deep-dive archive */
.deep-dive-folder-archive{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:1rem;
  align-items:stretch;
}

.deep-dive-folder-tree{
  display:grid;
  gap:.75rem;
  align-content:start;
}

.deep-dive-year-folder,
.deep-dive-month-folder,
.deep-dive-latest{
  position:relative;
  border:1px solid rgba(125,211,252,.34);
  border-radius:16px;
  background:rgba(8,18,33,.92);
  box-shadow:0 22px 54px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}

.deep-dive-year-folder{
  min-height:126px;
  padding:1rem;
  background:linear-gradient(180deg,rgba(8,18,33,.98),rgba(14,116,144,.54));
  color:#ffffff;
  overflow:hidden;
}

.deep-dive-year-folder::before{
  content:"";
  position:absolute;
  left:1rem;
  top:-1px;
  width:6.5rem;
  height:1.15rem;
  border:1px solid rgba(125,211,252,.42);
  border-bottom:0;
  border-radius:12px 12px 0 0;
  background:rgba(14,116,144,.74);
}

.deep-dive-year-folder strong{
  display:block;
  margin-top:1.25rem;
  color:#ffffff;
  font-size:2.45rem;
  line-height:1;
}

.deep-dive-year-folder small{
  display:block;
  margin-top:.35rem;
  color:#bff3ff;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.deep-dive-month-folder{
  display:grid;
  grid-template-columns:1fr auto;
  gap:.4rem;
  align-items:center;
  min-height:82px;
  padding:.9rem 1rem .9rem 1.25rem;
  color:#ffffff;
  text-decoration:none;
}

.deep-dive-month-folder::before{
  content:"";
  position:absolute;
  left:-1px;
  top:14px;
  bottom:14px;
  width:7px;
  background:#38bdf8;
  border-radius:0 999px 999px 0;
  box-shadow:0 0 16px rgba(56,189,248,.35);
}

.deep-dive-month-folder span{
  color:#ffffff;
  font-size:1.32rem;
  font-weight:900;
}

.deep-dive-month-folder small{
  color:#bae6fd;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.deep-dive-latest{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1.2rem;
  align-items:center;
  min-height:210px;
  padding:1.45rem;
  background:linear-gradient(135deg,rgba(8,18,33,.94),rgba(12,45,68,.92) 52%,rgba(12,32,46,.96));
}

.deep-dive-latest::before{
  content:"Latest";
  position:absolute;
  top:-1px;
  right:1rem;
  padding:.28rem .7rem;
  border:1px solid rgba(125,211,252,.46);
  border-top:0;
  border-radius:0 0 12px 12px;
  background:rgba(14,116,144,.82);
  color:#ffffff;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.deep-dive-latest h3{
  margin:.1rem 0 .55rem;
  color:#ffffff;
  font-size:clamp(1.45rem, 2.6vw, 2.3rem);
}

.deep-dive-latest p{
  max-width:76ch;
  margin:0;
  color:#c7d8ea;
}

@media (max-width: 860px){
  .deep-dive-folder-archive,
  .deep-dive-latest{
    grid-template-columns:1fr;
  }
}

/* Research Watch folder archive: keeps existing short-note accordion format */
.research-watch-archive{
  margin-top:1.6rem;
}

.research-watch-year-folder{
  position:relative;
  display:grid;
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(125,211,252,.26);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(8,18,33,.78),rgba(12,30,50,.82));
  box-shadow:0 22px 54px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.research-watch-year-label{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  align-items:center;
  width:fit-content;
  min-height:58px;
  padding:.8rem 1rem .75rem 1.1rem;
  border:1px solid rgba(125,211,252,.42);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(8,18,33,.98),rgba(14,116,144,.56));
  color:#ffffff;
}

.research-watch-year-label::before{
  content:"";
  position:absolute;
  left:1rem;
  top:-15px;
  width:5.8rem;
  height:15px;
  border:1px solid rgba(125,211,252,.42);
  border-bottom:0;
  border-radius:12px 12px 0 0;
  background:rgba(14,116,144,.72);
}

.research-watch-year-label strong{
  color:#ffffff;
  font-size:1.5rem;
  line-height:1;
}

.research-watch-year-label small{
  color:#bff3ff;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.research-watch-month-folder{
  position:relative;
  display:grid;
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(125,211,252,.22);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(8,18,33,.82),rgba(13,34,57,.86));
  box-shadow:0 18px 42px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
}

.research-watch-month-folder::before{
  content:"";
  position:absolute;
  left:-1px;
  top:1.1rem;
  bottom:1.1rem;
  width:7px;
  border-radius:0 999px 999px 0;
  background:#38bdf8;
  box-shadow:0 0 16px rgba(56,189,248,.34);
}

.research-watch-month-head{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  align-items:center;
  justify-content:space-between;
  padding-left:.45rem;
}

.research-watch-month-head span{
  display:block;
  color:#ffffff;
  font-size:1.35rem;
  font-weight:900;
}

.research-watch-month-head small{
  display:block;
  color:#b8d2e8;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.research-watch-month-head a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 .85rem;
  border:1px solid rgba(125,211,252,.4);
  border-radius:12px;
  background:rgba(56,189,248,.09);
  color:#d8f6ff!important;
  font-weight:900;
  text-decoration:none;
}

.research-watch-month-folder .watch-stack{
  margin-top:.15rem;
}

@media (max-width: 720px){
  .research-watch-year-folder,
  .research-watch-month-folder{
    padding:.85rem;
  }

  .research-watch-month-head a{
    width:100%;
  }
}

/* Shared expandable archive folders */
.topic-archive{
  margin-top:1.55rem;
}

.archive-year,
.archive-month{
  border:0;
}

.archive-year-summary,
.archive-month-summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
}

.archive-year-summary::-webkit-details-marker,
.archive-month-summary::-webkit-details-marker{
  display:none;
}

.archive-year{
  position:relative;
  display:block;
  overflow:hidden;
  padding:1rem;
  border:1px solid rgba(125,211,252,.3);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(8,18,33,.82),rgba(12,30,50,.86));
  box-shadow:0 26px 64px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
}

.archive-year::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 0%,rgba(56,189,248,.08) 38%,rgba(111,131,255,.13) 50%,transparent 64%);
  transform:translateX(-70%);
  animation:archiveScan 8s linear infinite;
  pointer-events:none;
}

.archive-year > *{
  position:relative;
  z-index:1;
}

.archive-year-summary{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:.9rem;
  align-items:center;
  min-height:84px;
  padding:1rem 1.1rem;
  border:1px solid rgba(125,211,252,.42);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(8,18,33,.98) 0%,rgba(14,116,144,.58) 58%,rgba(30,64,175,.72) 100%);
  color:#ffffff;
  box-shadow:0 18px 42px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.1);
}

.archive-year-summary::after,
.archive-month-summary::after{
  content:"";
  width:.66rem;
  height:.66rem;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transition:transform .22s ease;
}

.archive-year:not([open]) > .archive-year-summary::after,
.archive-month:not([open]) > .archive-month-summary::after{
  transform:rotate(-45deg);
}

.archive-folder-icon{
  position:relative;
  display:inline-block;
  width:3.25rem;
  height:2.35rem;
  border:1px solid rgba(186,230,253,.72);
  border-radius:9px;
  background:linear-gradient(180deg,rgba(125,211,252,.34),rgba(14,116,144,.72));
  box-shadow:0 12px 26px rgba(0,0,0,.28), 0 0 20px rgba(56,189,248,.16), inset 0 1px 0 rgba(255,255,255,.22);
}

.archive-folder-icon::before{
  content:"";
  position:absolute;
  left:.25rem;
  top:-.62rem;
  width:1.45rem;
  height:.72rem;
  border:1px solid rgba(186,230,253,.72);
  border-bottom:0;
  border-radius:8px 8px 0 0;
  background:rgba(14,116,144,.86);
}

.archive-year-summary:hover .archive-folder-icon,
.archive-month-summary:hover + .watch-stack,
.archive-month-summary:hover + .archive-article-grid{
  filter:saturate(1.08);
}

.archive-summary-copy{
  display:grid;
  gap:.2rem;
}

.archive-summary-copy strong{
  color:#ffffff;
  font-size:2rem;
  line-height:1;
}

.archive-summary-copy small,
.archive-count{
  color:#d9f7ff;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.archive-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 .75rem;
  border:1px solid rgba(186,230,253,.32);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  white-space:nowrap;
}

.archive-month-list{
  position:relative;
  display:grid;
  gap:1rem;
  padding:1.15rem 0 0 2.2rem;
}

.archive-month-list::before{
  content:"";
  position:absolute;
  left:1.1rem;
  top:0;
  bottom:.8rem;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#38bdf8,#6f83ff);
  box-shadow:0 0 18px rgba(56,189,248,.24);
}

.archive-month{
  position:relative;
  display:block;
  overflow:hidden;
  border:1px solid rgba(125,211,252,.26);
  border-radius:18px;
  background:rgba(8,18,33,.88);
  box-shadow:0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
}

.archive-month::before{
  content:"";
  position:absolute;
  left:-1.95rem;
  top:1.55rem;
  width:1rem;
  height:1rem;
  border:1px solid rgba(186,230,253,.56);
  border-radius:999px;
  background:#07111f;
  box-shadow:0 0 0 5px rgba(56,189,248,.13), 0 0 18px rgba(56,189,248,.25);
}

.archive-month-summary{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:.5rem 1rem;
  align-items:center;
  min-height:72px;
  padding:1rem 1.05rem;
  color:#ffffff;
  border-radius:16px 16px 0 0;
  background:linear-gradient(135deg,rgba(8,18,33,.92),rgba(14,116,144,.22));
}

.archive-month[open] > .archive-month-summary{
  border-bottom:1px solid rgba(125,211,252,.18);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.06);
}

.archive-month-name{
  display:block;
  color:#ffffff;
  font-size:1.42rem;
  font-weight:900;
  line-height:1.05;
}

.archive-month-summary small{
  display:block;
  color:#b8d2e8;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.archive-month .watch-stack,
.archive-article-grid{
  padding:0 1rem 1rem;
}

.archive-article-grid{
  display:grid;
  gap:1rem;
}

.archive-article-card{
  position:relative;
  display:grid;
  overflow:hidden;
  gap:.55rem;
  min-height:190px;
  padding:1.2rem;
  border:1px solid rgba(125,211,252,.34);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(8,18,33,.94),rgba(12,45,68,.92) 58%,rgba(12,32,46,.96));
  color:inherit;
  text-decoration:none;
  box-shadow:0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.archive-article-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:7px;
  background:linear-gradient(180deg,#38bdf8,#14b8a6,#6f83ff);
  box-shadow:0 0 18px rgba(56,189,248,.28);
}

.archive-article-card::after{
  content:"";
  position:absolute;
  inset:auto 1rem 1rem auto;
  width:72px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#38bdf8);
  opacity:.55;
}

.archive-article-card:hover{
  transform:translateY(-3px);
  border-color:rgba(186,230,253,.62);
  box-shadow:0 26px 56px rgba(0,0,0,.32), 0 0 26px rgba(56,189,248,.16), inset 0 1px 0 rgba(255,255,255,.08);
}

.archive-article-card h3{
  margin:.15rem 0 0;
  color:#ffffff;
  font-size:clamp(1.45rem, 2.3vw, 2.15rem);
}

.archive-article-card p{
  max-width:76ch;
  margin:0;
  color:#c7d8ea;
}

.archive-card-cta{
  display:inline-flex;
  width:fit-content;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-top:.25rem;
  padding:0 .9rem;
  border:1px solid rgba(186,230,253,.48);
  border-radius:12px;
  background:rgba(56,189,248,.12);
  color:#ffffff;
  font-weight:900;
}

.topic-archive--deep .archive-month-list::before{
  background:linear-gradient(180deg,#38bdf8,#14b8a6);
}

.topic-archive--watch .archive-year-summary{
  background:linear-gradient(135deg,rgba(8,18,33,.98) 0%,rgba(30,64,175,.62) 58%,rgba(111,131,255,.54) 100%);
}

.topic-archive--watch .archive-month-list::before{
  background:linear-gradient(180deg,#38bdf8,#6f83ff);
}

@keyframes archiveScan{
  0%{ transform:translateX(-70%); }
  100%{ transform:translateX(70%); }
}

@media (prefers-reduced-motion: reduce){
  .archive-year::before{
    animation:none;
    opacity:.35;
  }
}

@media (max-width: 760px){
  .archive-year-summary{
    grid-template-columns:auto 1fr;
  }

  .archive-count{
    grid-column:1 / -1;
    width:fit-content;
  }

  .archive-year-summary::after{
    position:absolute;
    right:1rem;
    top:1.2rem;
  }

  .archive-month-summary{
    grid-template-columns:minmax(0,1fr) auto;
  }

  .archive-month-summary small{
    grid-column:1 / -1;
  }

  .archive-month-summary::after{
    position:absolute;
    right:1rem;
    top:1.3rem;
  }

  .archive-month-list{
    padding-left:1.25rem;
  }

  .archive-month-list::before{
    left:.55rem;
  }

  .archive-month::before{
    left:-1.03rem;
  }
}

/* Mobile-safe fallback for long research subpages, especially Android rendering */
@media (max-width: 860px){
  .portal-page[data-nav="research"]::before{
    display:none;
  }

  .portal-page[data-nav="research"] main,
  .portal-page[data-nav="research"] .section,
  .portal-page[data-nav="research"] .container{
    overflow:visible;
  }

  .portal-page[data-nav="research"] .page-grid{
    display:block !important;
  }

  .portal-page[data-nav="research"] .toc,
  .portal-page[data-nav="research"] .content-card,
  .portal-page[data-nav="research"] .page-figure{
    width:100%;
    max-width:none;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }

  .portal-page[data-nav="research"] .toc{
    position:static !important;
    top:auto !important;
    margin:0 0 1rem;
  }

  .portal-page[data-nav="research"] .content-card,
  .portal-page[data-nav="research"] .page-figure,
  .portal-page[data-nav="research"] .toc{
    overflow:visible;
    box-shadow:0 14px 30px rgba(2,8,20,.22) !important;
    backdrop-filter:none !important;
  }

  .portal-page[data-nav="research"] .content-card:hover,
  .portal-page[data-nav="research"] .page-figure:hover,
  .portal-page[data-nav="research"] .toc:hover{
    transform:none !important;
  }

  .portal-page[data-nav="research"] .content-card > *:not(figure),
  .portal-page[data-nav="research"] .page-figure,
  .portal-page[data-nav="research"] .callout,
  .portal-page[data-nav="research"] .table-wrap{
    max-width:none;
  }

  .portal-page[data-nav="research"] .page-figure img,
  .portal-page[data-nav="research"] .portal-media img{
    width:100%;
    height:auto;
  }
}

/* Keep reading-oriented cards fixed for better readability */
.content-card:hover,
.post-card:hover,
.topic-card:hover,
.section-card:hover,
.resource-card:hover,
.watch-note:hover,
.accordion:hover,
.foundational-figure:hover,
.page-figure:hover,
.toc:hover{
  transform:none !important;
}
