/* ==============================================
   Site header — rounded card layout
   ============================================== */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
  padding: 10px 8px 0;
  background: transparent;
}

.header-shell {
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  padding: 18px 32px 14px;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  width: 220px;
  max-width: 220px;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  width: 160px;
  max-width: 160px;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.pill-soft {
  background: #f0f3f7;
  color: #1F2A44;
}
.pill-soft:hover { background: #e4e9ef; color: #1F2A44; }

.pill-outline {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
  color: #1F2A44;
}
.pill-outline:hover { border-color: #1F2A44; background: rgba(15, 23, 42, 0.03); color: #1F2A44; }

.pill-primary {
  background: #D4A843;
  color: #1F2A44;
  border-color: #D4A843;
  font-weight: 600;
}
.pill-primary:hover { filter: brightness(0.95); color: #1F2A44; }

.header-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 16px 0 0;
}

nav.primary {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0 2px;
}

nav.primary a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #1F2A44;
  letter-spacing: 0;
  padding: 6px 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

nav.primary a:hover { color: #6FA89A; }
nav.primary a.active { color: #1F2A44; font-weight: 600; border-bottom-color: #D4A843; }

:root {
  --navy: #1F2A44;
  --off-white: #F7F5F2;
  --sage: #6FA89A;
  --sand: #D6A85C;
  --sand-hover: #C99947;
  --charcoal: #2E2E2E;
  --light-grey: #E6E6E6;
  --column: 720px;
}

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

/* overflow-x is clipped (not hidden) so it doesn't create a scroll
   container that would break the sticky header. `hidden` is kept as a
   fallback for browsers without overflow:clip support. */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color 0.15s ease; }
a:hover { color: var(--sage); }

h1, h2, h3, h4 {
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  margin: 0 0 0.4em 0;
  line-height: 1.2;
}

h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5em; }
h2 { font-size: 28px; font-weight: 600; margin-top: 2em; }
h3 { font-size: 20px; font-weight: 600; margin-top: 1.6em; }
h4 { font-size: 17px; font-weight: 600; margin-top: 1.4em; margin-bottom: 0.2em; }

p { margin: 0 0 1.1em 0; max-width: 65ch; }

ul, ol { margin: 0 0 1.4em 0; padding-left: 1.4em; max-width: 65ch; }
li { margin-bottom: 0.5em; }
li::marker { color: var(--sage); }

strong { color: var(--navy); font-weight: 600; }

hr { border: none; border-top: 1px solid var(--light-grey); margin: 3em 0; }

/* Header */

























.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--sand);
  color: var(--navy);
}
.btn-primary:hover { background: var(--sand-hover); color: var(--navy); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 10.5px 20px;
}
.btn-secondary:hover { background: rgba(31, 42, 68, 0.05); }



/* Main layout */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.column {
  max-width: var(--column);
  margin: 0 auto;
}

.lead {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 2.2em 0;
  max-width: 60ch;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  margin-top: 3.5em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.section-label:first-child { margin-top: 0; }

/* Hero */
.hero {
  padding: 24px 0 32px;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 18ch;
}

.hero .lead { font-size: 22px; max-width: 56ch; margin-bottom: 0; }

/* Cards / categories */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 1.5em 0 2em;
  max-width: 100%;
}

.card {
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 24px 26px;
}

.card h4 { margin-top: 0; color: var(--navy); }
.card p { margin-bottom: 0; font-size: 16px; }

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}
.steps li {
  counter-increment: step;
  padding: 16px 0 16px 56px;
  position: relative;
  border-top: 1px solid var(--light-grey);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1.5px solid var(--sage);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  border-radius: 50%;
}
.steps li:last-child { border-bottom: 1px solid var(--light-grey); }
.steps li strong { display: block; margin-bottom: 4px; }

