@font-face{font-family:'Outfit';src:url('../fonts/outfit-200.woff2') format('woff2');font-weight:200;font-style:normal;font-display:swap}
@font-face{font-family:'Outfit';src:url('../fonts/outfit-300.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Outfit';src:url('../fonts/outfit-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Outfit';src:url('../fonts/outfit-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Outfit';src:url('../fonts/outfit-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Outfit';src:url('../fonts/outfit-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* ==========================================================================
   VIVASEQ Precision Health
   Design system v0.1
   Single source of truth. Every page loads this file and adds nothing.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   Brand tokens are unchanged from the brandbook. Two text-only variants are
   added because #FFAA00 and #7A8A92 fail WCAG AA as text on white.
   -------------------------------------------------------------------------- */

:root {
  /* Brand colour, unchanged */
  --teal:        #135774;   /* 7.9:1 on white. Passes AA and AAA */
  --aqua:        #75C9C5;   /* 1.9:1 on white. GRAPHIC USE ONLY, never text */
  --aqua-soft:   #C5ECEB;
  --aqua-mist:   #EAF6F5;   /* tinted section and callout backgrounds */
  --body:        #44545C;   /* 7.9:1 on white. Passes */
  --muted:       #7A8A92;   /* 3.6:1. FAILS as text. Borders and icons only */
  --bg:          #FBFCFC;
  --white:       #FFFFFF;
  --accent:      #FFAA00;   /* 1.9:1. FAILS as text. Fills and rules only */

  /* Text-safe variants. Additive, not a rebrand. */
  --muted-text:  #67757D;   /* 4.8:1. Captions, dates, metadata */
  --accent-soft: #FFF2D9;   /* light amber tint for highlights */
  --accent-text: #8A5A00;   /* 6.4:1. Amber-coded link text */

  /* Structure */
  --rule:        #E6ECEE;   /* the 1px hairline. Replaces boxes and shadows */
  --rule-strong: #D3DDE0;

  /* Type scale. Display runs light and tight. That is the brand. */
  --f-display-1: clamp(40px, 6.4vw, 68px);
  --f-display-2: clamp(30px, 4.6vw, 48px);
  --f-display-3: clamp(24px, 3.2vw, 32px);
  --f-standfirst: clamp(18px, 2.1vw, 21px);
  --f-subhead:   19px;
  --f-body:      18px;
  --f-small:     15px;
  --f-meta:      13px;
  --f-eyebrow:   12px;

  /* Spacing scale. Multiples of 4, thinning out at the top. */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px; --s-11: 160px;

  /* Layout */
  --w-page:  1240px;
  --w-text:  68ch;     /* measure cap. Never widen this for body copy */
  --w-rail:  190px;    /* provenance rail on reading pages */
  --gutter:  clamp(24px, 5vw, 64px);

  /* Motion. One direction, once, slow. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  1s;
}

/* --------------------------------------------------------------------------
   2. RESET AND BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body { overflow-x: hidden; }

body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--f-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

::selection { background: var(--aqua); color: var(--teal); }

/* Focus. Visible, high contrast, never removed. */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: var(--white);
  padding: var(--s-3) var(--s-5); font-size: var(--f-small);
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--w-text); }

.hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. TYPE COMPONENTS
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: var(--f-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  row-gap: var(--s-1);
}
.eyebrow::before {
  content: "";
  width: 20px; height: 2px; flex: none;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.eyebrow a:hover { border-bottom-color: var(--aqua); }
.eyebrow .sep { color: var(--muted-text); font-weight: 400; }

.display-1, .display-2, .display-3 {
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}
.display-1 { font-size: var(--f-display-1); font-weight: 200; }
.display-2 { font-size: var(--f-display-2); font-weight: 200; }
.display-3 { font-size: var(--f-display-3); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }

.standfirst {
  font-size: var(--f-standfirst);
  font-weight: 300;
  line-height: 1.55;
  color: var(--body);
  max-width: 60ch;
}

.meta {
  font-size: var(--f-meta);
  color: var(--muted-text);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   5. PROSE
   Article body. Subheads are informative sentences, so they are set at a
   modest size in medium weight rather than as competing display type.
   -------------------------------------------------------------------------- */

.prose { max-width: var(--w-text); }

.prose > * + * { margin-top: var(--s-5); }

.prose h2 {
  font-size: var(--f-subhead);
  font-weight: 500;
  line-height: 1.4;
  color: var(--teal);
  letter-spacing: -0.005em;
  margin-top: var(--s-7);
}

.prose h3 {
  font-size: var(--f-body);
  font-weight: 500;
  color: var(--teal);
  margin-top: var(--s-6);
}

.prose p { hyphens: auto; }

.prose a {
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: background .25s var(--ease);
}
.prose a:hover { background: var(--accent-soft); }

.prose ul, .prose ol { padding-left: var(--s-5); }
.prose li + li { margin-top: var(--s-2); }

.prose strong { font-weight: 600; color: var(--teal); }

/* Reference markers. Superscript, teal, tappable target on mobile. */
.ref {
  font-size: 0.62em;
  vertical-align: super;
  line-height: 0;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  padding: 0 2px;
}
.prose a.ref:hover { background: var(--aqua-mist); }

/* --------------------------------------------------------------------------
   6. SITE HEADER AND FOOTER
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  min-height: 104px;
  padding-block: var(--s-4);
}

.brand { flex: none; }
.brand img { height: 58px; width: auto; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.site-nav a {
  font-size: var(--f-small);
  color: var(--body);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.site-nav a:hover { color: var(--teal); border-bottom-color: var(--aqua); }
.site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }

.lang-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
}
.lang-toggle a {
  font-size: var(--f-meta);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--muted-text);
  text-decoration: none;
  border: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-toggle a[aria-current="true"] { background: var(--teal); color: var(--white); }
.lang-toggle a:not([aria-current="true"]):hover { color: var(--teal); }

.site-footer {
  margin-top: var(--s-10);
  border-top: 1px solid var(--rule);
  padding-block: var(--s-7) var(--s-8);
  font-size: var(--f-small);
}
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) var(--s-7);
  align-items: baseline;
}
.site-footer a { color: var(--body); text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer a:hover { color: var(--teal); border-bottom-color: var(--aqua); }
.site-footer .legal { margin-left: auto; color: var(--muted-text); font-size: var(--f-meta); }

/* --------------------------------------------------------------------------
   7. READING PAGE
   Asymmetric two column grid on wide screens. The provenance rail sits to
   the left of the text and stays visible while reading, because visible
   sourcing is the brand's argument, not a footnote.
   -------------------------------------------------------------------------- */

.reading {
  padding-top: var(--s-8);
}

.reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
}

.rail { border-top: 1px solid var(--rule); padding-top: var(--s-4); }
.rail dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); }
.rail dt {
  font-size: var(--f-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-text);
}
.rail dd { font-size: var(--f-meta); color: var(--body); }
.rail .tags { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.rail .tags a {
  font-size: var(--f-meta);
  color: var(--teal);
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 3px 11px;
  transition: background .25s var(--ease);
}
.rail .tags a:hover { background: var(--aqua-mist); }

@media (min-width: 1040px) {
  .reading-grid {
    grid-template-columns: var(--w-rail) minmax(0, var(--w-text));
    gap: var(--s-8);
    align-items: start;
  }
  .rail { position: sticky; top: var(--s-6); }
  .rail dl { grid-template-columns: 1fr; gap: var(--s-1); }
  .rail dl > dd + dt { margin-top: var(--s-4); }
}

.article-header { max-width: var(--w-text); }
.article-header .display-1 { margin-top: var(--s-4); }
.article-header .standfirst { margin-top: var(--s-5); }
.article-header .byline {
  margin-top: var(--s-6);
  padding-block: var(--s-3);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: var(--f-meta);
  color: var(--muted-text);
}
.article-header .byline a { color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--aqua); }
.article-body { margin-top: var(--s-7); }

/* --------------------------------------------------------------------------
   8. PATIENT BOX
   The bridge between the clinician reader and the lay reader.
   Flat tint, hairline accent, no shadow, no rounded card.
   -------------------------------------------------------------------------- */

.patient-box {
  margin-top: var(--s-7);
  background: var(--aqua-mist);
  border-left: 3px solid var(--aqua);
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6);
  max-width: var(--w-text);
}
.patient-box h2 {
  margin: 0 0 var(--s-3);
  font-size: var(--f-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
}
.patient-box p { font-size: var(--f-small); line-height: 1.65; }
.patient-box p + p { margin-top: var(--s-3); }

@media (min-width: 1040px) {
  /* Pulls the box a little into the left gutter so it reads as an aside,
     not as an interruption in the column. */
  .patient-box { margin-left: calc(var(--s-6) * -1); }
}

/* --------------------------------------------------------------------------
   9. FIGURES AND DIAGRAMS
   -------------------------------------------------------------------------- */

.figure {
  margin-top: var(--s-7);
  max-width: var(--w-text);
}
/* On narrow screens an SVG that scales to fit renders its labels at 6px.
   Scroll it instead, and keep the type legible. */
.figure-scroll { overflow-x: auto; padding-bottom: var(--s-2); }
.figure svg { width: 100%; height: auto; min-width: 560px; }
.figure figcaption {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: var(--f-meta);
  color: var(--muted-text);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. REFERENCES AND DISCLAIMER
   -------------------------------------------------------------------------- */

.references {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--teal);
  max-width: var(--w-text);
}
.references h2 {
  font-size: var(--f-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: var(--s-4);
}
.references ol { list-style: none; counter-reset: r; }
.references li {
  counter-increment: r;
  position: relative;
  padding-left: var(--s-6);
  font-size: var(--f-small);
  line-height: 1.6;
  color: var(--body);
}
.references li + li { margin-top: var(--s-4); }
.references li::before {
  content: counter(r);
  position: absolute; left: 0; top: 1px;
  font-size: var(--f-meta);
  font-weight: 600;
  color: var(--teal);
}
.references a { color: var(--accent-text); text-decoration: none; border-bottom: 1px solid var(--accent); }
.references a:hover { background: var(--accent-soft); }
.references .src { display: block; color: var(--muted-text); font-size: var(--f-meta); margin-top: 2px; }

.disclaimer {
  margin-top: var(--s-7);
  max-width: var(--w-text);
  font-size: var(--f-meta);
  color: var(--muted-text);
  line-height: 1.6;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   11. EDITORIAL LIST
   Used on the homepage and the archive. Designed to look deliberate at
   three items, because that is what launch day looks like.
   -------------------------------------------------------------------------- */

.entry-list { border-top: 1px solid var(--rule); }

.entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.entry .kicker {
  font-size: var(--f-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
}
.entry h3 { font-size: var(--f-display-3); font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }
.entry h3 a { color: var(--teal); text-decoration: none; }
.entry h3 a:hover { color: var(--teal); text-decoration: underline; text-decoration-color: var(--aqua); }
.entry p { font-size: var(--f-small); color: var(--body); max-width: 62ch; }

@media (min-width: 900px) {
  .entry { grid-template-columns: var(--w-rail) 1fr; gap: var(--s-2) var(--s-8); padding-block: var(--s-6); }
  .entry .kicker { grid-column: 1; grid-row: 1; }
  .entry .entry-meta { grid-column: 1; grid-row: 2; }
  .entry h3, .entry p { grid-column: 2; }
  .entry h3 { grid-row: 1; }
  .entry p { grid-row: 2; }
}

/* --------------------------------------------------------------------------
   12. ACTIONS
   Amber is the fill. Amber is never the text colour on white.
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--f-small); font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--teal); color: var(--white); }
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--solid { background: var(--teal); color: var(--white); }
.btn--solid:hover { background: var(--white); color: var(--teal); border-color: var(--teal); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--f-small);
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--aqua);
  padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--teal); }

/* --------------------------------------------------------------------------
   13. DARK BAND
   The only inverted surface. Rare, so it registers as a destination.
   -------------------------------------------------------------------------- */

.band-dark {
  background: var(--teal);
  color: var(--aqua-soft);
  padding-block: var(--s-9);
}
.band-dark h2 { color: var(--white); }
.band-dark a.btn { border-color: var(--aqua); color: var(--white); }
.band-dark a.btn:hover { background: var(--aqua-soft); color: var(--teal); }

/* --------------------------------------------------------------------------
   14. MOTION
   Entry only. Never loops. Never inside the reading column, because movement
   in peripheral vision while reading is a legibility problem.
   -------------------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.rise { animation: rise var(--dur) var(--ease) both; }
.rise-1 { animation-delay: .1s; }
.rise-2 { animation-delay: .3s; }
.rise-3 { animation-delay: .5s; }
.rise-4 { animation-delay: .7s; }

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

/* --------------------------------------------------------------------------
   15. PRINT
   Clinicians print guideline items. Make that work properly.
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .rail .tags, .band-dark { display: none; }
  body { background: #fff; font-size: 11pt; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 9pt; color: var(--body); }
  .references, .patient-box { break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   16. HOMEPAGE AND SHARED SECTION LAYOUT
   The 190px left rail is the structural motif of the whole site. It carries
   the section label on the homepage and the provenance data on articles,
   which is what makes the pages feel like one system rather than one theme.
   -------------------------------------------------------------------------- */

.railed { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 1040px) {
  .railed { grid-template-columns: var(--w-rail) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
}
.rail-label {
  font-size: var(--f-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 6px;
}

.section { padding-block: var(--s-9); }
.section + .section { border-top: 1px solid var(--rule); }

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 150px) clamp(64px, 10vw, 128px);
  border-bottom: 1px solid var(--rule);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero .display-1 { max-width: 18ch; margin-top: var(--s-5); }
.hero .standfirst { margin-top: var(--s-6); }

.newsletter { padding-block: var(--s-8); border-top: 1px solid var(--rule); }
.newsletter form { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-5); }
.newsletter input[type="email"] {
  font-family: inherit; font-size: var(--f-small);
  padding: 12px 18px; min-width: 250px;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  color: var(--body); background: var(--white);
}
.newsletter input[type="email"]::placeholder { color: var(--muted-text); }
.newsletter .consent {
  flex-basis: 100%; max-width: 62ch;
  font-size: var(--f-meta); color: var(--muted-text); line-height: 1.6;
}
.newsletter .consent a { color: var(--teal); }

/* --------------------------------------------------------------------------
   17. WHAT IS PRECISION MEDICINE
   -------------------------------------------------------------------------- */

.concept-figure { margin-top: var(--s-7); }
.concept-figure .figure-scroll { overflow-x: auto; }
.concept-figure svg { width: 100%; height: auto; min-width: 600px; }

/* --------------------------------------------------------------------------
   18. WHO WE SERVE
   Four columns divided by hairlines, not four cards. On hover the column
   lifts out of the tint to white and the content scales very slightly.
   Information only, so nothing here is a link.
   -------------------------------------------------------------------------- */

.serve { background: var(--aqua-mist); border-block: 1px solid var(--rule); }
.serve .serve-head { padding-bottom: var(--s-7); }

.serve-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 760px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .serve-grid { grid-template-columns: repeat(4, 1fr); } }

.serve-item {
  padding: var(--s-6) var(--s-5) var(--s-7);
  border-bottom: 1px solid var(--rule-strong);
  transition: background .45s var(--ease);
}
@media (min-width: 760px) {
  .serve-item { border-right: 1px solid var(--rule-strong); }
  .serve-item:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .serve-item { border-right: 1px solid var(--rule-strong); border-bottom: 0; }
  .serve-item:nth-child(2n) { border-right: 1px solid var(--rule-strong); }
  .serve-item:last-child { border-right: 0; }
}
.serve-item:hover { background: var(--white); }

.serve-inner {
  transition: transform .55s var(--ease);
  transform-origin: left top;
}
.serve-item:hover .serve-inner { transform: scale(1.035); }

.serve-item .num {
  font-size: var(--f-meta);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted-text);
  transition: color .45s var(--ease);
}
.serve-item:hover .num { color: var(--accent-text); }

.serve-item h3 {
  margin-top: var(--s-4);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--teal);
  transition: color .45s var(--ease);
}
.serve-item:hover h3 { color: var(--teal); }

.serve-item .bar {
  margin-top: var(--s-4);
  height: 2px; width: 22px;
  background: var(--aqua);
  transition: width .55s var(--ease), background .45s var(--ease);
}
.serve-item:hover .bar { width: 56px; background: var(--accent); }

.serve-item p { margin-top: var(--s-4); font-size: var(--f-small); line-height: 1.6; }

/* --------------------------------------------------------------------------
   19. CLINICAL AREAS
   Marks are drawn from the arc and node language of the logo, so they belong
   to this brand rather than to a generic icon set.
   -------------------------------------------------------------------------- */

.areas-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-7); }
@media (min-width: 620px) { .areas-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-7) var(--s-6); } }
@media (min-width: 1100px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }

