/* ==========================================================================
   GloBug Learning — shared design system
   Mirrors globug-website.html (the canonical home page) so every page shares
   one source of truth for tokens, nav, footer, buttons and motion.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #173d26;
  --bg-2: #215836;
  --bg-3: #2d5a3d;
  --cream: #f3f3d9;
  --cream-light: #f6f5e3;
  --cream-muted: #b8c4a2;
  --cream-dim: #7a8a6f;
  --gold: #cce760;
  --gold-light: #ddf368;
  --dark-green: #0a2620;
  --border: rgba(243, 243, 217, 0.1);
  --border-mid: rgba(243, 243, 217, 0.16);
  --error: #e74c3c;
  --serif: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; background: var(--bg); }
/* Overscroll (rubber-band) colour comes from <html>. Default dark matches the
   dark page-hero + dark footer. Case study pages open cream, so their <html>
   carries class="cs-root" to make the top overscroll cream instead. */
html.cs-root { background: var(--cream); }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── NAV ───────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 80px;
  background: rgba(23, 61, 38, 0);
  backdrop-filter: blur(0px);
  border: none;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(23, 61, 38, 0.25);
  backdrop-filter: blur(20px);
  border: none;
}
nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(10, 38, 32, 0) 0%, rgba(23, 61, 38, 0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: all 0.4s ease;
}
nav.scrolled::before {
  background: linear-gradient(180deg, rgba(10, 38, 32, 0.6) 0%, rgba(23, 61, 38, 0.25) 100%);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  text-decoration: none;
}
.nav-logo-svg {
  height: 31px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.current { color: var(--gold); }
.nav-cta {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--cream);
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--cream);
  padding: 16px 36px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  margin-right: 16px;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  padding: 16px 24px;
  text-decoration: none;
  border: 1px solid var(--cream);
  border-radius: 6px;
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTIONS ──────────────────────────────────────────────────────────── */
section {
  padding: 100px 60px;
}
.section-label {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  max-width: 760px;
  margin-bottom: 28px;
}
.section-heading em { font-style: italic; color: var(--gold-light); }
.section-sub {
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.7;
  max-width: 680px;
}

/* ── TICKER ────────────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  background: var(--gold);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-green);
  padding: 0 36px;
  white-space: nowrap;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PAGE HERO (interior pages) ────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 112px 60px 80px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 120%, rgba(204, 231, 96, 0.45) 0%, rgba(92, 164, 94, 0.22) 32%, transparent 70%),
    linear-gradient(180deg, #0a2620 0%, #173d26 60%, #215836 100%);
}
.page-hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 22px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero .lede {
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.6;
  max-width: 640px;
}

/* ── BREADCRUMB ────────────────────────────────────────────────────────── */
/* Reset leaked global nav{} styles — this is a <nav class="breadcrumb"> */
.breadcrumb {
  display: block;
  position: relative;
  z-index: 2;
  height: auto;
  padding: 0;
  margin: 0 0 18px;
  background: none;
  backdrop-filter: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--cream-muted);
}
.breadcrumb::before { content: none; }
.breadcrumb a { color: var(--cream-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--cream); }

/* ── CTA STRIP ─────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--bg-2);
  padding: 80px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.cta-strip-text { max-width: 560px; }
.cta-strip-heading {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}
.cta-strip-heading em { font-style: italic; color: var(--gold); }
.cta-strip-sub {
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.6;
}
.cta-strip-actions { flex-shrink: 0; }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  padding: 72px 60px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer-logo { display: inline-block; color: var(--gold); }
.footer-logo-svg { height: 36px; width: auto; display: block; }
.footer-brand-desc {
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.7;
  max-width: 280px;
}
.footer-email {
  display: inline-block;
  margin-top: 18px;
  font-size: 1rem;
  color: var(--gold);
  text-decoration: none;
}
.footer-email:hover { text-decoration: underline; }
.footer-col-title {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-link {
  display: block;
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }
.footer-acknowledgement {
  margin: 0 0 28px;
}
.footer-acknowledgement p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream);
  max-width: 760px;
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 1rem; color: var(--cream); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a {
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ── SCROLL ANIMATIONS ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   WORK / CASE STUDIES — page-specific components (built in the same language)
   ========================================================================== */

