/* ==========================================================================
   MALCOLM INC — site styles
   Built from the supplied UI designs (1728px frame, 1440px content column).
   Shared by index.html, services.html and about.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the design PDFs' raw colour values */
  --green:        #679E4D;
  --green-dark:   #57883E;
  --green-mid:    #9EC18D;   /* numbered "why work with us" chips */
  --green-pale:   #E5F8DD;   /* testimonial card, light form fields */
  --dark:         #202020;   /* process band, CTA block, contact block */
  --darker:       #1B1B1B;   /* footer */
  --slate:        #56626A;
  --ink:          #000000;
  --ink-soft:     #4A4A4A;
  --white:        #FFFFFF;
  --hairline:     #E6E6E6;
  --rule:         #D7D7D7;
  --on-dark-soft: rgba(255, 255, 255, 0.72);
  --on-dark-rule: rgba(255, 255, 255, 0.16);

  /* Layout: 1440px content column, 144px margins at the 1728px reference */
  --gutter:       clamp(20px, 3vw, 48px);
  --maxw:         1440px;

  /* Type scale — fluid between 390px and 1728px viewports */
  --fs-mini:      clamp(0.875rem, 0.15vw + 0.808rem, 1rem);        /* 14 → 16 */
  --fs-small:     clamp(0.9375rem, 0.15vw + 0.87rem, 1rem);        /* 15 → 16 */
  --fs-body:      clamp(1rem,     0.299vw + 0.927rem, 1.25rem);    /* 16 → 20 */
  --fs-lead:      clamp(1.0625rem, 0.523vw + 0.935rem, 1.5rem);    /* 17 → 24 */
  --fs-h4:        clamp(1.25rem,  0.897vw + 1.031rem, 2rem);       /* 20 → 32 */
  --fs-h3:        clamp(1.375rem, 1.345vw + 1.047rem, 2.5rem);     /* 22 → 40 */
  --fs-h2:        clamp(1.75rem,  1.495vw + 1.386rem, 3rem);       /* 28 → 48 */
  --fs-h2-lg:     clamp(2rem,     2.541vw + 1.381rem, 4rem);       /* 32 → 64 */
  --fs-h1:        clamp(2.625rem, 4.185vw + 1.566rem, 6rem);       /* 42 → 96 */

  /* Radii measured off the designs */
  --r-card:       28px;
  --r-block:      20px;
  --r-btn:        20px;
  --r-pill:       999px;
  --r-chip:       4px;

  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  /* overflow-x on <body> alone propagates to the viewport instead of
     clipping, so the marquee's off-screen half left the page scrollable
     sideways. `clip` contains it without creating a scroll container;
     `hidden` is the fallback for older Safari. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* No overflow-x here. <html> above already clips the marquee horizontally,
     and setting it on <body> as well made body its own scroll container
     (computed `overflow: hidden auto`), which broke `position: sticky` on the
     header: it stuck to body's scrollport rather than the viewport being
     scrolled, so the menu scrolled away instead of staying put. */
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.accent { color: var(--green); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   3. Shared type
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.4;
}
.eyebrow--dot { display: flex; align-items: center; gap: 10px; }
.eyebrow--dot::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
}
.center .eyebrow--dot, .eyebrow--dot.center { justify-content: center; }

.h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-title {
  font-size: var(--fs-h2-lg);
  font-weight: 800;
  line-height: 1.19;
  letter-spacing: -0.028em;
}
.section-title--sm { font-size: var(--fs-h2); line-height: 1.2; }

