/* ============================================================
   Eko Engineering — global stylesheet
   Design tokens per Production Document Part 10.5
   ============================================================ */

:root {
  /* Brand colours */
  --teal: #0D4F4E;
  --teal-deep: #093A39;
  --teal-tint: #E8F0EF;
  --coral: #E76F51;
  --coral-dark: #D35B3E;
  --charcoal: #1F2A2A;
  --grey: #6B7280;
  --grey-light: #E5E7EB;
  --cream: #FAF8F3;
  --white: #FFFFFF;

  /* Type */
  --font-display: Satoshi, Satoshi, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --radius: 8px;
  --section-pad: clamp(3rem, 8vw, 7rem);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px desktop */
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 640px) { body { font-size: 1rem; } }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--charcoal);
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.125rem; }
p  { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

.wrap        { width: min(var(--wrap), 92%); margin-inline: auto; }
.wrap-narrow { width: min(var(--wrap-narrow), 92%); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 0.9rem;
}
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #3C4747; max-width: 46ch; }

.ph { white-space: nowrap; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--coral); color: #fff; padding: 0.6rem 1rem; z-index: 200;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Focus visibility (WCAG 2.2) */
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--teal);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-on-dark { background: var(--coral); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* Arrow links */
.arrow-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.arrow-link::after { content: " \2192"; transition: margin-left 0.18s ease; }
.arrow-link:hover::after { margin-left: 4px; }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--charcoal); color: #DDE4E3; font-size: 0.875rem; }
.utility-bar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.utility-bar a { color: #DDE4E3; text-decoration: none; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }
.utility-bar .util-cta { color: var(--coral); font-weight: 600; }
@media (max-width: 760px) { .utility-bar { display: none; } } /* per spec: hidden on mobile */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-light);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(31,42,42,0.08); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--charcoal); }
.logo:hover { color: var(--teal); }
.logo-mark { flex: 0 0 auto; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; line-height: 1; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.mobile-cta-li { display: none; } /* duplicate CTA — shown only in the mobile drawer */
.main-nav > ul > li > a, .nav-toggle-btn {
  display: inline-block; padding: 0.65rem 0.9rem;
  font-weight: 500; font-size: 1rem; color: var(--charcoal);
  text-decoration: none; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); border-radius: 6px; white-space: nowrap;
}
.main-nav > ul > li > a:hover, .nav-toggle-btn:hover { color: var(--teal); background: var(--teal-tint); }
.main-nav > ul > li > a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.header-cta { flex: 0 0 auto; }

/* Mega menu.
   The panel positions against .site-header (position: sticky = containing
   block), NOT the <li> — centring on the li clips the 880px panel off the
   right edge of laptop viewports. Hidden state uses visibility/opacity rather
   than display:none so the open transition can actually animate. */
.nav-toggle-btn::after {
  content: ""; display: inline-block; margin-left: 0.45em;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; padding: 2.5px;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.18s ease;
}
.has-mega.open .nav-toggle-btn { color: var(--teal); background: var(--teal-tint); }
.has-mega.open .nav-toggle-btn::after { transform: rotate(225deg) translateY(-2px); }
.mega {
  position: absolute; left: 50%; top: 100%;
  width: min(880px, 92vw);
  background: #fff; border: 1px solid var(--grey-light); border-radius: 0 0 12px 12px;
  border-top: none;
  box-shadow: 0 18px 50px rgba(31,42,42,0.14);
  padding: 1.8rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.6rem;
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* Invisible bridge: spans the full header width just beneath the nav so the
   cursor never crosses a dead zone travelling from the button to the panel.
   Only active while the menu is open, so it can't block other nav items. */
.has-mega.open .nav-toggle-btn::before {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 100vw; height: 26px; transform: translateX(-50%);
  background: transparent; z-index: 90;
}
.has-mega.open .mega {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .mega, .has-mega.open .mega { transition: none; transform: translateX(-50%); }
}
.mega h3 { font-size: 0.78rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.3rem; }
.mega h3 a { color: var(--teal); text-decoration: none; }
.mega h3 a:hover { text-decoration: underline; }
.mega ul { display: block; list-style: none; padding: 0; margin: 0; }
.mega li { margin: 0; }
.mega ul a { display: block; padding: 0.42rem 0.5rem; margin-left: -0.5rem; font-size: 0.9375rem; text-decoration: none; color: var(--charcoal); border-radius: 6px; }
.mega ul a:hover, .mega ul a:focus-visible { background: var(--cream); color: var(--teal); }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--grey-light); padding-top: 0.9rem; margin-top: 0.2rem; }
.mega .mega-all { font-weight: 600; color: var(--teal); text-decoration: none; font-size: 0.9375rem; }
.mega .mega-all:hover, .mega .mega-all:focus-visible { text-decoration: underline; }

