:root {
  color-scheme: light;
  --ink: #14211d;
  --ink-soft: #30433c;
  --muted: #607069;
  --paper: #fffdf7;
  --surface: #ffffff;
  --soft: #edf4ef;
  --soft-strong: #dfeae4;
  --brand: #12372f;
  --brand-2: #225848;
  --accent: #b66b39;
  --gold: #d9ad57;
  --line: #d6e1da;
  --danger: #8d3029;
  --shadow: 0 24px 64px rgba(18, 55, 47, 0.13);
  --shadow-soft: 0 12px 32px rgba(18, 55, 47, 0.07);
  --radius-sm: .72rem;
  --radius: 1rem;
  --radius-lg: 1.45rem;
  --shell: 76rem;
  font-family: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; text-rendering: optimizeLegibility; }
body, button, input, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .24em; }
p, li { text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 15ch; font-size: clamp(2.7rem, 7.4vw, 5.7rem); }
h2 { max-width: 20ch; font-size: clamp(1.95rem, 4.8vw, 3.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.shell { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(54rem, calc(100% - 2.5rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .72rem 1rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 850; transform: translateY(-190%); box-shadow: var(--shadow-soft); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(18,55,47,.1); background: rgba(255,253,247,.96); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 4.85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--brand); font-weight: 900; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: .8rem; background: var(--brand); color: #fff; box-shadow: 0 9px 22px rgba(18,55,47,.2); }
.desktop-nav { display: flex; align-items: center; gap: .12rem; }
.desktop-nav a, .mobile-menu a, .mobile-menu summary { min-height: 2.75rem; display: inline-flex; align-items: center; padding: .45rem .72rem; border-radius: .65rem; color: var(--ink-soft); font-size: .89rem; font-weight: 770; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a[aria-current="page"], .mobile-menu a:hover { background: var(--soft); color: var(--brand); }
.desktop-nav .nav-cta { margin-left: .3rem; background: var(--brand); color: #fff; }
.desktop-nav .nav-cta:hover { background: var(--brand-2); color: #fff; }
.mobile-menu { display: none; }
.mobile-menu > summary { list-style: none; border: 1px solid var(--line); cursor: pointer; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 4.25rem; right: 1.25rem; width: min(21rem, calc(100vw - 2.5rem)); display: grid; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.hero { position: relative; overflow: hidden; padding: clamp(4.6rem, 10vw, 8.2rem) 0; background: radial-gradient(circle at 87% 10%, rgba(217,173,87,.25) 0 8.5rem, transparent 8.6rem), linear-gradient(135deg,#edf5f0 0%,#fff8e9 54%,#ecd8c7 100%); }
.hero::after { content: ""; position: absolute; right: -12rem; bottom: -22rem; width: 35rem; height: 35rem; border: 1px solid rgba(18,55,47,.16); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.16fr) minmax(19rem,.84fr); align-items: center; gap: clamp(2.5rem,7vw,6rem); }
.hero-copy > p:not(.eyebrow), .page-hero .lead { max-width: 46rem; margin: 1.35rem 0 0; color: #40534c; font-size: clamp(1.05rem,2vw,1.28rem); }
.eyebrow { margin: 0 0 .8rem; color: var(--brand-2); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.actions { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.button, .button-secondary { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1.15rem; border: 1px solid var(--brand); border-radius: 999px; font-weight: 850; text-decoration: none; }
.button { background: var(--brand); color: #fff; }
.button:hover, .button:focus-visible { background: var(--brand-2); }
.button-secondary { background: transparent; color: var(--brand); }
.button-secondary:hover, .button-secondary:focus-visible { background: #fff; }
.route-board { padding: 1.45rem; border-radius: var(--radius-lg); background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.route-board h2 { max-width: 14ch; font-size: clamp(1.65rem,3.5vw,2.4rem); }
.route-board ol { margin: 1.3rem 0 0; padding: 0; list-style: none; counter-reset: route; }
.route-board li { counter-increment: route; display: grid; grid-template-columns: 2rem 1fr; gap: .72rem; padding: .84rem 0; border-top: 1px solid rgba(255,255,255,.14); color: #dce9e4; }
.route-board li::before { content: counter(route); width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #251a09; font-size: .74rem; font-weight: 900; }
.route-board strong { display: block; color: #fff; }
.section { padding: clamp(4.3rem,9vw,7.1rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--brand); color: #fff; }
.section-accent { background: #f1dfd0; }
.section-head { display: grid; grid-template-columns: minmax(0,.86fr) minmax(18rem,1.14fr); gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
.section-head > p { max-width: 44rem; margin: 0; color: var(--muted); }
.section-dark .section-head > p { color: #d4e2dd; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.card { min-width: 0; min-height: 17rem; display: flex; flex-direction: column; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.card.featured { grid-column: span 2; background: linear-gradient(135deg,#fff,#f8f1e5); }
.card p { color: var(--muted); }
.card a { margin-top: auto; color: var(--brand); font-weight: 850; }
.tag { width: fit-content; display: inline-flex; margin-bottom: .85rem; padding: .28rem .58rem; border-radius: 999px; background: var(--soft); color: var(--brand-2); font-size: .72rem; font-weight: 850; }
.step-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step-grid article { padding: 1.5rem; color: var(--ink); }
.step-grid article + article { border-left: 1px solid var(--line); }
.step-grid span { display: block; margin-bottom: .35rem; color: var(--accent); font-size: 2rem; font-weight: 950; }
.step-grid p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.panel { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); }
.clean-list { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding: .68rem 0 .68rem 1.8rem; border-top: 1px solid var(--line); }
.clean-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 900; }
.disclosure { padding: 1.15rem 1.25rem; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: #fff6ed; color: #5d3a25; }
.notice { padding: 1.15rem 1.25rem; border: 1px solid #ceddd5; border-radius: var(--radius); background: #f4f8f5; }
.page-hero { padding: clamp(3.7rem,8vw,6.1rem) 0; background: linear-gradient(140deg,#e7f0eb,#fff7e8); }
.page-hero h1 { font-size: clamp(2.45rem,6vw,4.75rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.2rem; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: #9aaaa3; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 19rem; gap: clamp(2rem,6vw,5rem); align-items: start; }
.article-body h2 { margin-top: 2.8rem; font-size: clamp(1.6rem,3.6vw,2.7rem); }
.article-body h3 { margin-top: 1.8rem; }
.article-body p, .article-body li { color: #3f504a; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: #fff; }
.article-body th, .article-body td { padding: .85rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--brand); color: #fff; }
.article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #fff8e9; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1rem; color: var(--muted); font-size: .88rem; }
.article-aside { position: sticky; top: 6rem; }
.article-aside nav, .article-aside .aside-box { padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-aside nav a { display: block; padding: .42rem 0; color: var(--brand); font-weight: 760; }
.article-aside .aside-box { margin-top: 1rem; }
.check-list li { margin: .5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card { padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card a { color: var(--brand); font-weight: 850; }
.site-footer { padding: 3.5rem 0 2rem; background: #0d2b25; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 2rem; }
.site-footer p { color: #bfd1cb; }
.site-footer strong { display: block; margin-bottom: .7rem; }
.site-footer a { display: block; margin: .35rem 0; color: #dbe7e3; text-decoration: none; }
.footer-meta { margin-top: 2rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #a9c1b9; font-size: .82rem; }
@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid, .section-head, .split, .article-layout { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .step-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .step-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .step-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .shell, .narrow { width: min(var(--shell), calc(100% - 1.5rem)); }
  h1 { font-size: clamp(2.35rem,13vw,3.8rem); }
  .card-grid, .step-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .card.featured { grid-column: auto; }
  .step-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .article-body table { display: block; overflow-x: auto; }
  .actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Programme research directory */
.programme-hero { background: radial-gradient(circle at 83% 18%, rgba(217,173,87,.26) 0 7rem, transparent 7.1rem), linear-gradient(140deg,#e7f0eb,#fff7e8); }
.programme-summary { margin-top: 2rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 49rem; overflow: hidden; border: 1px solid rgba(18,55,47,.15); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); }
.programme-summary div { padding: 1rem 1.15rem; }
.programme-summary div + div { border-left: 1px solid rgba(18,55,47,.13); }
.programme-summary strong { display: block; color: var(--brand); font-size: 1.8rem; line-height: 1; }
.programme-summary span { display: block; margin-top: .35rem; color: var(--muted); font-size: .82rem; }
.programme-toc { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.programme-toc strong { margin-right: .4rem; color: var(--brand); }
.programme-toc a { padding: .42rem .68rem; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: .84rem; font-weight: 800; text-decoration: none; }
.programme-group { padding: clamp(2.2rem,5vw,4rem) 0; }
.programme-group:nth-of-type(even) { background: var(--soft); }
.programme-group > .section-head, .programme-group > .programme-grid { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }
.programme-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.programme-card { min-width: 0; display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.programme-card h3 { margin-top: .4rem; }
.programme-card p { color: var(--muted); }
.programme-card a { margin-top: auto; color: var(--brand); font-weight: 850; }
.programme-kicker { color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.programme-status { padding: .55rem .65rem; border-radius: .6rem; background: var(--soft); font-size: .86rem; }
.programme-feature { background: linear-gradient(135deg,#f8efe4,#edf5f0); }
.programme-feature-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.programme-feature-stats div { display: grid; align-content: center; padding: 1.35rem; text-align: center; }
.programme-feature-stats div + div { border-left: 1px solid var(--line); }
.programme-feature-stats strong { color: var(--brand); font-size: clamp(2rem,5vw,3.5rem); line-height: 1; }
.programme-feature-stats span { margin-top: .35rem; color: var(--muted); font-size: .8rem; font-weight: 760; }
@media (max-width: 940px) { .programme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .programme-grid, .programme-summary, .programme-feature-stats { grid-template-columns: 1fr; } .programme-summary div + div, .programme-feature-stats div + div { border-left: 0; border-top: 1px solid var(--line); } }