/* Sector filter chips */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-chip {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-chip:hover { border-color: var(--cream); }
.filter-chip.active {
  background: var(--gold);
  color: var(--dark-green);
  border-color: var(--gold);
  font-weight: 600;
}

/* Work grid + cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(10, 38, 32, 0.35);
}
.work-card.is-hidden { display: none; }
.work-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
.work-thumb-texture {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}
/* solid mid-green placeholders (swap for real screenshots later) */
.work-thumb.sector-government,
.work-thumb.sector-corporate,
.work-thumb.sector-health,
.work-thumb.sector-nfp { background: var(--bg-2); }
.work-thumb-mark { display: none; }
.work-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-tag {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bg-2);
}
.work-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark-green);
  margin: 8px 0 10px;
}
.work-excerpt {
  font-size: 1rem;
  color: #3a4a3f;
  line-height: 1.6;
  margin-bottom: 16px;
}
.work-metric {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-green);
  background: var(--gold);
  border-radius: 6px;
  padding: 5px 12px;
}
/* card footer: metric pinned left, read-more pinned to the right edge */
.work-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.work-readmore {
  margin-left: auto;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg-2);
}
.work-card:hover .work-readmore { color: var(--bg); }

/* ── CASE STUDY DETAIL ─────────────────────────────────────────────────── */
.cs-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}
.cs-meta-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 4px;
}
.cs-meta-item .value { font-size: 1rem; color: var(--cream); font-weight: 500; }

/* lead feature media — sits between hero and "at a glance" so the
   work is visible at a glance. Swap the gradient placeholders for real
   course screenshots later. */
.cs-feature {
  padding: 64px 60px;         /* even cream frame around the media */
  background: var(--cream);
  position: relative;
  z-index: 3;
}
.cs-feature-main {
  position: relative;
  min-height: 120px;
  border-radius: 18px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: 0 30px 70px rgba(10, 38, 32, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-feature-main img { width: 100%; height: auto; object-fit: contain; display: block; }
.cs-feature-main .placeholder {
  font-size: 0.9rem;
  color: var(--cream-muted);
}
.cs-feature-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.cs-feature-thumb {
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-feature-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-feature-thumb .placeholder {
  font-size: 0.78rem;
  color: var(--cream-muted);
}

/* at a glance stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: 36px 32px;
}
.stat-big {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 12px;
}
.stat-label { font-size: 1rem; color: var(--cream); line-height: 1.5; }

/* prose article */
.cs-article { max-width: 760px; }
.cs-block { margin-bottom: 52px; }
.cs-block:last-child { margin-bottom: 0; }
.cs-block h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 18px;
}
.cs-block p {
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.8;
  margin-bottom: 18px;
}
.cs-block p:last-child { margin-bottom: 0; }
.cs-figure {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border-mid);
}
.cs-figure span {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--cream-muted);
}

/* pull quote / testimonial */
.cs-quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 32px;
  margin: 36px 0;
}
.cs-quote blockquote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 18px;
}
.cs-quote .cite { font-size: 1rem; color: var(--cream-muted); }
.cs-quote .cite strong { color: var(--cream); font-weight: 600; }

