/* Boole — Editorial direction A, refined to senior advisory + Apple clarity.
   Tone notes:
   - Authoritative: long uninterrupted typographic moments, no decoration.
   - Calm: 600-900ms transitions, generous whitespace, restrained motion.
   - Confident: 1-2 colors per screen, brand greens used as punctuation only.
*/

:root {
  /* Inverted scheme — page lives on dark green by default.
     --ink is the PRIMARY TEXT color (now light).
     --deep is the dark accent color (formerly --ink) used for solid CTAs,
     deepest sections (Iteration Zero, Contact), and accent fills. */
  --ink: #F2FBF6;            /* primary text on dark */
  --ink-soft: #C9ECE7;       /* body text on dark */
  --ink-mute: #7EB1AE;       /* mute / mono labels */
  --deep: #062A2D;           /* deepest accent — for IZ, contact, CTA bg */
  --paper: #0E4347;          /* base surface (dark green) */
  --paper-2: #0B3A3E;        /* slightly deeper */
  --paper-3: #103E42;        /* delivery cells */
  --paper-warm: #082E32;     /* contact background */
  --mint: #EAFDE5;           /* the ONE bright break (principles) */
  --mint-deep: #D3FABF;
  --neon: #4AF174;
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.20);
  --on-dark-soft: #C9ECE7;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Gloock ships Regular only — never let the browser fake italic/bold */
  font-synthesis: none;
  -webkit-font-synthesis: none;
}
.serif, .hero__h, .manifesto__h, .services__h, .svc__title,
.iz__h, .iz__step__title, .arch__h, .principles__h, .who__h,
.who__roles, .who__pun, .delivery__h, .contact__h, .manifesto__quote {
  font-synthesis: none;
  -webkit-font-synthesis: none;
}

/* Display family — used for large display type that ISN'T a Gloock
   brand moment. SF Pro Display across the board. */
.sans-display {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.02;
}
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
::selection { background: var(--neon); color: var(--deep); }

/* Type primitives ─────────────────────────────────── */
.serif {
  font-family: 'Gloock', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.98;
}
.mono {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.lede {
  font-size: 23px; line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 60ch;
}

/* Page rhythm ─────────────────────────────────────── */
.section {
  padding: 144px 7vw;
  position: relative;
}
.section--tight { padding: 96px 7vw; }
.section--dark {
  background: var(--deep);
  color: var(--on-dark-soft);
}
.section--dark .mono { color: rgba(255,255,255,0.55); }
.section--mint { background: var(--mint); }

/* Anchor offset — keep target sections clear of the fixed nav.
   Only sections without their own top padding need this. */
#vad, #iz { scroll-margin-top: 140px; }

.services > .smark { padding: 0 7vw; }

.rule {
  height: 1px; background: var(--hairline-strong);
  border: 0; margin: 0;
}
.rule--dark { background: rgba(255,255,255,0.18); }

/* NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 7vw;
  font-size: 13px;
  transition: background 600ms var(--ease), color 400ms var(--ease),
              border-color 400ms var(--ease), backdrop-filter 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(14, 67, 71, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--hairline);
}
.nav--dark.nav--scrolled {
  background: rgba(14, 67, 71, 0.78);
  color: var(--on-dark-soft);
  border-bottom-color: rgba(255,255,255,0.12);
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex; gap: 32px;
  font-weight: 600; font-size: 14px;
}
.nav__links a {
  color: inherit; text-decoration: none; opacity: 0.78;
  transition: opacity 200ms var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.nav__lang-btn {
  background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font: inherit; color: inherit; opacity: 0.5;
  transition: opacity 180ms var(--ease);
}
.nav__lang-btn[aria-pressed="true"] { opacity: 1; }
.nav__lang-btn:hover { opacity: 0.9; }
.nav__lang-sep { opacity: 0.3; }
.nav__cta {
  font: inherit; font-weight: 600; font-size: 14px;
  background: var(--neon); color: var(--deep);
  text-decoration: none;
  border: 0; border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  transition: background 200ms var(--ease), transform 140ms var(--ease);
}
.nav--dark .nav__cta { background: var(--neon); color: var(--deep); }
.nav__cta:hover { transform: translateY(-1px); }
.nav__cta:active { transform: scale(0.98); }

/* Hamburger — hidden by default, shown on mobile */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  color: inherit;
  margin-right: -8px;
}
.nav__burger-bar {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 240ms var(--ease), opacity 180ms var(--ease);
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(2) {
  opacity: 0;
}
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* MOBILE MENU DRAWER ─────────────────────────────── */
.mnav {
  position: fixed; inset: 0; z-index: 99;
  display: none;
  background: rgba(14, 67, 71, 0.96);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  color: var(--on-dark);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}
.mnav.is-open {
  display: flex;
  opacity: 1;
}
.mnav__panel {
  width: 100%;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 96px 7vw 48px;
  gap: 48px;
}
.mnav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.mnav__list a {
  display: block;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(32px, 9vw, 48px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: opacity 180ms var(--ease);
}
.mnav__list li:last-child a { border-bottom: 0; }
.mnav__list a:hover { opacity: 0.78; }
.mnav__cta {
  align-self: flex-start;
  font: inherit; font-weight: 600; font-size: 15px;
  background: var(--neon); color: var(--deep);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 140ms var(--ease);
}
.mnav__cta:hover { transform: translateY(-1px); }

body.menu-open { overflow: hidden; }

/* HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: 0 7vw;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__eyebrow {
  margin-bottom: clamp(40px, 6vh, 80px);
  display: flex; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(8px);
  animation: rise 1100ms var(--ease-out) 200ms forwards;
}
.hero__eyebrow .mono { font-size: 14px; }
.hero__eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(74,241,116,0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,241,116,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(74,241,116,0); }
}
.motto {
  color: var(--neon);
  font-weight: 600;
  letter-spacing: 0.22em;
  animation: motto-pulse 2.4s ease-in-out infinite;
}
@keyframes motto-pulse {
  0%, 100% {
    color: var(--neon);
    text-shadow: 0 0 0 rgba(74,241,116,0);
  }
  50% {
    color: #7dff9c;
    text-shadow: 0 0 14px rgba(74,241,116,0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .motto { animation: none; }
}
.hero__h {
  font-size: clamp(30px, 5.4vw, 92px);
  margin: 0 0 clamp(40px, 7vh, 96px);
  max-width: 28ch;
}
.hero__h em {
  font-style: normal;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
  color: var(--ink);
}
.hero__h em { color: var(--ink); }
.hero__h em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--neon);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: stripe-in 900ms var(--ease-out) 1500ms forwards;
}
@keyframes stripe-in {
  to { transform: scaleX(1); }
}
.hero__h .word {
  display: inline-block;
  opacity: 0; transform: translateY(0.4em);
  filter: blur(6px);
  animation: rise-blur 1100ms var(--ease-out) forwards;
}
@keyframes rise-blur {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 64px; flex-wrap: wrap;
  opacity: 0;
  animation: rise 1100ms var(--ease-out) 1400ms forwards;
}
.hero__lede { max-width: 52ch; margin: 0; }
.hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none;
  background: var(--neon); color: var(--deep);
  border: 0; border-radius: 999px;
  padding: 16px 24px; cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.hero__cta:hover { background: #6BFF93; transform: translateY(-2px); }
.hero__cta:active { transform: scale(0.98); }
.hero__scroll {
  position: absolute; bottom: 32px; left: 7vw;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 12px;
  opacity: 0;
  animation: rise 800ms var(--ease-out) 1700ms forwards;
}
.hero__scroll .vline {
  display: inline-block; width: 1px; height: 28px;
  background: var(--ink-mute);
  animation: drop 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drop {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* MANIFESTO — long pinned reveal ──────────────────── */
.manifesto {
  position: relative;
  /* tall pin so type reveals slowly across many scroll px */
}
.manifesto__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 7vw;
}
.manifesto__eyebrow { margin-bottom: 32px; }
.manifesto__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6.0vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.manifesto__h .w {
  display: inline-block;
  color: rgba(242,251,246, calc(0.18 + var(--reveal, 0) * 0.82));
  transition: color 320ms var(--ease);
}
.manifesto__h .w--pop {
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.manifesto__h .w--pop[data-on="1"] {
  color: var(--ink);
}
.manifesto__quote {
  margin-top: 56px;
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--neon);
  max-width: 22ch;
  text-wrap: balance;
  opacity: var(--reveal-late, 0);
  transform: translateY(calc((1 - var(--reveal-late, 0)) * 12px));
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.manifesto__quote::before {
  content: ""; display: inline-block;
  width: 44px; height: 2px; background: var(--neon);
  vertical-align: middle; margin-right: 20px;
  transform: translateY(-0.18em);
}

/* SERVICES — sticky stack with progress rail ─────── */
.services {
  position: relative;
  padding-top: 144px;
  border-top: 1px solid var(--hairline-strong);
}
.services__head {
  padding: 32px 7vw 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.services__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: none;
  text-wrap: balance;
}
.services__h em {
  font-style: normal;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
  color: var(--ink);
}
.services__h em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--neon);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: stripe-in 900ms var(--ease-out) 400ms forwards;
}
.services__intro {
  font-size: 19px; line-height: 1.6; color: var(--ink-soft);
  max-width: 44ch;
  padding-bottom: 16px;
}

