/* ============================================================
   THE UPTAKE — style.css
   Mobile-first. Static HTML/CSS/JS.
   ============================================================ */

/* ------------------------------------------------------------
   Google Fonts
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;600;700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ------------------------------------------------------------
   Design Tokens
   ------------------------------------------------------------ */
:root {
  /* Colours */
  --colour-navy:        #0a293b;
  --colour-green:       #4e8a4d;
  --colour-orange:      #e67e22;
  --colour-grey:        #e6e6e6;
  --colour-white:       #ffffff;

  /* Derived shades */
  --colour-navy-light:  #0f3a55;   /* hover states on navy bg */
  --colour-green-dark:  #3a6b39;   /* hover states for green */
  --colour-orange-dark: #c96a12;   /* hover states for orange */
  --colour-grey-dark:   #c8c8c8;   /* borders, dividers */
  --colour-text-body:   #1a1a1a;   /* body text on light bg */
  --colour-text-muted:  #5a5a5a;   /* secondary text */

  /* Typography */
  --font-display:   'Comfortaa', 'Trebuchet MS', sans-serif;
  --font-body:      'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Font sizes (mobile-first, fluid scale) */
  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-md:    1.125rem;   /* 18px */
  --fs-lg:    1.25rem;    /* 20px */
  --fs-xl:    1.5rem;     /* 24px */
  --fs-2xl:   1.875rem;   /* 30px */
  --fs-3xl:   2.25rem;    /* 36px */
  --fs-4xl:   3rem;       /* 48px */

  /* Font weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Line heights */
  --lh-tight:   1.2;
  --lh-snug:    1.4;
  --lh-normal:  1.6;
  --lh-relaxed: 1.8;

  /* Spacing scale */
  --space-1:   0.25rem;   /* 4px  */
  --space-2:   0.5rem;    /* 8px  */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */

  /* Layout */
  --max-width:        1200px;
  --max-width-narrow: 760px;
  --gutter:           1.25rem;   /* page-edge padding, mobile */

  /* Borders & radii */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 999px;
  --border:      1px solid var(--colour-grey-dark);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10, 41, 59, 0.08);
  --shadow-md:  0 4px 12px rgba(10, 41, 59, 0.12);
  --shadow-lg:  0 8px 24px rgba(10, 41, 59, 0.16);

  /* Transitions */
  --transition: 200ms ease;

  /* Nav height */
  --nav-height: 72px;
}

/* ------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--colour-text-body);
  background-color: var(--colour-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: var(--colour-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--colour-orange);
}

ul, ol {
  list-style: none;
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */

/* Headings — Comfortaa */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--colour-navy);
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-sm); }

/* Heading colour variants */
.heading-green  { color: var(--colour-green); }
.heading-orange { color: var(--colour-orange); }
.heading-white  { color: var(--colour-white); }
.heading-grey   { color: var(--colour-grey); }

