/* Systems Impact — site styles.
   Extracted verbatim from the former inline <style> in index.html.
   Single source for /en/, /fr/ and the use-cases pages. */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --paper: #FBF9F4;
  --paper-warm: #F4EFE5;
  --ink: #141210;
  --ink-2: #3a3530;
  --muted: #8a847b;
  --line: #e6e1d6;
  --line-2: #d6cfbe;
  --accent: #D6612A;
  --accent-d: #9a4419;
  --forest: #0A4E3F;
  --forest-2: #236B5C;
  --glow: #FFE9D5;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.06  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: inherit;
  text-decoration: none
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink)
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem)
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem)
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem)
}

.italic {
  font-style: italic;
  color: var(--forest)
}

p {
  font-size: clamp(.98rem, 1.15vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink-2)
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2
}

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6rem
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent)
}

/* NAV */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(251, 249, 244, .78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s
}

header.nav.scrolled {
  border-bottom-color: var(--line)
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 10px
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-d) 80%);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--accent);
  animation: pulse 3.6s ease-in-out infinite
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

/* gap was 28px when this nav held 5 links. It now holds 6 + a language switcher,
   and FR labels are longer, so 28px overflowed .nav-inner and wrapped the bar to
   two lines. 20px restores headroom in both locales. */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center
}

.nav-links a {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--ink-2);
  text-transform: lowercase;
  white-space: nowrap
}

.nav-links a:hover {
  color: var(--accent)
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 52;
  position: relative
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .2s
}

.hamburger span+span {
  margin-top: 5px
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  padding: .85rem 1.3rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s, background .25s, box-shadow .25s
}

/* Desktop only. Below the overlay breakpoint the bar is just brand + hamburger +
   CTA, and it relies on the brand and CTA wrapping to two lines to fit a 375px
   screen — pinning them to one line there pushes the CTA off-viewport. */
@media (min-width:1025px) {

  .brand,
  .nav-inner>.btn {
    flex-shrink: 0;
    white-space: nowrap
  }
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 24px -10px var(--accent)
}

.btn--ghost {
  background: transparent;
  color: var(--ink)
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink)
}

.btn .arr {
  transition: transform .25s
}

.btn:hover .arr {
  transform: translateX(3px)
}

/* HERO */
.hero {
  padding: 200px 0 110px;
  position: relative
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.hero-tag {
  margin-bottom: 28px
}

/* Stagger is driven by each word's own --i index rather than :nth-child, because
   the <br>s in the h1 occupy child positions too — which silently swallowed two
   delays and left the last line un-staggered. Indexing the words directly also
   keeps the effect independent of word count, so EN and FR headlines differ
   freely. Keep --i sequential from 0 on every .word span. */
.hero h1 .word {
  display: inline-block;
  animation: rise .9s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * .07s)
}

/* French headlines run ~15-20% longer and contain long unbreakable words; the
   clamp floor leaves no room to shrink at 320px. */
.hero h1 {
  overflow-wrap: break-word;
  hyphens: auto
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-sub {
  max-width: 520px;
  margin-top: 30px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-2)
}

.hero-sub strong {
  color: var(--ink);
  font-weight: 500
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  align-items: center
}

.triplet {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap
}

.triplet .step {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.triplet .step b {
  color: var(--accent);
  font-weight: 500
}

.triplet .step.done b {
  color: var(--ink)
}

.triplet .arrow {
  width: 14px;
  height: 1px;
  background: var(--line-2)
}

/* STAGE — MYCELIUM */
.stage {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 600px;
  justify-self: end;
  width: 100%
}

.stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible
}

.myc-thread {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  animation: grow 9s ease-in-out infinite;
  pathLength: 100
}

@keyframes grow {
  0% {
    stroke-dashoffset: 100;
    opacity: 0
  }

  18% {
    opacity: .85
  }

  62% {
    stroke-dashoffset: 0;
    opacity: .9
  }

  100% {
    stroke-dashoffset: -100;
    opacity: 0
  }
}

