/* ==========================================================================
   NXT Evolution — Strategic Advisory (v2: visual-first revision)
   Identity: Radio Canada Big · Night Blue #1B1C38 · Ocher #EB9128
             Turquoise #009998 · Dark Purple #82368C · warm paper ground
   ========================================================================== */

/* ---------- Fonts (local brand files) ---------- */
@font-face { font-family: "Radio Canada Big"; src: url("assets/fonts/RadioCanadaBig-Regular.woff2") format("woff2"), url("assets/fonts/RadioCanadaBig-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Radio Canada Big"; src: url("assets/fonts/RadioCanadaBig-Italic.woff2") format("woff2"), url("assets/fonts/RadioCanadaBig-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Radio Canada Big"; src: url("assets/fonts/RadioCanadaBig-Medium.woff2") format("woff2"), url("assets/fonts/RadioCanadaBig-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Radio Canada Big"; src: url("assets/fonts/RadioCanadaBig-SemiBold.woff2") format("woff2"), url("assets/fonts/RadioCanadaBig-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Radio Canada Big"; src: url("assets/fonts/RadioCanadaBig-SemiBoldItalic.woff2") format("woff2"), url("assets/fonts/RadioCanadaBig-SemiBoldItalic.ttf") format("truetype"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Radio Canada Big"; src: url("assets/fonts/RadioCanadaBig-Bold.woff2") format("woff2"), url("assets/fonts/RadioCanadaBig-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --night: #1B1C38;
  --night-soft: #262848;
  --paper: #F7F4ED;
  --paper-tint: #EFEAE0;
  --ocher: #EB9128;
  --turquoise: #009998;
  --turquoise-deep: #006e6d; /* 5 Nov audit: darkened from #007c7b so small text passes 4.5:1 on the tint ground */
  --purple: #82368C;
  --ink: var(--night);
  --ink-muted: #51526E;
  --on-night: #F7F4ED;
  --on-night-muted: #B9BBD4;
  --rule: rgba(27, 28, 56, 0.16);
  --rule-night: rgba(247, 244, 237, 0.18);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --font: "Radio Canada Big", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root:not([data-theme="light"]) { /* fixed editorial palette in both schemes */ }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { } }
:root[data-theme="dark"] { }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.55em; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--night); color: var(--on-night); padding: 10px 18px; border-radius: 999px; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 2px; }
.band-night :focus-visible, .band-statement :focus-visible { outline-color: var(--night); }
.band-night :focus-visible { outline-color: var(--ocher); }
::selection { background: var(--ocher); color: var(--night); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  margin: 0 0 1.5rem;
}
.eyebrow-ocher { color: var(--ocher); }
.eyebrow-turquoise { color: #2FC2C0; }
.display {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  max-width: 22ch;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  text-wrap: balance;
}
.display-lg { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 18ch; }
.display em { color: var(--purple); }
.band-night .display em { color: var(--ocher); }
.soft { color: var(--ink-muted); }
.band-night .soft { color: var(--on-night-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7em 1.7em;
  border-radius: 999px;
  border: 1.5px solid var(--night);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-solid { background: var(--night); color: var(--on-night); }
.btn-solid:hover { background: var(--night-soft); }
.btn-line { background: transparent; color: var(--night); }
.btn-line:hover { background: rgba(27, 28, 56, 0.07); }
.btn-ocher { background: var(--ocher); border-color: var(--ocher); color: var(--night); font-weight: 600; }
.btn-ocher:hover { background: #F3A64A; border-color: #F3A64A; }
.text-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--ocher); }
.text-link:hover { color: var(--purple); }
.band-night .text-link:hover { color: var(--ocher); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand-logo { width: clamp(132px, 16vw, 168px); height: auto; }
.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav-menu a:not(.btn):hover { border-bottom-color: var(--ocher); }
.nav-menu .btn { min-height: 44px; padding: 0.45em 1.3em; }
.nav-toggle { display: none; }

/* ---------- Hero: type left, art plate right ---------- */
.hero { border-bottom: 1px solid var(--rule); overflow: clip; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  padding-block: clamp(40px, 7vh, 88px);
}
.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: clamp(1.6rem, 3.5vh, 2.4rem);
  text-wrap: balance;
}
.hero-title em { color: var(--purple); }
.credential { color: var(--ink-muted); font-size: 1rem; max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4rem; }
.reach-line { color: var(--ink-muted); font-size: 0.9rem; letter-spacing: 0.04em; margin: 2.4rem 0 0; }
.reach-line .dot { margin-inline: 0.6em; color: var(--ocher); }
.hero-plate {
  border-radius: var(--radius);
  background: var(--ocher);
  overflow: hidden;
  min-height: 420px;
  position: relative;
}
.hero-plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 16%;
}

/* Sequenced-conviction hero: belief lines resolve into the firm name */
.hero-beliefs { margin: 0 0 clamp(1.2rem, 2.5vh, 1.8rem); }
.hero-belief {
  display: block;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.hero-belief:nth-child(1) { color: var(--turquoise-deep); }
.hero-belief:nth-child(2) { color: var(--purple); }
.hero-belief:nth-child(3) { color: var(--night); }
.hero-sub {
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  margin: 0 0 1.6rem;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-step {
    opacity: 0;
    animation: hero-step 0.7s var(--ease) forwards;
    animation-delay: calc(var(--hs, 0) * 0.5s + 0.1s);
  }
}
@keyframes hero-step {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--rule); padding-block: 14px; background: var(--paper); }
.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-muted);
  animation: ticker 36s linear infinite;
  white-space: nowrap;
}
.tick-mark { color: var(--ocher); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Bands ---------- */
.band { padding-block: clamp(68px, 10vh, 128px); }
section[id] { scroll-margin-top: 84px; }
.band-tint { background: var(--paper-tint); }
.band-night { background: var(--night); color: var(--on-night); position: relative; overflow: clip; }
.band-night .eyebrow { color: #2FC2C0; }

/* Delivery gap */
.band-gap .gap-lines {
  position: absolute;
  left: -14%;
  bottom: -26%;
  width: min(60vw, 780px);
  opacity: 0.16;
  transform: rotate(-10deg) scaleX(-1);
  pointer-events: none;
}
.gap-text { color: var(--on-night-muted); max-width: 58ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); position: relative; margin: 0; }
.gap-text strong { color: var(--on-night); font-weight: 600; display: block; margin-top: 0.9em; }

/* Disciplines */
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(1.6rem, 3.4vw, 3rem); }
.discipline { border-top: 2px solid var(--night); padding-top: 1.2rem; }
.numeral { font-size: 0.85rem; letter-spacing: 0.2em; color: var(--purple); font-weight: 600; margin-bottom: 1rem; }
.discipline h3 { font-size: 1.35rem; }
.discipline p { color: var(--ink-muted); margin: 0; }

/* Create / Evolve / Activate */
.cea { margin-top: clamp(3rem, 6vh, 4.5rem); }
.cea-intro { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; color: var(--turquoise-deep); margin-bottom: 1.6rem; }
.cea-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.cea-item { border-left: 3px solid var(--ocher); padding-left: 1.2rem; }
.cea-item:nth-child(2) { border-left-color: var(--turquoise); }
.cea-item:nth-child(3) { border-left-color: var(--purple); }
.cea-item h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.3rem; }
.cea-item p { margin: 0; color: var(--ink-muted); font-size: 0.98rem; }

/* ---------- Selected work: visual gallery ---------- */
.work-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.work-card {
  background: var(--night-soft);
  border: 1px solid var(--rule-night);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.6); }