/* Mobile nav */
.hamburger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
@media (max-width: 980px) {
  .hamburger { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--grey-light);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 24px 40px rgba(31,42,42,0.12);
  }
  body.nav-open .main-nav { display: block; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav > ul { display: block; padding: 0.8rem 4%; }
  .main-nav > ul > li { border-bottom: 1px solid var(--grey-light); }
  .main-nav > ul > li:last-child { border-bottom: none; }
  .main-nav > ul > li > a, .nav-toggle-btn { display: block; width: 100%; text-align: left; padding: 0.9rem 0.4rem; font-size: 1.05rem; }
  .mega {
    position: static; width: auto;
    border: none; box-shadow: none; border-radius: 0;
    padding: 0 0 1rem 0.8rem; grid-template-columns: 1fr; gap: 1rem;
    /* mobile uses simple show/hide — reset the desktop animation mechanics */
    transform: none; transition: none; pointer-events: auto;
    display: none; visibility: visible; opacity: 1;
  }
  .has-mega.open .mega { display: grid; transform: none; }
  .mega-foot { border-top: none; padding-top: 0; }
  .mobile-cta-li { display: block; padding: 1rem 0.4rem; }
}

/* ---------- Page heroes ---------- */
.hero-home {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal) 62%, #14605E);
  color: #fff;
  padding: clamp(4rem, 10vw, 8.5rem) 0 clamp(3.5rem, 9vw, 7.5rem);
}
/* Photo layer: a tiny blurred LQIP paints instantly, the real <picture> sits on top.
   The teal gradient above remains the fallback if the image fails to load. */
.hero-home .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABQODxIPDRQSEBIXFRQYHjIhHhwcHj0sLiQySUBMS0dARkVQWnNiUFVtVkVGZIhlbXd7gYKBTmCNl4x9lnN+gXz/2wBDARUXFx4aHjshITt8U0ZTfHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHz/wAARCAARACADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwCA30x+6zEVIk1y/O8j2pLLy+RkH2NXSBu6DFQ6s+5UaMBg809JaUpPjJkOKPL+f5cCpWyoHBJNT7R9TR0o9DGs/wDWitX+KiioY4jov9cKsP8A6w0UVKNHsf/Z");
  background-size: cover; background-position: 50% 38%;
}
.hero-home .hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  display: block;
}
/* Gradient overlay: dark teal at the left (white headline sits here) easing to
   a lighter — but still controlled — wash on the right (behind the form card).
   A second vertical gradient deepens the top so the sticky header reads, and the
   bottom so the hero meets the next section cleanly. */