.myc-thread.t-orange {
  stroke: var(--accent);
  stroke-opacity: .55;
  stroke-width: 1.1
}

.myc-thread.t-forest {
  stroke: var(--forest);
  stroke-opacity: .4;
  stroke-width: .9
}

.myc-thread.t-fine {
  stroke: var(--accent);
  stroke-opacity: .35;
  stroke-width: .7
}

.myc-node {
  fill: var(--accent);
  transform-origin: center;
  transform-box: fill-box;
  animation: breathe 4.5s ease-in-out infinite
}

.myc-node.large {
  r: 6
}

.myc-node.med {
  r: 4.5
}

.myc-node.small {
  r: 3.2
}

.myc-node.alt {
  fill: var(--forest)
}

@keyframes breathe {

  0%,
  100% {
    opacity: .65;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.25)
  }
}

.spore {
  fill: var(--accent);
  opacity: 0;
  animation: drift 8s ease-in-out infinite
}

.spore.alt {
  fill: var(--forest)
}

@keyframes drift {
  0% {
    opacity: 0;
    transform: translate(0, 0)
  }

  25% {
    opacity: .9
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx, 30px), var(--dy, 30px))
  }
}

.flow-particle {
  r: 2.6;
  fill: var(--accent)
}

.flow-particle.f {
  r: 2.2;
  fill: var(--forest)
}

/* WORKED WITH */
.worked-with {
  padding: 56px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.worked-with .label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px
}

.logos-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-logos 60s linear infinite
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  max-width: 150px;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .35s, opacity .35s;
  flex-shrink: 0
}

.logo-img:hover {
  filter: grayscale(0);
  opacity: 1
}

/* SECTION */
section {
  padding: 130px 0;
  position: relative
}

.section-head {
  margin-bottom: 48px
}

.section-head .eyebrow {
  margin-bottom: 24px;
  display: inline-flex
}

.section-head h2 .italic {
  display: block
}

/* AI & AUTOMATION (text-first quote-like) */
.aiauto {
  background: var(--paper-warm)
}

.aiauto-grid {
  display: grid;
  grid-template-columns: .45fr .55fr;
  gap: 64px;
  align-items: start
}

.aiauto-grid .lead {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink)
}

.aiauto-grid .lead .italic {
  display: block
}

.aiauto-grid .body {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.aiauto-grid .body p {
  font-size: 1.05rem;
  line-height: 1.7
}

.aiauto-grid .body .track {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-2);
  letter-spacing: .02em;
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  background: var(--paper);
  line-height: 1.6
}

.aiauto-grid .body .track strong {
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
  display: block;
  margin-bottom: 6px
}

/* AI-NATIVE */
.ainat {
  background: var(--paper-warm);
}

.ainat-body {
  display: block;
  max-width: 860px;
  margin-top: 24px
}

.ainat-body p {
  font-size: 1.15rem;
  line-height: 1.7
}

.ainat-callout {
  margin-top: 48px;
  padding: 40px 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center
}

.ainat-callout .symbol {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.5rem;
  line-height: .7;
  color: var(--accent)
}

.ainat-callout p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.4
}

.ainat-callout strong {
  color: var(--paper);
  font-weight: 500
}

.engine-section {
  background: var(--paper-warm);
  padding: 130px 0;
  border-top: 1px solid var(--line);
}

.engine-header {
  margin-bottom: 56px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.engine-visual {
  max-width: 85%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.engine-visual img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* HOW WE WORK */
.how {
  background: var(--paper-warm)
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 24px
}

.how-card {
  background: var(--paper);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px
}

.how-card .num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500
}

.how-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400
}

.how-card p {
  font-size: .98rem;
  line-height: 1.6
}

/* SIGNALS / SYMPTOMS */
.signals {
  background: var(--paper-warm)
}

