/* ============================================================
 * guthand.com — shared stylesheet.
 *
 * The extractor performs a selector-scoped majority vote: for
 * every selector that appears in any page-type, the most common
 * canonical body becomes the shared rule (ties prefer the base
 * variant, index). Variants that carry a DIFFERENT body for the
 * same selector keep their version in their inline <style>
 * override, which overrides this file (inline CSS cascades
 * after the external <link>).
 *
 * :root declarations are intersected per-declaration; @media
 * inner rules are handled recursively with the same algorithm.
 *
 * Mono token convention (--mono-2 .. --mono-7):
 *   Lower number = darker, higher number = lighter. The scale runs
 *   from --ink (#0A0A0A) toward --paper (#FAFAF7), so:
 *     --mono-2  #2E2E2E  near-ink primary body, slightly dimmed
 *     --mono-3  #555555  secondary text on light backgrounds
 *     --mono-4  #888888  tertiary text / muted captions
 *     --mono-5  #BBBBBB  secondary text on dark backgrounds
 *     --mono-6  #E0E0DC  hairline borders / subtle surfaces on light
 *     --mono-7  #EFEFEB  faintest hover / fill on light backgrounds
 *   Never use a high number expecting a dark tone (or vice versa):
 *   that mismatch caused the readability bugs fixed in Task #105.
 * ============================================================ */

:root {
  --ink: #0A0A0A;
  --paper: #FAFAF7;
  --font-display: 'Bitter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-2: #2E2E2E;
  --mono-3: #555555;
  --mono-4: #888888;
  --mono-5: #BBBBBB;
  --mono-6: #E0E0DC;
  --mono-7: #EFEFEB;
  --ink-navy: #16181A;
  --ink-steel: #1A2329;
  --ink-oxblood: #2A1214;
  --ink-forest: #1A2329;
  --pad-x: clamp(20px, 5vw, 80px);
  --pad-y: clamp(60px, 8vw, 120px);
  --fs-display: clamp(48px, 9vw, 148px);
  --fs-section: clamp(34px, 5.5vw, 84px);
  --fs-h3: clamp(22px, 2.2vw, 32px);
  --fs-lede: clamp(16px, 1.3vw, 21px);
  --fs-body: clamp(15px, 1vw, 17px);
  --fs-small: clamp(12px, 0.8vw, 13px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-quiet: cubic-bezier(0.3, 0.7, 0.3, 1);
  --t-fast: 250ms;
  --t-med: 600ms;
  --t-slow: 800ms;
  --t-reveal: 800ms; /* one duration for every scroll reveal */
  --t-hairline: 900ms;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

[data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
  will-change: opacity, filter;
}

[data-reveal].is-in {
  opacity: 1;
  filter: none;
}

[data-reveal][data-delay="1"] { transition-delay: 80ms; }

[data-reveal][data-delay="2"] { transition-delay: 160ms; }

[data-reveal][data-delay="3"] { transition-delay: 240ms; }

[data-reveal][data-delay="4"] { transition-delay: 320ms; }

[data-reveal][data-delay="5"] { transition-delay: 400ms; }

[data-reveal][data-delay="6"] { transition-delay: 480ms; }

.reveal-words {
  display: block;
}

.reveal-words .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: inherit;
  /* Extra room for italic tails + descenders (g, j, p, f in italic)
     and italic right-side overhang (D, T, R last-letter clipping). */
  padding: 0.12em 0.22em;
  margin: -0.12em -0.22em;
}

.reveal-words .word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform var(--t-slow) var(--ease);
  will-change: transform;
}

.reveal-words.is-in .word {
  transform: translateY(0);
}

.reveal-words .word-mask:nth-child(1) .word { transition-delay: 0ms; }

.reveal-words .word-mask:nth-child(2) .word { transition-delay: 80ms; }

.reveal-words .word-mask:nth-child(3) .word { transition-delay: 160ms; }

.reveal-words .word-mask:nth-child(4) .word { transition-delay: 240ms; }

.reveal-words .word-mask:nth-child(5) .word { transition-delay: 320ms; }

.reveal-words .word-mask:nth-child(6) .word { transition-delay: 400ms; }

.reveal-words .word-mask:nth-child(7) .word { transition-delay: 480ms; }

.reveal-words .word-mask:nth-child(8) .word { transition-delay: 560ms; }

.reveal-words .word-mask:nth-child(9) .word { transition-delay: 640ms; }

.reveal-words .word-mask:nth-child(10) .word { transition-delay: 720ms; }

[data-draw] {
  position: relative;
  border-top: 0 !important;
}

[data-draw]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0.5pt;
  background: var(--ink);
  width: 0;
  transition: width var(--t-hairline) var(--ease);
}

section.dark [data-draw]::before,
section.ink-navy [data-draw]::before,
section.ink-steel [data-draw]::before,
section.ink-oxblood [data-draw]::before { background: var(--paper); }

[data-draw].is-in::before {
  width: 100%;
}

.section-header {
  border-bottom: 0 !important;
  position: relative;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(30px, 3vw, 44px);
  border-bottom: 0.5pt solid var(--ink);
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.5pt;
  background: var(--ink);
  width: 0;
  transition: width var(--t-hairline) var(--ease) 200ms;
}

section.dark .section-header::after,
section.ink-navy .section-header::after,
section.ink-steel .section-header::after,
section.ink-oxblood .section-header::after { background: var(--paper); }

.section-header.is-in::after { width: 100%; }

.ghost:not(.btn) {
  opacity: 0;
  transition: opacity 1200ms var(--ease-quiet);
  transform: translateY(var(--ghost-y, 0px));
  will-change: transform, opacity;
}

.ghost:not(.btn) {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  color: var(--ink);
  opacity: 0.036;
  z-index: 0;
}

.ghost:not(.btn) {
  opacity: 0;
  transition: opacity 1200ms var(--ease-quiet);
  transform: translateY(var(--ghost-y, 0px));
}

.ghost:not(.btn) {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  color: var(--ink);
  z-index: 0;
}

.ghost.is-in:not(.btn) {
  opacity: 0.036;
}

section.dark .ghost.is-in:not(.btn),
section.ink-navy .ghost.is-in:not(.btn),
section.ink-steel .ghost.is-in:not(.btn),
section.ink-forest .ghost.is-in:not(.btn),
section.ink-oxblood .ghost.is-in:not(.btn) {
  opacity: 0.048;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 0.5pt solid currentColor;
}

[data-reveal-badge] {
  opacity: 0;
  transition: opacity var(--t-reveal) var(--ease) 300ms;
}

[data-reveal-badge].is-in { opacity: 1; }

.service-row {
  transition: background var(--t-fast) var(--ease);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 0.5pt solid var(--mono-6);
  transition: background 0.25s;
  cursor: pointer;
  position: relative;
}

.service-row .service-more {
  transition: transform var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  display: inline-block;
}

.service-row:hover .service-more {
  transform: translateX(6px);
}

.service-row:hover .service-more { color: var(--ink); }

.btn {
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 0.5pt solid currentColor;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.nav-links a {
  position: relative;
  transition: color var(--t-fast) var(--ease);
}

.nav-links a { color: rgba(250, 250, 247, 0.78); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 0.5pt;
  background: var(--paper);
  transition: width var(--t-fast) var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-langs span {
  transition: color var(--t-fast) var(--ease);
}

.nav-langs span:not(.active):hover { color: var(--paper); }

.card {
  transition: transform var(--t-fast) var(--ease);
}

.card {
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 0.5pt solid var(--ink);
}

.faq-q::after { transition: transform 450ms var(--ease); }

.faq-q::after {
  content: "+";
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 22px;
  font-weight: 500;
  color: var(--mono-3);
}

.faq-a { transition: max-height 500ms var(--ease), padding 400ms var(--ease); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 0;
}

.chip {
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.chip {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 0.5pt solid rgba(250, 250, 247, 0.4);
  color: var(--paper);
  opacity: 0.8;
}

.chip:hover {
  background: var(--paper);
  color: #1A2329;
}

.project-link {
  position: relative;
  transition: color var(--t-fast) var(--ease);
}

.project-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 4px;
  transition: color var(--t-fast) var(--ease);
}

.pa-list li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity var(--t-reveal) var(--ease),
              transform var(--t-reveal) var(--ease);
}

.pa-list.is-in li { opacity: 1; transform: translateX(0); }

.pa-list.is-in li:nth-child(1) { transition-delay: 100ms; }

.pa-list.is-in li:nth-child(2) { transition-delay: 220ms; }

.pa-list.is-in li:nth-child(3) { transition-delay: 340ms; }

.trust {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.trust {
  padding-top: 16px;
  border-top: 0.5pt solid var(--paper);
}

.trust-grid.is-in .trust:nth-child(1) { transition-delay: 80ms; }

.trust-grid.is-in .trust:nth-child(2) { transition-delay: 160ms; }

.trust-grid.is-in .trust:nth-child(3) { transition-delay: 240ms; }

.trust-grid.is-in .trust:nth-child(4) { transition-delay: 320ms; }

.trust-grid.is-in .trust:nth-child(5) { transition-delay: 400ms; }

.trust-grid.is-in .trust { opacity: 1; filter: none; }

.hero-figure .num {
  opacity: 0;
  filter: blur(6px);
  transition: opacity var(--t-slow) var(--ease) 400ms,
              filter var(--t-slow) var(--ease) 400ms;
}

.hero-figure .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero-figure.is-in .num {
  opacity: 1;
  filter: blur(0);
}

.hero-figure .label,
.hero-figure .note {
  opacity: 0;
  transition: opacity var(--t-reveal) var(--ease);
}

.hero-figure.is-in .label { opacity: 1; transition-delay: 200ms; }

.hero-figure.is-in .note { opacity: 0.78; transition-delay: 700ms; }

.services-list .service-row {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease),
              background var(--t-fast) var(--ease);
}

.services-list.is-in .service-row { opacity: 1; filter: none; }

.services-list.is-in .service-row:nth-child(1) { transition-delay: 60ms, 60ms, 0ms; }

.services-list.is-in .service-row:nth-child(2) { transition-delay: 140ms, 140ms, 0ms; }

.services-list.is-in .service-row:nth-child(3) { transition-delay: 220ms, 220ms, 0ms; }

.services-list.is-in .service-row:nth-child(4) { transition-delay: 300ms, 300ms, 0ms; }

.services-list.is-in .service-row:nth-child(5) { transition-delay: 380ms, 380ms, 0ms; }

.services-list.is-in .service-row:nth-child(6) { transition-delay: 460ms, 460ms, 0ms; }

/* Intro fade on leaf elements only. An opacity animation on the bar or on
   any ancestor of the dropdown panels would make that element a backdrop
   root and blind the glass (::after / the panels' backdrop-filter). */
header.nav .logo,
header.nav .nav-links > a,
header.nav .nav-dropdown-trigger,
header.nav .nav-menu-btn {
  animation: navFadeIn 800ms var(--ease) 100ms both;
}

/* Glass header: translucent tint + saturated backdrop + edge highlight.
   --glass-* tokens are swapped per state (scrolled / light hero). */
header.nav {
  /* Liquid glass bar, seamless with the page: the tint is the colour of the
     section under the bar (--glass-base, sampled by site.js), so the bar is
     indistinguishable from the background and only lenses what scrolls
     beneath it. No rim, no sheen, no line. In Chromium (html.lg) the
     backdrop is refracted through a lens map built from the bar's geometry
     (see site.js) — a magnifying distortion along the free bottom edge with
     a whisper of blur; other engines get a light blur. */
  --glass-base: 26, 35, 41;
  --glass-tint: rgba(var(--glass-base), 0.3);
  --glass-sat: 1.5;
  --glass-contrast: 1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* The tint + backdrop filter live on ::after, not on the bar itself: an
     element with backdrop-filter is a backdrop root, and the dropdown panels
     inside the bar need to see through to the page for their own glass. */
  background: transparent;
  border: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 400ms var(--ease);
}

header.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--glass-tint);
  backdrop-filter: blur(8px) saturate(var(--glass-sat)) contrast(var(--glass-contrast));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-sat)) contrast(var(--glass-contrast));
  transition: background 350ms var(--ease);
}

html.lg header.nav::after {
  backdrop-filter: var(--lg-filter) saturate(var(--glass-sat)) contrast(var(--glass-contrast));
  -webkit-backdrop-filter: var(--lg-filter) saturate(var(--glass-sat)) contrast(var(--glass-contrast));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.nav { --glass-tint: rgba(var(--glass-base), 0.92); }
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

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

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mono-3);
}

section.dark .eyebrow { color: var(--mono-5); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.display .ital { font-style: italic; font-weight: 700; }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-section);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2.section-title em { font-style: italic; font-weight: 700; }

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p.lede {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-lede);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.005em;
}

section.dark p.lede { opacity: 0.92; }

p { font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }

section.dark p { opacity: 0.88; }

.mono {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; font-weight: 500;
  letter-spacing: 0.08em;
}

section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
}

section.dark { color: var(--paper); }

section.ink-navy    { background: var(--ink-navy); color: var(--paper); }

section.ink-steel   { background: var(--ink-steel); color: var(--paper); }

section.ink-oxblood { background: var(--ink-oxblood); color: var(--paper); }

