/* =========================================================
   SPRK — Homepage
   Design tokens → base → components → sections → responsive
   ========================================================= */

:root {
  /* Brand */
  --navy: #063E60;
  --navy-deep: #04304B;
  --yellow: #EDCA17;
  --yellow-hover: #F5D63A;
  --teal: #1C9B8D;
  --grey: #2F3433;

  /* Neutrals */
  --white: #FFFFFF;
  --warm-white: #F8F6F1;
  --line: #E4E6E8;
  --muted: #4C5257;        /* Brand Mid Grey: body copy on white */
  --on-navy-muted: rgba(255, 255, 255, 0.78);

  /* Type */
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 300; font-size: clamp(44px, 6.2vw, 86px); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.nowrap { white-space: nowrap; }
.ic { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
/* Short teal rule before section labels: a quiet, consistent signature */
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--teal); flex: none; }
.eyebrow i { font-style: normal; margin: 0 .35em; opacity: .8; }
.eyebrow-yellow { color: var(--yellow); }
.eyebrow-yellow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover .ic { transform: translate(2px, -2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-hover); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(237, 202, 23, .7); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Text link with yellow underline ---------- */
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy);
  padding-bottom: 6px;
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 3px no-repeat;
  transition: background-size .35s var(--ease);
}
.text-link:hover { background-size: 40% 3px; color: var(--teal); }
.text-link:hover .ic { transform: translate(2px, -2px); }

/* ---------- Hand-drawn underline accent ---------- */
.underline-mark { position: relative; display: inline-block; white-space: nowrap; }
.underline-mark svg {
  position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.2em; overflow: visible;
}
.underline-mark path {
  fill: none; stroke: var(--yellow); stroke-width: 4; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: draw 1s .6s var(--ease) forwards;
}
.underline-mark.dark svg { bottom: -0.16em; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Catalyst pattern (official brand artwork) ----------
   SVGs from the SPRK brand pack: assets/patterns/Catalyst_*.svg
   Corner compositions: -bl -br -tl -tr  ·  straight grid: -square
   White versions used site-wide on navy. Teal / Yellow files are also in assets/patterns. */
.catalyst { position: absolute; pointer-events: none; background: no-repeat center / contain; opacity: .38; }
.catalyst-bl { background-image: url("assets/patterns/Catalyst_Diamond-Bottom_Left-White.svg"); background-position: left bottom; }
.catalyst-br { background-image: url("assets/patterns/Catalyst_Diamond-BottomRight-White.svg"); background-position: right bottom; }
.catalyst-tl { background-image: url("assets/patterns/Catalyst_Diamond-Top_Left-White.svg"); background-position: left top; }
.catalyst-tr { background-image: url("assets/patterns/Catalyst_Diamond-Top_Right-White.svg"); background-position: right top; }
.catalyst-square { background: url("assets/patterns/Catalyst_Square-White.svg") repeat left center / 260px auto; }

/* ---------- Logo (official) ---------- */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; display: block; }
.logo-footer img { height: 54px; }

/* =========================================================
   1. Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(6,62,96,.35); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav > a:not(.btn) {
  position: relative; font-size: 15.5px; font-weight: 500; color: var(--navy); padding: 6px 0;
}
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

/* =========================================================
   2. Hero
   ========================================================= */
