:root{
  --bg-page: #0b1f3a;
  --bg-header:
    linear-gradient(
      90deg,
      #061a3a 0%,
      #0a2f66 50%,
      #061a3a 100%
    );

  --text-primary: #0f172a;
  --text-inverse: #ffffff;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;

  --pill-bg: rgba(255,255,255,.10);
  --pill-hover: rgba(255,255,255,.18);

  --footer-bg: rgba(239, 246, 255, 0.9);
}

:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --card:#ffffff;
  --border:rgba(148,163,184,.22);
  --link:#2563eb;

  --header-shell:
    linear-gradient(
      90deg,
      #061a3a 0%,
      #0a2f66 50%,
      #061a3a 100%
    );
  --header-shell-border: rgba(255,255,255,.10);
  --header-pill: rgba(255,255,255,.10);
  --header-pill-hover: rgba(255,255,255,.16);
  --header-pill-active: rgba(255,255,255,.16);
  --header-pill-ring: rgba(255,255,255,.18);
  --header-text: rgba(255,255,255,.94);
  --header-text-muted: rgba(255,255,255,.74);
  --header-dropdown:
    linear-gradient(
      180deg,
      rgba(6,26,58,.97),
      rgba(7,22,46,.95)
    );
}

:root[data-theme="dark"]{
  --bg:#020617;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --card:rgba(15,23,42,.96);
  --border:rgba(148,163,184,.18);
  --link:#93c5fd;

  --header-shell:
    linear-gradient(
      90deg,
      #061a3a 0%,
      #0a2f66 50%,
      #061a3a 100%
    );
  --header-shell-border: rgba(255,255,255,.10);
  --header-pill: rgba(255,255,255,.10);
  --header-pill-hover: rgba(255,255,255,.16);
  --header-pill-active: rgba(255,255,255,.16);
  --header-pill-ring: rgba(255,255,255,.18);
  --header-text: rgba(255,255,255,.94);
  --header-text-muted: rgba(255,255,255,.74);
  --header-dropdown:
    linear-gradient(
      180deg,
      rgba(6,26,58,.97),
      rgba(7,22,46,.95)
    );
}
/* =========================
   Base reset
   ========================= */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{
  color:var(--link);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

img{
  max-width:100%;
  height:auto;
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 1rem;
}

/* =========================
   Ecosystem header — canonical shared shell
   ========================= */

.site-header[data-header-variant="eco"]{
  position: sticky;
  top: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header[data-header-variant="eco"] .container{
  max-width: 100%;
  padding: 0;
}
.eco-header-bar{
  min-height: 104px;
  padding-top: 1.7rem;
  padding-bottom: .85rem;
  align-items: start;
}
.eco-header-bar{
  background: var(--bg-header);
}
.eco-header-nav{
  margin-top: .4rem;
}
.eco-header-brand{
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  color: var(--header-text);
  min-width: 0;
  max-width: 320px;
}

.eco-header-brand:hover{
  text-decoration: none;
}

.eco-header-logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.eco-header-brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.eco-header-brand-title{
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--header-text);
  white-space: nowrap;
}

.eco-header-brand-subtitle{
  font-size: .74rem;
  color: var(--header-text-muted);
  white-space: nowrap;
}

.eco-header-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

.eco-header-nav a,
.eco-header-dropdown-toggle{
  background: var(--pill-bg);
  color: var(--text-inverse);
}

.eco-header-nav a:hover{
  background: var(--pill-hover);
}
.eco-header-nav a:hover,
.eco-header-dropdown-toggle:hover{
  background: var(--header-pill-hover);
  border-color: var(--header-pill-ring);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.eco-header-nav a::after,
.eco-header-dropdown-toggle::after{
  display: none;
}

.eco-header-nav a[aria-current="page"]{
  background: var(--header-pill-active);
  border-color: var(--header-pill-ring);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.eco-header-nav a[data-eco="true"]{
  color: var(--header-text);
  opacity: 1;
}

.eco-header-cta{
  background: var(--header-pill-active) !important;
  border-color: var(--header-pill-ring) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.eco-header-cta:hover{
  background: var(--header-pill-hover) !important;
}

.eco-header-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.eco-header-dropdown-toggle{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  line-height: 1.2;
  border: 1px solid transparent;
}

.eco-header-caret{
  display: inline-block;
  font-size: .72em;
  margin-left: 6px;
  opacity: .82;
  transform: translateY(-1px);
  transition: transform .18s ease;
}

.eco-header-dropdown:hover .eco-header-caret,
.eco-header-dropdown:focus-within .eco-header-caret{
  transform: translateY(-1px) rotate(180deg);
}

.eco-header-dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  padding: 8px;
  border-radius: 18px;
  background: var(--header-dropdown);
  border: 1px solid var(--header-shell-border);
  box-shadow: 0 18px 40px rgba(2,6,23,.30);
  display: none;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.eco-header-dropdown-menu a{
  display: block;
  padding: .76rem .9rem;
  border-radius: 12px;
  white-space: nowrap;
  color: var(--header-text);
  background: transparent;
  border: 1px solid transparent;
}

.eco-header-dropdown-menu a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
  text-decoration: none;
}

.eco-header-dropdown-menu a::after{
  display: none;
}

.eco-header-dropdown:hover .eco-header-dropdown-menu,
.eco-header-dropdown:focus-within .eco-header-dropdown-menu{
  display: block;
}

.eco-header-profile{
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  padding: .26rem .38rem .26rem .3rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  white-space: nowrap;
  flex: 0 0 auto;
}

.eco-header-profile-avatar{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.eco-header-profile-text{
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.eco-header-profile-eyebrow{
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--header-text-muted);
}

.eco-header-profile-name{
  font-size: .9rem;
  font-weight: 700;
  color: var(--header-text);
}

.eco-header-theme-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition:
    background .18s ease,
    transform .18s ease,
    border-color .18s ease;
}

.eco-header-theme-toggle:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
}

.eco-header-theme-toggle:focus-visible{
  outline: 3px solid rgba(255,255,255,.22);
  outline-offset: 2px;
}

@media (max-width: 1180px){
  .eco-header-bar{
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .8rem;
    border-radius: 22px;
  }

  .eco-header-brand{
    max-width: none;
    justify-content: center;
  }

  .eco-header-brand-text{
    align-items: center;
    text-align: center;
  }

  .eco-header-nav{
    flex-wrap: wrap;
    justify-content: center;
  }

  .eco-header-profile{
    justify-self: center;
  }
}

@media (max-width: 720px){
  .eco-header-bar{
    padding: .72rem;
    gap: .72rem;
    border-radius: 18px;
  }

  .eco-header-profile-text{
    display: none;
  }

  .eco-header-nav{
    gap: .28rem;
  }

  .eco-header-nav a,
  .eco-header-dropdown-toggle{
    min-height: 38px;
    padding: .54rem .78rem;
    font-size: .9rem;
  }

  .eco-header-dropdown-menu{
    min-width: min(260px, calc(100vw - 2rem));
  }
}
  .eco-header-nav a,
  .eco-header-dropdown-toggle{
    min-height: 40px;
    padding: .56rem .82rem;
    font-size: .91rem;
  }

  .eco-header-dropdown-menu{
    left: 50%;
    transform: translateX(-50%);
    min-width: min(260px, calc(100vw - 2rem));
  }
  .eco-header-nav a,
.eco-header-dropdown-toggle{
  min-height: 40px;   /* instead of 42px */
  padding: .56rem .9rem;
}
.eco-header-nav{
  gap: .45rem;  /* was ~.38rem */
}
.site-header[data-header-variant="eco"] .container{
  max-width: 1440px;
}
.eco-header-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

.eco-header-nav a,
.eco-header-dropdown-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .54rem .82rem;
  border-radius: 20px;
  white-space: nowrap;
}
.eco-header-dropdown-toggle{
  background: rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
}
.site-header[data-header-variant="eco"] .container{
  max-width: 100%;
  padding: 0;
}

.eco-header-nav a[data-nav="docs-site"],
.eco-header-nav a[data-eco="true"]{
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(15,23,42,.03);
}
.eco-header-nav a[data-nav="docs-site"]:hover,
.eco-header-nav a[data-eco="true"]:hover{
  background: rgba(15,23,42,.06);
  border-color: rgba(15,23,42,.12);
}
/* primary nav (Home, Posts, Framework) */
.eco-header-nav a[data-nav]{
  background: rgba(255,255,255,.12);
}

/* external links slightly softer */
.eco-header-nav a[data-nav="docs-site"],
.eco-header-nav a[data-eco="true"]{
  background: rgba(255,255,255,.08);
}

/* hover glow */
.eco-header-nav a:hover,
.eco-header-dropdown-toggle:hover{
  box-shadow:
    0 4px 14px rgba(59,130,246,.25),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* nav spacing */
.eco-header-nav{
  gap: .45rem;
  margin-top: .35rem;
}

/* brand spacing */
.eco-header-brand{
  margin-top: .15rem;
}
.eco-header-bar{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;

  padding: .85rem 1.2rem;

  min-height: 108px;
  padding-top: 1.55rem;
  padding-bottom: .95rem;
  padding-left: max(1rem, calc((100vw - 1520px)/2));
  padding-right: max(1rem, calc((100vw - 1520px)/2));

  align-items: start;
}

.eco-header-nav{
  gap: .45rem;
  margin-top: .35rem;
}

.eco-header-brand{
  margin-top: .15rem;
}
  /* FULL WIDTH BAR */
  width: 100%;
  border-radius: 0;

  background: var(--header-shell);
  border-bottom: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 6px 18px rgba(2, 6, 23, .25),
    inset 0 1px 0 rgba(255,255,255,.05);
.eco-header-brand{
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  max-width: 360px;
}

.eco-header-logo{
  width: 42px;
  height: 42px;
}

.eco-header-brand-title{
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.eco-header-nav{
  gap: .55rem;
}
.eco-header-brand-subtitle{
  font-size: .84rem;
}.site-header[data-header-variant="eco"]{
  margin-top: 0;
}
.eco-header-bar{
  box-shadow:
    0 18px 40px rgba(2,6,23,.45),
    inset 0 1px 0 rgba(255,255,255,.05);
}
/* give the main nav a touch more room */
.eco-header-nav{
  gap: .5rem;
}

/* nudge only the Ecosystem pill downward */
.eco-header-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: .38rem;
}

/* keep the dropdown menu aligned to the lowered trigger */
.eco-header-dropdown-menu{
  top: calc(100% + 12px);
}
.eco-header-dropdown{
  margin-top: .5rem;
}
.eco-header-nav{
  display: flex;
  align-items: flex-start; /* 👈 allow vertical variation */
  gap: .5rem;
}
.eco-header-dropdown{
  display: inline-flex;
  align-items: center;
  transform: translateY(10px); /* 👈 precise downward shift */
}
.eco-header-dropdown-menu{
  top: calc(100% + 14px);
}
.eco-header-dropdown-toggle{
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}
.eco-header-logo {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.eco-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 260px;
}

.eco-header-brand-title {
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.1;
}

.eco-header-brand-subtitle {
  white-space: nowrap;
  font-size: 0.8rem;
}
.eco-header-logo {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.eco-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 260px;
}

.eco-header-brand-title {
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.1;
}

.eco-header-brand-subtitle {
  white-space: nowrap;
  font-size: 0.8rem;
}
.eco-header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  /* 👇 THIS is the key */
  max-width: 220px;
  min-width: 0;

  flex-shrink: 0;
}

.eco-header-logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.eco-header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;

  /* 👇 allows truncation */
  min-width: 0;
}