.hero-home .hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(11,53,52,0.94) 0%,
      rgba(12,62,60,0.88) 32%,
      rgba(13,79,78,0.74) 56%,
      rgba(13,79,78,0.60) 100%),
    linear-gradient(180deg,
      rgba(11,53,52,0.55) 0%,
      rgba(13,79,78,0.05) 30%,
      rgba(13,79,78,0.0) 60%,
      rgba(11,53,52,0.45) 100%);
}
.hero-home .contours {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  object-fit: cover; opacity: 0.18; pointer-events: none;
}
.hero-home .wrap { position: relative; z-index: 3; }
.hero-home h1 { color: #fff; max-width: 17ch; }
.hero-home .lede { color: #EAF1F0; }
.hero-kicker { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #Bfe0dc; margin-bottom: 1.2rem; }
/* On narrow screens the form card stacks below the copy, so deepen the whole
   overlay for uniform legibility rather than favouring the left. */
@media (max-width: 1080px) {
  .hero-home .hero-overlay {
    background: linear-gradient(165deg, rgba(11,53,52,0.92), rgba(13,79,78,0.82));
  }
  .hero-home .hero-photo, .hero-home .hero-photo img { background-position: 50% 30%; object-position: 50% 30%; }
}

.page-hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--grey-light);
  padding: clamp(2.6rem, 6vw, 5rem) 0;
}
.page-hero .contours {
  position: absolute; right: -8%; top: -30%; width: 60%; min-width: 460px;
  opacity: 0.5; pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 22ch; }
.page-hero.hero-dark { background: var(--teal); border-bottom: none; }
.page-hero.hero-dark h1, .page-hero.hero-dark .breadcrumbs, .page-hero.hero-dark .breadcrumbs a { color: #fff; }
.page-hero.hero-dark .lede { color: #D8E4E2; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--grey); margin-bottom: 1.4rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--grey-light); }
.breadcrumbs a { color: var(--grey); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-cream { background: var(--cream); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--grey-light); padding: 1.6rem 0; background: #fff; }
.trust-strip .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3.2rem); }
.trust-strip p { margin: 0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.trust-logo {
  height: 34px; min-width: 110px; display: grid; place-items: center;
  border: 1px dashed var(--grey-light); border-radius: 6px;
  color: var(--grey); font-size: 0.75rem; padding: 0 0.9rem;
  filter: grayscale(1);
}

/* Pillars */
.proof-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.proof-point { padding: 1.8rem; border: 1px solid var(--stone,#e8e4de); border-radius: 6px; }
.proof-point strong { display: block; font-size: 1.05rem; margin-bottom: 0.7rem; }
.proof-point p { margin: 0; color: var(--ink-light, #555); line-height: 1.65; }
@media (max-width: 920px) { .proof-points { grid-template-columns: 1fr; } }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: #fff; border: 1px solid var(--grey-light); border-radius: 12px;
  padding: 2rem 1.8rem; display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pillar:hover { border-color: var(--teal); transform: translateY(-3px); }
.pillar .icon { color: var(--teal); margin-bottom: 1.1rem; }
.pillar h3 { margin-bottom: 0.4rem; }
.pillar .one-line { font-weight: 600; color: var(--teal); margin-bottom: 0.7rem; }
.pillar p:last-of-type { margin-bottom: 1rem; }
.pillar .arrow-link { margin-top: auto; }

/* Six commitments */
.commitments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: commit; }
@media (max-width: 920px) { .commitments { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .commitments { grid-template-columns: 1fr; } }
.commit-card {
  position: relative;
  background: #fff; border: 1px solid var(--grey-light); border-radius: 12px;
  padding: 1.7rem 1.6rem 1.5rem; overflow: hidden;
}
.commit-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: var(--coral); transition: width 0.3s ease;
}
.commit-card:hover::after, .commit-card:focus-within::after { width: 100%; }
.commit-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--teal); opacity: 0.28; line-height: 1; display: block; margin-bottom: 0.6rem;
}
.commit-card h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.commit-card p { margin: 0; color: #3C4747; font-size: 1rem; }

/* Founding line / marker highlight */
.founding-line {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem); line-height: 1.35; color: var(--teal);
  max-width: 30ch; margin: 0 0 1.4rem;
}
.founding-line .hl {
  background: linear-gradient(transparent 58%, rgba(231,111,81,0.32) 58%);
  font-style: italic;
}

/* Case study cards */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 920px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: #fff; border: 1px solid var(--grey-light); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.case-media { aspect-ratio: 16/9; background: var(--teal-tint); position: relative; display: grid; place-items: center; color: var(--teal); overflow: hidden; border-radius: 6px 6px 0 0; }
.case-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.case-card:hover .case-media img { transform: scale(1.04); }
.case-media svg { width: 60%; opacity: 0.55; }
.case-media .media-note { position: absolute; bottom: 8px; right: 10px; font-size: 0.68rem; color: var(--grey); }
.case-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-tint);
  border-radius: 99px; padding: 0.25rem 0.7rem; margin-bottom: 0.8rem; align-self: flex-start;
}
.tag-draft { color: var(--coral-dark); background: #FBE8E1; }
.case-body h3 { font-size: 1.15rem; }
.case-body .meta { font-size: 0.85rem; color: var(--grey); margin-bottom: 0.6rem; }
.case-body .arrow-link { margin-top: auto; }

/* Testimonial */
.testimonial { max-width: 800px; margin-inline: auto; text-align: center; }
.testimonial blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--teal);
}
.testimonial cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 0.9375rem; color: var(--grey); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.cta-band .contours { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; pointer-events: none; }
.cta-band .wrap { position: relative; max-width: 840px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D8E4E2; max-width: 56ch; margin-inline: auto; }

/* ---------- Two-column service layout with sticky aside ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
.split .content { max-width: var(--wrap-narrow); }
.aside-form {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: #fff; border: 1px solid var(--grey-light); border-radius: 12px;
  padding: 1.6rem; box-shadow: 0 6px 24px rgba(31,42,42,0.06);
}
.aside-form h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.aside-form .sub { font-size: 0.9375rem; color: var(--grey); margin-bottom: 1rem; }
@media (max-width: 980px) {
  .aside-form { position: static; }
  body.has-aside-form { padding-bottom: 64px; } /* room for mobile bottom bar */
}

