/* ============================================================
   KI ALPIN — Höhenlinien design system
   Quiet Summit (editorial) is base; Process Ridge swaps tokens.
   ============================================================ */

:root {
  /* Quiet Summit palette (default) */
  --pine: #123A34;
  --slate: #5D7280;
  --moss: #6E8B4E;
  --mist: #E7ECE8;
  --warm: #C9A66B;
  --graphite: #2A2E2F;
  --paper: #F4F1EC;
  --line: rgba(42,46,47,0.12);
  --line-strong: rgba(42,46,47,0.22);

  /* Roles */
  --bg: var(--paper);
  --fg: var(--graphite);
  --fg-muted: var(--slate);
  --primary: var(--pine);
  --accent: var(--warm);
  --rule: var(--line);

  /* Type */
  --serif: "IBM Plex Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Scale */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
}

/* Process Ridge override */
:root[data-direction="ridge"] {
  --bg: #FAFBFA;
  --primary: #1E3A47;
  --accent: var(--moss);
  --rule: rgba(30,58,71,0.14);
  --serif: "Inter", -apple-system, sans-serif; /* sans-led */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.section { padding: var(--section) 0; position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--fg-muted);
}

.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

:root[data-direction="ridge"] h1,
:root[data-direction="ridge"] h2,
:root[data-direction="ridge"] h3,
:root[data-direction="ridge"] h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.h-display { font-size: clamp(48px, 7.2vw, 104px); line-height: 0.98; }
.h-1 { font-size: clamp(36px, 4.4vw, 64px); }
.h-2 { font-size: clamp(28px, 3vw, 44px); }
.h-3 { font-size: clamp(20px, 1.6vw, 26px); }

p.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--fg);
  max-width: 60ch;
}

p { max-width: 64ch; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.serif-it { font-family: var(--serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--primary);
  color: var(--bg);
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, background 220ms ease;
  border: 1px solid var(--primary);
}
.btn:hover { transform: translateY(-1px); background: var(--graphite); border-color: var(--graphite); }
.btn .arrow { width: 14px; height: 10px; }

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  transition: border-color 200ms;
}
.link:hover { border-color: var(--primary); }

/* ---------- Topo line backdrop (the leitmotif) ---------- */
.topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.topo path { fill: none; stroke: var(--primary); stroke-width: 0.6; opacity: 0.18; }
:root[data-direction="ridge"] .topo path { opacity: 0.10; stroke-dasharray: 2 4; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 72px;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.logo .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-2px);
}
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: block;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
}
.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.logo-wordmark-text {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--primary);
  font-weight: 500;
}
.logo-wordmark-tagline {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.85;
}
@media (max-width: 720px) {
  .logo-mark { height: 32px; width: 32px; }
  .logo-wordmark-text { font-size: 13px; }
  .logo-wordmark-tagline { display: none; }
}
.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--fg);
  position: relative;
  padding: 6px 0;
  opacity: 0.78;
  transition: opacity 180ms;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--primary);
}
.nav-cta {
  display: flex; gap: 14px; align-items: center;
}
.nav-cta .mono-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0 var(--section);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; gap: 80px; }
}
.hero-lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.hero-lead-foot {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-lead-foot .hero-actions {
  margin-top: 0;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin: 28px 0 32px;
}
.hero h1 .em {
  font-style: italic;
  color: var(--accent);
}
.hero-claim {
  font-size: clamp(17px, 1.3vw, 20px);
  max-width: 52ch;
  color: var(--fg);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
}

.portrait, .portrait-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #d8d2c8 0%, #c4c0b6 50%, #aaa89e 100%);
  overflow: hidden;
}
.hero-aside .portrait-wrap {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 520px;
}
.portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(42,46,47,0.06) 0 1px, transparent 1px 14px);
}
.portrait-wrap image-slot {
  position: absolute; inset: 0; z-index: 1;
}
.portrait-label {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  background: var(--bg);
  padding: 6px 10px;
  z-index: 2;
}
.portrait-overlay {
  position: absolute;
  right: 0; top: 0;
  background: var(--primary);
  color: var(--bg);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}
/* ===== Authority block (under portrait) ===== */
.authority-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 20px;
}
.authority-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.authority-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.authority-credentials {
  font-size: 13px;
  color: var(--fg);
  opacity: 0.78;
  line-height: 1.45;
  max-width: 32ch;
}
.authority-rule {
  border: 0;
  height: 1px;
  background: rgba(18, 58, 52, 0.15);
  margin: 0;
}
.authority-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.authority-trust-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.authority-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: center;
}
.authority-trust-slot {
  position: relative;
  aspect-ratio: 5/2;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 220ms ease, filter 220ms ease;
}
.authority-trust-slot:hover {
  opacity: 0.9;
  filter: grayscale(60%);
}
@media (max-width: 520px) {
  .authority-trust-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
.authority-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.authority-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
}
.authority-stat-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.authority-stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.78;
  max-width: 16ch;
  line-height: 1.4;
}

