/*
Theme Name: Kids Fitness First
Theme URI: https://kidsfitnessfirst.org/
Author: Kids Fitness First
Author URI: https://kidsfitnessfirst.org/
Description: A responsive charity theme for Kids Fitness First, with a modular-programme homepage and a WordPress-powered Articles section.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kids-fitness-first
Tags: blog, education, custom-logo, custom-menu, featured-images, accessibility-ready, responsive-layout
*/

:root {
  --navy-950: #101c3d;
  --navy-900: #1a2b56;
  --navy-800: #263d76;
  --navy-700: #36548f;
  --green-600: #258c21;
  --green-500: #4bbd16;
  --green-100: #edf8e9;
  --orange-700: #b94100;
  --orange-500: #ff6500;
  --orange-100: #fff1e8;
  --teal-500: #36548f;
  --blue-100: #e9edf6;
  --warm-100: #f7f6f2;
  --warm-200: #ecebe5;
  --slate-700: #344554;
  --slate-500: #647582;
  --white: #fff;
  --border: #d9e0e4;
  --shadow-sm: 0 10px 28px rgba(16, 28, 61, 0.1);
  --shadow-lg: 0 30px 80px rgba(16, 28, 61, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --display: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-700);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 4px;
}

.utility-bar {
  background: var(--navy-950);
  color: #e8f2f7;
  font-size: 0.82rem;
}

.utility-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-inner a {
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(26, 43, 86, 0.14);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  min-height: 100px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy-900);
  text-decoration: none;
}

.brand-logo {
  width: 182px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.35vw, 1.2rem);
}

.desktop-nav a {
  position: relative;
  padding-block: 1.8rem;
  color: var(--slate-700);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--orange-500);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  font-size: 0.84rem;
}

.button-light {
  background: var(--white);
  color: var(--navy-900);
}

.button-secondary {
  border-color: var(--orange-500);
  background: var(--white);
  color: var(--orange-700);
}

.button-secondary:hover {
  background: var(--orange-100);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.mobile-menu {
  display: none;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(38, 61, 118, 0.3), transparent 25rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.home-hero::before {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 90px;
  content: "";
  transform: rotate(22deg);
}

.hero-grid {
  display: grid;
  min-height: 730px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange-500);
  content: "";
}

.eyebrow-light {
  color: #ffd2b8;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.interior-hero h1 {
  color: var(--white);
}

.hero-copy h1 {
  max-width: 13ch;
}

.hero-intro {
  max-width: 63ch;
  margin-top: 1.5rem;
  color: #dae6ec;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.hero-proof {
  display: grid;
  max-width: 700px;
  margin-top: 3rem;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof div {
  display: grid;
  gap: 0.1rem;
  padding: 1.2rem 1rem 0 0;
}

.hero-proof div + div {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.08rem;
}

.hero-proof span {
  color: #b8c9d3;
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  min-height: 580px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -22px;
  right: -22px;
  width: 45%;
  height: 37%;
  border-radius: 32px;
  background: var(--green-500);
  content: "";
}

.hero-visual figcaption {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
  color: #b9cad3;
  font-size: 0.72rem;
  line-height: 1.4;
}

.hero-visual figcaption span {
  flex: 0 0 auto;
  color: #d9f4df;
  font-weight: 800;
}

.hero-card {
  position: absolute;
  bottom: 50px;
  left: -34px;
  display: grid;
  min-width: 250px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: rgba(16, 28, 61, 0.92);
  box-shadow: var(--shadow-lg);
  color: #d8e6ec;
  font-size: 0.88rem;
  backdrop-filter: blur(12px);
}

.hero-card strong {
  margin-top: 0.25rem;
  color: #a8e8b8;
  font-size: 1.05rem;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.section-light {
  background: var(--warm-100);
}

.section-warm {
  background: #f8f0e6;
}

.section-navy {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(38, 61, 118, 0.24), transparent 22rem),
    var(--navy-900);
  color: #d7e5eb;
}

.section-navy h2,
.section-navy h3,
.section-navy strong {
  color: var(--white);
}

.section-navy .section-intro {
  color: #bfd0d8;
}

.section-heading {
  max-width: 720px;
}

.section-heading.is-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.is-centered .eyebrow {
  justify-content: center;
}

.section-intro {
  margin-top: 1.2rem;
  color: var(--slate-700);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6.5rem);
}

.challenge-grid {
  align-items: center;
}

.balance-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.balance-side {
  padding: 1.5rem 1.75rem;
}

.balance-side p {
  margin-top: 0.3rem;
  color: var(--navy-900);
  font-weight: 750;
}

.balance-digital {
  background: var(--blue-100);
}

.balance-world {
  background: var(--green-100);
}

.mini-label {
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balance-line {
  position: relative;
  height: 12px;
  background: linear-gradient(90deg, var(--teal-500), var(--green-500));
}

.balance-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--orange-500);
  transform: translate(-50%, -50%);
}