/* deliverables chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-chip {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--bg-2);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 8px 18px;
}

/* related work (reuses work-card) */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ==========================================================================
   CREAM PAGE — body.page-cream (our-work index)
   Cream background with dark-green ink, mirroring the home page's
   cream sections (.press-section / #services). The hero stays dark
   for contrast; everything below inverts.
   ========================================================================== */
body.page-cream { background: var(--cream); }

/* Section labels / headings sit in dark ink on cream */
body.page-cream .section-label { color: var(--bg-2); }
body.page-cream .section-heading,
body.page-cream section h2 { color: var(--dark-green); }

/* Filter chips invert: dark outline + ink, gold stays the active pill */
body.page-cream .filter-chip {
  color: var(--dark-green);
  border-color: rgba(10, 38, 32, 0.22);
}
body.page-cream .filter-chip:hover { border-color: var(--dark-green); }
body.page-cream .filter-chip.active {
  background: var(--bg);
  color: var(--cream);
  border-color: var(--bg);
}

/* Cards match the home page service cards: cream-light fill + green outline */
body.page-cream .work-card {
  background: var(--cream-light);
  border: 1px solid rgba(33, 88, 54, 0.5);
  box-shadow: none;
}
body.page-cream .work-card:hover {
  box-shadow: 0 12px 30px rgba(10, 38, 32, 0.12);
}

/* CTA strip keeps the deep-green band — reads as a deliberate footer lead-in */

/* ==========================================================================
   CREAM SECTION — .section-cream
   A reusable cream band with dark-green ink, mirroring the home page's
   inverted sections. Drop it on any dark-page section (e.g. the case study
   story) to break up the page and lift readability on long-form text.
   ========================================================================== */
.section-cream { background: var(--cream); }
.section-cream .section-label { color: var(--bg-2); }
.section-cream .section-heading { color: var(--dark-green); }

/* long-form story */
.section-cream .cs-block h2 { color: var(--dark-green); }
.section-cream .cs-block p { color: var(--bg-2); }

/* pull quote / testimonial on cream */
.section-cream .cs-quote blockquote { color: var(--dark-green); }
.section-cream .cs-quote .cite { color: var(--bg-2); }
.section-cream .cs-quote .cite strong { color: var(--dark-green); }

/* deliverable chips invert to cream-light + green outline */
.section-cream .spec-chip {
  background: var(--cream-light);
  border-color: rgba(33, 88, 54, 0.5);
  color: var(--bg-2);
}

/* ── REDUCED MOTION ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
.nav-toggle { display: none; }

@media (max-width: 980px) {
  nav { padding: 0 28px; }
  section { padding: 80px 28px; }
  .page-hero { padding: 104px 28px 64px; }
  .cta-strip { padding: 72px 28px; }
  footer { padding: 64px 28px 36px; }

  .work-grid,
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: 1fr; }
  .cs-feature { padding: 48px 28px; }
  .cs-feature-main { height: auto; }
  .cs-feature-thumb { height: 120px; }
  .cta-strip { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-hero h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
}

@media (max-width: 1024px) {
  nav { height: 64px; padding: 0 20px; }
  nav.scrolled { background: rgba(23, 61, 38, 0.85); }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 120;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 38, 32, 0.98);
    backdrop-filter: blur(20px);
    padding: 8px 20px 16px;
    border-top: 1px solid var(--border);
    transform: translateY(-135%);
    transition: transform 0.35s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .nav-links li:last-child a { border-bottom: none; }

  .work-grid,
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }

  .page-hero { padding: 92px 20px 52px; }
  section { padding: 64px 20px; }
  .cta-strip { padding: 56px 20px; }
  footer { padding: 56px 20px 32px; }

  .page-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .cs-feature { padding: 36px 20px; }
  .cs-feature-main { height: auto; }
  .cs-feature-thumbs { grid-template-columns: 1fr 1fr; }
  .cs-feature-thumb:last-child { display: none; }
  .section-heading,
  .cta-strip-heading { font-size: 1.7rem; }
  .stat-big { font-size: 3rem; }
  .cs-quote blockquote { font-size: 1.35rem; }
}

@media (max-width: 420px) {
  .page-hero h1 { font-size: clamp(1.9rem, 10vw, 2.5rem); }
  .nav-logo-svg { height: 26px; }
}

/* ════════════════════════════════════════════════════════════════════════
   REUSABLE INTERIOR-PAGE COMPONENTS
   Ported from the home page so interior pages (Our Approach, services,
   How We Price…) share identical components. Home is standalone and
   unaffected by this file.
   ════════════════════════════════════════════════════════════════════════ */

/* Mid-green section background — third register in the dark/cream/mid rhythm */
.section-mid { background: var(--bg-2); }

/* Generic two-column split */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Checklist with lime check marks */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.checklist li {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--cream);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.checklist li:last-child { border-bottom: none; padding-bottom: 0; }
.check-mark {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.check-mark svg { width: 13px; height: 13px; stroke: var(--bg); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Numbered steps (the method / how it works) */
.steps-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.step-item {
  display: grid; grid-template-columns: 80px 1fr; align-items: start;
  border-bottom: 1px solid var(--border); padding: 40px; gap: 32px;
  transition: background 0.2s;
}
.step-item:last-child { border-bottom: none; }
.step-item:hover { background: var(--bg-2); }
.step-num-large { font-family: var(--serif); font-size: 3.75rem; font-weight: 400; color: var(--gold); line-height: 1; }
.step-content-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: var(--cream); margin-bottom: 8px; }
.step-content-body { font-size: 1.1rem; color: var(--cream); line-height: 1.7; }

/* Cream-section text overrides so ported components stay legible on cream */
.section-cream .section-sub,
.section-cream .step-content-body,
.section-cream .checklist li { color: var(--bg-2); border-bottom-color: rgba(33, 88, 54, 0.18); }
.section-cream .step-content-title { color: var(--dark-green); }

@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .step-item { grid-template-columns: 56px 1fr; padding: 28px; gap: 20px; }
  .step-num-large { font-size: 2.6rem; }
}

/* Services / offerings grid — ported from the home #services section so
   interior hub pages show identical cards. On a .section-cream they take the
   home cream-card look; on dark they sit on deep green. */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: var(--bg);
  padding: 48px 40px;
  border-radius: 12px;
  transition: background 0.3s, transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
a.service-card { text-decoration: none; cursor: pointer; }
.service-card:hover { background: var(--bg-3); }
.service-icon { display: block; width: 56px; height: 56px; margin-bottom: 20px; color: var(--gold); }
.service-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--cream); margin-bottom: 14px; line-height: 1.3; }
.service-body { font-size: 1rem; color: var(--cream); line-height: 1.7; flex: 1; }
.service-link { margin-top: 22px; font-weight: 500; color: var(--gold); }