.hero-aside-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.hero-aside-meta dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 4px;
}
.hero-aside-meta dd { font-size: 14px; color: var(--fg); }

/* ---------- Logo strip ---------- */
/* ---------- Logo strip (marquee) ---------- */
.logos {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 38px 0;
  overflow: hidden;
  background: #ffffff;
}
.logos-cap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.logos-cap .mono {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.logos-cap-rule { flex: 1; height: 1px; background: var(--rule); }
.logos-cap-count { color: var(--primary); opacity: 0.55; }

.logos-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: logos-scroll 64s linear infinite;
  will-change: transform;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }

.logo-cell {
  flex: 0 0 auto;
  width: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}
.logo-cell img {
  height: 46px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter 360ms ease, opacity 360ms ease, transform 360ms ease;
}
.logos-marquee:hover .logo-cell:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}
.logos-fade { display: none; }

@keyframes logos-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Section header pattern ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
}
.section-head .label-col { display: flex; flex-direction: column; gap: 12px; }
.section-head .label-col .num {
  font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4vw, 56px);
  color: var(--accent);
  letter-spacing: -0.02em; line-height: 0.95;
}
.section-head .label-col .name {
  font-family: var(--mono); font-size: 11px; color: var(--primary);
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- Positioning / manifesto ---------- */
.manifesto {
  background: var(--mist);
}
:root[data-direction="ridge"] .manifesto { background: #EEF2F1; }

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .manifesto-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}
.manifesto blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.manifesto blockquote .em { font-style: italic; color: var(--accent); }
.manifesto-aside {
  display: flex; flex-direction: column; gap: 28px;
  padding-top: 8px;
}
.manifesto-aside .fact {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.manifesto-aside .fact .n {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.manifesto-aside .fact .t {
  font-size: 14px; color: var(--fg);
}

/* ---------- Method stepper ---------- */
.method-stepper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .method-stepper {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-strong);
  }
}

.step {
  padding: 32px 0;
  display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: background 220ms;
}
@media (min-width: 900px) {
  .step { padding: 40px 32px 36px; border-top: none; border-right: 1px solid var(--rule); }
  .step:last-child { border-right: none; }
}

.step-header {
  display: flex; justify-content: space-between; align-items: baseline;
}
.step .stage {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}
.step .alt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.step h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.01em;
}
.step p { font-size: 15px; color: var(--fg); }

.step-meta {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
}
.step-meta dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
}
.step-meta dd { font-size: 13px; color: var(--fg); }

/* New: Impact-Effort output block (replaces price/duration meta) */
.step-output {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-output-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.step-output-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.15;
  margin-top: 2px;
}
.step-output-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* ---------- Mountain scene (Methodik animation) ---------- */
.method-scene {
  position: relative;
  margin: 8px 0 16px;
  /* Aspect ratio matches viewBox 1200:440 */
  aspect-ratio: 1200 / 440;
  width: 100%;
  max-height: 460px;
}

.mountain-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Camp marker */
.scene-camp .camp-pole {
  stroke: var(--primary);
  stroke-width: 1.2;
  stroke-opacity: 0.45;
  transition: stroke-opacity 400ms ease, stroke-width 400ms ease;
}
.scene-camp .camp-flag {
  fill: var(--bg);
  stroke: var(--primary);
  stroke-width: 1;
  stroke-opacity: 0.5;
  transition: fill 500ms ease, stroke-opacity 500ms ease;
}
.scene-camp .camp-dot {
  fill: var(--bg);
  stroke: var(--primary);
  stroke-width: 1.4;
  stroke-opacity: 0.6;
  transition: fill 500ms ease, stroke-opacity 500ms ease, r 500ms ease;
}
.scene-camp .camp-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  fill: var(--fg-muted);
  /* Casing: knock the route line out cleanly around the glyphs */
  stroke: var(--bg);
  stroke-width: 3px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  transition: fill 400ms ease;
}
.scene-camp .camp-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  fill: var(--primary);
  fill-opacity: 0.7;
  letter-spacing: 0.005em;
  /* Casing: same halo so the line never cuts through the wording */
  stroke: var(--bg);
  stroke-width: 3.5px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  transition: fill-opacity 400ms ease, font-weight 400ms ease;
}
.scene-camp.reached .camp-num { fill: var(--primary); }
.scene-camp.reached .camp-title { fill-opacity: 0.88; }
.scene-camp.current .camp-title { fill-opacity: 1; }

/* Column markers at SVG bottom — anchor each camp to its step card column. */
.column-mark {
  stroke: var(--primary);
  stroke-width: 1;
  stroke-opacity: 0.30;
  transition: stroke 320ms ease, stroke-opacity 320ms ease, stroke-width 320ms ease;
}
.column-mark.active {
  stroke: var(--accent);
  stroke-opacity: 1;
  stroke-width: 1.6;
}

.scene-camp.reached .camp-pole { stroke-opacity: 0.85; }
.scene-camp.reached .camp-flag {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-opacity: 1;
}
.scene-camp.reached .camp-dot {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-opacity: 1;
}
.scene-camp.reached .camp-label {
  fill: var(--primary);
}

