/*
Theme Name: One Health Security
Theme URI: https://onehealthsecurity.com
Author: One Health Security
Description: Custom theme for One Health Security — governance, biosecurity and international law. Includes homepage, Applied Research, Insight (blog), and Privacy & Cookie policy pages.
Version: 3.5
License: GPL v2 or later
Text Domain: ohs
*/

/* ====================================================
   HOMEPAGE STYLES
   ==================================================== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --charcoal: #1c1c1e;
    --charcoal-mid: #2d2d30;
    --charcoal-light: #3d3d40;
    --slate: #6b6b72;
    --slate-light: #9b9ba4;
    --rule: #e4e4e8;
    --bg: #ffffff;
    --bg-off: #f7f7f8;
    --bg-tint: #f2f2f4;
    --accent: #1c1c1e;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* NAV */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: -0.01em;
  }

  .nav-logo span {
    font-style: italic;
    color: var(--slate);
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--charcoal); }

  .nav-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    border: 1px solid var(--charcoal);
    padding: 0.5rem 1.2rem;
    transition: background 0.2s, color 0.2s;
  }

  .nav-cta:hover {
    background: var(--charcoal);
    color: white;
  }

  /* HERO */
  .hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate);
    border: 1px solid var(--rule);
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.75rem;
  }

  .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--slate);
  }

  .hero-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 480px;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--charcoal);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 1.8rem;
    transition: background 0.2s;
  }

  .btn-primary:hover { background: var(--charcoal-mid); }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--charcoal);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 1.8rem;
    border: 1px solid var(--rule);
    transition: border-color 0.2s, color 0.2s;
  }

  .btn-secondary:hover { border-color: var(--charcoal); }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }

  .stat-row {
    background: var(--bg);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
  }

  .stat-row:nth-child(2) { background: var(--bg-off); }
  .stat-row:nth-child(3) { background: var(--bg-tint); }

  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1;
    min-width: 90px;
  }

  .stat-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.5;
    max-width: 200px;
  }

  /* DIVIDER LINE */
  .section-rule {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    border: none;
    border-top: 1px solid var(--rule);
  }

  /* INTRO STRIP */
  .intro-strip {
    background: var(--charcoal);
    padding: 3.5rem 2rem;
  }

  .intro-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
  }

  .intro-strip-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.75rem;
  }

  .intro-strip h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: white;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .intro-strip p {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  .intro-strip p:last-child { margin-bottom: 0; }

  /* SECTIONS */
  .section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
  }

  .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
  }

  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--charcoal);
  }

  .section-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
  }

  .section-link:hover { color: var(--charcoal); }

  /* CONTENT TYPES */
  .content-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-bottom: 5rem;
  }

  .content-type {
    background: var(--bg);
    padding: 2rem;
  }

  .type-tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.85rem;
  }

  .content-type h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .content-type p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.7;
  }

  /* FEATURED ARTICLE */
  .featured-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-bottom: 5rem;
  }

  .featured-main {
    background: var(--bg);
    padding: 2.5rem;
  }

  .featured-tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .featured-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--slate);
  }

  .featured-main h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  .featured-main p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 520px;
  }

  .read-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 0.15rem;
    transition: opacity 0.2s;
  }

  .read-link:hover { opacity: 0.6; }

  .featured-side {
    background: var(--bg-off);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .featured-side h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.4;
    margin-bottom: 1.75rem;
  }

  .pull-quote {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 1.5;
    border-left: 2px solid var(--charcoal);
    padding-left: 1.25rem;
    margin-top: auto;
  }

  .about-visual .pull-quote {
    color: white;
    border-left-color: rgba(255,255,255,0.3);
  }

  /* BRIEFINGS GRID */
  .briefings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }

  .briefing-card {
    background: var(--bg);
    padding: 2rem;
  }

  .briefing-card:nth-child(3),
  .briefing-card:nth-child(4) {
    background: var(--bg-off);
  }

  .briefing-type {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.75rem;
  }

  .briefing-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .briefing-card p {
    font-size: 0.845rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.65;
  }

  /* GOVERNANCE PROBLEM */
  .governance-section {
    background: var(--bg-off);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }

  .governance-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .governance-inner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
  }

  .governance-inner > div:first-child > p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  .principles {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--rule);
  }

  .principle-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .principle-item:last-child { border-bottom: none; }

  .principle-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--rule);
    min-width: 28px;
    line-height: 1;
    margin-top: 0.1rem;
  }

  .principle-content h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
  }

  .principle-content p {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.6;
  }

  /* ABOUT STRIP */
  .about-strip {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .about-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 1rem;
  }

  .about-strip h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
  }

  .about-strip > div:first-child > p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  .about-visual {
    background: var(--charcoal);
    padding: 2.5rem;
  }

  .about-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.3rem;
  }

  .about-visual .about-name {
    color: rgba(255,255,255,0.55);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 1.25rem;
  }

  .about-role {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
  }

  .about-focus {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
  }

  .focus-item {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    line-height: 1.5;
  }

  .focus-item::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
    margin-top: 0.6em;
  }

  /* ADVISORY */
  .advisory-section {
    background: var(--bg-tint);
    border-top: 1px solid var(--rule);
  }

  .advisory-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .advisory-inner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
  }

  .advisory-inner > div:first-child > p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .advisory-formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-top: 2rem;
  }

  .advisory-format {
    background: var(--bg);
    padding: 1.25rem 1.5rem;
    font-size: 0.845rem;
    font-weight: 300;
    color: var(--slate);
  }

  .advisory-format strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
    letter-spacing: 0.01em;
  }

  .advisory-contact {
    border: 1px solid var(--rule);
    background: var(--bg);
    padding: 2rem;
    position: sticky;
    top: 80px;
  }

  .advisory-contact h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
  }

  .advisory-contact p {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .contact-email {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: 0.03em;
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--charcoal);
    text-align: center;
    transition: background 0.2s, color 0.2s;
  }

  .contact-email:hover { background: var(--charcoal); color: white; }

  /* NEWSLETTER */
  .newsletter {
    background: var(--charcoal);
    padding: 4rem 2rem;
  }

  .newsletter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .newsletter h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
  }

  .newsletter p {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    max-width: 420px;
    line-height: 1.6;
  }

  .newsletter-form {
    display: flex;
    gap: 0;
    min-width: 320px;
  }

  .newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    padding: 0.85rem 1.2rem;
    outline: none;
    transition: border-color 0.2s;
  }

  .newsletter-form input::placeholder { color: rgba(255,255,255,0.75); }
  .newsletter-form input:focus { border-color: rgba(255,255,255,0.4); }

  .newsletter-form button {
    background: white;
    color: var(--charcoal);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .newsletter-form button:hover { opacity: 0.85; }

  /* FOOTER */
  footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: var(--charcoal);
    padding: 1.75rem 2rem;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
  }

  .footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .footer-links a {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: rgba(255,255,255,0.75); }

  .footer-copy {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255,255,255,0.25);
  }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 200;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.25s ease;
    transform-origin: center;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--rule);
    z-index: 99;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
    letter-spacing: 0.03em;
  }

  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--slate); }

  .applied-research-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .applied-research-vars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.75rem;
  }

  @media (max-width: 768px) {
    .hero, .intro-strip-inner, .featured-grid, .governance-inner,
    .about-strip, .advisory-inner { grid-template-columns: 1fr; gap: 2rem; }
    .content-types, .briefings-grid { grid-template-columns: 1fr; }
    .applied-research-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .applied-research-vars { grid-template-columns: 1fr; }
    .hero { padding: 4rem 1.25rem 3rem; }
    .section { padding: 3rem 1.25rem; }
    nav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
  }