.hero {
  position: relative;
  display: grid; grid-template-columns: 58% 42%;
  min-height: clamp(560px, 72vh, 720px);
  background: var(--navy);
  overflow: hidden;
}
.hero-copy {
  position: relative; display: flex; align-items: center;
  padding: 80px var(--gutter) 88px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  z-index: 2;
}
.hero-copy-inner { position: relative; max-width: 600px; }
.hero h1 { color: var(--white); margin-bottom: 30px; }
.hero .lead { color: var(--on-navy-muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 33em; margin-bottom: 40px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-catalyst { left: 0; bottom: 0; width: 280px; height: 280px; }

.hero-media { position: relative; margin-left: -12%; }
/* Brand panel: deeper navy with a warm glow behind the Ignition mark */
.hero-brand::before, .hero-grid { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-brand::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(237,202,23,.14), transparent 46%), var(--navy-deep);
}
.hero-grid { inset: 0; opacity: .14; }
.ignition {
  position: absolute; left: 60%; top: 50%; width: min(24vw, 330px); z-index: 1;
  transform: translate(-50%, -50%) translate(var(--px, 0px), var(--py, 0px));
  transition: transform 1s var(--ease);
}
.ignition svg { width: 100%; height: auto; display: block; overflow: visible; }
.ignition .ray { fill: var(--yellow); transform-box: view-box; }
.ignition .k { fill: var(--white); }
.ignition .ray-burst { transform-origin: 47px 52px; animation: ignite 1.1s .45s var(--ease) both; }
.ignition .ray-1, .ignition .ray-2, .ignition .ray-3 { transform-origin: 66px 52px; animation: ignite .8s var(--ease) both; }
.ignition .ray-1 { animation-delay: 1s; } .ignition .ray-2 { animation-delay: 1.1s; } .ignition .ray-3 { animation-delay: 1.2s; }
.ignition .k { animation: k-in 1s .2s var(--ease) both; }
.ignition .rays { transform-box: view-box; transform-origin: 50px 52px; animation: breathe 7s 2.2s ease-in-out infinite; }
@keyframes ignite { from { opacity: 0; transform: scale(.35) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes k-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.045) rotate(2deg); } }
/* Fine yellow line tracing the diagonal where navy meets photo */
.hero-edge { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.hero-edge line { stroke: var(--yellow); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw-edge 1.6s .3s var(--ease) forwards; }
.hero-edge .edge-mobile { display: none; }

/* Full-width photo hero (v1) */
.hero.hero-full { display: flex; align-items: center; min-height: clamp(580px, 82vh, 780px); background: var(--navy-deep); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
/* Photo is wider than the hero and shifted so the spark sits in the right third */
.hero-photo img { position: absolute; top: 0; left: 22%; width: 125%; height: 100%; object-fit: cover; object-position: center 45%;
  transform: scaleX(-1); animation: slow-zoom 16s ease-out both; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,62,96,.97) 0%, rgba(6,62,96,.9) 34%, rgba(6,62,96,.45) 66%, rgba(6,62,96,.12) 100%); }
@keyframes slow-zoom { from { transform: scaleX(-1) scale(1.09); } to { transform: scaleX(-1) scale(1); } }
.hero-full .hero-copy-inner { position: relative; z-index: 2; max-width: var(--container); padding-top: 96px; padding-bottom: 104px; }
.hero-full .hero-copy-inner > * { max-width: 640px; }
.hero-full .hero-catalyst { width: 460px; height: 460px; opacity: .6; z-index: 1; }
@keyframes draw-edge { to { stroke-dashoffset: 0; } }