/* Categories list (Insights) */
.article-list {
  counter-reset: art;
  list-style: none;
  padding-left: 0;
  border-top: 1px solid var(--light-grey);
}
.article-list li {
  counter-increment: art;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--light-grey);
  position: relative;
  color: var(--navy);
  font-weight: 500;
}
.article-list li::before {
  content: counter(art, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 500;
}
.article-list a {
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid transparent;
}
.article-list a:hover { border-bottom-color: var(--sage); color: var(--navy); }

/* Article cards (Insights index) */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 32px 0 56px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  border-color: var(--sage);
}
.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.article-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-card .card-tag {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}
.article-card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}
.article-card p {
  margin: 0;
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.5;
}

/* Article page (single) */
article.page.article .column { max-width: 760px; }
.article-hero {
  margin: 12px 0 28px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-grey);
}
.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-meta {
  font-size: 14px;
  color: var(--mid-grey);
  margin: 0 0 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--light-grey);
}
article.page.article h2 {
  margin-top: 44px;
  font-size: 26px;
  letter-spacing: -0.4px;
}
article.page.article h3 {
  margin-top: 32px;
  font-size: 20px;
  color: var(--navy);
}
article.page.article h4 {
  margin-top: 24px;
  font-size: 17px;
  color: var(--navy);
}
article.page.article p { margin: 0 0 18px; }
article.page.article ul, article.page.article ol { margin: 0 0 22px; padding-left: 22px; }
article.page.article li { margin-bottom: 8px; line-height: 1.65; }
article.page.article table.cost { margin: 18px 0 28px; }
.article-end {
  border: none;
  border-top: 1px solid var(--light-grey);
  margin: 56px 0 24px;
}
.article-footnote {
  font-size: 13px;
  color: var(--mid-grey);
  font-style: italic;
}

/* Footer */
footer.site {
  background: var(--navy);
  color: var(--off-white);
  padding: 64px 32px 32px;
  margin-top: 96px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 245, 242, 0.12);
}
footer.site h5 {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}
footer.site .desc {
  font-size: 15px;
  color: rgba(247, 245, 242, 0.75);
  max-width: 32ch;
  margin-top: 16px;
}
footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.site li { margin-bottom: 10px; }
footer.site a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
}
footer.site a:hover { border-bottom-color: var(--sage); color: var(--off-white); }

.footer-baseline {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(247, 245, 242, 0.6);
}
.footer-baseline .legal-links a {
  color: rgba(247, 245, 242, 0.7);
  margin-right: 18px;
  font-size: 13px;
}
.footer-baseline .disclaimer {
  font-size: 13px;
  max-width: 60ch;
  color: rgba(247, 245, 242, 0.55);
}

/* Editorial imagery */
figure.editorial {
  margin: 2.4em 0 2.6em;
  max-width: 100%;
}
figure.editorial img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
figure.editorial.wide {
  margin-left: calc((var(--column) - min(100%, 920px)) / 2);
  margin-right: calc((var(--column) - min(100%, 920px)) / 2);
  max-width: 920px;
}
figure.editorial.full {
  width: calc(100vw - 64px);
  max-width: 1080px;
  margin-left: 50%;
  transform: translateX(-50%);
}
figure.editorial figcaption {
  font-size: 13px;
  color: #6b6b6b;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 60ch;
}
figure.editorial figcaption strong {
  color: var(--charcoal);
  font-weight: 500;
}
figure.editorial figcaption .credit {
  color: #9a9a9a;
  font-size: 12px;
  margin-left: 6px;
}

/* Hero with image */
.hero-with-image {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.hero-with-image .hero-text h1 { font-size: 52px; line-height: 1.08; max-width: 100%; }
.hero-with-image .hero-text .lead { font-size: 20px; }
.hero-with-image figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: #e6dfd5;
}
.hero-with-image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quote treatment */
blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy);
  border-left: 2px solid var(--sage);
  padding: 4px 0 4px 20px;
  margin: 1.5em 0;
  max-width: 56ch;
}