/* ====================================================
   APPLIED RESEARCH PAGE STYLES
   ==================================================== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --charcoal: #1c1c1e;
    --charcoal-mid: #2d2d30;
    --slate: #6b6b72;
    --slate-light: #9b9ba4;
    --rule: #e4e4e8;
    --bg: #ffffff;
    --bg-off: #f7f7f8;
    --bg-tint: #f2f2f4;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* NAV */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: -0.01em;
  }

  .nav-logo span { font-style: italic; color: var(--slate); }

  .nav-links { display: flex; gap: 2rem; list-style: none; }

  .nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--charcoal); }
  .nav-links a.active { color: var(--charcoal); }

  .nav-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    border: 1px solid var(--charcoal);
    padding: 0.5rem 1.2rem;
    transition: background 0.2s, color 0.2s;
  }

  .nav-cta:hover { background: var(--charcoal); color: white; }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 200;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.25s ease;
    transform-origin: center;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--rule);
    z-index: 99;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
    letter-spacing: 0.03em;
  }

  .mobile-menu a:last-child { border-bottom: none; }

  /* PAGE HEADER */
  .page-header {
    background: var(--charcoal);
    padding: 5rem 2rem 4rem;
  }

  .page-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
  }

  .page-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
  }

  .page-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  .page-header h1 em {
    font-style: italic;
    color: rgba(255,255,255,0.55);
  }

  .page-header-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
  }

  .page-header-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .github-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 1.5rem;
    transition: background 0.2s, color 0.2s;
  }

  .github-cta:hover { background: rgba(255,255,255,0.15); color: white; }

  .framework-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pill {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.3rem 0.75rem;
  }

  /* MAIN CONTENT */
  .main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
  }

  /* SECTION DIVIDER */
  .section-divider {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 3rem 0 2rem;
    border-bottom: 2px solid var(--charcoal);
    margin-bottom: 0;
  }

  .section-divider h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--charcoal);
  }

  .section-count {
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--slate-light);
    letter-spacing: 0.08em;
  }

  /* PROJECT CARD */
  .project-card {
    border-bottom: 1px solid var(--rule);
  }

  .project-card-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
  }

  .project-main {
    padding: 2.5rem 3rem 2.5rem 0;
    border-right: 1px solid var(--rule);
  }

  .project-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
  }

  .lang-badge {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.65rem;
  }

  .lang-badge.r { background: #e8f0f8; color: #1a4a7a; }
  .lang-badge.python { background: #f0f0e8; color: #4a4a1a; }
  .lang-badge.coming { background: var(--bg-tint); color: var(--slate); }

  .status-badge {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
  }

  .status-badge.live { color: #2d6a3f; }
  .status-badge.development { color: #6a4a2d; }
  .status-badge.planned { color: var(--slate-light); }

  .project-main h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.85rem;
  }

  .project-main > p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 580px;
  }

  /* Variables/outputs grid */
  .project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-bottom: 1.75rem;
  }

  .detail-cell {
    background: var(--bg-off);
    padding: 0.9rem 1.1rem;
  }

  .detail-cell-label {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 0.4rem;
  }

  .detail-cell p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.65;
  }

  /* Related articles */
  .related-articles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .related-article-link {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .related-article-link:hover { opacity: 0.7; }

  .related-article-type {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-light);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .related-article-title {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.4;
  }

  /* Project actions */
  .project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .btn-github {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--charcoal);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s;
  }

  .btn-github:hover { background: var(--charcoal-mid); }

  .btn-article {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--charcoal);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--rule);
    transition: border-color 0.2s;
  }

  .btn-article:hover { border-color: var(--charcoal); }

  /* PROJECT SIDEBAR */
  .project-sidebar {
    padding: 2.5rem 0 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .sidebar-stat {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rule);
  }

  .sidebar-stat:last-child { border-bottom: none; padding-bottom: 0; }

  .sidebar-stat-label {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 0.5rem;
  }

  .sidebar-stat-value {
    font-family: 'DM Serif Display', serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .sidebar-stat-desc {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.5;
  }

  .sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .sidebar-tag {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--slate);
    border: 1px solid var(--rule);
    padding: 0.25rem 0.6rem;
  }

  /* COMING SOON CARD */
  .project-card.coming-soon .project-main {
    opacity: 0.7;
  }

  .coming-banner {
    background: var(--bg-tint);
    border-bottom: 1px solid var(--rule);
    padding: 0.6rem 2.5rem 0.6rem 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .coming-banner::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--slate-light);
  }

  /* FRAMEWORK STRIP */
  .framework-strip {
    background: var(--charcoal);
    padding: 3rem 2rem;
    margin-top: 4rem;
  }

  .framework-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .framework-item {
    background: var(--charcoal);
    padding: 1.75rem 2rem;
  }

  .framework-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 0.75rem;
  }

  .framework-title {
    font-size: 0.82rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
  }

  .framework-desc {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
  }

  /* NEWSLETTER */
  .newsletter {
    background: var(--bg-off);
    border-top: 1px solid var(--rule);
    padding: 4rem 2rem;
  }

  .newsletter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .newsletter h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
  }

  .newsletter p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--slate);
    max-width: 420px;
    line-height: 1.6;
  }

  .newsletter-form { display: flex; gap: 0; min-width: 320px; }

  .newsletter-form input {
    flex: 1;
    background: white;
    border: 1px solid var(--rule);
    border-right: none;
    color: var(--charcoal);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    padding: 0.85rem 1.2rem;
    outline: none;
    transition: border-color 0.2s;
  }

  .newsletter-form input:focus { border-color: var(--charcoal); }
  .newsletter-form input::placeholder { color: var(--slate-light); }

  .newsletter-form button {
    background: var(--charcoal);
    color: white;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .newsletter-form button:hover { opacity: 0.85; }

  /* FOOTER */
  footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.75rem 2rem;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: rgba(255,255,255,0.7); }

  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: rgba(255,255,255,0.75); }

  .footer-social { display: flex; align-items: center; gap: 1.25rem; }
  .footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
  .footer-social a:hover { color: rgba(255,255,255,0.8); }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
  }

  .footer-projects { display: flex; gap: 1.5rem; align-items: center; }
  .footer-projects span { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
  .footer-projects a { font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-projects a:hover { color: rgba(255,255,255,0.7); }

  .footer-copy { font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.25); }

  .footer-policy { display: flex; gap: 1rem; }
  .footer-policy a { font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
  .footer-policy a:hover { color: rgba(255,255,255,0.6); }

  @media (max-width: 860px) {
    .page-header-inner { grid-template-columns: 1fr; gap: 2rem; }
    .project-card-inner { grid-template-columns: 1fr; }
    .project-sidebar { padding: 0 0 2.5rem 0; border-top: 1px solid var(--rule); }
    .project-detail-grid { grid-template-columns: 1fr; }
    .framework-strip-inner { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .footer-links { display: none; }
  }

/* ====================================================
   PRIVACY & COOKIE POLICY STYLES
   ==================================================== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --charcoal: #1c1c1e;
    --charcoal-mid: #2d2d30;
    --slate: #6b6b72;
    --slate-light: #9b9ba4;
    --rule: #e4e4e8;
    --bg: #ffffff;
    --bg-off: #f7f7f8;
    --bg-tint: #f2f2f4;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* NAV */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: -0.01em;
  }

  .nav-logo span { font-style: italic; color: var(--slate); }

  .nav-back {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
  }

  .nav-back:hover { color: var(--charcoal); }

  /* LAYOUT */
  .page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 5rem;
    align-items: start;
  }

  /* STICKY SIDEBAR NAV */
  .sidebar-nav {
    position: sticky;
    top: 80px;
  }

  .sidebar-nav p {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 1rem;
  }

  .sidebar-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--rule);
  }

  .sidebar-nav ul li a {
    display: block;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--slate);
    text-decoration: none;
    padding: 0.45rem 0 0.45rem 1rem;
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1.4;
  }

  .sidebar-nav ul li a:hover {
    color: var(--charcoal);
    border-left-color: var(--charcoal);
  }

  .sidebar-nav ul li.section-head a {
    font-weight: 500;
    color: var(--charcoal);
    margin-top: 0.75rem;
  }

  /* MAIN CONTENT */
  .policy-content {}

  .policy-section {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid var(--charcoal);
  }

  .policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .section-eyebrow {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.75rem;
  }

  .policy-section > h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
  }

  .policy-meta {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--slate-light);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--rule);
  }

  .policy-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--rule);
  }

  .policy-content h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .policy-content p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.85;
    margin-bottom: 1rem;
  }

  .policy-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .policy-content ul li {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.7;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }

  .policy-content ul li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1px;
    background: var(--slate-light);
    flex-shrink: 0;
    margin-top: 0.65em;
  }

  .policy-content a {
    color: var(--charcoal);
    font-weight: 500;
    text-underline-offset: 2px;
  }

  .placeholder-block {
    background: var(--bg-off);
    border: 1px dashed var(--rule);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--slate-light);
    font-style: italic;
    line-height: 1.6;
  }

  .controller-block {
    background: var(--bg-off);
    border-left: 3px solid var(--charcoal);
    padding: 1.1rem 1.35rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.7;
  }
  .controller-block strong { font-weight: 500; }

  /* Cookie table */
  .cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
  }

  .cookie-table th {
    text-align: left;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
    padding: 0.65rem 1rem;
    background: var(--bg-off);
    border: 1px solid var(--rule);
  }

  .cookie-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--rule);
    font-weight: 300;
    color: var(--slate);
    line-height: 1.5;
    vertical-align: top;
  }

  .cookie-table tr:nth-child(even) td { background: var(--bg-off); }

  .cookie-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
  }

  .cookie-type.essential { background: #e8f0e8; color: #2d5a3d; }
  .cookie-type.analytics { background: #e8ecf4; color: #2d3d6b; }
  .cookie-type.functional { background: #f4f0e8; color: #6b5a2d; }

  /* FOOTER */
  footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: var(--charcoal);
    padding: 1.75rem 2rem;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: rgba(255,255,255,0.7); }

  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: rgba(255,255,255,0.75); }

  .footer-social { display: flex; align-items: center; gap: 1.25rem; }
  .footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
  .footer-social a:hover { color: rgba(255,255,255,0.8); }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
  }

  .footer-projects { display: flex; gap: 1.5rem; align-items: center; }
  .footer-projects span {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
  }
  .footer-projects a {
    font-size: 0.68rem;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-projects a:hover { color: rgba(255,255,255,0.7); }

  .footer-copy { font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.25); }

  .footer-policy-links { display: flex; gap: 1rem; }
  .footer-policy-links a {
    font-size: 0.68rem;
    font-weight: 300;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-policy-links a:hover { color: rgba(255,255,255,0.6); }

  @media (max-width: 768px) {
    .page-wrap { grid-template-columns: 1fr; gap: 2rem; }
    .sidebar-nav { position: static; }
    .cookie-table { font-size: 0.75rem; }
    nav { padding: 0 1.25rem; }
    .footer-links { display: none; }
  }

/* ====================================================
   INSIGHT (BLOG) + SINGLE POST STYLES — kept from existing theme
   ==================================================== */
/*
Theme Name: One Health Security
Theme URI: https://www.onehealthsecurity.com
Author: One Health Security
Author URI: https://www.onehealthsecurity.com
Description: Custom theme for One Health Security — a policy, governance and biosecurity analysis platform.
Version: 1.0
License: Private
Text Domain: ohs
*/

/* ─────────────────────────────────────────────
   RESET & ROOT
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1c1c1e;
  --charcoal-mid: #2d2d30;
  --slate: #6b6b72;
  --slate-light: #9b9ba4;
  --rule: #e4e4e8;
  --bg: #ffffff;
  --bg-off: #f7f7f8;
  --bg-tint: #f2f2f4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo span { font-style: italic; color: var(--slate); }

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.current { color: var(--charcoal); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid var(--charcoal);
  padding: 0.5rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover { background: var(--charcoal); color: white; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--rule);
  z-index: 99;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  letter-spacing: 0.03em;
}

.mobile-menu a:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────
   PAGE HEADER (blog index)
───────────────────────────────────────────── */
.page-header {
  border-bottom: 1px solid var(--rule);
  padding: 4rem 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.page-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-header h1 em { font-style: italic; color: var(--slate); }

.page-header p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--slate);
  max-width: 540px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   INSIGHT SECTIONS (blog index)
───────────────────────────────────────────── */
.insight-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.insight-section:last-of-type { border-bottom: none; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--charcoal);
}