.scene-camp.current .camp-label {
  fill: var(--primary);
  font-weight: 500;
}

/* Step card top tick — receives the SVG column marker above */
.method-stepper { position: relative; }
.method-stepper .step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--primary);
  opacity: 0.30;
  transform: translateX(-50%);
  transition: background 320ms ease, opacity 320ms ease, height 320ms ease;
  pointer-events: none;
}
.method-stepper .step.active::before {
  background: var(--accent);
  opacity: 1;
  height: 22px;
}
@media (max-width: 900px) {
  .method-stepper .step::before { display: none; }
}

/* Climber marker */
.climber {
  pointer-events: none;
}
.climber-core {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 1.5;
}
.climber-halo {
  fill: var(--accent);
  fill-opacity: 0.18;
  transform-origin: center;
  animation: climberPulse 2.4s ease-in-out infinite;
}
@keyframes climberPulse {
  0%, 100% { fill-opacity: 0.12; transform: scale(0.85); }
  50%      { fill-opacity: 0.28; transform: scale(1.15); }
}

/* Cloud drift */
.clouds ellipse {
  animation: cloudDrift 28s linear infinite;
  transform-origin: center;
}
.clouds ellipse:nth-child(2) {
  animation-duration: 38s;
  animation-direction: reverse;
}
@keyframes cloudDrift {
  0%   { transform: translateX(-40px); }
  50%  { transform: translateX(40px); }
  100% { transform: translateX(-40px); }
}

/* Smaller screens — keep scene visible but compact */
@media (max-width: 900px) {
  .method-scene { margin: 0 0 32px; max-height: 280px; }
  .method-scene::before, .method-scene::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .climber-halo, .clouds ellipse { animation: none; }
  .route-completed { transition: none !important; }
  .climber { transition: none !important; }
}

.step:hover { background: color-mix(in oklab, var(--primary) 4%, transparent); }
.step.active { background: color-mix(in oklab, var(--primary) 6%, transparent); }

/* ---------- Service ribbon ---------- */
.services {
  background: var(--primary);
  color: var(--bg);
}
.services h2, .services .eyebrow { color: var(--bg); }
.services .eyebrow { opacity: 0.7; }
.services .eyebrow::before { background: var(--bg); opacity: 0.5; }

.services .section-head .label-col .name,
.services .section-head .label-col .num { color: var(--bg); opacity: 0.7; }

.service-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: padding 240ms ease;
}
.service-row:hover { padding-left: 12px; padding-right: 12px; }
.service-row .sn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}
.service-row .st {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.service-row .stsub {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.65;
  margin-top: 8px;
}
.service-row .open {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 240ms, background 240ms;
}
.service-row:hover .open { background: var(--accent); border-color: var(--accent); }
.service-row.open-state .open { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.service-row .open svg { width: 14px; height: 14px; stroke: currentColor; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 32px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
}
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 80px 1.2fr 1fr 1fr; gap: 32px; }
}
.service-detail p { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 38ch; }
.service-detail h4 {
  color: var(--bg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.65;
  margin-bottom: 14px;
}
.service-detail ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-detail li {
  font-size: 14px; padding-left: 18px; position: relative;
  color: rgba(255,255,255,0.9);
}
.service-detail li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--accent);
}
.service-detail .price {
  font-family: var(--serif); font-size: 28px; color: var(--bg); margin-bottom: 4px;
}
.service-detail .priceNote {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.6;
}

/* ---------- Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}
.case {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms;
  position: relative;
}
.case:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.case-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--mist) 0%, #cfd5d2 100%);
  position: relative;
  overflow: hidden;
}
.case-media .topo-mini {
  position: absolute; inset: 0;
}
.case-media .topo-mini path { fill: none; stroke: var(--primary); stroke-width: 0.6; opacity: 0.25; }

/* User-droppable project image — covers the topo backdrop when filled */
.case-media .case-img { z-index: 1; }
/* Scrim: keeps the tag / badge / result legible over any photo.
   Invisible until an image is present (slot adds [data-filled]). */
.case-scrim {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(18,58,52,0.34) 0%, rgba(18,58,52,0) 34%),
    linear-gradient(0deg,   rgba(18,58,52,0.42) 0%, rgba(18,58,52,0) 38%);
}
.case-tag, .case-result, .case-badge { z-index: 2; }
.case:hover .case-img[data-filled],
.case:hover image-slot[data-filled] { transform: scale(1.04); }
.case-media .case-img,
.case-media image-slot[data-filled] { transition: transform 600ms cubic-bezier(0.22,0.61,0.36,1); }

.case-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--bg);
  padding: 6px 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
}
.case-result {
  position: absolute; bottom: 14px; right: 14px;
  background: var(--primary); color: var(--bg);
  padding: 8px 12px;
  font-family: var(--serif); font-size: 22px; line-height: 1;
}

.case-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-body h3 { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--primary); }
.case-body .meta {
  display: flex; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
}
.case-body p { font-size: 14px; color: var(--fg); }