.lede {
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.prose p + p { margin-top: 1.5em; }
.prose { line-height: 1.6; }

/* Grid children default to min-width:auto, which lets an item with an
   aspect-ratio push the track wider than the column. Pin them to 0. */
.hero-split > *, .band-green-inner > *, .split-intro > *, .media-split > *,
.contact-inner > *, .faq-inner > *, .founder-card > *, .svc-row > *,
.reasons > *, .values > *, .support-cards > *, .steps > *, .form-grid > *,
.footer-grid > * { min-width: 0; }

/* Green artwork placeholder block */
.media-block {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--green);
  border-radius: var(--r-block);
  overflow: hidden;
}
.media-block--wide { aspect-ratio: 628 / 597; }
.media-block--tall { aspect-ratio: 627 / 720; }
.media-block--portrait { aspect-ratio: 3 / 4; }
.media-block-icon { width: 58%; height: auto; }
.media-block img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 clamp(28px, 2.4vw, 42px);
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 2px var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-ghost { padding-inline: 0; color: var(--ink); font-weight: 500; }
.btn-ghost:hover { color: var(--green); }

/* On dark backgrounds */
.on-dark .btn-outline { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.on-dark .btn-outline:hover { background: var(--white); color: var(--dark); }

/* Small pill used inside green cards */
.btn-oncard {
  min-height: 56px;
  background: var(--white);
  color: var(--green);
  font-weight: 500;
}
.btn-oncard:hover { background: var(--dark); color: var(--white); }

.btn-sm { min-height: 56px; padding-inline: clamp(24px, 2vw, 34px); }

.btn-block { width: 100%; }

.icon-arrow {
  width: 1.05em; height: 1.05em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon-arrow { transform: translate(2px, -2px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--hairline); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(14px, 2.3vw, 40px);
}

.logo img { width: clamp(118px, 7.6vw, 131px); height: auto; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 36px);
  font-size: var(--fs-body);
}
.nav > a { position: relative; padding-block: 4px; }
.nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav > a:hover::after,
.nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { font-weight: 600; }

.nav-cta { display: none; }
.header-cta { margin-left: clamp(16px, 3.3vw, 57px); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars { position: relative; display: block; width: 26px; height: 16px; }
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child  { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  transform: translateY(6.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Page hero
   -------------------------------------------------------------------------- */
.hero { padding-top: clamp(40px, 5.3vw, 92px); }

.hero-split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(32px, 3.2vw, 56px);
  align-items: center;
}
.hero .h1 { margin-top: 16px; }
.hero .lede { margin-top: clamp(24px, 2.2vw, 38px); max-width: 60ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 2.8vw, 48px);
}

/* Centred hero (services + about pages) */
.hero-centered { text-align: center; }
.hero-centered .lede { margin-inline: auto; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .h1 { margin-top: 18px; }

/* --------------------------------------------------------------------------
   7. Full-bleed green trust band
   -------------------------------------------------------------------------- */
.band-green {
  background: var(--green);
  color: var(--white);
  padding-block: clamp(48px, 4.6vw, 80px);
  margin-top: clamp(56px, 5.4vw, 94px);
}
.band-green-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 3.2vw, 56px);
  align-items: center;
}
.band-green .eyebrow { opacity: 0.85; }
.band-green .section-title { margin-top: 12px; }
.band-green p { line-height: 1.55; font-size: var(--fs-lead); }

/* --------------------------------------------------------------------------
   8. Generic section + split intro
   -------------------------------------------------------------------------- */
.section { padding-top: clamp(56px, 6vw, 104px); }
.section--tight { padding-top: clamp(40px, 3.8vw, 66px); }

.split-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 3.2vw, 56px);
  align-items: start;
}
.split-intro .section-title { margin-top: 12px; }
.split-intro .prose { font-size: var(--fs-lead); }

/* --------------------------------------------------------------------------
   9. Alternating service rows (home)
   -------------------------------------------------------------------------- */
.svc-rows { margin-top: clamp(40px, 4vw, 70px); display: grid; gap: clamp(40px, 4vw, 70px); }

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 2.8vw, 48px);
  align-items: center;
}
.svc-row--flip .svc-card { order: 2; }

.svc-card {
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-card);
  padding: clamp(28px, 2.9vw, 50px);
}
.svc-card h3 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.25; }
.svc-card p { margin-top: clamp(16px, 1.4vw, 24px); line-height: 1.5; }
.svc-card .btn { margin-top: clamp(24px, 2.2vw, 38px); }