/* Mobile bottom CTA bar (service pages) */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--teal); padding: 0.65rem 4%;
  box-shadow: 0 -6px 20px rgba(31,42,42,0.2);
}
.mobile-cta-bar a { display: block; }
@media (max-width: 980px) { .mobile-cta-bar { display: block; } }

/* Content blocks within service pages */
.content h2 { margin-top: 2.4rem; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.8rem; }
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 1.4rem 0; }
@media (max-width: 680px) { .check-cols { grid-template-columns: 1fr; } }
.check-cols .col { background: var(--cream); border-radius: 10px; padding: 1.3rem 1.4rem; }
.check-cols h4 { margin-bottom: 0.7rem; }
.check-cols ul { margin: 0; }

.feature-list { list-style: none; padding: 0; }
.feature-list > li { padding-left: 1.7rem; position: relative; margin-bottom: 0.9rem; }
.feature-list > li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.85em; height: 0.85em; border-radius: 50%;
  background: var(--teal-tint); box-shadow: inset 0 0 0 2px var(--teal);
}
.feature-list strong { color: var(--teal-deep); }

.note-box {
  background: var(--cream); border-left: 4px solid var(--coral);
  border-radius: 0 10px 10px 0; padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: 0.9375rem;
}
.note-box p:last-child { margin-bottom: 0; }

/* Numbered commitments (How we work) */
.numbered-block { border-top: 1px solid var(--grey-light); padding: 2.2rem 0; display: grid; grid-template-columns: 90px 1fr; gap: 1.4rem; }
@media (max-width: 640px) { .numbered-block { grid-template-columns: 1fr; gap: 0.4rem; } }
.numbered-block .num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--coral); line-height: 1; }
.numbered-block h2 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

/* ---------- Forms ---------- */
form .field { margin-bottom: 1.05rem; }
label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.35rem; }
label .opt { font-weight: 400; color: var(--grey); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--charcoal);
  padding: 0.7rem 0.85rem; border: 1.5px solid var(--grey-light); border-radius: var(--radius);
  background: #fff; transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(13,79,78,0.14); }