.area { border-top: 1px solid var(--teal); padding-top: var(--s-4); }
.area svg { width: 46px; height: 46px; }
.area h3 {
  margin-top: var(--s-4);
  font-size: var(--f-body);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.005em;
}
.area p { margin-top: var(--s-2); font-size: var(--f-small); line-height: 1.6; }

/* --------------------------------------------------------------------------
   20. ARTICLE TABLES
   Clinicians read tables and print them. A real HTML table beats an image:
   it works with JavaScript off, at 200% zoom, and in a screen reader.
   -------------------------------------------------------------------------- */

.table-wrap { margin-top: var(--s-7); max-width: var(--w-text); overflow-x: auto; }
@media (min-width: 1040px) {
  /* Lets a wide table breathe past the reading measure without breaking it. */
  .table-wrap--wide { max-width: calc(var(--w-text) + 150px); margin-left: calc(var(--s-6) * -1); }
}
table.data {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
  font-size: var(--f-small);
}
table.data caption {
  caption-side: bottom; text-align: left;
  margin-top: var(--s-4); padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: var(--f-meta); color: var(--muted-text); line-height: 1.55;
}
table.data th, table.data td {
  text-align: left; vertical-align: top;
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
table.data thead th {
  font-size: var(--f-eyebrow); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); border-bottom: 1px solid var(--teal);
  padding-bottom: var(--s-3);
}
table.data tbody th { font-weight: 500; color: var(--teal); padding-right: var(--s-5); }
table.data tbody tr:hover { background: var(--aqua-mist); }