.signals-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px
}

.signals-head .eyebrow {
  margin-bottom: 24px;
  display: inline-flex
}

.signals-head h2 .italic {
  display: block
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 24px
}

/* top row: 2 wide cards — bottom row: 3 cards */
.signals-grid>article:nth-child(1),
.signals-grid>article:nth-child(2) {
  grid-column: span 3
}

.signals-grid>article:nth-child(3),
.signals-grid>article:nth-child(4),
.signals-grid>article:nth-child(5) {
  grid-column: span 2
}

.signal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .3s, box-shadow .3s
}

.signal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -14px rgba(10, 78, 63, .12)
}

.signal-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: .4rem .8rem;
  border-radius: 999px;
  line-height: 1
}

.signal-tag.tag-1 {
  color: #3a5a8c;
  background: #e8eef7
}

.signal-tag.tag-2 {
  color: var(--forest);
  background: #e3efe9
}

.signal-tag.tag-3 {
  color: #5b4a93;
  background: #ece7f5
}

.signal-tag.tag-4 {
  color: var(--accent-d);
  background: #f6ecdf
}

.signal-tag.tag-5 {
  color: #9a4a4a;
  background: #f6e8e6
}

.signal-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0
}

.signal-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--forest);
  border-left: 2px solid var(--line-2);
  padding-left: 18px;
  margin: 0
}

.signal-label {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0
}

.signal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0
}

.signal-list li {
  position: relative;
  padding-left: 20px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink-2)
}

.signal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent)
}

@media (max-width:900px) {
  .signals-grid {
    grid-template-columns: 1fr
  }

  .signals-grid>article:nth-child(n) {
    grid-column: auto
  }
}

/* OUR APPROACH (deep) */
.approach-deep {
  background: var(--paper)
}

.approach-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px
}

.approach-head .eyebrow {
  margin-bottom: 24px;
  display: inline-flex
}

.approach-head h2 .italic {
  display: block
}

.approach-lead {
  max-width: 760px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-2)
}

.approach-cue {
  text-align: center;
  margin: 0 auto 80px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--forest)
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto
}

.model-text h3,
.engine-block h3,
.action-block h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 20px;
  color: var(--ink)
}

.model-text p,
.engine-block p,
.action-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px
}

.model-text p strong {
  color: var(--ink);
  font-weight: 500
}

.approach-divider {
  position: relative;
  height: 1px;
  max-width: 280px;
  margin: 100px auto;
  background: var(--line-2)
}

.approach-divider span {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 16px;
  color: var(--accent);
  font-size: 1.2rem
}

.engine-block,
.action-block {
  max-width: 780px;
  margin: 0 auto 56px
}

.action-block .tradeoffs em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--forest);
  font-size: 1.1rem
}

.approach-closing {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  max-width: 820px;
  margin: 80px auto 0;
  padding-top: 60px;
  border-top: 1px solid var(--line-2);
  letter-spacing: -.01em
}

/* HUMAN IN THE LOOP */
.approach-human {
  max-width: 1080px;
  margin: 96px auto 0;
  padding-top: 72px;
  border-top: 1px solid var(--line-2)
}

.approach-human .approach-lead {
  max-width: 820px
}

.approach-human .approach-lead strong {
  color: var(--ink);
  font-weight: 500
}

.human-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 44px 0 0
}

.human-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  position: relative
}

.human-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 16px
}

.human-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px
}

.human-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2)
}

.approach-human-closing {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 780px;
  margin: 48px auto 0
}

.approach-human-closing .italic {
  color: var(--forest);
  font-style: italic
}

/* THE ENGINE */
.engine {
  background: var(--paper-warm);
  position: relative
}

.engine-intro {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 56px
}

.engine-intro .eyebrow {
  margin-bottom: 24px;
  display: inline-flex
}

.engine-intro h2 {
  color: var(--ink)
}

.engine-intro h2 .italic {
  color: var(--accent)
}