.svc-track {
  padding: 0 7vw 96px;
  position: relative;
  overflow: visible;
}
.services {
  overflow: visible;
}

/* /03 → /04 bridge — sits below the flow grid, points down to "Iteration Zero" */
.svc-bridge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: clamp(48px, 7vw, 96px);
  padding-bottom: 0;
  color: var(--ink-soft);
  text-align: center;
  z-index: 4;
}
.svc-bridge__line {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 36ch;
  text-wrap: balance;
  color: var(--ink);
}
.svc-bridge__arrow {
  width: 30px;
  height: 132px;
  margin-bottom: clamp(-72px, -8vw, -56px);
  color: var(--neon);
  opacity: 0.92;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.06));
}

/* Flow diagram — 4 nodes in a 2×2 grid, connected by SVG edges */
.svc-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(64px, 9vw, 160px);
  row-gap: clamp(64px, 9vw, 160px);
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
  margin-top: 0;
}
.svc-flow__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: var(--ink-mute);
  z-index: 0;
}
.svc-flow__edge {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
  opacity: 0.55;
}

/* /02 node cards — visually rhyme with /03 (Iteration Zero) cards:
   dark glass surface, gradient + blur, big serif numeral with neon "/",
   neon mono phase label, white sans title, soft body text. */
.svc-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(32px, 3vw, 44px);
  background: linear-gradient(180deg,
              rgba(20, 58, 62, 0.88) 0%,
              rgba(14, 44, 47, 0.92) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 1px 0 0 rgba(255,255,255,0.05) inset;
  transition: border-color 320ms var(--ease), background 320ms var(--ease);
  cursor: default;
}
.svc-node:hover {
  background: linear-gradient(180deg,
              rgba(28, 80, 64, 0.92) 0%,
              rgba(14, 44, 47, 0.94) 100%);
  border-color: rgba(74,241,116,0.4);
}
.svc-node__head {
  display: flex; align-items: baseline; gap: 18px;
  flex-wrap: wrap;
  margin: -4px 0 0;
}
.svc-node__num {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.32);
  flex: none;
  position: relative;
}
.svc-node__num::before {
  content: "/";
  color: var(--neon);
  margin-right: 4px;
  opacity: 0.95;
}
.svc-node__phase {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--neon);
  margin: 0;
}
.svc-node__title {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #FCFFFA;
  margin: 0;
  text-wrap: balance;
}
.svc-node__lede {
  font-size: 16px; line-height: 1.6;
  color: var(--on-dark-soft);
  margin: 0;
  max-width: 42ch;
}
.svc-node__bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.svc-node__bullets li {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding: 10px 0;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.svc-node__bullets li:last-child { border-bottom: 0; }
.svc-node__bullets li::before {
  content: ""; display: inline-block;
  width: 14px; height: 1px; background: var(--neon);
  flex: 0 0 14px;
}

/* ITERATION ZERO — dark, sticky card-stack ────────── */
.iz {
  background: var(--deep);
  color: var(--on-dark-soft);
  position: relative;
}
.iz__pin {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(380px, 42%) 1fr;
  gap: clamp(40px, 5vw, 88px);
  padding: 96px 7vw 64px;
  align-items: start;
}
.iz__head {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 52ch;
}
.iz__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 28px;
  max-width: 14ch;
  color: #FCFFFA;
  text-wrap: balance;
}
.iz__h__name {
  color: var(--neon);
}
.iz__intro {
  max-width: 48ch;
  font-size: 18px; line-height: 1.6; color: var(--on-dark-soft);
  margin: 0 0 36px;
}
.iz__dots {
  display: flex; gap: 10px;
  margin-top: 0;
}
.iz__dot {
  width: 32px; height: 2px; border-radius: 1px;
  background: rgba(255,255,255,0.18);
  transition: background 500ms var(--ease), width 500ms var(--ease);
}
.iz__dot.is-on { background: var(--neon); }

/* Card stage — overlapping cards driven by --iz-progress (0..1) */
.iz__stage {
  position: relative;
  height: calc(100svh - 96px - 64px - 120px);
  perspective: 2200px;
  perspective-origin: 50% 35%;
}
.iz__card {
  --card-progress: 0; /* set by JS, 0 = below stage, 1 = active centered, 2+ = pushed back */
  position: absolute; inset: 0;
  margin: auto 0;
  height: min(56%, 420px);
  align-self: center;
  background: linear-gradient(180deg,
              rgba(20, 58, 62, 0.88) 0%,
              rgba(14, 44, 47, 0.92) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: clamp(40px, 4vw, 64px);
  display: flex; flex-direction: column; gap: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.65),
    0 1px 0 0 rgba(255,255,255,0.05) inset;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  transition: opacity 500ms var(--ease);
  /* defaults — JS overrides via inline style */
  transform: translate3d(0, 110%, 0) scale(0.96);
  opacity: 0;
}
.iz__card.is-active {
  background: linear-gradient(180deg,
              rgba(28, 80, 64, 0.92) 0%,
              rgba(14, 44, 47, 0.94) 100%);
  border-color: rgba(74,241,116,0.4);
}
.iz__card__head {
  display: flex; align-items: baseline; gap: 18px;
  margin: -8px 0 4px;
}
.iz__card__num {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-size: clamp(56px, 6.4vw, 104px);
  line-height: 0.9;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.02em;
  flex: none;
  position: relative;
}
.iz__card.is-active .iz__card__num { color: rgba(255,255,255,0.32); }
.iz__card__num::before {
  content: "/";
  color: var(--neon);
  margin-right: 4px;
  opacity: 0.95;
}
.iz__card__phase {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600;
  color: var(--neon);
}
.iz__card__title {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #FCFFFA;
  margin: 0;
  text-wrap: balance;
}
.iz__card__sub {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin: -4px 0 4px;
}
.iz__card__body {
  font-size: 17px; line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 46ch;
  margin: 0;
}