/* --------------------------------------------------------------------------
   10. Numbered reason chips ("Why work with us")
   -------------------------------------------------------------------------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 24px);
  margin-top: clamp(28px, 2.6vw, 44px);
}
.reason {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 168px;
  padding: clamp(18px, 1.5vw, 26px);
  background: var(--green-mid);
  color: var(--white);
  border-radius: var(--r-block);
  text-align: center;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1.3;
}
.reason b {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  font-size: var(--fs-small);
  font-weight: 600;
}
.reasons-lead {
  grid-column: span 1;
  display: flex;
  align-items: center;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   11. Dark process band
   -------------------------------------------------------------------------- */
.band-dark {
  background: var(--dark);
  color: var(--white);
  padding-block: clamp(48px, 4.4vw, 76px);
  margin-top: clamp(56px, 5.4vw, 94px);
}
.band-dark .eyebrow { color: var(--on-dark-soft); }
.band-dark .section-title { margin-top: 10px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 1.6vw, 28px);
  margin-top: clamp(32px, 3vw, 52px);
}
.step-num {
  display: grid;
  place-items: center;
  width: clamp(34px, 2.4vw, 42px);
  height: clamp(34px, 2.4vw, 42px);
  border-radius: var(--r-chip);
  background: var(--white);
  color: var(--dark);
  font-size: var(--fs-small);
  font-weight: 600;
}
.step h3 {
  margin-top: clamp(20px, 1.9vw, 32px);
  font-size: var(--fs-h4);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.step p {
  margin-top: 14px;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--on-dark-soft);
}

/* --------------------------------------------------------------------------
   12. Media + copy split (about blurb, local support, training)
   -------------------------------------------------------------------------- */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(32px, 3.3vw, 58px);
  align-items: center;
}
.media-split--flip .media-block { order: 2; }
.media-split .section-title { margin-top: 12px; }
.media-split .prose { margin-top: clamp(20px, 1.7vw, 30px); font-size: var(--fs-body); }
.media-split .btn { margin-top: clamp(24px, 2.2vw, 38px); }

/* Tick list used throughout */
.tick-list { display: grid; gap: clamp(10px, 0.9vw, 16px); }
.tick-list li {
  position: relative;
  padding-left: 38px;
  line-height: 1.45;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.1em;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: 8px; top: 0.42em;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.on-dark .tick-list li::before { background: var(--white); }
.on-dark .tick-list li::after { border-color: var(--dark); }
/* On a green background the green tick disc vanishes — invert it */
.band-green .tick-list li::before,
.svc-card .tick-list li::before { background: var(--white); }
.band-green .tick-list li::after,
.svc-card .tick-list li::after { border-color: var(--green); }

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.quotes {
  margin-top: clamp(20px, 1.2vw, 20px);
  background: var(--green-pale);
  border-radius: var(--r-block);
  overflow: hidden;
}
.quotes-track { display: flex; align-items: stretch; transition: transform 0.5s var(--ease); }
/* The reviews rotate on their own for everyone, including visitors who have
   asked for reduced motion — otherwise they would only ever see the first
   one. For them the quote swaps instantly instead of sliding across. */
@media (prefers-reduced-motion: reduce) {
  .quotes-track { transition: none; }
}
.quote {
  flex: 0 0 100%;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 55px) clamp(24px, 8.3vw, 144px) clamp(28px, 3.1vw, 53px);
}
.stars { display: flex; gap: 12px; }
.stars svg { width: 21px; height: 21px; fill: var(--green); }
.quote-text {
  max-width: 910px;
  margin-top: clamp(24px, 3.1vw, 53px);
  font-size: var(--fs-lead);
  line-height: 1.58;
}
.quote-author { margin-top: clamp(20px, 2.7vw, 47px); line-height: 1.2; }
.quote-name, .quote-role { display: block; }
.quotes-dots { display: flex; justify-content: center; gap: 6px; margin-top: 19px; }
.quotes-dots button {
  width: 14px; height: 11px;
  padding: 0;
  border-radius: 3px;
  background: #5D6970;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.quotes-dots button[aria-selected="true"] { width: 27px; background: var(--green); }
.quotes-dots:empty { display: none; }

/* --------------------------------------------------------------------------
   14. Inset dark CTA block
   -------------------------------------------------------------------------- */
.cta-block {
  margin-top: clamp(56px, 5.4vw, 94px);
  padding: clamp(48px, 5.4vw, 94px) clamp(24px, 4vw, 70px);
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r-block);
  text-align: center;
}
.cta-block .section-title { max-width: 18ch; margin-inline: auto; }
.cta-block p {
  max-width: 60ch;
  margin: clamp(24px, 2.2vw, 38px) auto 0;
  font-size: var(--fs-h4);
  line-height: 1.45;
}
.cta-block .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { padding-top: clamp(56px, 5vw, 86px); }
.faq-inner {
  display: grid;
  grid-template-columns: 0.66fr 1fr;
  gap: clamp(32px, 4vw, 69px);
  align-items: start;
}
.faq .section-title { line-height: 1.12; }