textarea { resize: vertical; min-height: 120px; }
.char-count { font-size: 0.8rem; color: var(--grey); text-align: right; margin-top: 0.25rem; }
.field-error { color: var(--coral-dark); font-size: 0.85rem; margin-top: 0.3rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral); }
.field.invalid .field-error { display: block; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; } /* honeypot */

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { background: var(--cream); border-radius: 12px; padding: 1.8rem; }
.contact-aside h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-aside p { margin-bottom: 1.1rem; }
.contact-aside hr { border: none; border-top: 1px solid var(--grey-light); margin: 1.2rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #C7D0CF; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1.4fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 4.5rem) 0; }
@media (max-width: 880px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #C7D0CF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.9375rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #8FA09E; }
.footer-brand p { font-size: 0.9375rem; margin-top: 1rem; max-width: 34ch; }
.footer-contact { margin-top: 1.2rem; font-size: 0.9375rem; }
.footer-contact div { margin-bottom: 0.4rem; }
.footer-services { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.footer-services .svc-group h5 { margin: 0 0 0.5rem; font-size: 0.9375rem; color: #fff; font-family: var(--font-body); }
.footer-services li { font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid #34403F; padding: 1.2rem 0; font-size: 0.82rem; color: #8FA09E; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: space-between; align-items: center; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #34403F; border-radius: 50%; }
.footer-social a:hover { border-color: var(--coral); color: var(--coral); text-decoration: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Stagger helper */
.stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Misc ---------- */
.draft-banner {
  background: #FBE8E1; border: 1px solid var(--coral); color: var(--coral-dark);
  border-radius: 10px; padding: 0.9rem 1.2rem; font-size: 0.9375rem; font-weight: 600; margin: 0 0 2rem;
}
.kv-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.9375rem; color: var(--grey); margin: 1rem 0 0; }
.kv-meta strong { color: var(--charcoal); }
.hero-photo-bg .kv-meta { color: rgba(255,255,255,0.80); }
.hero-photo-bg .kv-meta strong { color: #fff; }

.article-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 920px) { .article-card-grid { grid-template-columns: 1fr; } }

.subscribe-block { background: var(--cream); border-radius: 14px; padding: clamp(1.8rem, 4vw, 2.8rem); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .subscribe-block { grid-template-columns: 1fr; } }
.subscribe-block form { display: flex; gap: 0.7rem; }
.subscribe-block input { flex: 1; }
@media (max-width: 480px) { .subscribe-block form { flex-direction: column; } }

.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }

table.simple { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
table.simple th, table.simple td { border: 1px solid var(--grey-light); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
table.simple th { background: var(--cream); }

/* Where-we-work region chips */
.region-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; list-style: none; margin: 1rem 0 0; }
.region-chips li { margin: 0; background: var(--teal-tint); color: var(--teal-deep); border-radius: 99px; padding: 0.35rem 0.95rem; font-size: 0.9375rem; font-weight: 500; }

/* 404 */
.page-404 { text-align: center; padding: clamp(4rem, 12vw, 9rem) 0; }
.page-404 h1 { font-size: clamp(3rem, 8vw, 5rem); }
.page-404 ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ---- Article body & FAQ accordion (Insights) ---- */
.article-body > h2 { margin-top: 2.4rem; }
.article-body > p { max-width: 68ch; }
.article-body hr { border: none; border-top: 1px solid var(--light-grey); margin: 2.4rem 0; }
.article-body .note-box { margin: 1.6rem 0; }

.faq { border-top: 1px solid var(--light-grey); margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--light-grey); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-weight: 600; color: var(--charcoal); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--teal); font-weight: 400; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.faq-a { padding: 0 0 1.2rem; }
.faq-a p { margin: 0; max-width: 68ch; color: var(--grey); }

/* ---- Hero contact card: "Talk with Eko" (ENV-pattern, on every page) ----
   The card is the last child of the hero .wrap; the grid sends it to a
   right-hand column spanning all content rows, so hero copy stacks left. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-grid > *:not(.hero-form) { grid-column: 1; }
.hero-form { grid-column: 2; grid-row: 1 / span 30; }

.hero-form {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(31, 42, 42, 0.18);
  padding: 1.5rem 1.5rem 1.4rem;
  color: var(--charcoal);
  text-align: left;
}
.hero-form .hf-title {
  font-size: 1.45rem; margin: 0 0 0.3rem; color: var(--charcoal);
}
.hero-form .hf-sub {
  font-size: 0.82rem; color: var(--grey); margin: 0 0 1.1rem; line-height: 1.5;
}
.hf-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 0.8rem;
}
.hf-grid .hf-full { grid-column: 1 / -1; }
.hero-form .field { margin: 0; }
.hero-form label {
  display: block; font-size: 0.78rem; font-weight: 600;
  margin-bottom: 0.3rem; color: var(--charcoal);
}
.hero-form label .opt { font-weight: 400; color: var(--grey); }
.hero-form input, .hero-form select, .hero-form textarea {
  width: 100%; font-size: 0.9375rem; padding: 0.55rem 0.7rem;
}
.hero-form textarea { resize: vertical; min-height: 70px; }
.hero-form .char-count { font-size: 0.72rem; }
.hf-submit { width: 100%; margin-top: 0.9rem; }

/* Heroes keep readable copy width next to the card */
.hero-grid h1 { max-width: 18ch; }

/* Stack below hero copy on smaller screens */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .hero-form { grid-column: 1; grid-row: auto; max-width: 560px; }
  .hero-grid h1 { max-width: 22ch; }
}

/* Single-column long-form content (replaces the old .split sidebar layout) */
.content { max-width: var(--wrap-narrow); }
@media (max-width: 480px) {
  .hf-grid { grid-template-columns: 1fr; }
}

/* ---- "Find your starting point" audience router (home, v2) ---- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 880px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  background: var(--cream); border: 1px solid var(--grey-light); border-radius: 14px;
  padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column;
}
.audience-card h3 { font-size: 1.3rem; max-width: 24ch; }
.audience-card .aud-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); margin: 0.6rem 0 0.4rem;
}
.audience-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.audience-card li { padding: 0.45rem 0; border-bottom: 1px solid var(--grey-light); font-size: 0.9375rem; }
.audience-card li:last-child { border-bottom: none; }
.audience-card li a { text-decoration: none; color: var(--charcoal); }
.audience-card li a strong { color: var(--teal); }
.audience-card li a:hover strong { color: var(--coral-dark); }
.audience-card .arrow-link { margin-top: auto; }

/* ---- Brand wordmark (inline SVG, coloured via currentColor) ---- */
.logo .wordmark { height: 44px; width: auto; display: block; color: var(--coral); }
.site-header .logo:hover .wordmark { color: var(--coral-dark); }
.site-footer .logo .wordmark { color: #fff; height: 46px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Case study long-form sections (v3) ---- */
.cs-section { margin-top: 2.4rem; }
.cs-section h2 { margin-bottom: 0.8rem; }
.case-body .pull { /* the italic emphasis lines inside case studies */
  font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35;
  color: var(--teal); border-left: 3px solid var(--coral);
  padding: 0.2rem 0 0.2rem 1.2rem; margin: 1.8rem 0; max-width: 40ch;
}
.case-body ul.cs-approach { list-style: none; padding: 0; margin: 0; }
.case-body ul.cs-approach > li {
  position: relative; padding: 0 0 1rem 1.6rem; margin: 0;
}
.case-body ul.cs-approach > li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
/* "What it means to you" — the conversion block, deliberately different voice */
.wim {
  margin-top: 3rem; padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--cream); border-radius: 16px; border: 1px solid var(--grey-light);
}
.wim .wim-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 0.6rem;
}
.wim h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 26ch; }
.wim .wim-ps {
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--grey-light);
  font-size: 0.9375rem; color: var(--charcoal);
}
.wim .lead-magnet {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 1.2rem 0 0.4rem;
}
/* Collapsible sources + review flags (kept tidy at the foot of the page) */
.cs-extra { margin-top: 2.6rem; border-top: 1px solid var(--grey-light); padding-top: 1.4rem; }
.cs-extra summary {
  cursor: pointer; font-weight: 600; color: var(--charcoal); padding: 0.5rem 0;
  font-size: 0.9375rem; list-style: none;
}
.cs-extra summary::-webkit-details-marker { display: none; }
.cs-extra summary::before { content: "▸ "; color: var(--teal); }
.cs-extra[open] summary::before { content: "▾ "; }
.cs-extra .cs-extra-body { font-size: 0.86rem; color: var(--grey); line-height: 1.6; }
.cs-extra .cs-extra-body a { word-break: break-word; }
.cs-flags { background: #FFF6F2; border: 1px solid #F4D5C8; border-radius: 10px; padding: 1rem 1.2rem; margin-top: 0.8rem; }
.cs-flags .flag { font-size: 0.84rem; padding: 0.35rem 0; border-bottom: 1px dashed #F0C9BA; }
.cs-flags .flag:last-child { border-bottom: none; }
.cs-flags .flag::before { content: "⚑ "; color: var(--coral); }

/* ---- Service & category page: content + sticky sidebar ----
   Fills the previously-empty right third with wayfinding (sibling services),
   a contact card, and a relevant free resource. Sidebar is sticky so it stays
   useful as the reader scrolls the long-form content. */
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.svc-layout .content { max-width: var(--wrap-narrow); }

.svc-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.svc-side .side-card {
  border: 1px solid var(--grey-light); border-radius: 12px; padding: 1.3rem 1.4rem;
  background: #fff;
}
.svc-side .side-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); margin: 0 0 0.7rem;
}
.side-cta { background: var(--cream); border-color: var(--grey-light); padding: 2rem 1.8rem 1.8rem; }
.side-cta h3 { font-size: 1.2rem; margin: 0 0 0.75rem; }
.side-cta p { font-size: 0.9375rem; color: var(--charcoal); margin: 0 0 1.4rem; line-height: 1.6; }
.btn-block { display: block; width: 100%; text-align: center; }
.side-call {
  display: block; text-align: center; margin-top: 0.7rem; font-size: 0.86rem;
  font-weight: 600; color: var(--teal); text-decoration: none;
}
.side-call:hover { color: var(--coral-dark); }