.section-type {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
}

.section-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--slate);
  max-width: 420px;
  text-align: right;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   FEATURED CARD
───────────────────────────────────────────── */
.featured-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 1px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.featured-card:hover { opacity: 0.85; }

.featured-card-main {
  background: var(--bg);
  padding: 2.25rem 2.5rem;
}

.featured-card-side {
  background: var(--charcoal);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.type-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
}

.type-badge.analysis { color: var(--charcoal); border-color: var(--charcoal); }
.type-badge.briefing { color: #4a6fa5; border-color: #4a6fa5; }
.type-badge.research { color: #6b4a8a; border-color: #6b4a8a; }

.featured-card-main h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.featured-card-main p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.card-meta {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--slate-light);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-media-flags { display: flex; gap: 0.5rem; margin-top: auto; }

.media-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.featured-card-pull {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: white;
  line-height: 1.5;
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 1.1rem;
}

/* ─────────────────────────────────────────────
   ARTICLE GRID
───────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-top: none;
}

.article-card {
  background: var(--bg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}

.article-card:hover { background: var(--bg-off); }
.article-card:nth-child(even) { background: var(--bg-off); }
.article-card:nth-child(even):hover { background: var(--bg-tint); }

.article-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  margin-top: 0.75rem;
}

.article-card p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-date {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--slate-light);
}

.article-media { display: flex; gap: 0.4rem; }

.media-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tint);
}

.media-dot svg { width: 10px; height: 10px; color: var(--slate); fill: currentColor; }

/* ─────────────────────────────────────────────
   SINGLE POST (article page)
───────────────────────────────────────────── */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--slate-light);
  border-bottom: 1px solid var(--rule);
}