.balance-summary {
  padding: 1.35rem 1.75rem;
  color: var(--slate-700);
  font-size: 0.92rem;
}

.module-grid {
  display: grid;
  margin-top: 3rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.module-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 290px;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: var(--navy-900);
  box-shadow: 0 14px 38px rgba(16, 28, 61, 0.2);
}

.module-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 61, 0.96) 0%, rgba(26, 43, 86, 0.86) 48%, rgba(38, 61, 118, 0.35) 100%),
    linear-gradient(0deg, rgba(16, 28, 61, 0.82) 0%, transparent 70%);
  content: "";
}

.module-card-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.module-card:hover .module-card-image {
  transform: scale(1.025);
}

.module-card:nth-child(2),
.module-card:nth-child(5) {
  border-top: 4px solid var(--green-500);
}

.module-card:nth-child(3),
.module-card:nth-child(6) {
  border-top: 4px solid var(--teal-500);
}

.module-card:nth-child(1),
.module-card:nth-child(4) {
  border-top: 4px solid var(--orange-500);
}

.module-card-copy {
  max-width: 26ch;
}

.module-card h3 {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(16, 28, 61, 0.68);
}

.module-card p {
  margin-top: 0.8rem;
  color: #e1ebef;
  font-size: 0.92rem;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(16, 28, 61, 0.78);
}

.module-number {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 850;
  opacity: 0.72;
  text-shadow: 0 2px 12px rgba(16, 28, 61, 0.78);
}

.module-image-note {
  margin-top: 0.8rem;
  color: var(--slate-500);
  font-size: 0.75rem;
}

.signature-line {
  margin-top: 2.25rem;
  color: var(--navy-900);
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
}

.signature-line span {
  color: var(--orange-700);
}

.pathway {
  display: grid;
  margin-top: 3.25rem;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.pathway-step {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: space-between;
  padding: 1.25rem;
  background: rgba(16, 28, 61, 0.82);
}

.pathway-step > span {
  color: #ffd2b8;
  font-size: 0.76rem;
  font-weight: 850;
}

.pathway-step strong {
  max-width: 12ch;
  font-size: 1.05rem;
  line-height: 1.25;
}

.pathway-step b {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -13px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--navy-950);
  font-size: 0.8rem;
  transform: translateY(-50%);
}

.translation-grid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.translation-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) auto 1.3fr;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.translation-row > span {
  color: var(--orange-500);
}

.translation-row p {
  color: #c4d4dc;
  font-size: 0.88rem;
}

.outcome-note {
  margin-top: 1.2rem;
  color: #9eb3bd;
  font-size: 0.82rem;
}

.programme-section {
  position: relative;
  background: var(--white);
}

.programme-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.programme-test-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  color: #d6e4ea;
}

.check-list {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.2rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.35rem;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--navy-950);
  content: "✓";
  font-size: 0.65rem;
  font-weight: 900;
}

.programme-test-card .mini-label {
  color: #ffd2b8;
}

.programme-scale {
  display: grid;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.programme-scale span,
.programme-scale small {
  color: #aebfc8;
}

.programme-scale strong {
  margin-block: 0.25rem;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.programme-scale::after {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px 4px 15px 4px;
  content: "";
}

.modules-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.chip-list span {
  padding: 0.65rem 0.85rem;
  border: 1px solid #d6c8b6;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 700;
}

.clarification-card {
  padding: 2rem;
  border-left: 6px solid var(--orange-500);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  color: #d1e0e6;
}

.clarification-card h2,
.clarification-card h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.clarification-card p {
  margin-top: 1rem;
}

.clarification-icon,
.response-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: 12px;
  background: var(--orange-500);
  color: var(--navy-950);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.who-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.image-panel {
  position: relative;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.image-panel::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 48%;
  height: 38%;
  border-radius: 22px;
  background: var(--green-100);
  content: "";
}

.image-panel > span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 0.35rem 0.6rem;
  border-radius: 7px;
  background: rgba(16, 28, 61, 0.9);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 750;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 9px;
  height: 9px;
  border: 3px solid var(--green-600);
  border-radius: 2px;
  content: "";
}

.soft-note {
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--teal-500);
  background: var(--blue-100);
  font-size: 0.9rem;
}