.engine-intro p {
  color: var(--ink-2);
  margin-top: 20px;
  font-size: 1.06rem;
  line-height: 1.7
}

.engine-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto 36px
}

.engine-synthesis {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink)
}

.engine-synthesis .italic {
  color: var(--accent);
  font-style: italic
}

.engine-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s, border-color .3s, box-shadow .3s
}

.engine-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 12px 32px -16px rgba(20, 18, 16, .25)
}

.engine-card-status {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .72rem;
  border-radius: 999px;
  line-height: 1
}

.engine-card-status.live {
  color: var(--forest);
  background: rgba(35, 107, 92, .12)
}

.engine-card-status.soon {
  color: var(--accent-d);
  background: rgba(214, 97, 42, .12)
}

.engine-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0
}

.engine-card p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0
}

.engine-card-foot {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto
}

/* ENGINE DASHBOARD (recreated in brand palette) */
.dash-wrap {
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.dash {
  min-width: 940px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink);
  --r-high: #c0492b;
  --r-crit: #99291a;
  --r-med: #b9842a
}

/* one-by-one reveal */
.dp {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform
}

.dp.show {
  opacity: 1;
  transform: none
}

/* topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 16px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line)
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-size: 13px
}

.dash-logo .dot {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-d))
}

.dash-title {
  font-weight: 500;
  font-size: 12px
}

.dash-beta {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  margin-left: 6px
}

.dash-usecase {
  margin-left: 6px;
  line-height: 1.25
}

.dash-usecase .k {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  color: var(--muted)
}

.dash-usecase .v {
  font-weight: 500;
  font-size: 11.5px
}

.dash-spacer {
  flex: 1
}

.dash-session {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 3px
}

.dash-session .on::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  margin-right: 5px
}

.dash-btn {
  font-family: var(--mono);
  font-size: 9px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: .2s
}

.dash-btn:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.dash-ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--forest))
}

.dash-body {
  display: grid;
  grid-template-columns: 150px 1fr
}

/* sidebar */
.dash-sidebar {
  background: var(--paper-warm);
  border-right: 1px solid var(--line);
  padding: 10px 0;
  display: flex;
  flex-direction: column
}

.dash-nav button {
  text-align: left;
  font-family: inherit;
  font-size: 11px;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  padding: 8px 14px;
  cursor: pointer;
  transition: .18s;
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%
}

.dash-nav button:hover {
  background: rgba(214, 97, 42, .06);
  color: var(--ink)
}

.dash-nav button.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(214, 97, 42, .08);
  font-weight: 500
}

.dash-nav .ic {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--line-2)
}

.dash-nav button:hover .ic,
.dash-nav button.active .ic {
  background: var(--accent)
}

.dash-conf {
  margin-top: auto;
  padding: 16px 14px 8px;
  text-align: center
}

.dash-gauge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 8px;
  background: conic-gradient(var(--forest) 0 62%, var(--line-2) 62% 100%);
  display: grid;
  place-items: center;
  position: relative
}

.dash-gauge::before {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--paper-warm);
  border-radius: 50%
}

.dash-gauge span {
  position: relative;
  font-weight: 600;
  font-size: 12px;
  color: var(--forest)
}

.dash-conf .lbl {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  color: var(--muted);
  line-height: 1.5
}

/* main */
.dash-main {
  display: grid;
  grid-template-columns: 1fr 282px;
  gap: 12px;
  padding: 13px;
  align-items: start;
  background: var(--paper)
}

.dash-content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0
}

.dash-rail {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.dp-grid3 {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px
}

.dp-pillars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px
}

.dp-grid-mid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.15fr;
  gap: 12px
}

.dp-grid-bot {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 1fr;
  gap: 12px
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  transition: box-shadow .25s, border-color .25s;
  cursor: pointer
}

.panel:hover {
  border-color: var(--line-2);
  box-shadow: 0 8px 20px -12px rgba(20, 18, 16, .28)
}