/* Missing image fallback */
.img-missing { background: linear-gradient(135deg, #DDE3E7, #C9D2D8); }
.img-missing img { visibility: hidden; }

/* =========================================================
   3. What we do
   ========================================================= */
.intro-split {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.intro-split h2 { max-width: 13em; }
.spark-lines { width: .62em; height: .62em; vertical-align: .55em; margin-left: .12em; }
.spark-lines path { fill: none; stroke: var(--yellow); stroke-width: 2.4; stroke-linecap: round; }
.intro-text {
  font-size: 18px; color: var(--grey); max-width: 27em;
  padding-left: 32px; border-left: 2px solid var(--yellow);
}

.services { display: grid; grid-template-columns: repeat(3, 1fr); }
.service {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 36px 36px 36px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.service + .service { padding-left: 36px; border-left: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: var(--navy); transition: width .5s var(--ease);
}
.service + .service::before { left: 36px; }
.service:hover::before { width: 64px; }
.service-icon {
  width: 52px; height: 52px; flex: none;
  fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease);
}
.service-icon .accent-fill { fill: var(--yellow); stroke: none; }
.service-icon .accent-stroke { stroke: var(--yellow); stroke-width: 2; }
.service:hover .service-icon { transform: translateY(-3px); }
.service h3 { font-size: 26px; font-weight: 500; margin: 2px 0 10px; }
.service-num { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.service p { font-size: 15.5px; color: var(--muted); max-width: 22em; }

/* =========================================================
   4. Credibility
   ========================================================= */
.credibility { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.cred-catalyst { left: 0; top: 0; bottom: 0; width: 110px; opacity: .3; }
.cred-inner { position: relative; display: flex; align-items: center; gap: 56px; padding-top: 44px; padding-bottom: 44px; }
.cred-title {
  color: var(--white); font-weight: 300; font-size: clamp(22px, 2vw, 27px); line-height: 1.3;
  max-width: 12em; flex: none; padding-right: 56px; border-right: 1px solid rgba(255,255,255,.22);
}
.logo-row { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.logo-placeholder {
  height: 64px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border-radius: 8px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.42);
  transition: background-color .3s, color .3s;
}
.logo-placeholder:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
/* When real logos are added: <li><img src="..." alt="Client name"></li> */
.logo-row img { max-height: 40px; width: auto; margin: auto; opacity: .85; filter: brightness(0) invert(1); transition: opacity .3s; }
.logo-row img:hover { opacity: 1; }

/* =========================================================
   5. Approach
   ========================================================= */
.approach-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.approach-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.approach-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.approach-media:hover img { transform: scale(1.04); }
.approach-copy h2 { margin-bottom: 26px; max-width: 11em; }
.approach-copy p { font-size: 18px; max-width: 28em; margin-bottom: 34px; }

/* =========================================================
   6. Thinking
   ========================================================= */
.thinking { background: var(--warm-white); }
.thinking-grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.thinking-head { padding-top: 8px; }
.thinking-head h2 { max-width: 10em; font-size: clamp(30px, 2.9vw, 40px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,62,96,.06), 0 0 0 1px rgba(6,62,96,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -24px rgba(6,62,96,.4), 0 0 0 1px rgba(6,62,96,.05); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #DDE3E7; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.play {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.play svg { width: 20px; height: 20px; fill: var(--navy); margin-left: 2px; }
.card:hover .play { transform: scale(1.08); }
.card-body { position: relative; flex: 1; padding: 20px 22px 52px; }
.card-source { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card h3 { font-size: 19px; font-weight: 500; }
.card-arrow { position: absolute; right: 22px; bottom: 20px; width: 18px; height: 18px; color: var(--navy); }
.card:hover .card-arrow { transform: translate(3px, -3px); color: var(--teal); }

/* =========================================================
   7. Footer
   ========================================================= */
.site-footer { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; }
.footer-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 40px; padding-top: 80px; padding-bottom: 72px; }
.footer-rule { width: 1px; align-self: stretch; background: rgba(255,255,255,.22); }
.footer-headline { font-family: var(--font-head); font-weight: 300; font-size: clamp(26px, 2.7vw, 36px); letter-spacing: -0.02em; line-height: 1.2; flex: 1; }
.footer-legal { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-catalyst { right: 0; top: 0; width: 220px; height: 220px; }
#site-header { height: 84px; }

/* =========================================================
   Motion & warmth
   ========================================================= */
/* Hero headline: lines rise in, then the rest follows */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .line > span, .page-hero h1 .line > span { display: inline-block; animation: rise-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s + .1s); }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rise { animation: fade-up .9s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s + .1s); }
@keyframes rise-in { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Twinkling stars (added by site.js into [data-twinkle] zones) */
[data-twinkle] { position: relative; }
.twinkle { position: absolute; width: var(--s, 14px); height: var(--s, 14px); opacity: 0; pointer-events: none; z-index: 1;
  animation: twinkle 7s var(--d, 0s) ease-in-out infinite; }
.twinkle svg { width: 100%; height: 100%; display: block; fill: none; stroke: var(--yellow); stroke-width: 1.1; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0); }
  8% { opacity: .95; transform: scale(1) rotate(45deg); }
  18% { opacity: 0; transform: scale(.5) rotate(90deg); }
}

/* Spark burst from the arrow on yellow buttons */
.btn { --pad: 26px; position: relative; }
.btn-sm { --pad: 20px; }
.spark-burst { position: absolute; right: calc(var(--pad) + 7px); top: 50%; width: 0; height: 0; pointer-events: none; }
.spark-burst i { position: absolute; left: -.75px; top: -3px; width: 1.5px; height: 6px; border-radius: 2px; background: var(--navy);
  animation: burst .6s var(--ease) forwards; }
@keyframes burst {
  from { opacity: 1; transform: rotate(var(--a)) translateY(-8px) scaleY(.4); }
  to { opacity: 0; transform: rotate(var(--a)) translateY(-17px) scaleY(1); }
}

/* Service icons draw themselves in */
.js-reveal .service-icon path:not(.accent-fill), .js-reveal .service-icon circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
.js-reveal .in .service-icon path, .js-reveal .in .service-icon circle { stroke-dashoffset: 0; }
.js-reveal .service-icon .accent-fill { opacity: 0; transform: translateY(4px); transition: opacity .6s 1.2s, transform .6s 1.2s var(--ease); }
.js-reveal .in .service-icon .accent-fill { opacity: 1; transform: none; }

/* Duotone: any photo becomes on-brand navy; warms back to colour on hover */
.duotone { background: var(--navy); position: relative; }
.duotone img { filter: grayscale(1) contrast(1.12) brightness(1.04); mix-blend-mode: screen; transition: filter .8s var(--ease), transform .8s var(--ease); }
.duotone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(140deg, rgba(237,202,23,.22), transparent 45%); mix-blend-mode: soft-light; }
.card:hover .duotone img, .duotone:hover img, .person-card:hover .duotone img { filter: grayscale(.15) contrast(1.02); mix-blend-mode: normal; }

/* =========================================================
   Assessment band (lead magnet)
   ========================================================= */
.assess-band { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding: clamp(64px, 8vw, 104px) 0; }
.assess-catalyst { left: 0; top: 0; width: 280px; height: 280px; }
.assess-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; }
.assess-band h2 { color: var(--white); max-width: 12em; }
.assess-copy p { color: var(--on-navy-muted); font-size: 18px; max-width: 28em; margin-bottom: 28px; }
.thinking-all { margin-top: 28px; }

/* =========================================================
   Inner pages — shared
   ========================================================= */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding: clamp(72px, 9vw, 124px) 0 clamp(64px, 8vw, 104px); }
.page-hero h1 { color: var(--white); font-size: clamp(40px, 5.2vw, 70px); max-width: 13em; margin-bottom: 26px; }
.page-hero .lead { color: var(--on-navy-muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 36em; }
.page-hero-catalyst { right: 0; top: 0; width: min(440px, 46vw); height: 100%; }
.page-hero .container { position: relative; z-index: 1; }

.section-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { font-size: 18px; max-width: 32em; }
.section-alt { background: var(--warm-white); }
.prose { font-size: 18px; max-width: 40em; }
.prose p + p { margin-top: 1.15em; }
.prose .drop { font-family: var(--font-head); font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; color: var(--navy); letter-spacing: -0.02em; }
.placeholder-note { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: rgba(237,202,23,.28); padding: 4px 10px; border-radius: 4px; margin-bottom: 18px; }

/* Numbered principles / values grid */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; }
.principle { padding: 28px 0; border-top: 1px solid var(--line); position: relative; }
.principle::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width .5s var(--ease); }
.principle:hover::before { width: 56px; }
.principle h3 { font-size: 22px; margin-bottom: 10px; }
.principle p { font-size: 15.5px; }
.principle .num { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }

/* Method steps (Our Thinking) */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.method::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: linear-gradient(90deg, var(--yellow), rgba(237,202,23,.15)); }
.step { position: relative; }
.step-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 18px; font-weight: 400; margin-bottom: 26px; position: relative; transition: transform .4s var(--ease), background-color .4s; }
.step:hover .step-dot { transform: scale(1.08); background: var(--navy-deep); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { font-size: 15.5px; }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy);
  font: 500 14.5px var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* CTA panel */