.iz__pun {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vh, 48px);
  padding: 0 7vw;
  box-sizing: border-box;
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--neon);
  max-width: none;
  text-wrap: balance;
  opacity: var(--iz-pun, 0);
  transform: translateY(calc((1 - var(--iz-pun, 0)) * 12px));
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  pointer-events: none;
}
.iz__pun::before {
  content: ""; display: inline-block;
  width: 44px; height: 2px; background: var(--neon);
  vertical-align: middle; margin-right: 20px;
  transform: translateY(-0.18em);
}
.iz.iz--complete .iz__pun { /* legacy hook — driven by --iz-pun now */ }

/* ───────────── /03 IZ — MODE: TIMELINE (B) ───────────── */
/* Static, horizontal flow of 4 svc-node-style cards connected by arrows.
   Section becomes a normal-height block; no sticky scroll. */
.iz[data-iz-mode="timeline"] {
  height: auto !important;
  padding: 144px 7vw;
}
.iz[data-iz-mode="timeline"] .iz__pin {
  position: static;
  height: auto;
  display: block;
  padding: 0;
  overflow: visible;
}
.iz[data-iz-mode="timeline"] .iz__head {
  height: auto;
  display: block;
  margin: 0 0 64px;
  max-width: 60ch;
}
.iz[data-iz-mode="timeline"] .iz__h { max-width: 22ch; }
.iz[data-iz-mode="timeline"] .iz__dots { display: none; }

.iz[data-iz-mode="timeline"] .iz__stage {
  position: relative;
  height: auto;
  perspective: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.iz[data-iz-mode="timeline"] .iz__card {
  position: static;
  inset: auto;
  margin: 0;
  height: auto;
  align-self: stretch;
  background: linear-gradient(180deg,
              rgba(20, 58, 62, 0.82) 0%,
              rgba(14, 44, 47, 0.90) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px -24px rgba(0,0,0,0.5);
  transform: none !important;
  opacity: 1 !important;
  transition: border-color 280ms var(--ease), background 280ms var(--ease);
}
.iz[data-iz-mode="timeline"] .iz__card:hover {
  border-color: rgba(74,241,116,0.4);
  background: linear-gradient(180deg,
              rgba(28, 80, 64, 0.92) 0%,
              rgba(14, 44, 47, 0.94) 100%);
}
.iz[data-iz-mode="timeline"] .iz__card__head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: -2px 0 6px;
}
.iz[data-iz-mode="timeline"] .iz__card__num {
  font-size: clamp(40px, 4vw, 64px);
  color: rgba(255,255,255,0.32);
}
.iz[data-iz-mode="timeline"] .iz__card__phase {
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.18em;
}
.iz[data-iz-mode="timeline"] .iz__card__title {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}
.iz[data-iz-mode="timeline"] .iz__card__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.iz[data-iz-mode="timeline"] .iz__card__body {
  font-size: 15px;
  line-height: 1.55;
  max-width: none;
}

/* Connector arrows between cards (between 1↔2, 2↔3, 3↔4) */
.iz[data-iz-mode="timeline"] .iz__card { position: relative; }
.iz[data-iz-mode="timeline"] .iz__card + .iz__card::before {
  content: "";
  position: absolute;
  left: -20px; top: 50%;
  width: 18px; height: 2px;
  background: var(--neon);
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(74,241,116,0.45);
}
.iz[data-iz-mode="timeline"] .iz__card + .iz__card::after {
  content: "";
  position: absolute;
  left: -10px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--neon);
  border-right: 2px solid var(--neon);
  transform: translateY(-50%) rotate(45deg);
  filter: drop-shadow(0 0 6px rgba(74,241,116,0.45));
}

.iz[data-iz-mode="timeline"] .iz__pun {
  position: static;
  margin-top: 144px;
  padding: 0;
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .iz[data-iz-mode="timeline"] .iz__stage {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .iz[data-iz-mode="timeline"] .iz__card + .iz__card::before,
  .iz[data-iz-mode="timeline"] .iz__card + .iz__card::after { display: none; }
}
@media (max-width: 720px) {
  .iz[data-iz-mode="timeline"] { padding: 88px 6vw; }
  .iz[data-iz-mode="timeline"] .iz__stage { grid-template-columns: 1fr; }
}

/* ───────────── /03 IZ — MODE: SUBTLE (D) ───────────── */
/* Sticky scroll-driven, but a single card centered at a time, simple cross-fade
   — no 3D perspective, no stack, no scale tricks. Calm. */
.iz[data-iz-mode="subtle"] {
  /* keep sticky scroll, but shorter — 4 cards × ~80vh + tail */
  /* default is 760vh from inline style; mode replaces it */
}
.iz[data-iz-mode="subtle"] .iz__stage {
  perspective: none;
}
.iz[data-iz-mode="subtle"] .iz__card {
  transform: none;
  transition: opacity 600ms var(--ease);
  background: linear-gradient(180deg,
              rgba(20, 58, 62, 0.88) 0%,
              rgba(14, 44, 47, 0.92) 100%);
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    0 20px 60px -24px rgba(0,0,0,0.5),
    0 1px 0 0 rgba(255,255,255,0.05) inset;
}
.iz[data-iz-mode="subtle"] .iz__card.is-active {
  background: linear-gradient(180deg,
              rgba(28, 80, 64, 0.92) 0%,
              rgba(14, 44, 47, 0.94) 100%);
  border-color: rgba(74,241,116,0.4);
}

@media (max-width: 900px) {
  .iz__pin {
    grid-template-columns: 1fr;
    padding: 88px 6vw 48px;
  }
  .iz__head { height: auto; margin-bottom: 24px; }
  .iz__dots { position: static; transform: none; margin-top: 16px; }
  .iz__stage { height: 60svh; }
  .iz__card { height: 100%; padding: 28px; border-radius: 20px; }
  .iz__card__num { font-size: 56px; }
  .iz__card__title { font-size: 28px; }
  .iz__card__body { font-size: 15px; }
}

/* ARCHITECTURE — matches /02 services rhythm + /02 card visual ─── */
.arch {
  position: relative;
  padding: 144px 0;
}
.arch > .smark { padding: 0 7vw; margin-bottom: 32px; }
.arch__head {
  padding: 32px 7vw 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.arch__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.024em;
  margin: 0;
  text-wrap: balance;
}
.arch__h em {
  font-style: normal;
  color: var(--ink);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.arch__h em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.22em; background: var(--neon); z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease-out) 200ms;
}
.arch.is-in .arch__h em::after { transform: scaleX(1); }
.arch__lede {
  margin: 0;
  max-width: 56ch;
}
.arch__lede-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.arch__grid {
  padding: 56px 7vw 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.arch-node {
  /* svc-node provides the visual; arch-node ensures stable height */
  min-height: 220px;
}

/* PRINCIPLES (Hur vi tänker) ─────────────────────── */
.principles {
  background: var(--mint);
  padding: 144px 7vw;
}
.principles__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.024em;
  margin: 24px 0 80px;
  max-width: 18ch;
  text-wrap: balance;
  color: var(--deep);
}
.principles__h em {
  font-style: normal;
  color: var(--deep);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.principles__h em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.32em; background: rgba(74,241,116,0.7); z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease-out) 200ms;
}
.principles.is-in .principles__h em::after { transform: scaleX(1); }
.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.principle {
  border-top: 1.5px solid var(--deep);
  padding: 24px 0 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease) calc(var(--i) * 100ms),
              transform 700ms var(--ease) calc(var(--i) * 100ms);
}
.principles.is-in .principle { opacity: 1; transform: translateY(0); }
.principle__num {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(6,42,45,0.55); margin-bottom: 12px;
}
.principle__t {
  font-size: 24px; font-weight: 700;
  color: var(--deep); line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 16px;
}
.principle__b {
  font-size: 17px; line-height: 1.6; color: rgba(6,42,45,0.78);
  margin: 0;
}