.partnership-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 174, 98, 0.2), transparent 26rem),
    var(--navy-800);
  color: #d6e3e8;
}

.partnership-section h2 {
  color: var(--white);
}

.partnership-section .section-intro {
  color: #c2d1d8;
}

.partnership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.partner-routes {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.partner-routes > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.7rem;
  padding-block: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.partner-routes span {
  color: #96d9a7;
  font-size: 0.78rem;
  font-weight: 850;
}

.partner-routes p {
  color: var(--white);
  font-weight: 700;
}

.insight-grid,
.content-card-grid {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.insight-card,
.content-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.insight-card {
  display: grid;
  min-height: 310px;
  grid-template-rows: auto auto 1fr auto;
  box-shadow: 0 8px 30px rgba(16, 28, 61, 0.08);
}

.insight-card h3,
.content-card h3 {
  margin-top: 1rem;
}

.insight-card p,
.content-card p {
  margin-top: 0.8rem;
  color: var(--slate-500);
  font-size: 0.92rem;
}

.insight-card > a,
.guide-card > a {
  margin-top: 1.2rem;
  color: var(--green-600);
  font-weight: 800;
  text-decoration: none;
}

.topic-tag,
.status-label {
  width: fit-content;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.trust-panel {
  padding-block: 4rem;
  background: var(--navy-950);
  color: #bdccd3;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.65fr;
  align-items: start;
  gap: 3rem;
}

.trust-panel h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.trust-panel p:not(.eyebrow) {
  margin-top: 1rem;
}

.trust-number {
  display: grid;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-number span {
  color: #94aab5;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-number strong {
  margin-block: 0.25rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 2.8rem;
  letter-spacing: -0.05em;
}

.trust-number a,
.trust-links a {
  color: #b8e8c4;
  font-weight: 700;
}

.trust-links {
  display: grid;
  gap: 0.55rem;
}

.breadcrumbs-wrap {
  border-bottom: 1px solid var(--border);
  background: var(--warm-100);
}

.breadcrumbs {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 0.55rem;
  color: var(--slate-500);
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: var(--green-600);
  font-weight: 750;
}

.interior-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(38, 61, 118, 0.28), transparent 22rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.interior-hero-grid {
  display: grid;
  min-height: 470px;
  grid-template-columns: minmax(0, 1.25fr) 0.5fr;
  align-items: center;
  gap: 3rem;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.interior-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
}

.hero-note {
  width: fit-content;
  margin-top: 1.5rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #bde7c7;
  font-size: 0.8rem;
  font-weight: 800;
}

.modular-motif {
  position: relative;
  display: grid;
  max-width: 330px;
  aspect-ratio: 1;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 0.7fr 1.3fr;
  gap: 10px;
  transform: rotate(4deg);
}

.modular-motif span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px 7px 24px 7px;
  background: rgba(255, 255, 255, 0.05);
}

.modular-motif span:nth-child(1) {
  background: var(--green-500);
}

.modular-motif span:nth-child(2) {
  background: rgba(38, 61, 118, 0.42);
}

.modular-motif span:nth-child(3) {
  grid-column: 1;
}

.modular-motif span:nth-child(4) {
  background: var(--orange-500);
}

.modular-motif span:nth-child(5) {
  position: absolute;
  right: 16%;
  bottom: 10%;
  width: 30%;
  height: 30%;
  background: var(--navy-950);
}

.story-grid,
.family-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.68fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.story-grid > div > p:not(.eyebrow):not(.section-intro) {
  margin-top: 1.2rem;
}

.quote-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.quote-panel p {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 750;
  line-height: 1.3;
}

.quote-panel span {
  display: block;
  margin-top: 1.3rem;
  color: #95d9a6;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-card {
  min-height: 190px;
}

.content-card-image {
  display: none;
}

.value-card-grid .content-card,
.module-example-grid .content-card,
.family-expectation-grid .content-card,
.partner-type-grid .content-card,
.support-foundation-grid .content-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 270px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--navy-900);
  box-shadow: 0 14px 38px rgba(16, 28, 61, 0.18);
}

.value-card-grid .content-card::after,
.module-example-grid .content-card::after,
.family-expectation-grid .content-card::after,
.partner-type-grid .content-card::after,
.support-foundation-grid .content-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 61, 0.96) 0%, rgba(26, 43, 86, 0.86) 48%, rgba(38, 61, 118, 0.34) 100%),
    linear-gradient(0deg, rgba(16, 28, 61, 0.82) 0%, transparent 72%);
  content: "";
}