section.ink-forest  { background: var(--ink-forest); color: var(--paper); }

section.ink-paper   { background: var(--paper); }

.hairline { border: 0; border-top: 0.5pt solid var(--ink); }

section.dark .hairline,
section.ink-navy .hairline,
section.ink-steel .hairline,
section.ink-oxblood .hairline { border-top-color: var(--paper); }

section.dark .ghost:not(.btn) { color: var(--paper); opacity: 0.048; }

.wrap { position: relative; z-index: 1; }

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

.btn.primary:hover { background: transparent; color: var(--ink); border-color: currentColor; }

section.dark .btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }

section.dark .btn.primary:hover { background: transparent; color: var(--paper); }

.btn.secondary { background: transparent; color: inherit; border-color: currentColor; }

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

section.dark .btn.secondary:hover { background: var(--paper); color: var(--ink); }

header.nav.scrolled {
  --glass-tint: rgba(var(--glass-base), 0.4);
  padding: 12px var(--pad-x);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.nav.scrolled { --glass-tint: rgba(var(--glass-base), 0.96); }
}

/* Light sections: light tint, dark controls (still no rim or sheen). */
header.nav.on-light {
  --glass-tint: rgba(var(--glass-base), 0.36);
  --glass-sat: 1.6;
  --glass-contrast: 1.03;
}

header.nav.on-light.scrolled {
  --glass-tint: rgba(var(--glass-base), 0.48);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.nav.on-light,
  header.nav.on-light.scrolled { --glass-tint: rgba(var(--glass-base), 0.96); }
}

.nav .logo {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--paper);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
}

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

.nav-langs {
  position: relative;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-langs-btn {
  background: none;
  border: 0;
  padding: 6px 10px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--t-fast) var(--ease);
}

.nav-langs-btn::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 0.5pt solid currentColor;
  border-bottom: 0.5pt solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-fast) var(--ease);
  display: inline-block;
}

.nav-langs.open .nav-langs-btn::after {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-langs-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--ink-navy); color: var(--paper);
  border: 0.5pt solid var(--ink);
  padding: 18px 0 10px;
  min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms var(--ease);
  z-index: 200;
  box-shadow: 0 24px 60px -20px rgba(10,10,10,0.45);
}

.nav-langs.open .nav-langs-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-langs-eyebrow {
  display: flex; align-items: center; gap: 12px;
  padding: 0 22px 14px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,250,247,0.55);
  border-bottom: 0.5pt solid rgba(250,250,247,0.18);
}

.nav-langs-eyebrow .num { color: var(--accent); }

.nav-langs-menu button,
.nav-langs-menu a[data-lang] {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: 0;
  border-left: 2px solid transparent;
  padding: 12px 22px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper); cursor: pointer; text-align: left;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              padding-left var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.nav-langs-menu button:hover,
.nav-langs-menu a[data-lang]:hover {
  background: rgba(250,250,247,0.04);
  border-left-color: var(--accent);
  padding-left: 26px;
}

.nav-langs-menu button .code,
.nav-langs-menu a[data-lang] .code {
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(250,250,247,0.45);
  transition: color var(--t-fast) var(--ease);
}

.nav-langs-menu button:hover .code,
.nav-langs-menu a[data-lang]:hover .code { color: var(--accent); }

.nav-langs-menu button.active,
.nav-langs-menu a[data-lang].active {
  background: rgba(250,250,247,0.05);
  border-left-color: var(--accent);
}

.nav-langs-menu button.active .code,
.nav-langs-menu a[data-lang].active .code { color: var(--accent); font-weight: 600; }

.nav-menu-btn {
  display: none;
  font-family: var(--font-display); font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--paper);
}

.nav-menu-btn {
  display: none;
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 14px;
  background: none;
  border: 0.5pt solid var(--paper);
  cursor: pointer;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1;
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease), padding 240ms var(--ease);
  z-index: 260;
}

section.hero {
  padding-top: 210px;
  padding-bottom: 135px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: stretch;
}

.hero-left { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }

h1.display.hero-headline {
  font-size: clamp(42px, 6.2vw, 96px);
  line-height: 1.0;
}

.hero-headline {
  margin-top: clamp(20px, 3vw, 40px);
  max-width: 100%;
}

.hero-headline .word-mask { max-width: 100%; }

.hero-headline .accent { color: var(--paper); opacity: 1; }

.hero-headline .quiet { opacity: 0.55; }

.hero-headline .word.quiet { font-size: 0.64em; }

.hero-subtitle {
  font-size: var(--fs-lede);
  line-height: 1.45;
  max-width: 56ch;
  margin-top: clamp(24px, 3vw, 42px);
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
}

.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-figure .label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mono-5);
}

.hero-figure .note {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mono-5);
  line-height: 1.7;
}

.hero-meta {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-5);
  padding-top: 16px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: clamp(50px, 7vw, 100px);
}

.hero-meta strong { color: var(--paper); font-weight: 600; }

section.dark .section-header,
section.ink-navy .section-header,
section.ink-steel .section-header,
section.ink-oxblood .section-header { border-bottom-color: var(--paper); }

.section-header .lede-col { max-width: 44ch; }

.section-header p.lede { font-size: var(--fs-lede); opacity: 0.8; }

.operator-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.operator-intro .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mono-6);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.operator-intro .avatar::after {
  content: "V";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--mono-3);
}

.operator-intro .name { font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; font-weight: 600; }

.operator-intro .role { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; color: var(--mono-3); text-transform: uppercase; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 50px);
}

section.dark .card,
section.ink-navy .card,
section.ink-steel .card,
section.ink-oxblood .card { border-top-color: var(--paper); }

.card .marker {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 12px;
}

section.dark .card .marker { color: var(--mono-5); }

.card h3 { margin-bottom: 14px; }

.card p { opacity: 0.82; font-size: var(--fs-body); line-height: 1.6; }

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-row:last-child { border-bottom: 0.5pt solid var(--mono-6); }

.service-row:hover { background: var(--mono-7); }

.service-num {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: var(--mono-3);
  letter-spacing: 0.15em;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: var(--fs-body);
  line-height: 1.55;
  opacity: 0.82;
  max-width: 60ch;
}

.service-more {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-3);
  white-space: nowrap;
}

.pa-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.pa-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.pa-list {
  list-style: none;
  margin-top: 24px;
}

.pa-list li:last-child { border-bottom: 0.5pt solid rgba(250, 250, 247, 0.2); }

.pa-list li::before {
  content: attr(data-num);
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--mono-5);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 50px);
}

.project {
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.3);
}

.project .tag {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 16px;
}

.project h3 {
  font-size: clamp(26px, 3vw, 42px);
  margin-bottom: 6px;
}

.project .subtitle {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  opacity: 0.7;
  margin-bottom: 18px;
}

.project .desc {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 22px;
  max-width: 52ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5pt;
  background: currentColor;
  transform-origin: left;
  transition: transform 500ms var(--ease);
}

.project-link .arrow {
  display: inline-block;
  transition: transform 350ms var(--ease);
}

.project-link:hover::before {
  /* scale to 1.06x for extended line beyond natural width */
  transform: scaleX(1.08);
}

.project-link:hover .arrow {
  transform: translateX(6px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 50px);
}

.trust .label {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 22px);
  margin-bottom: 6px;
  line-height: 1.15;
}

.trust .sub {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-5);
  line-height: 1.6;
}

.faq-list {
  border-top: 0.5pt solid var(--ink);
  margin-top: clamp(30px, 4vw, 50px);
}

.faq-item {
  border-bottom: 0.5pt solid var(--ink);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(22px, 3vw, 32px) 0;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  cursor: pointer;
  gap: 20px;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 0 clamp(22px, 3vw, 32px) 0;
}

.faq-a p {
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 0.82;
  max-width: 72ch;
  margin-bottom: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.contact-left .display { margin-bottom: clamp(20px, 3vw, 40px); }

.contact-details {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  opacity: 0.9;
  margin-top: 28px;
}

.contact-details strong { font-weight: 600; color: var(--paper); }

.contact-cta {
  margin-top: clamp(30px, 4vw, 48px);
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 7vw, 100px) var(--pad-x) clamp(40px, 5vw, 60px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
}

.footer-brand .logo {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 18px;
  display: block;
}

.footer-brand .tagline {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 32ch;
  margin-bottom: 20px;
}

.footer-brand .address {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mono-5);
  line-height: 1.9;
}

.footer-col h4 {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li {
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.88;
  cursor: pointer;
}

.footer-col li:hover { opacity: 1; }

.footer-bottom {
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: 24px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mono-5);
}

.nav-dropdown { position: relative; display: inline-flex; }

.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 8px;
}

.nav-dropdown-trigger .caret {
  width: 7px; height: 7px;
  border-right: 1.25px solid currentColor;
  border-bottom: 1.25px solid currentColor;
  opacity: 0.8;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  display: inline-block;
}

.nav-dropdown:hover .nav-dropdown-trigger .caret,
.nav-dropdown:focus-within .nav-dropdown-trigger .caret {
  transform: rotate(-135deg) translateY(-2px);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, -6px);
  /* Liquid glass panel: the page shows through a dark tint and, in Chromium,
     is lensed around the panel edges (html.lg, see site.js); others get a
     blur. */
  --lg-sat: 1.4;
  background: rgba(22, 24, 26, 0.74);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--paper);
  border: 0.5pt solid rgba(10, 10, 10, 0.6);
  padding: 22px 0 14px;
  min-width: 460px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms var(--ease);
  z-index: 200;
  box-shadow: 0 24px 60px -20px rgba(10,10,10,0.45);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown::after {
  content: ""; position: absolute; left: 0; right: 0;
  top: 100%; height: 14px;
}

.nav-dropdown-eyebrow {
  display: flex; align-items: center; gap: 12px;
  padding: 0 26px 16px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,250,247,0.55);
}

.nav-dropdown-menu a {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline;
  gap: 16px; padding: 14px 26px;
  color: var(--paper);
  border-left: 2px solid transparent;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              padding-left var(--t-fast) var(--ease);
  text-decoration: none;
}

.nav-dropdown-menu a::after { display: none !important; }

.nav-dropdown-menu a .nd-num {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(250,250,247,0.45);
  transition: color var(--t-fast) var(--ease);
}

.nav-dropdown-menu a .nd-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper);
}

.nav-dropdown-menu a .nd-tag {
  display: block; margin-top: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; letter-spacing: 0.01em; text-transform: none;
  color: rgba(250,250,247,0.55);
  font-weight: 400;
}

.nav-dropdown-menu a .nd-arrow {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 14px; color: rgba(250,250,247,0.35);
  opacity: 0; transform: translateX(-4px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.nav-dropdown-menu a:hover {
  background: rgba(250,250,247,0.04);
  border-left-color: var(--accent);
}

.nav-dropdown-menu a:hover .nd-num { color: var(--accent); }

.nav-dropdown-menu a:hover .nd-arrow {
  opacity: 1; transform: translateX(0); color: var(--accent);
}

.nav-dropdown-menu a.active { background: rgba(250,250,247,0.05); border-left-color: var(--accent); }

.nav-dropdown-menu a.active .nd-num { color: var(--accent); }

.footer-col li a {
  display: block;
  margin: -6px 0;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}

.footer-col li a::after { display: none !important; }

.footer-col li:has(a) { cursor: default; }

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

.nav-menu-label {
  display: inline-block;
  transition: transform 320ms var(--ease), opacity 200ms var(--ease);
}

.nav-menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
  flex-shrink: 0;
}

.nav-menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.25px;
  background: currentColor;
  transition: top 360ms var(--ease), transform 360ms var(--ease), opacity 220ms var(--ease), width 320ms var(--ease), background 240ms var(--ease);
  transform-origin: 50% 50%;
}

.nav-menu-icon span:nth-child(1) { top: 0; }

.nav-menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 65%; }

.nav-menu-icon span:nth-child(3) { top: 100%; transform: translateY(-100%); }

.nav-menu-btn:hover .nav-menu-icon span:nth-child(2) { width: 100%; }

body.menu-open .nav-menu-btn {
  color: var(--paper);
  border-color: rgba(250,250,247,0.4);
}

body.menu-open .nav-menu-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

body.menu-open .nav-menu-icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

body.menu-open .nav-menu-icon span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  width: 100%;
}

body.menu-open .nav-menu-icon span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

body.menu-open header.nav { z-index: 260; }

body.menu-open .nav .logo { color: var(--paper); }

body.menu-open .nav-langs,
body.menu-open .nav-links { visibility: hidden; }