.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav li { font-size: 0.9375rem; border-bottom: 1px solid var(--grey-light); }
.side-nav li:last-child { border-bottom: none; }
.side-nav li a { display: block; padding: 0.55rem 0; color: var(--charcoal); text-decoration: none; }
.side-nav li a:hover { color: var(--teal); }
.side-nav li.is-active {
  padding: 0.55rem 0 0.55rem 0.7rem; font-weight: 600; color: var(--teal);
  border-left: 3px solid var(--coral); margin-left: -0.7rem;
}

.side-resource h4 { font-size: 1rem; margin: 0 0 0.4rem; }
.side-resource p { font-size: 0.86rem; color: var(--grey); line-height: 1.5; margin: 0 0 0.8rem; }
.side-resource-link { font-size: 0.9375rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.side-resource-link:hover { color: var(--coral-dark); }

/* Collapse to single column on tablet/mobile — sidebar drops below content,
   keeping the cross-links and resource available without crowding. */
@media (max-width: 980px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-layout .content { max-width: none; }
  .svc-side { position: static; grid-template-columns: 1fr 1fr; margin-top: 1rem; }
  .svc-side .side-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .svc-side { grid-template-columns: 1fr; }
}

/* ---- Case study page: content + sticky sidebar (mirrors service pages) ---- */
.cs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.cs-layout .content { max-width: var(--wrap-narrow); }
.cs-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }

/* Project-at-a-glance facts */
.cf-list { margin: 0; }
.cf-row { display: grid; grid-template-columns: 1fr; padding: 0.5rem 0; border-bottom: 1px solid var(--grey-light); }
.cf-row:last-child { border-bottom: none; }
.cf-row dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); margin: 0; }
.cf-row dd { margin: 0.15rem 0 0; font-size: 0.9375rem; color: var(--charcoal); }
.cf-card .ph { font-style: normal; }

/* Services used */
.cf-svc { list-style: none; padding: 0; margin: 0; }
.cf-svc li { font-size: 0.9375rem; border-bottom: 1px solid var(--grey-light); }
.cf-svc li:last-child { border-bottom: none; }
.cf-svc li a { display: block; padding: 0.5rem 0; color: var(--charcoal); text-decoration: none; }
.cf-svc li a:hover { color: var(--teal); }

/* Related case studies */
.cf-related { list-style: none; padding: 0; margin: 0; }
.cf-related li { border-bottom: 1px solid var(--grey-light); }
.cf-related li:last-child { border-bottom: none; }
.cf-related li a { display: block; padding: 0.6rem 0; text-decoration: none; color: var(--charcoal); font-size: 0.9375rem; line-height: 1.4; }
.cf-related li a:hover { color: var(--teal); }
.cf-related .rel-tag { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 0.2rem; }