.cta-panel { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: 20px; padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 24px 48px; align-items: center; }
.cta-panel h2 { color: var(--white); font-size: clamp(28px, 3vw, 40px); max-width: 16em; }
.cta-panel p { color: var(--on-navy-muted); margin-top: 12px; max-width: 34em; }
/* Partners row (names until logos are approved) */
.partners { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.partners-inner { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.partners .eyebrow { margin: 0; flex: none; }
.partner-list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px 28px; }
.partner-list li { font-family: var(--font-head); font-weight: 400; font-size: clamp(15px, 1.25vw, 17px); color: var(--navy); letter-spacing: -0.01em; }
@media (max-width: 1080px) { .partner-list { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 48px; } }

/* Pattern sits flush in the panel's top-right corner */
.cta-panel .catalyst { right: 0; top: 0; width: 240px; height: 240px; opacity: .45; }
.cta-panel > *:not(.catalyst):not(.twinkle) { position: relative; z-index: 1; }

/* =========================================================
   Our People
   ========================================================= */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
.person-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,62,96,.06), 0 0 0 1px rgba(6,62,96,.06); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.person-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -24px rgba(6,62,96,.4), 0 0 0 1px rgba(6,62,96,.05); }
.person-card[hidden] { display: none; }
.person-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .8s var(--ease); }
.person-card:hover .person-photo img { transform: scale(1.04); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* Quote band: calm white space, large navy type, yellow quote mark and rule (brand accents only) */
.quote-band { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.quote { margin: 0 auto; max-width: 940px; display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(20px, 3vw, 36px); align-items: start;
  padding-left: clamp(20px, 3vw, 36px); border-left: 3px solid var(--yellow); }
.quote::before { content: "“"; font-family: var(--font-head); font-weight: 500; font-size: clamp(96px, 11vw, 150px); line-height: .72; color: var(--yellow); grid-row: span 2; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 300; color: var(--navy); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -0.03em; }
.quote figcaption { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.quote figcaption::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
@media (max-width: 600px) { .quote { grid-template-columns: 1fr; } .quote::before { grid-row: auto; font-size: 90px; margin-bottom: -6px; } }

/* Real team photo (Our People) */
.team-photo { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 720px; }
.team-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 40%; border-radius: 16px; display: block; }
@media (max-width: 600px) { .team-photo img { aspect-ratio: 4 / 3; } }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); overflow: hidden;
  font-family: var(--font-head); font-weight: 300; font-size: 64px; letter-spacing: .06em; color: var(--white); }
