:root {
  --navy: #0f1b2b;
  --blue: #003366;
  --sky: #78c8ef;
  --mist: #f1f4f6;
  --paper: #f8fafb;
  --ink: #171c21;
  --body: #434b52;
  --muted: #5d666e;
  --line: #e3e8ec;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--body);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: #fff;
  color: var(--blue);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #dce5e8;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  flex-wrap: wrap;
}

.brand {
  display: block;
  max-width: 60%;
}

.brand img {
  width: 234px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 25px;
}

.site-nav a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: #002a55;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--sky);
}

main {
  flex: 1 0 auto;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3 {
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede,
.empty {
  max-width: 65ch;
  font-size: 20px;
  margin: 0;
}

.empty {
  margin-top: 36px;
  color: var(--muted);
  font-size: 18px;
}

.post-list {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.18s var(--ease);
}

.post-card:hover,
.post-card:focus-within {
  border-color: var(--sky);
}

.post-card__link {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 0;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

.post-card__media {
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.post-card__body {
  padding: 24px 28px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.post-card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 32px);
}

.post-card p {
  margin: 0;
}

.draft-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef8fd;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-notice {
  max-width: 760px;
  margin: 0 0 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: #eef8fd;
  color: var(--blue);
  font-weight: 500;
}

.byline {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose h2 {
  margin: 1.7em 0 0.45em;
  font-size: clamp(26px, 4vw, 36px);
}

.prose h3 {
  margin: 1.4em 0 0.4em;
  font-size: 1.35rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li {
  margin: 0.35em 0;
}

.prose li::marker {
  color: var(--blue);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.placeholder-link {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 1px 8px 2px;
  margin: 0 1px;
  background: #fff4e5;
  border: 1px dashed #b86e00;
  border-radius: 6px;
  color: #6a3d00;
}

.placeholder-link__token {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: #ffe2b8;
  padding: 0 5px;
  border-radius: 4px;
  color: #6a3d00;
}

.placeholder-link__flag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a4b00;
}

.site-footer {
  background: #09131f;
  color: rgba(255, 255, 255, 0.58);
  padding: 50px 0;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.site-footer img {
  width: 245px;
  height: auto;
}

.site-footer p {
  margin: 0;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .post-card__link {
    grid-template-columns: 1fr;
  }

  .post-card__media img {
    max-height: 280px;
    object-fit: contain;
  }

  .brand img {
    width: 190px;
  }

  main {
    padding-top: 32px;
  }
}

.brochure-cta {
  margin-top: 56px;
  background: var(--blue);
  color: #fff;
  border-radius: 20px;
  padding: clamp(25px, 4vw, 44px);
  box-shadow: 0 16px 46px rgba(15, 27, 43, 0.13);
}

.brochure-cta .eyebrow {
  color: var(--sky);
}

.brochure-cta h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
}

.brochure-cta__lead {
  margin: 0 0 22px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.brochure-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.brochure-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.brochure-cta .btn:hover {
  background: #bce6fa;
}

.brochure-cta__contact {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.brochure-cta__contact a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

.brochure-cta__form {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.brochure-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.brochure-cta .field {
  margin-bottom: 15px;
}

.brochure-cta .field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.brochure-cta .field input,
.brochure-cta .field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
}

.brochure-cta .field select option {
  color: var(--ink);
  background: #fff;
}

.brochure-cta .field input:focus,
.brochure-cta .field select:focus {
  outline: 2px solid var(--sky);
  border-color: transparent;
}

.brochure-cta__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.brochure-cta__consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  accent-color: var(--sky);
}

.brochure-cta__privacy,
.brochure-cta__status {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.brochure-cta__status:empty {
  display: none;
}

.brochure-cta__status[data-state="error"] {
  color: #fff;
  font-weight: 700;
}

.brochure-cta__success {
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
}

.brochure-cta__success p {
  margin: 0 0 14px;
}

.brochure-cta__success .btn {
  background: var(--blue);
  color: #fff;
}

.brochure-cta__success .btn:hover {
  background: #002a55;
}

.brochure-cta__pending {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.brochure-cta__pending code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}

@media (max-width: 580px) {
  .footer-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }

  .post-card__body {
    padding: 20px;
  }

  .brochure-cta__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   Post layout (2026-10 redesign). Tokens follow the Biomed Global design
   system: dark blue #003366, light blue #78C8EF, Pantone 296C #0F1B2B,
   DM Sans only, 8px controls, 14px cards.
   ------------------------------------------------------------------------ */
:root {
  --blue-50: #e6edf4;
  --blue-700: #002a55;
  --sky-50: #f0faff;
  --sky-100: #dcf2fd;
  --sky-200: #bce6fa;
  --sky-600: #2f92c2;
  --gray-200: #e3e8ec;
  --gray-800: #2b3138;
  --measure: 720px;
  --r-card: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 43, 0.06), 0 4px 14px rgba(15, 27, 43, 0.05);
  --shadow-md: 0 18px 50px rgba(15, 27, 43, 0.14);
}

main.main--post {
  padding: 0 0 0;
}

/* Hero band */
.post-hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(120, 200, 239, 0.18), rgba(120, 200, 239, 0) 70%),
    linear-gradient(160deg, #0f1b2b 0%, #002a55 70%, #003366 100%);
  color: #fff;
  padding: 56px 0 0;
  isolation: isolate;
}

.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(188, 230, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 230, 250, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.post-hero::after {
  /* white floor the hero image overlaps into */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(60px, 14vw, 180px);
  background: #fff;
  z-index: -1;
}

.post-hero__in {
  max-width: 1120px;
}

.post-hero h1 {
  max-width: 22ch;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.crumbs {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

.crumbs a {
  color: var(--sky);
  text-decoration: none;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs span[aria-hidden] {
  color: rgba(255, 255, 255, 0.4);
}

.post-hero .byline {
  color: rgba(255, 255, 255, 0.72);
}

.post-hero .draft-notice {
  margin-bottom: 20px;
}

.post-hero .hero {
  margin: 40px 0 0;
}

.post-hero .hero img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  background: #0f1b2b;
}

/* Key facts strip */
.facts {
  margin: 28px 0 8px;
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 18px;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--sky);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.fact__v {
  color: var(--blue);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fact__l {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.facts__note {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Reading column + sticky contents */
.post-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(200px, 260px);
  justify-content: space-between;
  gap: 48px;
  padding: 24px 0 72px;
}

.post-main {
  min-width: 0;
}

.post-side {
  min-width: 0;
}

.toc {
  position: sticky;
  top: 24px;
  margin-top: 40px;
  padding: 20px 22px;
  border-left: 3px solid var(--sky);
  background: var(--sky-50);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}

.toc__title {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin: 0;
}

.toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  padding: 6px 0;
  color: var(--body);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--sky-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding-top: 2px;
}

.toc a:hover {
  color: var(--blue);
}

/* Type rhythm */
.prose {
  color: var(--gray-800);
  font-size: 1.125rem;
  line-height: 1.75;
}

.prose .lede {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.1vw, 1.375rem);
  line-height: 1.6;
}

.prose .lede strong {
  color: var(--blue);
}

.prose .sec {
  margin-top: 56px;
}

.prose .sec:first-child {
  margin-top: 0;
}

.prose h2 {
  position: relative;
  margin: 0 0 18px;
  padding-top: 22px;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  scroll-margin-top: 24px;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--sky);
}

.prose p {
  margin: 0 0 1.1em;
}

/* Benefit cards */
.benefits {
  display: grid;
  gap: 14px;
  margin: 8px 0 24px;
}

.benefit {
  padding: 20px 24px;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%);
}

.benefit p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.benefit strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

/* Spec cards (lists where every item opens in bold) */
.prose ul.speclist {
  display: grid;
  gap: 12px;
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: spec;
}

.prose ul.speclist li {
  counter-increment: spec;
  position: relative;
  margin: 0;
  padding: 18px 22px 18px 72px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1.02rem;
  line-height: 1.6;
}

.prose ul.speclist li::before {
  content: counter(spec);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.prose ul.speclist strong {
  color: var(--blue);
}

/* Plain lists get light-blue markers */
.prose ul.ticks {
  padding-left: 0;
  list-style: none;
}

.prose ul.ticks li {
  position: relative;
  padding-left: 30px;
}

.prose ul.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--sky);
  background: #fff;
}

/* Figures */
.fig {
  margin: 32px 0;
}

.fig__media {
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--gray-200);
  background: var(--mist);
  box-shadow: var(--shadow-sm);
}

.fig img {
  width: 100%;
  height: auto;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fig figcaption {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--sky);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fig--wide {
  margin-left: 0;
  margin-right: 0;
}

.fig--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fig--side {
  float: right;
  width: 42%;
  max-width: 280px;
  margin: 4px 0 18px 28px;
}

.sec::after {
  content: "";
  display: table;
  clear: both;
}

/* Callouts */
.callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--r-card);
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
}

.callout p {
  margin: 0;
}

.callout .callout__label {
  margin-bottom: 4px;
  color: var(--sky-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.callout--brand {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.callout--brand p {
  color: rgba(255, 255, 255, 0.92);
}

.callout--brand .callout__label {
  color: var(--sky);
}

/* Comparison table */
.table-wrap {
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
}

.compare thead th {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.compare thead th:nth-child(3) {
  background: #0d4a80;
  box-shadow: inset 0 -3px 0 var(--sky);
}

.compare tbody td:first-child {
  color: var(--blue);
  font-weight: 700;
  background: var(--paper);
  white-space: nowrap;
}

.compare tbody td:nth-child(3) {
  background: var(--sky-50);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

/* FAQ accordions: answers stay in the HTML */
.sec--faq .faq {
  margin: 0 0 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-card);
  background: #fff;
  transition: border-color 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

.sec--faq .faq[open] {
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat,
    var(--sky-100);
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 22px 18px;
}

.faq__a p {
  margin: 0;
}

/* Next step box */
.prose .sec--next {
  padding: 4px 28px 10px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--gray-200);
}

.prose .sec--next h2 {
  margin-top: 24px;
}

/* Contact CTA (posts without a brochure form) */
.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 32px;
  margin-top: 56px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(120, 200, 239, 0.28), rgba(120, 200, 239, 0) 70%),
    var(--blue);
  box-shadow: var(--shadow-md);
}

.contact-cta .eyebrow {
  color: var(--sky);
}

.contact-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
}

.contact-cta__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.contact-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn--light,
.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s cubic-bezier(0.4, 0, 0.2, 1), transform 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--light {
  background: #fff;
  color: var(--blue);
}

.btn--light:hover {
  background: var(--sky-200);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Brochure CTA polish (markup unchanged) */
.brochure-cta {
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(120, 200, 239, 0.28), rgba(120, 200, 239, 0) 70%),
    var(--blue);
}

/* Related posts */
.related {
  padding: 56px 0 72px;
  background: var(--paper);
  border-top: 1px solid var(--gray-200);
}

.related h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 3vw, 32px);
}

.related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rel a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-card);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s cubic-bezier(0.4, 0, 0.2, 1), transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.rel a:hover,
.rel a:focus-visible {
  border-color: var(--sky);
  transform: translateY(-1px);
}

.rel__media {
  overflow: hidden;
  background: #0f1b2b;
}

.rel__media img {
  width: 100%;
  height: auto;
  transform: scale(1.04);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rel a:hover .rel__media img,
.rel a:focus-visible .rel__media img {
  transform: scale(1.1);
}

.rel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 20px;
}

.rel h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.rel__more {
  color: var(--sky-600);
  font-size: 0.9rem;
  font-weight: 700;
}

.rel__more::after {
  content: " \2192";
}

@media (max-width: 1100px) {
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--measure);
    margin: 0 auto;
  }

  .post-side {
    display: none;
  }

  .facts {
    max-width: var(--measure);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 800px) {
  .post-hero {
    padding-top: 32px;
  }

  .post-hero .hero {
    margin-top: 28px;
  }

  .facts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fact {
    padding: 16px 16px 14px;
  }

  .related__list {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .prose {
    font-size: 1.0625rem;
  }

  .fig--pair {
    grid-template-columns: 1fr;
  }

  .fig--side {
    float: none;
    width: 70%;
    max-width: 260px;
    margin: 20px auto;
  }

  .prose ul.speclist li {
    padding: 16px 18px 16px 62px;
  }

  .prose ul.speclist li::before {
    left: 16px;
  }

  .prose .sec--next {
    padding: 4px 18px 6px;
  }

  .faq summary {
    padding: 16px 18px;
  }

  .faq__a {
    padding: 0 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rel a,
  .rel__media img,
  .btn--light,
  .btn--ghost,
  .faq summary::after {
    transition: none;
  }
}

/* image-motion.js: video loop layered over the still; still keeps the box size */
figure.im-wrap { position: relative; }
figure.im-wrap > .im-video {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit; opacity: 0; transition: opacity .4s ease;
  pointer-events: none; background: transparent;
}
.post-hero .hero.im-wrap > .im-video { border-radius: 14px; }
.blog-body-img.im-wrap > .im-video { border-radius: 12px; }
figure.im-live > .im-video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { figure.im-wrap > .im-video { display: none; } }

.blog-source {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #5b6b7b;
  text-align: left;
}