.value-card-grid .content-card-image,
.module-example-grid .content-card-image,
.family-expectation-grid .content-card-image,
.partner-type-grid .content-card-image,
.support-foundation-grid .content-card-image {
  position: absolute;
  z-index: -2;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.value-card-grid .content-card:hover .content-card-image,
.module-example-grid .content-card:hover .content-card-image,
.family-expectation-grid .content-card:hover .content-card-image,
.partner-type-grid .content-card:hover .content-card-image,
.support-foundation-grid .content-card:hover .content-card-image {
  transform: scale(1.025);
}

.value-card-grid .content-card h3,
.module-example-grid .content-card h3,
.family-expectation-grid .content-card h3,
.partner-type-grid .content-card h3,
.support-foundation-grid .content-card h3 {
  max-width: 18ch;
  margin-top: 0;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(16, 28, 61, 0.72);
}

.value-card-grid .content-card p,
.module-example-grid .content-card p,
.family-expectation-grid .content-card p,
.partner-type-grid .content-card p,
.support-foundation-grid .content-card p {
  max-width: 30ch;
  color: #e1ebef;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(16, 28, 61, 0.82);
}

.module-example-grid .content-card:nth-child(3n + 1),
.family-expectation-grid .content-card:nth-child(3n + 1),
.partner-type-grid .content-card:nth-child(3n + 1),
.support-foundation-grid .content-card:nth-child(3n + 1) {
  border-top: 4px solid var(--orange-500);
}

.module-example-grid .content-card:nth-child(3n + 2),
.family-expectation-grid .content-card:nth-child(3n + 2),
.partner-type-grid .content-card:nth-child(3n + 2),
.support-foundation-grid .content-card:nth-child(3n + 2) {
  border-top: 4px solid var(--green-500);
}

.module-example-grid .content-card:nth-child(3n),
.family-expectation-grid .content-card:nth-child(3n),
.partner-type-grid .content-card:nth-child(3n),
.support-foundation-grid .content-card:nth-child(3n) {
  border-top: 4px solid var(--navy-700);
}

.value-image-note {
  margin-top: 0.8rem;
  color: var(--slate-500);
  font-size: 0.75rem;
}

.cards-on-dark .content-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.cards-on-dark .content-card p {
  color: #bdced6;
}

.confirmation-panel,
.editorial-note,
.response-note,
.scope-note {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.governance-statement {
  max-width: 940px;
}

.governance-statement h2 {
  max-width: 19ch;
}

.governance-statement > div > p:not(.eyebrow) {
  max-width: 68ch;
  margin-top: 0.9rem;
}

.placeholder-box {
  padding: 1.3rem;
  border: 2px dashed #d0a978;
  border-radius: var(--radius-md);
  background: #fff9f1;
}

.placeholder-box > span {
  color: #92520e;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placeholder-box p {
  margin-top: 0.5rem;
}

.placeholder-large {
  margin-top: 1.5rem;
  padding: 1.7rem;
}

.placeholder-large ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.cta-band {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 101, 0, 0.24), transparent 20rem),
    var(--navy-800);
  color: #eef8f0;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.cta-band h2 {
  max-width: 16ch;
  color: var(--white);
}

.cta-band p:not(.eyebrow) {
  max-width: 65ch;
  margin-top: 1rem;
}

.cta-band .button-row {
  justify-content: flex-end;
}

.statement-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--warm-100);
}

.statement-card span {
  display: block;
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.statement-card p {
  margin-block: 0.3rem 1.4rem;
  color: var(--slate-500);
  font-family: var(--display);
  font-size: 1.7rem;
  text-decoration: line-through;
  text-decoration-color: var(--orange-500);
}

.statement-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--navy-900);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
}

.numbered-grid {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.numbered-grid article {
  min-height: 250px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.numbered-grid article > span {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--green-600);
  font-family: var(--display);
  font-weight: 850;
}

.numbered-grid article p {
  margin-top: 0.8rem;
  color: var(--slate-500);
  font-size: 0.92rem;
}

.numbered-card-image {
  display: none;
}

.approach-stage-grid article {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 350px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy-900);
  box-shadow: 0 14px 38px rgba(16, 28, 61, 0.18);
}

.approach-stage-grid article::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 61, 0.97) 0%, rgba(26, 43, 86, 0.88) 52%, rgba(38, 61, 118, 0.36) 100%),
    linear-gradient(0deg, rgba(16, 28, 61, 0.84) 0%, transparent 74%);
  content: "";
}