/* Body text */
p {
  margin-bottom: var(--space-4);
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

p.wide {
  max-width: none;
}

/* Lead paragraph */
.lead {
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  color: var(--colour-text-muted);
}

/* Small / caption */
small, .text-sm {
  font-size: var(--fs-sm);
}

.text-xs {
  font-size: var(--fs-xs);
}

/* Utility colour classes */
.text-navy   { color: var(--colour-navy); }
.text-green  { color: var(--colour-green); }
.text-orange { color: var(--colour-orange); }
.text-grey   { color: var(--colour-grey); }
.text-muted  { color: var(--colour-text-muted); }
.text-white  { color: var(--colour-white); }

/* Alignment */
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Display / logo font utility */
.font-display { font-family: var(--font-display); }

/* ------------------------------------------------------------
   Layout Utilities
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* Section padding */
.section {
  padding-block: var(--space-16);
}

.section--sm {
  padding-block: var(--space-10);
}

.section--lg {
  padding-block: var(--space-24);
}

/* Section background variants */
.section--navy   { background-color: var(--colour-navy);  color: var(--colour-white); }
.section--grey   { background-color: var(--colour-grey); }
.section--white  { background-color: var(--colour-white); }
.section--green  { background-color: var(--colour-green); color: var(--colour-white); }

/* On dark backgrounds, reset heading colours */
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p,
.why-matters h1,
.why-matters h2,
.why-matters h3,
.why-matters h4,
.why-matters p,
.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4,
.section--green p {
  color: inherit;
}

/* Flex / Grid helpers */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

.grid { display: grid; }

/* Two-column grid (stacked on mobile) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

/* Three-column grid (stacked on mobile) */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

/* Divider */
.divider {
  border: none;
  border-top: var(--border);
  margin-block: var(--space-8);
}

.divider--green  { border-top-color: var(--colour-green); }
.divider--orange { border-top-color: var(--colour-orange); }

/* Visually hidden (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */

/* Fixed header wrapper — holds both bar and mobile drawer */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.nav {
  height: var(--nav-height);
  background-color: var(--colour-navy);
  box-shadow: 0 2px 16px rgba(10, 41, 59, 0.35);
  transition: height 280ms ease, box-shadow 280ms ease;
}

/* Shrink state — triggered by JS on scroll */
.nav--scrolled {
  height: 52px;
  box-shadow: 0 2px 12px rgba(10, 41, 59, 0.5);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Logo
   The PNG canvas is 1080×1080 square. The actual wordmark sits in the
   centre 32% of the height (rows 34%–66%). We size the container to the
   desired VISIBLE logo height, inflate the <img> so the wordmark fills it,
   and let overflow:hidden clip the transparent padding on all sides.
   Because the image is square: img px height = img px width.            */
.nav__logo {
  position: relative;       /* positioning context for the img */
  flex-shrink: 0;
  overflow: hidden;
  /* Mobile: 44px visible (leaving ~14px breathing room in 72px nav),
     139px inflated (44÷0.317) */
  height: 44px;
  width:  139px;
  transition: height 280ms ease, width 280ms ease;
}

.nav__logo img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 139px;
  width: auto;
  transition: height 280ms ease;
}

/* Scrolled mobile: 30px visible, 95px inflated (30÷0.317) */
.nav--scrolled .nav__logo {
  height: 30px;
  width:  95px;
}
.nav--scrolled .nav__logo img {
  height: 95px;
}

/* Desktop links — hidden on mobile */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav__links a {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.82);
  padding-block: var(--space-1);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--colour-white);
  border-bottom-color: var(--colour-green);
}

.nav__links a.active {
  color: var(--colour-white);
  border-bottom-color: var(--colour-orange);
}

/* Hamburger button */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  width: 40px;
  height: 40px;
}

.nav__burger span {
  display: block;
  height: 2px;
  background-color: var(--colour-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition);
}

/* Burger → X animation */
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  background-color: var(--colour-navy-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 16px rgba(10, 41, 59, 0.4);
  padding: var(--space-4) var(--gutter);
  gap: var(--space-2);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.8);
  padding-block: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition);
}

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

.nav__mobile a:hover,
.nav__mobile a.active {
  color: var(--colour-orange);
}

/* Community Workshops — italic green with leaf icon */
a.nav__link--community {
  font-style: italic;
  color: var(--colour-green);
}