.eco-header-brand-title {
  font-size: 0.95rem;
  font-weight: 600;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eco-header-brand-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eco-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.eco-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.eco-header-menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 0.65rem 0.85rem;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .eco-header-bar {
    position: relative;
    flex-wrap: wrap;
  }

  .eco-header-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .eco-header-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding-top: 1rem;
  }

  .eco-header-nav.is-open {
    display: flex;
  }

  .eco-header-nav a,
  .eco-header-dropdown-toggle {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .eco-header-profile {
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
  }
}
/* =========================
   JLT Publishing Plane Hero Diagram
   ========================= */

@media (min-width: 900px) {
  .jlt-hero__grid {
    grid-template-columns: minmax(420px, 560px) 1fr;
    gap: 3.5rem;
  }
}

.jlt-hero__diagramWrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jlt-hero__diagram {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.14),
    0 0 0 10px rgba(59, 130, 246, 0.04);
}

:root[data-theme="dark"] .jlt-hero__diagram {
  background: #020617;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    0 0 0 10px rgba(59, 130, 246, 0.06);
}

@media (max-width: 899px) {
  .jlt-hero__diagram {
    max-width: 100%;
  }
}
/* =========================
   Generic post page helpers
   ========================= */
.page{
  padding-top:2rem;
  padding-bottom:1rem;
}