.monogram::before { content: ""; position: absolute; inset: 0; background: url("assets/patterns/Catalyst_Square-White.svg") repeat center / 200px auto; opacity: .12; }
.monogram span { position: relative; transition: transform .5s var(--ease); }
.person-card:hover .monogram span { transform: scale(1.06); }
.person-body { position: relative; flex: 1; padding: 22px 22px 54px; }
.person-body h3 { font-size: 21px; margin-bottom: 4px; }
.person-role { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.person-body p.mini { font-size: 15px; }
.person-body .card-arrow { position: absolute; right: 22px; bottom: 20px; width: 18px; height: 18px; color: var(--navy); }
.person-card:hover .card-arrow { transform: translate(3px, -3px); color: var(--teal); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgba(6,62,96,.07); color: var(--navy); }
.tags-light .tag { background: rgba(255,255,255,.12); color: var(--white); }

/* Associate profile */
.profile-hero { padding-bottom: clamp(56px, 7vw, 88px); }
.profile-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.profile-photo { aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.profile-photo .monogram { font-size: 96px; background: var(--navy-deep); }
.profile-hero h1 { font-size: clamp(38px, 4.6vw, 62px); margin-bottom: 10px; }
.profile-meta { color: var(--on-navy-muted); font-size: 17px; }
.profile-quote { margin: 26px 0 0; padding-left: 22px; border-left: 2px solid var(--yellow); font-family: var(--font-head); font-weight: 300; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; color: var(--white); max-width: 30em; }
.profile-body { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile-aside { position: sticky; top: 110px; padding: 28px; border-radius: var(--radius); background: var(--warm-white); }
.profile-aside h3 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-family: var(--font-body); }
.profile-aside .btn { margin-top: 24px; width: 100%; justify-content: center; }
.profile-aside .text-link { margin-top: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy-muted); font-size: 15px; margin-bottom: 36px; transition: color .2s; }
.back-link:hover { color: var(--white); }
.back-link .ic { transform: rotate(-135deg); }

/* =========================================================
   Our Work
   ========================================================= */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.format { padding: 28px 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.format:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(6,62,96,.35); }
.format h3 { font-size: 20px; margin: 18px 0 8px; }
.format p { font-size: 15px; }
.format .service-icon { width: 40px; height: 40px; }
.cases { display: grid; gap: 24px; }
.case { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 56px; padding: clamp(28px, 4vw, 44px); border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease); }
.case:hover { box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(6,62,96,.35); }
.case-meta .tag { margin-bottom: 14px; display: inline-block; }
.case-meta h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 400; }
.case-meta .client { margin-top: 12px; font-size: 14.5px; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-cols h4 { margin: 0 0 8px; font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.case-cols h4::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--yellow); vertical-align: middle; margin-right: 8px; }
.case-cols p { font-size: 15.5px; }