/* ---------- Projekte · Filter chips ---------- */
.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.proj-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 200ms, color 200ms, border-color 200ms;
  cursor: pointer;
}
.proj-filter .ct {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  color: var(--fg-muted);
  transition: all 200ms;
}
.proj-filter:hover { border-color: var(--primary); }
.proj-filter.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.proj-filter.active .ct {
  background: rgba(255,255,255,0.16);
  color: var(--bg);
  border-color: transparent;
}
.proj-filter.is-own.active {
  background: var(--accent);
  color: var(--graphite);
  border-color: var(--accent);
}
.proj-filter.is-own.active .ct {
  background: rgba(0,0,0,0.10);
  color: var(--graphite);
}
.proj-filter.is-pm.active {
  background: var(--graphite);
  border-color: var(--graphite);
}

.proj-empty {
  padding: 48px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Case-badge variants (own product / focus) */
.case-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.case-badge--own {
  background: var(--accent);
  color: var(--graphite);
}
.case-badge--focus {
  background: var(--primary);
  color: var(--bg);
}

/* Own product card variant */
.case.is-own {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--rule));
}
.case.is-own .case-media {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--accent) 18%, var(--mist)) 0%,
    color-mix(in oklab, var(--accent) 8%, #cfd5d2) 100%);
  /* Own products are wide UI screenshots (~16:9 to 2:1). A shorter, screen-
     shaped frame matches their aspect, so cover fills the card cleanly — no
     letterbox gap and only a hair of side-trim instead of a heavy zoom-crop.
     They read as product previews; the client cards keep the taller 4:3. */
  aspect-ratio: 16 / 9;
}
.case.is-own .case-result {
  background: var(--accent);
  color: var(--graphite);
}

/* PM focus card accent */
.case.is-pm {
  outline: 2px solid color-mix(in oklab, var(--primary) 22%, transparent);
  outline-offset: -2px;
}

.case-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 180ms;
}
.case-link:hover { border-color: var(--primary); }

/* ---------- Schwerpunkt · KI im Projektmanagement (N° 04) ---------- */
.pm-focus {
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 6%, var(--bg)) 0%,
      var(--bg) 70%);
  position: relative;
}

/* N° 05 Referenzprojekte — sits on --mist so it reads as its own section
   instead of bleeding into the paper-toned pm-focus (N° 04) above it. The
   paper-toned case cards lift cleanly off the cooler mist surface. */
.projects {
  background: var(--mist);
}
:root[data-direction="ridge"] .projects { background: #EEF2F1; }

/* Workshop figure — landscape banner above the offers */
.pm-figure {
  margin: 0 0 40px;
}
.pm-figure-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #4a4944 0%, #3a3934 100%);
  border: 1px solid var(--rule);
}
.pm-figure-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.pm-figure-kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.pm-figure-text {
  font-size: 14px;
  color: var(--fg-muted);
}

.pm-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .pm-offers { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.pm-offer {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 220ms, transform 220ms;
}
.pm-offer:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.pm-offer:first-child {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--rule));
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 5%, var(--bg)) 0%,
      var(--bg) 60%);
}

.pm-offer-head {
  display: flex;
  align-items: center;
}
.pm-offer-kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.pm-offer-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin: 4px 0 2px;
}
.pm-offer-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  max-width: 48ch;
}
.pm-offer-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}
.pm-offer-points li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.pm-offer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.pm-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.pm-cta-btn {
  flex-shrink: 0;
}
.pm-cta-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-muted);
  max-width: 36ch;
}

/* ---------- Drawer (case detail) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18,58,52,0.4);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 260ms ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(720px, 100vw);
  background: var(--bg);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
  overflow-y: auto;
  border-left: 1px solid var(--rule);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 28px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; background: var(--bg); z-index: 2;
}
.drawer-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  transition: background 200ms;
}
.drawer-close:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

.drawer-body { padding: 32px var(--gutter) 64px; display: flex; flex-direction: column; gap: 32px; }
.drawer-body h2 { font-size: clamp(28px, 3vw, 44px); }
.drawer-hero {
  aspect-ratio: 5/3;
  background: linear-gradient(135deg, var(--mist) 0%, #c5cac6 100%);
  position: relative;
}
.drawer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.drawer-stat {
  padding: 20px;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 4px;
}
.drawer-stat .v { font-family: var(--serif); font-size: 40px; color: var(--accent); line-height: 1; }
.drawer-stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.drawer-section { display: flex; flex-direction: column; gap: 14px; }
.drawer-section h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.drawer-section p { font-size: 15px; line-height: 1.6; }

.process-line { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.process-line .col {
  padding: 18px; border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
}
.process-line .col .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.process-line .col .v { font-family: var(--serif); font-size: 22px; color: var(--primary); }
.process-line .col.after .v { color: var(--accent); }

/* ---------- Network ---------- */
.network {
  background: var(--bg);
}
.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1000px) {
  .network-grid { grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
}
.network-text { display: flex; flex-direction: column; gap: 20px; }
.network-text h2 { font-size: clamp(36px, 4vw, 56px); }
.network-text p { color: var(--fg); font-size: 15px; line-height: 1.6; }
.network-text p strong { color: var(--primary); font-weight: 600; }
.network-text p em { font-style: italic; color: var(--primary); }

.network-stage { display: flex; flex-direction: column; gap: 20px; }

/* ===== Diagram canvas ===== */
.network-diagram {
  position: relative;
  aspect-ratio: 4/3.1;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.network-diagram--v3 {
  background:
    radial-gradient(circle at 50% 50%, rgba(18,58,52,0.05) 0%, rgba(18,58,52,0) 55%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--bg) 94%, var(--primary) 6%) 100%);
}