.nav__comm-icon {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

a.nav__link--community:hover {
  color: #6db56b;
  border-bottom-color: var(--colour-green);
}

a.nav__link--community.active {
  color: var(--colour-green);
  border-bottom-color: var(--colour-green);
}

.nav__mobile a.nav__link--community:hover,
.nav__mobile a.nav__link--community.active {
  color: var(--colour-green);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

/* Primary — green */
.btn--primary {
  background-color: var(--colour-green);
  color: var(--colour-white);
  border-color: var(--colour-green);
}

.btn--primary:hover {
  background-color: var(--colour-green-dark);
  border-color: var(--colour-green-dark);
  color: var(--colour-white);
  box-shadow: var(--shadow-md);
}

/* Secondary — outlined green */
.btn--secondary {
  background-color: transparent;
  color: var(--colour-green);
  border-color: var(--colour-green);
}

.btn--secondary:hover {
  background-color: var(--colour-green);
  color: var(--colour-white);
}

/* Accent — orange */
.btn--accent {
  background-color: var(--colour-orange);
  color: var(--colour-white);
  border-color: var(--colour-orange);
}

.btn--accent:hover {
  background-color: var(--colour-orange-dark);
  border-color: var(--colour-orange-dark);
  color: var(--colour-white);
  box-shadow: var(--shadow-md);
}

/* Ghost — white outlined (for dark backgrounds) */
.btn--ghost {
  background-color: transparent;
  color: var(--colour-white);
  border-color: var(--colour-white);
}

.btn--ghost:hover {
  background-color: var(--colour-white);
  color: var(--colour-navy);
}

/* Small size */
.btn--sm {
  font-size: var(--fs-sm);
  padding: 0.625rem 1.25rem;
}

/* Full width */
.btn--full {
  width: 100%;
}

/* Arrow link (inline, no box) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold);
  color: var(--colour-green);
  transition: gap var(--transition), color var(--transition);
}

.link-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.link-arrow:hover {
  color: var(--colour-orange);
  gap: var(--space-3);
}

/* ------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: var(--space-16);
  background-color: var(--colour-navy);
  color: var(--colour-white);
  overflow: hidden;
}

.hero--light {
  background-color: var(--colour-grey);
  color: var(--colour-navy);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-orange);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  color: var(--colour-white);
  margin-bottom: var(--space-6);
}

.hero--light h1 {
  color: var(--colour-navy);
}

.hero h1 span {
  color: var(--colour-green);
}

.hero__sub {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--colour-grey);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

.hero--light .hero__sub {
  color: var(--colour-text-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Optional background image overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

/* ------------------------------------------------------------
   Section Headings
   ------------------------------------------------------------ */
.section-header {
  margin-bottom: var(--space-12);
  max-width: var(--max-width-narrow);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-orange);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  font-size: var(--fs-xl);
  color: var(--colour-navy);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--fs-md);
  color: var(--colour-text-muted);
  max-width: 58ch;
}

.section-header--center p {
  margin-inline: auto;
}

/* Accent underline on h2 */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--colour-orange);
  border-radius: var(--radius-full);
  margin-top: var(--space-3);
}

.section-header--center h2::after {
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card {
  background-color: var(--colour-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
}

.card__tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-orange);
  margin-bottom: var(--space-2);
}

.card h3 {
  font-size: var(--fs-lg);
  color: var(--colour-navy);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
}

/* Card — navy background variant */
.card--navy {
  background-color: var(--colour-navy);
  border-color: var(--colour-navy-light);
  color: var(--colour-white);
}

.card--navy h3 {
  color: var(--colour-white);
}

.card--navy p {
  color: var(--colour-grey);
}

/* Card — green accent top border */
.card--bordered {
  border-top: 4px solid var(--colour-green);
}

.card--bordered-orange {
  border-top: 4px solid var(--colour-orange);
}

/* ------------------------------------------------------------
   Service Cards (Organisations page)
   ------------------------------------------------------------ */
.service-card {
  background-color: var(--colour-white);
  border: var(--border);
  border-top: 4px solid var(--colour-green);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--colour-green);
}

.service-card h3 {
  font-size: var(--fs-md);
  color: var(--colour-navy);
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__list li {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  padding-left: var(--space-5);
  position: relative;
  line-height: var(--lh-relaxed);
}

.service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--colour-green);
  font-weight: var(--fw-semibold);
}

/* ------------------------------------------------------------
   Getting started inline CTA
   ------------------------------------------------------------ */
.getting-started__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

.getting-started__cta span {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
}

.getting-started__email {
  color: var(--colour-orange);
  text-decoration: none;
}

.getting-started__email:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   Steps / How It Works
   ------------------------------------------------------------ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.step__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: var(--colour-green);
  color: var(--colour-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
}

.section--navy .step__number {
  background-color: var(--colour-orange);
}

.step__content h3 {
  font-size: var(--fs-md);
  color: var(--colour-navy);
  margin-bottom: var(--space-2);
}

.section--navy .step__content h3 {
  color: var(--colour-white);
}

.step__content p {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  margin-bottom: 0;
}

.section--navy .step__content p {
  color: rgba(255, 255, 255, 0.7);
}

/* Bullet list inside a step */
.step__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.step__list li {
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  padding-left: var(--space-5);
  position: relative;
  color: var(--colour-text-muted);
}