.breadcrumb a { color: var(--slate); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb span { color: var(--rule); }

.article-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem 3rem;
  border-bottom: 1px solid var(--rule);
}

.article-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.25rem;
}

.article-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.meta-author { display: flex; align-items: center; gap: 0.65rem; }

.author-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name { font-size: 0.85rem; font-weight: 500; color: var(--charcoal); }
.meta-divider { width: 1px; height: 16px; background: var(--rule); }
.meta-detail { font-size: 0.8rem; font-weight: 300; color: var(--slate); }

.article-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.article-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.article-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.article-text h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.article-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-text ul li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.65;
}

.article-text ul li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--slate-light);
  flex-shrink: 0;
  margin-top: 0.7em;
}

.article-text blockquote {
  border-left: 2px solid var(--charcoal);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}

.article-text blockquote p {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-block {
  background: var(--bg-off);
  border: 1px solid var(--rule);
  padding: 1.5rem;
  margin-bottom: 1px;
}

.sidebar-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.youtube-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--charcoal);
  overflow: hidden;
}

.youtube-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.youtube-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  background: var(--charcoal);
  transition: background 0.2s;
}

.youtube-placeholder:hover { background: var(--charcoal-mid); }

.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn svg { width: 18px; height: 18px; fill: white; margin-left: 2px; }
.youtube-placeholder span { font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.6); }