/* Swiss-grid guides */
.net-guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.net-guides line {
  stroke: var(--primary);
  stroke-width: 0.06;
  vector-effect: non-scaling-stroke;
  opacity: 0.12;
}

/* Orbit rings */
.net-orbits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.net-orbits .orbit { fill: none; vector-effect: non-scaling-stroke; }
.net-orbits .orbit--outer {
  stroke: var(--primary);
  stroke-width: 0.18;
  opacity: 0.22;
  stroke-dasharray: 0.4 1.6;
}
.net-orbits .orbit--inner {
  stroke: var(--accent);
  stroke-width: 0.22;
  opacity: 0.4;
  stroke-dasharray: 1.2 2.4;
}

/* Connection lines */
.net-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.net-line {
  stroke: var(--primary);
  fill: none;
  opacity: 0;
  transition: stroke-width 280ms ease, opacity 600ms ease;
  transition-delay: calc(60ms * var(--i, 0) + 80ms);
}
.is-ready .net-line { opacity: 1; }
.net-line--core { stroke-width: 0.5; }
.is-ready .net-line--core { opacity: 0.7; }
.net-line--spar { stroke-width: 0.5; }
.is-ready .net-line--spar { opacity: 0.7; }
.net-line--ext  { stroke-width: 0.5; }
.is-ready .net-line--ext  { opacity: 0.7; }
.net-line.is-active { stroke-width: 0.9; opacity: 1 !important; }
.net-line.is-dim    { opacity: 0.12 !important; }

/* ===== Center brand mark ===== */
.net-center {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  border: 0; padding: 0; background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 240ms;
  outline: none;
  z-index: 3;
}
.net-center:hover,
.net-center:focus-visible,
.net-center.is-active { transform: translate(-50%, -50%) scale(1.03); }
.net-center.is-dim { opacity: 0.5; }

.net-center-disc {
  position: relative;
  width: 156px; height: 156px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 7px color-mix(in oklab, var(--primary) 25%, transparent),
    0 24px 60px -28px rgba(18,58,52,0.45);
  z-index: 2;
}
.net-center-wordmark { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }

/* Ghosted summit-path mark behind the wordmark — a quiet brand watermark.
   Brightens and breathes a touch when the center node is active. */
.net-center-mark {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/ki-alpin-mark-only.svg");
  background-repeat: no-repeat;
  background-position: 50% 56%;
  background-size: 132%;
  opacity: 0.12;
  transform: scale(1);
  transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 640ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.net-center:hover .net-center-mark,
.net-center.is-active .net-center-mark,
.net-center:focus-visible .net-center-mark {
  opacity: 0.26;
  transform: scale(1.06);
}
.net-center-line1 {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.32em;
  font-weight: 500;
}
.net-center-rule {
  display: block;
  width: 32px; height: 1px;
  background: var(--accent);
  opacity: 0.8;
}
.net-center-line2 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  opacity: 0.6;
  text-transform: uppercase;
}
.net-center-halo {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 360ms ease;
  z-index: 1;
}
.net-center:hover .net-center-halo,
.net-center.is-active .net-center-halo { opacity: 1; }

/* ===== Nodes ===== */
/*
  Anchor model: the BUTTON is positioned so that the AVATAR's center sits
  exactly at (x%, y%). The button itself is sized to fit only the avatar;
  the name card escapes via absolute positioning above or below.
  A pseudo-element extends the hover hit-area to cover the card.
*/
.net-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0; padding: 0; background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  outline: none;
  z-index: 4;
  /* Animation: entrance fade only, hover keeps zero delay */
  opacity: 0;
  transition: opacity 280ms ease, transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.is-ready .net-node {
  opacity: 1;
  transition-delay: calc(40ms * var(--i, 0) + 80ms), 0ms;
}
.net-node:hover,
.net-node:focus-visible,
.net-node.is-active { transform: translate(-50%, -50%) scale(1.06); }
.is-ready .net-node.is-dim { opacity: 0.42; transition-delay: 0ms; }

/* Generous invisible hit-area covering both avatar AND name card */
.net-node::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 180px;
  height: 130px;
  transform: translateX(-50%);
}
.net-node--card-below::before { top: -10px; }
.net-node--card-above::before { bottom: -10px; }