/* CLIENTS — dark logo wall ───────────────────────── */
.clients {
  padding: 144px 7vw;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.clients__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.clients__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* deep green tint, lighter so the video reads through clearly */
  background:
    linear-gradient(
      180deg,
      rgba(6, 42, 45, 0.72) 0%,
      rgba(6, 42, 45, 0.55) 40%,
      rgba(6, 42, 45, 0.68) 100%
    );
}
.clients__inner {
  position: relative;
  z-index: 0;
}
.clients__h {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  color: #ffffff;
  margin: 24px 0 56px;
  max-width: 18ch;
  text-wrap: balance;
}
.clients__h .accent {
  display: inline-block;
  font-style: normal;
  position: relative;
  isolation: isolate;
}
.clients__h .accent::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.18em; background: var(--neon); z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease-out) 200ms;
}
.clients.is-in .clients__h .accent::after { transform: scaleX(1); }

.clients__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  max-width: 1100px;
  margin-bottom: 96px;
}
.clients__lede {
  font-family: 'SF Pro Display', 'SF Pro', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--on-dark-soft);
  margin: 0;
  text-wrap: pretty;
}

.clients__logos {
  list-style: none;
  margin: 0;
  padding: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.clients__logo {
  background: transparent;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  transition: background 240ms var(--ease);
}
/* (logo cells have no borders — let the video breathe) */
.clients__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 44px;
  max-height: 64px;
  object-fit: contain;
  opacity: 0.78;
  filter: brightness(0) invert(1);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
/* Per-logo size tuning — wordmarks vs taller marks */
.clients__logo img[alt="Chalmers"] { height: 26px; }
.clients__logo img[alt="AstraZeneca"] { height: 38px; }
.clients__logo img[alt="Skyltmax"] { height: 30px; }
.clients__logo img[alt="Mölndal Energi"] { height: 60px; }
.clients__logo img[alt="Havs- och Vattenmyndigheten"] { height: 56px; }
.clients__logo img[alt="Aspen"] { height: 38px; }
.clients__logo img[alt="Göteborgs Stad"] { height: 56px; }

.clients__logo:hover { background: rgba(6, 42, 45, 0.55); }
.clients__logo:hover img { opacity: 1; transform: scale(1.04); }

@media (max-width: 1100px) {
  .clients__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .clients__copy { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .clients__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__logo { min-height: 110px; padding: 24px 16px; }
}

/* WHO WE ARE — pinned, scroll-driven reveal ──────── */
.who {
  position: relative;
  /* tall outer scroller; pin sits inside */
}
.who__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 144px 7vw 96px;
  overflow: hidden;
}
.who__pin .smark { margin-bottom: 24px; }
.who__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 32px;
  max-width: 22ch;
  text-wrap: balance;
}
.who__roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1100px;
}
.who__role {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 13px 22px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  /* enter animation */
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease),
    border-color 240ms var(--ease),
    background 240ms var(--ease),
    color 240ms var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.who__role.is-on {
  opacity: 1;
  transform: translateY(0);
}
.who__role:hover {
  border-color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.05);
}
/* small neon dot prefix on every pill, for visual rhythm */
.who__role::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(74, 241, 116, 0.12);
  flex: 0 0 6px;
}
.who__pun {
  margin-top: 40px;
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--neon);
  max-width: 28ch;
  text-wrap: balance;
}
.who__pun::before {
  content: ""; display: inline-block;
  width: 44px; height: 2px; background: var(--neon);
  vertical-align: middle; margin-right: 20px;
  transform: translateY(-0.18em);
  opacity: var(--reveal-rule, 0);
  transition: opacity 360ms var(--ease);
}
.who__pun .w {
  display: inline-block;
  /* fade through dim → neon, mirroring the /01 ink-up but in neon */
  color: rgba(74, 241, 116, calc(0.18 + var(--reveal, 0) * 0.82));
  transition: color 320ms var(--ease);
}

/* DELIVERY — calm grid ───────────────────────────── */
.delivery {
  padding: 144px 7vw;
  border-top: 1px solid var(--hairline-strong);
}
.delivery__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 24px 0 64px;
  max-width: 20ch;
  text-wrap: balance;
}
.delivery__intro {
  margin: -40px 0 64px;
  max-width: 56ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.delivery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline-strong);
  border-left: 1px solid var(--hairline-strong);
}
.delivery__cell {
  padding: 40px 32px;
  border-right: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
  background: var(--paper-3);
  transition: background 400ms var(--ease), color 400ms var(--ease);
}
.delivery__cell:hover { background: var(--mint); color: var(--deep); }
.delivery__cell:hover .delivery__num,
.delivery__cell:hover .delivery__t,
.delivery__cell:hover .delivery__b { color: var(--deep); }
.delivery__num {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-mute); margin-bottom: 16px;
}
.delivery__t {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 8px; color: var(--ink);
}
.delivery__b {
  font-size: 16px; line-height: 1.55;
  color: var(--ink-mute); margin: 0;
}

/* QUOTE — founders' citation ─────────────────────── */
.quote {
  background: var(--deep);
  color: var(--ink);
  padding: 184px 7vw 144px;
  position: relative;
  overflow: hidden;
}
.quote::before {
  /* faint hairline split between sections */
  content: "";
  position: absolute; left: 7vw; right: 7vw; top: 0;
  height: 1px; background: var(--hairline-strong);
}
/* soft neon spotlight, top-left, behind the quote */
.quote::after {
  content: "";
  position: absolute;
  top: -20%; left: -10%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(74,241,116,0.10), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.quote__fig {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "quote photo"
    "cap   photo";
  column-gap: 72px;
  row-gap: 56px;
  max-width: 1320px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.quote__b { grid-area: quote; }
.quote__cap { grid-area: cap; }
.quote__photo {
  grid-area: photo;
  align-self: stretch;
  position: relative;
  /* tall portrait container — crops out most of the studio bg around founders */
  aspect-ratio: 4 / 5;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
}
.quote__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* tone monochrome with a slight green cast via filter */
  filter: grayscale(1) contrast(1.1) brightness(0.95) sepia(0.18) hue-rotate(110deg) saturate(1.2);
  /* soft feather edges so the rectangle disappears into the section */
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.88) 62%,
    rgba(0,0,0,0.35) 84%,
    rgba(0,0,0,0) 100%
  );
          mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.88) 62%,
    rgba(0,0,0,0.35) 84%,
    rgba(0,0,0,0) 100%
  );
  /* reveal */
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms var(--ease) 200ms, transform 1500ms var(--ease) 200ms;
}
.quote.is-on .quote__photo img,
.quote.is-late .quote__photo img {
  opacity: 0.95;
  transform: scale(1);
}
/* warm green color wash on top, painted via the photo container, so the
   monochrome photo reads as part of the editorial palette */
