/* ── COMMON ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
}
.bp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--black);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.bp:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.bg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(245, 244, 240, 0.18);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.bg:hover {
  border-color: var(--teal);
  background: var(--teal-glow);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.f1 {
  animation: fadeUp 0.7s ease both;
}
.f2 {
  animation: fadeUp 0.7s ease 0.12s both;
}
.f3 {
  animation: fadeUp 0.7s ease 0.24s both;
}
.f4 {
  animation: fadeUp 0.7s ease 0.36s both;
}

/* ── BREADCRUMB ── */
.breadcrumb-bar {
  padding: 1rem 4vw;
  padding-top: calc(64px + 1rem);
  background: var(--black);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--teal);
}
.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.15);
}
.breadcrumb .current {
  color: rgba(245, 244, 240, 0.42);
}

/* ── SERIES BAND ── */
.series-band {
  background: rgba(37, 99, 235, 0.07);
  border-bottom: 1px solid rgba(37, 99, 235, 0.18);
  padding: 0.85rem 4vw;
}
.series-band .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.series-pill {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 2px;
  padding: 0.2rem 0.65rem;
  font-weight: 500;
  white-space: nowrap;
}
.series-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
}
.series-nav-item {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.series-nav-item:hover {
  color: var(--teal);
}
.series-nav-item .s-num {
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  flex-shrink: 0;
}
.series-nav-item.current .s-num {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(37, 99, 235, 0.1);
}
.series-nav-item.current {
  color: var(--white);
}
.s-sep {
  color: rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
}

/* ── ARTICLE HERO ── */
#post-hero {
  padding: 4.5rem 4vw 0;
  background: radial-gradient(
      ellipse 65% 55% at 15% 65%,
      rgba(37, 99, 235, 0.08) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, #0a0a0a 0%, #0d1117 100%);
  position: relative;
  overflow: hidden;
}
.post-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(37, 99, 235, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 100% at 20% 0%,
    black 30%,
    transparent 100%
  );
  pointer-events: none;
}
#post-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.post-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.post-tag {
  font-family: var(--fm);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  font-weight: 500;
}
.tag-physai {
  background: rgba(37, 99, 235, 0.12);
  color: var(--teal);
  border: 1px solid rgba(37, 99, 235, 0.3);
}
.tag-clinical {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.tag-deploy {
  background: rgba(212, 136, 42, 0.12);
  color: var(--amber);
  border: 1px solid rgba(212, 136, 42, 0.3);
}
.tag-ai {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.tag-policy {
  background: rgba(224, 82, 82, 0.1);
  color: var(--red);
  border: 1px solid rgba(224, 82, 82, 0.25);
}

.eyebrow-meta {
  font-family: var(--fm);
  font-size: 0.63rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.eyebrow-meta .dot {
  color: rgba(255, 255, 255, 0.15);
}

.post-headline {
  font-family: var(--fd);
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.post-headline em {
  font-style: italic;
  color: var(--teal);
}

.post-lede {
  font-size: 1.12rem;
  color: rgba(245, 244, 240, 0.62);
  line-height: 1.8;
  font-weight: 300;
  max-width: 74ch;
  margin-bottom: 2.5rem;
}

/* ── BYLINE ── */
.post-byline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.byline-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.byline-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm);
  font-size: 0.72rem;
  color: var(--black);
  font-weight: 600;
}
.byline-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.byline-name {
  font-weight: 600;
  font-size: 0.88rem;
}
.byline-role {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.byline-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.byline-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: center;
}
.byline-stat .bs-val {
  font-family: var(--fm);
  font-size: 0.7rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.byline-stat .bs-key {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.byline-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}
.share-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm);
  font-size: 0.7rem;
  transition: border-color 0.2s, color 0.2s;
}
.share-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── COVER VISUAL ── */
.post-cover {
  width: 100%;
  height: clamp(300px, 40vw, 520px);
  background: linear-gradient(
    135deg,
    var(--slate) 0%,
    #0a1420 60%,
    #0d1b2a 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.cover-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%
  );
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
.cover-art {
  position: relative;
  z-index: 1;
}
.cover-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--teal);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  font-weight: 600;
  z-index: 2;
}
.cover-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(37, 99, 235, 0.55);
  z-index: 2;
}
.cover-series-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.22rem 0.65rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  z-index: 2;
}