.acc-item { border-bottom: 2px solid var(--rule); }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0 26px;
  text-align: left;
  font-size: var(--fs-body);
  line-height: 1.4;
}
.acc-trigger:hover { color: var(--green); }
.acc-icon {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease);
}
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--green); }
.acc-icon::before { left: 0; top: 6px; width: 18px; height: 6px; }
.acc-icon::after  { top: 0; left: 6px; width: 6px; height: 18px; }
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-panel { padding: 0 60px 26px 0; }
.acc-panel p { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   16. Dark contact block + form
   -------------------------------------------------------------------------- */
.contact-block {
  margin-top: clamp(56px, 5.4vw, 94px);
  padding: clamp(40px, 4vw, 70px) clamp(24px, 2.8vw, 48px);
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r-block) var(--r-block) 0 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(36px, 3.4vw, 60px);
  align-items: start;
}
.contact-block .eyebrow { color: var(--on-dark-soft); }
.contact-block .section-title { margin-top: 12px; }
.contact-block .prose { margin-top: clamp(24px, 2.2vw, 38px); color: var(--on-dark-soft); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { margin-bottom: 8px; font-size: var(--fs-small); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0 20px;
  height: 58px;
  color: var(--ink);
  background: var(--green-pale);
  border: 0;
  border-radius: 6px;
  outline-offset: -3px;
}
.field textarea {
  display: block;
  height: auto;
  min-height: 118px;
  padding-block: 16px;
  resize: vertical;
  line-height: 1.5;
}
.field select { appearance: none; background-image: none; cursor: pointer; }
.field ::placeholder { color: #6E7A68; opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--green);
}
.contact-form.was-validated :invalid { box-shadow: inset 0 0 0 2px #E06A5C; }

.btn-send {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 58px;
  margin-top: 10px;
  padding-inline: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-pill);
  font-weight: 600;
}
.btn-send:hover { background: var(--green-dark); }
.btn-send[disabled] { opacity: 0.6; cursor: progress; }

.form-status { grid-column: 1 / -1; margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: #FFB4A8; }
.form-status.is-ok { color: #BFE8A8; font-weight: 600; }
.form-status a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(40px, 4vw, 70px) clamp(24px, 2.8vw, 48px) 0;
  background: var(--darker);
  color: var(--white);
  border-radius: 0 0 var(--r-block) var(--r-block);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
  gap: clamp(28px, 2.6vw, 44px);
}
.footer-tagline {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.footer-blurb { margin-top: clamp(18px, 1.5vw, 26px); color: var(--on-dark-soft); line-height: 1.5; }
.footer-col h2 { font-size: var(--fs-body); font-weight: 600; margin-bottom: 18px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a:hover { color: var(--green-mid); }
.footer-contact li { color: var(--on-dark-soft); line-height: 1.5; }
.footer-contact li + li { margin-top: 18px; }
.footer-contact a { color: var(--white); }
.footer-contact a:hover { color: var(--green-mid); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(20px, 2.1vw, 36px);
  margin-top: clamp(32px, 3vw, 52px);
  padding-block: clamp(20px, 1.7vw, 30px);
  border-top: 1px solid var(--on-dark-rule);
  font-size: var(--fs-mini);
  color: var(--on-dark-soft);
}
.footer-legal .spacer { margin-left: auto; }
.footer-legal a:hover { color: var(--white); }

/* Page wrapper so the dark block's rounded corners sit inside the grid */
.dark-wrap { margin-top: clamp(56px, 5.4vw, 94px); }
.dark-wrap .contact-block { margin-top: 0; }

/* --------------------------------------------------------------------------
   18. Services page specifics
   -------------------------------------------------------------------------- */
.svc-detail { margin-top: clamp(40px, 4vw, 70px); display: grid; gap: clamp(40px, 4vw, 70px); }

.svc-detail-item { border-radius: var(--r-card); overflow: hidden; }
.svc-detail-head {
  background: var(--green);
  color: var(--white);
  padding: clamp(26px, 2.6vw, 46px) clamp(24px, 2.4vw, 42px);
}
.svc-detail-head h2 {
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.svc-detail-head p { margin-top: clamp(16px, 1.4vw, 24px); font-size: var(--fs-h4); line-height: 1.35; }
.svc-detail-body { padding: clamp(24px, 2.2vw, 38px) 0 0; }
.svc-detail-body > h3 { font-size: var(--fs-h4); font-weight: 600; margin-bottom: clamp(18px, 1.6vw, 28px); }

.check-rows { display: grid; gap: clamp(12px, 1.1vw, 18px); }
.check-rows li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(14px, 1.3vw, 22px) clamp(16px, 1.6vw, 28px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  font-size: var(--fs-h4);
  line-height: 1.35;
}
.check-mark {
  position: relative;
  flex: none;
  width: clamp(22px, 1.8vw, 30px);
  height: clamp(22px, 1.8vw, 30px);
  border-radius: 50%;
  background: var(--green);
}
.check-mark::after {
  content: "";
  position: absolute;
  left: 32%; top: 36%;
  width: 36%; height: 20%;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.svc-detail-cta { display: flex; justify-content: center; margin-top: clamp(24px, 2.2vw, 38px); }

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.9vw, 32px);
  margin-top: clamp(32px, 3vw, 52px);
}
.support-card {
  padding: clamp(28px, 2.6vw, 46px) clamp(24px, 2.2vw, 38px);
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-card);
  text-align: center;
}
.support-card h3 { font-size: var(--fs-h4); font-weight: 800; line-height: 1.22; }
.support-card p { margin-top: clamp(18px, 1.6vw, 28px); line-height: 1.5; }

/* --------------------------------------------------------------------------
   19. About page specifics
   -------------------------------------------------------------------------- */
.statement {
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-block);
  padding: clamp(32px, 3.2vw, 56px) clamp(24px, 2.6vw, 46px);
}
.statement + .statement { margin-top: clamp(20px, 1.9vw, 32px); }
.statement h2 { font-size: var(--fs-h4); font-weight: 800; }
.statement .prose { margin-top: clamp(20px, 1.8vw, 30px); font-size: var(--fs-h4); line-height: 1.5; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.9vw, 32px);
  margin-top: clamp(32px, 3vw, 52px);
}
.value {
  padding: clamp(24px, 2.2vw, 38px);
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-card);
  min-height: 260px;
}
.value h3 {
  font-size: var(--fs-h4);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.value p { margin-top: clamp(20px, 1.8vw, 32px); line-height: 1.5; }

.founder-card {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(32px, 3.3vw, 58px);
  align-items: start;
}
.founder-name { font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.founder-role { margin-top: 14px; color: var(--ink-soft); }

/* Personal profile continues inside the bio column rather than forming a
   separate block, so it reads as one piece about the same person. */
.founder-sub {
  margin-top: clamp(30px, 2.6vw, 46px);
  font-size: var(--fs-h4);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.prose .founder-sub + p { margin-top: clamp(14px, 1.2vw, 20px); }

/* --------------------------------------------------------------------------
   19b. Training page
   -------------------------------------------------------------------------- */
.train-area + .train-area { margin-top: clamp(40px, 4vw, 70px); }
.train-area h3 { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.015em; }
.train-area > p { margin-top: clamp(14px, 1.2vw, 20px); font-size: var(--fs-lead); line-height: 1.5; }
.train-area .topics-label { margin-top: clamp(18px, 1.5vw, 26px); font-size: var(--fs-lead); }

.topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 26px) clamp(20px, 2.2vw, 38px);
  margin-top: clamp(16px, 1.4vw, 24px);
}
.topics li {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  max-width: 100%;
  min-height: clamp(54px, 4.5vw, 78px);
  padding: 12px clamp(20px, 2.1vw, 36px) 12px clamp(14px, 1.2vw, 20px);
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: var(--fs-lead);
  line-height: 1.3;
}
.topic-tick { position: relative; flex: none; width: clamp(24px,1.9vw,32px); height: clamp(24px,1.9vw,32px);
  border-radius: 7px; background: var(--white); }
.topic-tick::after {
  content: "";
  position: absolute;
  left: 28%; top: 32%;
  width: 42%; height: 22%;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.delivery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.6vw, 28px);
  margin-top: clamp(32px, 3vw, 52px);
}
.delivery-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 1.7vw, 30px);
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-card);
}
.delivery-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(10px, 0.9vw, 15px) clamp(16px, 1.4vw, 24px);
  background: var(--white);
  color: var(--green);
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  font-weight: 500;
}
.delivery-card h3 svg { flex: none; width: 22px; height: 22px; fill: currentColor; }
.delivery-card p { margin-top: clamp(24px, 2.6vw, 46px); line-height: 1.5; }