.approach-stage-grid .numbered-card-image {
  position: absolute;
  z-index: -2;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.approach-stage-grid article:hover .numbered-card-image {
  transform: scale(1.025);
}

.approach-stage-grid article > span {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  margin: 0;
  color: #a9e4b6;
  font-size: 1rem;
  text-shadow: 0 2px 12px rgba(16, 28, 61, 0.82);
}

.approach-stage-grid article h3 {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(16, 28, 61, 0.78);
}

.approach-stage-grid article p {
  color: #e1ebef;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(16, 28, 61, 0.82);
}

.approach-image-note {
  margin-top: 0.8rem;
  color: var(--slate-500);
  font-size: 0.75rem;
}

.two-column-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.two-column-copy > div {
  padding-top: 1.5rem;
  border-top: 4px solid var(--green-500);
}

.two-column-copy > div + div {
  border-top-color: var(--teal-500);
}

.two-column-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.two-column-copy p {
  margin-top: 1rem;
}

.journey-line {
  display: grid;
  margin-top: 3rem;
  grid-template-columns: repeat(5, 1fr);
}

.journey-line article {
  position: relative;
  padding: 4.5rem 1.2rem 1.5rem;
  border-top: 4px solid var(--green-500);
}

.journey-line article:nth-child(even) {
  border-top-color: var(--teal-500);
}

.journey-line article::before {
  position: absolute;
  top: -10px;
  right: 0;
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--orange-500);
  content: "";
  box-shadow: 0 0 0 1px var(--orange-500);
}

.journey-line article > span {
  position: absolute;
  top: 1rem;
  color: var(--green-600);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 850;
}

.journey-line article p {
  margin-top: 0.7rem;
  color: var(--slate-500);
  font-size: 0.86rem;
}

.programme-detail {
  background: var(--navy-900);
  color: #cfdee4;
}

.programme-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.programme-detail h2,
.programme-detail h3 {
  color: var(--white);
}

.programme-detail p:not(.eyebrow) {
  margin-top: 1.2rem;
}

.programme-guardrails {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.cross-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  list-style: none;
}

.cross-list li {
  position: relative;
  padding-left: 1.7rem;
}

.cross-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--orange-500);
  content: "×";
  font-size: 1.3rem;
  font-weight: 900;
}

.family-balance-list {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--green-100);
}

.family-balance-list > span {
  color: var(--green-600);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.family-balance-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.2rem;
  list-style: none;
}

.family-balance-list li {
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 750;
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.topic-filters a {
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.topic-filters a:hover {
  border-color: var(--green-600);
  background: var(--green-100);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.guide-card {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-rows: auto 1fr auto auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--warm-100);
}

.guide-card h2 {
  max-width: 13ch;
  align-self: end;
  margin-top: 3rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.guide-card p {
  margin-top: 0.9rem;
  color: var(--slate-500);
}

.article-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
}

.article-intro-grid .section-heading {
  margin-bottom: 0;
}

.article-editorial-note {
  padding: 1.4rem;
  border-top: 4px solid var(--orange-500);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 108, 23, 0.2), transparent 10rem),
    var(--navy-800);
  color: #dfeaf0;
  box-shadow: var(--shadow-sm);
}

.article-editorial-note strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.15rem;
}

.article-editorial-note p {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.article-grid {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.article-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange-500);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.article-card:nth-child(3n + 2) {
  border-top-color: var(--green-500);
}

.article-card:nth-child(3n) {
  border-top-color: var(--teal-500);
}

.article-card-image-link {
  display: block;
  overflow: hidden;
  background: var(--navy-900);
}

.article-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 300ms ease;
}

.article-card:hover .article-card-image {
  transform: scale(1.025);
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.7rem);
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-card-meta span {
  color: var(--green-600);
}

.article-card h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.12;
}

.article-card h2 a {
  color: var(--navy-900);
  text-decoration: none;
}

.article-card h2 a:hover {
  color: var(--orange-600);
}

.article-card-body > p {
  margin-top: 0.85rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.article-card-excerpt {
  margin-top: 0.85rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.article-card-excerpt p {
  margin: 0;
}

.article-read-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--green-600);
  font-weight: 850;
  text-decoration: none;
}

.article-read-link:hover {
  color: var(--orange-600);
}

.article-source-note {
  margin-top: 1rem;
  color: var(--slate-500);
  font-size: 0.78rem;
}

.guide-index {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--navy-900);
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 900;
  opacity: 0.12;
}

.partner-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.partner-status-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.partner-record-list {
  display: grid;
  margin-top: 1.5rem;
  gap: 0.9rem;
}