.post{
  max-width:820px;
  margin:0 auto;
}

.post-header{
  margin-bottom:1.25rem;
}

.post-kicker{
  margin:0 0 .4rem;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#0284c7;
}

:root[data-theme="dark"] .post-kicker{
  color:#60a5fa;
}

.post-header h1{
  margin:0 0 .6rem;
  line-height:1.1;
  letter-spacing:-.02em;
  font-size:clamp(2rem,4vw,3rem);
}

.post-subtitle{
  margin:0 0 .8rem;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.65;
}

.post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  align-items:center;
  color:var(--muted);
  font-size:.95rem;
}

.post-body{
  line-height:1.75;
}

.post-body p{
  margin:0 0 1rem;
}

.post-body h2{
  margin:2rem 0 .65rem;
  line-height:1.25;
  letter-spacing:-.01em;
}

.post-body h3{
  margin:1.5rem 0 .5rem;
  line-height:1.3;
}

.post-body ul,
.post-body ol{
  margin:0 0 1rem 1.25rem;
}

.post-body li{
  margin:.35rem 0;
}

.post-body pre{
  margin:1rem 0 1.2rem;
  padding:1rem;
  overflow:auto;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(15,23,42,.04);
}

:root[data-theme="dark"] .post-body pre{
  background:rgba(15,23,42,.45);
}