.quote__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,58,62,0.18), rgba(11,58,62,0.32));
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 38%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0) 100%
  );
          mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 38%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0) 100%
  );
  pointer-events: none;
  mix-blend-mode: multiply;
}
.quote__b {
  margin: 0;
  position: relative;
  padding-left: 0;
}
.quote__mark {
  display: block;
  font-family: 'Gloock', serif;
  font-size: clamp(160px, 18vw, 280px);
  line-height: 0.55;
  color: var(--neon);
  margin-bottom: 24px;
  user-select: none;
  /* subtle neon glow */
  text-shadow: 0 0 48px rgba(74, 241, 116, 0.35);
  /* float-in */
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  transform-origin: 0 100%;
  transition:
    opacity 900ms var(--ease),
    transform 1100ms var(--ease);
}
.quote.is-on .quote__mark {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.quote__t {
  margin: 0;
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
  position: relative;
}
/* word-by-word ink-up driven by scroll progress */
.quote__t .w {
  display: inline-block;
  color: rgba(242, 251, 246, calc(0.18 + var(--reveal, 0) * 0.82));
  transition: color 320ms var(--ease);
}
/* the meaningful repeated word "förändra" / "change" pops neon at full reveal */
.quote__t .w--accent {
  color: rgba(242, 251, 246, calc(0.18 + var(--reveal, 0) * 0.82));
}
.quote__t .w--accent[data-on="1"] {
  color: var(--neon);
  text-shadow: 0 0 24px rgba(74, 241, 116, 0.25);
}
/* neon underscore that scales in once words have settled */
.quote__t::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  background: var(--neon);
  margin-top: 40px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1100ms var(--ease) 200ms;
}
.quote.is-late .quote__t::after { transform: scaleX(1); }

.quote__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 800ms var(--ease) 200ms,
    transform 800ms var(--ease) 200ms;
}
.quote.is-late .quote__cap {
  opacity: 1;
  transform: translateY(0);
}
.quote__attr {
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 14px;
  padding-bottom: 8px;
}
.quote__attr-sep {
  color: var(--neon);
  opacity: 0.7;
}
.quote__attr-role {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* WHY BOOLE — origin story ────────────────────────── */
.why {
  background: var(--paper-2);
  color: var(--ink);
  padding: 160px 7vw 144px;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute; left: 7vw; right: 7vw; top: 0;
  height: 1px; background: var(--hairline-strong);
}
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
  max-width: 1320px;
  margin-top: 24px;
}
.why__portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.why__portrait-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 0;
}
.why__portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  mix-blend-mode: normal;
  /* match /09 portrait — green-tinted monochrome */
  filter: grayscale(1) contrast(1.1) brightness(0.95) sepia(0.18) hue-rotate(110deg) saturate(1.2);
  opacity: 0.95;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.88) 62%,
    rgba(0,0,0,0.35) 84%,
    rgba(0,0,0,0) 100%
  );
          mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.88) 62%,
    rgba(0,0,0,0.35) 84%,
    rgba(0,0,0,0) 100%
  );
}
.why__portrait-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,58,62,0.18), rgba(11,58,62,0.32));
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 38%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0) 100%
  );
          mask-image: radial-gradient(
    ellipse 78% 92% at 50% 48%,
    rgba(0,0,0,1) 38%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0) 100%
  );
  pointer-events: none;
  mix-blend-mode: multiply;
}
.why__portrait-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.why__portrait-sep { color: var(--neon); opacity: 0.7; }

.why__copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 56ch;
}
.why__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.why__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  text-wrap: pretty;
}
.why__body p { margin: 0; }
.why__lede {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.014em;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.why__lede em {
  font-style: italic;
  color: var(--neon);
}
.why__close {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--neon);
  max-width: 22ch;
  text-wrap: balance;
  padding-top: 12px;
}
.why__close::before {
  content: ""; display: inline-block;
  width: 36px; height: 2px; background: var(--neon);
  vertical-align: middle; margin-right: 18px;
  transform: translateY(-0.18em);
}
/* fade-in on intersection */
.why__h, .why__body p, .why__portrait {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.why.is-in .why__h { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.why.is-in .why__portrait { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.why.is-in .why__body p:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 200ms; }
.why.is-in .why__body p:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 380ms; }
.why.is-in .why__body p:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 560ms; }

/* CONTACT — final dark moment ────────────────────── */
.contact {
  background: var(--paper-warm);
  color: var(--on-dark-soft);
  padding: 192px 7vw 64px;
  position: relative;
  overflow: hidden;
}
.contact__eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 32px; }
.contact__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 8.4vw, 144px);
  line-height: 0.98;
  letter-spacing: -0.014em;
  margin: 0 0 80px;
  color: #FCFFFA;
  max-width: 18ch;
  text-wrap: balance;
}
.contact__h em {
  font-style: normal;
  color: var(--neon);
  display: inline;
  position: relative;
}
.contact__h em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.04em;
  height: 2px;
  background: var(--neon);
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: left;
  animation: stripe-in 1100ms var(--ease-out) 600ms forwards;
}
.contact__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 144px;
}
.contact__lede {
  font-size: 21px; line-height: 1.55; color: var(--on-dark-soft);
  max-width: 50ch; margin: 0;
}
.contact__ctas {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.contact__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font: inherit; font-weight: 600; font-size: 16px;
  background: var(--neon); color: var(--deep);
  border: 0; border-radius: 999px;
  padding: 16px 24px; cursor: pointer;
  text-decoration: none;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.contact__cta:hover { transform: translateY(-2px); background: #5dff85; }
.contact__cta:active { transform: scale(0.98); }
.contact__cta--ghost {
  background: transparent; color: var(--on-dark-soft);
  border: 1px solid rgba(255,255,255,0.3);
}
.contact__cta--ghost:hover { background: rgba(255,255,255,0.06); }

/* FOOTER ─────────────────────────────────────────── */
.foot {
  background: var(--deep);
  color: var(--on-dark-soft);
  padding: 96px 7vw 56px;
  border-top: 1px solid rgba(255,255,255,0.10);
  position: relative;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.foot__top {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foot__logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 200ms var(--ease);
}
.foot__logo img {
  height: clamp(32px, 3.2vw, 44px);
  width: auto;
  display: block;
}
.foot__logo:hover { opacity: 0.7; }
.foot__motto {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
  max-width: 28ch;
}

.foot__nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: clamp(28px, 3vw, 48px);
  column-gap: clamp(40px, 5vw, 96px);
}
.foot__nav .foot__col--contact {
  margin-left: clamp(8px, 2vw, 32px);
}
.foot__col__h {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 24px;
  font-weight: 600;
  min-height: 1em;
}
.foot__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'SF Pro Text', 'Aptos', system-ui, sans-serif;
  font-size: 15px;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.foot__list a:hover { color: var(--neon); }
.foot__num {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.32);
  flex: 0 0 auto;
  min-width: 22px;
}
.foot__list a:hover .foot__num { color: var(--neon); }

.foot__list--plain li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: baseline;
  font-family: 'SF Pro Text', 'Aptos', system-ui, sans-serif;
  font-size: 15px;
  color: var(--on-dark-soft);
  line-height: 1.45;
}
.foot__list--plain a {
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.foot__list--plain a:hover { color: var(--neon); }
.foot__label {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 2px;
}

.foot__rule {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 64px 0 32px;
}

.foot__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.foot__legal {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.foot__legal__co { color: var(--on-dark-soft); }
.foot__legal__sep { opacity: 0.4; }
.foot__legal .foot__label {
  display: inline;
  padding: 0;
  margin-right: 6px;
  letter-spacing: 0.18em;
}

.foot__lang {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot__lang__btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-mute);
  cursor: pointer;
  letter-spacing: 0.16em;
  transition: color 200ms var(--ease);
}
.foot__lang__btn:hover { color: var(--neon); }
.foot__lang__btn[aria-pressed="true"] { color: var(--ink); }
.foot__lang__sep { opacity: 0.4; }

/* Reveal-on-scroll utility ───────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--soft {
  transition-duration: 1200ms;
}

/* SECTION MARKER — big /01, /02 … openers ───────── */
.smark {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 56px;
  scroll-margin-top: 96px;
  /* anchor target offset so jumping from rail clears the nav */
}
.smark__num {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  position: relative;
}
.smark__num::before {
  content: "/";
  color: var(--neon);
  margin-right: 0.04em;
  font-weight: 400;
  display: inline-block;
  flex: none;
}
.smark__label {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  padding-bottom: 0.42em;
  white-space: nowrap;
}
.smark__rule {
  flex: 1;
  height: 1px;
  background: var(--hairline);
  margin-bottom: 0.6em;
  align-self: end;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1100ms var(--ease-out) 200ms;
}
section.is-in .smark__rule,
.is-in > .smark__rule { transform: scaleX(1); }

/* On mint section (principles), use deep ink for the serial */
.principles .smark__num { color: var(--deep); }
.principles .smark__label { color: var(--deep); }
.principles .smark__rule { background: rgba(6,42,45,0.18); }

/* SECTION RAIL — fixed right-side nav with /01 … /08 */
.srail {
  position: fixed;
  right: max(28px, 3.2vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.srail__item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.42);
  padding: 4px 0;
  position: relative;
  transition: color 240ms var(--ease);
  cursor: pointer;
}
.srail__num {
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  min-width: 32px;
}
.srail__num::before {
  content: "/";
  color: var(--neon);
  opacity: 0.55;
  margin-right: 0.04em;
  transition: opacity 240ms var(--ease);
}
.srail__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
  white-space: nowrap;
}
.srail__item:hover {
  color: var(--ink);
}
.srail__item:hover .srail__label,
.srail__item.is-active .srail__label {
  opacity: 1;
  transform: translateX(0);
}
.srail__item.is-active {
  color: var(--ink);
}
.srail__item.is-active .srail__num::before {
  opacity: 1;
}
.srail__item.is-active .srail__num {
  /* subtle neon glow on the active number */
  text-shadow: 0 0 18px rgba(74,241,116,0.35);
}

