/*
Theme Name: Noviota
Theme URI: https://noviota.online/
Author: RAAJE FUSION
Author URI: https://www.raajefusion.com/
Description: Custom theme for Noviota Oy — a private biotechnology company designing programmable cellular systems for infectious disease across human and animal health. Clean editorial design, DM Sans typography, deep navy accent.
Version: 1.0.1
License: All rights reserved
Text Domain: noviota
*/


  :root {
    --bg: #ffffff;
    --surface: #f6f7f8;
    --ink: #0d0d0d;
    --ink-soft: #2a2a2a;
    --muted: #595959;
    --rule: #e5e7eb;
    --rule-soft: #f0f2f4;
    --blue: #15326b;
    --blue-deep: #0c2150;
    --blue-soft: #eef2f8;
    --dark-accent: #c8cdd4;
    --dark: #0d0d0d;
    --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max: 1180px;
    --max-text: 720px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  .container {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
  }

  /* ============ HEADER ============ */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
  }
  .nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    display: inline-flex;
    align-items: flex-start;
    gap: 3px;
    line-height: 1;
  }
  .logo-wordmark {
    line-height: 1;
  }
  .logo-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 3px;
  }
  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 1.5px solid transparent;
    transition: color 0.15s, border-color 0.15s;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--blue);
    border-bottom-color: var(--blue);
  }
  .nav-cta {
    background: var(--ink);
    color: var(--bg) !important;
    padding: 9px 18px !important;
    border-radius: 2px;
    border: none !important;
    font-size: 0.84rem;
    font-weight: 500;
    transition: background 0.15s;
  }
  .nav-cta:hover {
    background: var(--blue) !important;
    border: none !important;
  }
  /* Hamburger toggle — hidden on desktop, shown on mobile */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  @media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-header .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--rule);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
      padding: 6px 0;
    }
    .site-header.nav-open .nav-links { display: flex; }
    .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-links li { width: 100%; }
    .nav-links a {
      display: block;
      padding: 13px 24px;
      border-bottom: none;
    }
    .nav-links a:hover,
    .nav-links a[aria-current="page"] {
      color: var(--blue);
      border-bottom-color: transparent;
      background: var(--blue-soft);
    }
  }

  /* CookieAdmin — match the primary buttons to the brand navy (the logo dot).
     The plugin sets these colours inline, so !important is required. */
  .cookieadmin_btn.cookieadmin_accept_btn,
  .cookieadmin_btn.cookieadmin_save_btn {
    background-color: #15326b !important;
    border-color: #15326b !important;
    color: #ffffff !important;
  }
  .cookieadmin_btn.cookieadmin_accept_btn:hover,
  .cookieadmin_btn.cookieadmin_save_btn:hover {
    background-color: #0c2150 !important;
    border-color: #0c2150 !important;
  }

  /* ============ HERO ============ */
  .hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--rule);
  }
  .hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 32px;
    max-width: 900px;
  }
  .hero-lede {
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 600px;
    margin-bottom: 48px;
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 2px;
    border: 1.5px solid var(--ink);
    background: var(--ink);
    color: var(--bg);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    cursor: pointer;
  }
  .btn:hover { background: var(--blue); border-color: var(--blue); }
  .btn--ghost { background: transparent; color: var(--ink); }
  .btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .arrow { transition: transform 0.15s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============ FEATURE STRIP ============ */
  .feature-strip {
    background: var(--ink);
    color: var(--bg);
    padding: 64px 0;
  }
  .feature-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
  }
  @media (max-width: 760px) {
    .feature-strip-grid { grid-template-columns: 1fr; gap: 28px; }
  }
  .feature-strip-item {
    border-top: 1px solid #2a2a2a;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
  }
  .feature-strip-item .num {
    color: var(--dark-accent);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
  }
  .feature-strip-item h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }
  .feature-strip-item p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .feature-strip-item a {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.82rem;
    color: var(--dark-accent);
    border-bottom: 1px solid var(--dark-accent);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
  }
  .feature-strip-item a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
  }

  /* ============ SECTION BASE ============ */
  .section { padding: 88px 0; }
  .section--bordered { border-bottom: 1px solid var(--rule); }
  .section--surface {
    background: var(--surface);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .section-eyebrow {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
  }
  .section-title {
    font-size: clamp(1.85rem, 3.6vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 760px;
    color: var(--ink);
  }
  .section-intro {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 620px;
    margin-bottom: 52px;
  }

  /* ============ HOMEPAGE: WHAT WE DO PREVIEW ============ */
  .what-we-do {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
  @media (max-width: 800px) {
    .what-we-do { grid-template-columns: 1fr; gap: 40px; }
  }
  .what-we-do-text p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-size: 1rem;
  }
  .what-we-do-text p strong { color: var(--ink); font-weight: 600; }

  .what-we-do-list {
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--rule);
  }
  .what-we-do-list li {
    padding: 22px 24px;
    border-bottom: 1px solid var(--rule);
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .what-we-do-list li:last-child { border-bottom: none; }
  .what-we-do-list .marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--blue);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 50%;
  }
  .what-we-do-list h4 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
  }
  .what-we-do-list p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
  }

  /* ============ STATEMENT (dark) ============ */
  .statement {
    padding: 110px 0;
    background: var(--dark);
    color: var(--bg);
  }
  .statement-body {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.4;
    font-weight: 400;
    max-width: 880px;
    letter-spacing: -0.005em;
  }
  .statement-body .accent { color: var(--dark-accent); font-weight: 500; }
  .statement-cite {
    margin-top: 32px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #808080;
    font-weight: 500;
  }

  /* ============ LATEST WRITING ============ */
  .latest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 44px;
  }
  @media (max-width: 760px) {
    .latest-grid { grid-template-columns: 1fr; }
  }
  .latest-card {
    background: var(--bg);
    border: 1px solid var(--rule);
    padding: 30px;
    transition: border-color 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
  }
  .latest-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
  }
  .latest-card .meta {
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    font-weight: 500;
  }
  .latest-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .latest-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  .latest-card .read-more {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.82rem;
    color: var(--blue);
    font-weight: 500;
    border-bottom: 1px solid var(--blue);
    padding-bottom: 1px;
  }

  /* ============ INNER PAGE HEADER ============ */
  .page-header {
    padding: 88px 0 56px;
    border-bottom: 1px solid var(--rule);
  }
  .page-header .eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 24px;
  }
  .page-header h1 {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 22px;
    max-width: 860px;
  }
  .page-header .subtitle {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 640px;
    line-height: 1.5;
  }

  /* ============ PROSE ============ */
  .prose { max-width: var(--max-text); }
  .prose h2 {
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 44px 0 16px;
    line-height: 1.2;
    color: var(--ink);
  }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 26px 0 10px;
    color: var(--ink);
  }
  .prose p {
    margin-bottom: 16px;
    color: var(--ink-soft);
    font-size: 1.02rem;
  }
  .prose p strong { color: var(--ink); font-weight: 600; }
  .prose .layer {
    margin-bottom: 18px;
    padding-left: 20px;
    border-left: 2px solid var(--blue);
  }
  .prose .layer strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
  }

  /* ============ PARTNERS ============ */
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    margin-top: 40px;
  }
  @media (max-width: 700px) {
    .partners-grid { grid-template-columns: 1fr; }
  }
  .partner-card {
    padding: 32px 28px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
  }
  .partner-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .partner-card p {
    font-size: 0.96rem;
    color: var(--ink-soft);
    line-height: 1.55;
  }
  .partner-cta {
    margin-top: 48px;
    padding: 36px;
    background: var(--ink);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
  }
  .partner-cta h3 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
  }
  .partner-cta p {
    color: #a0a0a0;
    font-size: 0.94rem;
  }
  .partner-cta .btn {
    background: var(--blue);
    border-color: var(--blue);
  }
  .partner-cta .btn:hover {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
  }

  /* ============ WRITING ============ */
  /* Insights category filter */
  .insights-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
  }
  .insights-filter .filter-pill {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
    border: 1px solid var(--rule);
    border-radius: 100px;
    padding: 7px 16px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .insights-filter .filter-pill:hover {
    border-color: var(--blue);
    color: var(--blue);
  }
  .insights-filter .filter-pill.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
  }

  .writing-list { list-style: none; max-width: var(--max-text); }
  .writing-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--rule);
  }
  .writing-item:first-child { padding-top: 0; }
  .writing-item .meta {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 500;
  }
  .writing-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
  }
  .writing-item h3 a:hover { color: var(--blue); }
  .writing-item p { color: var(--ink-soft); }

  /* Featured writing block */
  .writing-featured {
    padding: 36px 40px;
    background: var(--surface);
    border-left: 3px solid var(--blue);
    margin-bottom: 56px;
    max-width: 900px;
  }
  .writing-featured .featured-label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--blue);
    margin-bottom: 12px;
  }
  .writing-featured .meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 14px;
    font-weight: 500;
  }
  .writing-featured h2 {
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--ink);
  }
  .writing-featured h2 a:hover { color: var(--blue); }
  .writing-featured .excerpt {
    color: var(--ink-soft);
    font-size: 1.04rem;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 640px;
  }
  .writing-featured .featured-cta {
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
    padding-bottom: 1px;
  }
  .writing-list-header {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    max-width: var(--max-text);
  }

  /* ============ ARTICLE PAGE ============ */
  .article-wrap {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    max-width: calc(720px + 220px + 64px);
    margin: 0 auto;
    padding: 64px 24px 96px;
  }
  @media (max-width: 900px) {
    .article-wrap {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 48px 24px 64px;
    }
  }
  .article-wrap--toc-right {
    grid-template-columns: 1fr 220px;
  }
  @media (max-width: 900px) {
    .article-wrap--toc-right { grid-template-columns: 1fr; }
  }
  .article-toc {}
  @media (min-width: 901px) {
    .article-toc {
      position: sticky;
      top: 100px;
      align-self: start;
      max-height: calc(100vh - 130px);
      overflow-y: auto;
    }
  }
  .article-toc h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .article-toc ul { list-style: none; }
  .article-toc li { margin-bottom: 8px; }
  .article-toc a {
    font-size: 0.84rem;
    color: var(--ink-soft);
    line-height: 1.4;
    border-left: 2px solid var(--rule);
    padding-left: 12px;
    display: block;
    transition: color 0.15s, border-color 0.15s;
  }
  .article-toc a:hover,
  .article-toc a.active {
    color: var(--blue);
    border-left-color: var(--blue);
  }

  .article-main { max-width: 720px; min-width: 0; }
  .article-breadcrumb {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
  }
  .article-breadcrumb a { color: var(--ink-soft); }
  .article-breadcrumb a:hover { color: var(--blue); }
  .article-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--ink);
  }
  .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.76rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 36px;
    font-weight: 500;
  }
  .article-meta span { display: inline-flex; align-items: center; gap: 8px; }
  .article-meta span + span::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--blue);
    border-radius: 50%;
    margin-right: 4px;
  }

  .article-lede {
    font-size: 1.18rem;
    line-height: 1.55;
    color: var(--ink);
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
    font-weight: 400;
  }
  .article-lede em { color: var(--ink); font-style: italic; }

  /* Featured image on single articles */
  .article-featured-image {
    margin: 0 0 36px;
  }
  .article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
  }
  .article-featured-image figcaption {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 10px;
    letter-spacing: 0.02em;
  }

  /* "More from Insights" related posts */
  .article-more {
    border-top: 1px solid var(--rule);
    background: var(--bg-soft, #f7f7f5);
  }
  .article-more-inner {
    max-width: calc(720px + 220px + 64px);
    margin: 0 auto;
    padding: 56px 24px 72px;
  }
  .article-more-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
  }
  .article-more-head h2 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .article-more-all {
    font-size: 0.85rem;
    color: var(--blue);
    white-space: nowrap;
  }
  .article-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  @media (max-width: 760px) {
    .article-more-grid { grid-template-columns: 1fr; gap: 20px; }
  }
  .article-more-card {
    display: block;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 3px;
    transition: border-color 0.15s, transform 0.15s;
  }
  .article-more-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
  }
  .article-more-card .meta {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 10px;
  }
  .article-more-card h3 {
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 10px;
  }
  .article-more-card p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .article-more-card .read-more {
    font-size: 0.82rem;
    color: var(--blue);
  }

  .article-body h2 {
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink);
    margin: 56px 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
    scroll-margin-top: 100px;
  }
  .article-body h2 .roman {
    color: var(--blue);
    font-weight: 500;
    margin-right: 10px;
    font-variant-numeric: tabular-nums;
  }
  .article-body p {
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 20px;
  }
  .article-body p strong { color: var(--ink); font-weight: 600; }
  .article-body em { font-style: italic; }
  .article-body blockquote {
    margin: 28px 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--blue);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink);
  }
  .article-body a {
    color: var(--blue);
    border-bottom: 1px solid var(--blue-soft);
    transition: border-color 0.15s;
  }
  .article-body a:hover { border-bottom-color: var(--blue); }

  .article-references {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
  }
  .article-references h2 {
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
    color: var(--ink);
  }
  .article-references ol {
    list-style: none;
    counter-reset: ref;
  }
  .article-references li {
    counter-increment: ref;
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--rule-soft);
  }
  .article-references li:last-child { border-bottom: none; }
  .article-references li::before {
    content: counter(ref) ".";
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 0.78rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
  }
  .article-references em { font-style: italic; }
  .article-references a { color: var(--blue); border-bottom: 1px solid var(--blue-soft); }
  .article-references a:hover { border-bottom-color: var(--blue); }

  /* Share links */
  .article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }
  .article-share .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 600;
  }
  .article-share a { color: var(--blue); font-size: 0.88rem; border-bottom: 1px solid var(--blue-soft); }
  .article-share a:hover { border-bottom-color: var(--blue); }

  /* Key takeaways box */
  .article-takeaways {
    margin: 40px 0;
    padding: 30px 36px;
    background: var(--surface);
    border-left: 3px solid var(--blue);
  }
  .article-takeaways .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 16px;
  }
  .article-takeaways ul { list-style: none; margin: 0; padding: 0; }
  .article-takeaways li {
    position: relative;
    padding: 0 0 14px 22px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--ink-soft);
  }
  .article-takeaways li:last-child { padding-bottom: 0; }
  .article-takeaways li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
  }

  /* Article Q&A */
  .article-qa {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
  }
  .article-qa h2 {
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .article-qa .faq-list { margin-top: 16px; }

  .article-newsletter {
    margin-top: 64px;
    padding: 36px;
    background: var(--surface);
    border-left: 3px solid var(--blue);
  }
  .article-newsletter h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .article-newsletter .nb-intro {
    font-size: 0.98rem;
    color: var(--ink-soft);
    margin-bottom: 22px;
    line-height: 1.55;
  }
  .article-newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
  }
  @media (max-width: 600px) {
    .article-newsletter-form { grid-template-columns: 1fr; }
  }
  .article-newsletter-form input {
    font-family: var(--sans);
    font-size: 0.96rem;
    padding: 11px 14px;
    border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--ink);
    border-radius: 2px;
  }
  .article-newsletter-form input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21, 50, 107, 0.12);
  }
  .article-newsletter-form button {
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 500;
    padding: 11px 22px;
    background: var(--ink);
    color: var(--bg);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s;
  }
  .article-newsletter-form button:hover { background: var(--blue); }
  .newsletter-note {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 12px;
  }
  .newsletter-status {
    margin-top: 14px;
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: 2px;
    display: none;
  }
  .newsletter-status.success {
    display: block;
    background: var(--blue-soft);
    color: var(--blue-deep);
    border-left: 3px solid var(--blue);
  }
  .newsletter-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #dc2626;
  }

  .article-byline {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
  }
  .article-byline .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 600;
  }
  .article-byline p {
    font-size: 0.98rem;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: var(--max-text);
  }

  /* ============ CONTACT FORM ============ */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    max-width: 1000px;
  }
  @media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  .contact-meta h3 {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blue);
    margin-bottom: 12px;
  }
  .contact-meta p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-size: 0.98rem;
  }
  .contact-meta .email-direct {
    display: block;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }
  .contact-meta .email-direct a {
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
  }
  .contact-meta .email-direct a:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
  }

  .contact-form {
    background: var(--surface);
    border: 1px solid var(--rule);
    padding: 32px;
  }
  .form-row {
    margin-bottom: 18px;
  }
  .form-row label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .form-row label .req {
    color: var(--blue);
    font-weight: 500;
    margin-left: 2px;
  }
  .form-row input,
  .form-row textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 1rem;
    padding: 11px 14px;
    border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--ink);
    border-radius: 2px;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .form-row input:focus,
  .form-row textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21, 50, 107, 0.15);
  }
  .form-row textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
  }
  .form-submit-row {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .contact-form button[type="submit"] {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 13px 30px;
    background: var(--ink);
    color: var(--bg);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
  }
  .contact-form button[type="submit"]:hover {
    background: var(--blue);
    transform: translateY(-1px);
  }
  .form-note {
    font-size: 0.78rem;
    color: var(--muted);
  }
  .form-status {
    margin-top: 14px;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 2px;
    display: none;
  }
  .form-status.success {
    display: block;
    background: var(--blue-soft);
    color: var(--blue-deep);
    border-left: 3px solid var(--blue);
  }
  .form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #dc2626;
  }

  /* ============ SITEMAP PAGE ============ */
  .sitemap-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
  }
  @media (max-width: 700px) {
    .sitemap-page-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .sitemap-page-grid { grid-template-columns: 1fr; }
  }
  .sitemap-page-group h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blue);
    margin-bottom: 14px;
    font-weight: 600;
  }
  .sitemap-page-group ul { list-style: none; }
  .sitemap-page-group li { margin-bottom: 10px; }
  .sitemap-page-group a {
    color: var(--ink-soft);
    font-size: 0.96rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
  }
  .sitemap-page-group a:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
  }

  /* ============ LEGAL PAGE ============ */
  .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
  }
  .legal-nav a {
    font-size: 0.82rem;
    color: var(--ink-soft);
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 2px;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
  }
  .legal-nav a:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: var(--blue-soft);
  }
  .legal-section {
    max-width: none;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--rule);
    scroll-margin-top: 100px;
  }
  .legal-section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
  }
  .legal-section h2 {
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .legal-section .updated {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
  }
  .legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 26px 0 8px;
  }
  .legal-section p {
    margin-bottom: 14px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
  }
  .legal-section ul {
    margin: 0 0 16px 22px;
    color: var(--ink-soft);
  }
  .legal-section ul li {
    margin-bottom: 6px;
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .legal-section a { color: var(--blue); border-bottom: 1px solid transparent; transition: border-color 0.15s; }
  .legal-section a:hover { border-bottom-color: var(--blue); }
  .company-info-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px 32px;
    padding: 24px 28px;
    background: var(--surface);
    border-left: 3px solid var(--blue);
    margin-bottom: 14px;
  }
  @media (max-width: 600px) {
    .company-info-grid { grid-template-columns: 1fr; gap: 4px 0; }
    .company-info-grid dt { margin-top: 14px; }
    .company-info-grid dt:first-child { margin-top: 0; }
  }
  .company-info-grid dt {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
  }
  .company-info-grid dd {
    font-size: 0.98rem;
    color: var(--ink-soft);
  }
  .placeholder {
    background: var(--blue-soft);
    color: var(--blue-deep);
    padding: 1px 6px;
    font-family: "DM Sans", monospace;
    font-size: 0.86em;
    border-radius: 2px;
  }

  /* ============ SERVICES / PARTNERSHIPS ============ */
  .service-block {
    padding: 40px 0;
    border-top: 1px solid var(--rule);
  }
  .service-block:first-of-type {
    padding-top: 8px;
    border-top: none;
  }
  .service-block h3 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .service-block p {
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 14px;
    max-width: none;
  }
  .spec-list {
    list-style: none;
    margin: 6px 0 18px;
    padding: 0;
    columns: 2;
    column-gap: 48px;
  }
  @media (max-width: 640px) {
    .spec-list { columns: 1; }
  }
  .spec-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--ink-soft);
    line-height: 1.5;
    break-inside: avoid;
  }
  .spec-list li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--blue);
  }

  .section--cta {
    background: var(--surface);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .page-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .page-cta h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 640px;
  }

  .contact-enquiry-note {
    font-size: 0.85rem;
    color: var(--ink-soft);
    background: var(--blue-soft);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 22px;
  }

  /* ============ FOOTER ============ */
  .site-footer {
    background: var(--ink);
    color: #a0a0a0;
    padding: 64px 0 28px;
    font-size: 0.9rem;
  }
  .footer-newsletter-band {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 440px);
    align-items: center;
    gap: 56px;
    margin-bottom: 44px;
  }
  .footer-newsletter-band h3 {
    color: var(--bg);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
  }
  .footer-newsletter-copy p {
    color: #808080;
    max-width: 520px;
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .footer-newsletter-note {
    color: #c8cdd4;
    font-size: 0.8rem;
    margin-top: 10px;
  }
  .footer-newsletter-success {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #e6eaef;
    font-size: 0.98rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2f2f2f;
    border-radius: 6px;
    padding: 16px 18px;
  }
  .footer-newsletter-success::before {
    content: "\2713";
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.35;
  }
  .footer-newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .footer-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 1px solid #3a3a3a;
    color: var(--bg);
    padding: 12px 14px;
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 0.95rem;
  }
  .footer-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--bg);
  }
  .footer-newsletter-form button {
    background: var(--bg);
    color: var(--ink);
    border: none;
    padding: 12px 24px;
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
  }
  .footer-newsletter-form button:hover { background: var(--dark-accent); }
  @media (max-width: 760px) {
    .footer-newsletter-band { grid-template-columns: 1fr; gap: 24px; }
    .footer-newsletter-form { width: 100%; }
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 44px;
    border-bottom: 1px solid #2a2a2a;
  }
  @media (max-width: 800px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 500px) {
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
  }
  .footer-brand .footer-logo {
    display: inline-flex;
    align-items: flex-start;
    gap: 3px;
    line-height: 1;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bg);
    margin-bottom: 14px;
  }
  .footer-brand p {
    color: #808080;
    line-height: 1.6;
    max-width: 380px;
    font-size: 0.9rem;
  }
  .footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--bg);
    margin-bottom: 14px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 9px; }
  .footer-col a {
    color: #a0a0a0;
    font-size: 0.88rem;
    transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--bg); }

  .footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #707070;
    font-size: 0.78rem;
  }
  .footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-bottom a {
    color: #a0a0a0;
    transition: color 0.15s;
  }
  .footer-bottom a:hover { color: var(--bg); }
  .designed-by { font-size: 0.76rem; letter-spacing: 0.04em; }
  .designed-by a { font-weight: 600; letter-spacing: 0.06em; }

  /* ============ ANIMATIONS ============ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow,
  .hero h1,
  .hero-lede,
  .hero-actions,
  .page-header .eyebrow,
  .page-header h1,
  .page-header .subtitle {
    animation: fadeUp 0.5s ease-out backwards;
  }
  .hero h1,
  .page-header h1 { animation-delay: 0.08s; }
  .hero-lede,
  .page-header .subtitle { animation-delay: 0.18s; }
  .hero-actions { animation-delay: 0.28s; }


  /* ============ FAQ (accordion) ============ */
  .faq-list { border-top: 1px solid var(--rule); }
  .faq-item { border-bottom: 1px solid var(--rule); }
  .faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item .faq-a { padding: 0 0 26px; }
  .faq-item .faq-a p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: none;
  }
  .faq-item:not([open]) .faq-a { display: none; }

/* ============ WordPress-specific overrides ============ */
.wp-block-image img { max-width: 100%; height: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption-text { font-size: 0.86rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Hide the dashboard admin bar offset interference */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}