.expect-list {
  display: grid;
  gap: clamp(12px, 1.1vw, 18px);
  margin-top: clamp(28px, 2.6vw, 44px);
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}

/* --------------------------------------------------------------------------
   19c. Contact page
   -------------------------------------------------------------------------- */
.enquiry {
  max-width: 1120px;
  margin: clamp(32px, 3vw, 52px) auto 0;
}
.enquiry-head { text-align: center; }
.enquiry-head h2 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; }
.enquiry-head p { margin-top: 10px; font-size: var(--fs-h4); }

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 24px) clamp(20px, 1.9vw, 32px);
  margin-top: clamp(28px, 2.6vw, 44px);
}
.enquiry-grid > * { min-width: 0; }
.enquiry-grid .field--full { grid-column: 1 / -1; }
.enquiry-grid .field label { font-size: var(--fs-h4); font-weight: 400; margin-bottom: 12px; }
.enquiry-grid .field input,
.enquiry-grid .field select,
.enquiry-grid .field textarea {
  height: clamp(54px, 4vw, 70px);
  padding-inline: clamp(18px, 1.6vw, 28px);
  background: #F4F3F3;
  border-radius: 10px;
  font-size: var(--fs-lead);
}
.enquiry-grid .field textarea { height: auto; min-height: clamp(110px, 8.2vw, 142px); padding-block: 18px; }
.enquiry-grid .field ::placeholder { color: #8C8C8C; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: clamp(12px, 1vw, 18px);
  font-size: var(--fs-lead);
  line-height: 1.45;
}
.consent input {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 2px;
  accent-color: var(--green);
}