/* Three-column grid (Funding products hub) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 1.5em 0 2em;
  max-width: 100%;
}

/* Product card on hub */
.product-card {
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover { border-color: var(--sage); }
.product-card h4 {
  margin-top: 0;
  color: var(--navy);
  font-size: 18px;
}
.product-card .pc-desc {
  font-size: 15px;
  color: var(--charcoal);
  margin: 0 0 14px 0;
  flex: 1;
}
.product-card .pc-meta {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 14px;
  line-height: 1.55;
}
.product-card .pc-meta strong { color: var(--navy); font-weight: 500; }
.product-card .pc-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--sage);
  align-self: flex-start;
  padding-bottom: 1px;
}
.product-card .pc-link:hover { color: var(--sage); }

/* Back link / breadcrumb */
.back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 24px;
  border-bottom: 1px solid transparent;
}
.back-link::before { content: "\2190  "; color: var(--sage); }
.back-link:hover { border-bottom-color: var(--sage); }

/* At-a-glance / callout */
.at-a-glance {
  background: white;
  border: 1px solid var(--light-grey);
  border-left: 3px solid var(--sage);
  border-radius: 4px;
  padding: 22px 26px;
  margin: 1.5em 0 2.4em;
  font-size: 15.5px;
}
.at-a-glance h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.04em;
  text-transform: none;
}
.at-a-glance dl {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 24px;
}
.at-a-glance dt {
  font-weight: 500;
  color: var(--navy);
}
.at-a-glance dd {
  margin: 0;
  color: var(--charcoal);
}

/* Worked example callout */
.callout {
  background: rgba(111, 168, 154, 0.06);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 1.4em 0;
  font-size: 15.5px;
}
.callout h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.04em;
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { margin: 0.4em 0; }

/* Cost table */
table.cost {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.8em;
  font-size: 15.5px;
}
table.cost th, table.cost td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--light-grey);
  vertical-align: top;
}
table.cost th {
  color: var(--navy);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--navy);
}
table.cost td:first-child {
  font-weight: 500;
  color: var(--navy);
  width: 38%;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(31, 42, 68, 0.16);
  padding: 20px 22px;
  z-index: 200;
  display: none;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
}
.cookie-banner.visible { display: block; }
.cookie-banner h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.cookie-banner p {
  margin: 0 0 14px 0;
  font-size: 14px;
  max-width: none;
}
.cookie-banner .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 14px;
  padding: 9px 16px;
}
.cookie-banner .btn-link {
  background: transparent;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  padding: 9px 8px;
  font-size: 13.5px;
}
.cookie-banner a { color: var(--navy); text-decoration-color: var(--sage); }


/* ============================================
   Mobile menu — full-screen drawer
   Works at 320, 375, 390, 430, 768px
   ============================================ */

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
}
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-burger { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile-only nav items used inside the open drawer */
.mobile-only,
.mobile-cta {
  display: none;
}

/* Prevent body scroll while menu open */
body.menu-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .hero-with-image { grid-template-columns: 1fr; gap: 32px; padding: 8px 0 24px; }
  .hero-with-image .hero-text h1 { font-size: 36px; }
  figure.editorial.full { width: calc(100vw - 40px); }

  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .at-a-glance dl { grid-template-columns: 1fr; gap: 4px; }
  .at-a-glance dt { margin-top: 8px; }
  .at-a-glance dt:first-child { margin-top: 0; }

  
  
  .menu-toggle { display: inline-flex; }
  .brand-logo-img { width: 170px; max-width: 170px; height: auto; }

  /* Drop backdrop-filter on mobile to avoid containing block issues */
  

  /* Hide desktop nav by default on mobile */
  nav.primary { display: none; }

  /* Open state — full-screen drawer below header */
  nav.primary.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--off-white);
    padding: 12px 24px 32px;
    gap: 0;
    overflow-y: auto;
    z-index: 100;
    border-top: 1px solid rgba(31, 42, 68, 0.06);
    animation: drawerIn 0.18s ease-out;
  }
  nav.primary.open a {
    display: block;
    width: 100%;
    padding: 18px 4px;
    font-size: 19px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--light-grey);
    border-left: none;
    border-right: none;
    border-top: none;
    min-height: 44px;
  }
  nav.primary.open a:hover,
  nav.primary.open a:focus {
    background: rgba(31, 42, 68, 0.03);
    color: var(--navy);
    border-bottom-color: var(--light-grey);
  }
  nav.primary.open a.active {
    color: var(--sage);
  }

  /* The Talk to us CTA shown only inside the mobile drawer */
  .mobile-cta {
    display: block;
    margin-top: 24px;
    text-align: center;
    background: var(--sand);
    color: var(--navy) !important;
    border: none !important;
    border-radius: 8px;
    padding: 16px 22px !important;
    font-weight: 600 !important;
  }
  nav.primary.open .mobile-cta {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  
  nav.primary.open { padding: 8px 20px 24px; }
  nav.primary.open a { font-size: 18px; padding: 16px 4px; }
}

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Job listings (CMS-ready)
   ============================================ */

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 1.5em 0 2.4em;
}