.ph {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 5px
}

.quote-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink)
}

.check-list,
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.check-list li {
  padding-left: 16px;
  position: relative
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-size: 10px
}

.bullet-list li {
  padding-left: 14px;
  position: relative
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent)
}

/* pillars */
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--cat, var(--line-2));
  border-radius: 9px;
  padding: 11px 10px 12px;
  transition: .25s;
  cursor: pointer
}

.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -12px rgba(20, 18, 16, .4)
}

.pillar .pname {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px
}

.pillar .pname::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat, var(--line-2));
  flex: none
}

.pillar p {
  font-size: 10px;
  line-height: 1.42;
  color: var(--ink-2);
  margin: 0 0 10px
}

.pillar .imp {
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase
}

.pillar .impv {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  margin-top: 2px
}

.impv.high {
  color: var(--r-high)
}

.impv.crit {
  color: var(--r-crit)
}

.impv.med {
  color: var(--r-med)
}

/* flux map */
.flux-map {
  position: relative;
  width: 100%;
  height: 215px;
  margin-bottom: 2px
}

.flux-land {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(86%) sepia(18%) saturate(380%) hue-rotate(2deg) brightness(94%)
}

.flux-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.legend {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 9px;
  color: var(--ink-2);
  flex-wrap: wrap
}

.legend i {
  display: inline-block;
  width: 14px;
  border-top: 2px solid;
  margin-right: 4px;
  vertical-align: middle
}

.badge-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 8px
}

.badge-stat b {
  color: var(--r-high);
  font-size: 13px
}

/* friction */
.warn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.warn-list li {
  padding-left: 18px;
  position: relative;
  font-size: 10px;
  line-height: 1.35
}

.warn-list li::before {
  content: '▲';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--r-med);
  font-size: 8px
}

/* signaux table */
.sig-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px
}

.sig-table th {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  font-weight: 500;
  padding: 0 4px 6px
}

.sig-table td {
  padding: 5px 4px;
  border-top: 1px solid var(--line);
  line-height: 1.25
}

.trend-up {
  color: var(--r-high);
  font-weight: 600
}

.trend-flat {
  color: var(--muted)
}

.risk {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 9px
}

.risk.high {
  color: var(--r-high)
}

.risk.med {
  color: var(--r-med)
}

/* dependency diagram */
.dep-svg {
  width: 100%;
  height: 150px;
  display: block
}

/* interview */
.iv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 11px
}

.iv-tags button {
  font-family: var(--mono);
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  transition: .18s;
  color: var(--ink-2)
}

.iv-tags button:hover,
.iv-tags button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.iv-qa {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.iv-row {
  display: flex;
  gap: 7px;
  font-size: 10px;
  line-height: 1.35
}

.iv-row .who {
  font-family: var(--mono);
  font-size: 7px;
  padding: 2px 5px;
  border-radius: 4px;
  height: fit-content;
  white-space: nowrap
}

.iv-row .who.q {
  background: rgba(10, 78, 63, .12);
  color: var(--forest)
}

.iv-row .who.a {
  background: rgba(214, 97, 42, .12);
  color: var(--accent-d)
}

.iv-more {
  margin-top: 11px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent);
  cursor: pointer;
  border: 1px dashed var(--line-2);
  border-radius: 6px;
  padding: 7px
}

.iv-more:hover {
  background: rgba(214, 97, 42, .06)
}

.pill-rec {
  background: var(--forest);
  color: #fff;
  font-family: var(--mono);
  font-size: 7.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto
}

/* quick wins */
.qw {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px
}

.qw th {
  font-family: var(--mono);
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: right;
  font-weight: 500;
  padding: 0 3px 6px
}

.qw th:first-child {
  text-align: left
}

.qw td {
  padding: 5px 3px;
  border-top: 1px solid var(--line);
  line-height: 1.3
}