.section--navy .step__list li {
  color: rgba(255, 255, 255, 0.75);
}

.step__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--colour-orange);
}

/* Workshop feature card */
.workshop-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: var(--space-12);
  max-width: 680px;
  margin-inline: auto;
}

.workshop-card__image {
  margin: 0;
  overflow: hidden;
  min-height: 200px;
}

.workshop-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.workshop-card__body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.workshop-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-orange);
}

.workshop-card__desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

.workshop-card__link {
  color: var(--colour-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.workshop-card__link:hover {
  color: var(--colour-white);
}

.workshop-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.workshop-card__meta span {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .workshop-card {
    grid-template-columns: 1fr;
  }

  .workshop-card__image {
    min-height: 200px;
  }
}

/* ------------------------------------------------------------
   Sample Engagement section (legacy — kept for reference)
   ------------------------------------------------------------ */
.sample-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-12);
}

.sample-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-6) var(--space-8);
  align-items: start;
}

.sample-step--with-image {
  grid-template-columns: 52px 1fr;
}

.sample-step__num {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--colour-navy);
  color: var(--colour-white);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sample-step__body h3 {
  font-size: var(--fs-md);
  color: var(--colour-navy);
  margin-bottom: var(--space-3);
}

.sample-step__body p {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

.sample-step__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
}

.sample-step__list li {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
  padding-left: var(--space-5);
  position: relative;
}

.sample-step__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--colour-green);
  font-size: var(--fs-sm);
}

.sample-step__image {
  grid-column: 2;
  margin-top: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sample-step__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Benefits grid (step 3) */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6) var(--space-10);
  margin-top: var(--space-4);
}

.benefit-item__label {
  font-weight: var(--fw-semibold);
  color: var(--colour-navy);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-1);
}

.benefit-item p:last-child {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

/* Responsive: image below content on small screens */
@media (min-width: 860px) {
  .sample-step--with-image {
    grid-template-columns: 52px 1fr 360px;
  }

  .sample-step--with-image .sample-step__image {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
    align-self: center;
  }
}

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

/* ------------------------------------------------------------
   Feature Example (How It Works — sample service)
   ------------------------------------------------------------ */
.feature-example {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--colour-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-16);
  box-shadow: var(--shadow-lg);
}

.feature-example__media {
  min-height: 260px;
}

.feature-example__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-example__content {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-example__content h3 {
  color: var(--colour-navy);
  font-size: var(--fs-xl);
  margin: 0;
}

.feature-example__content p {
  color: var(--colour-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.feature-example__meta {
  font-size: var(--fs-xs);
  color: var(--colour-text-muted);
  padding-top: var(--space-4);
  border-top: var(--border);
  letter-spacing: 0.03em;
}

.feature-example__attribution {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.feature-example__attribution img {
  height: 22px;
  width: auto;
  opacity: 0.65;
}

.feature-example__attribution span {
  font-size: var(--fs-xs);
  color: var(--colour-text-muted);
}

/* ------------------------------------------------------------
   Testimonials / Social Proof
   ------------------------------------------------------------ */
.testimonial {
  background-color: var(--colour-navy);
  color: var(--colour-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--colour-green);
  opacity: 0.4;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}

.testimonial__text {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--colour-grey);
  margin-bottom: var(--space-6);
  padding-top: var(--space-8);
}

.testimonial__author {
  font-weight: var(--fw-semibold);
  color: var(--colour-white);
  font-size: var(--fs-sm);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--colour-orange);
  margin-top: var(--space-1);
}

/* ------------------------------------------------------------
   Highlight / Pull Quote
   ------------------------------------------------------------ */
.highlight-box {
  background-color: var(--colour-grey);
  border-left: 4px solid var(--colour-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-6) var(--space-8);
}

.highlight-box p {
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--colour-navy);
  line-height: var(--lh-relaxed);
}

.highlight-box--dark {
  background-color: rgba(255, 255, 255, 0.06);
  border-left-color: var(--colour-green);
}

.highlight-box--dark p {
  color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------------------
   CTA Block
   ------------------------------------------------------------ */
.cta-block {
  background-color: var(--colour-navy);
  color: var(--colour-white);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  text-align: center;
}

.cta-block h2 {
  color: var(--colour-white);
  margin-bottom: var(--space-4);
}

.cta-block p {
  color: var(--colour-grey);
  margin-bottom: var(--space-8);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* ------------------------------------------------------------
   Insights / Article List
   ------------------------------------------------------------ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-8);
  padding-inline: var(--space-6);
  background-color: var(--colour-white);
  transition: background-color var(--transition);
}

.article-row:nth-child(even) {
  background-color: var(--colour-grey);
}

.article-row__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--colour-text-muted);
}