.job-card {
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--charcoal);
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.job-card:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
  color: var(--charcoal);
}
.job-card.featured {
  border-left: 4px solid var(--sand);
  background: linear-gradient(180deg, rgba(214, 168, 92, 0.04), white 60%);
}
.job-card .job-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  background: rgba(214, 168, 92, 0.12);
  padding: 3px 8px;
  border-radius: 3px;
}
.job-card .job-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.job-card .job-company {
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 12px;
  font-weight: 500;
}
.job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  color: var(--charcoal);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.job-card .job-meta span { display: inline-flex; align-items: center; }
.job-card .job-meta span::before {
  content: '·';
  margin-right: 12px;
  color: var(--light-grey);
}
.job-card .job-meta span:first-child::before { display: none; }
.job-card .job-desc {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--charcoal);
}

.sponsored-strip {
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 24px 26px;
  margin: 2em 0;
}
.sponsored-strip .sponsor-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey, #9A9A9A);
  margin-bottom: 8px;
}
.sponsored-strip h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.sponsored-strip p {
  font-size: 14.5px;
  margin: 0 0 12px;
}
.sponsored-strip .sponsor-cta {
  font-size: 14px;
  font-weight: 500;
}

.empty-jobs {
  background: white;
  border: 1px dashed var(--light-grey);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  color: var(--charcoal);
  font-size: 15px;
}

.signup-block {
  background: var(--navy);
  color: var(--off-white);
  padding: 32px 36px;
  border-radius: 10px;
  margin: 2em 0;
}
.signup-block h2 {
  color: var(--off-white);
  margin: 0 0 8px;
  font-size: 22px;
}
.signup-block p {
  color: rgba(247, 245, 242, 0.85);
  margin: 0 0 18px;
  max-width: 56ch;
}
.signup-block .signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.signup-block input[type=email] {
  flex: 1 1 240px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(247, 245, 242, 0.25);
  background: rgba(247, 245, 242, 0.08);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.signup-block input[type=email]::placeholder { color: rgba(247, 245, 242, 0.55); }
.signup-block .btn-primary {
  background: var(--sand);
  color: var(--navy);
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
}
.signup-block .btn-primary:hover { background: var(--sand-hover); }

.advertise-block {
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 2em 0 1em;
}
.advertise-block h2 {
  margin-top: 0;
  font-size: 22px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 1.4em 0 1.2em;
}
.tier {
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 18px 20px;
}
.tier h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.tier .price {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 8px;
}
.tier p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
  color: var(--charcoal);
}
@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; gap: 12px; }
  .signup-block { padding: 24px 22px; }
  .advertise-block { padding: 22px 24px; }
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1em 0 1.6em;
}
.filter-chip {
  background: white;
  border: 1px solid var(--light-grey);
  color: var(--charcoal);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--off-white);
}