.mobile-menu {
  position: fixed;
  inset: 0;
  /* Liquid glass sheet: the page shows through a dark tint (dense enough to
     keep the paper-coloured items legible over light sections). */
  --lg-sat: 1.5;
  background: rgba(22, 24, 26, 0.55);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  color: var(--paper);
  z-index: 240;
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms var(--ease), visibility 360ms var(--ease);
  display: none;
  flex-direction: column;
  padding: clamp(80px, 11vh, 120px) clamp(22px, 6vw, 56px) clamp(28px, 5vh, 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.menu-open .mobile-menu { opacity: 1; visibility: visible; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-menu,
  .nav-dropdown-menu { background: var(--ink-navy); }
}

@media (prefers-reduced-transparency: reduce) {
  .mobile-menu,
  .nav-dropdown-menu,
  html.lg .mobile-menu,
  html.lg .nav-dropdown-menu {
    background: var(--ink-navy);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Liquid glass (Chromium) ----------
   [data-liquid] surfaces get an SVG lens filter built by site.js from their
   own geometry: along free edges the backdrop is refracted around the rim
   (three per-channel passes add a touch of chromatic aberration); the rest
   is a light frost. Only Chromium renders SVG filters in backdrop-filter, so
   this is gated on html.lg; other engines keep the blur() above. */
html.lg [data-liquid]:not(.nav) {
  backdrop-filter: var(--lg-filter) saturate(var(--lg-sat, 1.6));
  -webkit-backdrop-filter: var(--lg-filter) saturate(var(--lg-sat, 1.6));
}

body.menu-open { overflow: hidden; }


.mm-nav { display: flex; flex-direction: column; }

.mm-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0.5pt solid rgba(250,250,247,0.12);
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
  transition: color 240ms var(--ease), padding-left 280ms var(--ease);
  opacity: 0;
  transform: translateY(14px);
}

body.menu-open .mm-item {
  animation: mm-rise 540ms var(--ease) forwards;
}

body.menu-open .mm-item:nth-child(1) { animation-delay: 80ms; }

body.menu-open .mm-item:nth-child(2) { animation-delay: 130ms; }

body.menu-open .mm-item:nth-child(3) { animation-delay: 180ms; }

body.menu-open .mm-item:nth-child(4) { animation-delay: 230ms; }

body.menu-open .mm-item:nth-child(5) { animation-delay: 280ms; }

body.menu-open .mm-item:nth-child(6) { animation-delay: 330ms; }

@keyframes mm-rise {
  to { opacity: 1; transform: translateY(0); }
}

.mm-item:hover { color: var(--accent); padding-left: 6px; }

.mm-item .mm-num {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(250,250,247,0.4);
  transition: color 200ms var(--ease);
}

.mm-item:hover .mm-num { color: var(--accent); }

.mm-sub {
  display: flex;
  flex-direction: column;
  padding: 4px 0 16px;
  border-bottom: 0.5pt solid rgba(250,250,247,0.12);
  opacity: 0;
  transform: translateY(14px);
}

body.menu-open .mm-sub {
  animation: mm-rise 540ms var(--ease) forwards;
  animation-delay: 380ms;
}

.mm-sub a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0 11px 14px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(13px, 3.4vw, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.78);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), padding-left 200ms var(--ease);
}

.mm-sub a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 18px;
}

.mm-sub a .mm-num {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(250,250,247,0.4);
}

.mm-sub a:hover .mm-num { color: var(--accent); }

.mm-foot {
  margin-top: auto;
  padding-top: clamp(28px, 5vh, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.55);
  opacity: 0;
  transform: translateY(14px);
}

body.menu-open .mm-foot {
  animation: mm-rise 540ms var(--ease) forwards;
  animation-delay: 460ms;
}

.mm-langs { display: flex; gap: 22px; }

.mm-langs button {
  background: none;
  border: 0;
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: rgba(250,250,247,0.5);
  cursor: pointer;
  transition: color 200ms var(--ease);
}

.mm-langs button:hover { color: var(--paper); }

.mm-langs button.active { color: var(--accent); }

section.ink-navy .section-header::after,
section.ink-steel .section-header::after,
section.ink-oxblood .section-header::after { background: var(--paper); }

section.ink-navy .ghost.is-in:not(.btn),
section.ink-steel .ghost.is-in:not(.btn),
section.ink-oxblood .ghost.is-in:not(.btn) { opacity: 0.048; }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active { color: var(--paper); }

.compare-row {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 60px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 0.5pt solid rgba(250, 250, 247, 0.25);
  align-items: baseline;
}

.compare.is-in .compare-row:nth-child(1) { transition-delay: 80ms; }

.compare.is-in .compare-row:nth-child(2) { transition-delay: 160ms; }

.compare.is-in .compare-row:nth-child(3) { transition-delay: 240ms; }

.compare.is-in .compare-row:nth-child(4) { transition-delay: 320ms; }

.compare.is-in .compare-row:nth-child(5) { transition-delay: 400ms; }

.compare.is-in .compare-row { opacity: 1; filter: none; }

section.dark .eyebrow,
section.ink-navy .eyebrow,
section.ink-steel .eyebrow,
section.ink-oxblood .eyebrow { color: var(--mono-5); }

section.ink-navy p.lede,
section.ink-steel p.lede,
section.ink-oxblood p.lede { opacity: 0.92; }

section.ink-navy p,
section.ink-steel p,
section.ink-oxblood p { opacity: 0.88; }

section.ink-navy .hairline,
section.ink-steel .hairline,
section.ink-oxblood .hairline { border-top-color: var(--paper); }

section.ink-navy .ghost:not(.btn),
section.ink-steel .ghost:not(.btn),
section.ink-oxblood .ghost:not(.btn) { color: var(--paper); opacity: 0.048; }

section.ink-navy .btn.primary,
section.ink-steel .btn.primary,
section.ink-oxblood .btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }

section.ink-navy .btn.primary:hover,
section.ink-steel .btn.primary:hover,
section.ink-oxblood .btn.primary:hover { background: transparent; color: var(--paper); }

section.ink-navy .btn.secondary:hover,
section.ink-steel .btn.secondary:hover,
section.ink-oxblood .btn.secondary:hover { background: var(--paper); color: var(--ink); }

section.hero-sub {
  padding-top: 210px;
  padding-bottom: 135px;
}

section.hero-sub .ghost:not(.btn) {
  bottom: -6vw;
  right: -4vw;
  font-size: clamp(280px, 48vw, 700px);
}

section.hero .ghost:not(.btn) {
  bottom: -6vw;
  right: -4vw;
  font-size: clamp(280px, 48vw, 700px);
}

.hero-sub-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
}

.hero-sub-right {
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 0.5pt solid rgba(250, 250, 247, 0.3);
  min-width: 0;
}

h1.display.hero-sub-headline {
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.98;
  margin-top: clamp(22px, 3vw, 40px);
}

.hero-sub-subtitle {
  font-size: var(--fs-lede);
  line-height: 1.55;
  max-width: 56ch;
  margin-top: clamp(22px, 3vw, 36px);
  opacity: 0.9;
}

.hero-sub-meta {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mono-5);
  line-height: 2;
}

.hero-sub-meta strong {
  color: var(--paper);
  font-weight: 700;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  text-transform: none;
}

.hero-sub-meta .divider {
  height: 0.5pt;
  background: rgba(250, 250, 247, 0.3);
  width: 40px;
  margin: 18px 0;
}

.hero-sub-meta .pill {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  padding: 5px 10px;
  border: 0.5pt solid rgba(250, 250, 247, 0.4);
  color: var(--paper);
  margin-bottom: 14px;
}

section.ink-navy .section-header,
section.ink-steel .section-header,
section.ink-oxblood .section-header { border-bottom-color: var(--paper); }

section.ink-navy .section-header p.lede,
section.ink-steel .section-header p.lede,
section.ink-oxblood .section-header p.lede { opacity: 0.85; }

section.ink-navy .card,
section.ink-steel .card,
section.ink-oxblood .card { border-top-color: var(--paper); }

section.ink-navy .card .marker,
section.ink-steel .card .marker,
section.ink-oxblood .card .marker { color: var(--mono-5); }

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.portrait-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 440px;
}

.portrait-accent {
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  background: rgba(12, 31, 46, 0.10);
  z-index: 0;
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--mono-6) url('v-murati.png') center/cover no-repeat;
  overflow: hidden;
  z-index: 1;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(140px, 20vw, 240px);
  color: var(--mono-4);
  letter-spacing: -0.04em;
}

.portrait-caption {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
}

.founder-text h2.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 8px;
  margin-bottom: 18px;
}

.founder-role {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 0.5pt solid var(--mono-6);
}

.founder-text p {
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.88;
  max-width: 52ch;
}

.founder-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5pt solid var(--mono-6);
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.founder-contact a {
  position: relative;
  padding-bottom: 3px;
  transition: opacity var(--t-fast) var(--ease);
}

.founder-contact a::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 0.5pt;
  background: currentColor;
  opacity: 0.4;
  transform-origin: left;
  transition: transform 400ms var(--ease), opacity var(--t-fast) var(--ease);
}

.founder-contact a:hover::before { transform: scaleX(1.05); opacity: 1; }

.model-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 50px);
  margin-top: clamp(40px, 5vw, 70px);
}

.model-step {
  padding: clamp(28px, 3vw, 44px) 0 0;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.35);
}

.model-step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.25;
  margin-bottom: 18px;
}

.model-step h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  margin-bottom: 10px;
}

.model-step p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.82;
  max-width: 34ch;
}

.pullquote {
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: clamp(40px, 5vw, 70px);
  border-top: 0.5pt solid rgba(250, 250, 247, 0.35);
  max-width: 80%;
}

.pullquote blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.pullquote blockquote::before {
  content: "„";
  display: block;
  font-size: 1.4em;
  line-height: 0.4;
  opacity: 0.25;
  margin-bottom: 24px;
}

.pullquote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-display); font-weight: 500;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
}

.positioning {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.positioning .eyebrow { margin-bottom: 18px; }

.positioning h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.positioning h2 em { font-style: italic; font-weight: 700; }

.positioning p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  opacity: 0.85;
  margin-bottom: 18px;
}

.positioning p:last-child { margin-bottom: 0; }

.compare {
  margin-top: clamp(20px, 3vw, 40px);
}

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 60px);
  padding-bottom: 18px;
  border-bottom: 0.5pt solid var(--paper);
  margin-bottom: 0;
}

.compare-head div {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
}

.compare-head div:last-child { color: var(--paper); font-weight: 600; }

.compare-row .left {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  opacity: 0.58;
  text-decoration: line-through;
  text-decoration-thickness: 0.5pt;
  text-decoration-color: rgba(250, 250, 247, 0.45);
}

.compare-row .right {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.cta-grid h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.cta-grid h2 em { font-style: italic; font-weight: 700; }

.cta-grid p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 44ch;
}

.cta-details {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2;
  color: var(--mono-5);
  padding-top: 24px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.25);
  margin-top: 36px;
}

.cta-details strong { color: var(--paper); font-weight: 600; }

.legal-hero {
  padding-top: 210px;
  padding-bottom: 70px;
}

.legal-hero h1.display {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.legal-notice {
  margin-top: clamp(20px, 3vw, 36px);
  padding: clamp(16px, 2vw, 22px) clamp(20px, 3vw, 28px);
  background: rgba(12, 31, 46, 0.05);
  border-left: 2px solid var(--accent);
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 70ch;
  color: var(--ink);
}

.legal-body {
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.legal-body .wrap { max-width: 820px; }

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: clamp(36px, 4vw, 56px);
  margin-bottom: clamp(14px, 1.5vw, 20px);
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 0.5pt solid var(--mono-6);
}

.legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

.legal-body p {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
  margin-bottom: 14px;
  color: var(--ink);
  opacity: 0.9;
}

.legal-body p.legal-block {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.85;
  background: rgba(12,31,46,0.04);
  padding: 14px 18px;
  margin-bottom: 18px;
  opacity: 1;
}

.legal-body p.legal-stand {
  margin-top: clamp(40px, 5vw, 60px);
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mono-3);
  opacity: 1;
}

.legal-body ul.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.legal-body ul.legal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  opacity: 0.9;
}

.legal-body ul.legal-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