.article-row__date { }

.article-row__read-time {
  color: var(--colour-orange);
  font-weight: var(--fw-medium);
}

.article-row h3 {
  font-size: var(--fs-md);
  color: var(--colour-navy);
  margin-bottom: var(--space-1);
  transition: color var(--transition);
}

.article-row:hover h3 {
  color: var(--colour-green);
}

.article-row p {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Project Cards
   ------------------------------------------------------------ */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-card__body {
  padding: var(--space-6);
}

.project-card__tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-orange);
  margin-bottom: var(--space-2);
}

.project-card h3 {
  font-size: var(--fs-lg);
  color: var(--colour-navy);
  margin-bottom: var(--space-3);
}

.project-card p {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

/* ------------------------------------------------------------
   Membership / Partner Logos
   ------------------------------------------------------------ */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.logo-row__item {
  opacity: 0.65;
  transition: opacity var(--transition);
  max-height: 48px;
  width: auto;
}

.logo-row__item:hover {
  opacity: 1;
}

/* ------------------------------------------------------------
   Contact / Booking
   ------------------------------------------------------------ */
.booking-card {
  background-color: var(--colour-grey);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.booking-card h3 {
  margin-bottom: var(--space-3);
}

.booking-card p {
  color: var(--colour-text-muted);
  margin-bottom: var(--space-6);
  margin-inline: auto;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq__item {
  border: var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}

.faq__q {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--colour-navy);
  font-size: var(--fs-base);
  margin-bottom: var(--space-2);
}

.faq__a {
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Email Capture (Newsletter / Notify)
   ------------------------------------------------------------ */
.email-capture {
  background-color: var(--colour-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  color: var(--colour-white);
}

.email-capture h3 {
  color: var(--colour-white);
  margin-bottom: var(--space-3);
}

.email-capture p {
  color: var(--colour-grey);
  margin-bottom: var(--space-6);
  margin-inline: auto;
}

.email-capture__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 480px;
  margin-inline: auto;
}

.email-capture__form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background-color: var(--colour-navy-light);
  color: var(--colour-white);
  font-size: var(--fs-base);
  transition: border-color var(--transition);
}

.email-capture__form input[type="email"]::placeholder {
  color: var(--colour-grey-dark);
}

.email-capture__form input[type="email"]:focus {
  outline: none;
  border-color: var(--colour-green);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background-color: var(--colour-navy);
  color: var(--colour-grey);
  padding-block: var(--space-6) var(--space-4);
}

/* Single-bar footer layout */
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-4);
}

.footer__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.footer__bar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}

.footer__icon-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--colour-grey-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer__icon-link:hover {
  color: var(--colour-orange);
}

.footer__icon-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer__social {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--colour-grey);
  transition: background var(--transition), color var(--transition);
}

.footer__social-icon:hover {
  background: var(--colour-orange);
  color: var(--colour-white);
}

.footer__social-icon svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--colour-navy-light);
  font-size: var(--fs-xs);
  color: var(--colour-grey-dark);
}

/* ------------------------------------------------------------
   Card Deck — flip-card horizontal scroll (Services)
   ------------------------------------------------------------ */
.card-deck-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  /* align left edge with the container's content area */
  padding-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  padding-bottom: var(--space-4);
  margin-top: var(--space-10);
  margin-bottom: var(--space-12);
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 41, 59, 0.15) transparent;
}

.card-deck-scroll::-webkit-scrollbar { height: 4px; }
.card-deck-scroll::-webkit-scrollbar-thumb {
  background: rgba(10, 41, 59, 0.18);
  border-radius: var(--radius-full);
}