/* ============================================
   Talent network form (Web3Forms + hCaptcha)
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.talent-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.talent-form .form-row { display: block; }

.talent-form input[type=text],
.talent-form input[type=email],
.talent-form input[type=url],
.talent-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(247, 245, 242, 0.25);
  background: rgba(247, 245, 242, 0.08);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.talent-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.talent-form input::placeholder,
.talent-form textarea::placeholder { color: rgba(247, 245, 242, 0.55); }
.talent-form input:focus,
.talent-form textarea:focus {
  outline: 2px solid var(--sand);
  outline-offset: 1px;
  border-color: transparent;
}

.talent-form .file-row {
  background: rgba(247, 245, 242, 0.04);
  border: 1px dashed rgba(247, 245, 242, 0.2);
  border-radius: 6px;
  padding: 14px;
}
.talent-form .file-row label {
  display: block;
  font-size: 13px;
  color: rgba(247, 245, 242, 0.75);
  margin-bottom: 8px;
}
.talent-form input[type=file] {
  font-size: 14px;
  color: rgba(247, 245, 242, 0.85);
  font-family: 'Inter', sans-serif;
  max-width: 100%;
}
.talent-form input[type=file]::file-selector-button {
  background: rgba(247, 245, 242, 0.12);
  color: var(--off-white);
  border: 1px solid rgba(247, 245, 242, 0.25);
  padding: 8px 14px;
  border-radius: 6px;
  margin-right: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.talent-form input[type=file]::file-selector-button:hover {
  background: rgba(247, 245, 242, 0.2);
}

.talent-form .cf-turnstile { margin: 4px 0; min-height: 65px; }

.talent-form button[type=submit] {
  justify-self: start;
  margin-top: 4px;
}

/* ============================================================
   Find Funding finder
   ============================================================ */