.sidebar-about { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }

.sidebar-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-author-name { font-size: 0.875rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.15rem; }
.sidebar-author-role { font-size: 0.75rem; font-weight: 300; color: var(--slate); }
.sidebar-about-text { font-size: 0.8rem; font-weight: 300; color: var(--slate); line-height: 1.6; margin-bottom: 1rem; }

.sidebar-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s;
}

.sidebar-linkedin:hover { border-color: var(--charcoal); }

/* ─────────────────────────────────────────────
   RELATED POSTS
───────────────────────────────────────────── */
.related-section {
  background: var(--bg-off);
  border-top: 1px solid var(--rule);
  padding: 4rem 2rem;
}

.related-inner { max-width: 1100px; margin: 0 auto; }

.related-inner h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--charcoal);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.related-card {
  background: var(--bg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}

.related-card:hover { background: var(--bg-tint); }
.related-type { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.65rem; }
.related-card h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; font-weight: 400; color: var(--charcoal); line-height: 1.35; margin-bottom: 0.5rem; }
.related-card p { font-size: 0.8rem; font-weight: 300; color: var(--slate); line-height: 1.6; }

/* ─────────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────────── */
.newsletter { background: var(--charcoal); padding: 4rem 2rem; }

.newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.newsletter h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.35rem;
}