.contact-details { display: grid; gap: clamp(22px, 2vw, 34px); }
.contact-details dt { font-weight: 600; font-size: var(--fs-lead); }
.contact-details dd { margin: 8px 0 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.contact-details a:hover { color: var(--green); }

.fineprint {
  margin-top: clamp(24px, 2.2vw, 38px);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--on-dark-soft);
  text-align: center;
}

/* Inset green CTA (training page) */
.cta-block--green { background: var(--green); }
.cta-block--green .accent { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }

.tagline-band {
  padding-block: clamp(40px, 3.4vw, 58px);
  text-align: center;
}

/* --------------------------------------------------------------------------
   19d. Legal / document pages
   -------------------------------------------------------------------------- */
.legal { max-width: 860px; margin-inline: auto; }
.legal .updated { margin-top: 14px; color: var(--ink-soft); font-size: var(--fs-small); }

.legal h2 {
  margin-top: clamp(36px, 3.2vw, 56px);
  font-size: var(--fs-h4);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.legal h3 {
  margin-top: clamp(22px, 2vw, 34px);
  font-size: var(--fs-lead);
  font-weight: 700;
}
.legal p, .legal li { line-height: 1.65; }
.legal p { margin-top: 1em; }
.legal ul { margin-top: 1em; display: grid; gap: 10px; }
.legal ul li { position: relative; padding-left: 26px; }
.legal ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { margin-top: 1em; display: grid; gap: 14px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 4px 0 0; line-height: 1.6; }

.legal-note {
  margin-top: clamp(32px, 3vw, 52px);
  padding: clamp(20px, 1.9vw, 32px);
  background: var(--green-pale);
  border-radius: var(--r-block);
  line-height: 1.6;
}
.legal-note strong { display: block; margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

/* Directional variants — alternating rows enter from the side they sit on,
   which reads as deliberate rather than everything sliding the same way. */
.js .reveal--left  { transform: translateX(-34px); }
.js .reveal--right { transform: translateX(34px); }
.js .reveal--scale { transform: scale(0.955); }
.js .reveal--left.is-visible,
.js .reveal--right.is-visible,
.js .reveal--scale.is-visible { transform: none; }

/* --------------------------------------------------------------------------
   20b. Motion
   -------------------------------------------------------------------------- */
@keyframes riseIn   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ringPulse{ 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(2.4); opacity: 0; } }
@keyframes nudgeDown{ 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(7px); opacity: .45; } }