.legal-body a {
  color: var(--ink);
  border-bottom: 0.5pt solid var(--accent);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.legal-body a:hover { color: var(--accent); }

.legal-back {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 0.5pt solid var(--mono-6);
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-back a {
  border-bottom: 0;
  color: var(--mono-3);
  transition: color 200ms var(--ease);
}

.legal-back a:hover { color: var(--accent); }

.legal-back .arrow { display: inline-block; margin-right: 8px; transition: transform 280ms var(--ease); }

.legal-back a:hover .arrow { transform: translateX(-4px); }

.pillars .pillar {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.pillars.is-in .pillar:nth-child(1) { transition-delay: 100ms; }

.pillars.is-in .pillar:nth-child(2) { transition-delay: 220ms; }

.pillars.is-in .pillar:nth-child(3) { transition-delay: 340ms; }

.pillars.is-in .pillar { opacity: 1; filter: none; }

.services-grid .service-cell {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.services-grid.is-in .service-cell { opacity: 1; filter: none; }

.services-grid.is-in .service-cell:nth-child(1) { transition-delay: 60ms; }

.services-grid.is-in .service-cell:nth-child(2) { transition-delay: 140ms; }

.services-grid.is-in .service-cell:nth-child(3) { transition-delay: 220ms; }

.services-grid.is-in .service-cell:nth-child(4) { transition-delay: 300ms; }

.services-grid.is-in .service-cell:nth-child(5) { transition-delay: 380ms; }

.services-grid.is-in .service-cell:nth-child(6) { transition-delay: 460ms; }

.price-tier {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.price-tier {
  position: relative;
  padding: clamp(30px, 3.5vw, 44px) 0 0;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.3);
}

.price-grid.is-in .price-tier:nth-child(1) { transition-delay: 100ms; }

.price-grid.is-in .price-tier:nth-child(2) { transition-delay: 220ms; }

.price-grid.is-in .price-tier:nth-child(3) { transition-delay: 340ms; }

.price-grid.is-in .price-tier { opacity: 1; filter: none; }

section.ink-navy .eyebrow,
section.ink-steel .eyebrow,
section.ink-oxblood .eyebrow { color: var(--mono-5); }

.hero-sub-crumb {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}

.hero-sub-crumb a { transition: color var(--t-fast) var(--ease); }

.hero-sub-crumb a:hover { color: var(--paper); }

.hero-sub-crumb .sep { opacity: 0.5; }

.hero-sub-crumb .current { color: var(--paper); }

.hero-sub-meta .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.hero-sub-meta .meta-row span:first-child { opacity: 0.55; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  margin-top: clamp(30px, 4vw, 50px);
}

.pillar {
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 0.5pt solid var(--ink);
}

.pillar-kicker {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 14px;
  display: block;
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.pillar .pillar-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.2;
  color: var(--mono-3);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 0.5pt solid var(--mono-6);
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 0.88;
  max-width: 40ch;
}

.pillar .pillar-example {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 0.5pt solid var(--mono-6);
  line-height: 1.7;
}

.pillar .pillar-example strong {
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(30px, 5vw, 80px);
  row-gap: 0;
  margin-top: clamp(30px, 4vw, 50px);
}

.service-cell {
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.25);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.service-cell .num {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mono-5);
  padding-top: 6px;
}

.service-cell .service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.service-cell h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.service-cell .type-tag {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 4px 9px;
  border: 0.5pt solid rgba(250, 250, 247, 0.5);
  white-space: nowrap;
}

.service-cell p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.85;
  max-width: 44ch;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 50px);
}

.price-tier.featured { border-top-color: var(--paper); }

.price-tier .price-label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 16px;
}

.price-tier h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 18ch;
}

.price-tier .price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.price-tier .price-value .prefix {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-5);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -0.35em;
}

.price-tier .price-currency {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.65em;
  letter-spacing: 0.02em;
  opacity: 0.75;
  margin-right: 0.1em;
}

.price-tier p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.82;
  margin-top: 24px;
  max-width: 36ch;
}

.price-tier .featured-badge {
  position: absolute;
  top: clamp(30px, 3.5vw, 44px);
  right: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(250, 250, 247, 0.12);
  padding: 5px 10px;
  border: 0.5pt solid rgba(250, 250, 247, 0.4);
}

.price-footnote {
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: 28px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.price-footnote p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.72;
  max-width: 60ch;
}

.faq-a p:last-child { margin-bottom: 0; }

.cta-close {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-close h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.cta-close h2 em { font-style: italic; font-weight: 700; }

.cta-close p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 40px;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}

.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.ref-mark {
  position: relative;
  aspect-ratio: 5 / 4;
  max-width: 520px;
  background: rgba(250, 250, 247, 0.04);
  border: 0.5pt solid rgba(250, 250, 247, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ref-mark::before {
  content: "";
  position: absolute;
  top: -20%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(250,250,247,0.06) 0%, transparent 60%);
}

.ref-mark .dg-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--paper);
  z-index: 1;
}

.ref-mark .dg-wordmark .dot { opacity: 0.4; }

.ref-mark .dg-sub {
  position: absolute;
  bottom: 22px; left: 24px; right: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display); font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  z-index: 1;
}

.ref-text .eyebrow { margin-bottom: 14px; }

.ref-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.ref-text h2 em { font-style: italic; font-weight: 700; }

.ref-text .subtitle {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-lede);
  opacity: 0.7;
  margin-bottom: 24px;
}

.ref-text p {
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 0.88;
  margin-bottom: 20px;
  max-width: 48ch;
}

.ref-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 4px;
  transition: color var(--t-fast) var(--ease);
}

.ref-link::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 0.5pt;
  background: currentColor;
  transform-origin: left;
  transition: transform 500ms var(--ease);
}

.ref-link .arrow {
  display: inline-block;
  transition: transform 350ms var(--ease);
}

.ref-link:hover::before { transform: scaleX(1.08); }

.ref-link:hover .arrow { transform: translateX(6px); }

.questions .question {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.questions.is-in .question:nth-child(1) { transition-delay: 100ms; }

.questions.is-in .question:nth-child(2) { transition-delay: 220ms; }

.questions.is-in .question:nth-child(3) { transition-delay: 340ms; }

.questions.is-in .question { opacity: 1; filter: none; }

.questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  margin-top: clamp(30px, 4vw, 50px);
}

.question {
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 0.5pt solid var(--ink);
  position: relative;
}

.question .q-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.22;
  margin-bottom: 20px;
}

.question h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.question h3::before {
  content: "„";
  display: inline-block;
  opacity: 0.4;
  margin-right: 0.05em;
}

.question h3::after {
  content: "";
}

.question .q-answer-label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-top: 14px;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 0.5pt solid var(--mono-6);
  display: block;
}

.question p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.85;
  max-width: 34ch;
}

.question .q-product {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}

.question .q-product-meta {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mono-3);
}

.guarantees .guarantee {
  opacity: 0; filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease), filter var(--t-reveal) var(--ease);
}

.guarantees.is-in .guarantee:nth-child(1) { transition-delay: 100ms; }

.guarantees.is-in .guarantee:nth-child(2) { transition-delay: 220ms; }

.guarantees.is-in .guarantee:nth-child(3) { transition-delay: 340ms; }

.guarantees.is-in .guarantee { opacity: 1; filter: none; }

.guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  margin-top: clamp(30px, 4vw, 50px);
}

.guarantee {
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 0.5pt solid var(--ink);
  position: relative;
}

.guarantee .g-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.22;
  margin-bottom: 20px;
}

.guarantee h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.guarantee h3::before {
  content: "„";
  display: inline-block;
  opacity: 0.4;
  margin-right: 0.05em;
}

.guarantee .g-promise {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.3;
  color: var(--mono-3);
  margin-top: 14px;
  margin-bottom: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 0.5pt solid var(--mono-6);
  border-bottom: 0.5pt solid var(--mono-6);
  letter-spacing: -0.005em;
}

.guarantee p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.85;
  max-width: 34ch;
}

.price-tier .price-value.price-text {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
}

.price-tier .price-unit {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-5);
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -0.35em;
}

.price-tier .price-details {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.2);
  line-height: 1.9;
}

.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.22;
  margin-bottom: 22px;
}

.pillar .pillar-code {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 18px;
  display: block;
}

.pillar .pillar-surfaces {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 0.5pt solid var(--mono-6);
}

.philosophy {
  max-width: 1100px;
}

.philosophy .eyebrow { margin-bottom: 28px; }

.philosophy blockquote {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.philosophy blockquote em { font-style: italic; font-weight: 700; }

.philosophy blockquote::before {
  content: "„";
  display: inline-block;
  font-size: 1.1em;
  line-height: 0.6;
  opacity: 0.3;
  margin-right: 0.05em;
  vertical-align: -0.08em;
}

.philosophy-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-top: clamp(32px, 4vw, 50px);
  border-top: 0.5pt solid rgba(250, 250, 247, 0.3);
}

.philosophy-body p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 18px;
}

.proof-card {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border: 0.5pt solid rgba(250, 250, 247, 0.35);
  align-self: start;
}

.proof-card .proof-label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 0.5pt solid rgba(250, 250, 247, 0.25);
}

.proof-card .proof-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.proof-card .proof-title .dot { opacity: 0.4; }

.proof-card p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 18px;
}

.proof-card .proof-link {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 0.5pt solid currentColor;
  transition: transform 350ms var(--ease);
}

.proof-card .proof-link:hover { transform: translateX(4px); }

section.ink-navy .section-header::after,
section.ink-oxblood .section-header::after,
section.ink-steel .section-header::after { background: var(--paper); }

section.ink-navy .ghost.is-in:not(.btn),
section.ink-oxblood .ghost.is-in:not(.btn),
section.ink-steel .ghost.is-in:not(.btn) { opacity: 0.048; }

.pillars.is-in .pillar:nth-child(4) { transition-delay: 400ms; }

section.ink-navy .eyebrow,
section.ink-oxblood .eyebrow,
section.ink-steel .eyebrow { color: var(--mono-5); }

section.ink-navy p.lede,
section.ink-oxblood p.lede,
section.ink-steel p.lede { opacity: 0.92; }

section.ink-navy p,
section.ink-oxblood p,
section.ink-steel p { opacity: 0.88; }

section.ink-navy .ghost:not(.btn),
section.ink-oxblood .ghost:not(.btn),
section.ink-steel .ghost:not(.btn) { color: var(--paper); }

section.ink-navy .btn.primary,
section.ink-oxblood .btn.primary,
section.ink-steel .btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }

section.ink-navy .btn.primary:hover,
section.ink-oxblood .btn.primary:hover,
section.ink-steel .btn.primary:hover { background: transparent; color: var(--paper); }

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

section.ink-navy .btn.outline:hover,
section.ink-oxblood .btn.outline:hover,
section.ink-steel .btn.outline:hover { background: var(--paper); color: var(--ink); }

section.case-hero {
  padding-top: 210px;
  padding-bottom: 135px;
}

section.case-hero .ghost:not(.btn) { bottom: 4vw; left: -3vw; font-size: clamp(240px, 36vw, 520px); }

section.ink-paper .chip,
section.ink-paper .project-content .chip {
  border-color: rgba(11, 26, 38, 0.35);
  color: var(--ink);
}

section.ink-paper .project-content .project-tagpill {
  border-color: rgba(11, 26, 38, 0.45);
  color: var(--ink);
}

section.ink-paper .project-content .project-links {
  border-top-color: rgba(11, 26, 38, 0.2);
}

section.ink-paper .project-meta .meta-label {
  color: var(--mono-3);
  opacity: 0.85;
}

section.ink-paper .project-meta .meta-value {
  color: var(--ink);
  opacity: 0.92;
}

section.ink-paper .project-num {
  color: var(--ink);
  opacity: 0.18;
}

section.ink-paper .project-content .project-link .live-dot {
  background: var(--ink);
}

.case-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
}

.case-hero-right {
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 0.5pt solid rgba(250, 250, 247, 0.3);
}

.case-crumb {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.case-crumb a { transition: color var(--t-fast) var(--ease); }

.case-crumb a:hover { color: var(--paper); }

.case-crumb .sep { opacity: 0.5; }

.case-crumb .current { color: var(--paper); }

h1.case-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-top: clamp(22px, 3vw, 40px);
}

h1.case-title .ital { font-style: italic; font-weight: 700; }

.case-subtitle {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  max-width: 56ch;
  margin-top: clamp(24px, 3vw, 36px);
  opacity: 0.82;
}

.case-cta-row {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; gap: 14px; flex-wrap: wrap;
}

.case-meta {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mono-5);
  line-height: 2;
}

.case-meta strong {
  color: var(--paper);
  font-weight: 700;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  text-transform: none;
  display: block;
  margin-top: 2px;
}

.case-meta .meta-row {
  padding: 10px 0;
  border-bottom: 0.5pt solid rgba(250, 250, 247, 0.18);
}

.case-meta .meta-row:last-child { border-bottom: 0; }

.case-meta .meta-label {
  opacity: 0.55;
  display: block;
  font-size: 10px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.case-intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.case-intro .case-intro-left p.eyebrow { margin-bottom: 20px; }

.case-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.case-intro h2 em { font-style: italic; font-weight: 700; }

.case-intro .case-intro-right p {
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 62ch;
}

.case-intro .case-intro-right p:last-child { margin-bottom: 0; }

section.ink-navy .case-intro .case-intro-right p,
section.ink-oxblood .case-intro .case-intro-right p,
section.ink-steel .case-intro .case-intro-right p { opacity: 0.9; }

.pillar .p-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 16px;
}

.pillar h3 em { font-style: italic; font-weight: 700; }

.testimonial-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-block .t-kicker {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 40px;
}

.testimonial-block blockquote { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(22px, 2.8vw, 38px); line-height: 1.3; letter-spacing: -0.03em; max-width: 34ch; margin: 0 auto clamp(30px, 4vw, 50px); }

.testimonial-block blockquote::before,
.testimonial-block blockquote::after {
  font-family: var(--font-display); letter-spacing: -0.03em;
  font-weight: 700;
  font-size: 0.6em;
  opacity: 0.5;
  display: inline-block;
  line-height: 1;
}

.testimonial-block blockquote::before { content: "„"; }

.testimonial-block blockquote::after { content: ""; }

.testimonial-block .t-attribution {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.75;
}

.outcome-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.outcome-block .o-kicker {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 36px;
}

.outcome-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.outcome-block h2 em { font-style: italic; font-weight: 700; }

.outcome-block p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  opacity: 0.88;
  max-width: 58ch;
  margin: 0 auto;
}

.case-cta-close { text-align: center; max-width: 820px; margin: 0 auto; }

.case-cta-close h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.case-cta-close h2 em { font-style: italic; font-weight: 700; }

.case-cta-close p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 40px;
  max-width: 58ch;
  margin-left: auto; margin-right: auto;
}

.case-cta-close .buttons {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}