/* Rail recolors on light (mint) section */
.srail.on-light .srail__item { color: rgba(6,42,45,0.42); }
.srail.on-light .srail__item:hover,
.srail.on-light .srail__item.is-active { color: var(--deep); }
.srail.on-light .srail__num::before { color: #1FAE49; }

/* MOBILE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__right { gap: 12px; }
  .section, .principles, .who, .delivery, .arch { padding: 88px 6vw; }
  .who { height: auto !important; padding: 0; }
  .who__pin { position: static; height: auto; padding: 88px 6vw; }
  .services__head { grid-template-columns: 1fr; gap: 24px; padding: 88px 6vw 32px; }
  .services__intro { padding-bottom: 0; }
  .svc-track { padding: 0 6vw 64px; }
  .svc-flow { grid-template-columns: 1fr; row-gap: 32px; padding: 0; }
  .svc-flow__lines { display: none; }
  .svc-node { padding: 24px; }
  .svc-node__title { font-size: 26px; }
  .arch { padding: 88px 0; }
  .arch__head { padding: 0 6vw; }
  .arch > .smark { padding: 0 6vw; }
  .arch__grid { grid-template-columns: 1fr; padding: 32px 6vw 0; gap: 16px; }
  .principles__grid { grid-template-columns: 1fr; gap: 24px; }
  .delivery__grid { grid-template-columns: 1fr; }
  .iz__steps { flex-direction: column; gap: 24px; }
  .iz__step { border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); padding: 24px 0; }
  .iz__step.is-active { border-left: 0; border-top-color: var(--neon); }
  .iz__step__node { display: none; }
  .iz__progress { display: none; }
  .iz__pin { height: auto; position: static; }

  .foot { padding: 64px 6vw 40px; }
  .foot__top { grid-template-columns: 1fr; gap: 48px; }
  .foot__nav { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .foot__col--contact { grid-column: 1 / -1; margin-left: 0; }
  .foot__nav .foot__col--contact { margin-left: 0; }
  .foot__list--plain li { grid-template-columns: 80px 1fr; }
  .foot__bot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .iz__rail { padding: 24px 6vw 64px; }
  .contact__row { grid-template-columns: 1fr; gap: 32px; }
  .quote { padding: 88px 6vw 96px; }
  .why { padding: 88px 6vw; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__portrait { position: static; max-width: 240px; }
  .quote__fig {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "quote"
      "cap";
    gap: 40px;
  }
  .quote__photo { max-height: 60vh; overflow: hidden; }
  .quote__cap { gap: 12px; }
  .quote__attr { font-size: 16px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 32px; }
  .srail { display: none; }
  .smark { gap: 16px; margin-bottom: 36px; }
  .smark__num { font-size: clamp(56px, 16vw, 96px); }
  .smark__rule { display: none; }
}

/* 02 · Recognition (interlude) — Blueprint Gantt ────── */
.recog {
  position: relative;
  background: var(--deep);
  color: var(--ink);
}

/* ───────────────────────────────────────────────────────────
   VARIANT B · Blueprint Gantt — quiet, IZ-palette (deep teal), red marginalia
   ─────────────────────────────────────────────────────────── */
.recogB {
  --b-ink: var(--ink);
  --b-soft: var(--ink-soft);
  --b-mute: var(--ink-mute);
  --b-deep: var(--deep);
  /* on --deep the bars need a slightly lifted teal so they read against the bg */
  --b-line: rgba(126, 177, 174, 0.16);   /* teal hairline */
  --b-line-2: rgba(126, 177, 174, 0.30); /* major hairline */
  --b-bar-ok: #0E4347;                   /* lifted teal — pops on --deep */
  --b-bar-ok-stroke: rgba(126, 177, 174, 0.55);
  --b-pad: #0A3539;                      /* gutter / titleblock fill — sits between deep and bar */
  --b-red: #E54A3F;
  --b-red-soft: #FF8A7E;

  position: relative;
  background: var(--deep);
  color: var(--b-ink);
  padding: 96px 7vw 120px;
  display: grid;
  gap: 48px;
  font-family: 'SF Pro Text', system-ui, sans-serif;
  isolation: isolate;
}
/* Subtle blueprint grid wash (very low contrast) */
.recogB::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--b-line) 1px, transparent 1px) 0 0 / 80px 100%,
    linear-gradient(to bottom, var(--b-line) 1px, transparent 1px) 0 0 / 100% 80px;
  opacity: 0.45;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  z-index: -1;
}

/* HEAD — heading owns its row, no overlap */
.recogB__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  max-width: none;
}
.recogB__smark {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--b-mute);
  display: flex; align-items: baseline; gap: 12px;
}
.recogB__smark .smark__num::before {
  content: "/"; color: var(--neon); margin-right: 0.18em;
}
.recogB__h {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  /* size scales with viewport so each line fits on one line.
     longest line: "Fler initiativ än ni hinner genomföra." (~38 chars).
     viewport - 2 × 7vw padding = 86vw available for the heading.
     Gloock-ish avg char width ~0.55em → 38 × 0.55 = 20.9em.
     => max font-size ≈ 86vw / 20.9 ≈ 4.1vw to keep right margin generous.
     pick 4.6vw and cap at 76px so there's always breathing room. */
  font-size: clamp(28px, 4.6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--b-ink);
  margin: 0;
  /* prevent the browser from re-wrapping the heading lines */
  text-wrap: nowrap;
  white-space: nowrap;
  max-width: none;
  /* extra right padding so the longest line never kisses the section edge */
  padding-right: 4vw;
}
/* on narrow screens, allow wrapping again so it doesn't overflow */
@media (max-width: 880px) {
  .recogB__h {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(26px, 6vw, 48px);
    padding-right: 0;
  }
}
.recogB__h em {
  font-style: normal;
  position: relative;
  isolation: isolate;
}
.recogB__h em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.18em; background: var(--neon); z-index: -1;
  opacity: 0.85;
}
.recogB__lede {
  margin: 0;
  font-size: 19px; line-height: 1.6;
  color: var(--b-soft);
  max-width: none;
  text-wrap: pretty;
}