.section-cream .services-grid { background: var(--cream); }
.section-cream .service-icon,
.section-cream .feature-icon,
.section-cream .problem-icon { color: var(--bg-2); }
.section-cream .service-card { background: var(--cream-light); border: 1px solid rgba(33, 88, 54, 0.5); }
.section-cream .service-card:hover { background: var(--cream-light); transform: translateY(-6px); box-shadow: 0 12px 30px rgba(10, 38, 32, 0.12); }
.section-cream .service-title { color: var(--dark-green); font-weight: 600; }
.section-cream .service-body { color: var(--bg-2); }
.section-cream .service-link { color: var(--bg-2); }
.section-cream .section-sub a { color: var(--dark-green); text-decoration: underline; }

/* Problem grid (3x2) + full-width CTA band (Our Approach "what's wrong with training") */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-item { padding: 26px; border-radius: 12px; border: 1px solid var(--border); }
.problem-icon { display: block; width: 46px; height: 46px; margin-bottom: 14px; color: var(--gold); }
.problem-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--cream); margin-bottom: 8px; line-height: 1.25; }
.problem-desc { font-size: 0.98rem; color: var(--cream); line-height: 1.55; }

.section-cream .problem-item { background: var(--cream-light); border-color: rgba(33, 88, 54, 0.5); }
.section-cream .problem-title { color: var(--dark-green); }
.section-cream .problem-desc { color: var(--bg-2); }

@media (max-width: 980px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   CASE STUDY PAGES — inverted (light) top + nav
   Differentiates case study pages from the dark-opening main pages. Add
   class="cs-page" to <body>. Text on the first two (cream) sections is set
   to dark green / bg-2 for WCAG AA contrast on cream.
   ════════════════════════════════════════════════════════════════════════ */

/* Nav → cream bar, dark text */
body.cs-page .nav-logo { color: var(--dark-green); }
body.cs-page .nav-links a { color: var(--bg-2); }
body.cs-page .nav-links a:hover,
body.cs-page .nav-links a.current { color: var(--dark-green); }
body.cs-page .nav-cta { color: var(--cream); background: var(--bg-2); }
body.cs-page .nav-cta:hover { background: var(--dark-green); }
body.cs-page .nav-toggle span { background: var(--dark-green); }
body.cs-page nav.scrolled { background: rgba(243, 243, 217, 0.92); border-bottom: 1px solid rgba(33, 88, 54, 0.12); }
body.cs-page nav.scrolled::before { background: none; }

/* Hero → transparent so the one continuous page glow (on body.cs-page) shows through */
body.cs-page .page-hero-bg {
  background: transparent;
}
body.cs-page .page-hero-texture { opacity: 0.025; }
body.cs-page .breadcrumb,
body.cs-page .breadcrumb a { color: var(--bg-2); }
body.cs-page .breadcrumb a:hover { color: var(--dark-green); }
body.cs-page .breadcrumb span { color: var(--dark-green); }
body.cs-page .eyebrow { color: var(--bg-2); }
body.cs-page .page-hero h1 { color: var(--dark-green); }
body.cs-page .page-hero h1 em { color: var(--bg-2); }
body.cs-page .page-hero .lede { color: var(--bg-2); }
body.cs-page .cs-meta-item .label { color: var(--bg-2); }
body.cs-page .cs-meta-item .value { color: var(--dark-green); }

/* ONE continuous off-white + lime glow for the whole light region of the page.
   The glow lives only here; every light section below is transparent so it flows
   unbroken from the hero, through the image and stats, down into the story — no bands.
   Dark mid-page sections are re-asserted explicitly. */
body.cs-page { background: var(--cream); }
/* One glow spanning the whole light run (hero → story), same mechanism as the
   homepage cream-bands, so it carries across sections with no seam. */
body.cs-page .cs-light { position: relative; background: var(--cream); }
body.cs-page .cs-light > * { position: relative; z-index: 1; }
body.cs-page .cs-light::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 62% at 90% 12%,
    rgba(204, 231, 96, 0.30) 0%,
    rgba(92, 164, 94, 0.12) 40%,
    transparent 74%);
}
body.cs-page #more-work { background: var(--bg); }
/* All the light sections stay transparent so the single page glow shows through */
body.cs-page #at-a-glance { background: transparent; padding-top: 44px; padding-bottom: 56px; }
body.cs-page #at-a-glance .section-label { color: var(--bg-2); margin-bottom: 18px; }
body.cs-page #story { padding-top: 56px; }
body.cs-page #story.section-cream,
body.cs-page .section-cream { background: transparent; }