.nav-links a:hover, .nav-links a.active { color: var(--paper); }

.mockup-section { padding-top: clamp(50px, 6vw, 80px); padding-bottom: clamp(50px, 6vw, 80px); }

.devices { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 50px); }

.devices-row { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }

.device { display: block; position: relative; }

.device.desktop .browser { border: 0.5pt solid var(--mono-6); background: var(--paper); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1); overflow: hidden; }

.device.desktop .browser-bar { padding: 12px 16px; background: #F1F1EC; display: flex; align-items: center; gap: 8px; border-bottom: 0.5pt solid var(--mono-6); }

.device.desktop .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

.device.desktop .dot:nth-child(1) { background: #FF5F57; }

.device.desktop .dot:nth-child(2) { background: #FEBC2E; }

.device.desktop .dot:nth-child(3) { background: #28C840; }

.device.desktop .url { font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--mono-4); margin-left: 20px; letter-spacing: 0.04em; }

.device.desktop .viewport { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }

.device.desktop iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: top left; }

.device.tablet { background: #1a1a1a; border-radius: 20px; padding: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12); }

.device.tablet .viewport { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); border-radius: 6px; }

.device.tablet iframe { position: absolute; top: 0; left: 0; width: 820px; height: 1094px; border: 0; transform-origin: top left; }

.device.mobile { background: #1a1a1a; border-radius: 36px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12); position: relative; }

.device.mobile::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 50px; height: 4px; border-radius: 2px; background: #333; z-index: 2; }

.device.mobile .viewport { position: relative; width: 100%; aspect-ratio: 9 / 19.5; overflow: hidden; background: var(--paper); border-radius: 28px; }

.device.mobile iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform-origin: top left; }

.mockup-caption { text-align: center; margin-top: clamp(28px, 3vw, 42px); font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mono-4); }

.narrative-grid { display: grid; grid-template-columns: 1.15fr 1.85fr; gap: clamp(30px, 5vw, 80px); align-items: start; }

.narrative-grid h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; }

.narrative-grid h2 em { font-style: italic; font-weight: 700; }

.narrative-grid .narrative-body p { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; margin-bottom: 22px; max-width: 56ch; opacity: 0.88; }

.narrative-grid .narrative-body p:last-child { margin-bottom: 0; }

.narrative-grid .eyebrow { margin-bottom: 20px; display: block; }

.section-header-block { display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 5vw, 70px); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); padding-bottom: clamp(30px, 3vw, 44px); border-bottom: 0.5pt solid var(--ink); }

section.ink-navy .section-header-block, section.ink-oxblood .section-header-block, section.ink-steel .section-header-block { border-bottom-color: var(--paper); }

.section-header-block .title-col h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-section); line-height: 1.02; letter-spacing: -0.03em; }

.section-header-block .title-col h2 em { font-style: italic; font-weight: 700; }

.section-header-block .lede-col { max-width: 40ch; }

.section-header-block .lede-col p { font-size: var(--fs-lede); opacity: 0.8; }

section.ink-navy .section-header-block .lede-col p, section.ink-oxblood .section-header-block .lede-col p, section.ink-steel .section-header-block .lede-col p { opacity: 0.85; }

.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }

.deliverable { padding: clamp(24px, 3vw, 36px) clamp(28px, 3vw, 40px); border-top: 0.5pt solid var(--ink); border-right: 0.5pt solid var(--ink); }

.deliverable:nth-child(2n) { border-right: 0; }

section.ink-steel .deliverable { border-top-color: rgba(250, 250, 247, 0.25); border-right-color: rgba(250, 250, 247, 0.25); }

.deliverable h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }

.deliverable h3 em { font-style: italic; font-weight: 700; }

.deliverable p { font-size: 14.5px; line-height: 1.55; opacity: 0.82; max-width: 40ch; }

.ux-decisions { display: flex; flex-direction: column; }

.ux-decision { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 60px); padding: clamp(24px, 3vw, 36px) 0; border-top: 0.5pt solid var(--ink); align-items: start; }

section.ink-steel .ux-decision { border-top-color: rgba(250, 250, 247, 0.25); }

.ux-decision:last-child { border-bottom: 0.5pt solid var(--ink); }

section.ink-steel .ux-decision:last-child { border-bottom-color: rgba(250, 250, 247, 0.25); }

.ux-decision h3 { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; max-width: 20ch; }

.ux-decision p { font-size: var(--fs-body); line-height: 1.6; opacity: 0.88; max-width: 56ch; }

.testimonial-eyebrow { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mono-5); margin-bottom: 32px; }

.testimonial-block cite { font-style: normal; font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mono-5); display: block; padding-top: 24px; position: relative; }

.testimonial-block cite::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 0.5pt; background: rgba(250, 250, 247, 0.45); }

.projects-archive .project-entry {
  opacity: 0; filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease), filter var(--t-reveal) var(--ease);
}

.projects-archive.is-in .project-entry:nth-child(1) { transition-delay: 80ms; }

.projects-archive.is-in .project-entry:nth-child(2) { transition-delay: 200ms; }

.projects-archive.is-in .project-entry:nth-child(3) { transition-delay: 320ms; }

.projects-archive.is-in .project-entry:nth-child(4) { transition-delay: 440ms; }

.projects-archive.is-in .project-entry { opacity: 1; filter: none; }

.projects-archive { display: flex; flex-direction: column; }

.project-entry {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(50px, 6vw, 90px) 0;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.25);
}

.project-entry:last-child { border-bottom: 0.5pt solid rgba(250, 250, 247, 0.25); }

.project-meta { display: flex; flex-direction: column; gap: 24px; }

.project-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.3;
}

.project-meta .meta-block {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.8;
}

.project-meta .meta-label {
  color: var(--mono-5);
  opacity: 0.6;
  display: block;
  margin-bottom: 2px;
}

.project-meta .meta-value {
  color: var(--paper);
  font-weight: 500;
}

.project-meta .meta-value-group { margin-bottom: 14px; }

.project-content .project-tagpill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 0.5pt solid rgba(250, 250, 247, 0.45);
  color: var(--paper);
  margin-bottom: 22px;
}

.project-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.project-content .project-subtitle {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.35;
  opacity: 0.75;
  margin-bottom: 26px;
  max-width: 50ch;
}

.project-content p {
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 0.88;
  margin-bottom: 16px;
  max-width: 62ch;
}

.project-content .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.project-content .chip {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 0.5pt solid rgba(250, 250, 247, 0.35);
  color: var(--paper);
  opacity: 0.85;
}

.project-content .project-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  padding-top: 22px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.2);
}

.project-content .project-link {
  position: relative;
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast) var(--ease);
}

.project-content .project-link::before {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 0.5pt;
  background: currentColor;
  transform-origin: left;
  transition: transform 500ms var(--ease);
}

.project-content .project-link .arrow {
  display: inline-block;
  transition: transform 350ms var(--ease);
}

.project-content .project-link:hover::before { transform: scaleX(1.08); }

.project-content .project-link:hover .arrow { transform: translateX(6px); }

.project-content .project-link .live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--paper);
  margin-right: 4px;
  opacity: 0.7;
  animation: livePulse 2.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.stages .stage {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease);
}

.stages.is-in .stage:nth-child(1) { transition-delay: 100ms; }

.stages.is-in .stage:nth-child(2) { transition-delay: 220ms; }

.stages.is-in .stage:nth-child(3) { transition-delay: 340ms; }

.stages.is-in .stage { opacity: 1; filter: none; }

.hero-audience {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: 20px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.22);
  max-width: 56ch;
}

.hero-audience-label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-5);
  margin-bottom: 8px;
}

.hero-audience-list {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  opacity: 0.78;
}

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  margin-top: clamp(30px, 4vw, 50px);
}

.stage {
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 0.5pt solid var(--ink);
  position: relative;
}

.stage-kicker {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 14px;
  display: block;
}

.stage h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stage .stage-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.2;
  color: var(--mono-3);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 0.5pt solid var(--mono-6);
  letter-spacing: -0.01em;
}

.stage p {
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.85;
  max-width: 34ch;
  margin-bottom: 16px;
}

.stage .stage-for {
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 0.5pt solid var(--mono-6);
  line-height: 1.7;
}

.stage .stage-for strong {
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.project-link.is-static {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}

.project-link.is-static::after { display: none; }

.hero-right {
  border-left: 0.5pt solid rgba(250, 250, 247, 0.2);
  padding-left: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-services-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  margin-bottom: 24px;
}

.hero-services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-services a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 200ms var(--ease),
              transform 200ms var(--ease),
              padding-left 200ms var(--ease);
}

.hero-services a .num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(250, 250, 247, 0.5);
  font-variant-numeric: tabular-nums;
  transition: color 200ms var(--ease);
}

.hero-services a .arrow {
  opacity: 0;
  transition: opacity 200ms var(--ease),
              transform 200ms var(--ease);
}

.hero-services a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.hero-services a:hover .num { color: var(--accent); }

.hero-services a:hover .arrow {
  opacity: 1;
  transform: translateX(2px);
}

.hero-headline-2 {
  display: block;
  margin-top: 0.12em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-headline-2 .word { font-style: italic; font-weight: 700; }

.hero-services li {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.6);
}

.people-strip { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(60px, 7vw, 100px); }

.people-strip .strip-header {
  margin-bottom: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(28px, 3vw, 44px);
  border-bottom: 0.5pt solid var(--mono-6);
}

.people-strip .strip-eyebrow {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mono-3); margin: 0 0 18px;
}

.people-strip .strip-headline {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.98;
  letter-spacing: -0.03em; margin: 0 0 24px;
}

.people-strip .strip-headline .ital { font-style: italic; font-weight: 500; }

.people-strip .strip-lede {
  font-size: var(--fs-body); line-height: 1.6; max-width: 60ch;
  opacity: 0.88; margin: 0;
}

.people-slider-wrap {
  position: relative;
}

.people-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: clamp(20px, 2.5vw, 36px);
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.people-slider::-webkit-scrollbar { display: none; }

.people-slider .people-card {
  flex: 0 0 calc((100% - 2 * clamp(20px, 2.5vw, 36px)) / 3);
  scroll-snap-align: start;
}

.people-slider-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: clamp(24px, 3vw, 40px);
}

.ps-arrow {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: transparent;
  border: 0.5pt solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  transition: background 200ms, color 200ms, opacity 200ms;
}

.ps-arrow:hover { background: var(--ink); color: var(--paper); }

.ps-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.ps-arrow:disabled { opacity: 0.25; cursor: not-allowed; }

.people-card { display: flex; flex-direction: column; }

.people-card .pc-portrait {
  position: relative;
  overflow: hidden;
  width: 100%; aspect-ratio: 3 / 4;
  background-color: var(--mono-6);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  margin-bottom: 22px;
}

.people-card .pc-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background-image: inherit;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.people-card:hover .pc-portrait::after,
.people-card:focus-visible .pc-portrait::after { transform: scale(1.04); }

.people-card .pc-eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mono-3); margin: 0 0 10px;
}

.people-card .pc-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.0;
  letter-spacing: -0.02em; margin: 0 0 8px;
}

.people-card .pc-role {
  font-size: var(--fs-small); opacity: 0.82; margin: 0 0 18px;
}

.people-card .pc-link {
  margin-top: auto;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.people-card .pc-link:hover { opacity: 0.65; }

.testi-section { padding-top: clamp(60px, 7vw, 100px); padding-bottom: clamp(60px, 7vw, 100px); position: relative; }

.testi-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.testi-slide {
  grid-column: 1; grid-row: 1;
  opacity: 0; visibility: hidden;
  transition: opacity 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.testi-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.testi-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 32ch;
}

.testi-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 0.5pt solid var(--mono-6);
}

.testi-cite {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.4;
  font-style: normal;
}

.testi-cite .testi-name { display: block; color: var(--ink); margin-bottom: 4px; }

.testi-cite .testi-role { display: block; color: var(--mono-3); font-size: var(--fs-small); letter-spacing: 0.04em; }

.testi-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: clamp(34px, 4vw, 56px);
  max-width: 180px;
}

.testi-logo img {
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0);
  opacity: 0.78;
}

.testi-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.78;
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(36px, 4vw, 56px);
}

.testi-arrows { display: inline-flex; gap: 14px; }

.testi-arrow {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: transparent;
  border: 0.5pt solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  transition: background 200ms, color 200ms;
}

.testi-arrow:hover { background: var(--ink); color: var(--paper); }

.testi-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.testi-arrow[aria-disabled="true"] { opacity: 0.3; cursor: not-allowed; }

.testi-dots { display: inline-flex; gap: 12px; align-items: center; }

.testi-dot {
  width: 8px; height: 8px;
  border: 0.5pt solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 200ms;
  border-radius: 50%;
}

.testi-dot.is-active { background: var(--ink); }

.testi-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.testi-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mono-3);
  text-transform: uppercase;
}

.founder-grid.is-flipped { grid-template-columns: 1.1fr 0.9fr; }

.founder-name.is-member {
  font-size: clamp(30px, 4.4vw, 65px);
}

.portrait-frame.is-gareth {
  background-image: url('/assets/gareth-evans.png');
}

