/* =================================================================
   Leaping Media — index styles
   Fonts: Fraunces (display), Instrument Sans (body), JetBrains Mono (labels)
   ================================================================= */

:root {
  /* Brand system — teal / mint
     Primary #2ED9BD · Light #C8FAF3 · Secondary #7FF0DF · Dark #0A4A42 */
  --ink: #0a4a42;          /* Dark Brand — body text, dark surfaces, sections, footer */
  --blue: #0e8e76;         /* accent (display text) — vibrant, readable teal */
  --brand: #2ed9bd;        /* Primary — bright fills & accents on dark */
  --brand-soft: #7ff0df;   /* Secondary tint */
  --brand-light: #c8faf3;  /* Light tint */
  --teal: #2ed9bd;         /* bright teal (used on dark backgrounds) */
  --mint: #7ff0df;         /* soft mint — glows, menu hover, bf-mint */
  --slate: #3b5751;        /* muted teal-gray — secondary text */
  --cream: #e8fbf6;        /* light mint — icon chips */
  --cream-card: #f2fcfa;   /* lighter mint — card surfaces */
  --navy: #0a4a42;         /* deep teal — media/photo backings */
  --white: #ffffff;
  --line: rgba(10, 74, 66, 0.16);
  --line-soft: rgba(10, 74, 66, 0.10);
  --line-light: rgba(255, 255, 255, 0.15);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Container */
  --maxw: 1440px;
  --gutter: clamp(20px, 5vw, 60px);
  --header-h: 92px;

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Rhythm tokens */
  --section-y: clamp(80px, 10vw, 160px);
  --head-gap: clamp(40px, 5vw, 64px);
  --card-pad: clamp(28px, 3vw, 40px);
  --grid-gap: clamp(24px, 2.2vw, 32px);

  /* Radii */
  --radius-card: 8px;
  --radius-tile: 6px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Fluid display sizes */
  --h-hero: clamp(56px, 11vw, 152px);
  --h-cta: clamp(46px, 9.6vw, 144px);
  --h-intention: clamp(40px, 6.8vw, 96px);
  --h-section: clamp(34px, 5.1vw, 72px);
  --h-stat: clamp(44px, 5vw, 72px);
}

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

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

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

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  line-height: 1;
}

em { font-style: italic; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.ital-blue { font-style: italic; color: var(--blue); }
.ital-teal { font-style: italic; color: var(--teal); }
.ital { font-style: italic; }

.section-title {
  font-size: var(--h-section);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Icons */
.ico-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; }
svg { display: block; }

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); padding-left: 28px; font-size: 16px; }

.btn-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  flex: none;
  transition: transform 0.18s ease;
}
.btn-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-icon--light { background: #fff; color: var(--ink); }
.btn-icon--dark { background: var(--ink); color: #fff; }
.btn-pill:hover .btn-icon { transform: translateX(2px); }

.link-underline {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-underline--light { color: #fff; }
.link-underline:hover { opacity: 0.7; }

.link-inline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.link-inline svg { width: 16px; height: 16px; }
.link-inline:hover { opacity: 0.7; }

/* Section heading row (used across sections) */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-12);
  margin-bottom: var(--head-gap);
}
.section-head-text { max-width: 672px; }
.section-head .eyebrow { margin-bottom: var(--space-4); }
.section-head-aside {
  max-width: 384px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--slate);
}

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 15px;
  color: var(--slate);
  transition: color 0.25s ease;
}
.main-nav a:hover { color: var(--blue); }