.qw td.c {
  text-align: right
}

.qw .ok {
  color: var(--forest);
  margin-right: 4px
}

.tag {
  font-family: var(--mono);
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 4px
}

.tag.h {
  background: rgba(192, 73, 43, .12);
  color: var(--r-high)
}

.tag.m {
  background: rgba(185, 132, 42, .15);
  color: var(--r-med)
}

.tag.l {
  background: rgba(10, 78, 63, .12);
  color: var(--forest)
}

/* scenarios */
.scn {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px
}

.scn th {
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  text-align: left;
  padding: 0 4px 6px;
  font-weight: 500
}

.scn td {
  padding: 7px 4px;
  border-top: 1px solid var(--line)
}

.scn tr.sel {
  background: rgba(214, 97, 42, .07)
}

.scn tr.sel td:first-child {
  font-weight: 600;
  color: var(--accent)
}

.scn .num {
  font-family: var(--mono);
  font-weight: 600
}

.bar {
  height: 5px;
  border-radius: 3px;
  background: var(--line-2);
  position: relative;
  min-width: 38px
}

.bar>i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%
}

.bar.g>i {
  background: var(--forest);
  left: 18%
}

.bar.o>i {
  background: var(--r-med);
  left: 52%
}

.bar.r>i {
  background: var(--r-high);
  left: 80%
}

/* deployment */
.dep-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.dep-col .dh {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase
}

.dep-step {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  font-size: 9px;
  line-height: 1.3;
  margin-bottom: 6px;
  text-align: center
}

/* cta */
.dash-foot {
  display: flex;
  justify-content: flex-end;
  padding: 12px 13px;
  border-top: 1px solid var(--line);
  background: var(--paper-warm)
}

.dash-cta {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 9px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .25s
}

.dash-cta:hover {
  background: var(--accent)
}

.dash-cta .arr {
  transition: .25s
}

.dash-cta:hover .arr {
  transform: translateX(4px)
}

.dash-note {
  font-size: 8.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 8px
}

.dash-cap {
  text-align: center;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

@media (max-width:900px) {
  .engine-blocks {
    grid-template-columns: 1fr
  }
}

/* 6-LAYER STAGE */
.layers-stage {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 520px;
  width: 100%;
  margin: 0 auto
}

.layers-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible
}

.l-thread {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  animation: l-grow 9s ease-in-out infinite;
  pathLength: 100
}

@keyframes l-grow {
  0% {
    stroke-dashoffset: 100;
    opacity: 0
  }

  18% {
    opacity: .8
  }

  62% {
    stroke-dashoffset: 0;
    opacity: .85
  }

  100% {
    stroke-dashoffset: -100;
    opacity: 0
  }
}

.l-thread.t-orange {
  stroke: var(--accent);
  stroke-opacity: .55;
  stroke-width: 1.1
}

.l-thread.t-forest {
  stroke: var(--forest);
  stroke-opacity: .42;
  stroke-width: .95
}

.l-thread.t-fine {
  stroke: var(--accent);
  stroke-opacity: .3;
  stroke-width: .7
}

.l-node {
  fill: var(--paper);
  stroke: var(--accent);
  stroke-width: 1.5;
  transform-origin: center;
  transform-box: fill-box;
  animation: l-breathe 4.5s ease-in-out infinite
}

.l-node.alt {
  stroke: var(--forest)
}

@keyframes l-breathe {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1)
  }
}

.l-node-dot {
  fill: var(--accent);
  transform-origin: center;
  transform-box: fill-box;
  animation: l-dot 4.5s ease-in-out infinite
}

.l-node-dot.alt {
  fill: var(--forest)
}

@keyframes l-dot {

  0%,
  100% {
    opacity: .55;
    transform: scale(.85)
  }

  50% {
    opacity: 1;
    transform: scale(1.25)
  }
}

.l-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--ink);
  font-weight: 500
}