.work-art { height: 150px; position: relative; overflow: hidden; }
.work-art::after { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s var(--ease); }
.work-card:hover .work-art::after { transform: scale(1.05); }
.art-spiral::after { background-image: url("assets/spiral-turquoise.png"); background-color: #0b3a39; background-size: 130%; }
.art-waves::after { background-image: url("assets/waves-night.png"); background-color: var(--ocher); background-size: 220%; background-position: 30% 18%; }
.art-dots::after { background-image: url("assets/dotted-spiral.png"); background-color: var(--purple); background-size: 120%; }
.art-lines::after { background-image: url("assets/lines-white.svg"); background-color: var(--turquoise); background-size: 180%; background-position: 60% 30%; }
.art-spiral2::after { background-image: url("assets/spiral-teal.png"); background-color: var(--night); background-size: 150%; background-position: 20% 30%; }
.art-gradient::after { background-image: url("assets/nxt-gradient.webp"); }
.work-poetic { font-style: italic; font-size: 1.02rem; color: var(--ocher); margin: 1.2rem 1.4rem 0.1rem; }
.work-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 1.2rem 1.4rem 0.2rem; }
.work-poetic + h3 { margin-top: 0.2rem; }
.work-cat { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #2FC2C0; margin: 0 1.4rem 0.6rem; }
.work-desc { color: var(--on-night-muted); font-size: 0.95rem; margin: 0 1.4rem 1.4rem; }
.also-with { margin-top: 2.4rem; color: var(--on-night-muted); font-size: 0.95rem; }
.also-with span { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; color: var(--ocher); margin-right: 1em; }
.before-nxt { color: var(--on-night-muted); font-size: 0.95rem; max-width: 72ch; margin: 0.4rem 0 0; }
.before-nxt strong { color: var(--on-night); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-block: clamp(56px, 9vh, 100px) clamp(8px, 2vh, 24px); }
.page-lede { color: var(--ink-muted); max-width: 58ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 0; }
.nav-menu a[aria-current="page"] { border-bottom-color: var(--ocher); }

/* Section links */
.section-link { margin: 2.2rem 0 0; font-weight: 500; }
.text-link-night { color: var(--on-night); }
.approach-lede { color: var(--on-night-muted); max-width: 46ch; margin-bottom: clamp(1.6rem, 3vh, 2.4rem); }

/* Who we work with (what-we-do page) */
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li { display: grid; grid-template-columns: minmax(min(260px, 100%), 0.9fr) 1.4fr; gap: 0.6rem 3rem; padding-block: 1.6rem; border-top: 1px solid var(--rule); }
.who-list li:last-child { border-bottom: 1px solid var(--rule); }
.who-list h3 { font-size: 1.2rem; margin: 0 0 0.3rem; }
.who-proof { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--turquoise-deep); margin: 0; }
.who-list > li > p { margin: 0; color: var(--ink-muted); align-self: center; }

/* Practice areas (what-we-do page) */
.practice { margin-top: clamp(3.5rem, 7vh, 5.5rem); border-top: 1px solid var(--rule); padding-top: clamp(2rem, 4vh, 3rem); }
.practice-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 1.8rem; }
.practice-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.4rem 3rem; margin: 0; }
.practice-list > div { border-left: 2px solid var(--rule); padding-left: 1.1rem; transition: border-color 0.3s; }
.practice-list > div:hover { border-left-color: var(--ocher); }
.practice-list dt { font-weight: 600; margin-bottom: 0.25em; }
.practice-list dd { margin: 0; color: var(--ink-muted); font-size: 0.97rem; }
.fields-line { margin: 2.4rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }
.fields-line span { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; color: var(--turquoise-deep); margin-right: 1em; }

/* Three-offer grid and light layer cards */
.offers-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.layer-light { border-top: 2px solid var(--night); padding-top: 1.1rem; }
.layer-light h3 { font-size: 1.3rem; color: var(--purple); }
.layer-light p { color: var(--ink-muted); margin: 0; }
.cea-night .cea-item p { color: var(--on-night-muted); }
.cea-night .cea-item h3 { color: var(--on-night); }

/* Ecosystem strip */
.eco-lede { color: var(--ink-muted); margin-top: -1rem; }
.eco-strip { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.eco-strip li {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 20px;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s;
}
.eco-strip li:hover { border-color: var(--purple); color: var(--purple); }
.eco-receipts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.eco-receipts li { border-radius: 16px; padding: 16px 20px; }
.eco-name { display: block; font-weight: 600; }
.eco-receipt { display: block; font-size: 0.9rem; color: var(--ink-muted); margin-top: 3px; }
.eco-receipts li:hover .eco-receipt { color: inherit; }

/* ---------- In the rooms (photo strip) ---------- */
.band-rooms { padding-block: clamp(48px, 8vh, 96px); }
.rooms-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(0.9rem, 2vw, 1.6rem);
}
.rooms-grid figure { margin: 0; }
.rooms-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: var(--paper-tint);
}
.rooms-grid li:nth-child(4) img { object-position: 62% 40%; }
.rooms-grid figcaption {
  margin-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Stats ---------- */
.band-stats { padding-block: clamp(48px, 8vh, 88px); border-bottom: 1px solid var(--rule); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: clamp(1.6rem, 3.5vw, 3rem); }
.stat { border-left: 2px solid var(--rule); padding-left: 1.2rem; }
.stat:nth-child(1) .stat-num { color: var(--ocher); }
.stat:nth-child(2) .stat-num { color: var(--turquoise-deep); }
.stat:nth-child(3) .stat-num { color: var(--purple); }
.stat:nth-child(4) .stat-num { color: var(--night); }
.stat-num { display: block; font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 0.5rem; color: var(--ink-muted); font-size: 0.95rem; max-width: 22ch; }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.offer { border: 1.5px solid var(--night); border-radius: var(--radius); padding: clamp(1.6rem, 3.4vw, 2.6rem); background: var(--paper); }
.offer-night { background: var(--night); color: var(--on-night); border-color: var(--night); }
.offer h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.offer > p { color: var(--ink-muted); }
.offer-night > p { color: var(--on-night-muted); }
.offer ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.offer li { padding: 0.55em 0 0.55em 1.6em; position: relative; border-top: 1px solid var(--rule); font-size: 0.98rem; }
.offer-night li { border-top-color: var(--rule-night); }
.offer li::before { content: "→"; position: absolute; left: 0; color: var(--ocher); }
.offer-verb {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 0.5rem;
}
.offer-night .offer-verb { color: #2FC2C0; }
.offer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--turquoise-deep);
}
.offer-night .tag { color: var(--ocher); }
.offers-close { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; margin: 2.2rem 0 0; }
.offers-close em { color: var(--purple); }