.header-cta { padding-left: 20px; gap: 8px; }
.header-cta .btn-icon { width: 28px; height: 28px; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle:hover span:nth-child(1) { transform: translateX(2px); }
.nav-toggle:hover span:nth-child(3) { transform: translateX(-2px); }

/* ---------- Mobile overlay menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 0 0 clamp(28px, 5vw, 48px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0.45s;
  overflow-y: auto;
}
.menu::before {
  content: "";
  position: absolute;
  top: -140px; right: -110px;
  width: 420px; height: 420px;
  background: var(--brand);
  opacity: 0.22;
  filter: blur(90px);
  pointer-events: none;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }

.menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  position: relative;
  z-index: 1;
}
.menu-logo { width: 120px; height: auto; }
.menu-close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: #fff;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.4s var(--ease-out);
}
.menu-close svg { width: 26px; height: 26px; }
.menu-close:hover { background: rgba(255, 255, 255, 0.08); transform: rotate(90deg); }

.menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2px, 1vw, 10px);
  position: relative;
  z-index: 1;
}
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s ease;
}
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu.is-open .menu-links a:nth-child(1) { transition-delay: 0.10s; }
.menu.is-open .menu-links a:nth-child(2) { transition-delay: 0.16s; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: 0.22s; }
.menu.is-open .menu-links a:nth-child(4) { transition-delay: 0.28s; }
.menu.is-open .menu-links a:nth-child(5) { transition-delay: 0.34s; }
.menu-links a:hover { color: var(--mint); }
.menu-index { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.4); transform: translateY(-0.4em); }
.menu-word { display: inline-block; transition: transform 0.25s var(--ease-out); }
.menu-links a:hover .menu-word { transform: translateX(10px); font-style: italic; }

.menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-light);
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease 0.42s;
}
.menu.is-open .menu-foot { opacity: 1; }
.menu-cta { flex: none; }
.menu-email { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.menu-email:hover { color: #fff; }

body.menu-open { overflow: hidden; }

/* Active nav link (multi-page) */
.main-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* ---------- Blank / placeholder pages ---------- */
.page-blank { padding: var(--section-y) 0; min-height: 62vh; }
.page-blank .page-title {
  font-family: var(--serif);
  font-size: var(--h-section);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: var(--space-4);
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =================================================================
   HERO
   ================================================================= */
.hero { padding-top: clamp(48px, 6vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 531px;
  gap: var(--space-8);
  align-items: start;
}
.hero-copy { padding-left: 0; padding-top: 0; }
.hero-title {
  font-size: var(--h-hero);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-title .line { display: block; }
.hero-lead {
  margin-top: 34px;
  max-width: 448px;
  font-size: 18px;
  line-height: 1.625;
  color: var(--slate);
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-visual { padding-top: var(--space-2); display: flex; flex-direction: column; gap: var(--space-4); }
.hero-photo {
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
  height: 345px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { border-radius: 6px; padding: 20px; height: 122px; }
.stat-card--blue { background: var(--brand); color: var(--ink); position: relative; }
.stat-card--dark { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.stat-card-icon { color: var(--ink); display: block; }
.stat-card-icon svg { width: 22px; height: 22px; }
.stat-card-value { font-family: var(--serif); font-size: 36px; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat-card-value.sm { font-size: 30px; }
.stat-card-label { font-size: 12px; line-height: 1.33; opacity: 0.9; margin-top: 8px; }
.stat-card-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

/* Marquee */
.marquee {
  margin-top: clamp(48px, 6vw, 80px);
  background: rgba(200, 250, 243, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 21px 24px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-word { font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.m-star { font-family: var(--serif); font-size: 36px; color: var(--blue); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =================================================================
   CLIENT STRIP
   ================================================================= */
.clients { padding: var(--section-y) 0; }
.clients-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-10);
  margin-bottom: var(--head-gap);
}
.clients-head .eyebrow { margin-bottom: var(--space-4); }
.clients-title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 1040px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.client-cell {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 12px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  border-right: 1px solid var(--line);
}
.client-cell:last-child { border-right: 0; }

/* =================================================================
   INTENTION (dark)
   ================================================================= */
.intention {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: var(--section-y) 0;
}
.intention .wrap { position: relative; z-index: 2; }
.glow { position: absolute; border-radius: 50%; z-index: 1; }
.glow--blue { width: 520px; height: 520px; top: -160px; right: -60px; background: var(--brand); opacity: 0.32; filter: blur(120px); }
.glow--mint { width: 460px; height: 460px; bottom: -120px; left: -160px; background: var(--mint); opacity: 0.25; filter: blur(140px); }
.intention-title {
  font-size: var(--h-intention);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 920px;
  margin: var(--space-6) 0 0;
}
.intention-cols {
  display: grid;
  grid-template-columns: minmax(0, 672px) 1fr;
  gap: clamp(48px, 8vw, 120px);
  margin-top: clamp(56px, 8vw, 112px);
}
.intention-lead { font-size: 20px; line-height: 1.625; opacity: 0.8; }
.promises {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border-left: 1px solid var(--line-light);
  padding-left: var(--space-10);
}
.promises li { display: flex; gap: var(--space-4); }
.promise-plus { color: var(--brand); flex: none; margin-top: 4px; }
.promise-plus svg { width: 18px; height: 18px; }
.promises h3 { font-size: 20px; line-height: 1.4; color: #fff; margin-bottom: 4px; }
.promises p { font-size: 15px; line-height: 1.5; opacity: 0.7; max-width: 452px; }

/* =================================================================
   SERVICES
   ================================================================= */
.services { padding: var(--section-y) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.service-card {
  background: var(--cream-card);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  min-height: 442px;
}
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--slate); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--ink);
}
.service-icon svg { width: 20px; height: 20px; }
.service-title { font-size: 36px; line-height: 0.95; letter-spacing: -0.02em; margin-top: var(--space-10); }
.service-desc { margin-top: var(--space-4); font-size: 15px; line-height: 1.625; color: var(--slate); }
.service-tags {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.service-tags i { color: var(--blue); font-style: normal; margin-left: 4px; }

/* =================================================================
   SERVICE CARDS — image variant (services page · homepage · related)
   ================================================================= */
/* turn the hairline grid into a gapped grid of rounded media cards;
   columns are inherited from the base .services-grid responsive rules */
.services-grid--media {
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  gap: var(--grid-gap);
}
.service-card--media {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s ease;
}
.service-card--media:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -42px rgba(10, 74, 66, 0.42);
  border-color: var(--line);
}
.svc-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.service-card--media:hover .svc-media img { transform: scale(1.06); }
.svc-media::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 47, 41, 0.30) 0%, rgba(6, 47, 41, 0) 34%, rgba(6, 47, 41, 0) 62%, rgba(6, 47, 41, 0.46) 100%);
}
.svc-media-num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: #fff;
  background: rgba(10, 74, 66, 0.46);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 11px; border-radius: 999px;
}
.svc-media-go {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--brand); color: var(--ink);
  opacity: 0; transform: translateY(-8px) scale(0.82);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
}
.svc-media-go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card--media:hover .svc-media-go { opacity: 1; transform: none; }
.svc-media-body {
  flex: 1;
  display: flex; flex-direction: column;
  gap: var(--space-3);
  padding: clamp(22px, 2.2vw, 30px);
}
.svc-media-body .service-title {
  margin-top: 0;
  font-size: clamp(23px, 1.9vw, 29px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.service-card--media:hover .service-title { color: var(--blue); }
.svc-media-body .service-desc { margin-top: 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.svc-media-link {
  margin-top: auto;
  padding-top: var(--space-4);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
}
.svc-media-link svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.service-card--media:hover .svc-media-link { color: var(--blue); }
.service-card--media:hover .svc-media-link svg { transform: translateX(4px); }
/* dark "not sure where to start" tile shares the gapped grid (services page) */
.services-grid--media .service-card--cta { border-radius: var(--radius-card); }
@media (prefers-reduced-motion: reduce) {
  .service-card--media, .svc-media img, .svc-media-go, .svc-media-link svg { transition: none; }
  .service-card--media:hover { transform: none; box-shadow: none; }
  .service-card--media:hover .svc-media img { transform: none; }
  .svc-media-go { opacity: 1; transform: none; }
}

/* =================================================================
   PROCESS
   ================================================================= */
.process { background: #e4f9f3; padding: var(--section-y) 0; }
.process-head { display: block; margin-bottom: var(--head-gap); }
.process-head .eyebrow { margin-bottom: var(--space-4); }
.process-head .section-title { max-width: 768px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.process-step {
  padding: var(--card-pad);
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: 0; }
.process-meta { display: flex; align-items: center; gap: var(--space-3); }
.process-week { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.process-rule { flex: 1; height: 1px; background: var(--line); }
.process-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--slate); }
.process-word { font-size: 48px; line-height: 1; letter-spacing: -0.02em; margin-top: var(--space-10); }
.process-desc { margin-top: var(--space-6); font-size: 15px; line-height: 1.625; color: var(--slate); }

/* =================================================================
   BUILT FOR
   ================================================================= */
.builtfor { padding: var(--section-y) 0; }
.builtfor-grid {
  display: grid;
  grid-template-columns: 620px 620px;
  justify-content: space-between;
  gap: var(--space-16);
  align-items: start;
}
.builtfor-collage { position: relative; width: 620px; height: 620px; }
.builtfor-collage > * { border-radius: 6px; overflow: hidden; }
.bf-photo img { width: 100%; height: 100%; object-fit: cover; }
.bf-photo--lg { position: absolute; left: 0; top: 0; width: 409px; height: 409px; background: var(--navy); }
.bf-quote {
  position: absolute; left: 421px; top: 0; width: 199px; height: 304px;
  background: var(--brand); color: var(--ink);
  padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bf-quote-icon svg { width: 22px; height: 22px; }
.bf-quote p { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.25; }
.bf-photo--tall { position: absolute; left: 421px; top: 316px; width: 199px; height: 304px; }
.bf-years {
  position: absolute; left: 0; top: 421px; width: 304px; height: 199px;
  background: var(--ink); color: #fff;
  padding: 20px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.bf-years-num { font-family: var(--serif); font-size: 30px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.bf-years-label { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; text-align: right; opacity: 0.7; }
.bf-mint {
  position: absolute; left: 316px; top: 421px; width: 93px; height: 199px;
  background: var(--mint); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.bf-mint-icon svg { width: 26px; height: 26px; }

.builtfor-text .eyebrow { margin-bottom: var(--space-4); }
.builtfor-text .section-title { max-width: 620px; }
.builtfor-lead { margin-top: var(--space-8); max-width: 576px; font-size: 18px; line-height: 1.625; color: var(--slate); }
.builtfor-lead em { font-style: italic; }
.audience-grid {
  margin-top: var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-6);
}
.audience {
  padding: 21px 0 24px;
  border-top: 1px solid var(--line);
}
.audience h3 { font-size: 24px; line-height: 1.33; color: var(--ink); }
.audience p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--slate); }

/* =================================================================
   STATS (dark)
   ================================================================= */
.stats { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: var(--section-y) 0; }
.stats-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; }
.stats-glow--mint { top: -60px; left: 120px; width: 420px; height: 220px; background: rgba(127, 240, 223, 0.26); }
.stats-glow--blue { bottom: -80px; right: 80px; width: 520px; height: 260px; background: rgba(46, 217, 189, 0.40); }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-10); }
.stat-num { font-family: var(--serif); font-size: var(--h-stat); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-text { margin-top: var(--space-4); max-width: 187px; font-size: 14px; line-height: 1.62; opacity: 0.8; }

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonials { padding: var(--section-y) 0; }
.rating { text-align: right; }
.rating-stars { display: inline-flex; gap: 0; color: var(--ink); }
.rating-stars svg { width: 16px; height: 16px; }
.rating-text { display: block; margin-top: 6px; font-size: 14px; color: var(--slate); }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.testi {
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 364px;
}
.testi-icon { color: var(--blue); }
.testi-icon svg { width: 28px; height: 28px; }
.testi-quote {
  flex: 1;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.testi-foot {
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.testi-person { display: flex; flex-direction: column; }
.testi-name { font-weight: 500; font-size: 16px; color: var(--ink); }
.testi-role { font-size: 13px; color: var(--slate); }
.testi-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); text-align: right; }

.testi--dark { background: var(--ink); border-color: var(--ink); }
.testi--dark .testi-icon { color: rgba(255, 255, 255, 0.3); }
.testi--dark .testi-quote { color: #fff; }
.testi--dark .testi-foot { border-top-color: var(--line-light); }
.testi--dark .testi-name { color: #fff; }
.testi--dark .testi-role { color: rgba(255, 255, 255, 0.7); }
.testi--dark .testi-tag { color: rgba(255, 255, 255, 0.6); }

/* =================================================================
   CTA (deep teal)
   ================================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 130% at 50% -15%, #0d6357 0%, #0a4a42 52%, #073931 100%);
  color: #fff;
  padding: var(--section-y) 0;
  text-align: center;
}
.cta .cta-eyebrow { color: var(--brand); }
.cta .link-underline--light { color: rgba(255, 255, 255, 0.85); }
/* Bright teal glow behind the headline — brand pop + depth */
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: -24%;
  width: min(900px, 94%); height: 540px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46, 217, 189, 0.5) 0%, rgba(46, 217, 189, 0) 70%);
  filter: blur(24px);
  pointer-events: none;
}
/* Soft secondary-mint glow, lower-left */
.cta::after {
  content: "";
  position: absolute;
  left: -6%; bottom: -32%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(127, 240, 223, 0.16) 0%, rgba(127, 240, 223, 0) 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta-eyebrow { margin-bottom: var(--space-10); }
.cta-title {
  font-size: var(--h-cta);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 1263px;
}
.cta-title em { font-style: italic; color: #fff; }
.cta-lead { margin-top: var(--space-8); max-width: 576px; font-size: 18px; line-height: 1.625; opacity: 0.88; }
.cta-actions { margin-top: var(--space-12); display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; justify-content: center; }
.cta .btn-icon { width: 40px; height: 40px; }
.cta .btn-icon svg { width: 18px; height: 18px; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink); color: #fff; padding: var(--space-20) 0 var(--space-10); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 0.5fr));
  gap: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-light);
}
.footer-logo { width: 112px; height: auto; }
.footer-brand p { margin-top: var(--space-6); max-width: 384px; font-size: 16px; line-height: 1.625; color: rgba(255, 255, 255, 0.7); }
.footer-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a { font-size: 14px; color: #fff; opacity: 0.92; transition: opacity 0.18s ease; }
.footer-col a:hover { opacity: 0.6; }
.footer-bottom {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer-copy, .footer-legal a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.85); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 460px; }
  .intention-cols { grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 220px; }
  .builtfor-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .builtfor-collage { width: 100%; max-width: 560px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding-left: 0; }
  .hero-visual { max-width: 560px; }
  .hero-lead, .hero-actions { max-width: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 48px; }
  .rating { text-align: left; }
  .rating-stars { color: var(--ink); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--line); }

  .intention-cols { grid-template-columns: 1fr; gap: var(--space-12); margin-top: var(--space-12); }
  .promises { border-left: 0; padding-left: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }

  .builtfor-grid { grid-template-columns: 1fr; gap: 56px; justify-content: start; }
  .builtfor-collage { margin: 0 auto; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: var(--space-8); }
  .hero-actions { gap: var(--space-4); }
  .m-word, .m-star { font-size: 28px; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-cell { border-bottom: 1px solid var(--line); }
  .client-cell:nth-child(2n) { border-right: 0; }
  .client-cell:nth-last-child(-n+2) { border-bottom: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }

  /* Collage -> simple stacked grid */
  .builtfor-collage { position: static; width: 100%; max-width: none; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .builtfor-collage > * { position: static !important; width: auto !important; height: auto !important; }
  .bf-photo--lg { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
  .bf-quote { min-height: 240px; }
  .bf-photo--tall { aspect-ratio: 3 / 4; }
  .bf-years { grid-column: 1 / -1; min-height: 150px; }
  .bf-mint { grid-column: 1 / -1; min-height: 90px; }

  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi { padding: 28px; min-height: 0; }
  .testi-quote { font-size: 24px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .btn-pill:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .menu, .menu-links a, .menu-foot { transition: opacity 0.2s ease; transform: none; }
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */
.contact-hero { padding: clamp(48px, 6vw, 88px) 0 var(--section-y); }
.contact-head { max-width: 860px; }
.contact-head .eyebrow { margin-bottom: var(--space-4); }
.contact-title {
  font-size: var(--h-intention);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.contact-lead {
  margin-top: var(--space-6);
  max-width: 576px;
  font-size: 18px;
  line-height: 1.625;
  color: var(--slate);
}

.contact-grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px);
  gap: clamp(48px, 6vw, 96px);
}
.contact-form-wrap { grid-column: 2; grid-row: 1; }
.contact-rail { grid-column: 1; grid-row: 1; }
.rail-inner {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.rail-block + .rail-block { border-top: 1px solid var(--line); padding-top: var(--space-8); }
.rail-block > .eyebrow { margin-bottom: var(--space-5); }

/* Direct channels */
.contact-channel { display: flex; flex-direction: column; gap: 2px; }
.contact-channel + .contact-channel { margin-top: var(--space-5); }
.channel-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.channel-link {
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.18s ease;
  overflow-wrap: anywhere;
}
.channel-link:hover { color: var(--blue); font-style: italic; }

/* Studios + local time */
.studio-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.studio-row:first-of-type { padding-top: 0; }
.studio-row:last-of-type { border-bottom: 0; }
.studio-city { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.studio-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.studio-note { margin-top: var(--space-3); font-size: 13px; line-height: 1.55; color: var(--slate); }

/* Availability card */
.rail-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
}
.rail-card::after {
  content: "";
  position: absolute;
  top: -70px; right: -50px;
  width: 220px; height: 220px;
  background: var(--brand);
  opacity: 0.3;
  filter: blur(60px);
  pointer-events: none;
}
.rail-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.rail-card-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--brand);
  animation: pulse-dot 2.4s ease-out infinite;
}
.rail-card-value {
  position: relative;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  margin-top: var(--space-4);
  font-variant-numeric: tabular-nums;
}
.rail-card-text {
  position: relative;
  margin-top: var(--space-3);
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(46, 217, 189, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(46, 217, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 217, 189, 0); }
}

/* Form card */
.contact-form-card {
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
}
.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-soft);
}
.form-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-form,
.contact-form form {
  display: block;
}

.contact-form form {
  margin: 0;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
fieldset.field { display: block; border: 0; min-width: 0; padding: 0; }
.field--full { grid-column: 1 / -1; }
.field-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
legend.field-label { padding: 0; }
.req { font-style: normal; color: var(--blue); }
.opt {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--slate);
  opacity: 0.85;
}
fieldset .chips { margin-top: var(--space-3); }

.contact-form .wpcf7-form-control-wrap,
.contact-form .wpcf7-form-control {
  display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a4a42' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7 5 6 5-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  padding-right: 48px;
}
.contact-form ::placeholder { color: rgba(59, 87, 81, 0.5); }
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: rgba(10, 74, 66, 0.38); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 217, 189, 0.2);
}
.contact-form input:-webkit-autofill,
.contact-form select:-webkit-autofill,
.contact-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .wpcf7-not-valid {
  border-color: #8f3350;
  box-shadow: 0 0 0 3px rgba(143, 51, 80, 0.12);
}

.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f3350;
}

.contact-form .wpcf7-checkbox,
.contact-form .wpcf7-acceptance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.contact-form .wpcf7-list-item {
  margin: 0;
}

.contact-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.contact-form input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.18s ease;
  background: center / 10px 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5 4.5 9 10 3'/%3E%3C/svg%3E");
}

.contact-form input[type="checkbox"]:hover {
  border-color: rgba(10, 74, 66, 0.38);
}

.contact-form input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.contact-form input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.contact-form input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 217, 189, 0.2);
}