.network-section-header {
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: clamp(40px, 5vw, 70px);
  border-top: 0.5pt solid var(--mono-6);
  margin-bottom: clamp(60px, 7vw, 100px);
}

.network-section-header .network-eyebrow {
  font-family: var(--font-display); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-3);
  margin-bottom: 18px;
}

.network-section-header .network-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}

.network-section-header .network-headline .upright { font-style: normal; }

.network-section-header .network-lede {
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 60ch;
  opacity: 0.88;
  margin-bottom: clamp(28px, 3vw, 44px);
  padding-bottom: clamp(28px, 3vw, 44px);
  border-bottom: 0.5pt solid var(--mono-6);
}

.member-quote {
  border-left: 2px solid var(--mono-5);
  padding: 4px 0 4px 22px;
  margin: 4px 0 22px;
  font-style: italic;
  font-size: var(--fs-body);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 52ch;
}

.founder-contact span { opacity: 0.85; }

.portrait-frame.is-andre {
  background-image: url('/assets/andre-funk.png');
}

.portrait-frame.is-friedrich {
  background-image: url('/assets/Friedrich_Strohmeier_1777981001423.png');
}

.portrait-frame.is-andrew {
  background-image: url('/assets/andrew-janczak.png');
}

.network-section-header ~ .founder-grid + .founder-grid {
  margin-top: clamp(60px, 7vw, 100px);
  padding-top: clamp(40px, 5vw, 70px);
  border-top: 0.5pt solid var(--mono-6);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

    [data-reveal], .reveal-words .word, .trust, .pa-list li,
  .services-list .service-row, .services-tiles .service-tile, .cards-3 .card, [data-stagger] > *,
  .hero-figure .num, .hero-figure .label, .hero-figure .note,
  .hero-video-frame, .hero-video-caption {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    [data-draw]::before, .section-header::after { width: 100% !important; }

    /* Ghost numerals keep their designed faint opacity (.is-in is set by site.js);
       opacity: 1 here rendered them as solid boxes under the nav. */
    .ghost:not(.btn) { transform: none !important; }

    [data-reveal], .reveal-words .word, .pa-list li, .compare-row {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    .section-header::after { width: 100% !important; }

    [data-reveal], .reveal-words .word, .pillar, .service-cell, .price-tier {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    [data-reveal], .reveal-words .word, .service-cell, .price-tier {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    [data-reveal], .reveal-words .word, .question, .service-cell, .price-tier {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    [data-reveal], .reveal-words .word, .guarantee, .service-cell, .price-tier {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    [data-reveal], .reveal-words .word, .pillar {
    opacity: 1 !important; transform: none !important;
  }

    [data-reveal], .reveal-words .word { opacity: 1 !important; transform: none !important; }

    [data-reveal], .reveal-words .word, .project-entry {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    [data-reveal], .reveal-words .word, .stage, .service-cell, .price-tier {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

    .people-card .pc-portrait::after { transition: none; }

    .people-card:hover .pc-portrait::after,
  .people-card:focus-visible .pc-portrait::after { transform: none; }

    .testi-slide { transition: none; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }

    .nav-menu-btn { display: inline-block; }

    .nav-menu-btn { display: inline-flex; }

    .hero-grid { grid-template-columns: 1fr; }

    .section-header { grid-template-columns: 1fr; align-items: start; }

    .cards-3 { grid-template-columns: 1fr; }

    .service-row {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "num title"
      ".   desc"
      ".   more";
    row-gap: 10px;
  }

    .service-num { grid-area: num; }

    .service-title { grid-area: title; }

    .service-desc { grid-area: desc; }

    .service-more { grid-area: more; margin-top: 8px; }

    .pa-grid { grid-template-columns: 1fr; }

    .projects-grid { grid-template-columns: 1fr; }

    .people-slider .people-card { flex: 0 0 calc((100% - clamp(20px, 2.5vw, 36px)) / 2); }

    .services-grid { grid-template-columns: 1fr; }

    .compare-row { grid-template-columns: 1fr; gap: 8px; }

    .compare-head { grid-template-columns: 1fr; gap: 8px; }

    .trust-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-brand { grid-column: 1; margin-bottom: 24px; }

    .testi-meta { grid-template-columns: 1fr; gap: 4px; }

    .nav-dropdown-menu { display: none; }

    .mobile-menu { display: flex; }

    .hero-sub-grid { grid-template-columns: 1fr; }

    .hero-sub-right {
    border-left: 0;
    border-top: 0.5pt solid rgba(250, 250, 247, 0.3);
    padding-left: 0;
    padding-top: 28px;
    margin-top: 32px;
  }

    .founder-grid,
    .founder-grid.is-flipped {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    /* Auf Mobile zuerst das Portrait, dann der Text, typische Bio-Lesereihenfolge. */
    .founder-grid.is-flipped > .founder-text { order: 2; }
    .founder-grid.is-flipped > [data-reveal]:not(.founder-text) { order: 1; }

    .devices-row { grid-template-columns: 1fr; gap: 24px; }

    .ux-decision { grid-template-columns: 1fr; gap: 16px; }

    .deliverables { grid-template-columns: 1fr; }

    .model-steps { grid-template-columns: 1fr; }

    .positioning { grid-template-columns: 1fr; gap: 24px; }

    .cta-grid { grid-template-columns: 1fr; }

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

    .price-grid { grid-template-columns: 1fr; }

    .ref-grid { grid-template-columns: 1fr; }

    .questions { grid-template-columns: 1fr; }

    .guarantees { grid-template-columns: 1fr; }

    .philosophy-body { grid-template-columns: 1fr; }

    .case-hero-grid { grid-template-columns: 1fr; }

    .case-hero-right {
    border-left: 0; border-top: 0.5pt solid rgba(250, 250, 247, 0.3);
    padding-left: 0; padding-top: 28px; margin-top: 32px;
  }

    .case-intro { grid-template-columns: 1fr; gap: 32px; }

    .narrative-grid { grid-template-columns: 1fr; }

    .section-header-block { grid-template-columns: 1fr; }

    .project-entry { grid-template-columns: 1fr; gap: 32px; }

    .stages { grid-template-columns: 1fr; }

    .hero-right {
    border-left: 0;
    border-top: 0.5pt solid rgba(250, 250, 247, 0.2);
    padding-left: 0;
    padding-top: 32px;
    margin-top: 24px;
    margin-bottom: 100px;
  }

    section.hero {
  padding-top: 210px;
  padding-bottom: 135px;
}
}

@media (max-width: 480px) {
  .people-slider .people-card { flex: 0 0 100%; }

  .wrap { padding-left: 18px; padding-right: 18px; }

  section.hero { padding-top: 140px; padding-bottom: 80px; }
  section.hero-sub { padding-top: 110px; padding-bottom: 70px; }

  h1.display.hero-headline { font-size: clamp(40px, 12vw, 64px); line-height: 1.06; }
  h1.display.hero-sub-headline { font-size: clamp(38px, 11vw, 58px); line-height: 1.06; }
  .section-title { font-size: clamp(32px, 9vw, 52px); line-height: 1.05; }

  .hero-sub-meta { padding: 22px; }
  .hero-sub-subtitle { font-size: 16px; }

  .nav { padding-left: 18px; padding-right: 18px; }
  .ghost { font-size: clamp(160px, 40vw, 280px) !important; }
}

/* Task #102 — author avatar in article hero meta-row */
.article-author { display: inline-flex; align-items: center; gap: 12px; }
.article-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--mono-6);
}

/* ============================================================
 * Task #103 — long-form article layout
 * Hero (.case-hero.article-hero is .ink-navy) + body prose
 * ============================================================ */

/* --- HERO --- */
.case-hero.article-hero { padding-top: 220px; padding-bottom: 120px; }
.article-hero .article-title {
  font-family: 'Bitter', 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 8.4vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 28px 0;
  max-width: 18ch;
}
.article-hero .article-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--paper);
}
.article-hero .article-deck {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.45;
  color: rgba(250, 250, 247, 0.82);
  max-width: 62ch;
  margin: 0 0 56px 0;
}
.article-hero .article-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  border-top: 0.5pt solid rgba(250, 250, 247, 0.22);
  padding-top: 28px;
}
.article-hero .article-meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 24px;
  padding: 6px 0;
  border-bottom: 0.5pt solid rgba(250, 250, 247, 0.10);
}
.article-hero .article-meta-row:last-child { border-bottom: 0; }
.article-hero .article-meta-label {
  font-family: 'Kode Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 250, 247, 0.55);
}
.article-hero .article-meta-value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  line-height: 1.3;
  color: var(--paper);
}
@media (max-width: 860px) {
  .case-hero.article-hero { padding-top: 150px; padding-bottom: 80px; }
  .article-hero .article-meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
}

/* --- BODY PROSE --- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink);
}
.prose .part-eyebrow {
  display: block;
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mono-3);
  margin-bottom: 22px;
}
.prose .part-title {
  font-family: 'Bitter', 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 56px 0;
  max-width: 18ch;
}
.prose .part-title em { font-style: italic; font-weight: 500; }
.prose .section-h3 {
  font-family: 'Bitter', 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 56px 0 20px 0;
}
.prose p {
  margin: 0 0 22px 0;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(10, 10, 10, 0.35);
  transition: text-decoration-color 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 22px 1.4em; padding: 0; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 2px solid var(--ink);
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  font-style: italic;
  color: var(--mono-2);
}
.prose code {
  font-family: 'Kode Mono', monospace;
  font-size: 0.92em;
  background: var(--mono-6);
  padding: 1px 6px;
  border-radius: 3px;
}
.prose figure { margin: 36px 0; }
.prose figcaption {
  font-family: 'Kode Mono', monospace;
  font-size: 12px;
  color: var(--mono-3);
  margin-top: 10px;
  text-align: center;
}

/* Dark-section overrides for .prose (ink-navy / forest / steel / oxblood) */
section.ink-navy .prose,
section.ink-forest .prose,
section.ink-steel .prose,
section.ink-oxblood .prose { color: rgba(250, 250, 247, 0.92); }
section.ink-navy .prose .part-eyebrow,
section.ink-forest .prose .part-eyebrow,
section.ink-steel .prose .part-eyebrow,
section.ink-oxblood .prose .part-eyebrow { color: rgba(250, 250, 247, 0.55); }
section.ink-navy .prose .part-title,
section.ink-forest .prose .part-title,
section.ink-steel .prose .part-title,
section.ink-oxblood .prose .part-title,
section.ink-navy .prose .section-h3,
section.ink-forest .prose .section-h3,
section.ink-steel .prose .section-h3,
section.ink-oxblood .prose .section-h3 { color: var(--paper); }
section.ink-navy .prose a,
section.ink-forest .prose a,
section.ink-steel .prose a,
section.ink-oxblood .prose a {
  text-decoration-color: rgba(250, 250, 247, 0.45);
}
section.ink-navy .prose a:hover,
section.ink-forest .prose a:hover,
section.ink-steel .prose a:hover,
section.ink-oxblood .prose a:hover { text-decoration-color: var(--paper); }
section.ink-navy .prose blockquote,
section.ink-forest .prose blockquote,
section.ink-steel .prose blockquote,
section.ink-oxblood .prose blockquote {
  border-left-color: var(--paper);
  color: rgba(250, 250, 247, 0.78);
}
section.ink-navy .prose figcaption,
section.ink-forest .prose figcaption,
section.ink-steel .prose figcaption,
section.ink-oxblood .prose figcaption { color: rgba(250, 250, 247, 0.55); }

/* --- ARTIKEL HUB CARDS --- */
.articles-archive { display: flex; flex-direction: column; gap: 0; }
.article-entry {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 0.5pt solid rgba(10, 10, 10, 0.18);
}
.article-entry:last-child { border-bottom: 0.5pt solid rgba(10, 10, 10, 0.18); }
.article-entry-meta {
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mono-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-entry-meta .num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 14px;
}
.article-entry-content h3 {
  font-family: 'Bitter', 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 18px 0;
  color: var(--ink);
}
.article-entry-content h3 em { font-style: italic; font-weight: 500; }
.article-entry-content h3 a { color: inherit; text-decoration: none; }
.article-entry-content h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-entry-content .article-deck-card {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--mono-2);
  margin: 0 0 22px 0;
  max-width: 60ch;
}
.article-entry-content .article-link {
  font-family: 'Kode Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0.5pt solid var(--ink);
  padding-bottom: 4px;
}
.article-entry-content .article-link:hover { gap: 14px; transition: gap 240ms cubic-bezier(0.2, 0.6, 0.2, 1); }
@media (max-width: 860px) {
  .article-entry { grid-template-columns: 1fr; gap: 22px; padding: 40px 0; }
}

/* ============================================================
 * Guthand — hex enumeration rendered in the 'Sixtyfour' display
 * font (ghost numbers, section markers, service numbers, nav
 * and mobile-menu numerals). Default axes per the Google Fonts
 * specimen: BLED 0, SCAN 0.
 * ============================================================ */
.ghost-hex:not(.btn) {
  font-family: 'Sixtyfour', 'Kode Mono', ui-monospace, monospace;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  font-optical-sizing: auto;
  font-variation-settings: 'BLED' 0, 'SCAN' 0;
}

.service-num,
.nd-num,
.nav-langs-eyebrow .num,
.mm-num,
.marker .hex {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 0.95em;
  font-variation-settings: 'BLED' 0, 'SCAN' 0;
}

/* Guthand: service-row hover on dark sections — subtle overlay
   instead of the light-section paper background */
section.ink-steel .service-row:hover,
section.ink-navy .service-row:hover,
section.ink-forest .service-row:hover,
section.dark .service-row:hover {
  background: rgba(250, 250, 247, 0.07);
}

section.ink-steel .service-row:hover .service-more,
section.ink-navy .service-row:hover .service-more,
section.ink-forest .service-row:hover .service-more,
section.dark .service-row:hover .service-more {
  color: var(--paper);
}

/* Guthand: no full-width section-header underline */
.section-header::after { display: none; }

/* Guthand: image logo in nav and footer (dark mark, inverted on dark bg) */
.logo-img {
  display: block;
  height: 24px;
  width: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.logo-img-footer { height: 34px; }

/* ============================================================
 * GUTHAND THEME — custom design layer.
 * Terminal / blueprint look: textured grounds, amber accent,
 * code-comment eyebrows, boxed cards, prompt-style buttons,
 * amber headline emphasis, blur-in word reveal.
 * ============================================================ */

:root { --accent: #FF5A00; }

/* ---------- textured section grounds ---------- */
section.ink-paper {
  background-image: radial-gradient(rgba(10, 10, 10, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- headline emphasis: amber instead of italic ---------- */
.reveal-words .word[style] {
  font-style: normal !important;
  color: var(--accent);
}

.display .ital,
h2.section-title em { font-style: normal; color: var(--accent); }

/* ---------- word reveal: blur-in instead of mask slide ---------- */
.reveal-words .word-mask { overflow: visible; }

.reveal-words .word {
  transform: none;
  opacity: 0;
  filter: blur(10px);
  transition: opacity var(--t-slow) var(--ease), filter var(--t-slow) var(--ease);
  will-change: opacity, filter;
}

.reveal-words.is-in .word {
  transform: none;
  opacity: 1;
  filter: blur(0);
}

/* ---------- eyebrows as code comments ---------- */
.eyebrow {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.eyebrow::before { content: '// '; color: var(--accent); }

/* ---------- cards: bordered boxes with amber corner tick ---------- */
.card {
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(10, 10, 10, 0.16);
  position: relative;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card:hover::after { opacity: 1; }

section.ink-steel .card,
section.dark .card {
  border: 1px solid rgba(250, 250, 247, 0.2);
}

section.ink-steel .card:hover,
section.dark .card:hover { border-color: var(--accent); }

/* ---------- markers & numbering in amber ---------- */
.marker .hex,
.service-num,
.nd-num { color: var(--accent); }

/* ---------- service rows: amber insert on hover ---------- */
.service-row {
  padding-left: 14px;
  padding-right: 14px;
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.service-row:hover { box-shadow: inset 3px 0 0 var(--accent); }

/* ---------- buttons: terminal prompts ---------- */
.btn {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.btn::before { content: '>'; opacity: 0.6; }

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0A0A;
  transform: translateY(-1px);
}

/* ---------- chips: amber hover ---------- */
.chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0A0A;
}

/* ---------- ghost hex numbers: warm amber glow ---------- */
.ghost-hex:not(.btn) { color: var(--accent); }

section.ink-steel .ghost-hex.is-in:not(.btn),
section.dark .ghost-hex.is-in:not(.btn) { opacity: 0.07; }

.ghost-hex.is-in:not(.btn) { opacity: 0.06; }

/* ---------- nav: terminal titlebar ---------- */
.nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- footer: amber signature line ---------- */
footer { border-top: 2px solid var(--accent); }

/* Guthand: hex numerals (0x01 …) in Kode Mono, lowercase x */
.marker .hex,
.service-num,
.nd-num,
.nav-langs-eyebrow .num,
.mm-num,
.mm-item .mm-num,
.mm-sub a .mm-num {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 400;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ============================================================
 * Guthand: hero background video — all pages, faded to a
 * whisper and stronger toward the bottom.
 * ============================================================ */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 1));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 1));
}

section.hero .wrap,
section.hero-sub .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}

/* Guthand: teaser/lede texts in Mozilla Headline */
p.lede,
.lede,
p.hero-subtitle,
.hero-subtitle,
p.hero-sub-subtitle,
.hero-sub-subtitle {
  font-family: 'Mozilla Headline', 'IBM Plex Sans', -apple-system, sans-serif;
  font-weight: 400;
}

/* ============================================================
 * Guthand: services as a tile grid (replaces the plain row list)
 * ============================================================ */
.services-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

@media (max-width: 1100px) { .services-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .services-tiles { grid-template-columns: 1fr; } }

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(10, 10, 10, 0.16);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.service-tile::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.service-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.service-tile:hover::after { opacity: 1; }

.st-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.st-num {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--accent);
}

.st-arrow {
  font-family: 'Kode Mono', ui-monospace, monospace;
  font-size: 16px;
  color: var(--mono-3);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.service-tile:hover .st-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.st-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.st-desc {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

section.ink-steel .service-tile,
section.dark .service-tile { border-color: rgba(250, 250, 247, 0.2); }

section.ink-steel .service-tile:hover,
section.dark .service-tile:hover { border-color: var(--accent); }

/* Guthand: dropdown numerals in Sixtyfour with lowercase x */
.nav-dropdown-menu a .nd-num,
.nav-langs-eyebrow .num {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: none;
}

/* ---------- badges & pills: // terminal tags like the eyebrows ---------- */
.badge,
.hero-sub-meta .pill {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
  letter-spacing: 0.16em;
  border: none;
  padding: 0;
}

.badge { font-size: 11.5px; }
.hero-sub-meta .pill { font-size: 10.5px; }

.badge::before,
.hero-sub-meta .pill::before { content: '// '; color: var(--accent); }

/* ---------- hero sidebar: open spec list with vertical rule ---------- */
.hero-sub-right {
  border-left: 1px dashed rgba(250, 250, 247, 0.25);
  padding-left: clamp(20px, 3vw, 44px);
}

.hero-sub-meta {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 2;
}

@media (max-width: 860px) {
  .hero-sub-right {
    border-left: none;
    border-top: 1px dashed rgba(250, 250, 247, 0.25);
    padding-left: 0;
  }
}

/* ---------- hero headlines: original scale, one notch larger ---------- */
h1.display.hero-headline {
  font-size: clamp(44px, 6.6vw, 102px);
  line-height: 1.06; /* room for descenders (j, g) above umlauts on the next line */
}

h1.display.hero-sub-headline {
  font-size: clamp(46px, 7.4vw, 118px);
  line-height: 1.06;
}

/* CTA section headings (h2.display) below hero scale */
h2.display {
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.98;
}

/* ---------- logo: favicon glyph rendered white ---------- */
.logo-img.logo-icon {
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 300ms var(--ease);
}

.logo-img-footer.logo-icon { height: 40px; }

/* ---------- nav underline: dashed amber ---------- */
.nav-links a::after {
  height: 0;
  background: none;
  border-top: 1px dashed var(--accent);
}

/* ---------- nav dropdown: two-column cell grid ---------- */
.nav-dropdown-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 720px;
  max-width: calc(100vw - 40px);
  padding: 20px;
}

.nav-dropdown-eyebrow {
  grid-column: 1 / -1;
  padding: 0 4px 12px;
}

.nav-dropdown-menu a.nd-item {
  border: 1px solid rgba(250, 250, 247, 0.14);
  padding: 14px 16px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.nav-dropdown-menu a.nd-item:hover {
  border-color: var(--accent);
  background: rgba(250, 250, 247, 0.03);
}

.nav-dropdown-menu a.nd-item.active {
  border-color: var(--accent);
  background: rgba(250, 250, 247, 0.05);
}

@media (max-width: 1100px) {
  .nav-dropdown-menu {
    grid-template-columns: 1fr;
    min-width: 460px;
  }
}

/* ---------- unix prompt gimmicks: blinking block cursor ---------- */
@keyframes gh-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

.tcursor,
h1.display.hero-sub-headline::after,
h1.display.hero-cursor::after,
h2.display::after {
  display: inline-block;
  width: 0.42em;
  height: 0.78em;
  margin-left: 0.16em;
  background: var(--accent);
  animation: gh-blink 1.1s step-end infinite;
}

h1.display.hero-sub-headline::after,
h1.display.hero-cursor::after,
h2.display::after { content: ''; }

/* inside revealed headlines: hold the cursor back until the text has faded in */
.reveal-words .tcursor,
h1.display.hero-sub-headline.reveal-words::after,
h1.display.hero-cursor.reveal-words::after,
h2.display.reveal-words::after {
  opacity: 0;
  animation: none;
}

.reveal-words.is-in .tcursor,
h1.display.hero-sub-headline.reveal-words.is-in::after,
h1.display.hero-cursor.reveal-words.is-in::after,
h2.display.reveal-words.is-in::after {
  animation: gh-blink 1.1s step-end infinite;
  animation-delay: 1200ms;
}

.footer-prompt {
  color: var(--mono-5);
  letter-spacing: 0.05em;
}

.footer-prompt .fp-accent { color: var(--accent); }

.footer-bottom { text-transform: none; }

/* mobile menu: gentler hierarchy — smaller top items, larger sub items,
   sub-lists indented under their parents */
.mm-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 5vw, 27px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mm-sub { margin: 4px 0 10px; }

.mm-sub a {
  font-size: clamp(14px, 3.8vw, 17px);
  padding-left: 22px;
}

.mm-sub a:hover { padding-left: 26px; }

/* touch devices: no sticky hover on the NAV button — amber only where
   a real pointer hovers */
@media (hover: none) {
  .nav-menu-btn:hover,
  body.menu-open .nav-menu-btn:hover {
    color: var(--paper);
    border-color: rgba(250, 250, 247, 0.4);
  }
}

/* legal links live in the bottom bar; Leistungen + Erfolgsgeschichten columns added */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

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

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 24px;
  }
}

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

/* ---------- startpage: case-study ledger on dark ---------- */
.case-index {
  max-width: 820px;
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-top: clamp(30px, 4vw, 50px);
}

/* ---------- startpage: five process steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(30px, 4vw, 50px);
}

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

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

.step {
  border-top: 1px dashed rgba(10, 10, 10, 0.28);
  padding-top: 16px;
}

.step .step-num {
  display: block;
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--accent);
  text-transform: none;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

/* ---------- qualification check list + case links ---------- */
.check-list {
  list-style: none;
  margin: 0 0 clamp(26px, 3vw, 40px);
  padding: 0;
  max-width: 74ch;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 0.88;
}

.check-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent);
  font-weight: 600;
}