body.cs-page .cs-feature {
  padding-top: 52px; padding-bottom: 20px;
  background: transparent;
}

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* Use-case list — "the range of learning we create" (multi-column, lime dots) */
.use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 36px; }
.use-case { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: var(--cream); line-height: 1.4; }
.use-case .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 9px; }
.section-cream .use-case { color: var(--bg-2); }
@media (max-width: 760px) { .use-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .use-cases { grid-template-columns: 1fr; } }

/* Feature grid — positive icon cards (e.g. "what we build"). Same look as
   the problem tiles, used on dark or cream sections. */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-item { padding: 26px; border-radius: 12px; border: 1px solid var(--border); }
.feature-icon { display: block; width: 50px; height: 50px; margin-bottom: 14px; color: var(--gold); }
.feature-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--cream); margin-bottom: 8px; line-height: 1.25; }
.feature-desc { font-size: 0.98rem; color: var(--cream); line-height: 1.55; }
.section-cream .feature-item { background: var(--cream-light); border-color: rgba(33, 88, 54, 0.5); }
.section-cream .feature-title { color: var(--dark-green); }
.section-cream .feature-desc { color: var(--bg-2); }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* FAQ accordion — matches the home page (rotating + icon, smooth expand, JS toggle) */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; padding: 28px 0;
  text-align: left; font-family: var(--sans); font-size: 1.15rem; font-weight: 300;
  color: var(--cream); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon { width: 26px; height: 26px; flex-shrink: 0; position: relative; transition: transform 0.3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); border-radius: 2px; }
.faq-icon::before { width: 26px; height: 4px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 4px; height: 26px; transform: translate(-50%, -50%); }
.faq-a { font-size: 1.1rem; color: var(--cream); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 28px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--gold); }

/* cream-section colours (interior FAQ sections sit on cream) */
.section-cream .faq-item { border-bottom-color: rgba(33, 88, 54, 0.18); }
.section-cream .faq-q { color: var(--dark-green); }
.section-cream .faq-q:hover,
.section-cream .faq-item.open .faq-q { color: var(--bg-2); }
.section-cream .faq-icon::before, .section-cream .faq-icon::after { background: var(--bg-2); }
.section-cream .faq-a { color: var(--bg-2); }

/* ── NAV DROPDOWN (What we do) ───────────────────────────────────────── */
.nav-links > li { position: relative; display: flex; align-items: center; height: 80px; }
.dropdown {
  position: absolute; top: 100%; left: -14px;
  min-width: 240px; list-style: none;
  background: rgba(23, 61, 38, 0.72);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(243, 243, 217, 0.12);
  border-radius: 12px; padding: 8px;
  box-shadow: 0 24px 48px rgba(10, 38, 32, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 8px;
  font-size: 0.92rem; text-transform: none; font-weight: 500;
  color: var(--cream); white-space: nowrap; text-decoration: none;
}
.dropdown a:hover, .dropdown a:focus { background: rgba(45, 90, 61, 0.55); color: var(--gold); }

/* case study inverted nav → cream dropdown */
body.cs-page .dropdown { background: rgba(243, 243, 217, 0.82); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-color: rgba(33,88,54,0.18); box-shadow: 0 24px 48px rgba(10,38,32,0.16); }
body.cs-page .dropdown a { color: var(--bg-2); }
body.cs-page .dropdown a:hover, body.cs-page .dropdown a:focus { background: var(--cream); color: var(--dark-green); }

@media (max-width: 1024px) {
  .nav-links > li { height: auto; display: block; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none;
    padding: 0 0 8px 16px; min-width: 0;
  }
  .dropdown a { color: var(--cream); padding: 12px 0; font-size: 1rem; border-bottom: none; }
}

/* Tile hover — same lift + shadow as the home page service cards */
.problem-item, .feature-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.problem-item:hover, .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(10, 38, 32, 0.22);
  border-color: rgba(204, 231, 96, 0.4);
}
.section-cream .problem-item:hover, .section-cream .feature-item:hover {
  box-shadow: 0 12px 30px rgba(10, 38, 32, 0.12);
  border-color: rgba(33, 88, 54, 0.5);
}