.newsletter p { font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.55); max-width: 420px; line-height: 1.6; }

.newsletter-form { display: flex; min-width: 320px; }

.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  padding: 0.85rem 1.2rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.75); }

.newsletter-form button {
  background: white;
  color: var(--charcoal);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.75rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-social { display: flex; align-items: center; gap: 1.25rem; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-social a:hover { color: rgba(255,255,255,0.8); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.footer-projects { display: flex; gap: 1.5rem; align-items: center; }
.footer-projects span { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.footer-projects a { font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-projects a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.25); }
.footer-policy { display: flex; gap: 1rem; }
.footer-policy a { font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-policy a:hover { color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-body { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 0.5rem; }
  .section-desc { text-align: left; }
  nav.site-nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-links { display: none; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { min-width: unset; width: 100%; }
}

/* ─────────────────────────────────────────────
   INSIGHT — FILTER TABS & TYPE DIRECTORY
───────────────────────────────────────────── */
.insight-filters {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.insight-filter {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.insight-filter:hover { color: var(--charcoal); border-color: var(--charcoal); }

.insight-filter.active {
  color: var(--bg);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.insight-filter.type-briefing:hover,
.insight-filter.type-briefing.active { border-color: #4a6fa5; }
.insight-filter.type-briefing.active { background: #4a6fa5; }
.insight-filter.type-research:hover,
.insight-filter.type-research.active { border-color: #6b4a8a; }
.insight-filter.type-research.active { background: #6b4a8a; }

.insight-types {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight-type-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--rule);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.insight-type-card:hover {
  border-color: var(--charcoal);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.insight-type-card .type-badge { margin-bottom: 0.25rem; }

.insight-type-lead {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--charcoal);
}

.insight-type-long {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--slate);
  flex-grow: 1;
}

.insight-type-more {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-top: 0.5rem;
}

.insight-empty {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--slate);
  padding: 1rem 0 0.5rem;
}

@media (max-width: 768px) {
  .insight-types { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   DARK PAGE HEADER (Applied Research + Insight) —
   explicit, so the heading stays white & readable on
   charcoal regardless of the shared .page-header rules.
   Higher specificity (two classes) wins over both
   conflicting .page-header blocks above.
───────────────────────────────────────────── */
.page-header.page-header--dark {
  background: var(--charcoal);
  border-bottom: none;
  padding: 5rem 2rem 4rem;
}
.page-header.page-header--dark .page-eyebrow { color: rgba(255,255,255,0.45); }
.page-header.page-header--dark h1 { color: #ffffff; }
.page-header.page-header--dark h1 em { color: rgba(255,255,255,0.55); }
.page-header.page-header--dark .page-header-desc,
.page-header.page-header--dark p { color: rgba(255,255,255,0.6); }

/* Make clickable Insight cards/tabs unambiguous */
.insight-type-card, .insight-filter { cursor: pointer; }