/* ── BODY LAYOUT ── */
#post-body {
  padding: 0 4vw 6rem;
  background: var(--ink);
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 4.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 4rem;
}
@media (max-width: 1060px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── PROSE ── */
.post-prose {
  min-width: 0;
}

.post-prose p {
  font-size: 1.02rem;
  color: rgba(245, 244, 240, 0.72);
  line-height: 1.9;
  margin-bottom: 1.85rem;
  font-weight: 300;
}
.post-prose > p:first-child::first-letter {
  font-family: var(--fd);
  font-size: 3.5rem;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin-right: 0.1em;
  margin-top: 0.08em;
  color: var(--teal);
}

.post-prose h2 {
  font-family: var(--fd);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.18;
  margin: 3.5rem 0 1.25rem;
  letter-spacing: -0.012em;
  scroll-margin-top: calc(64px + 1.5rem);
}
.post-prose h2 em {
  font-style: italic;
  color: var(--teal);
}

.post-prose h3 {
  font-family: var(--fm);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 2.75rem 0 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  scroll-margin-top: calc(64px + 1.5rem);
}
.post-prose h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(37, 99, 235, 0.2);
}

.post-prose strong {
  color: var(--white);
  font-weight: 600;
}
.post-prose em {
  font-style: italic;
  color: rgba(245, 244, 240, 0.82);
}
.post-prose a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  transition: text-decoration-color 0.2s;
}
.post-prose a:hover {
  text-decoration-color: var(--teal);
}

/* Pull quote */
.pull-quote {
  margin: 3rem -2rem;
  padding: 2.5rem 2.5rem 2.5rem 2.75rem;
  border-left: 3px solid var(--teal);
  background: rgba(37, 99, 235, 0.05);
  border-radius: 0 4px 4px 0;
  position: relative;
}
@media (max-width: 600px) {
  .pull-quote {
    margin: 2.5rem 0;
  }
}
.pull-quote::before {
  content: '"';
  font-family: var(--fd);
  font-size: 6rem;
  color: rgba(37, 99, 235, 0.12);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
  pointer-events: none;
}
.pull-quote p {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(245, 244, 240, 0.88);
  line-height: 1.45;
  margin: 0 !important;
}
.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-style: normal;
}

/* Concept box */
.concept-box {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  margin: 2.5rem 0;
}
.concept-box .cb-label {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.concept-box .cb-label::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--teal);
}
.concept-box .cb-title {
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.concept-box p {
  font-size: 0.88rem;
  color: rgba(245, 244, 240, 0.6);
  line-height: 1.7;
  margin-bottom: 0 !important;
}

/* Key insight */
.key-insight {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(37, 99, 235, 0.04) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ki-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--teal);
}
.ki-body {
  flex: 1;
}
.ki-body .ki-label {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.ki-body p {
  font-size: 0.88rem;
  color: rgba(245, 244, 240, 0.68);
  line-height: 1.65;
  margin: 0 !important;
}

/* Data table */
.data-table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 560px;
}
.data-table thead tr {
  background: var(--slate);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}