.card-deck {
  display: flex;
  gap: var(--space-5);
  width: max-content;
}

/* Per-card colour palette */
.card-flip--navy  { --card-colour: #14354a; }
.card-flip--green { --card-colour: #2d7030; }
.card-flip--orange{ --card-colour: #c05518; }
.card-flip--teal  { --card-colour: #197070; }
.card-flip--amber { --card-colour: #9e7010; }
.card-flip--plum  { --card-colour: #5a3878; }

/* Individual flip card */
.card-flip {
  flex: 0 0 min(300px, 82vw);
  height: 460px;
  scroll-snap-align: start;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}

.card-flip:focus-visible .card-flip__front {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.card-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-flip.is-flipped .card-flip__inner {
  transform: rotateY(180deg);
}

.card-flip__front,
.card-flip__back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ---- Front face: bold colour, left-aligned ---- */
.card-flip__front {
  background: var(--card-colour);
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: var(--space-4);
  transition: filter var(--transition);
  overflow: hidden;
}

.card-flip:not(.is-flipped):hover .card-flip__front {
  filter: brightness(1.08);
}

.card-flip__front-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.card-flip__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

.card-flip__front-tag {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-1);
}

.card-flip__title {
  color: var(--colour-white);
  font-size: var(--fs-md);
  margin-bottom: 0;
  line-height: var(--lh-snug);
}

.card-flip__desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--lh-relaxed);
  max-width: none;
  margin-bottom: 0;
  flex: 1;
}

.card-flip__cue {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Back face: dark, benefits list only ---- */
.card-flip__back {
  background: var(--colour-navy);
  border-top: 3px solid var(--card-colour);
  transform: rotateY(180deg);
  align-items: flex-start;
  text-align: left;
  gap: var(--space-3);
  justify-content: flex-start;
  padding: var(--space-5) var(--space-5);
}

.card-flip__back-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0;
}

.card-flip__back-list {
  flex: 1;
  overflow: hidden;
  width: 100%;
}

.card-flip__back-list li {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 5px 0 5px var(--space-5);
  position: relative;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-flip__back-list li:last-child {
  border-bottom: none;
}

.card-flip__back-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-size: var(--fs-xs);
  color: var(--card-colour);
  filter: brightness(1.8) saturate(0.7);
}

.card-flip__cue--back {
  color: rgba(255, 255, 255, 0.22);
  margin-top: auto;
}

/* ------------------------------------------------------------
   Page jump nav
   ------------------------------------------------------------ */
.page-nav {
  background: var(--colour-white);
  padding-block: var(--space-3);
}

.page-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
}

.page-nav__link {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--colour-text-muted);
  padding: var(--space-2) var(--space-3);
  transition: color var(--transition);
  white-space: nowrap;
}

.page-nav__link:hover {
  color: var(--colour-navy);
}

.page-nav__link--primary {
  color: var(--colour-orange);
  font-weight: var(--fw-semibold);
}

.page-nav__link--primary:hover {
  color: var(--colour-navy);
}

/* ------------------------------------------------------------
   Accordion sections
   ------------------------------------------------------------ */
.acc-section {
  padding-block: var(--space-8);
}

.acc-section__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  cursor: pointer;
  padding-bottom: var(--space-5);
  border-bottom: var(--border);
  user-select: none;
  text-align: center;
}

/* Dark background variant (Why it matters) */
.why-matters .acc-section__trigger {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.acc-section__trigger-text {
  flex: 1;
  text-align: center;
}

.acc-section__chevron {
  flex-shrink: 0;
  color: var(--colour-grey-dark);
  transition: transform 0.3s ease;
}

.why-matters .acc-section__chevron {
  color: rgba(255, 255, 255, 0.5);
}

.acc-section.is-open .acc-section__chevron {
  transform: rotate(180deg);
}

.acc-section__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
}

.acc-section.is-open .acc-section__body {
  max-height: 3000px;
}

.acc-section.is-open .acc-section__trigger {
  border-bottom: none;
  padding-bottom: var(--space-8);
}

/* ------------------------------------------------------------
   Why It Matters section
   ------------------------------------------------------------ */
.why-matters {
  background-color: var(--colour-navy);
  color: var(--colour-white);
}

.why-matters__grid {
  margin-top: var(--space-12);
}

/* Soft column layout — inspired by Community page */
.why-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-4);
}