.jf-app { margin: 2em 0 0; }
.jf-progress { height: 6px; background: var(--light-grey); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.jf-progress-fill { height: 100%; background: var(--sand); width: 0; transition: width 0.25s ease; }
.jf-count { font-size: 13px; color: #6b6b6b; letter-spacing: 0.02em; margin-bottom: 20px; }
.jf-question { font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.3; margin: 0 0 16px; }
.jf-opt { display: block; width: 100%; text-align: left; padding: 15px 18px; margin: 0 0 10px; font-family: inherit; font-size: 16px; color: var(--navy); background: #fff; border: 1px solid var(--light-grey); border-radius: 10px; cursor: pointer; line-height: 1.45; transition: border-color 0.15s ease, background 0.15s ease; }
.jf-opt:hover { border-color: var(--sage); }
.jf-opt.sel { border: 2px solid var(--sand); padding: 14px 17px; background: #FCF7EF; }
.jf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.jf-btn { font-family: inherit; font-size: 15px; padding: 11px 20px; border-radius: 8px; cursor: pointer; border: 1px solid var(--light-grey); background: #fff; color: var(--navy); transition: border-color 0.15s ease, background 0.15s ease; }
.jf-btn:hover { border-color: var(--sage); }
.jf-btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.jf-btn.primary:hover { background: #16203a; }
.jf-rec { background: #fff; border: 1px solid var(--light-grey); border-left: 4px solid var(--sand); border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; }
.jf-rec h3 { margin: 4px 0 8px; font-size: 24px; }
.jf-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; }
.jf-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #F0E3C9; color: #6b4e1e; margin-bottom: 14px; }
.jf-sec { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--navy); margin: 18px 0 8px; }
.jf-watch { font-size: 15px; color: var(--charcoal); background: var(--off-white); border-radius: 8px; padding: 12px 15px; line-height: 1.6; }
.jf-reqs { margin: 0; padding-left: 20px; }
.jf-reqs li { margin-bottom: 4px; }
.jf-alt { border: 1px solid var(--light-grey); border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; background: #fff; }
.jf-form { background: var(--off-white); border: 1px solid var(--light-grey); border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; }
.jf-input { width: 100%; font-family: inherit; font-size: 16px; padding: 12px 14px; margin: 0 0 12px; border: 1px solid var(--light-grey); border-radius: 8px; background: #fff; color: var(--charcoal); }
.jf-input:focus { outline: none; border-color: var(--sage); }
.jf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--charcoal); line-height: 1.55; margin: 4px 0 14px; }
.jf-note { font-size: 13px; color: #6b6b6b; margin-top: 12px; line-height: 1.5; }
.jf-err { color: #b3261e; font-size: 14px; margin: 0 0 12px; }
/* ============================================================
   Find Funding CTA (foot of articles)
   ============================================================ */
.ff-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #FCF7EF; border: 1px solid #ECDFC4; border-left: 4px solid var(--sand); border-radius: 12px; padding: 22px 26px; margin: 2.5em 0 1.5em; }
.ff-cta h3 { margin: 0 0 6px; font-size: 20px; margin-top: 0; }
.ff-cta p { margin: 0; font-size: 15px; color: var(--charcoal); max-width: 54ch; }
.ff-cta-btn { background: var(--sand); color: var(--navy); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.ff-cta-btn:hover { background: var(--sand-hover); color: var(--navy); }
.ff-cta-eyebrow { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6b4e1e; margin-bottom: 6px; }
.jf-select, .jf-textarea { width: 100%; font-family: inherit; font-size: 16px; padding: 12px 14px; margin: 0 0 12px; border: 1px solid var(--light-grey); border-radius: 8px; background: #fff; color: var(--charcoal); }
.jf-select:focus, .jf-textarea:focus { outline: none; border-color: var(--sage); }
.jf-textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.jf-row { display: flex; gap: 10px; }
.jf-row > * { flex: 1; min-width: 0; }
@media (max-width: 520px) { .jf-row { flex-direction: column; gap: 0; } }
.jf-flabel { display: block; font-size: 13px; font-weight: 500; color: var(--charcoal); margin: 0 0 5px; }

/* ============================================================
   Persistent "Find funding" CTA
   - Desktop: two header buttons (Talk to us + Find funding),
     kept visible by the existing sticky header.
   - Mobile: a sticky bottom bar with a single Find funding button.
   ============================================================ */





/* The in-nav "Find funding" link is redundant on desktop because the
   header button covers it, so hide it there. It still appears in the
   mobile drawer for completeness. */
@media (min-width: 861px) {
  nav.primary a.ff-navlink { display: none; }
}

/* Mobile sticky bottom CTA bar */
.mobile-funding-bar { display: none; }

@media (max-width: 860px) {
  

  .mobile-funding-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 245, 242, 0.97);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-top: 1px solid rgba(31, 42, 68, 0.10);
    box-shadow: 0 -4px 20px rgba(31, 42, 68, 0.07);
  }
  .mobile-funding-bar .btn {
    flex: 1;
    text-align: center;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 600;
  }

  /* Keep the bar from covering page content / form buttons */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  /* Pages with their own primary form opt out of the bar */
  body.no-funding-bar { padding-bottom: 0; }
  body.no-funding-bar .mobile-funding-bar { display: none; }
}

/* ============================================================
   Find funding page — two-route signpost
   ============================================================ */
.ff-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2em 0 0.5em;
}
.route-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.route-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.07);
}
.route-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); }
.route-title { font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.route-desc { font-size: 14.5px; color: var(--charcoal); line-height: 1.5; }
.route-link { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 2px; }
.route-card:hover .route-link { color: var(--sage); }

@media (max-width: 600px) {
  .ff-routes { grid-template-columns: 1fr; }
}

/* ============================================================
   Find funding page — "How Juno looks for the right funder"
   ============================================================ */
.funder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.4em 0 1em;
}
.funder-card { position: relative; }
.funder-card .funder-num {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.funder-card h4 { margin-top: 0; margin-bottom: 6px; }
.funder-card p { margin-bottom: 0; font-size: 15px; }

@media (max-width: 600px) {
  .funder-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Find funding page — direct request form reassurance
   ============================================================ */
.ff-reassure {
  background: rgba(111, 168, 154, 0.08);
  border-radius: 8px;
  padding: 13px 16px;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
}
.ff-reassure strong { color: var(--navy); }

/* Offset in-page anchor targets so the sticky header doesn't cover them */
.section-label[id], #jf-app, #direct, #guided { scroll-margin-top: 88px; }

/* ============================================================
   Job board — Apply button + application dialog
   ============================================================ */
.job-card .job-apply-btn { margin-top: 14px; }

dialog.apply-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  width: calc(100% - 32px);
  max-width: 520px;
  background: #fff;
  color: var(--charcoal);
  box-shadow: 0 24px 60px rgba(31, 42, 68, 0.28);
}
dialog.apply-dialog::backdrop { background: rgba(31, 42, 68, 0.45); }
.apply-dialog .apply-inner { padding: 24px 26px; position: relative; }
.apply-dialog-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #6b6b6b;
  cursor: pointer;
  padding: 4px 8px;
}
.apply-dialog-close:hover { color: var(--navy); }

/* ============================================================
   Two-tier header (May 2026)
   Top row: logo + 3 pill actions. Second row: centred nav.
   ============================================================ */



/* Pill action buttons in the top row */


.header-actions .btn
.header-actions .btn.header-cta-underwriter:hover {
  background: rgba(31, 42, 68, 0.10);
  color: var(--navy);
}
.header-actions .btn
.header-actions .btn.header-cta-talk:hover {
  background: rgba(31, 42, 68, 0.05);
  color: var(--navy);
}
.header-actions .btn
.header-actions .btn.header-cta-find:hover {
  background: var(--sand-hover);
  border-color: var(--sand-hover);
  color: var(--navy);
}

/* Second-row navigation — centred text links */
header.site 
header.site 

/* Items only visible inside the mobile drawer */
nav.primary a.mobile-only { display: none; }

/* Mobile two-tier behaviour */
@media (max-width: 860px) {
  .header-actions { display: none; }
  header.site-header { padding: 6px 8px 0; }
  .header-shell { padding: 10px 16px 10px; }
  .brand-logo-img { width: 130px; max-width: 130px; }
  .header-divider { display: none; }
  header.site
  .menu-toggle { display: inline-flex; }
  nav.primary.open a.mobile-only { display: block; }
  nav.primary.open a.mobile-only:first-of-type { margin-top: 16px; }
  /* Pill the Find funding CTA inside the drawer */
  nav.primary.open a.mobile-cta { border-radius: 999px; }
}

/* ============================================================
   Live opportunities — filters, cards
   ============================================================ */
.opp-filters { display: flex; flex-direction: column; gap: 10px; margin: 1em 0 1.6em; }
.opp-filters .filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; align-items: center; }
.opp-filters .filter-row::before {
  content: attr(aria-label);
  flex: 0 0 110px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
}
.opp-search {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--charcoal);
}
.opp-search:focus { outline: none; border-color: var(--sage); }