/* --------------------------------------------------------------------------
   21. GLOSSARY BLOCK
   -------------------------------------------------------------------------- */

.glossary {
  margin-top: var(--s-7); max-width: var(--w-text);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding-block: var(--s-5);
}
.glossary h2 {
  font-size: var(--f-eyebrow); letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; color: var(--teal); margin-bottom: var(--s-4);
}
.glossary dl { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .glossary dl { grid-template-columns: 190px 1fr; gap: var(--s-3) var(--s-6); } }
.glossary dt { font-size: var(--f-small); font-weight: 500; color: var(--teal); }
.glossary dd { font-size: var(--f-small); line-height: 1.6; color: var(--body); }


/* --------------------------------------------------------------------------
   22. SHARED CHROME
   Header and footer identical to the homepage, so the site reads as one
   property rather than as a landing page plus a separate publication.
   Selectors are scoped to #nav so they never touch the breadcrumb nav.
   -------------------------------------------------------------------------- */

#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}
#nav.scrolled { border-bottom-color: var(--rule); padding: 12px 64px; }

#nav .logo-link { text-decoration: none; display: inline-flex; align-items: center; line-height: 1; }
#nav .logo-nav { height: 38px; width: auto; display: block; object-fit: contain; }

#nav .nav-right { display: flex; align-items: center; gap: 24px; }
#nav .nav-links { display: flex; align-items: center; gap: 26px; }
#nav .nav-links a {
  font-size: 14px; color: var(--body); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