/* DOC META — meta strip + legend, hairline framed like a blueprint titleblock */
.recogB__doc {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--b-line-2);
  border-bottom: 1px solid var(--b-line-2);
  padding: 16px 0;
  flex-wrap: wrap;
}
.recogB__doc__meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--b-mute);
}
.recogB__doc__rev { color: var(--b-red); }
.recogB__legend {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--b-mute);
}
.recogB__legend__item { display: inline-flex; align-items: center; gap: 8px; }
.recogB__legend__sw {
  width: 22px; height: 8px;
  background: transparent;
  border: 1px solid var(--b-mute);
}
.recogB__legend__sw--ok    { background: var(--b-bar-ok); border-color: var(--b-bar-ok-stroke); }
.recogB__legend__sw--plan  {
  background:
    repeating-linear-gradient(45deg,
      var(--b-line-2) 0 3px, transparent 3px 6px);
  border: 1px dashed var(--b-mute);
}
.recogB__legend__sw--late  { background: var(--b-red); border-color: var(--b-red); }
.recogB__legend__sw--block { background: transparent; border: 1px solid var(--b-red);
  background-image: repeating-linear-gradient(45deg, var(--b-red) 0 1px, transparent 1px 5px); }

/* GRID — layer rail + row labels gutter + chart */
.recogB__grid {
  --layer-w: 32px;       /* vertical layer-name rail */
  --tracks-w: 168px;     /* track number + label */
  --gutter: calc(var(--layer-w) + var(--tracks-w));
  --row-h: 36px;
  --rows: 16;
  position: relative;
  display: grid;
  grid-template-columns: var(--layer-w) var(--tracks-w) 1fr;
  grid-template-rows: 28px 22px calc(var(--rows) * var(--row-h));
  border: 1px solid var(--b-line-2);
  /* let the OMPRIORITERAS stamp hang below the bottom edge */
  overflow: visible;
  background:
    /* faint quarter columns over chart only */
    linear-gradient(to right, transparent var(--gutter), var(--deep) var(--gutter)),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(100% / 16 - 1px),
      var(--b-line) calc(100% / 16 - 1px),
      var(--b-line) calc(100% / 16)
    );
  isolation: isolate;
}

/* Years row */
.recogB__years {
  grid-column: 1 / 4;
  grid-row: 1;
  display: grid;
  grid-template-columns: var(--gutter) repeat(4, 1fr);
  border-bottom: 1px solid var(--b-line-2);
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--b-soft);
}
.recogB__years__pad { background: var(--b-pad); border-right: 1px solid var(--b-line-2); }
.recogB__years > span:not(.recogB__years__pad) {
  padding: 6px 12px;
  border-right: 1px solid var(--b-line-2);
  display: flex; align-items: center;
  font-weight: 600;
}
.recogB__years > span:last-child { border-right: 0; }

/* Quarters row */
.recogB__quarters {
  grid-column: 1 / 4;
  grid-row: 2;
  display: grid;
  grid-template-columns: var(--gutter) repeat(16, 1fr);
  border-bottom: 1px solid var(--b-line-2);
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 9px; letter-spacing: 0.14em;
  color: var(--b-mute);
}
.recogB__quarters__pad {
  background: var(--b-pad);
  border-right: 1px solid var(--b-line-2);
  padding: 4px 12px;
  display: grid;
  grid-template-columns: var(--layer-w) 1fr;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--b-soft);
}
.recogB__quarters__pad__l,
.recogB__quarters__pad__r {
  display: flex; align-items: center;
}
.recogB__quarters__pad__l {
  justify-content: center;
  border-right: 1px solid var(--b-line-2);
  height: 100%;
  margin: 0 8px 0 -12px;
  padding: 0 4px;
  color: var(--b-mute);
}
.recogB__quarters > span:not(.recogB__quarters__pad) {
  padding: 4px 8px;
  border-right: 1px solid var(--b-line);
  display: flex; align-items: center;
}
.recogB__quarters > span:nth-child(5n+1):not(.recogB__quarters__pad) { border-right-color: var(--b-line-2); }
.recogB__quarters > span:last-child { border-right: 0; }

/* Layer rail — Boole Architecture stack labels (vertical, span 4 rows each) */
.recogB__layers {
  grid-column: 1;
  grid-row: 3;
  list-style: none; padding: 0; margin: 0;
  background: var(--b-pad);
  border-right: 1px solid var(--b-line-2);
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}
.recogB__layer {
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--b-line-2);
  position: relative;
  overflow: hidden;
}
.recogB__layer:last-child { border-bottom: 0; }
.recogB__layer > span {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--b-ink);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
}
/* Tiny color tab on the inner edge — echoes the /05 stack swatches */
.recogB__layer::after {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  right: 0;
  width: 3px;
  background: var(--layer-tab, var(--b-mute));
  opacity: 0.9;
}
.recogB__layer--l1 { --layer-tab: var(--neon); }                  /* Strategi & vägval */
.recogB__layer--l2 { --layer-tab: var(--mint-deep, #D3FABF); }    /* Verksamhet & organisation */
.recogB__layer--l3 { --layer-tab: var(--mint, #EAFDE5); }         /* Data & information */
.recogB__layer--l4 { --layer-tab: #FFFFFF; }                      /* Teknik & plattformar */

/* Row labels */
.recogB__rows {
  grid-column: 2;
  grid-row: 3;
  list-style: none; padding: 0; margin: 0;
  background: var(--b-pad);
  border-right: 1px solid var(--b-line-2);
  display: grid;
  grid-auto-rows: var(--row-h);
}
.recogB__rows li {
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px;
  font-family: 'SF Pro Text', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--b-ink);
  border-bottom: 1px solid var(--b-line);
}
/* Major rule between Boole-architecture layer groups (every 4th row) */
.recogB__rows li:nth-child(4n) { border-bottom: 1px solid var(--b-line-2); }
.recogB__rows li:last-child { border-bottom: 0; }
.recogB__rows__num {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--b-mute);
}

/* Board (bars area) */
.recogB__board {
  grid-column: 3;
  grid-row: 3;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--row-h) - 1px),
    var(--b-line) calc(var(--row-h) - 1px),
    var(--b-line) var(--row-h)
  );
}

/* Bars */
.recogB__bar {
  position: absolute;
  left: calc(var(--start) / 16 * 100%);
  width: calc(var(--span) / 16 * 100%);
  top: calc((var(--row) - 1) * var(--row-h) + 8px);
  height: calc(var(--row-h) - 16px);
  border-radius: 2px;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 10px; letter-spacing: 0.04em;
  display: flex; align-items: center;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}
.recogB__bar > span {
  overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}

/* States — quiet teal default, red only for problems */
.recogB__bar[data-state="ok"] {
  background: var(--b-bar-ok);
  border: 1px solid var(--b-bar-ok-stroke);
  color: var(--b-soft);
}
.recogB__bar[data-state="plan"] {
  background:
    repeating-linear-gradient(45deg,
      rgba(126,177,174,0.20) 0 3px,
      transparent 3px 6px);
  border: 1px dashed var(--b-mute);
  color: var(--b-soft);
}
.recogB__bar[data-state="late"] {
  background: var(--b-red);
  border: 1px solid var(--b-red);
  color: #FFF;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 0 0 1px rgba(229,74,63,0.4);
}
.recogB__bar[data-state="block"] {
  background-color: transparent;
  background-image: repeating-linear-gradient(45deg,
    var(--b-red) 0 1px, transparent 1px 6px);
  border: 1px solid var(--b-red);
  color: var(--b-red-soft);
}