/* ── PRICING CARDS (engagement models) — ported from home #pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card {
  background: var(--bg); padding: 48px 40px;
  display: flex; flex-direction: column; gap: 0;
  border-radius: 12px;
  transition: background 0.3s, transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover { background: var(--bg-2); }
.pricing-card.featured { background: var(--bg-3); }
.pricing-badge { font-size: 1rem; font-weight: 500; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.pricing-name { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; color: var(--cream); margin-bottom: 10px; }
.pricing-period { font-size: 1rem; color: var(--cream); margin-bottom: 28px; }
.pricing-desc { font-size: 1rem; color: var(--cream); line-height: 1.7; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); flex-grow: 1; }
.pricing-includes { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.pricing-includes li { font-size: 1rem; color: var(--cream); display: flex; align-items: center; gap: 10px; }
.pricing-includes li::before { content: ''; width: 4px; height: 4px; background: var(--gold); flex-shrink: 0; }
.btn-pricing { display: block; text-align: center; font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--bg); background: var(--cream); padding: 14px; text-decoration: none; transition: background 0.2s; border-radius: 6px; }
.btn-pricing:hover { background: var(--gold-light); }
.btn-pricing.ghost { background: transparent; color: var(--cream); border: 1px solid var(--border-mid); }
.btn-pricing.ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

/* cream-section variant (matches the home #pricing look) */
.section-cream .pricing-card { background: var(--cream-light); border: 1px solid rgba(33, 88, 54, 0.5); }
.section-cream .pricing-card:hover { background: var(--cream-light); transform: translateY(-6px); box-shadow: 0 12px 30px rgba(10, 38, 32, 0.12); }
.section-cream .pricing-card.featured { background: var(--cream-light); transform: scale(1.04); }
.section-cream .pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.section-cream .pricing-badge { color: var(--cream); background: var(--bg-2); display: inline-block; padding: 6px 16px; border-radius: 50px; white-space: nowrap; width: fit-content; }
.section-cream .pricing-name { color: var(--dark-green); font-weight: 600; }
.section-cream .pricing-period { color: var(--bg-2); }
.section-cream .pricing-desc { color: var(--bg-2); border-bottom-color: rgba(23, 61, 38, 0.15); }
.section-cream .pricing-includes li { color: var(--bg-2); }
.section-cream .pricing-includes li::before { background: var(--bg-2); }
.section-cream .btn-pricing { background: var(--bg-2); color: var(--cream); }
.section-cream .btn-pricing:hover { background: var(--bg); }
.section-cream .btn-pricing.ghost { background: transparent; color: var(--bg-2); border-color: rgba(23, 61, 38, 0.2); }
.section-cream .btn-pricing.ghost:hover { background: rgba(23, 61, 38, 0.1); color: var(--dark-green); border-color: rgba(23, 61, 38, 0.3); }
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-card.featured, .section-cream .pricing-card.featured { transform: none; } }

/* ── BLOG / INSIGHTS post cards ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; padding: 32px; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(10, 38, 32, 0.22); border-color: rgba(204, 231, 96, 0.4); }
.post-tag { font-size: 0.85rem; font-weight: 500; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.post-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--cream); line-height: 1.3; margin-bottom: 12px; }
.post-excerpt { font-size: 1rem; color: var(--cream-muted); line-height: 1.6; flex: 1; }
.post-readmore { margin-top: 22px; font-weight: 500; color: var(--gold); font-size: 0.95rem; }
.section-cream .post-card { background: var(--cream-light); border-color: rgba(33, 88, 54, 0.5); }
.section-cream .post-card:hover { box-shadow: 0 12px 30px rgba(10, 38, 32, 0.12); border-color: rgba(33, 88, 54, 0.5); }
.section-cream .post-tag { color: var(--bg-2); }
.section-cream .post-title { color: var(--dark-green); }
.section-cream .post-excerpt { color: var(--bg-2); }
.section-cream .post-readmore { color: var(--bg-2); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* Our Work — tighten the gap between the dark hero and the filter chips */
body.page-cream #work-index { padding-top: 44px; padding-bottom: 28px; }

/* Insights filter chips (on cream sections) + post hide */
.section-cream .filter-chip { color: var(--dark-green); border-color: rgba(10, 38, 32, 0.22); }
.section-cream .filter-chip:hover { border-color: var(--dark-green); }
.section-cream .filter-chip.active { background: var(--bg); color: var(--cream); border-color: var(--bg); }
.post-card.is-hidden { display: none; }