.case-links { line-height: 2.4; }

/* hero entry paths: dashed divider like the sub-page panels */
.hero-right {
  border-left: 1px dashed rgba(250, 250, 247, 0.25);
  justify-content: center;
}

/* proof links inside cards */
.card p a {
  color: inherit;
  border-bottom: 1px solid var(--accent);
  transition: color var(--t-fast) var(--ease);
}

.card p a:hover { color: var(--accent); }

/* ---------- chevron glyphs: consistent Kode Mono everywhere ---------- */
.nav-dropdown-menu a .nd-arrow,
.nd-arrow,
.project-link .arrow,
.legal-back .arrow,
.st-arrow,
.wi-arrow,
.ci-arrow {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: none;
}

/* ---------- contact form ---------- */
.contact-form { max-width: 760px; }

.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(16px, 2vw, 26px);
}

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

.cf-field {
  display: block;
  margin-bottom: clamp(18px, 2vw, 26px);
}

.cf-label {
  display: block;
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.25);
  border-radius: 0;
  padding: 12px 14px;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease);
}

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.cf-field textarea {
  resize: vertical;
  min-height: 150px;
}

.cf-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.04em;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

.form-status .tl-p,
.form-status .tl-ok { color: var(--accent); }

.form-status .tl-dots { opacity: 0.3; }

.form-status--err a {
  color: inherit;
  border-bottom: 1px solid var(--accent);
}

/* ---------- kunden section: tighter vertical rhythm ---------- */
#kunden {
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

#kunden .section-header { margin-bottom: clamp(16px, 2.4vw, 32px); }

/* ---------- startpage: terminal log as ruled rows ---------- */
.term-log {
  margin-top: clamp(30px, 4vw, 50px);
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: 0.05em;
}

.term-log .tl-line {
  padding: clamp(6px, 0.9vw, 11px) 0;
  white-space: pre;
  overflow-x: auto;
}

.term-log .tl-p { color: var(--accent); }

.term-log .tl-dots { opacity: 0.3; }

.term-log .tl-ok { color: var(--accent); }

.term-log .tl-spin { color: var(--accent); }

/* mobile: character alignment cannot fit — drop the dot leaders and
   right-align the statuses instead of clipping */
@media (max-width: 700px) {
  .term-log .tl-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: normal;
    overflow-x: visible;
  }

  .term-log .tl-dots { display: none; }

  .term-log .tl-ok { margin-left: auto; }
}

/* ---------- case study article body ---------- */
.case-body { max-width: 860px; }

.case-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: clamp(28px, 3.4vw, 44px) 0 12px;
}

.case-body h4:first-child { margin-top: 0; }