/* Circular bubble for number / icon */
.why-col__bubble {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-2);
}

.why-col__bubble--green {
  background: rgba(78, 138, 77, 0.15);
  border: 2px solid rgba(78, 138, 77, 0.4);
}

.why-col__bubble--orange {
  background: rgba(230, 126, 34, 0.13);
  border: 2px solid rgba(230, 126, 34, 0.38);
}

.why-col__bubble--grey {
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.why-col__number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: var(--fw-bold);
  color: var(--colour-green);
  line-height: 1;
}

.why-col__bubble--orange .why-col__number {
  color: var(--colour-orange);
}

.why-col__bubble--grey svg {
  color: rgba(255, 255, 255, 0.55);
}

.why-card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  width: fit-content;
}

.why-card__tag--green {
  background: rgba(78, 138, 77, 0.25);
  color: #85d083;
}

.why-card__tag--orange {
  background: rgba(230, 126, 34, 0.22);
  color: #f0a060;
}

.why-card__tag--grey {
  background: rgba(255, 255, 255, 0.12);
  color: var(--colour-grey);
}

.why-col__claim {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--lh-relaxed);
  max-width: 28ch;
  margin-bottom: 0;
}

.why-col__source {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}


/* ------------------------------------------------------------
   Responsive — Tablet (≥ 640px)
   ------------------------------------------------------------ */
@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-xl); }

  .hero h1 {
    font-size: var(--fs-3xl);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 200px;
    flex-direction: column;
    align-items: flex-start;
  }

  .email-capture__form {
    flex-direction: row;
  }

  .email-capture__form input[type="email"] {
    flex: 1;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .section-header h2 {
    font-size: var(--fs-2xl);
  }
}

/* ------------------------------------------------------------
   Responsive — Desktop (≥ 1024px)
   ------------------------------------------------------------ */
@media (min-width: 1024px) {
  :root {
    --gutter: 2.5rem;
    --nav-height: 90px;
  }

  .nav--scrolled {
    height: 62px;
  }

  /* Desktop: 58px visible (leaving ~16px breathing room in 90px nav),
     183px inflated (58÷0.317) */
  .nav__logo {
    height: 58px;
    width:  183px;
  }
  .nav__logo img {
    height: 183px;
  }

  /* Desktop scrolled: 40px visible, 126px inflated (40÷0.317) */
  .nav--scrolled .nav__logo {
    height: 40px;
    width:  126px;
  }
  .nav--scrolled .nav__logo img {
    height: 126px;
  }

  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }

  .hero {
    padding-block: var(--space-24);
  }

  .hero h1 {
    font-size: var(--fs-4xl);
  }

  .section-header h2 {
    font-size: var(--fs-3xl);
  }

  /* Show desktop nav, hide burger */
  .nav__links  { display: flex; }
  .nav__burger { display: none; }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    gap: var(--space-12);
  }

  .feature-example {
    grid-template-columns: 1fr 1fr;
  }

  .feature-example__media {
    min-height: 400px;
  }

  .feature-example__content {
    padding: var(--space-10) var(--space-12);
    justify-content: center;
  }

  .cta-block {
    padding: var(--space-16) var(--space-20);
  }

  .booking-card {
    padding: var(--space-12);
  }
}

/* ------------------------------------------------------------
   Responsive — Wide (≥ 1280px)
   ------------------------------------------------------------ */
@media (min-width: 1280px) {
  :root {
    --gutter: 3rem;
  }
}

/* ------------------------------------------------------------
   Utility — Spacing helpers
   ------------------------------------------------------------ */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* ------------------------------------------------------------
   Article prose body
   ------------------------------------------------------------ */
.article-prose {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--colour-text-body);
  max-width: 68ch;
}

.article-prose p {
  margin-bottom: var(--space-6);
}