.l-center-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: .25;
  stroke-width: 1;
  stroke-dasharray: 2 5;
  transform-origin: 300px 300px;
  animation: l-rotate 28s linear infinite
}

@keyframes l-rotate {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

.l-center-pulse {
  fill: var(--accent);
  transform-origin: 300px 300px;
  animation: l-pulse 3.6s ease-in-out infinite
}

@keyframes l-pulse {

  0%,
  100% {
    opacity: .07;
    transform: scale(.92)
  }

  50% {
    opacity: .18;
    transform: scale(1.12)
  }
}

.l-center-text {
  font-family: var(--serif);
  font-style: italic;
  fill: var(--ink);
  font-size: 17px
}

.l-center-small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .22em;
  fill: var(--muted);
  font-weight: 500
}

.l-flow-particle {
  r: 2.6;
  fill: var(--accent)
}

.l-flow-particle.f {
  r: 2.2;
  fill: var(--forest)
}


/* OUR CONVICTIONS */
.convictions-section {
  background: var(--paper)
}

.conviction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px
}

.conviction-card {
  background: var(--paper-warm);
  padding: 40px 32px;
  border-radius: 18px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s
}

.conviction-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(10, 78, 63, .06)
}

.conviction-card::before {
  content: '✦';
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.25;
  transition: opacity .4s, transform .5s
}

.conviction-card:hover::before {
  opacity: 1;
  transform: rotate(45deg)
}

.conviction-card p {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
  position: relative;
  z-index: 2;
  padding-right: 24px
}

/* START */
.start {
  text-align: center;
  padding: 140px 0 110px;
  background: var(--paper)
}

.start h2 {
  margin: 14px auto 22px;
  max-width: 18ch
}

.start p {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem
}

.start .meta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .06em
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  background: var(--paper)
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .05em
}

.foot a {
  color: var(--ink-2)
}

.foot a:hover {
  color: var(--accent)
}

@media (max-width:1024px) {
  .conviction-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:900px) {
  .conviction-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:900px) {
  .hero {
    padding: 110px 0 60px
  }

  .hero-grid,
  .aiauto-grid,
  .ainat-body,
  .how-grid,
  .model-grid,
  .ainat-callout {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .layers-stage {
    max-width: 420px
  }

  .approach-cue {
    margin-bottom: 56px
  }

  .human-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .approach-human {
    margin-top: 64px;
    padding-top: 48px
  }

  .approach-divider {
    margin: 60px auto
  }

  .approach-closing {
    margin-top: 50px;
    padding-top: 40px
  }

  .stage {
    justify-self: start;
    max-width: 100%
  }

  /* HAMBURGER visible */
  section {
    padding: 64px 0
  }

  /* DASHBOARD RESPONSIVE */
  .dash {
    min-width: 0
  }

  .dash-topbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px
  }

  .dash-session,
  .dash-btn,
  .dash-ava {
    display: none
  }

  .dash-body {
    grid-template-columns: 1fr
  }

  .dash-sidebar {
    display: none
  }

  .dash-main {
    grid-template-columns: 1fr;
    padding: 10px
  }

  .dash-rail {
    grid-column: 1;
    grid-row: auto
  }

  .dp-grid3 {
    grid-template-columns: 1fr
  }

  .dp-pillars {
    grid-template-columns: repeat(2, 1fr)
  }

  .dp-grid-mid {
    grid-template-columns: 1fr
  }

  .dp-grid-bot {
    grid-template-columns: 1fr
  }

  .dep-steps {
    grid-template-columns: 1fr
  }
}

@media (max-width:600px) {
  .conviction-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:480px) {
  .container,
  .container--narrow {
    padding: 0 16px
  }

  .hero {
    padding: 100px 0 48px
  }

  section {
    padding: 48px 0
  }

  .dp-pillars {
    grid-template-columns: 1fr
  }

  .pillar .pname {
    font-size: 9.5px
  }

  .pillar p {
    font-size: 11px
  }

  .ph {
    font-size: 9px
  }

  .dash-topbar {
    padding: 8px 10px
  }

  .dash-usecase {
    display: none
  }
}