@media (max-width: 980px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-layout .content { max-width: none; }
  .cs-side { position: static; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
  .cs-side .side-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cs-side { grid-template-columns: 1fr; }
}

/* ---- Photo-background hero for individual service pages ---- */
.hero-photo-bg {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  color: #fff;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
}
.hero-photo-bg .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: 50% 35%;
}
.hero-photo-bg .hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block;
}
.hero-photo-bg .hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(11,53,52,0.95) 0%,
      rgba(12,62,60,0.90) 34%,
      rgba(13,79,78,0.82) 57%,
      rgba(13,79,78,0.75) 100%),
    linear-gradient(180deg,
      rgba(11,53,52,0.55) 0%,
      rgba(13,79,78,0.10) 38%,
      rgba(11,53,52,0.55) 100%);
}
.hero-photo-bg .contours {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  object-fit: cover; opacity: 0.15; pointer-events: none;
}
.hero-photo-bg .wrap { position: relative; z-index: 3; }
.hero-photo-bg h1, .hero-photo-bg .lede { color: #fff; }
.hero-photo-bg .lede { color: #EAF1F0; }
.hero-photo-bg .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-photo-bg .btn-ghost:hover { background: #fff; color: var(--teal); }
.hero-photo-bg .breadcrumbs { color: rgba(255,255,255,0.75); }
.hero-photo-bg .breadcrumbs a { color: rgba(255,255,255,0.80); }
.hero-photo-bg .breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.hero-photo-bg .breadcrumbs li + li::before { color: rgba(255,255,255,0.45); }
@media (max-width: 1080px) {
  .hero-photo-bg .hero-overlay {
    background: linear-gradient(165deg, rgba(11,53,52,0.90), rgba(13,79,78,0.80));
  }
}

/* ── Article (Insights) page: content + sticky sidebar ────────────────────── */
.art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.art-layout .content { max-width: 68ch; }
.art-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }

/* Table of contents */
.side-toc ol.toc-list {
  list-style: none; counter-reset: toc; padding: 0; margin: 0;
}
.side-toc ol.toc-list li { counter-increment: toc; }
.side-toc ol.toc-list li a {
  display: flex; gap: 0.55rem; align-items: baseline;
  padding: 0.4rem 0; font-size: 0.88rem; color: var(--charcoal);
  text-decoration: none; border-bottom: 1px solid var(--grey-light); line-height: 1.4;
}
.side-toc ol.toc-list li:last-child a { border-bottom: none; }
.side-toc ol.toc-list li a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto; font-size: 0.72rem; font-weight: 700;
  color: var(--coral-dark); letter-spacing: 0.03em;
}
.side-toc ol.toc-list li a:hover { color: var(--teal); }

@media (max-width: 980px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-layout .content { max-width: none; }
  .art-side { position: static; grid-template-columns: 1fr 1fr; margin-top: 2rem; }
  .art-side .side-cta { grid-column: 1 / -1; }
  .art-side .side-toc { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .art-side { grid-template-columns: 1fr; }
}

/* ── Founder profile (About page) ─────────────────────────────────────────── */
.founder-profile {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--cream, #f8f6f2);
  border-radius: 10px;
  border: 1px solid var(--stone, #e8e4de);
}
.founder-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.founder-info { min-width: 0; }
.founder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.2rem;
  line-height: 1.2;
}
.founder-title {
  font-size: 0.9375rem;
  color: var(--coral-dark, #c0392b);
  font-weight: 500;
  margin: 0 0 0.45rem;
}
.founder-credentials {
  font-size: 0.88rem;
  color: var(--grey, #6b7280);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .founder-profile { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .founder-photo { width: 80px; height: 80px; }
}

/* ── Article author byline (insight pages) ────────────────────────────────── */
.author-byline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.5);
}
.author-byline .meta {
  margin: 0;
  line-height: 1.4;
}

/* ── Hero form: avatar + heading row ─────────────────────────────────────── */
.hf-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.hf-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
}
.hf-header .hf-title { margin: 0; }