/* Today pin — neon, vertical full-height */
.recogB__today {
  position: absolute;
  left: calc(var(--at) / 16 * 100%);
  top: -22px; bottom: 0;
  width: 0;
  border-left: 1px dashed var(--neon);
  z-index: 4;
}
.recogB__today > span {
  position: absolute;
  top: -2px; left: 6px;
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--deep);
  background: var(--neon);
  padding: 2px 6px;
  font-weight: 700;
}

/* MARGINALIA — red handwritten comments overlaying the chart */
.recogB__marginalia {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;            /* sit above bars, today-pin, everything */
  color: var(--b-red);
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', cursive;
  /* let the OMPRIORITERAS stamp hang below the chart edge */
  overflow: visible;
}
.recogB__mark {
  position: absolute;
  display: grid;
  gap: 4px;
  transform-origin: center;
  filter: drop-shadow(0 1px 0 rgba(229,74,63,0.15));
}
.recogB__mark__t {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  padding: 14px 32px 12px;
}
/* diffuse, oversized plate behind the text — no hard edges */
.recogB__mark__t::before {
  content: "";
  position: absolute;
  inset: -10px -28px;
  z-index: -1;
  background:
    radial-gradient(ellipse at center,
      var(--deep) 0%,
      rgba(6, 42, 45, 0.92) 35%,
      rgba(6, 42, 45, 0.65) 60%,
      rgba(6, 42, 45, 0.30) 80%,
      rgba(6, 42, 45, 0) 100%);
  filter: blur(2px);
}
.recogB__mark__a {
  width: 80px; height: 50px;
  color: var(--b-red);
}
.recogB__mark__stamp {
  font-family: 'SF Pro Display', system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-red);
  border: 2px solid var(--b-red);
  padding: 6px 14px;
  white-space: nowrap;
  transform: rotate(-8deg);
  background: rgba(229,74,63,0.06);
}
/* placement — calibrated to chart proportions (16 rows, 4 layers).
   marginalia is now a child of .recogB__grid — inset:0 covers the chart only,
   so percentages are relative to the chart box, not the section. */
.recogB__mark--m1 { /* points down at row 7 (CRM-byte · late). row top ≈ 42% of chart */
  top: 28%; left: 26%; transform: rotate(-3deg);
}
.recogB__mark--m1 .recogB__mark__a { transform: translate(20px, 4px); }

.recogB__mark--m2 {
  /* points at row 7 (Kundresor v2). row mid ~ 45% of chart */
  top: 30%; right: 4%; text-align: right; transform: rotate(2deg);
}
.recogB__mark--m2 .recogB__mark__a { transform: translate(0, 0) scaleX(-1); margin-left: auto; }

.recogB__mark--m3 { /* annotation pointing to dependency on row 9 (Dataplattform v2 · MDM · block). row ≈ 54% */
  top: 48%; left: 42%; transform: rotate(-2deg);
}

.recogB__mark--m4 { /* "stryk?" near bottom rows (legacy · API-program · block). row 16 ≈ 94% */
  bottom: 2%; left: 28%; transform: rotate(-4deg);
}

.recogB__mark--m5 { /* big stamp on top of the lower-right corner of the chart */
  bottom: -2%; right: -1%;
}

@media (max-width: 1280px) {
  .recogB__grid { --layer-w: 28px; --tracks-w: 150px; --row-h: 32px; }
  .recogB__bar { font-size: 9px; padding: 0 8px; }
  .recogB__rows li { font-size: 11.5px; padding: 0 12px; gap: 8px; }
  .recogB__layer > span { font-size: 9px; letter-spacing: 0.2em; }
  .recogB__mark__t { font-size: 19px; }
}
@media (max-width: 1024px) {
  .recogB__grid { --layer-w: 24px; --tracks-w: 132px; --row-h: 28px; }
  .recogB__h { font-size: clamp(34px, 5vw, 56px); }
  .recogB__bar { font-size: 8.5px; padding: 0 6px; }
  .recogB__layer > span { font-size: 8.5px; letter-spacing: 0.18em; }
  .recogB__mark__t { font-size: 17px; }
  .recogB__mark__stamp { font-size: 11px; padding: 4px 10px; }
}
@media (max-width: 760px) {
  .recogB { padding: 64px 5vw 88px; gap: 32px; }
  .recogB__doc { grid-template-columns: 1fr; gap: 14px; }
  .recogB__doc__meta { gap: 14px; font-size: 10px; }
  .recogB__legend { gap: 12px; }
  .recogB__grid { --layer-w: 22px; --tracks-w: 96px; --row-h: 24px; }
  .recogB__rows li { font-size: 10px; padding: 0 8px; gap: 6px; }
  .recogB__rows__num { font-size: 9px; }
  .recogB__bar { font-size: 8px; padding: 0 4px; }
  .recogB__bar > span { letter-spacing: 0; }
  .recogB__layer > span { font-size: 7.5px; letter-spacing: 0.14em; }
  .recogB__years { font-size: 9px; }
  .recogB__years > span:not(.recogB__years__pad) { padding: 4px 8px; }
  .recogB__quarters { font-size: 7px; }
  .recogB__quarters > span:not(.recogB__quarters__pad) { padding: 4px 2px; }
  .recogB__mark__t { font-size: 14px; }
  .recogB__mark--m2 { right: 2%; }
  .recogB__mark--m5 { bottom: 6%; right: 3%; }
}

@media (max-width: 480px) {
  .recogB__grid { --layer-w: 18px; --tracks-w: 76px; --row-h: 22px; }
  .recogB__years > span:not(.recogB__years__pad) { padding: 4px 2px; font-size: 8px; }
  .recogB__quarters { font-size: 6px; }
  .recogB__quarters > span:not(.recogB__quarters__pad) { padding: 3px 1px; }
}

/* /02 footer notes — three cards that visually rhyme with /03 svc-node */
.recogB__foot {
  display: grid;
  gap: 56px;
  margin-top: 24px;
}
.recogB__notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px);
}
.recogB__note {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 2.6vw, 40px);
  background: linear-gradient(180deg,
              rgba(20, 58, 62, 0.88) 0%,
              rgba(14, 44, 47, 0.92) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 1px 0 0 rgba(255,255,255,0.05) inset;
  color: var(--on-dark-soft);
}
.recogB__note__head {
  display: flex; align-items: baseline; gap: 18px;
  flex-wrap: wrap;
  margin: -4px 0 4px;
}
.recogB__note__num {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.32);
  flex: none;
  position: relative;
}
.recogB__note__num::before {
  content: "/";
  color: var(--neon);
  margin-right: 4px;
  opacity: 0.95;
}
.recogB__note__phase {
  font-family: 'SF Mono', ui-monospace, 'Menlo', monospace;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--neon);
  margin: 0;
}
.recogB__note__title {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont,
               system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: #FCFFFA;
  margin: 0;
  text-wrap: balance;
}
.recogB__note__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  margin: 0;
  max-width: 42ch;
}

/* closing line under the three cards */
.recogB__close {
  font-family: 'Gloock', 'SF Pro Display', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--b-ink);
  margin: 0;
  max-width: 36ch;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .recogB__notes { grid-template-columns: 1fr; gap: 16px; }
}

/* ─── Variant tweaks panel ───────────────────────────────── */