#nav .nav-links a:hover { color: var(--teal); border-bottom-color: var(--aqua); }
#nav .nav-links a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }

#nav .lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 999px; padding: 3px;
}
#nav .lang-toggle a {
  font-family: inherit; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; padding: 7px 14px; border-radius: 999px;
  color: var(--muted-text); text-decoration: none; border: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
#nav .lang-toggle a.active { background: var(--teal); color: var(--white); }
#nav .lang-toggle a:not(.active):hover { color: var(--teal); }

#nav .nav-cta {
  text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--teal); padding: 11px 22px;
  border: 1px solid var(--teal); border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
#nav .nav-cta:hover { background: var(--teal); color: var(--white); }

/* Fixed bar, so the reading column starts below it. */
.reading { padding-top: 130px; }

/* Footer, identical structure to the homepage. */
.site-footer {
  margin-top: var(--s-10);
  padding: 44px 0 30px;
  border-top: 1px solid var(--rule);
  background: var(--white);
}
.site-footer .footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 40px; align-items: start; text-align: left; margin-bottom: 0;
}
.site-footer .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-footer .logo-footer { height: 74px; width: auto; display: block; object-fit: contain; margin: 0; }
.site-footer .footer-tagline {
  font-size: 14px; line-height: 1.6; color: var(--muted-text);
  font-style: italic; margin: 0; max-width: 34ch;
}
.site-footer .footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer .footer-col h4 {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--teal); margin: 0 0 6px;
}
.site-footer .footer-col a, .site-footer .footer-col .line {
  font-size: 14.5px; color: var(--body); text-decoration: none; line-height: 1.5;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.site-footer .footer-col .dim { color: var(--muted-text); border: 0; }
.site-footer .footer-col a:hover { color: var(--teal); border-bottom-color: var(--aqua); }
.site-footer .footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted-text);
}