/* ---- hero entrance: plays once on load, staggered down the column ---- */
.js .hero-enter > * { animation: riseIn 0.85s var(--ease) backwards; }
.js .hero-enter > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-enter > *:nth-child(2) { animation-delay: 0.16s; }
.js .hero-enter > *:nth-child(3) { animation-delay: 0.27s; }
.js .hero-enter > *:nth-child(4) { animation-delay: 0.38s; }
.js .hero-enter > *:nth-child(5) { animation-delay: 0.49s; }
/* Enter, then settle into a slow drift — one shorthand, or the second
   rule would simply replace the first. */
.js .hero-media-enter {
  animation: riseIn 1s var(--ease) 0.3s backwards,
             floatY 7s ease-in-out 1.6s infinite;
}

/* ---- green dot in the eyebrow gets a soft radar pulse ---- */
.eyebrow--dot::before { position: relative; }
.js .eyebrow--dot::after {
  content: "";
  position: absolute;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  animation: ringPulse 2.8s ease-out infinite;
  pointer-events: none;
}
.js .eyebrow--dot { position: relative; }

/* ---- continuous tagline marquee ---- */
.marquee {
  overflow: hidden;
  padding-block: clamp(26px, 2.4vw, 42px);
  background: var(--green);
  color: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 3vw, 52px);
  padding-right: clamp(28px, 3vw, 52px);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: clamp(10px, 0.9vw, 15px);
  height: clamp(10px, 0.9vw, 15px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  flex: none;
}