.case-body h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: -0.01em;
  margin: 22px 0 8px;
}

.case-body p {
  font-size: var(--fs-body);
  line-height: 1.7;
  opacity: 0.85;
  max-width: 76ch;
  margin-bottom: 14px;
}

.case-body ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.case-body li {
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 0.82;
  margin-bottom: 6px;
}

.footer-legal-links a {
  color: inherit;
  transition: color var(--t-fast) var(--ease);
}

.footer-legal-links a:hover { color: var(--accent); }

/* ---------- contact block: ledger rows instead of the labeled table ---------- */
.contact-details .divider {
  height: 0;
  border-top: 1px dashed rgba(250, 250, 247, 0.22);
  margin: 16px 0;
}

.ci-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  color: inherit;
  text-decoration: none;
}

.ci-row + .ci-row { border-top: 1px dashed rgba(250, 250, 247, 0.12); }

.ci-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.ci-row strong { transition: color var(--t-fast) var(--ease); }

.ci-arrow {
  color: var(--mono-3);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

a.ci-row:hover strong { color: var(--accent); }

a.ci-row:hover .ci-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.ci-note {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mono-5);
  line-height: 1.9;
}

/* ghosts: fixed offset from section top so growing content (open
   accordions) cannot shift them — beats the inline top percentages */
.ghost.ghost-hex { top: clamp(30px, 6vw, 100px) !important; }

/* ---------- tech stack: product logo grid ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: clamp(22px, 3vw, 40px) clamp(14px, 2vw, 24px);
  margin-top: clamp(30px, 4vw, 50px);
}

.stack-item { text-align: center; }

.stack-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.stack-logo img {
  max-height: 100%;
  max-width: 82%;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}

.stack-name {
  display: block;
  margin-top: 10px;
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

section.ink-steel .stack-logo img,
section.dark .stack-logo img { filter: grayscale(1) invert(1); }

.footer-prompt .tcursor {
  width: 0.55em;
  height: 0.72em;
  margin-left: 0.3em;
  vertical-align: baseline;
}

@media (prefers-reduced-motion: reduce) {
  .tcursor,
  h1.display.hero-sub-headline::after,
  h1.display.hero-cursor::after,
  h2.display::after {
    animation: none;
    opacity: 1;
  }
}



/* keep a headline phrase on one line so the JS fit can size against it */
.hl-line {
  display: inline-block;
  white-space: nowrap;
}

/* the KONZIPIERT/ENTWICKELT/BETREUT sub-line stays paper white */
.hero-headline-2 .word,
.hero-headline-2 .word.ital { color: var(--paper); }

.hero-headline-2 { margin-top: clamp(16px, 2vw, 34px); }

.hero-sub-meta strong {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.01em;
}

.hero-sub-meta .divider {
  width: 100%;
  height: 0;
  background: none;
  border-top: 1px dashed rgba(250, 250, 247, 0.22);
  margin: 16px 0;
}

/* ---------- work index (success hero): hex ledger rows ---------- */
.work-index .pill { display: inline-block; margin-bottom: 18px; }

.wi-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 1.6vw, 18px);
  padding: 13px 0;
  border-top: 1px dashed rgba(250, 250, 247, 0.22);
  color: inherit;
  text-decoration: none;
}

.wi-num {
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

.wi-row strong {
  display: block;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.3;
  text-transform: none;
  transition: color var(--t-fast) var(--ease);
}

.wi-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mono-5);
  line-height: 1.6;
  margin-top: 2px;
}

.wi-arrow {
  font-family: 'Kode Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--mono-3);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

a.wi-row:hover strong { color: var(--accent); }

a.wi-row:hover .wi-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ---------- accordions: numbered dossier boxes ---------- */
.faq-list {
  border-top: none;
  counter-reset: faq;
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
}

.faq-item {
  position: relative;
  border: 1px solid rgba(10, 10, 10, 0.16);
  padding: 0 clamp(18px, 2.4vw, 28px);
  transition: border-color var(--t-fast) var(--ease);
}

.faq-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.faq-item:hover,
.faq-item.open { border-color: var(--accent); }

.faq-item:hover::after,
.faq-item.open::after { opacity: 1; }

.faq-q {
  counter-increment: faq;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 23px);
}

.faq-q::before {
  content: '0x0' counter(faq);
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

.faq-q::after {
  content: '[+]';
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.faq-item.open .faq-q::after {
  content: '[-]';
  transform: none;
  color: var(--accent);
}

.faq-item.open .faq-a {
  border-top: 1px dashed rgba(10, 10, 10, 0.25);
  padding-top: clamp(18px, 2.4vw, 26px);
}

section.ink-steel .faq-item,
section.dark .faq-item { border-color: rgba(250, 250, 247, 0.2); }

section.ink-steel .faq-item:hover,
section.ink-steel .faq-item.open,
section.dark .faq-item:hover,
section.dark .faq-item.open { border-color: var(--accent); }

section.ink-steel .faq-item.open .faq-a,
section.dark .faq-item.open .faq-a { border-top-color: rgba(250, 250, 247, 0.25); }

/* ---------- legal pages: data card in the spec-panel look ---------- */
.legal-card {
  position: relative;
  max-width: 640px;
  border: 1px solid rgba(10, 10, 10, 0.16);
  background: rgba(12, 31, 46, 0.03);
  padding: clamp(20px, 2.4vw, 30px);
  font-family: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  line-height: 2;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.legal-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.legal-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.legal-card .divider {
  height: 0;
  border-top: 1px dashed rgba(10, 10, 10, 0.2);
  margin: 12px 0;
}

.legal-card a {
  color: inherit;
  border-bottom: 0.5pt solid var(--accent);
}

/* hex numerals now share the Kode Mono face of the form labels — bold for presence */
.mm-item .mm-num,
.mm-sub a .mm-num,
.marker .hex,
.service-num,
.nd-num,
.nav-langs-eyebrow .num,
.mm-num,
.st-num,
.wi-num,
.step .step-num,
.faq-q::before { font-weight: 700; }

/* ---------- Header on light sections: dark controls on light glass ---------- */
header.nav.on-light .logo,
header.nav.on-light .nav-langs-btn,
header.nav.on-light .nav-langs span,
header.nav.on-light .nav-menu-btn { color: var(--ink); }

header.nav.on-light .nav-links a { color: rgba(10, 10, 10, 0.78); }

header.nav.on-light .nav-links a:hover { color: var(--ink); }

header.nav.on-light .nav-menu-btn { border-color: var(--ink); }

header.nav.on-light .nav-menu-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

header.nav.on-light .logo-img.logo-icon { filter: brightness(0); }

/* The open mobile menu is a dark overlay: keep its controls light. */
body.menu-open header.nav.on-light .nav-menu-btn {
  color: var(--paper);
  border-color: rgba(250, 250, 247, 0.4);
}

body.menu-open header.nav.on-light .logo-img.logo-icon { filter: brightness(0) invert(1); }

/* ---------- reveal: tiles + cards ----------
   .service-tile and .card carry data-reveal, but their own transition lists
   (transform, border-color) override the [data-reveal] one, so they snapped
   in instead of fading. Restore opacity/filter here; the data-delay stagger
   applies to the reveal properties only so hover lift/border stay immediate. */
.service-tile,
.card {
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease),
              transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.service-tile[data-delay="1"],
.card[data-delay="1"] { transition-delay: 80ms, 80ms, 0ms, 0ms; }

.service-tile[data-delay="2"],
.card[data-delay="2"] { transition-delay: 160ms, 160ms, 0ms, 0ms; }

.service-tile[data-delay="3"],
.card[data-delay="3"] { transition-delay: 240ms, 240ms, 0ms, 0ms; }

.service-tile[data-delay="4"],
.card[data-delay="4"] { transition-delay: 320ms, 320ms, 0ms, 0ms; }

.service-tile[data-delay="5"],
.card[data-delay="5"] { transition-delay: 400ms, 400ms, 0ms, 0ms; }

.service-tile[data-delay="6"],
.card[data-delay="6"] { transition-delay: 480ms, 480ms, 0ms, 0ms; }

/* ---------- staggered reveal for containers ----------
   A container marked data-stagger (alongside data-reveal) no longer fades as
   a block; its direct children fade in one by one. site.js writes each
   child's index to --i; the delay grows 80ms per item. Hover-related
   properties keep a zero delay so interaction feedback stays immediate. */
[data-reveal][data-stagger] {
  opacity: 1;
  filter: none;
  transition: none;
}

[data-stagger] > * {
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease),
              transform var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s, 0s, 0s;
  will-change: opacity, filter;
}

[data-stagger].is-in > * {
  opacity: 1;
  filter: none;
}

/* ---------- Dropdown panels over light sections: light glass, dark type ---------- */
header.nav.on-light .nav-dropdown-menu {
  background: rgba(250, 250, 247, 0.4);
  color: var(--ink);
  border-color: rgba(10, 10, 10, 0.2);
}

header.nav.on-light .nav-dropdown-menu a,
header.nav.on-light .nav-dropdown-menu a .nd-title { color: var(--ink); }

header.nav.on-light .nav-dropdown-menu a .nd-tag,
header.nav.on-light .nav-dropdown-eyebrow { color: rgba(10, 10, 10, 0.6); }

header.nav.on-light .nav-dropdown-menu a.nd-item { border-color: rgba(10, 10, 10, 0.16); }

header.nav.on-light .nav-dropdown-menu a .nd-num { color: rgba(10, 10, 10, 0.5); }

header.nav.on-light .nav-dropdown-menu a.nd-item:hover { border-color: var(--accent); }

/* ---------- startseite FAQ: sticky intro + dossier accordion ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}


.faq-intro .lede {
  max-width: 36ch;
  margin-top: clamp(20px, 3vw, 36px);
  opacity: 0.8;
}

.faq-intro .faq-cta { margin-top: clamp(24px, 3vw, 40px); }

.faq-layout .faq-list { margin-top: 0; }

.faq-layout .faq-a p { max-width: 62ch; }

.faq-layout .faq-a p:last-child { margin-bottom: 0; }

.faq-layout .faq-a .project-link { margin-top: 6px; }

section.ink-steel .faq-layout .faq-item.open { background: rgba(250, 250, 247, 0.035); }

section.ink-steel .faq-layout .faq-item:not(.open):hover .faq-q::after { color: var(--accent); }

/* Exact open/close: animate the row track, not a guessed max-height, so the
   list height changes once and smoothly (no grow-then-snap). The clicked
   item never moves: nothing else collapses (data-multi) and Chrome's scroll
   anchoring is off for the list. */
.faq-layout .faq-list { overflow-anchor: none; align-content: start; }

/* measurement helpers used by site.js (data-reserve): no transitions, and
   .faq-measure shows every answer at its open size at once */
.faq-layout .faq-list.faq-measure .faq-a,
.faq-layout .faq-list.faq-still .faq-a { transition: none !important; }

.faq-layout .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  padding: 0;
  border-top: 1px dashed transparent;
  transition: grid-template-rows 420ms var(--ease),
              padding-top 420ms var(--ease),
              padding-bottom 420ms var(--ease),
              border-color 420ms var(--ease);
}

.faq-layout .faq-a-inner { min-height: 0; overflow: hidden; }

.faq-layout .faq-item.open .faq-a,
.faq-layout .faq-list.faq-measure .faq-a {
  grid-template-rows: 1fr;
  max-height: none;
  padding-top: clamp(18px, 2.4vw, 26px);
  padding-bottom: clamp(22px, 2.6vw, 30px);
}

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); }
}

/* ---------- nav dropdown: ledger rows instead of boxes ----------
   The boxed cells made the panel read as a grid of frames; the entries
   themselves (small, tracked uppercase) got lost. Rows with a dashed
   hairline, a real mixed-case title and an accent numeral put the eye on
   the entry. Hover/active keep the accent left rule. ---------- */
.nav-dropdown-menu {
  gap: 0 28px;
  padding: 22px 24px 10px;
}

.nav-dropdown-eyebrow { padding: 0 10px 12px; }

.nav-dropdown-menu a.nd-item {
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 10px 15px 12px;
  border: 0;
  border-top: 1px dashed rgba(250, 250, 247, 0.18);
  border-left: 2px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.nav-dropdown-menu a .nd-num {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--accent);
}

.nav-dropdown-menu a .nd-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
}

.nav-dropdown-menu a .nd-tag {
  margin-top: 3px;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  color: rgba(250, 250, 247, 0.55);
}

.nav-dropdown-menu a.nd-item:hover,
.nav-dropdown-menu a.nd-item.active {
  background: rgba(250, 250, 247, 0.05);
  border-top-color: rgba(250, 250, 247, 0.18);
  border-left-color: var(--accent);
}

header.nav.on-light .nav-dropdown-menu a.nd-item {
  border-color: rgba(10, 10, 10, 0.18);
  border-left-color: transparent;
}

header.nav.on-light .nav-dropdown-menu a.nd-item:hover,
header.nav.on-light .nav-dropdown-menu a.nd-item.active {
  background: rgba(10, 10, 10, 0.04);
  border-top-color: rgba(10, 10, 10, 0.18);
  border-left-color: var(--accent);
}

header.nav.on-light .nav-dropdown-menu a .nd-num { color: var(--accent); }