/* ---------- Approach: copy left, full-strength spiral right ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.approach-lede { color: var(--on-night-muted); max-width: 46ch; margin-bottom: clamp(2rem, 4vh, 3rem); }
.steps { list-style: none; margin: 0 0 clamp(2rem, 4vh, 3rem); padding: 0; }
.steps li { display: flex; gap: 1.2rem; align-items: baseline; border-top: 1px solid var(--rule-night); padding-block: 1rem; }
.step-no { font-size: 0.85rem; letter-spacing: 0.2em; color: #2FC2C0; font-weight: 600; flex: 0 0 2.2em; }
.steps h3 { font-size: 1.15rem; margin: 0 0 0.15rem; display: inline; }
.steps h3::after { content: " · "; color: var(--on-night-muted); }
.steps p { color: var(--on-night-muted); margin: 0; font-size: 0.98rem; display: inline; }
.layers-close { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; max-width: 32ch; margin: 0; }
.layers-close em { color: var(--ocher); }
.approach-art { margin: 0; border-radius: var(--radius); overflow: hidden; background: #123; max-height: 560px; }
.approach-art img { width: 100%; height: 560px; object-fit: cover; object-position: 60% 20%; }

/* ---------- Statement band (ocher) ---------- */
.band-statement { background: var(--ocher); color: var(--night); padding-block: clamp(72px, 12vh, 150px); }
.statement {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 14ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.statement em { font-style: italic; }
.statement-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.4rem 3rem; max-width: 900px; }
.statement-sub p { margin: 0; font-weight: 500; border-top: 2px solid rgba(27, 28, 56, 0.35); padding-top: 0.9rem; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 110px; }
.founder-photo img { border-radius: 18px; }
.founder-copy p { max-width: 58ch; }
.facts { list-style: none; margin: 1.6rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { font-size: 0.85rem; font-weight: 500; padding: 7px 15px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-tint); }

/* ---------- Where we're going ---------- */
.band-going { background: var(--night) url("assets/nxt-gradient.webp") no-repeat right -18vw center / cover; position: relative; }
.band-going::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--night) 34%, rgba(27, 28, 56, 0.86) 62%, rgba(27, 28, 56, 0.55)); }
.band-going .wrap { position: relative; }
.going-text { color: var(--on-night-muted); max-width: 58ch; margin: 0; }
.mission { margin: clamp(2rem, 4vh, 3rem) 0 0; font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 600; max-width: 30ch; }
.mission em { color: var(--ocher); }

/* ---------- Insights ---------- */
.insight-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  border: 1.5px solid var(--night);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-decoration: none;
  max-width: 880px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -24px rgba(27, 28, 56, 0.45); }
.insight-art { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; background: var(--paper-tint); }
.insight-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.5rem; }
.insight-card h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 0; }
.insight-arrow { font-size: 1.6rem; color: var(--ocher); transition: transform 0.3s var(--ease); }
.insight-card:hover .insight-arrow { transform: translateX(6px); }

/* ---------- Contact ---------- */
.band-contact .contact-lines {
  position: absolute;
  right: -10%;
  top: -16%;
  width: min(52vw, 700px);
  opacity: 0.14;
  transform: rotate(14deg);
  pointer-events: none;
}
.contact-lede { color: var(--on-night-muted); max-width: 52ch; font-size: 1.1rem; }
.band-contact .cta-row { margin-top: 2rem; }
.contact-email { margin-top: 2rem; color: var(--on-night-muted); }
.contact-email .text-link { color: var(--on-night); }
.copy-btn {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 10px;
  min-height: 40px;
  padding: 4px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule-night);
  background: transparent;
  color: var(--on-night);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.copy-btn:hover { background: var(--on-night); color: var(--night); }
.contact-tor { color: var(--on-night-muted); font-size: 0.95rem; max-width: 56ch; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); border-top: 1px solid var(--rule-night); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: 2.2rem; }
.footer-brand { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.footer-brand img { width: 150px; height: auto; }
.footer-tag { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; border-left: 1px solid var(--rule-night); padding-left: 16px; }
.footer-legal { margin: 0; font-size: 0.9rem; }
.footer-legal .text-link { color: var(--on-night-muted); }

/* ---------- V2 draft additions ---------- */
.version-badge {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 90;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--night);
  color: var(--on-night);
  text-decoration: none;
  border: 1px solid var(--rule-night);
  box-shadow: 0 10px 24px -12px rgba(27, 28, 56, 0.5);
}
.version-badge:hover { background: var(--purple); }
.founder-compact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2.4rem 0 0;
  color: var(--on-night-muted);
  font-size: 0.98rem;
  max-width: 64ch;
}
.founder-compact img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.eyebrow-night { color: var(--night); }
.band-statement .statement-sub p { max-width: 58ch; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-plate { min-height: 300px; order: -1; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-art img { height: 320px; object-position: 12% 30%; }
}
@media (max-width: 880px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { position: static; max-width: 420px; }
  .who-list li { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 67.5em) { /* 1080px at default text size; em so the menu collapses when visitors enlarge text */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 12px;
    cursor: pointer;
  }
  .nav-toggle-line { width: 20px; height: 2px; background: var(--night); transition: transform 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 10px var(--gutter) 22px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--rule); }
  .nav-cta-item { margin-top: 16px; }
  .nav-menu .btn { width: 100%; }
  .insight-card { grid-template-columns: 1fr; }
  .insight-art { width: 100%; height: 120px; }
  .insight-arrow { display: none; }
  .statement { font-size: clamp(2.2rem, 11vw, 3.2rem); }
}

/* ==========================================================================
   Consolidation layer (20 Oct 2026): client voices, cases and value framing
   carried over from the founder-led draft, in the firm's design system.
   ========================================================================== */