.partner-record {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--green-500);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(43, 183, 232, 0.08), transparent 54%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.partner-record:nth-child(2) {
  border-top-color: var(--orange-500);
}

.partner-record-history {
  background:
    linear-gradient(145deg, rgba(255, 108, 23, 0.07), transparent 54%),
    var(--white);
}

.partner-record > span {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-record h3 {
  margin-top: 0.45rem;
  color: var(--navy-900);
  font-size: 1.35rem;
}

.partner-record p {
  margin-top: 0.65rem;
  color: var(--slate-500);
  line-height: 1.55;
}

.partner-record .partner-record-detail {
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  color: var(--slate-400);
  font-size: 0.8rem;
}

.partner-record a {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.partner-record a:hover {
  color: var(--orange-600);
}

.partner-status-note {
  max-width: 95ch;
  margin: 1.5rem auto 0;
  color: var(--slate-400);
  font-size: 0.8rem;
  text-align: center;
}

.regulator-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--blue-100);
}

.regulator-note strong {
  color: var(--navy-900);
}

.regulator-note p {
  font-size: 0.86rem;
}

.support-route-grid,
.support-options {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.support-route-grid ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
}

.support-route-grid li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--warm-100);
  color: var(--navy-900);
  font-weight: 750;
}

.support-route-grid li span {
  color: var(--green-600);
}

.partner-image-section {
  background: var(--navy-900);
  color: #d1e0e6;
}

.partner-image-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.partner-image-grid figure {
  margin: 0;
}

.partner-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.partner-image-grid figcaption {
  margin-top: 0.6rem;
  color: #9db1bb;
  font-size: 0.72rem;
}

.partner-image-grid h2 {
  color: var(--white);
}

.partner-image-grid p:not(.eyebrow) {
  margin-top: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.enquiry-grid {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.enquiry-card {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  min-height: 220px;
  grid-template-rows: auto 1fr auto;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(16, 28, 61, 0.18);
}

.enquiry-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 61, 0.96) 0%, rgba(16, 28, 61, 0.88) 45%, rgba(16, 28, 61, 0.5) 100%),
    linear-gradient(0deg, rgba(16, 28, 61, 0.74), rgba(16, 28, 61, 0.1));
  content: "";
}

.enquiry-card-image {
  position: absolute;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transition: transform 350ms ease;
}

.enquiry-card:hover {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 42px rgba(16, 28, 61, 0.24);
}

.enquiry-card:hover .enquiry-card-image {
  transform: scale(1.025);
}

.enquiry-card h2 {
  max-width: 17ch;
  color: var(--white);
  font-size: 1.28rem;
  text-shadow: 0 2px 16px rgba(16, 28, 61, 0.72);
}

.enquiry-card p {
  max-width: 30ch;
  margin-top: 0.7rem;
  color: #e1ebef;
  font-size: 0.88rem;
  text-shadow: 0 1px 10px rgba(16, 28, 61, 0.82);
}

.enquiry-card > span {
  color: #b7e9c3;
  font-weight: 800;
  text-shadow: 0 1px 10px rgba(16, 28, 61, 0.82);
}

.enquiry-card:nth-child(3n + 1) {
  border-top: 4px solid var(--orange-500);
}

.enquiry-card:nth-child(3n + 2) {
  border-top: 4px solid var(--green-500);
}

.enquiry-card:nth-child(3n) {
  border-top: 4px solid var(--navy-700);
}

.contact-card {
  position: sticky;
  top: 115px;
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #d7e4e9;
}

.contact-card h2 {
  color: var(--white);
  font-size: 1.7rem;
}

.contact-card > div {
  display: grid;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-card > div span {
  color: #96dca8;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card a {
  margin-top: 0.25rem;
  color: var(--white);
  font-weight: 750;
}

.contact-card address {
  margin-top: 0.25rem;
  font-style: normal;
}

.contact-card .map-link {
  display: block;
  margin-top: 1.5rem;
  color: #b7e9c3;
  font-size: 0.84rem;
}

.response-note {
  grid-template-columns: auto 1fr;
  max-width: 900px;
}

.response-note .response-icon {
  margin: 0;
}

.response-note h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.response-note p {
  margin-top: 0.6rem;
}

.support-case-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.support-stat {
  display: grid;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--green-100);
  text-align: center;
}

.support-stat span {
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.support-stat strong {
  margin-block: 0.3rem;
  color: var(--navy-900);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.support-stat p {
  color: var(--navy-800);
  font-weight: 750;
}

.support-stat small {
  margin-top: 1rem;
  color: var(--slate-500);
}

.support-option-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.support-option-list a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--navy-900);
  font-weight: 750;
  text-decoration: none;
}