.post-body code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:.92em;
}

.post-footer{
  margin-top:2rem;
  padding-top:1rem;
  border-top:1px solid var(--border);
}

.post-footer p{
  margin:0;
  color:var(--muted);
}

/* =============================
   Series page layout
   ============================= */
.series-page{
  max-width:1120px;
  margin:0 auto;
  padding:2.25rem 1.25rem 3rem;
}

.series-hero{
  display:grid;
  gap:1.25rem;
  margin-bottom:2rem;
}

@media (min-width:980px){
  .series-hero{
    grid-template-columns:1.15fr 1fr;
    align-items:stretch;
  }
}

.series-hero-card,
.series-diagram-card,
.series-section,
.series-post-card{
  border-radius:18px;
  border:1px solid rgba(148,163,184,.22);
  background:rgba(255,255,255,.92);
  box-shadow:0 14px 40px rgba(2,6,23,.10);
}

:root[data-theme="dark"] .series-hero-card,
:root[data-theme="dark"] .series-diagram-card,
:root[data-theme="dark"] .series-section,
:root[data-theme="dark"] .series-post-card{
  background:rgba(2,6,23,.55);
  border-color:rgba(148,163,184,.18);
  box-shadow:0 18px 55px rgba(0,0,0,.35);
}

.series-hero-card{
  padding:1.35rem 1.4rem;
}

.series-kicker{
  margin:0 0 .65rem;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#0284c7;
}

:root[data-theme="dark"] .series-kicker{
  color:#60a5fa;
}

.series-title{
  margin:0 0 .45rem;
  font-size:clamp(2rem,3.2vw,3rem);
  line-height:1.05;
  letter-spacing:-.02em;
}

.series-subtitle{
  margin:0 0 .6rem;
  line-height:1.65;
  max-width:60ch;
  opacity:.84;
}

.series-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top:.2rem;
}

.series-pill{
  display:inline-flex;
  align-items:center;
  padding:.4rem .7rem;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.22);
  background:rgba(2,6,23,.04);
  font-size:.84rem;
  font-weight:700;
}

:root[data-theme="dark"] .series-pill{
  background:rgba(148,163,184,.10);
  border-color:rgba(148,163,184,.18);
}

/* Progress */
.series-progress{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.35rem;
  margin:.7rem 0 .8rem;
}