/* ════ BLOG ARTICLE (long-form prose, on cream) ════ */
.article { max-width: 760px; }
.article-lead { font-size: 1.28rem; line-height: 1.7; color: var(--dark-green); margin-bottom: 36px; }
.article p { font-size: 1.12rem; line-height: 1.8; color: var(--bg-2); margin-bottom: 24px; }
.article h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--dark-green); line-height: 1.25; margin: 52px 0 18px; }
.article h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--dark-green); margin: 36px 0 14px; }
.article ul, .article ol { margin: 0 0 24px 0; padding-left: 22px; }
.article li { font-size: 1.12rem; line-height: 1.75; color: var(--bg-2); margin-bottom: 10px; }
.article a { color: var(--dark-green); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--bg-2); }
.article strong { color: var(--dark-green); font-weight: 600; }
.article blockquote { border-left: 3px solid var(--gold); padding-left: 24px; margin: 32px 0; font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--dark-green); line-height: 1.5; }
.article hr { border: none; border-top: 1px solid rgba(33, 88, 54, 0.2); margin: 44px 0; }
.post-hero-meta { position: relative; z-index: 2; color: var(--cream-muted); font-size: 0.95rem; margin-top: 18px; }
.post-hero-meta strong { color: var(--gold); font-weight: 500; }

/* Headings: balance lines to avoid orphan words, and keep the lime emphasis
   phrase together so it never splits across lines (drops to the next line as
   one unit on larger screens). */
.section-heading, .page-hero h1, .cta-strip-heading { text-wrap: balance; }
@media (min-width: 561px) {
  .section-heading em, .page-hero h1 em, .cta-strip-heading em { white-space: nowrap; }
}

/* ── CONTACT PAGE ── */
.contact-embed-wrap { margin-top: 8px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(33, 88, 54, 0.5); background: var(--cream-light); max-width: 820px; }
.contact-embed { width: 100%; height: 760px; border: 0; display: block; }
.contact-fallback { margin-top: 20px; font-size: 1rem; color: var(--bg-2); }
.contact-fallback a { color: var(--dark-green); text-decoration: underline; }
@media (max-width: 600px) { .contact-embed { height: 640px; } }

.booking-card {
  margin-top: 36px;
  max-width: 640px;
  background: var(--cream-light);
  border: 1px solid rgba(33, 88, 54, 0.5);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 12px 30px rgba(10, 38, 32, 0.08);
}
.booking-card p { margin: 0; font-size: 1.05rem; color: var(--bg-2); line-height: 1.7; }
.booking-card .btn-primary { margin: 0; }
@media (max-width: 600px) { .booking-card { padding: 28px; } }

/* ──────────────────────────────────────────
   CONTACT FORM (used on contact.html, beside booking)
   ────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 8px;
}
.contact-form-container { display: block; }
.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg-2);
  font-family: var(--sans);
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--dark-green);
  background: rgba(33, 88, 54, 0.05);
  border: 1px solid rgba(33, 88, 54, 0.15);
  padding: 12px 16px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--bg-2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-formspree {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--bg-2);
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
  margin-top: 4px;
}
.btn-formspree:hover { background: var(--bg-3); }
.btn-formspree:disabled { opacity: 0.6; cursor: not-allowed; }
.field-error { font-size: 0.9rem; color: var(--error); display: none; }
.field-error:not(:empty) { display: block; }
.form-success {
  color: var(--bg-2);
  font-size: 1.1rem;
  padding: 16px;
  background: rgba(33, 88, 54, 0.1);
  border-radius: 6px;
  display: none;
  margin-bottom: 20px;
}
.form-success.is-visible { display: block; }
.form-error {
  color: var(--error);
  font-size: 1rem;
  padding: 12px;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 6px;
  display: none;
  margin-bottom: 16px;
}
.form-error:not(:empty) { display: block; }
@media (max-width: 820px) {
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
}

/* ──────────────────────────────────────────
   BLOG — centred news-style column + "More articles"
   ────────────────────────────────────────── */
/* Centre only the reading column (body) so posts read like an article.
   The hero/title stays in its usual left-aligned position. */
.article { margin-left: auto; margin-right: auto; }