/* ---- scroll progress ---- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--green);
  z-index: 300;
  pointer-events: none;
  will-change: transform;
}

/* ---- media blocks: hover zoom + gentle scroll parallax ---- */
.media-block img {
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.media-block:hover img { transform: scale(1.045); }
.js .parallax img { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); }
.js .parallax:hover img { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }

/* ---- cards lift a little more decisively ---- */
.svc-card, .value, .support-card, .delivery-card, .reason {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.3s var(--ease);
}
.svc-card:hover, .value:hover, .support-card:hover, .delivery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.45);
}
.reason:hover { transform: translateY(-4px) scale(1.02); }
.check-rows li, .topics li { transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.check-rows li:hover { transform: translateX(6px); border-color: var(--green); }
.topics li:hover { transform: translateY(-3px); }

/* ---- header condenses as you scroll ---- */
.header-inner { transition: padding-block 0.35s var(--ease); }
.site-header.is-stuck .header-inner { padding-block: clamp(10px, 1.3vw, 20px); }
.logo img { transition: width 0.35s var(--ease), height 0.35s var(--ease); }

/* ---- scroll cue under the hero ---- */
.scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 2.6vw, 46px);
}
.scroll-cue span {
  width: 26px; height: 42px;
  border: 2px solid rgba(0, 0, 0, 0.28);
  border-radius: 14px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%; top: 9px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--green);
  animation: nudgeDown 1.8s ease-in-out infinite;
}

/* ---- section titles get a drawn accent underline on entry ---- */
.js .section-title .accent { position: relative; }
.js .reveal.is-visible .accent::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.1em;
  height: 3px;
  width: 100%;
  background: currentColor;
  opacity: 0.32;
  transform-origin: 0 50%;
  animation: drawIn 0.9s var(--ease) 0.35s backwards;
}
@keyframes drawIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reasons-lead { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .values, .support-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .hero-split, .band-green-inner, .split-intro, .media-split,
  .contact-inner, .faq-inner, .founder-card, .svc-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .svc-row--flip .svc-card, .media-split--flip .media-block { order: 0; }
  .media-block, .media-block--wide, .media-block--tall { aspect-ratio: 16 / 11; }
  .media-block--portrait { aspect-ratio: 3 / 4; max-width: 440px; }
  .acc-panel { padding-right: 0; }
  .value { min-height: 0; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .logo img { width: auto; height: clamp(30px, 8vw, 36px); max-width: 60vw; }

  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 18px 32px -22px rgba(0, 0, 0, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
                visibility 0s linear 0.25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav > a { padding-block: 15px; border-bottom: 1px solid var(--hairline); }
  .nav > a::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 20px; width: 100%; }
}

@media (max-width: 1080px) {
  .delivery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .topics { grid-template-columns: minmax(0, 1fr); }
  .enquiry-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .delivery { grid-template-columns: minmax(0, 1fr); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values, .support-cards { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn, .btn-send { width: 100%; }
  .stars svg { width: 18px; height: 18px; }
  .stars { gap: 9px; }
  .footer-legal .spacer { margin-left: 0; }
}

@media (max-width: 700px) {
  .brk { display: none; }
}

/* --------------------------------------------------------------------------
   22. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }

  /* The looping pieces are removed outright rather than run instantly —
     a 0.01ms infinite animation still churns, and the pulse/cue would
     land mid-keyframe. Parallax offsets are dropped too. */
  .js .hero .media-block { animation: none; }
  .js .eyebrow--dot::after { display: none; }
  .marquee-track { animation: none; transform: none; }
  .scroll-cue span::after { animation: none; }
  .js .reveal.is-visible .accent::after { animation: none; }
  .js .parallax img,
  .js .parallax:hover img { transform: none; }
  .media-block:hover img { transform: none; }
  .scroll-progress { display: none; }
}

@media print {
  .site-header, .nav-toggle, .skip-link, .quotes-dots { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .acc-panel { display: block !important; }
  .band-green, .band-dark, .cta-block, .contact-block, .site-footer,
  .svc-card, .media-block, .value, .support-card, .quotes {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