@media (max-width: 980px) {
  #nav, #nav.scrolled { padding: 14px 24px; }
  #nav .nav-cta { display: none; }
  #nav .nav-links { gap: 18px; }
  .reading { padding-top: 106px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  #nav .logo-nav { height: 30px; }
  #nav .nav-links { gap: 14px; }
  #nav .nav-links a { padding: 12px 0 3px; }
}
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   23. ARCHIVE
   Cards match the homepage so the two pages read as one publication.
   Filters are buttons, so they work by keyboard and announce their state.
   -------------------------------------------------------------------------- */

/* Centred like the Mreža hero (home.css .net-hero), same weight and amber accent. */
.archive-head { padding-top: 0; text-align: center; }
.archive-head .eyebrow { justify-content: center; }
.archive-head .display-1 { margin: var(--s-4) auto 0; max-width: 20ch; font-weight: 300; }
.archive-head .standfirst { margin: var(--s-5) auto 0; }
.accent-word {
  font-weight: 400; position: relative; display: inline-block; white-space: nowrap; z-index: 1;
}
.accent-word::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 4px; height: 12px;
  background: var(--accent); opacity: 0.55; border-radius: 4px; transform: skewX(-8deg); z-index: -1;
}
@media (max-width: 980px) { .accent-word::after { height: 8px; bottom: 2px; opacity: 0.4; } }