.more-articles { border-top: 1px solid rgba(33, 88, 54, 0.15); }
.more-articles-inner { max-width: 1040px; margin: 0 auto; }
.more-articles-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.jump-top {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.jump-top:hover { color: var(--dark-green); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream-light);
  border: 1px solid rgba(33, 88, 54, 0.18);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10, 38, 32, 0.10);
  border-color: var(--bg-2);
}
.related-card--next { border-color: var(--bg-2); background: #eef0d4; }
.related-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bg-2);
}
.cat-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bg-2);
  background: rgba(33, 88, 54, 0.10);
  padding: 4px 12px;
  border-radius: 999px;
}
.related-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-green);
  line-height: 1.3;
  margin: 0;
}
.related-meta { font-size: 0.9rem; color: var(--cream-dim); margin-top: auto; }
.more-articles-foot { margin-top: 36px; }
@media (max-width: 820px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Brand fix: on cream, ghost buttons use dark green (never lime), and the
   featured "next post" card uses a soft green tint rather than a one-off hex. */
.section-cream .btn-ghost { color: var(--bg-2); border-color: rgba(23, 61, 38, 0.25); }
.section-cream .btn-ghost:hover { background: var(--bg-2); color: var(--cream); border-color: var(--bg-2); }
.related-card--next { background: rgba(33, 88, 54, 0.06); }

/* Case study body reads as a centred column, like the blog posts */
.cs-article { margin-left: auto; margin-right: auto; }

/* Emphasis text must not be lime on cream (fails contrast + accent-only rule).
   On cream, heading emphasis uses mid green instead of lime. */
.section-cream .section-heading em,
body.page-cream .section-heading em,
body.page-cream section h2 em { color: var(--bg-2); }

/* Reveal-on-scroll is a pure fade (no upward float), so cream sections never
   slide over the dark page background and flash green. */
.reveal { transform: none; transition: opacity 0.7s ease; }
.reveal.visible { transform: none; }

/* Collapse the seam between two same-colour cream sections (no colour change
   to mark the boundary, so stacked padding looks like too large a gap). */
.cream-sec + .cream-sec { padding-top: 0; }

/* ──────────────────────────────────────────
   CREAM-LED SYSTEM ROLLOUT (interior pages)
   ────────────────────────────────────────── */
/* Collapse the seam between two adjacent cream sections (no colour change). */
.section-cream + .section-cream { padding-top: 0; }

/* Step components on cream */
.section-cream .step-num-large { color: var(--bg-2); }
.section-cream .steps-list { border-color: rgba(33, 88, 54, 0.2); }
.section-cream .step-item { border-bottom-color: rgba(33, 88, 54, 0.12); }

/* Soft lime glow on cream sections — same lime as the case-study hero.
   Alternating side classes are applied by globug.js. */
.cream-glow { position: relative; }
.cream-glow > * { position: relative; z-index: 1; }
.cream-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 68% at var(--glow-x, 85%) 22%,
    rgba(204, 231, 96, 0.30) 0%,
    rgba(92, 164, 94, 0.12) 40%,
    transparent 72%);
}
.cream-glow-left  { --glow-x: 12%; }
.cream-glow-right { --glow-x: 88%; }

/* Translucent tiles/cards so the glow shows through (text stays opaque). */
.section-cream .service-card,
.section-cream .feature-item,
.section-cream .problem-item,
.section-cream .pricing-card,
.section-cream .post-card,
.section-cream .use-case,
body.page-cream .work-card,
.more-articles .related-card { background: rgba(246, 245, 227, 0.5); }
.section-cream .service-card:hover,
.section-cream .feature-item:hover,
.section-cream .problem-item:hover,
.section-cream .pricing-card:hover,
.section-cream .post-card:hover,
body.page-cream .work-card:hover,
.more-articles .related-card:hover { background: rgba(246, 245, 227, 0.7); }
.section-cream .pricing-card.featured { background: rgba(246, 245, 227, 0.62); }

/* Cream bands (wrappers built by globug.js): one soft lime glow spans a whole
   run of consecutive cream sections, with the side alternating per band. */
.cream-band { position: relative; background: var(--cream); }
.cream-band > * { position: relative; z-index: 1; }
.cream-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 68% at var(--glow-x, 85%) 22%,
    rgba(204, 231, 96, 0.30) 0%,
    rgba(92, 164, 94, 0.12) 40%,
    transparent 72%);
}
.cream-band .section-cream { background: transparent; }

/* Hover states inside cream sections must stay light (never flip to dark green,
   which would put dark text on a dark background). Matches the card hovers. */
.section-cream .step-item:hover { background: rgba(33, 88, 54, 0.06); }

/* Translucent form fields so the cream/glow shows through (matches the cards). */
.form-group input,
.form-group textarea { background: rgba(255, 255, 255, 0.4); }

/* Frosted-glass form fields: low-opacity fill + blur so the cream/glow shows. */
.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(33, 88, 54, 0.22);
}

/* Nav: compact spacing in the band just above the hamburger breakpoint so the
   seven items never overflow before collapsing to the mobile menu. */
@media (min-width: 1025px) and (max-width: 1180px) {
  nav { padding: 0 32px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.9rem; }
}

/* Screen-reader-only utility (labels, skip link target text) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