.series-step{
  display:flex;
  align-items:center;
  gap:.3rem;
  font-size:.75rem;
  font-weight:700;
  text-decoration:none;
  padding:.28rem .45rem;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.25);
  background:rgba(2,6,23,.04);
  color:inherit;
}

.series-step-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:50%;
  font-size:.65rem;
  background:#1e40af;
  color:#ffffff;
}

.series-step.complete{
  opacity:.85;
}

.series-step.current{
  background:rgba(59,130,246,.12);
  border-color:rgba(59,130,246,.4);
}

.series-progress-line{
  width:16px;
  height:1px;
  background:rgba(148,163,184,.4);
}

/* Divider + sections */
.series-divider{
  height:1px;
  width:100%;
  max-width:1120px;
  margin:2rem auto;
  background:linear-gradient(to right, transparent, rgba(148,163,184,.35), transparent);
}

.series-section{
  padding:1.2rem 1.2rem 1.15rem;
  margin-bottom:1.6rem;
}

.series-section h2{
  margin:0 0 .65rem;
  font-size:1.15rem;
}

.series-section p{
  margin:0 0 .7rem;
  line-height:1.7;
  opacity:.88;
}

.series-section p:last-child{
  margin-bottom:0;
}

/* Posts grid */
.series-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap:1rem;
  margin-top:1rem;
}

.series-post-card{
  padding:1rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  min-height:210px;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.series-post-card:hover{
  transform:translateY(-2px);
  border-color:rgba(96,165,250,.45);
  box-shadow:0 22px 70px rgba(0,0,0,.20);
}

:root[data-theme="dark"] .series-post-card:hover{
  box-shadow:0 22px 70px rgba(0,0,0,.45);
}

.series-post-label{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#0284c7;
}

:root[data-theme="dark"] .series-post-label{
  color:#60a5fa;
}

.series-post-card a{
  color:inherit;
  text-decoration:none;
  display:block;
}

.series-post-card h3{
  margin:0;
  font-size:1.02rem;
  line-height:1.35;
}

.series-post-card a:hover h3{
  text-decoration:underline;
}

.series-post-card p{
  margin:0;
  opacity:.84;
  line-height:1.6;
  font-size:.95rem;
}

.series-capstone{
  grid-column:1 / -1;
  min-height:auto;
}

/* Diagram card */
.series-diagram-card{
  position:relative;
  overflow:visible;
  padding:1.25rem;
  display:grid;
  gap:1rem;
}

.series-diagram-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:18px;
  background:linear-gradient(
    135deg,
    rgba(59,130,246,.06),
    transparent 38%,
    transparent 62%,
    rgba(59,130,246,.04)
  );
}

.series-diagram-card h2{
  margin:0;
  font-size:1rem;
}

.series-diagram-card p{
  margin:0 0 .7rem;
  opacity:.82;
  line-height:1.6;
}

.series-diagram-card p:last-child{
  margin-bottom:0;
}

@media (max-width:900px){
  .series-diagram-card{
    grid-template-columns:1fr;
  }
}

/* =============================
   Animated Platform Engineering Map
   ============================= */
.platform-map{
  position:relative;
  display:inline-block;
  width:fit-content;
  max-width:100%;
  margin-bottom:.75rem;
  overflow:visible;
  padding-right:145px;
}

.platform-map-animated{
  animation:platform-map-float 6s ease-in-out infinite;
}

.platform-map-img{
  width:490px;
  max-width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  box-shadow:
    0 18px 50px rgba(15,23,42,.18),
    0 0 0 1px rgba(148,163,184,.14);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    filter .35s ease;
}

.platform-map-animated .platform-map-img{
  animation:platform-map-glow 4.5s ease-in-out infinite;
}

.platform-map-link{
  display:inline-block;
  cursor:zoom-in;
}

.platform-map-link:hover .platform-map-img{
  transform:scale(1.02);
  box-shadow:
    0 22px 60px rgba(15,23,42,.30),
    0 0 28px rgba(59,130,246,.35),
    0 0 60px rgba(59,130,246,.22);
  filter:brightness(1.05) contrast(1.03);
}