.opp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 1em 0 2em; }
.opp-card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.opp-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--navy);
  border: 1px solid var(--light-grey);
}
.opp-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.opp-status-active { background: #e3f0ea; color: #1f6b4f; }
.opp-status-closed, .opp-status-filled { background: #f0e3e3; color: #8a2b2b; }
.opp-status-under-review, .opp-status-pending { background: #fdf3e7; color: #6b4e1e; }
.opp-title { margin: 4px 0 6px; font-size: 18px; color: var(--navy); font-weight: 600; line-height: 1.35; }

.opp-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0;
  font-size: 14.5px;
}
.opp-dl > div { display: block; }
.opp-dl > div.opp-dl-wide { grid-column: 1 / -1; }
.opp-dl dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b6b6b;
  font-weight: 600;
  margin: 0 0 2px;
}
.opp-dl dd { margin: 0; color: var(--charcoal); }

.opp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--light-grey);
}
.opp-id {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #6b6b6b;
}
.opp-contact {
  background: var(--sand);
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--sand);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.opp-contact:hover {
  background: var(--sand-hover);
  border-color: var(--sand-hover);
  color: var(--navy);
}

@media (max-width: 600px) {
  .opp-filters .filter-row::before { flex: 0 0 100%; }
  .opp-dl { grid-template-columns: 1fr; gap: 8px 0; }
  .opp-foot { flex-direction: column; align-items: stretch; }
  .opp-foot .opp-contact { text-align: center; }
  .opp-foot .opp-id { text-align: center; }
}

/* Mobile fix: the wide editorial figure was getting crushed by its
   desktop pull-out margins on narrow screens. Reset on mobile so the
   figure simply fills its column. */
@media (max-width: 860px) {
  figure.editorial.wide {
    margin-left: 0;
    margin-right: 0;
    