/* Selectable chips (checkbox / radio pills) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.chip:hover span { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-soft);
}
.form-note { max-width: 300px; font-size: 13px; line-height: 1.55; color: var(--slate); }
.contact-form .contact-submit { flex: none; }
.contact-form button:focus-visible,
.contact-form input[type="submit"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.contact-form .wpcf7-spinner {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid rgba(10, 74, 66, 0.16);
  border-top-color: var(--blue);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.contact-form.submitting .wpcf7-spinner,
.contact-form form.submitting .wpcf7-spinner,
.contact-form.submitting .form-note,
.contact-form form.submitting .form-note {
  opacity: 1;
}

.contact-form.submitting .contact-submit,
.contact-form form.submitting .contact-submit {
  opacity: 0.72;
  pointer-events: none;
}

.contact-form .wpcf7-response-output {
  display: none;
  margin: var(--space-6) 0 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-form .wpcf7-response-output::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.contact-form.invalid .wpcf7-response-output,
.contact-form form.invalid .wpcf7-response-output,
.contact-form.unaccepted .wpcf7-response-output,
.contact-form form.unaccepted .wpcf7-response-output,
.contact-form.payment-required .wpcf7-response-output,
.contact-form form.payment-required .wpcf7-response-output,
.contact-form.failed .wpcf7-response-output,
.contact-form form.failed .wpcf7-response-output,
.contact-form.spam .wpcf7-response-output,
.contact-form form.spam .wpcf7-response-output,
.contact-form.sent .wpcf7-response-output,
.contact-form form.sent .wpcf7-response-output {
  display: block;
}

.contact-form.invalid .wpcf7-response-output,
.contact-form form.invalid .wpcf7-response-output,
.contact-form.unaccepted .wpcf7-response-output,
.contact-form form.unaccepted .wpcf7-response-output,
.contact-form.payment-required .wpcf7-response-output,
.contact-form form.payment-required .wpcf7-response-output,
.contact-form.failed .wpcf7-response-output,
.contact-form form.failed .wpcf7-response-output,
.contact-form.spam .wpcf7-response-output,
.contact-form form.spam .wpcf7-response-output {
  border-color: rgba(143, 51, 80, 0.2);
  background: rgba(143, 51, 80, 0.05);
  color: #6f2a3f;
}

.contact-form.invalid .wpcf7-response-output::before,
.contact-form form.invalid .wpcf7-response-output::before,
.contact-form.unaccepted .wpcf7-response-output::before,
.contact-form form.unaccepted .wpcf7-response-output::before,
.contact-form.payment-required .wpcf7-response-output::before,
.contact-form form.payment-required .wpcf7-response-output::before,
.contact-form.failed .wpcf7-response-output::before,
.contact-form form.failed .wpcf7-response-output::before,
.contact-form.spam .wpcf7-response-output::before,
.contact-form form.spam .wpcf7-response-output::before {
  background: #8f3350;
}

.contact-form.sent .wpcf7-response-output,
.contact-form form.sent .wpcf7-response-output {
  border-color: rgba(46, 217, 189, 0.28);
  background: #fff;
  color: var(--ink);
}

.contact-form.sent .wpcf7-response-output::before,
.contact-form form.sent .wpcf7-response-output::before {
  background: var(--brand);
}

.contact-form .wpcf7-response-output:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 217, 189, 0.16);
}

.contact-form.is-complete .wpcf7-response-output {
  display: none;
}

/* Honeypot — visually removed, still in the DOM for bots */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Success state */
.form-success { padding: var(--space-6) 0 var(--space-4); }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.success-icon svg { width: 22px; height: 22px; }
.success-title { font-size: 32px; letter-spacing: -0.01em; margin-top: var(--space-5); }
.success-text { margin: var(--space-3) 0 var(--space-5); max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--slate); }