.filters { margin-top: var(--s-8); border-top: 1px solid var(--rule); padding-top: var(--s-5); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.filter-row + .filter-row { margin-top: var(--s-4); }
.filter-row .filter-label {
  font-size: var(--f-eyebrow); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-text);
  width: 74px; flex: none;
}
.chip {
  font-family: inherit; font-size: var(--f-small); line-height: 1;
  padding: 9px 17px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--body);
  border: 1px solid var(--rule-strong);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--aqua); color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
@media (max-width: 560px) {
  .filters { margin-top: var(--s-6); padding-top: var(--s-4); }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; gap: var(--s-2); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 2px 0; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row + .filter-row { margin-top: var(--s-3); }
  .filter-row .filter-label { width: 62px; }
  .chip { flex: none; white-space: nowrap; font-size: 14px; padding: 10px 14px; }
}

.result-count { margin-top: var(--s-6); font-size: var(--f-meta); color: var(--muted-text); }

.k-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: var(--s-5);
}
@media (min-width: 860px) { .k-grid { grid-template-columns: repeat(2, 1fr); } }

.k-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 20px; padding: 28px 26px 26px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.k-card:hover {
  transform: translateY(-4px);
  border-color: var(--aqua);
}
.k-card .k-kicker {
  font-size: var(--f-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--teal);
}
.k-card .k-meta { font-size: var(--f-meta); color: var(--muted-text); margin-top: 6px; }
.k-card .k-title {
  font-size: 21px; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em;
  color: var(--teal); margin-top: 14px; transition: color .3s var(--ease);
}
.k-card:hover .k-title { color: var(--teal); }
.k-card .k-rule {
  height: 2px; width: 24px; background: var(--aqua); margin-top: 16px;
  transition: width .5s var(--ease), background .4s var(--ease);
}
.k-card:hover .k-rule { width: 54px; background: var(--accent); }
.k-card .k-sum { font-size: var(--f-small); line-height: 1.6; color: var(--body); margin-top: 14px; }
.k-card .k-more {
  margin-top: auto; padding-top: 20px; font-size: var(--f-meta); color: var(--teal);
  display: inline-flex; align-items: center; gap: 8px;
}
.k-card .k-more svg { transition: transform .35s var(--ease); }
.k-card:hover .k-more svg { transform: translateX(4px); }