/* Avatar tokens */
.net-avatar,
.net-avatar-img {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--primary);
  transition: border-color 200ms, box-shadow 200ms;
  overflow: hidden;
}
.net-avatar-img { object-fit: cover; }
.net-avatar--center {
  background: var(--primary);
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}
.net-avatar-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.net-avatar-initials {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.net-avatar--slot {
  /* When an image-slot is present, hide initials behind any uploaded image */
  background: color-mix(in oklab, var(--primary) 8%, var(--bg));
}
.net-avatar--slot .net-avatar-initials--fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.net-avatar--core {
  background: var(--primary);
  border-color: var(--primary);
}
.net-avatar--core .net-avatar-initials { color: var(--bg); }
.net-avatar--core.net-avatar--slot { background: color-mix(in oklab, var(--primary) 30%, var(--bg)); }
.net-avatar--core.net-avatar--slot .net-avatar-initials { color: var(--bg); opacity: 0.85; }

.net-avatar--spar {
  background: var(--bg);
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px color-mix(in oklab, var(--accent) 35%, transparent);
}
.net-avatar--spar .net-avatar-initials { color: var(--primary); }

.net-avatar--ext {
  background: var(--bg);
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
}

/* All photo peers — incl. the Advisory node — read as equals: one uniform ring. */
.net-avatar--core.net-avatar--slot,
.net-avatar--ext.net-avatar--slot,
.net-avatar--spar.net-avatar--slot {
  background: color-mix(in oklab, var(--primary) 8%, var(--bg));
  border-color: color-mix(in oklab, var(--primary) 22%, transparent);
  border-width: 1px;
  box-shadow: 0 6px 18px -12px rgba(18,58,52,0.45);
}

.net-node:hover .net-avatar,
.net-node.is-active .net-avatar,
.net-node--spar:hover .net-avatar,
.net-node--spar.is-active .net-avatar {
  box-shadow: 0 12px 32px -16px rgba(18,58,52,0.5);
}

/* ---- Name card (absolutely positioned above or below the avatar) ---- */
.net-node-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none; /* hover handled by ::before hit-area */
}
.net-node--card-below .net-node-card { top: calc(100% + 10px); }
.net-node--card-above .net-node-card { bottom: calc(100% + 10px); }

.net-node-label {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--primary);
  line-height: 1.1;
}
.net-node-role {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.net-node--core .net-node-label { font-size: 16px; font-weight: 500; }
.net-node--core .net-node-role  { color: var(--primary); opacity: 0.7; }
.net-node--spar .net-node-label { font-size: 15px; }
.net-node--spar .net-node-role  { color: var(--fg-muted); font-weight: 400; }

/* ===== Detail panel ===== */
.net-detail {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  min-height: 120px;
  transition: border-color 240ms;
}
@media (max-width: 720px) {
  .net-detail { grid-template-columns: 1fr; gap: 14px; padding: 18px 20px; }
}
.net-detail-aside {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.net-detail-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-top: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  padding-top: 8px;
  display: inline-block;
}
.net-detail-body { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.net-detail-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--primary);
  line-height: 1.1;
}
.net-detail-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.net-detail-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  max-width: 60ch;
}

/* Legend */
.network-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--rule); margin-top: 4px;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.legend-item .sw { width: 12px; height: 12px; border-radius: 50%; }
.legend-item .sw.core { background: var(--primary); }
.legend-item .sw.spar { background: var(--bg); border: 2px solid var(--accent); }
.legend-item .sw.ext  { background: var(--bg); border: 1px solid color-mix(in oklab, var(--primary) 50%, transparent); }

/* ---------- About ---------- */
.about {
  background: var(--graphite);
  color: var(--mist);
}
.about h2, .about .eyebrow { color: var(--mist); }
.about .eyebrow { opacity: 0.7; }
.about .eyebrow::before { background: var(--mist); opacity: 0.4; }
.about .section-head .label-col .num,
.about .section-head .label-col .name { color: var(--mist); opacity: 0.6; }

.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.2fr; gap: 80px; align-items: start; }
}
.about-portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #4a4944 0%, #3a3934 100%);
  position: relative; overflow: hidden;
}
.about-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px);
  z-index: 0;
}
.about-portrait .tag,
.about-portrait .name-tag { z-index: 2; }
.about-portrait .tag {
  position: absolute; left: 16px; top: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mist); opacity: 0.7;
}
.about-portrait .name-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--mist); color: var(--graphite);
  padding: 10px 14px;
}
.about-portrait .name-tag .n { font-family: var(--serif); font-size: 22px; line-height: 1; }
.about-portrait .name-tag .r { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-top: 4px; }

.about-content { display: flex; flex-direction: column; gap: 28px; }
.about-content blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.2;
  color: var(--mist);
  letter-spacing: -0.01em;
}
.about-content blockquote .em { color: var(--accent); font-style: italic; }
.about-content p { color: rgba(231,236,232,0.78); font-size: 15px; }