.quote-side { margin: 1.6rem 0; padding-left: 1.2rem; border-left: 3px solid var(--ocher); max-width: 60ch; }
.quote-side p { font-size: 1.02rem; margin-bottom: 0.5em; }
.q-attr { font-size: 0.85rem; color: var(--ink-muted); }
.band-night .quote-side p { color: var(--on-night); }
.band-night .q-attr { color: var(--on-night-muted); }
.quote-featured { padding-block: clamp(72px, 12vh, 140px); }
.quote-featured blockquote { margin: 0; max-width: 980px; }
.qf-text { font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 1.4rem; }
.quote-featured .q-attr { font-size: 0.95rem; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(2rem, 4vw, 3.5rem); margin-top: 2.4rem; }
.case h3 { font-size: 1.3rem; }
.case-lines { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.case-lines li { padding: 0.35em 0; color: var(--on-night-muted); }
.case-lines strong { color: var(--on-night); }
.case-note { margin-top: 2rem; color: var(--on-night-muted); font-size: 0.95rem; }
.value-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.2rem 3rem; max-width: 1040px; }
.value-list p { margin: 0; color: var(--ink-muted); border-top: 1px solid var(--rule); padding-top: 0.9rem; }
.value-list strong { color: var(--ink); }
.value-intro { color: var(--ink-muted); max-width: 58ch; }
.snapshots-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.4rem 3rem; margin: 1.8rem 0; }
.snapshots-row p { margin: 0; color: var(--ink-muted); border-top: 2px solid var(--night); padding-top: 1rem; }
.snapshots-row strong { color: var(--ink); }
.quiet-block p { max-width: 68ch; color: var(--ink-muted); }
.notfit { margin: 0 0 2.6rem; padding-left: 1.3rem; color: var(--ink-muted); max-width: 60ch; }
.notfit li { padding: 0.25em 0; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.4rem 3rem; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.faq-item p { margin: 0; color: var(--ink-muted); }
.method-map { color: var(--on-night-muted); max-width: 64ch; }
.todo { background: color-mix(in srgb, var(--ocher) 28%, transparent); color: inherit; border-radius: 4px; padding: 0 4px; font-size: 0.85em; }
.band-night .todo { color: var(--night); background: var(--ocher); }

/* ==========================================================================
   Website V1 master spec (21 Oct 2026): six-page architecture components
   ========================================================================== */

/* Expertise: editorial numbered sections */
.num-section { border-top: 1px solid var(--rule); padding: clamp(2rem, 5vh, 3.5rem) 0; display: grid; grid-template-columns: minmax(80px, 160px) 1fr; gap: 1rem 3rem; }
.num-mark { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; color: var(--purple); letter-spacing: -0.02em; line-height: 1; }
.num-section h2, .num-section h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.num-section p { color: var(--ink-muted); max-width: 58ch; margin: 0; }
@media (max-width: 700px) { .num-section { grid-template-columns: 1fr; } }

/* Organisations strip: typographic marks until approved logo files land */
.org-group { margin-top: 1.8rem; }
.org-group-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--turquoise-deep); margin-bottom: 0.9rem; }
.org-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.org-grid a { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 20px; border: 1.5px solid var(--rule); border-radius: 14px; text-decoration: none; transition: border-color 0.25s; }
.org-grid a:hover { border-color: var(--purple); }
.org-name { font-weight: 600; font-size: 1rem; }
.org-rel { font-size: 0.78rem; color: var(--ink-muted); }
.org-logo { height: 34px; width: auto; max-width: 160px; object-fit: contain; }

/* Founder editorial (home) */
.founder-editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder-editorial figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.founder-editorial img { display: block; width: 100%; height: auto; }
@media (max-width: 880px) { .founder-editorial { grid-template-columns: 1fr; } }

/* Engagement cards (Work with NXT) */
.engage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(1.6rem, 3.4vw, 2.8rem); }
.engage-card { border: 1.5px solid var(--night); border-radius: var(--radius); padding: clamp(1.8rem, 3.6vw, 3rem); }
.engage-card.engage-night { background: var(--night); color: var(--on-night); border-color: var(--night); }
.engage-num { font-size: 0.85rem; letter-spacing: 0.2em; font-weight: 600; color: var(--turquoise-deep); }
.engage-night .engage-num { color: var(--ocher); }
.engage-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 0.6rem; }
.engage-lead { font-weight: 600; }
.engage-card p { color: var(--ink-muted); }
.engage-night p { color: var(--on-night-muted); }
.engage-card .engage-lead { color: var(--ink); }
.engage-night .engage-lead { color: var(--on-night); }
.engage-tags { font-style: italic; color: var(--ink-muted); }
.engage-night .engage-tags { color: var(--on-night-muted); }

/* Outcomes 2x2 */
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.6rem 3.5rem; max-width: 980px; }
.outcomes div { border-top: 1px solid var(--rule); padding-top: 1rem; }
.outcomes h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.outcomes p { margin: 0; color: var(--ink-muted); }

/* Stage feature: full frame, no crop */
.stage-feature { margin: clamp(2rem, 5vh, 3.5rem) 0; border-radius: var(--radius); overflow: hidden; }
.stage-feature img { display: block; width: 100%; height: auto; }
.stage-feature figcaption { font-size: 0.85rem; color: var(--ink-muted); padding-top: 0.6rem; }

/* Gallery: editorial asymmetric grid */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.9rem, 2vw, 1.4rem); }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--paper-tint); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 0.8rem; color: #fff; background: linear-gradient(transparent, rgba(16, 17, 34, 0.75)); }
.g-wide { grid-column: span 4; aspect-ratio: 3 / 2; }
.g-half { grid-column: span 2; aspect-ratio: 3 / 4; }
.g-third { grid-column: span 2; aspect-ratio: 4 / 3; }
.g-band { grid-column: span 6; aspect-ratio: 21 / 9; }
@media (max-width: 1080px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-wide, .g-band { grid-column: span 2; aspect-ratio: 3 / 2; }
  .g-half, .g-third { grid-column: span 1; aspect-ratio: 3 / 4; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(16, 17, 34, 0.92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; border-radius: 10px; }
.lightbox-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--on-night-muted); font-size: 0.9rem; padding: 0 60px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(247, 244, 237, 0.12); color: #fff; border: 0; border-radius: 999px;
  width: 48px; height: 48px; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(247, 244, 237, 0.26); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Quiet guided section */
.guides-block { position: relative; overflow: clip; }
.guides-block .guides-art { position: absolute; right: -8%; bottom: -30%; width: min(40vw, 480px); opacity: 0.1; pointer-events: none; }

/* Homepage revision (21 Oct, evening): tighter rhythm, heavier photography */
.band { padding-block: clamp(56px, 8.5vh, 108px); }
.hero-inner { padding-block: clamp(36px, 6vh, 72px); }
.hero-plate { min-height: 480px; }
.founder-editorial { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.founder-editorial figure img { min-height: 420px; object-fit: cover; }
.org-grid a.org-has-logo { justify-content: center; }
.org-logo { height: 42px; width: auto; max-width: 180px; object-fit: contain; display: block; margin-bottom: 4px; }

/* Review fixes (21 Oct implementation review) */
@media (max-width: 960px) {
  .hero-inner .hero-plate { order: 2; min-height: 170px; }
}
.card-link { text-decoration: none; }
.card-link:hover { text-decoration: underline; text-decoration-color: var(--ocher); text-underline-offset: 4px; }
.approach-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.approach-intro-grid p { max-width: 58ch; }
.approach-photo { margin: 0; border-radius: var(--radius); overflow: hidden; max-width: 420px; justify-self: center; }
.approach-photo img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 50% 18%; }
@media (max-width: 880px) { .approach-intro-grid { grid-template-columns: 1fr; } .approach-photo { justify-self: start; } }
.outcomes-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .outcomes-2x2 { grid-template-columns: 1fr; } }
.statement-h { font-size: clamp(1.3rem, 2.2vw, 1.8rem); max-width: 30ch; }
.page-hero { padding-block: clamp(44px, 7vh, 80px) clamp(4px, 1vh, 14px); }
@media (max-width: 1080px) {
  .g-third { grid-column: span 2; aspect-ratio: 4 / 3; }
  .g-half { grid-column: span 1; aspect-ratio: 3 / 4; }
}