.support-option-list a span {
  color: var(--green-600);
}

.balance-questions {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--blue-100);
}

.balance-questions h2 {
  font-size: 1.7rem;
}

.balance-questions ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding-left: 1.2rem;
}

.scope-note {
  padding: 2rem;
  border-left: 6px solid var(--orange-500);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  background: var(--warm-100);
}

.scope-note h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.policy-layout h2 {
  margin-top: 1.2rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.policy-layout p {
  margin-top: 1rem;
}

.policy-layout aside {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #d5e2e7;
}

.policy-layout aside h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
}

.policy-contact {
  display: grid;
  width: fit-content;
  gap: 0.2rem;
  margin-top: 1.7rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.policy-contact a {
  color: var(--green-600);
  font-weight: 750;
}

.site-footer {
  padding-top: 4.5rem;
  background: var(--navy-950);
  color: #aebdc5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.brand-footer {
  color: var(--white);
}

.footer-logo {
  width: 230px;
  padding: 0.35rem;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand > p {
  max-width: 35ch;
  margin-top: 1rem;
}

.footer-registration {
  color: #c6d4da;
  font-size: 0.86rem;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: #c2d0d6;
  font-size: 0.88rem;
}

.footer-contact address {
  margin-block: 1rem;
  color: #aebdc5;
  font-size: 0.88rem;
  font-style: normal;
}

.footer-contact a {
  display: block;
  margin-top: 0.35rem;
}

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #879aa4;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: #aaddb7;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: grid;
    min-width: 52px;
    min-height: 46px;
    place-items: center;
    border: 2px solid var(--navy-900);
    border-radius: 10px;
    color: var(--navy-900);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 850;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    display: grid;
    width: min(340px, calc(100vw - 2.5rem));
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .mobile-menu nav > a:not(.button) {
    min-height: 44px;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--border);
    color: var(--navy-900);
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-menu nav > a[aria-current="page"] {
    color: var(--green-600);
  }

  .mobile-support {
    margin-bottom: 0.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  }

  .hero-card {
    left: -18px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .programme-grid,
  .modules-showcase,
  .who-grid,
  .partnership-grid,
  .story-grid,
  .family-intro-grid,
  .confirmation-panel,
  .editorial-note,
  .two-column-copy,
  .programme-detail-grid,
  .partner-image-grid,
  .support-case-grid,
  .policy-layout,
  .scope-note,
  .article-intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy h1 {
    max-width: 15ch;
  }

  .hero-visual {
    max-width: 680px;
  }

  .hero-visual img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .module-grid,
  .content-card-grid,
  .insight-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pathway {
    grid-template-columns: 1fr;
  }

  .pathway-step {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    align-items: center;
    padding: 1rem 1.2rem;
  }

  .pathway-step strong {
    max-width: none;
  }

  .pathway-step b {
    top: auto;
    right: 1.1rem;
    bottom: -13px;
    transform: rotate(90deg);
  }

  .translation-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .trust-number {
    padding-left: 0;
    border-left: 0;
  }

  .interior-hero-grid {
    min-height: 400px;
    grid-template-columns: 1fr 220px;
  }

  .numbered-grid {
    grid-template-columns: 1fr 1fr;
  }

  .journey-line {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .journey-line article {
    padding: 1rem 1rem 1rem 4.4rem;
    border-top: 0;
    border-left: 4px solid var(--green-500);
  }

  .journey-line article:nth-child(even) {
    border-left-color: var(--teal-500);
  }

  .journey-line article::before {
    top: auto;
    right: auto;
    bottom: -13px;
    left: -10px;
  }

  .journey-line article > span {
    top: 1.1rem;
    left: 1.1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .support-route-grid,
  .support-options {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .utility-inner {
    min-height: 40px;
  }

  .utility-inner span {
    max-width: 29ch;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .utility-inner a {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-logo {
    width: 132px;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    padding: 0.8rem 0;
  }

  .hero-proof div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .hero-card {
    position: static;
    margin-top: 0.75rem;
  }

  .hero-visual figcaption {
    display: block;
  }

  .hero-visual figcaption span {
    display: block;
  }

  .module-grid,
  .content-card-grid,
  .insight-grid,
  .guide-grid,
    .partner-status-grid,
    .enquiry-grid,
    .article-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 0;
  }

  .value-card-grid .content-card {
    min-height: 260px;
  }

  .module-card {
    min-height: 270px;
  }

  .translation-row {
    grid-template-columns: 1fr auto;
  }

  .translation-row p {
    grid-column: 1 / -1;
  }

  .who-grid .image-panel {
    order: 2;
  }

  .image-panel img {
    aspect-ratio: 4 / 3;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div:first-child {
    grid-column: auto;
  }

  .interior-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .modular-motif {
    max-width: 180px;
  }

  .numbered-grid {
    grid-template-columns: 1fr;
  }

  .numbered-grid article {
    min-height: 0;
  }

  .numbered-grid article > span {
    margin-bottom: 1.5rem;
  }

  .approach-stage-grid article {
    min-height: 300px;
  }

  .family-balance-list ul {
    grid-template-columns: 1fr;
  }

  .regulator-note {
    display: grid;
  }

  .support-route-grid ol {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .cta-band .button-row {
    justify-content: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    padding-block: 1rem;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 118px;
  }

  .utility-inner span {
    max-width: 23ch;
  }

  .utility-inner a {
    font-size: 0.66rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* WordPress integration */

.site-header {
  top: var(--wp-admin--admin-bar--height, 0);
}

.admin-bar .site-header {
  top: 32px;
}

.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand .custom-logo {
  width: 182px;
  height: auto;
}

.desktop-nav .menu,
.mobile-menu .menu,
.site-footer .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.45rem, 1vw, 1rem);
}

.desktop-nav .current-menu-item > a::after,
.desktop-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.mobile-menu nav .menu {
  display: grid;
}

.mobile-menu nav .current-menu-item > a,
.mobile-menu nav .current_page_item > a {
  color: var(--green-600);
}

.footer-links.menu {
  display: grid;
  gap: 0.55rem;
}

.wp-block-image,
.entry-content figure {
  margin: 2rem 0;
}

.entry-content {
  max-width: 820px;
  color: var(--slate-700);
}

.entry-content > * + * {
  margin-top: 1.25rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.5rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
}

.entry-content li + li {
  margin-top: 0.45rem;
}

.entry-content a {
  color: var(--green-600);
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 1.3rem 1.5rem;
  border-left: 5px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--warm-100);
  color: var(--navy-800);
  font-family: var(--display);
  font-size: 1.2rem;
}

.article-index-hero {
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 88% 24%, rgba(255, 101, 0, 0.25), transparent 20rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #e4edf2;
}

.article-index-hero h1,
.single-article-hero h1 {
  max-width: 14ch;
  color: var(--white);
}

.article-index-hero .hero-intro {
  max-width: 65ch;
}

.article-listing {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.article-listing .article-grid {
  margin-top: 0;
}

.post-navigation {
  display: flex;
  margin-top: 2rem;
  justify-content: space-between;
  gap: 1rem;
}

.post-navigation a,
.nav-links a,
.nav-links .current {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-links .current {
  border-color: var(--orange-500);
  background: var(--orange-100);
}

.single-article-hero {
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(75, 189, 22, 0.2), transparent 22rem),
    var(--navy-900);
  color: #dfeaf0;
}

.single-article-meta {
  display: flex;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.7rem 1.3rem;
  color: #b9cbd5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-article-featured {
  overflow: hidden;
  margin-top: -3rem;
  border: 8px solid var(--white);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.single-article-featured img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.single-article-content {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.single-article-content .entry-content {
  margin-inline: auto;
}

.page-content-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-content-card .entry-content {
  max-width: none;
}

.search-form {
  display: flex;
  max-width: 620px;
  margin-top: 1.5rem;
  gap: 0.7rem;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.search-submit {
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.no-results {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--warm-100);
}

.comments-area {
  padding-block: 0 clamp(3rem, 7vw, 6rem);
}

.comments-area-inner {
  max-width: 820px;
  margin-inline: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.comment-list {
  display: grid;
  margin-top: 1.5rem;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.comment-list .comment-body {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--warm-100);
}

.comment-list .children {
  margin-top: 1rem;
  padding-left: 1.2rem;
  list-style: none;
}

.comment-form {
  display: grid;
  margin-top: 1.5rem;
  gap: 0.8rem;
}

.comment-form label {
  display: block;
  color: var(--navy-900);
  font-weight: 800;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.comment-form .submit {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  display: block;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  clip: auto !important;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.alignwide {
  width: min(1100px, 100%);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 1120px) {
  .brand .custom-logo {
    width: 150px;
  }
}

@media (max-width: 680px) {
  .brand .custom-logo {
    width: 132px;
  }

  .search-form {
    display: grid;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
