/* COBH — Centre for Osteoporosis and Bone Health
   Landing page styles (Screens 1–2). Tokens follow the approved brand sheet. */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts) ---------- */
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/lato-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/lato-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/caveat-latin-600-normal.woff2') format('woff2'); }

:root {
  /* Primary */
  --navy: #062D59;          /* COBH Navy — headings, primary buttons */
  --navy-logo: #013163;     /* sampled from the approved logo master's background */
  --blue: #1E63D5;          /* COBH Blue — links, active states */
  --sky: #5CA8FF;
  --pale: #E9F3FF;
  /* Programme / feature */
  --green: #16A34A;   --green-ink: #15803D;
  --purple: #7C3AED;  --purple-ink: #6D28D9;
  --orange: #F97316;  --orange-ink: #C2410C;
  --yellow: #FBBF24;
  /* Neutrals */
  --text: #1F2937;
  --text-2: #64748B;
  --text-2-strong: #475569;
  --border: #E5E7EB;
  --bg: #F9FAFB;
  --white: #fff;

  --font-head: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  /* Spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(6, 45, 89, .06), 0 4px 14px rgba(6, 45, 89, .06);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
svg.i { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem; line-height: 1.25;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg.i { font-size: 1.05em; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #0a3d77; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--pale); }
.btn--block { width: 100%; }

/* ---------- Status pills (text label, never colour alone) ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .75rem; line-height: 1;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  background: #FEF3C7; color: #78350F; border: 1px solid #FCD34D;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--planned { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.status-pill--test { background: #FFF7ED; color: #9A3412; border-color: #FDBA74; }
.status-pill--ok { background: #DCFCE7; color: #14532D; border-color: #86EFAC; }
.status-pill--research { background: #E9F3FF; color: #062D59; border-color: #BFD6F6; }
.status-pill--pending { background: #F1F5F9; color: #334155; border-color: #CBD5E1; }
.status-pill--unknown { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }

/* ---------- Secure access strip ---------- */
.access-strip { background: var(--navy); color: #fff; font-size: .8125rem; }
.access-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 40px; }
.access-strip__tag { font-family: var(--font-head); font-weight: 500; opacity: .92; }
.access-strip ul { display: flex; align-items: center; gap: 2px; }
.access-strip a {
  display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none;
  padding: 8px 10px; border-radius: 6px; font-weight: 700;
}
.access-strip a:hover { background: rgba(255,255,255,.12); }
.access-strip li + li::before { content: ''; display: inline-block; width: 1px; height: 14px; background: rgba(255,255,255,.3); margin-right: 2px; vertical-align: middle; }
.access-strip svg.i { font-size: 1rem; }

/* ---------- Header / main navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; border-radius: var(--r-sm); background: var(--navy-logo); line-height: 0; }
.brand img { height: 52px; width: auto; border-radius: var(--r-sm); }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a, .nav-dd > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .875rem; color: var(--text);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.main-nav a:hover, .nav-dd > button:hover { color: var(--blue); background: var(--pale); }
.main-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-dd { position: relative; }
.nav-dd > button svg.i { transition: transform .15s ease; }
.nav-dd > button[aria-expanded="true"] svg.i { transform: rotate(180deg); }
.nav-dd__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(6,45,89,.14);
}
.nav-dd__menu a { display: flex; width: 100%; padding: 10px 12px; white-space: normal; }
.nav-dd__menu .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-right: 6px; }
.nav-dd__menu li.sep { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.header-actions { display: flex; align-items: center; gap: var(--s3); flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--navy); background: none; border: 0; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--pale); }
.icon-btn svg.i { font-size: 1.35rem; }
.menu-btn { display: none; }

/* ---------- Mobile navigation panel ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: rgba(6,45,89,.45); }
.mobile-nav__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; }
.mobile-nav__head img { height: 44px; width: auto; border-radius: 6px; }
.mobile-nav__body { padding: var(--s4) var(--gutter) var(--s6); display: grid; gap: var(--s5); }
.mobile-nav__group h2 { font-size: .8125rem; font-weight: 600; color: var(--text-2-strong); margin-bottom: var(--s2); }
.mobile-nav__group a {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 500; color: var(--navy); text-decoration: none;
}
.mobile-nav__group a:hover { background: var(--pale); }
.mobile-nav__group a svg.i { font-size: 1.2rem; color: var(--blue); }
.mobile-nav__group .sub a { padding-left: 44px; font-weight: 500; color: var(--text-2-strong); min-height: 44px; }
.mobile-nav__group--secure { background: var(--pale); border-radius: var(--r-md); padding: var(--s4); }
.mobile-nav__group--secure p { font-size: .8125rem; color: var(--text-2-strong); margin-bottom: var(--s2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #DCEBFF 0%, #EEF6FF 55%, #fff 100%); }
.hero__media { position: absolute; inset: 86px 0 0 36%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, #000 26%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, #000 26%, #000 80%, transparent 100%);
          mask-composite: intersect;
}
.hero .wrap { position: relative; min-height: 520px; display: flex; align-items: center; padding-block: var(--s7) 96px; }
.hero__copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.35rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; }
.hero h1 span { display: block; }
.hero__lead { margin-top: var(--s4); font-size: 1.0625rem; max-width: 46ch; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero__hand {
  position: absolute; right: calc(var(--gutter) + 8px); top: 22px; margin: 0;
  font-family: var(--font-hand); font-weight: 600; font-size: clamp(1.35rem, 1rem + 1vw, 2rem);
  line-height: 1.1; color: var(--navy); transform: rotate(-4deg); text-align: left;
}
.hero__hand span { display: block; }
.hero__hand span + span { padding-left: 1.4em; }

/* ---------- About / pillars ---------- */
.pillars { position: relative; z-index: 2; margin-top: -58px; }
.pillars ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.pillar {
  display: flex; gap: var(--s4); align-items: flex-start; height: 100%;
  background: #fff; border: 1px solid #DCE7F5; border-radius: var(--r-md); padding: var(--s5) var(--s4);
  box-shadow: var(--shadow);
}
.pillar svg.i { font-size: 2.1rem; color: var(--navy); margin-top: 2px; }
.pillar h3 { font-size: 1rem; font-weight: 600; }
.pillar p { font-size: .875rem; color: var(--text-2-strong); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--s8) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); font-weight: 700; letter-spacing: -.01em; }
.section-head p { color: var(--text-2-strong); margin-top: 4px; max-width: 62ch; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--blue); text-decoration: none; padding: 6px 2px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Programme cards ---------- */
.programmes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.prog {
  --c: var(--blue); --c-ink: var(--blue); --tint: #EEF4FF; --chip: #DCE8FD;
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--tint); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
}
.prog--green .prog__head img { object-position: 60% 50%; }
.prog--green  { --c: var(--green);  --c-ink: var(--green-ink);  --tint: #F0FBF3; --chip: #D9F2E1; }
.prog--blue   { --c: var(--blue);   --c-ink: var(--blue);       --tint: #EEF4FF; --chip: #DCE8FD; }
.prog--purple { --c: var(--purple); --c-ink: var(--purple-ink); --tint: #F5F0FF; --chip: #E7DCFD; }
.prog--orange { --c: var(--orange); --c-ink: var(--orange-ink); --tint: #FFF5EC; --chip: #FEE4CC; }
.prog__head {
  position: relative; min-height: 176px; padding: var(--s4); color: #fff;
  background: linear-gradient(100deg, var(--c-ink) 0%, var(--c-ink) 40%, var(--c) 100%);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s3);
}
.prog__head img {
  position: absolute; inset: 0 0 0 50%; width: 50%; height: 100%; object-fit: cover; object-position: 70% 25%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.prog__title { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); max-width: 72%; }
.prog__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--c-ink); flex: none; }
.prog__icon svg.i { font-size: 1.4rem; }
.prog__head h3 { color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.prog__head h3 small { display: block; font-size: .75rem; font-weight: 600; margin-top: 3px; opacity: .95; }
.prog__head .status-pill { position: relative; align-self: flex-start; }
.prog__body { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s4); flex: 1; }
.prog__body > p { font-size: .9375rem; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--chip); color: #1F2937; }
.prog .btn { margin-top: auto; background: var(--c-ink); color: #fff; }
.prog .btn:hover { filter: brightness(.92); }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
.journey li { position: relative; display: flex; align-items: center; gap: var(--s3); padding: var(--s4); background: var(--pale); border-radius: 999px; }
.journey li:not(:last-child)::after {
  content: ''; position: absolute; right: calc(var(--s5) * -0.5 - 5px); top: 50%; width: 10px; height: 10px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: translateY(-50%) rotate(45deg);
}
.journey__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; flex: none; }
.journey h3 { font-size: .9375rem; font-weight: 600; }
.journey p { font-size: .8125rem; color: var(--text-2-strong); }
.journey-note { margin-top: var(--s3); font-size: .875rem; color: var(--text-2-strong); }

/* ---------- Who we support ---------- */
.support { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.support a {
  position: relative; display: flex; min-height: 190px; overflow: hidden; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.support a:hover { border-color: var(--sky); }
.support__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: var(--s5) var(--s4); max-width: 64%; }
.support__copy > svg.i { font-size: 1.7rem; color: var(--navy); margin-bottom: 4px; }
.support__copy h3 { font-size: 1rem; font-weight: 600; }
.support__copy p { font-size: .8125rem; color: var(--text-2-strong); }
.support__copy .text-link { margin-top: auto; font-size: .8125rem; padding: 0; }
.support img {
  position: absolute; right: 0; top: 0; height: 100%; width: 44%; object-fit: cover; object-position: center 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}

/* ---------- Secure workspaces ---------- */
.workspaces { background: var(--pale); border-radius: var(--r-lg); padding: var(--s6) var(--s5); border: 1px solid #D6E6FB; }
.workspaces .section-head { margin-bottom: var(--s4); }
.ws-note { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--navy); font-weight: 700; }
.ws-note svg.i { font-size: 1.1rem; }
.ws-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.ws {
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s4);
  background: #fff; border-radius: var(--r-md); border: 1px solid #DCE7F5;
}
.ws__top { display: flex; align-items: center; gap: var(--s3); }
.ws__top svg.i { font-size: 1.9rem; color: var(--navy); }
.ws h3 { font-size: 1rem; font-weight: 600; }
.ws__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; color: var(--text-2-strong); }
.ws p { font-size: .8125rem; color: var(--text-2-strong); }
.ws .btn { margin-top: auto; min-height: 42px; font-size: .875rem; background: #DCEAFE; color: var(--navy); }
.ws .btn:hover { background: #C9DEFD; }
.ws--admin .btn { background: #D9F2E1; } .ws--admin .btn:hover { background: #C3EACF; }
.ws--super .btn { background: #EDE5FE; } .ws--super .btn:hover { background: #E0D3FD; }
.ws--pro .btn { background: #FFE8D5; } .ws--pro .btn:hover { background: #FFDABB; }
.ws-foot { margin-top: var(--s4); font-size: .8125rem; color: var(--text-2-strong); }

/* ---------- News ---------- */
.demo-flag { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: #78350F; background: #FEF3C7; border: 1px solid #FCD34D; padding: 4px 10px; border-radius: 999px; }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.news article { display: grid; grid-template-columns: 112px 1fr; gap: var(--s4); padding: var(--s3); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); }
.news__art { display: grid; place-items: center; border-radius: var(--r-sm); background: var(--pale); color: var(--blue); min-height: 112px; }
.news__art svg.i { font-size: 2.6rem; stroke-width: 1.4; }
.news__art--green { background: #E5F6EA; color: var(--green-ink); }
.news__art--purple { background: #F0E9FE; color: var(--purple-ink); }
.news__cat { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #DCEAFE; color: var(--navy); }
.news__cat--green { background: #D9F2E1; color: #14532D; }
.news__cat--purple { background: #EDE5FE; color: #4C1D95; }
.news h3 { font-size: 1rem; font-weight: 600; margin-top: 8px; }
.news p { font-size: .8125rem; color: var(--text-2-strong); margin-top: 4px; }
.news .text-link { font-size: .8125rem; margin-top: 6px; padding: 4px 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); align-items: start; }
.faq__col { display: grid; gap: var(--s3); }
.faq__item { border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 14px 16px; min-height: 52px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--navy); border-radius: var(--r-sm);
}
.faq-q:hover { background: var(--bg); }
.faq-q .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.faq-a { padding: 0 16px 16px; font-size: .9375rem; color: var(--text); }
.faq-a p + p { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--s8); background: var(--navy-logo); color: #DCE7F5; font-size: .875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: var(--s6) var(--s5); padding-block: var(--s7); }
.footer-brand img { width: 190px; height: auto; }
.footer-brand p { margin-top: var(--s3); max-width: 30ch; }
.footer-brand .tag { font-family: var(--font-hand); font-size: 1.3rem; color: #fff; margin-top: var(--s3); }
.site-footer h2 { font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: var(--s3); }
.site-footer li + li { margin-top: 8px; }
.site-footer li a { display: inline-block; padding: 2px 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg.i { font-size: 1.1rem; margin-top: 2px; color: var(--sky); }
.footer-contact .muted { color: #B9CBE4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding-block: var(--s4); font-size: .8125rem; }
.footer-bottom ul { display: flex; gap: var(--s5); }
.footer-bottom li + li { margin-top: 0; }

/* ---------- In Development page ---------- */
.ph { padding-block: var(--s7) var(--s8); background: linear-gradient(180deg, #EEF6FF 0%, #fff 60%); }
.ph__card { max-width: 780px; margin-inline: auto; background: #fff; border: 1px solid #DCE7F5; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.ph__card h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-top: var(--s4); letter-spacing: -.01em; }
.ph__card h1:focus { box-shadow: none; }
.ph__lead { margin-top: var(--s3); color: var(--text-2-strong); max-width: 60ch; }
.ph dl { margin: var(--s5) 0 0; display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--border); }
.ph dt, .ph dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ph dt { font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--navy); padding-right: var(--s4); }
.ph dd { font-size: .9375rem; }
.ph dd .status-pill { margin-bottom: 8px; }
.ph__notice { margin-top: var(--s5); padding: var(--s3) var(--s4); background: #FFFBEB; border: 1px solid #FCD34D; border-radius: var(--r-sm); font-size: .9375rem; color: #78350F; }
.ph__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .ws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1099px) {
  .access-strip { display: none; }
  .main-nav, .header-actions .btn--primary { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header .wrap { justify-content: space-between; }
  .programmes, .support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars ul { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; gap: var(--s3); max-width: 520px; }
  .journey li { border-radius: var(--r-md); }
  .journey li:not(:last-child)::after { right: auto; left: 34px; top: auto; bottom: -11px; transform: rotate(135deg); }
  .news { grid-template-columns: 1fr; max-width: 640px; }
  .hero__media { inset: 86px 0 0 46%; }
  .hero__copy { max-width: 440px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .hero .wrap { display: block; min-height: 0; padding-block: var(--s6) var(--s5); }
  .hero__media { position: relative; inset: auto; height: 240px; margin-top: var(--s4); }
  .hero__media img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%); object-position: 50% 25%; }
  .hero__hand { position: static; transform: rotate(-3deg); margin-top: var(--s5); font-size: 1.4rem; }
  .hero__hand span + span { padding-left: 1.2em; }
  .hero__ctas .btn { width: 100%; }
  .pillars { margin-top: 0; padding-top: var(--s4); }
  .pillars ul, .programmes, .support, .ws-grid, .faq { grid-template-columns: 1fr; }
  .faq__col + .faq__col { margin-top: 0; }
  .section { padding-top: var(--s7); }
  .workspaces { padding: var(--s5) var(--s4); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ph dl { grid-template-columns: 1fr; }
  .ph dt { padding-bottom: 0; border-bottom: 0; }
  .ph__actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .news article { grid-template-columns: 1fr; }
  .news__art { min-height: 84px; }
  .support__copy { max-width: 70%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