/* ─── Nav: use-cases link + EN/FR switcher ───────────────────────────────────
   The switcher lives INSIDE .nav-links so it inherits the mobile overlay for
   free (it becomes a row in the fixed overlay) and the hamburger's
   close-on-click handler, which binds navLinks.querySelectorAll('a'), already
   covers it. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.lang-switch::before {
  content: '';
  width: 1px;
  height: 12px;
  background: var(--line-2);
  margin-right: 2px
}

/* .nav-links a forces lowercase; locale codes must stay uppercase. */
.lang-switch a {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted)
}

.lang-switch a:hover {
  color: var(--accent)
}

.lang-switch a[aria-current] {
  color: var(--ink)
}

/* ─── Nav overlay breakpoint: 900px -> 1024px ────────────────────────────────
   Relocated verbatim from the @media (max-width:900px) block, which also holds
   .hero, section, .dash-* and .dp-* — moving that block wholesale would have
   reflowed the entire page. The nav went from 5 links to 6 + a switcher, and FR
   labels are longer, so it collides with the CTA before 900px. Only these five
   rules moved; nothing else changed. */
@media (max-width:1024px) {
  .lang-switch::before {
    display: none
  }

  .lang-switch {
    gap: 14px
  }

  .hamburger {
    display: block
  }

  /* NAV OVERLAY */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 51;
    background: rgba(251, 249, 244, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto
  }

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: .08em
  }

  header.nav.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-bottom-color: transparent
  }
}

/* ─── Use-cases page ─────────────────────────────────────────────────────────
   Ported from the dev branch's UseCaseCard.astro / UseCasesSection.astro. Their
   scoped CSS referenced --paper/--line/--ink/--serif/--mono/--forest/--accent/
   --glow, all of which this stylesheet already defines, so the rules transfer
   unchanged. The section's own .hero/.hero-sub overrides were dropped on purpose
   — the page reuses this site's existing .hero, .container, .eyebrow and
   .hero-sub so it reads as the same site. */
/* The homepage hero pairs a headline with artwork and needs its 110px base; this
   page runs straight into the filter chips, so that much air reads as a gap. */
.hero--page {
  padding-bottom: 40px
}

.uc {
  padding-top: 0;
  padding-bottom: 110px
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px
}

.chip {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper)
}

.uc-group-block {
  margin-bottom: 56px
}

.uc-group-title {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line)
}

.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.uc-slot {
  display: flex
}

.uc-slot[hidden],
.uc-group-block[hidden] {
  display: none
}

.uc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  height: 100%
}

.uc-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 14px 34px -20px rgba(20, 18, 16, .3)
}

.uc-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink)
}

.uc-what {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-2)
}

.uc-pitch {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--forest);
  border-left: 2px solid var(--line-2);
  padding-left: 14px
}

.uc-roi {
  margin-top: auto;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--glow);
  padding: .35rem .7rem;
  border-radius: 999px;
  align-self: flex-start
}

.disclaimer {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  font-style: italic
}

@media (max-width:980px) {
  .uc-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:560px) {
  .uc-grid {
    grid-template-columns: 1fr
  }
}

/* ─── Language splash (/) and 404 ────────────────────────────────────────────
   The splash normally never paints: .htaccess redirects "/" by Accept-Language,
   and an inline script redirects before paint. This styles the no-JS fallback. */
.splash,
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: 40px 32px;
  position: relative;
  z-index: 2
}

.splash-brand {
  font-size: 1.6rem;
  margin-bottom: 10px
}

.splash-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 20ch
}

.splash-line+.splash-line {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem)
}

.splash-langs,
.notfound-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center
}

.notfound-code {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent)
}

.notfound h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 16ch
}