/* =========================================================
   Our Story
   ========================================================= */
.story-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); }
.story-aside { position: sticky; top: 120px; align-self: start; }
.story-aside .mark { width: 72px; margin-bottom: 18px; }
.vision { text-align: center; max-width: 900px; margin: 0 auto; }
.vision blockquote { margin: 0; font-family: var(--font-head); font-weight: 300; color: var(--white); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -0.02em; }
.vision .eyebrow { justify-content: center; }
/* =========================================================
   Reveal animation
   ========================================================= */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .cards .reveal:nth-child(2) { transition-delay: .1s; }
.services .reveal:nth-child(3), .cards .reveal:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .underline-mark path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive — Tablet (≤ 1080px)
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .main-nav > a:not(.btn) { font-size: 14.5px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .cred-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cred-title { max-width: none; border-right: 0; padding-right: 0; }
  .logo-row { width: 100%; }
  .thinking-grid { grid-template-columns: 1fr; }
  .thinking-head h2 { max-width: 16em; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .method::before { display: none; }
  .case { grid-template-columns: 1fr; }
}

/* ---------- Tablet / mobile menu (≤ 900px) ---------- */
@media (max-width: 900px) {
  .header-inner { height: 72px; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
  .menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(6,62,96,.3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.btn) { font-size: 20px; font-family: var(--font-head); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; align-self: flex-start; margin-top: 24px; }

  /* Hero stacks: image on top as a band, copy below */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; margin: 0; height: clamp(240px, 46vw, 380px); }
  .hero-brand::before, .hero-grid { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); }
  .ignition { left: 50%; top: 46%; width: clamp(130px, 30vw, 220px); }
  .hero-edge .edge-desktop { display: none; }
  .hero-edge .edge-mobile { display: inline; }
  .hero-copy { padding: 48px var(--gutter) 72px; }
  .hero-catalyst { width: 170px; height: 170px; left: auto; right: 0; background-image: url("assets/patterns/Catalyst_Diamond-BottomRight-White.svg"); background-position: right bottom; }
  .hero.hero-full { min-height: 0; align-items: flex-end; }
  .hero-photo img { left: 0; width: 100%; height: 62%; object-position: center 40%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(6,62,96,.35) 0%, rgba(6,62,96,.82) 45%, rgba(6,62,96,.97) 100%); }
  .hero-full .hero-copy-inner { padding-top: 220px; padding-bottom: 72px; }
  .hero-full .hero-catalyst { width: 260px; height: 260px; opacity: .55; }

  .intro-split { grid-template-columns: 1fr; gap: 28px; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 30px 0; border-left: 0; }
  .service + .service::before { left: 0; }

  .approach-grid { grid-template-columns: 1fr; }
  .approach-media { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }

  .footer-inner { flex-wrap: wrap; gap: 28px; padding-top: 64px; padding-bottom: 56px; }
  .footer-rule { display: none; }
  .footer-headline { flex-basis: 100%; }
  #site-header { height: 72px; }

  .assess-inner, .section-head, .cta-panel, .profile-body, .story-grid { grid-template-columns: 1fr; }
  .partner-list { flex-direction: column; gap: 10px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 260px; }
  .profile-aside, .story-aside { position: static; }
  .case-cols { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .eyebrow { letter-spacing: .16em; font-size: 11.5px; }
  .logo img { height: 36px; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .intro-text { padding-left: 20px; font-size: 17px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card { display: grid; grid-template-columns: 38% 1fr; }
  .card-media { aspect-ratio: auto; min-height: 130px; }
  .card-body { padding: 18px 18px 44px; }
  .card h3 { font-size: 17px; }
  .card-arrow { right: 18px; bottom: 16px; }
  .play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .footer-catalyst { width: 140px; height: 140px; }
  .formats, .method { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person-body { padding: 16px 14px 44px; }
  .person-body h3 { font-size: 17px; }
  .person-body p.mini { display: none; }
  .person-role { font-size: 11px; }
  .monogram { font-size: 44px; }
}

/* Brand device: single keyword highlighted in Core Yellow on navy (per brand applications) */
.hl { color: var(--yellow); }