/* Expertise section restyle (artifact comment, 21 Oct) */
.disciplines .discipline { border-top: 3px solid var(--purple); padding-top: 1.3rem; transition: transform 0.3s var(--ease); }
.disciplines .discipline:nth-child(2) { border-top-color: var(--turquoise); }
.disciplines .discipline:nth-child(3) { border-top-color: var(--ocher); }
.disciplines .discipline:hover { transform: translateY(-4px); }
.disciplines .numeral { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--purple); margin-bottom: 0.9rem; }
.disciplines .discipline:nth-child(2) .numeral { color: var(--turquoise-deep); }
.disciplines .discipline:nth-child(3) .numeral { color: var(--ocher); }
.disciplines .card-link::after { content: " \2192"; opacity: 0; transition: opacity 0.25s; color: var(--ocher); }
.disciplines .discipline:hover .card-link::after { opacity: 1; }

/* Expertise section, full treatment (second artifact comment) */
.band-expertise { position: relative; overflow: clip; }
.band-expertise .expertise-lines { position: absolute; right: -14%; top: -24%; width: min(50vw, 640px); opacity: 0.1; transform: rotate(10deg); pointer-events: none; }
.band-expertise .disciplines { position: relative; }
.band-expertise .discipline {
  background: rgba(247, 244, 237, 0.045);
  border-radius: 18px;
  border-top-width: 4px;
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.band-expertise .discipline:hover { background: rgba(247, 244, 237, 0.09); transform: translateY(-4px); }
.band-expertise .discipline h3 { color: var(--on-night); }
.band-expertise .discipline p { color: var(--on-night-muted); }
.band-expertise .numeral { color: var(--ocher); }
.band-expertise .discipline:nth-child(2) .numeral { color: #2FC2C0; }
.band-expertise .discipline:nth-child(3) .numeral { color: #C487CE; }
.band-expertise .discipline:nth-child(3) { border-top-color: #C487CE; }
.band-expertise .card-link { color: var(--on-night); }

/* Org strips as logo cards (artifact comment, 21 Oct: real logos, no relationship labels) */
.org-grid-logos a.org-has-logo { background: #fff; align-items: center; justify-content: center; min-height: 78px; min-width: 150px; padding: 15px 24px; }
.org-grid-logos .org-logo { height: 46px; width: auto; max-width: 200px; object-fit: contain; display: block; margin: 0; }
@media (max-width: 640px) {
  .org-grid-logos a.org-has-logo { min-height: 64px; min-width: 120px; padding: 12px 16px; flex: 1 1 40%; }
  .org-grid-logos .org-logo { height: 38px; max-width: 160px; }
}

/* NXT Evolution ecosystem orbit (artifact comment, 21 Oct) */
.band-eco .eyebrow { text-align: center; }
.eco-orbit { position: relative; max-width: 940px; margin: 1.6rem auto 0; aspect-ratio: 1000 / 560; }
.eco-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.eco-center img { width: clamp(64px, 10vw, 96px); height: auto; filter: drop-shadow(0 6px 18px rgba(27,28,56,0.18)); }
.eco-center span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--night); }
.eco-node { position: absolute; left: var(--ex); top: var(--ey); transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--rule); border-radius: 16px; padding: 13px 20px; box-shadow: 0 10px 28px rgba(27,28,56,0.08); transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s; }
.eco-node:hover { transform: translate(-50%, -50%) translateY(-4px); border-color: var(--purple); box-shadow: 0 16px 36px rgba(27,28,56,0.15); }
.eco-node img { height: clamp(32px, 4.6vw, 44px); width: auto; max-width: 180px; object-fit: contain; display: block; }
@media (max-width: 760px) {
  .eco-orbit { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .eco-rings { display: none; }
  .eco-center { position: static; transform: none; width: 100%; margin-bottom: 0.9rem; }
  .eco-node { position: static; transform: none; padding: 12px 16px; }
  .eco-node:hover { transform: translateY(-3px); }
  .eco-node img { height: 36px; max-width: 150px; }
}

/* Centered "Two ways to work together" (artifact comment, 21 Oct) */
.band-ways .display, .band-ways .section-link { text-align: center; }
.band-ways .engage { max-width: 940px; margin-left: auto; margin-right: auto; }

/* Featured quote: visible editorial treatment (artifact comment, 21 Oct) */
.quote-featured { text-align: center; }
.quote-featured .eyebrow { text-align: center; }
.quote-featured blockquote { margin: 0 auto; max-width: 900px; }
.qf-mark { display: block; font-size: clamp(4rem, 8vw, 5.5rem); line-height: 0.55; color: var(--ocher); font-weight: 600; margin: 1rem 0 1.3rem; }
.qf-text { font-style: italic; line-height: 1.42; }
.quote-featured .q-attr { display: flex; flex-direction: column; gap: 3px; align-items: center; margin-top: 1.7rem; }
.quote-featured .q-attr::before { content: ""; width: 44px; height: 3px; border-radius: 2px; background: var(--turquoise); margin-bottom: 0.75rem; }
.q-attr-name { font-weight: 600; font-size: 1rem; color: var(--ink); letter-spacing: 0.02em; }
.q-attr-role { font-size: 0.86rem; color: var(--ink-muted); }

/* Expertise page editorial rows (artifact comment, 21 Oct) */
.page-hero-exp { position: relative; overflow: hidden; }
.exp-hero-lines { position: absolute; right: -10%; top: -46%; width: min(48vw, 640px); opacity: 0.55; transform: rotate(10deg); pointer-events: none; }
.band-exp { padding-top: clamp(16px, 3vh, 36px); }
.exp-row { display: grid; grid-template-columns: repeat(2, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 5vw, 76px); align-items: center; padding: clamp(44px, 7vh, 76px) 0; }
.exp-row + .exp-row { border-top: 1px solid var(--rule); }
.exp-num { font-size: clamp(3.2rem, 6.5vw, 5rem); font-weight: 600; line-height: 1; color: var(--acc); margin-bottom: 0.5rem; }
.exp-row h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1rem; }
.exp-row h2::after { content: ""; display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--acc); margin-top: 0.9rem; }
.exp-row p { color: var(--ink-muted); max-width: 50ch; }
.exp-row .section-link { margin-top: 1.2rem; }
.exp-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 18px 44px rgba(27, 28, 56, 0.14); }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-row-flip .exp-copy { order: 2; }
.exp-row-flip .exp-photo { order: 1; }
@media (max-width: 760px) {
  .exp-row { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .exp-row-flip .exp-copy { order: 1; }
  .exp-row-flip .exp-photo { order: 2; }
  .exp-photo { aspect-ratio: 16 / 10; }
}

/* Approach intro: fuller composition, no dead space (artifact comment, 21 Oct) */
.band:has(.approach-intro-grid) { padding-block: clamp(44px, 7vh, 80px); }
.approach-statement { border-left: 4px solid var(--turquoise); padding-left: clamp(18px, 2.5vw, 34px); }
.approach-statement .eyebrow { margin-bottom: 1rem; }
.approach-lead { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; }
.approach-statement p + p { margin-top: 1.1rem; }
.approach-statement > p:last-child { color: var(--ink-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; }
.approach-photo { max-width: 400px; }
.approach-photo img { max-height: 430px; }
@media (max-width: 880px) { .approach-photo img { max-height: 360px; } }

/* Rotating logo marquee on Selected Experience (artifact comment, 21 Oct) */
.band-marquee { overflow: hidden; padding-bottom: clamp(48px, 8vh, 96px); }
.band-marquee .eyebrow { text-align: center; }
.marquee { overflow: hidden; margin-top: 1.8rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 18px; padding-right: 18px; align-items: center; }
.m-card { flex: none; display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--rule); border-radius: 16px; padding: 14px 26px; transition: border-color 0.25s; }
.m-card:hover { border-color: var(--purple); }
.m-card img { height: 44px; width: auto; max-width: 180px; object-fit: contain; display: block; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) { .m-card { padding: 11px 18px; } .m-card img { height: 36px; max-width: 150px; } }

/* Full ecosystem: inner ring + name cards (Soumeya's list, artifact comment 21 Oct) */
.eco-orbit { max-width: 1000px; }
.eco-node img { height: clamp(28px, 3.8vw, 38px); max-width: 150px; }
.eco-node { padding: 11px 16px; }
.eco-node-inner { padding: 8px 13px; }
.eco-node-inner img { height: clamp(22px, 3vw, 30px); max-width: 120px; }
.eco-name-card { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
span.eco-node { cursor: default; }
.m-card.m-name { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
@media (max-width: 760px) {
  .eco-node img, .eco-node-inner img { height: 32px; max-width: 140px; }
}

/* i4Policy: official white mark inverted for light cards (artifact comment, 21 Oct) */
.logo-invert { filter: invert(1); opacity: 0.88; }

/* "Two ways to work together": premium card treatment (artifact comment, 21 Oct) */
.band-ways .engage { margin-top: 2.2rem; }
.band-ways .engage-card { position: relative; background: #fff; border: none; box-shadow: 0 14px 40px rgba(27, 28, 56, 0.10); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.band-ways .engage-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--ocher), #F3B96B); }
.band-ways .engage-card.engage-night { background: linear-gradient(135deg, var(--night), var(--night-soft)); }
.band-ways .engage-card.engage-night::before { background: linear-gradient(90deg, var(--turquoise), #2FC2C0); }
.band-ways .engage-card:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(27, 28, 56, 0.16); }
.band-ways .engage-tags { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.band-ways .engage-night .engage-tags { border-top-color: var(--rule-night); }
.band-ways .engage-card .cta-row { margin-top: 1.5rem; }
.engage-night-art { position: absolute; right: -16%; bottom: -34%; width: 72%; opacity: 0.13; transform: rotate(-12deg); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .band-ways .engage-card:hover { transform: none; } }
.band-ways .display { margin-inline: auto; }

/* Ecosystem centre: slow sunburst rotation (artifact comment, 21 Oct) */
.eco-center img { animation: eco-spin 240s linear infinite; }
@keyframes eco-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .eco-center img { animation: none; } }

/* Compact homepage testimonial below the founder block (artifact comment, 21 Oct) */
.quote-compact { padding-block: clamp(44px, 7vh, 78px); }
.quote-compact .qf-text { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.quote-compact .qf-mark { font-size: clamp(2.8rem, 5vw, 3.8rem); margin: 0.3rem 0 1rem; }
.quote-compact .q-attr { margin-top: 1.3rem; }

/* "Seeing the whole system": nested-rings system diagram (artifact comment, 21 Oct) */
.system-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.system-copy .gap-text { max-width: 44ch; }
.system-diagram { max-width: 440px; justify-self: center; width: 100%; }
.system-diagram svg { display: block; width: 100%; height: auto; animation: sys-breathe 9s ease-in-out infinite alternate; }
.sys-rings { transform-origin: 50% 50%; animation: sys-rotate 160s linear infinite; }
.sys-labels { font-family: var(--font); }
@keyframes sys-rotate { to { transform: rotate(360deg); } }
@keyframes sys-breathe { from { transform: scale(1); } to { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .system-diagram svg, .sys-rings { animation: none; } }
@media (max-width: 880px) {
  .system-grid { grid-template-columns: 1fr; }
  .system-diagram { max-width: 330px; }
}

/* Homepage photo filmstrip (artifact comment, 21 Oct) */
.photo-marquee { overflow: hidden; padding-bottom: clamp(48px, 8vh, 96px); }
.photo-marquee .eyebrow { text-align: center; }
.photo-marquee .marquee { margin-top: 1.7rem; }
.photo-marquee .marquee-track { animation-duration: 85s; }
.photo-marquee .marquee-group { gap: 14px; padding-right: 14px; align-items: center; }
.photo-marquee .marquee-group img { height: clamp(150px, 24vh, 230px); width: auto; border-radius: 14px; display: block; box-shadow: 0 10px 26px rgba(27, 28, 56, 0.12); }
@media (prefers-reduced-motion: reduce) { .photo-marquee .marquee-group img { height: 140px; } }

/* System band: gradient depth (artifact comment, 21 Oct: prettier, adapted colours) */
.band-system { background: linear-gradient(155deg, #1B1C38 0%, #222348 48%, #1B1C38 100%); }
.band-system .gap-text { color: var(--on-night-muted); }

/* System diagram: brand shapes (artifact comment, 21 Oct) */
.band-system { position: relative; overflow: hidden; }
.sys-lines { position: absolute; left: -14%; bottom: -34%; width: min(50vw, 640px); opacity: 0.12; transform: rotate(-14deg); pointer-events: none; }
.system-diagram { position: relative; }
.system-diagram svg { position: relative; z-index: 1; }
.sys-spiral { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; opacity: 0.28; animation: sys-rotate 220s linear infinite reverse; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .sys-spiral { animation: none; } }

/* Expertise band rebalanced to light + ecosystem heading + Afkar square logo (artifact comments, 22 Oct) */
.band-tint.band-expertise .expertise-lines { opacity: 0.5; }
.band-tint.band-expertise .discipline { background: #fff; box-shadow: 0 12px 32px rgba(27, 28, 56, 0.08); }
.band-tint.band-expertise .discipline:hover { background: #fff; }
.band-tint.band-expertise .discipline h3, .band-tint.band-expertise .card-link { color: var(--ink); }
.band-tint.band-expertise .discipline p { color: var(--ink-muted); }
.band-tint.band-expertise .discipline:nth-child(2) .numeral { color: var(--turquoise-deep); }
.band-tint.band-expertise .discipline:nth-child(3) .numeral { color: var(--purple); }
.eco-heading { text-align: center; margin-inline: auto; }
.band-eco .eco-orbit { margin-top: 2rem; }
.eco-node img[src*="afkar"] { height: 48px; max-width: 48px; }
.m-card img[src*="afkar"] { height: 48px; max-width: 48px; }
.photo-marquee { padding-top: clamp(40px, 6vh, 72px); }
.photo-marquee .marquee { margin-top: 0; }

/* 22 Oct implementation: verified fixes, attribution and founder visibility */
/* Mobile: the 21 Oct homepage revision overrode the single-column founder layout at every width */
@media (max-width: 880px) {
  .founder-editorial { grid-template-columns: 1fr; }
  .founder-editorial figure img { min-height: 0; max-height: 440px; }
}
/* Ecosystem groups: marker dot per group, legend under the orbit */
.eco-node[data-group]::after, .eco-legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.eco-node[data-group]::after { position: absolute; top: -4px; right: -4px; box-shadow: 0 0 0 3px var(--paper-tint); }
[data-group="eng"]::after, .eco-legend [data-group="eng"]::before { background: var(--ocher); }
[data-group="col"]::after, .eco-legend [data-group="col"]::before { background: var(--turquoise); }
[data-group="prev"]::after, .eco-legend [data-group="prev"]::before { background: var(--purple); }
.eco-legend { list-style: none; padding: 0; margin: 1.6rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; font-size: 0.86rem; font-weight: 500; color: var(--ink-muted); }
.eco-legend li { display: inline-flex; align-items: center; gap: 0.55rem; }
@media (max-width: 760px) {
  .band-eco .eco-node { position: relative; left: auto; top: auto; }
  .band-eco .eco-node[data-group="eng"] { order: 1; }
  .band-eco .eco-node[data-group="col"] { order: 2; }
  .band-eco .eco-node[data-group="prev"] { order: 3; }
}
/* Selected Experience: grouped, static ecosystem */
.eco-group { margin-top: 2.2rem; }
.eco-group-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; margin: 0 0 1rem; }
.eco-group-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.eco-group[data-group="eng"] .eco-group-title::before { background: var(--ocher); }
.eco-group[data-group="col"] .eco-group-title::before { background: var(--turquoise); }
.eco-group[data-group="prev"] .eco-group-title::before { background: var(--purple); }
.eco-group-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.eco-group-list li { display: flex; flex-direction: column; gap: 0.45rem; }
.eg-card { display: flex; align-items: center; justify-content: center; min-height: 84px; background: #fff; border: 1.5px solid var(--rule); border-radius: 16px; padding: 14px 20px; transition: border-color 0.25s, transform 0.3s var(--ease); }
a.eg-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.eg-card img { height: 42px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.eg-card img[src*="afkar"] { height: 52px; max-width: 52px; }
.eg-name { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.eg-cap { font-size: 0.82rem; color: var(--ink-muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { a.eg-card:hover { transform: none; } }
/* Founder credentials */
.cred-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.55rem; }
.cred-list li { position: relative; padding-left: 1.3rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--ocher); }
.cred-list-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 2rem; max-width: 68ch; margin-bottom: 1.6rem; }
@media (max-width: 700px) { .cred-list-wide { grid-template-columns: 1fr; } }
/* Testimonial context line */
.q-context { display: block; margin-top: 0.3rem; font-size: 0.8rem; font-style: italic; color: var(--ink-muted); }
.quote-side .q-attr .q-context { font-weight: 400; }
/* How an engagement begins */
.begin-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.4rem); }
.begin-steps li { border-top: 2px solid var(--rule); padding-top: 1.2rem; }
.begin-steps li:first-child { border-top-color: var(--ocher); }
.begin-steps .step-no { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; color: var(--turquoise-deep); margin-bottom: 0.6rem; }
.begin-steps h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.begin-steps p { margin: 0; color: var(--ink-muted); }
@media (max-width: 760px) { .begin-steps { grid-template-columns: 1fr; } }
/* Accessibility: AA contrast for small teal labels on tinted bands; gallery opener is a real button */
.band-tint .eyebrow, .band-tint .work-cat, .band-tint [style*="turquoise-deep"] { color: #006968 !important; }
.gallery figure { position: relative; }
.g-open { position: absolute; inset: 0; width: 100%; height: 100%; background: none; border: 0; padding: 0; cursor: zoom-in; border-radius: inherit; }
.g-open:focus-visible { outline: 3px solid var(--ocher); outline-offset: 3px; }
/* About: the rounded-corner clip was cutting the first letter of the photo caption */
.stage-feature { overflow: visible; }
.stage-feature img { border-radius: var(--radius); }

/* Sub-page design pass: band rhythm, About restructure, nav rename (22 Oct) */
.about-statement > p:not(.approach-lead):not(.eyebrow) { color: var(--ink-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; max-width: 62ch; }
.about-statement .eyebrow { margin-bottom: 1rem; }
.founder-band { position: relative; overflow: hidden; }
.founder-band-lines { position: absolute; right: -12%; bottom: -34%; width: min(46vw, 600px); opacity: 0.12; transform: rotate(10deg); pointer-events: none; }
.founder-band-grid { display: grid; grid-template-columns: minmax(min(260px, 100%), 0.75fr) minmax(min(300px, 100%), 1.25fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; position: relative; }
.founder-band .founder-photo { position: static; max-width: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35); }
.founder-band .founder-photo img { border-radius: 0; display: block; width: 100%; height: auto; }
.founder-band h2 { color: var(--on-night); }
.founder-role { color: var(--on-night-muted); }
.founder-band .cred-list li { color: var(--on-night-muted); }
.band-night .about-story p { color: var(--on-night-muted); }
.story-cols { display: grid; grid-template-columns: repeat(2, minmax(min(300px, 100%), 1fr)); gap: clamp(1.4rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem); margin-top: 1.8rem; }
.story-cols p { color: var(--ink-muted); max-width: 58ch; }
.btn-line-night { color: var(--on-night); border-color: var(--rule-night); }
.btn-line-night:hover { background: rgba(247, 244, 237, 0.08); }
.steps li:nth-child(2) .step-no { color: var(--ocher); }
.steps li:nth-child(3) .step-no { color: #C487CE; }
.steps li:nth-child(4) .step-no { color: #F3B96B; }
.band-exp .exp-row + .exp-row { border-top: none; }

/* Rotating testimonials on Home (artifact comment, 4 Nov) */
.qf-carousel { max-width: 900px; margin: 0 auto; }
.qf-slides { display: grid; }
.qf-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s; display: flex; flex-direction: column; justify-content: center; }
.qf-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s; }
.qf-controls { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.9rem; }
.qf-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--rule); background: #fff; color: var(--night); font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.25s, background-color 0.25s; }
.qf-arrow:hover { border-color: var(--purple); }
.qf-dots { display: flex; gap: 8px; }
.qf-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; background: rgba(27, 28, 56, 0.22); cursor: pointer; transition: background-color 0.25s, width 0.3s var(--ease); }
.qf-dot.is-active { width: 26px; border-radius: 5px; background: var(--ocher); }
.qf-arrow:focus-visible, .qf-dot:focus-visible { outline: 2px solid var(--turquoise-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .qf-slide, .qf-slide.is-active { transition: none; transform: none; } }

/* ==========================================================================
   Audit fixes (5 Nov 2026, approved by Soumeya: "Do all agreed fixes")
   ========================================================================== */

/* Bug: About grids never stacked on phones (page was 648px wide at 375) */
.story-cols { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
@media (max-width: 760px) {
  .founder-band-grid { grid-template-columns: minmax(0, 1fr); }
  .founder-band .founder-photo { max-width: 320px; }
}

/* Bug: the menu close icon — the sr-only label is the toggle's last child, so :last-child never matched */
@media (max-width: 67.5em) { /* 1080px at default text size; em so the menu collapses when visitors enlarge text */
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* Content stays visible without JavaScript: .reveal only hides once the head script has confirmed JS runs */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* Calm motion (approved direction: one moving thing). The testimonial rotation is the only ambient motion left on Home */
.system-diagram svg, .sys-rings, .sys-spiral, .eco-center img { animation: none; }

/* Testimonial carousel: visible pause control (WCAG 2.2.2) and 24px+ tap targets (WCAG 2.5.8) */
.qf-arrow { width: 44px; height: 44px; }
.qf-dots { gap: 0; }
.qf-dot { position: relative; width: 24px; height: 24px; border-radius: 0; background: transparent; }
.qf-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 5px; background: rgba(27, 28, 56, 0.22); transform: translate(-50%, -50%); transition: background-color 0.25s, width 0.3s var(--ease); }
.qf-dot.is-active { width: 34px; border-radius: 0; background: transparent; }
.qf-dot.is-active::after { width: 26px; background: var(--ocher); }
.qf-pause-icon { position: relative; display: block; width: 12px; height: 12px; }
.qf-pause-icon::before, .qf-pause-icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 12px; border-radius: 1px; background: currentColor; }
.qf-pause-icon::before { left: 1px; }
.qf-pause-icon::after { right: 1px; }
.qf-pause.is-paused .qf-pause-icon::after { display: none; }
.qf-pause.is-paused .qf-pause-icon::before { left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
@media (max-width: 420px) { .qf-controls { gap: 0.6rem; } }

/* Ecosystem: still grid, no group labels, brand colour accents only (approved direction, 5 Nov) */
.eco-grid { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.eco-grid li { flex: 0 0 calc((100% - 6 * 14px) / 7); display: flex; }
.eco-card { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 18px 14px; background: #fff; border-radius: 16px; box-shadow: 0 10px 28px rgba(27, 28, 56, 0.07); overflow: hidden; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.eco-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ocher); }
.eco-grid li:nth-child(3n+2) .eco-card::before { background: var(--turquoise); }
.eco-grid li:nth-child(3n) .eco-card::before { background: var(--purple); }
.eco-card img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.eco-card img[src*="afkar"] { height: 52px; }
@media (hover: hover) and (pointer: fine) {
  a.eco-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(27, 28, 56, 0.13); }
}
@media (max-width: 1080px) { .eco-grid li { flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 640px) {
  .eco-grid { gap: 10px; }
  .eco-grid li { flex-basis: calc((100% - 10px) / 2); }
  .eco-card { min-height: 80px; }
  .eco-card img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { a.eco-card:hover { transform: none; } }

/* Approach: the system diagram sits beside "How we work" (moved from Home, 5 Nov) */
.approach-system { align-items: center; }
.approach-system .steps { margin-bottom: 0; }
.approach-system .steps h3, .approach-system .steps p { display: block; }
.approach-system .steps h3::after { content: none; }
.approach-system .steps h3 { margin-bottom: 0.3rem; }

/* Photo filmstrip pause control */
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-controls { display: flex; justify-content: center; margin-top: 1.2rem; }

/* Touch layer (mobile-native audit, 5 Nov) */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
a, button { touch-action: manipulation; }
.btn, .qf-arrow, .qf-dot, .nav-toggle { -webkit-user-select: none; user-select: none; }
/* press feedback, which touch users get on every tap */
.btn:active { transform: scale(0.97); transition-duration: 0.12s; }
.qf-arrow:active { transform: scale(0.94); }
/* hover lifts would otherwise stick after a tap on phones and tablets */
@media (hover: none) {
  .btn:hover, .band-ways .engage-card:hover, a.eg-card:hover, .disciplines .discipline:hover,
  .band-expertise .discipline:hover, a.eco-card:hover, .gallery figure:hover img { transform: none; }
  .btn:active { transform: scale(0.97); }
}
/* Ecosystem moves to a night band now that "Seeing the whole system" left Home (keeps paper / tint / night alternating) */
.band-night.band-eco .eco-card { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); }

/* ── Launch pages (11 Nov 2026): legal notice + 404 ── */
.legal-band { padding-top: clamp(24px, 4vh, 48px); }
.legal-wrap { display: grid; gap: clamp(40px, 6vw, 72px); }
.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 2.2rem 0 0.7rem; color: var(--night); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { color: var(--ink-muted); line-height: 1.65; margin: 0 0 1rem; max-width: 68ch; }
.legal-doc p strong { color: var(--ink); }
.legal-list { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.55rem 1.4rem; margin: 1.2rem 0 0; padding: 1.2rem 0; border-block: 1px solid rgba(27, 28, 56, 0.12); }
.legal-list dt { font-weight: 600; color: var(--ink); }
.legal-list dd { margin: 0; color: var(--ink-muted); overflow-wrap: anywhere; }
.legal-fr { padding-top: clamp(28px, 4vw, 48px); border-top: 3px solid var(--ocher); }
.legal-fr p { font-size: 0.95rem; }
.legal-updated { font-size: 0.85rem; }
.tbc { background: #fdecd5; color: #8a4b00; border: 1px dashed var(--ocher); border-radius: 4px; padding: 0 0.35em; font-weight: 600; }
@media (max-width: 560px) { .legal-list { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } .legal-list dd { margin-bottom: 0.7rem; } }
.notfound { position: relative; overflow: hidden; min-height: 62vh; display: flex; align-items: center; }
.notfound .wrap { position: relative; }
.notfound-lede { color: var(--ink-muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 46ch; margin: 1.2rem 0 2rem; }