.map-node{
  position:absolute;
  transform:translate(-50%, -50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  z-index:3;
}

.map-node-ring{
  position:absolute;
  inset:50% auto auto 50%;
  width:22px;
  height:22px;
  border-radius:999px;
  transform:translate(-50%, -50%);
  background:rgba(59,130,246,.22);
  box-shadow:
    0 0 0 0 rgba(59,130,246,.42),
    0 0 28px rgba(59,130,246,.32);
  animation:map-node-pulse 2.2s ease-out infinite;
  z-index:1;
}

.map-node-label{
  position:relative;
  z-index:4;
  display:inline-flex;
  align-items:center;
  padding:.38rem .62rem;
  border-radius:999px;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1.2;
  background:rgba(255,255,255,.88);
  color:#0f172a;
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 8px 20px rgba(15,23,42,.14);
  white-space:nowrap;
}

.map-node-label::before{
  content:"";
  position:absolute;
  left:-12px;
  top:50%;
  transform:translateY(-50%);
  width:10px;
  height:2px;
  background:rgba(15,23,42,.35);
}

.map-node:hover .map-node-label{
  transform:translateX(-4px) scale(1.05);
  border-color:rgba(59,130,246,.45);
  background:rgba(255,255,255,.58);
  box-shadow:0 10px 24px rgba(15,23,42,.16);
  text-decoration:underline;
}

.map-node:hover .map-node-ring{
  animation-duration:1.2s;
}

.node-control{ top:22%; left:calc(100% + 8px); }
.node-data{ top:45%; left:calc(100% + 8px); }
.node-ops{ top:67%; left:calc(100% + 8px); }
.node-opt{ top:88%; left:calc(100% + 8px); }

.node-control .map-node-ring{ animation-delay:0s; }
.node-data .map-node-ring{ animation-delay:.35s; }
.node-ops .map-node-ring{ animation-delay:.7s; }
.node-opt .map-node-ring{ animation-delay:1.05s; }

@keyframes map-node-pulse{
  0%{
    box-shadow:
      0 0 0 0 rgba(59,130,246,.42),
      0 0 24px rgba(59,130,246,.28);
    opacity:1;
  }
  70%{
    box-shadow:
      0 0 0 14px rgba(59,130,246,0),
      0 0 34px rgba(59,130,246,.18);
    opacity:.9;
  }
  100%{
    box-shadow:
      0 0 0 0 rgba(59,130,246,0),
      0 0 18px rgba(59,130,246,.12);
    opacity:.82;
  }
}

@keyframes platform-map-glow{
  0%, 100%{
    box-shadow:
      0 18px 50px rgba(15,23,42,.18),
      0 0 0 1px rgba(148,163,184,.14),
      0 0 18px rgba(59,130,246,.08);
  }
  50%{
    box-shadow:
      0 22px 60px rgba(15,23,42,.20),
      0 0 0 1px rgba(148,163,184,.16),
      0 0 28px rgba(59,130,246,.16);
  }
}

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

@media (max-width:900px){
  .platform-map{
    padding-right:0;
  }

  .node-control,
  .node-data,
  .node-ops,
  .node-opt{
    left:72%;
  }

  .map-node-label::before{
    left:-8px;
    width:8px;
  }
}

@media (prefers-reduced-motion:reduce){
  .platform-map-animated,
  .platform-map-animated .platform-map-img,
  .map-node-ring{
    animation:none !important;
  }

  .map-node:hover .map-node-label{
    transform:none;
  }
}

/* =========================
   Network footer — production-safe override
   ========================= */

.site-footer.site-footer--network{
  margin-top:4rem;
  border-top:1px solid rgba(37, 99, 235, 0.10);
  background: rgba(239, 246, 255, 0.88);
  color:#475569;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-footer--network .footer-top{
  max-width:1280px;
  margin:0 auto;
  padding:2.25rem 1rem 2rem;
  display:grid;
  gap:1.5rem;
  grid-template-columns:1.2fr 1fr 1fr;
}

.site-footer--network .footer-col{
  min-width:0;
}

.site-footer--network .footer-brand-title{
  margin:0;
  font-size:1.75rem;
  line-height:1.15;
  font-weight:700;
  color:#0f172a;
}

.site-footer--network .footer-brand-copy{
  margin:0.75rem 0 0;
  max-width:28rem;
  font-size:0.98rem;
  line-height:1.7;
  color:#475569;
}

.site-footer--network .footer-brand-ctas{
  margin-top:1.5rem;
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.site-footer--network .footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0.85rem 1.35rem;
  border-radius:14px;
  font-size:0.98rem;
  font-weight:600;
  text-decoration:none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-footer--network .footer-btn:hover{
  transform: translateY(-1px);
  text-decoration:none;
}

.site-footer--network .footer-btn--primary{
  background:#2563eb;
  color:#ffffff;
  box-shadow:0 10px 24px rgba(37, 99, 235, 0.16);
}

.site-footer--network .footer-btn--primary:hover{
  background:#1d4ed8;
  color:#ffffff;
}

.site-footer--network .footer-btn--secondary{
  background:transparent;
  color:#1d4ed8;
  border:1px solid #2563eb;
}

.site-footer--network .footer-btn--secondary:hover{
  background:rgba(37, 99, 235, 0.06);
  color:#1d4ed8;
}

.site-footer--network .footer-heading{
  margin:0 0 0.75rem;
  font-size:1rem;
  font-weight:700;
  color:#0f172a;
  letter-spacing:0.01em;
}

.site-footer--network .footer-list{
  margin:0;
  padding:0;
  list-style:none;
}

.site-footer--network .footer-list li + li{
  margin-top:0.65rem;
}

.site-footer--network .footer-list a{
  color:#475569;
  text-decoration:none;
  font-size:0.98rem;
}

.site-footer--network .footer-list a:hover{
  color:#0f172a;
  text-decoration:underline;
  text-underline-offset:3px;
}

.site-footer--network .footer-list a[aria-current="page"],
.site-footer--network .footer-network a[aria-current="page"]{
  color:#0f172a;
  font-weight:700;
}

.site-footer--network .footer-bottom{
  margin-top:0.5rem;
  border-top:1px solid rgba(37, 99, 235, 0.08);
  padding:1rem 1rem 1.5rem;
}

.site-footer--network .footer-bottom-inner{
  max-width:1152px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.45rem;
  text-align:center;
}

.site-footer--network .footer-meta{
  margin:0;
  font-size:0.95rem;
  color:#6b7280;
}

.site-footer--network .footer-submeta{
  margin:0;
  font-size:0.82rem;
  color:#9ca3af;
}

.site-footer--network .footer-strong{
  font-weight:600;
  color:#475569;
}

.site-footer--network .footer-network{
  margin-top:0.2rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem 1.5rem;
}

.site-footer--network .footer-network a{
  color:#2563eb;
  font-size:0.95rem;
  text-decoration:none;
}

.site-footer--network .footer-network a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.site-footer--network .footer-divider{
  margin-top:0.75rem;
  width:100%;
  max-width:36rem;
  border-top:1px solid rgba(37, 99, 235, 0.08);
}

.site-footer--network .footer-version{
  margin-top:0.35rem;
  font-size:0.75rem;
  color:#9ca3af;
}

.site-footer--network .footer-utility-links{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:center;
  font-size:0.75rem;
}

.site-footer--network .footer-utility-links a{
  color:#9ca3af;
  text-decoration:none;
}

.site-footer--network .footer-utility-links a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

@media (max-width:1024px){
  .site-footer--network .footer-top{
    grid-template-columns:1fr 1fr;
  }

  .site-footer--network .footer-brand{
    grid-column:1 / -1;
  }
}

@media (max-width:768px){
  .site-footer--network .footer-top{
    grid-template-columns:1fr;
    padding:2rem 1rem;
  }

  .site-footer--network .footer-brand-ctas{
    gap:0.75rem;
  }

  .site-footer--network .footer-btn{
    width:100%;
  }

  .site-footer--network .footer-meta{
    font-size:0.88rem;
  }

  .site-footer--network .footer-network{
    gap:1rem;
  }
}
/* =========================
   Canonical posts grid
   ========================= */
.posts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1.5rem;
  align-items:start;
}
.site-header.scrolled{
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}
.eco-header-profile {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.eco-header-theme-toggle {
  margin-left: 0.5rem;
}
.eco-header-brand-subtitle {
  display: block;
  font-size: 0.8rem;
  opacity: 0.85;
}

.eco-header-brand-tagline {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
}
/* JLT_CANONICAL_POSTS_GRID_V1 */