.data-table thead th {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 500;
}
.data-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}
.data-table tbody tr:last-child {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}
.data-table td {
  padding: 0.9rem 1.25rem;
  color: rgba(245, 244, 240, 0.65);
  vertical-align: top;
  line-height: 1.5;
}
.data-table td:first-child {
  color: var(--white);
  font-weight: 500;
}
.dt-yes {
  color: var(--green) !important;
}
.dt-no {
  color: var(--red) !important;
}
.dt-partial {
  color: var(--amber) !important;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 2.5rem 0;
}
@media (max-width: 560px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat-cell {
  background: var(--slate);
  padding: 1.5rem;
  text-align: center;
}
.stat-cell .sn {
  font-family: var(--fd);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat-cell .su {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-top: 0.35rem;
}
.stat-cell .sl {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* Footnote */
.post-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}
.footnotes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footnotes-label {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footnotes ol {
  padding-left: 1.5rem;
}
.footnotes li {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Tags + share footer */
.post-footer-bar {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.tag-label {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}
.ftag {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.28rem 0.7rem;
  background: transparent;
}
.share-cluster {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.share-label {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── AUTHOR BIO CARD ── */
.author-bio-card {
  /* margin-top: 3.5rem; */
  padding: 2.5rem;
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  gap: 1.75rem;
}
@media (max-width: 560px) {
  .author-bio-card {
    flex-direction: column;
    gap: 1.25rem;
  }
}
.ab-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm);
  font-size: 1.2rem;
  color: var(--black);
  font-weight: 600;
}
.ab-info {
  flex: 1;
}
.ab-label {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.ab-name {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.ab-role {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.ab-bio {
  font-size: 0.85rem;
  color: rgba(245, 244, 240, 0.58);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.ab-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.award-chip {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(37, 99, 235, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 2px;
  padding: 0.2rem 0.55rem;
}

/* ── SIDEBAR ── */
.post-sidebar {
  position: relative;
}
.sidebar-sticky {
  position: sticky;
  top: calc(64px + 2rem);
}
.sb-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.sb-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.sb-label {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}
.sb-label::before {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1px;
  background: var(--teal);
}

/* TOC */
.toc-list {
  list-style: none;
}
.toc-list li {
  margin-bottom: 0.5rem;
}
.toc-list a {
  font-size: 0.8rem;
  color: rgba(245, 244, 240, 0.42);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.4;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--white);
}
.toc-list a.active {
  color: var(--teal);
}
.toc-num {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--muted);
  flex-shrink: 0;
}

/* Post details */
.detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
}
.detail-row:last-child {
  margin-bottom: 0;
}
.detail-key {
  font-family: var(--fm);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-val {
  font-size: 0.82rem;
  color: rgba(245, 244, 240, 0.62);
  font-weight: 500;
}

/* Related posts */
.related-post {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.related-post:last-child {
  border-bottom: none;
}
.related-thumb {
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.related-thumb svg {
  opacity: 0.4;
}
.thumb-physai {
  background: linear-gradient(135deg, #0d1e38 0%, #0b1523 100%);
}
.thumb-clinical {
  background: linear-gradient(135deg, #0d2010 0%, #0b1a0e 100%);
}
.thumb-ai {
  background: linear-gradient(135deg, #1a0d2e 0%, #130820 100%);
}
.thumb-deploy {
  background: linear-gradient(135deg, #231605 0%, #1a1005 100%);
}
.related-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.related-title {
  font-size: 0.78rem;
  color: rgba(245, 244, 240, 0.68);
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s;
}
.related-post:hover .related-title {
  color: var(--teal);
}
.related-meta {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── PREV/NEXT NAV ── */
#post-nav {
  padding: 0 4vw 0;
  background: var(--ink);
}
.post-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .post-nav-inner {
    grid-template-columns: 1fr;
  }
}
.nav-post {
  background: var(--ink);
  padding: 2rem 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.nav-post:hover {
  background: rgba(37, 99, 235, 0.05);
}
.nav-direction {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-post.next .nav-direction {
  justify-content: flex-end;
}
.nav-post-title {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(245, 244, 240, 0.75);
  transition: color 0.2s;
}
.nav-post:hover .nav-post-title {
  color: var(--teal);
}
.nav-post.next {
  text-align: right;
}
.nav-post-meta {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── MORE POSTS ── */
#more-posts {
  padding: 5rem 4vw;
  background: var(--black);
  border-top: 1px solid var(--border);
}
#more-posts .container {
  max-width: 1240px;
  margin: 0 auto;
}
.more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.more-header h2 {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 400;
}
.more-header a {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.more-header a:hover {
  gap: 0.8rem;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) {
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .more-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-3px);
}
.pc-thumb {
  height: 175px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pc-thumb svg {
  opacity: 0.1;
}
.pc-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--fm);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border-radius: 2px;
  font-weight: 600;
}
.pc-chip {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  font-family: var(--fm);
  font-size: 0.58rem;
  color: rgba(245, 244, 240, 0.4);
  background: rgba(0, 0, 0, 0.65);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.pc-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pc-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.post-date {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.post-read {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.pc-body h3 {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  color: var(--white);
}
.pc-body p {
  font-size: 0.8rem;
  color: rgba(245, 244, 240, 0.52);
  line-height: 1.65;
  flex: 1;
  font-weight: 300;
}
.pc-footer {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pc-author-mini {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.arrow-link {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s, color 0.2s;
}
.arrow-link:hover {
  gap: 0.6rem;
  color: var(--white);
}

/* ── CTA STRIP ── */
#cta-strip {
  padding: 6rem 4vw;
  background: linear-gradient(
    135deg,
    #0d1117 0%,
    rgba(37, 99, 235, 0.1) 50%,
    #0d1117 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(37, 99, 235, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
#cta-strip .container {
  position: relative;
  z-index: 1;
}
.slabel {
  font-family: var(--fm);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}
.slabel::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--teal);
}
.stitle {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.stitle em {
  font-style: italic;
  color: var(--teal);
}
.sbody {
  font-size: 1rem;
  color: rgba(245, 244, 240, 0.6);
  max-width: 58ch;
  line-height: 1.75;
  font-weight: 300;
}
.cta-acts {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  max-width: 520px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--white);
}
.modal-body {
  padding: 2.5rem;
}
.modal-body .eyebrow {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.modal-body h2 {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.modal-body .desc {
  font-size: 0.85rem;
  color: rgba(245, 244, 240, 0.55);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-family: var(--fb);
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(37, 99, 235, 0.05);
}
.form-row textarea {
  min-height: 5rem;
  resize: vertical;
}
.form-row.row {
  flex-direction: row;
  gap: 1rem;
}
.form-row.row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.modal-submit {
  width: 100%;
  background: var(--teal);
  color: var(--black);
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.85rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.modal-submit:hover {
  background: var(--teal-dark);
}
.modal-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
  text-align: center;
}
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  z-index: 300;
  width: 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.7);
}