/* ---------- About Duo (Simon lead landscape · Nikolay compact) ---------- */
.about-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  /* Two equal peers — matching headshots, balanced columns */
  .about-duo { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
}

.about-person {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-person-portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #4a4944 0%, #3a3934 100%);
  position: relative;
  overflow: hidden;
}

/* Both partners share one headshot treatment — same aspect, same cap, true peers */
.about-person-portrait--headshot {
  aspect-ratio: 4 / 5;
  max-width: 460px;
}
.about-person-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px);
  z-index: 0;
}
.about-person-portrait .tag,
.about-person-portrait .name-tag { z-index: 2; }
.about-person-portrait .tag {
  position: absolute; left: 16px; top: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mist); opacity: 0.7;
}
.about-person-portrait .name-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--mist); color: var(--graphite);
  padding: 10px 14px;
}
.about-person-portrait .name-tag .n {
  font-family: var(--serif); font-size: 22px; line-height: 1;
}
.about-person-portrait .name-tag .r {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted); margin-top: 4px;
}

.about-person-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-person-content blockquote {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  color: var(--mist);
  letter-spacing: -0.01em;
}
.about-person-content blockquote .em { color: var(--accent); font-style: italic; }
.about-person-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(231,236,232,0.78);
}

.about-person-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(231,236,232,0.18);
  margin-top: 6px;
}
.about-person-meta > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}
.about-person-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231,236,232,0.55);
}
.about-person-meta dd {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.45;
}
.about-person-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 9px 16px;
  border: 1px solid rgba(231,236,232,0.28);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  width: fit-content;
  transition: color 220ms, border-color 220ms, background 220ms;
}
.about-person-linkedin svg { width: 15px; height: 15px; flex: none; }
.about-person-linkedin:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.credits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  border-top: 1px solid rgba(231,236,232,0.18); padding-top: 24px;
}
@media (min-width: 700px) { .credits { grid-template-columns: repeat(3, 1fr); } }
.credit-item .y { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: rgba(231,236,232,0.5); text-transform: uppercase; }
.credit-item .t { font-family: var(--serif); font-size: 18px; color: var(--mist); margin-top: 4px; line-height: 1.25; }

/* About — Book & Podcast feature row */
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid rgba(231,236,232,0.18);
}
@media (min-width: 1000px) {
  .about-features { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(231,236,232,0.04);
  border: 1px solid rgba(231,236,232,0.14);
  overflow: hidden;
}
@media (min-width: 700px) {
  .feature--book { grid-template-columns: 280px 1fr; }
}

.feature-media {
  position: relative;
  background: linear-gradient(135deg, #2f312c 0%, #44443c 100%);
  min-height: 280px;
}
.feature--book .feature-media {
  /* In the book variant the grid row controls the height (stretches to body).
     No fixed aspect-ratio — the image-slot fills the column flush with the
     text on the right, regardless of how much copy is in the body. */
  aspect-ratio: auto;
  min-height: 0;
  align-self: stretch;
}
.feature--podcast .feature-media,
.feature .feature-media:not(.feature--book *) {
  aspect-ratio: 3/4;
}
.feature-media image-slot { position: absolute; inset: 0; }

/* New Spotify-embed podcast variant (replaces the legacy .feature-podcast-art) */
.feature-podcast-embed {
  position: relative;
  padding: 24px 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    radial-gradient(circle at 18% 22%, rgba(217,177,127,0.18) 0%, transparent 55%),
    linear-gradient(135deg, #2a2c27 0%, #3a3a32 100%);
  border-bottom: 1px solid rgba(231,236,232,0.10);
}
.feature-podcast-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
.podcast-label-top {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(231,236,232,0.65);
  align-self: flex-start;
}
.podcast-label-top::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.feature-podcast-art {
  position: relative;
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 28% 30%, rgba(217,177,127,0.35) 0%, transparent 50%),
    linear-gradient(135deg, #2a2c27 0%, #3a3a32 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.feature-podcast-art .play-glyph {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--graphite);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(217,177,127,0.18);
}
.feature-podcast-art .podcast-label {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(231,236,232,0.7);
}

.feature-body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-body .feature-kind {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.feature-body h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 38px);
  letter-spacing: -0.01em;
  color: var(--mist);
  line-height: 1.05;
  margin: 0;
}
.feature-body .feature-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin: -6px 0 4px;
}
.feature-body p { color: rgba(231,236,232,0.78); font-size: 15px; line-height: 1.55; }
.feature-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--mist);
  position: relative;
  overflow: hidden;
}
:root[data-direction="ridge"] .cta { background: #EEF2F1; }

.cta-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  position: relative; z-index: 1;
}
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; } }