.k-card[hidden] { display: none; }
.filter-row[hidden] { display: none; }

.empty-state {
  margin-top: var(--s-6); padding: var(--s-7) var(--s-6);
  border: 1px dashed var(--rule-strong); border-radius: 20px;
  text-align: center; color: var(--muted-text); font-size: var(--f-small);
}

/* Archive pager: six cards per page, built by the archive script; hidden without scripts so every card shows. */
.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.pager[hidden] { display: none; }
.pager-pages { display: flex; gap: var(--s-2); }
.pager-num, .pager-step {
  font-family: inherit; font-size: var(--f-small); line-height: 1;
  min-height: 44px; cursor: pointer;
}
.pager-num {
  min-width: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--white); color: var(--body); border: 1px solid var(--rule-strong);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pager-num:hover { border-color: var(--aqua); color: var(--teal); }
.pager-num[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: var(--white); cursor: default; }
.pager-step {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0 var(--s-3); background: none; border: 0; color: var(--teal);
}
.pager-step span { border-bottom: 1px solid var(--aqua); padding-bottom: 2px; }
.pager-step:hover span { border-bottom-color: var(--teal); }
.pager-step:disabled { color: var(--muted-text); opacity: .45; cursor: default; }
.pager-step:disabled span { border-bottom-color: transparent; }