.article-prose h2 {
  font-size: var(--fs-xl);
  color: var(--colour-navy);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.article-prose h3 {
  font-size: var(--fs-lg);
  color: var(--colour-navy);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-prose ul,
.article-prose ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.article-prose li {
  margin-bottom: var(--space-2);
}

.article-prose blockquote {
  border-left: none;
  padding-left: 0;
  margin-inline: 0;
  margin-block: var(--space-10);
  font-style: normal;
  color: var(--colour-text-body);
}

.article-prose blockquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: var(--fw-bold);
  color: var(--colour-green);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

.article-prose blockquote p {
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--colour-navy);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.article-prose blockquote cite {
  display: block;
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: var(--fw-semibold);
  color: var(--colour-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: var(--space-4);
  border-top: var(--border);
}

.article-prose strong {
  font-weight: var(--fw-semibold);
  color: var(--colour-navy);
}

.article-prose a {
  color: var(--colour-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a:hover {
  color: var(--colour-green-dark);
}

/* Stat callout — prominent pull-out for a key statistic */
.stat-callout {
  background-color: var(--colour-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-block: var(--space-10);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: center;
}

.stat-callout__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: var(--fw-bold);
  color: var(--colour-green);
  line-height: 1;
  padding-right: var(--space-6);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.stat-callout__text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .stat-callout {
    grid-template-columns: 1fr;
  }
  .stat-callout__number {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: var(--space-4);
  }
}

.article-prose hr {
  border: none;
  border-top: var(--border);
  margin-block: var(--space-12);
}

/* Article figures — infographics and inline images */
.article-figure {
  margin-block: var(--space-10);
  text-align: center;
}

.article-figure img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(10, 41, 59, 0.10);
}

.article-figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  font-style: italic;
}

/* Recommendation box — final callout in articles */
.recommendation-box {
  border: 2px solid var(--colour-green);
  border-radius: var(--radius-lg);
  background-color: rgba(78, 138, 77, 0.06);
  padding: var(--space-8) var(--space-8) var(--space-6);
  margin-block: var(--space-10);
}

.recommendation-box__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-green);
  margin-bottom: var(--space-5);
}

.recommendation-box p {
  font-size: var(--fs-base);
  color: var(--colour-text-body);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

.recommendation-box blockquote {
  border-left: none;
  padding-left: 0;
  margin-inline: 0;
  margin-top: var(--space-6);
  margin-bottom: 0;
}

.recommendation-box blockquote::before {
  color: var(--colour-green);
  font-size: 3rem;
  margin-bottom: var(--space-1);
}

.recommendation-box blockquote p {
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--colour-navy);
  font-weight: var(--fw-medium);
  margin-bottom: 0;
}

/* Article page header */
.article-header__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--colour-text-muted);
  text-decoration: none;
  margin-bottom: var(--space-8);
  transition: color var(--transition);
}

.article-header__back:hover {
  color: var(--colour-navy);
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--colour-text-muted);
  margin-bottom: var(--space-4);
}

/* ------------------------------------------------------------
   Article — header with background image
   Set the image via inline style="background-image: url('...')"
   on the <section> element in each article file.
   ------------------------------------------------------------ */
.section--article-header {
  background-color: var(--colour-navy); /* fallback if image fails */
  background-size: cover;
  background-position: center;
  position: relative;
}

.section--article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 41, 59, 0.72), rgba(10, 41, 59, 0.72));
}

.section--article-header .container {
  position: relative;
  z-index: 1;
}

.section--article-header .article-header__back {
  color: rgba(255, 255, 255, 0.70);
}

.section--article-header .article-header__back:hover {
  color: var(--colour-white);
}

.section--article-header h1 {
  color: var(--colour-white);
}

.section--article-header .article-header__meta {
  color: rgba(255, 255, 255, 0.60);
}

.section--article-header .lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------
   Insights — header with background image
   ------------------------------------------------------------ */
.section--insights-header {
  position: relative;
  background-image:
    linear-gradient(rgba(26, 45, 39, 0.65), rgba(26, 45, 39, 0.65)),
    url('assets/maze-header.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--colour-white);
}

.section--insights-header h1 {
  color: var(--colour-white);
}

.section--insights-header .lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------
   Print
   ------------------------------------------------------------ */
@media print {
  .nav, .nav__mobile, .footer { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