.cta h2 { font-size: clamp(36px, 5vw, 72px); margin-bottom: 24px; }
.cta-paths {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.cta-path {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 18px; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: padding-left 220ms;
}
.cta-path:hover { padding-left: 12px; }
.cta-path .n { font-family: var(--mono); font-size: 11px; color: var(--fg-muted); letter-spacing: 0.14em; }
.cta-path .lbl { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); color: var(--primary); }
.cta-path .sub { font-family: var(--mono); font-size: 11px; color: var(--fg-muted); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.cta-path .arr { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 200ms, color 200ms, border-color 200ms; }
.cta-path:hover .arr { background: var(--primary); border-color: var(--primary); color: var(--bg); }

.booking-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.booking-card h3 { font-size: 22px; font-family: var(--serif); color: var(--primary); }
.booking-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.slot {
  border: 1px solid var(--rule);
  padding: 10px 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 180ms;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
}
.slot .d { color: var(--fg-muted); font-size: 10px; letter-spacing: 0.14em; }
.slot .t { color: var(--fg); }
.slot:hover { border-color: var(--primary); }
.slot.selected { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.slot.selected .d, .slot.selected .t { color: var(--bg); }
.booking-card label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 6px; display: block; }
.booking-card input, .booking-card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rule);
  background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 14px;
  border-radius: 0;
  transition: border 180ms;
}
.booking-card input:focus, .booking-card textarea:focus { outline: none; border-color: var(--primary); }
.booking-card .submit {
  width: 100%; padding: 14px 18px; background: var(--primary); color: var(--bg);
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 12px; text-decoration: none; border: none; cursor: pointer;
  transition: background 200ms;
  margin-top: 4px;
}
.booking-card .submit:hover { background: var(--graphite); }
.booking-card .submit:disabled { opacity: 0.45; cursor: not-allowed; }
.booking-card .submit .arrow path { stroke: var(--bg); }

/* Microsoft Bookings variant */
.booking-card--bookings { gap: 10px; }
.booking-card--bookings .booking-kind {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.booking-card--bookings h3 {
  font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px);
  color: var(--primary); letter-spacing: -0.01em; line-height: 1.1;
  margin: 0;
}
.booking-card--bookings .booking-lede {
  font-size: 15px; color: var(--fg); line-height: 1.55;
}
.booking-card--bookings .booking-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px dashed var(--rule);
  padding-top: 12px;
  margin-top: 4px;
}
.booking-card--bookings .booking-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--fg);
}
.booking-card--bookings .booking-points .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.booking-card--bookings .booking-alt {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
}

.booking-card .success {
  background: var(--moss); color: var(--bg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.booking-card .success .t1 { font-family: var(--serif); font-size: 22px; }
.booking-card .success .t2 { font-size: 13px; opacity: 0.9; }

/* ---------- Footer ---------- */
footer {
  background: var(--primary);
  color: var(--mist);  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 56px; } }
.footer-col h5 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(231,236,232,0.55);
  margin-bottom: 18px;
}
.footer-col a { display: block; padding: 4px 0; font-size: 14px; opacity: 0.85; }
.footer-col a:hover { color: var(--accent); opacity: 1; }
.footer-mark {
  display: inline-block;
  margin-bottom: 24px;
  padding: 0 !important;
  line-height: 0;
  opacity: 1 !important;
}
.footer-mark img { display: block; width: 64px; height: 64px; }
.footer-claim {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.15;
  color: var(--mist);
  max-width: 16ch;
  margin-bottom: 24px;
}
.footer-claim .em { color: var(--accent); font-style: italic; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(231,236,232,0.18);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(231,236,232,0.6);
}
.footer-legal { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a {
  color: rgba(231,236,232,0.6);
  text-decoration: none;
  transition: color 200ms;
}
.footer-legal a:hover { color: var(--accent); }

/* ---------- Strategy drawer (notes for user) ---------- */
.strategy-toggle {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 60;
  background: var(--graphite); color: var(--mist);
  padding: 12px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; gap: 10px; align-items: center;
  border: 1px solid var(--graphite);
  transition: background 200ms;
}
.strategy-toggle:hover { background: var(--primary); border-color: var(--primary); }
.strategy-toggle .dot { width: 8px; height: 8px; background: var(--accent); }

.strategy-drawer {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: min(560px, 100vw);
  background: var(--bg);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
  overflow-y: auto;
  border-right: 1px solid var(--rule);
  box-shadow: 4px 0 32px rgba(0,0,0,0.08);
}
.strategy-drawer.open { transform: translateX(0); }
.strategy-drawer-head {
  padding: 28px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; background: var(--bg); z-index: 2;
}
.strategy-drawer-body { padding: 28px var(--gutter) 64px; display: flex; flex-direction: column; gap: 28px; }
.strategy-block { display: flex; flex-direction: column; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.strategy-block:last-child { border-bottom: none; }
.strategy-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.strategy-block h3 { font-family: var(--serif); font-size: 22px; color: var(--primary); margin-top: 4px; }
.strategy-block p { font-size: 14px; line-height: 1.6; color: var(--fg); }
.strategy-block ul { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-left: 0; margin-top: 6px; }
.strategy-block li { font-size: 13px; padding-left: 16px; position: relative; color: var(--fg); }
.strategy-block li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Reveal helper (scroll) ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22,0.61,0.36,1); }
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--rule); width: 100%; }

/* keep focus visible */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