/* What happens next */
.contact-steps { background: #e4f9f3; padding: var(--section-y) 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.contact-step { padding: var(--card-pad); border-right: 1px solid var(--line); }
.contact-step:last-child { border-right: 0; }

/* FAQ */
.faq-section { padding: var(--section-y) 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 26px 0;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.18s ease;
}
.faq-icon {
  flex: none;
  align-self: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item summary:hover .faq-q { color: var(--blue); }
.faq-item summary:hover .faq-icon { border-color: var(--ink); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.faq-a {
  max-width: 720px;
  padding: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  animation: faq-in 0.35s var(--ease-out);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Compact CTA variant */
.cta--compact { padding: clamp(72px, 9vw, 128px) 0; }
.cta--compact .cta-eyebrow { margin-bottom: var(--space-8); }
.cta--compact .cta-title { font-size: var(--h-intention); }

/* ---------- Contact responsive ---------- */
@media (max-width: 1280px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; }
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-rail { grid-column: auto; grid-row: auto; }
  .rail-inner {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
  }
  .rail-block + .rail-block { border-top: 0; padding-top: 0; }
  .rail-block--card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .rail-inner { grid-template-columns: 1fr; }
  .rail-block + .rail-block { border-top: 1px solid var(--line); padding-top: var(--space-8); }

  .form-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-foot { flex-direction: column; align-items: flex-start; }

  .steps-grid { grid-template-columns: 1fr; }
  .contact-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-step:last-child { border-bottom: 0; }

  .faq-item summary { padding: 20px 0; gap: var(--space-4); }
  .faq-icon { width: 28px; height: 28px; }
}

/* Reduced motion — contact */
@media (prefers-reduced-motion: reduce) {
  .rail-card-eyebrow::before { animation: none; }
  .faq-a { animation: none; }
  .chip:hover span { transform: none; }
}

/* =================================================================
   ABOUT PAGE
   ================================================================= */

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; outline: none; }
#main:focus { outline: none; }

/* ---------- Who We Are (hero) ---------- */
.about-hero { padding: clamp(26px, 3.4vw, 52px) 0 var(--section-y); }

.about-folio {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.about-folio span:last-child { text-align: right; color: var(--blue); }

.about-hero-grid {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 458px);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.about-hero-copy .eyebrow { margin-bottom: var(--space-6); }
.about-hero-title {
  font-size: clamp(44px, 6.1vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.about-hero-title .line { display: block; }
.about-hero-kicker {
  margin-top: clamp(22px, 2.4vw, 32px);
  max-width: 540px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-hero-actions {
  margin-top: clamp(26px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* Hero lemur (shares animation with services hero) */
.about-hero-visual { display: grid; place-items: center; }
.about-hero-visual .lemur-svg { width: min(460px, 100%); }

/* Animated orbit visual */
.hero-orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(125% 125% at 72% 8%, #0d6357 0%, #0a4a42 56%, #062f29 100%);
  display: grid;
  place-items: center;
}
.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 78%);
  z-index: 0;
}
.orbit-glow { position: absolute; border-radius: 50%; filter: blur(64px); z-index: 0; pointer-events: none; }
.orbit-glow--teal { width: 260px; height: 260px; top: -70px; left: -50px; background: rgba(46, 217, 189, 0.45); }
.orbit-glow--mint { width: 220px; height: 220px; bottom: -60px; right: -40px; background: rgba(127, 240, 223, 0.22); }
.orbit-svg { position: relative; z-index: 2; width: 90%; height: 90%; }
.orbit-cap {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 2vw, 26px);
  bottom: clamp(16px, 2vw, 24px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.orbit-badge {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 2vw, 22px);
  top: clamp(16px, 2vw, 22px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
}

/* SVG motion */
.ring--outer, .ring--mid, .ring--inner, .orbit-dots {
  transform-box: view-box;
  transform-origin: 200px 200px;
}
.ring--outer { animation: orbit-spin 52s linear infinite; }
.ring--mid { animation: orbit-spin 34s linear infinite reverse; }
.ring--inner { animation: orbit-ringpulse 4.5s ease-in-out infinite; }
.orbit-dots { animation: orbit-spin 16s linear infinite; }
.orbit-dots--rev { animation: orbit-spin 24s linear infinite reverse; }
.leap-arc { stroke-dasharray: 16 84; stroke-dashoffset: 100; animation: orbit-comet 3.4s linear infinite; }
.orbit-star { transform-box: fill-box; transform-origin: center; animation: orbit-star 3.6s var(--ease-out) infinite; }
.orbit-apex { transform-box: fill-box; transform-origin: center; animation: orbit-apex 3.4s ease-in-out infinite; }
.orbit-float { transform-box: fill-box; transform-origin: center; }
.orbit-float--a { animation: orbit-floaty 5s ease-in-out infinite; }
.orbit-float--b { animation: orbit-floaty 6.5s ease-in-out infinite 0.6s; }
.orbit-float--c { animation: orbit-floaty 5.8s ease-in-out infinite 1.2s; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-ringpulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes orbit-comet { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes orbit-star {
  0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.08) rotate(45deg); opacity: 1; }
}
@keyframes orbit-apex {
  0%, 100% { transform: scale(0.7); opacity: 0.55; }
  50% { transform: scale(1.2); opacity: 1; }
}
@keyframes orbit-floaty {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-10px); opacity: 1; }
}

/* Manifesto row */
.about-hero-manifest { margin-top: clamp(40px, 5vw, 72px); }
.about-hero-rule { height: 0; border-top: 3px double var(--line); margin-bottom: clamp(26px, 3vw, 40px); }
.manifest-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}
.manifest-cols p { font-size: 16px; line-height: 1.7; color: var(--slate); }
.manifest-cols .about-hero-emph {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--blue);
}

/* ---------- LEAP band (dark) ---------- */
.leap-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: var(--section-y) 0;
}
.leap-band .wrap { position: relative; z-index: 2; }
.leap-band .glow--blue { width: 540px; height: 540px; top: -200px; right: -90px; opacity: 0.34; }
.leap-band .glow--mint { width: 460px; height: 460px; bottom: -190px; left: -150px; opacity: 0.24; }
.leap-inner { display: grid; gap: clamp(48px, 7vw, 96px); }
.leap-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.leap-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(96px, 17vw, 268px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  background: linear-gradient(158deg, var(--brand) 0%, var(--mint) 52%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.leap-statement {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.94);
  max-width: 560px;
}
.leap-statement em { font-style: italic; color: var(--teal); }
.leap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-light);
}
.leap-stat-num {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.leap-stat-label {
  margin-top: var(--space-3);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Mission & Vision ---------- */
.mv { padding: var(--section-y) 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.mv-card {
  position: relative;
  overflow: hidden;
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: clamp(32px, 3.6vw, 56px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.mv-card > * { position: relative; z-index: 1; }
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -34px rgba(10, 74, 66, 0.32); }
.mv-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.mv-icon {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  display: grid; place-items: center;
  flex: none;
}
.mv-icon svg { width: 24px; height: 24px; }
.mv-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.mv-title {
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mv-text {
  margin-top: var(--space-6);
  font-size: 16px;
  line-height: 1.72;
  color: var(--slate);
}
.mv-card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.mv-card--dark::after {
  content: "";
  position: absolute;
  top: -90px; right: -70px;
  width: 260px; height: 260px;
  background: var(--brand);
  opacity: 0.22;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.mv-card--dark .mv-icon { background: rgba(255, 255, 255, 0.1); color: var(--brand); }
.mv-card--dark .mv-label { color: var(--brand); }
.mv-card--dark .mv-title { color: #fff; }
.mv-card--dark .mv-text { color: rgba(255, 255, 255, 0.78); }

/* ---------- Core Values (reuses .services-grid / .service-card) ---------- */
.values { background: #e4f9f3; padding: var(--section-y) 0; }
.values .service-card { min-height: 0; }
.value-tagline {
  margin-top: var(--space-5);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.3;
  color: var(--blue);
}
.value-tagline + .service-desc { margin-top: var(--space-4); }

/* ---------- Meet the Team ---------- */
.team { padding: var(--section-y) 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 2.4vw, 34px);
  align-items: start;
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 44px);
}
.team-avatar {
  width: clamp(92px, 9vw, 128px);
  height: clamp(92px, 9vw, 128px);
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  overflow: hidden;
}
.team-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-avatar span {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.team-avatar--ink { background: var(--ink); }
.team-avatar--ink span { color: var(--brand); }
.team-avatar--brand { background: var(--brand); }
.team-avatar--brand span { color: var(--ink); }
.team-namerow { display: flex; flex-direction: column; gap: 5px; }
.team-name {
  font-size: clamp(26px, 2.4vw, 33px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.team-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.team-bio { margin-top: var(--space-5); font-size: 15px; line-height: 1.66; color: var(--slate); }
.team-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-6);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: color 0.18s ease;
}
.team-email svg { width: 17px; height: 17px; flex: none; }
.team-email-label { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.team-email:hover { color: var(--blue); }
.team-email:hover .team-email-label { text-decoration-color: currentColor; }

/* ---------- About responsive ---------- */
@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); align-items: start; }
  .about-hero-visual { max-width: 440px; }
  .manifest-cols { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .manifest-cols .about-hero-emph { grid-column: 1 / -1; }
  .leap-head { grid-template-columns: 1fr; gap: var(--space-6); }
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .about-folio { flex-direction: column; gap: 6px; }
  .about-folio span:last-child { text-align: left; }
  .manifest-cols { grid-template-columns: 1fr; gap: var(--space-6); }
  .leap-stats { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 420px) {
  .leap-stats { grid-template-columns: 1fr; gap: 28px; }
  .team-card { grid-template-columns: 1fr; gap: 20px; }
}

/* Reduced motion — about */
@media (prefers-reduced-motion: reduce) {
  .mv-card:hover, .team-card:hover { transform: none; box-shadow: none; }
  .skip-link { transition: none; }
  .ring--outer, .ring--mid, .ring--inner,
  .orbit-dots, .leap-arc, .orbit-star, .orbit-apex, .orbit-float {
    animation: none !important;
  }
  .leap-arc { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* =================================================================
   SERVICES PAGE
   ================================================================= */

/* ---------- Hero (clean, centered) ---------- */
.services-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 52px) 0 clamp(36px, 4.5vw, 64px);
  text-align: center;
}
.services-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.services-hero-title {
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
}
.services-hero-title .line { display: block; }
.services-hero-lead {
  margin-top: clamp(14px, 1.8vw, 24px);
  max-width: 640px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--slate);
}
.services-hero-actions {
  margin-top: clamp(20px, 2.2vw, 30px);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}
/* ---------- Hero lemur (traced from brand mark) ---------- */
.services-hero-visual { position: relative; z-index: 1; width: min(300px, 60%); margin: clamp(8px, 1.4vw, 18px) auto 0; }
.lemur-svg { width: 100%; height: auto; display: block; overflow: visible; }

.lemur-group { transform-box: fill-box; transform-origin: 50% 100%; animation: lemur-bob 6.5s ease-in-out 3s infinite; }
@keyframes lemur-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* solid silhouette fades in under the traced outline */
.lemur-fill { fill: #0a4a42; opacity: 0; animation: lemur-fill-in 1s var(--ease-out) 1.7s forwards; }
@keyframes lemur-fill-in { to { opacity: 1; } }

/* outline draws on in brand teal, then dissolves into the fill */
.lemur-trace {
  fill: none;
  stroke: url(#lemurStroke);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: lemur-trace 2.2s var(--ease-out) 0.2s forwards, lemur-trace-fade 0.7s ease 2.5s forwards;
}
@keyframes lemur-trace { to { stroke-dashoffset: 0; } }
@keyframes lemur-trace-fade { to { opacity: 0; } }

/* soft ground shadow */
.lemur-shadow { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: lemur-fill-in 0.8s ease 0.3s forwards, lemur-shadow 6.5s ease-in-out 3s infinite; }
@keyframes lemur-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.93); opacity: 0.78; } }

/* periodic light sheen sweeping across the mark */
.lemur-sheen { transform: translateX(-80px); animation: lemur-sheen 5.5s ease-in-out 3.4s infinite; }
@keyframes lemur-sheen { 0% { transform: translateX(-80px); } 26%, 100% { transform: translateX(232px); } }

/* ---------- Process (dark · animated growth graph) ---------- */
.flow {
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 120% at 50% -10%, #0d6357 0%, #0a4a42 55%, #062f29 100%);
  color: #fff;
  padding: clamp(48px, 6vw, 88px) 0;
}
.flow .wrap { position: relative; z-index: 2; }
.flow-glow { position: absolute; border-radius: 50%; filter: blur(120px); z-index: 1; pointer-events: none; }
.flow-glow--a { width: 520px; height: 520px; top: -160px; left: -120px; background: rgba(46, 217, 189, 0.30); }
.flow-glow--b { width: 480px; height: 480px; bottom: -180px; right: -120px; background: rgba(127, 240, 223, 0.20); }
.flow .flow-title { color: #fff; }
.flow .section-head-aside { color: rgba(255, 255, 255, 0.72); }

.flow-graph {
  margin-top: clamp(8px, 2vw, 24px);
  margin-bottom: clamp(40px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(14px, 2.4vw, 32px);
}
.flow-svg { width: 100%; height: auto; display: block; }

/* graph motion */
.flow-num { font-family: var(--mono); font-size: 16px; letter-spacing: 0.08em; fill: rgba(255, 255, 255, 0.55); }
.flow-riser { stroke-dasharray: 3 7; }
.flow-comet { animation: flow-comet 5s linear infinite; }
@keyframes flow-comet { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

.flow-ring { fill: none; stroke: rgba(127, 240, 223, 0.65); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: flow-ping 2.8s ease-out infinite; }
.flow-node:nth-child(1) .flow-ring { animation-delay: 0s; }
.flow-node:nth-child(2) .flow-ring { animation-delay: 0.55s; }
.flow-node:nth-child(3) .flow-ring { animation-delay: 1.1s; }
.flow-node:nth-child(4) .flow-ring { animation-delay: 1.65s; }
@keyframes flow-ping {
  0% { transform: scale(0.55); opacity: 0.9; }
  70% { opacity: 0; }
  100% { transform: scale(2.3); opacity: 0; }
}
.flow-core { transform-box: fill-box; transform-origin: center; animation: flow-core 2.8s ease-in-out infinite; }
.flow-node:nth-child(1) .flow-core { animation-delay: 0s; }
.flow-node:nth-child(2) .flow-core { animation-delay: 0.55s; }
.flow-node:nth-child(3) .flow-core { animation-delay: 1.1s; }
.flow-node:nth-child(4) .flow-core { animation-delay: 1.65s; }
@keyframes flow-core { 0%, 100% { transform: scale(0.9); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }

.flow-spark { transform-box: fill-box; transform-origin: center; animation: flow-float 6s ease-in-out infinite; }
.flow-spark--b { animation-delay: 1.2s; animation-duration: 7s; }
.flow-spark--c { animation-delay: 2.4s; animation-duration: 6.6s; }
@keyframes flow-float { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-12px); opacity: 1; } }

/* ---------- Process step cards ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}
.flow-step {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-card);
  padding: clamp(24px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, background-color 0.3s ease;
}
.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 217, 189, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.flow-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(20px, 2vw, 30px); }
.flow-step-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); }
.flow-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(46, 217, 189, 0.12);
  border: 1px solid rgba(46, 217, 189, 0.28);
  display: grid; place-items: center;
  color: var(--teal);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.flow-step:hover .flow-icon { background: rgba(46, 217, 189, 0.2); box-shadow: 0 0 0 4px rgba(46, 217, 189, 0.08); }
.flow-icon svg { width: 30px; height: 30px; }
.flow-step-title { font-size: clamp(26px, 2vw, 32px); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.flow-step-desc { margin-top: var(--space-4); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

/* ---------- Animated step icons ---------- */
.ico-discovery .d-ping { fill: none; stroke: currentColor; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: d-ping 2.6s ease-out infinite; }
.ico-discovery .d-ping2 { animation-delay: 0.85s; }
.ico-discovery .d-ping3 { animation-delay: 1.7s; }
.ico-discovery .d-core { fill: currentColor; }
@keyframes d-ping { 0% { transform: scale(0.5); opacity: 0.9; } 80% { opacity: 0; } 100% { transform: scale(2.7); opacity: 0; } }

.ico-strategy .s-route { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: s-draw 3.2s var(--ease-out) infinite; }
@keyframes s-draw { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }
.ico-strategy .s-node { fill: currentColor; transform-box: fill-box; transform-origin: center; animation: s-pulse 3.2s ease-in-out infinite; }
.ico-strategy .s-node2 { animation-delay: 0.25s; }
.ico-strategy .s-node3 { animation-delay: 0.5s; }
.ico-strategy .s-node4 { animation-delay: 0.75s; }
@keyframes s-pulse { 0%, 100% { opacity: 0.55; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

.ico-optimize .o-bar { fill: currentColor; transform-box: fill-box; transform-origin: 50% 100%; animation: o-bar 2.2s ease-in-out infinite; }
.ico-optimize .o-bar2 { animation-delay: 0.3s; }
.ico-optimize .o-bar3 { animation-delay: 0.6s; }
@keyframes o-bar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.ico-optimize .o-sweep { stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: 0.45; transform-box: fill-box; transform-origin: center; animation: o-sweep 2.2s ease-in-out infinite; }
@keyframes o-sweep { 0%, 100% { transform: translateY(9px); } 50% { transform: translateY(0); } }

.ico-grow .g-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: g-draw 3.2s var(--ease-out) infinite; }
@keyframes g-draw { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }
.ico-grow .g-arrow { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: g-arrow 3.2s var(--ease-out) infinite; }
@keyframes g-arrow { 0%, 55% { opacity: 0; } 72%, 100% { opacity: 1; } }
.ico-grow .g-spark { fill: currentColor; transform-box: fill-box; transform-origin: center; opacity: 0; animation: g-spark 3.2s ease-in-out infinite; }
@keyframes g-spark { 0%, 58% { opacity: 0; transform: translateY(4px) scale(0); } 75% { opacity: 1; } 100% { opacity: 1; transform: translateY(-2px) scale(1); } }

/* ---------- What we do (tighter service cards) ---------- */
.what-we-do { padding: var(--section-y) 0; }
.what-we-do .service-card {
  min-height: 0;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.what-we-do .service-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(10, 74, 66, 0.28); }
.what-we-do .service-desc { margin-top: var(--space-4); }

/* Closing CTA tile (9th cell) */
.service-card--cta {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.service-card--cta::after {
  content: "";
  position: absolute;
  top: -70px; right: -50px;
  width: 200px; height: 200px;
  background: var(--brand);
  opacity: 0.22;
  filter: blur(60px);
  pointer-events: none;
}
.service-card--cta > * { position: relative; z-index: 1; }
.service-card--cta .service-num { color: rgba(255, 255, 255, 0.6); }
.service-card--cta .service-icon { background: rgba(255, 255, 255, 0.1); color: var(--brand); }
.service-card--cta .service-icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card--cta .service-title { color: #fff; }
.service-card--cta .service-desc { color: rgba(255, 255, 255, 0.74); }
.svc-cta-link {
  margin-top: var(--space-6);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  transition: letter-spacing 0.2s ease;
}
.what-we-do .service-card--cta:hover { box-shadow: 0 28px 56px -34px rgba(10, 74, 66, 0.5); }
.service-card--cta:hover .svc-cta-link { letter-spacing: 0.14em; }

/* ---------- Stats band (dark) ---------- */
.svc-stats { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.svc-stats .flow-glow--a { top: -120px; left: 80px; width: 420px; height: 240px; filter: blur(90px); background: rgba(127, 240, 223, 0.18); }
.svc-stats .flow-glow--b { bottom: -120px; right: 80px; width: 520px; height: 260px; filter: blur(90px); background: rgba(46, 217, 189, 0.26); }
.svc-stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-10); }

/* ---------- Why Leaping Lemur ---------- */
.why { padding: var(--section-y) 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.why-card {
  position: relative;
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: clamp(28px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(10, 74, 66, 0.28); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  display: grid; place-items: center;
  margin-bottom: clamp(24px, 2.4vw, 32px);
}
.why-icon svg { width: 24px; height: 24px; }
.why-title { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.why-desc { margin-top: var(--space-4); font-size: 15px; line-height: 1.65; color: var(--slate); }

/* ---------- Services responsive ---------- */
@media (max-width: 1024px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
}
@media (max-width: 760px) {
  .flow-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .svc-stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 420px) {
  .svc-stats-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Services reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .flow-comet, .flow-ring, .flow-core, .flow-spark,
  .ico-discovery .d-ping,
  .ico-strategy .s-route, .ico-strategy .s-node,
  .ico-optimize .o-bar, .ico-optimize .o-sweep,
  .ico-grow .g-line, .ico-grow .g-arrow, .ico-grow .g-spark {
    animation: none !important;
  }
  .lemur-group, .lemur-shadow, .lemur-sheen { animation: none !important; transform: none !important; }
  .lemur-fill, .lemur-shadow { opacity: 1 !important; }
  .lemur-trace { animation: none !important; opacity: 0 !important; }
  .flow-comet { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; }
  .ico-strategy .s-route, .ico-grow .g-line { stroke-dashoffset: 0; }
  .ico-grow .g-arrow, .ico-grow .g-spark { opacity: 1; transform: none; }
  .ico-optimize .o-bar { transform: scaleY(1); }
  .ico-discovery .d-ping2, .ico-discovery .d-ping3 { opacity: 0; }
  .ico-discovery .d-ping1 { opacity: 0.5; }
  .flow-step:hover, .what-we-do .service-card:hover, .why-card:hover { transform: none; box-shadow: none; }
}
