/* ============================================================================
   .fab consulting — fab-consult.com
   Dark steel-graphite theme · single sky-blue accent (from LinkedIn banner)
   Self-contained, DSGVO-clean (no runtime CDN), progressive-enhancement motion.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Steel-graphite surface ramp (banner: #464C53 / #545B63) */
  --bg-top:    #333940;                 /* hero / top, a touch deeper for depth */
  --bg:        #3b4148;                 /* mid steel base */
  --bg-deep:   #2a2f34;                 /* footer / deepest seam */
  --surface:   rgba(255,255,255,.045);  /* raised panel fill */
  --surface-2: rgba(255,255,255,.075);  /* elevated / hover fill */
  --line:      rgba(255,255,255,.10);   /* hairline */
  --line-strong: rgba(255,255,255,.17);

  /* The ONE accent — sky-blue, exactly the banner glow */
  --blue:        #5DA3DC;
  --blue-bright: #8FC1E6;
  --blue-deep:   #3E85C0;
  --blue-wash:   rgba(93,163,220,.13);
  --blue-glow:   rgba(93,163,220,.22);
  --on-blue:     #0f2331;               /* text on a blue fill */

  /* Ink */
  --ink:       #EEF2F5;                 /* headings — soft white, not pure */
  --ink-body:  #C7CDD3;                 /* body copy (≈6:1 on --bg) */
  --ink-soft:  #A6ADB4;                 /* secondary (≈4.6:1) */
  --ink-faint: #98A0A8;                 /* labels — AA-safe on the deep footer/frame grounds */

  /* Type */
  --font-display: 'Clash Display', system-ui, sans-serif;
  --font-body: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 52px);
  --section-y: clamp(74px, 11vh, 148px);
  --radius: 14px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);      /* easeOutExpo — confident */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur: .6s;

  /* Depth */
  --shadow: 0 24px 60px -30px rgba(0,0,0,.7);
  --shadow-blue: 0 30px 70px -34px rgba(93,163,220,.5);

  /* z-scale (semantic, no magic 9999) */
  --z-ambient: 0;
  --z-base: 1;
  --z-nav: 100;
  --z-skip: 200;
}

/* ----------------------------------------------------------------- Fonts */
/* @font-face declarations live in fonts.css (self-hosted woff2). */

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;             /* land below fixed nav on anchor jumps */
  overflow-x: clip;                     /* viewport-level clip (body-only doesn't propagate) */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.65;                    /* light-on-dark → extra leading */
  color: var(--ink-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;                   /* never a horizontal page scrollbar */
}

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

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

::selection { background: var(--blue); color: var(--on-blue); }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--blue); color: var(--on-blue);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  padding: 10px 16px; border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; z-index: var(--z-base); }
.section { padding-block: var(--section-y); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Mono eyebrow — deliberate brand device (his CI uses mono labels) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; flex: none;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%); /* the .fab mark */
}
.eyebrow.muted { color: var(--ink-soft); }
.eyebrow.muted::before { background: var(--ink-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.h-xl {                                 /* hero */
  font-size: clamp(2.55rem, 1.4rem + 5.6vw, 5.1rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.h-lg { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.15rem); }       /* section */
.h-md { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.9rem); }    /* card */

.lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 62ch;
  text-wrap: pretty;
}
.lede strong, p strong { color: var(--ink); font-weight: 600; }
.blue { color: var(--blue); }

/* ------------------------------------------------------- Ambient backdrop */
.ambient {
  position: fixed; inset: 0; z-index: var(--z-ambient);
  pointer-events: none; overflow: hidden; will-change: transform;
  background:
    radial-gradient(120% 80% at 78% -8%, #3f464e 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 46%, var(--bg-deep) 100%);
}
/* fine engineered dot-grid, edge-faded */
.ambient .dots {
  position: absolute; inset: -2px;
  background-image: radial-gradient(circle, rgba(255,255,255,.085) 1px, transparent 1.4px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 32%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 75% at 50% 32%, #000 30%, transparent 78%);
  opacity: .6;
  will-change: transform;
}
/* soft breathing glows (the banner light) */
.ambient .glow { position: absolute; border-radius: 50%; filter: blur(46px); will-change: transform, opacity; }
.ambient .glow.g1 {
  width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(circle, var(--blue-glow) 0%, rgba(93,163,220,.06) 45%, transparent 72%);
  animation: breathe 15s var(--ease-soft) infinite alternate;
}
.ambient .glow.g2 {
  width: 640px; height: 640px; left: -220px; top: 46%;
  background: radial-gradient(circle, rgba(93,163,220,.14) 0%, transparent 70%);
  animation: breathe 21s var(--ease-soft) infinite alternate-reverse;
}
/* slow angled light-beams */
.ambient .beam { position: absolute; pointer-events: none; }
.ambient .beam.b1 {
  left: 8%; top: -20%; width: 420px; height: 150%;
  background: linear-gradient(180deg, rgba(93,163,220,.10), transparent 70%);
  transform: rotate(-14deg); filter: blur(30px);
  animation: sweep 26s var(--ease-soft) infinite alternate;
}
.ambient .beam.b2 {
  right: 20%; top: -10%; width: 240px; height: 130%;
  background: linear-gradient(180deg, rgba(93,163,220,.07), transparent 65%);
  transform: rotate(12deg); filter: blur(26px);
  animation: sweep 34s var(--ease-soft) infinite alternate-reverse;
}
/* thin horizontal signal lines, like the banner */
.ambient .line-x { position: absolute; left: -5%; width: 110%; height: 1px; }
.ambient .line-x.l1 { top: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent); transform: rotate(-2.5deg); }
.ambient .line-x.l2 { top: 62%; background: linear-gradient(90deg, transparent, rgba(93,163,220,.16), transparent); transform: rotate(-2.5deg); }

@keyframes breathe {
  from { transform: translate3d(-2%, -1%, 0) scale(1);    opacity: .75; }
  to   { transform: translate3d(3%, 2.5%, 0) scale(1.12); opacity: 1; }
}
@keyframes sweep {
  from { transform: rotate(-14deg) translateX(-40px); opacity: .55; }
  to   { transform: rotate(-10deg) translateX(60px);  opacity: 1; }
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  line-height: 1; padding: 15px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 10px 30px -12px rgba(93,163,220,.55); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-bright); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: .9rem; }

/* Text link with animated underline */
.link {
  display: inline-flex; align-items: center; gap: 7px; color: var(--blue-bright);
  font-weight: 500; font-family: var(--font-mono); font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.link .u { position: relative; }
.link .u::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.link:hover .u::after { transform: scaleX(1); }
.link .arw { transition: transform .3s var(--ease); }
.link:hover .arw { transform: translateX(3px); }

/* ------------------------------------------------------------------ Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(42,47,52,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand .mark { width: 15px; height: 15px; color: var(--blue); }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .005em; }
.brand-sub { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; }

.nav-burger { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px;
  width: 44px; height: 40px; cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--ink); }
.nav-burger span { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: .25s var(--ease); }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: currentColor; transition: .25s var(--ease); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav.menu-open .nav-burger span { background: transparent; }
.nav.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

/* ----------------------------------------------------------------- Hero */
.hero { padding-top: clamp(120px, 20vh, 190px); padding-bottom: clamp(60px, 9vh, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { margin: 8px 0 0; }
.hero h1 .l { display: block; }
.hero h1 .l3 { color: var(--blue); }
.hero .lede { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust .t { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 500; font-size: .84rem; letter-spacing: .01em; color: var(--ink-soft); }
.hero-trust .t b { color: var(--ink); font-weight: 600; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }

/* Hero visual — glowing .fab core with orbiting live-product chips */
.hero-visual { position: relative; aspect-ratio: 1 / 1; min-height: 340px; will-change: transform; }
.hero-visual .core {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  width: 168px; height: 168px; display: grid; place-items: center; border-radius: 30px;
  background: radial-gradient(circle at 50% 42%, rgba(93,163,220,.30), rgba(93,163,220,.05) 62%, transparent 72%);
}
.hero-visual .core .mk {
  width: 80px; height: 80px; color: var(--blue);
  filter: drop-shadow(0 8px 26px rgba(93,163,220,.55));
  animation: floaty 9s var(--ease-soft) infinite alternate;
}
.hero-visual .ring { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); border: 1px solid var(--line); border-radius: 50%; }
.hero-visual .ring.r1 { width: 260px; height: 260px; }
.hero-visual .ring.r2 { width: 400px; height: 400px; border-color: rgba(255,255,255,.06); }
.hero-visual .ring.r3 { width: 540px; height: 540px; border-color: rgba(255,255,255,.04); }

/* Orbit wrapper: sized exactly to one ring's diameter, centered on the mark.
   Rotating it sweeps the chip anchored at its top (12 o'clock) around the ring. */
.hero-visual .orbit {
  position: absolute; top: 50%; left: 50%; pointer-events: none;
  animation-timing-function: linear; animation-iteration-count: infinite;
  animation-delay: var(--delay, 0s); will-change: transform;
}
.hero-visual .orbit.o1 { width: 260px; height: 260px; margin: -130px 0 0 -130px; --dur: 34s; }
.hero-visual .orbit.o2 { width: 400px; height: 400px; margin: -200px 0 0 -200px; --dur: 46s; }
.hero-visual .orbit.o3 { width: 540px; height: 540px; margin: -270px 0 0 -270px; --dur: 58s; }
.hero-visual .orbit.dir-cw  { animation-name: orbit-cw;  animation-duration: var(--dur); }
.hero-visual .orbit.dir-ccw { animation-name: orbit-ccw; animation-duration: var(--dur); }

.hero-visual .chip {
  position: absolute; top: 0; left: 50%; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(42,47,52,.66); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; color: var(--ink);
  white-space: nowrap; box-shadow: var(--shadow); pointer-events: auto;
  will-change: transform; animation-timing-function: linear; animation-iteration-count: infinite;
  animation-duration: var(--dur); animation-delay: var(--delay, 0s);
}
/* counter-rotate opposite to the parent orbit so the chip label stays upright */
.hero-visual .orbit.dir-cw  .chip { animation-name: counter-ccw; }
.hero-visual .orbit.dir-ccw .chip { animation-name: counter-cw; }

.hero-visual .chip .live { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); animation: pulse 2.4s ease-in-out infinite; }
.hero-visual .chip .live.blue { background: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }

@keyframes orbit-cw    { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes orbit-ccw   { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }
@keyframes counter-cw  { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes counter-ccw { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes pulse  { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: .7; } }

/* ------------------------------------------------------- Approach / Ansatz */
.approach .statement {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.7rem); line-height: 1.14; letter-spacing: -0.015em;
  color: var(--ink); max-width: 20ch;
}
.approach .statement em { font-style: normal; color: var(--blue); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.approach-copy p + p { margin-top: 16px; }
.outcomes { display: grid; gap: 12px; margin-top: 6px; }
.outcome {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.outcome:hover { border-color: var(--blue); background: var(--surface-2); transform: translateX(4px); }
.outcome .n { flex: none; width: 13px; height: 13px; margin-top: 7px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%); }
.outcome b { color: var(--ink); font-weight: 600; font-size: 1.04rem; }
.outcome span { color: var(--ink-soft); font-size: .92rem; display: block; margin-top: 2px; }

/* -------------------------------------------------------------- Wissen (Brain) */
.brain-note { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em; color: var(--ink-soft); }
.brain-viz {
  position: relative; width: 100%; aspect-ratio: 16 / 7.5; max-height: 460px; min-height: 280px;
  margin-top: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); overflow: hidden;
}
.brain-viz canvas { width: 100%; height: 100%; display: block; }
.brain-stats { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: clamp(18px, 2.5vw, 28px); }
.brain-stats .fact { flex: 1 1 150px; }

/* ------------------------------------------------ Capabilities / Fähigkeiten */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; position: relative; overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease);
}
.cap::after {                            /* top accent, hidden until hover */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.cap:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--surface-2); }
.cap:hover::after { transform: scaleX(1); }
.cap .ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 18px; }
.cap h3 { font-size: 1.24rem; margin-bottom: 9px; letter-spacing: -0.01em; }
.cap p { font-size: .96rem; color: var(--ink-soft); line-height: 1.58; }
/* lead capability — breaks the uniform grid (spans 2 cols, wider) */
.cap.lead { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px,3vw,40px); align-items: center; }
.cap.lead .ico { width: 40px; height: 40px; }
.cap.lead h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.cap.lead p { font-size: 1.04rem; color: var(--ink-body); }

/* stack marquee */
.marquee { margin-top: clamp(30px, 4vw, 46px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee__group li {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 26px;
  font-family: var(--font-mono); font-size: .86rem; letter-spacing: .03em; color: var(--ink-soft); white-space: nowrap;
}
.marquee__group li::after { content: "·"; color: var(--blue); margin-left: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ Work / Arbeiten */
.work-feature {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(26px, 4vw, 56px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 46px); margin-bottom: 22px;
}
.work-feature .wf-copy { max-width: 46ch; }
.work-feature h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin: 14px 0 12px; }
.work-feature p { color: var(--ink-body); }
.work-feature .metric { margin-top: 16px; font-family: var(--font-mono); font-size: .82rem; color: var(--blue-bright); line-height: 1.6; }
.work-feature .wf-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }

/* browser-window frame for real screenshots */
.frame {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--bg-deep); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.frame .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.frame .bar i:first-child { background: #e0736b; } .frame .bar i:nth-child(2) { background: #e3b34e; } .frame .bar i:nth-child(3) { background: #63c98a; }
.frame .bar .u { margin-left: 10px; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-faint); letter-spacing: .02em; }
.frame img { width: 100%; height: auto; display: block; }
a.frame:hover, .card:hover .frame { transform: translateY(-4px); box-shadow: var(--shadow-blue); border-color: var(--line-strong); }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { display: flex; flex-direction: column; gap: 18px; }
.card .frame { flex: none; }
.card-body { padding: 0 2px; }
.card .tagrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card h3 { font-size: 1.32rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-top: 8px; }
.card .foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.status {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.status.live { color: var(--blue-bright); border-color: rgba(93,163,220,.38); }
.status.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.status.concept { color: var(--blue-bright); border-color: rgba(93,163,220,.35); }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tags span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .02em; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }

/* "und mehr" chip strip */
.more { margin-top: 30px; }
.more-title { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.more-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.more-chip {
  display: inline-flex; align-items: baseline; gap: 9px; padding: 11px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.more-chip:hover { border-color: var(--blue); transform: translateY(-2px); background: var(--surface-2); }
.more-chip b { color: var(--ink); font-weight: 600; font-size: .95rem; }
.more-chip span { color: var(--ink-soft); font-size: .8rem; }

/* ---------------------------------------------------------------- About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.about-portrait { position: relative; }
.about-portrait .avatar {
  width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 42%, rgba(93,163,220,.16), var(--bg-deep) 68%);
  box-shadow: var(--shadow);
}
.about-portrait .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.08) brightness(0.86); }
.about-copy p + p { margin-top: 16px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 26px; }
.fact { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.fact b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.fact span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* -------------------------------------------------------------- Contact */
.contact { text-align: center; }
.contact-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(93,163,220,.08), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(40px, 6vw, 80px) var(--gutter);
}
.contact h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.contact .lede { margin: 18px auto 0; text-align: center; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.contact-note { margin-top: 22px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); letter-spacing: .02em; }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 72px) 36px; position: relative; z-index: var(--z-base); }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer .brand .brand-word { font-size: 1.35rem; }
.footer-tag { color: var(--ink-soft); max-width: 34ch; margin-top: 14px; font-size: .96rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 30px 44px; }
.footer-col h3 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: var(--ink-soft); font-size: .92rem; padding: 4px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom { margin-top: clamp(34px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint); letter-spacing: .02em; }
.footer-bottom a:hover { color: var(--ink-soft); }

/* skip-link target shouldn't show a big focus ring on the whole main */
main:focus { outline: none; }

/* ------------------------------------------------------- Legal subpages */
.legal-wrap { max-width: 780px; margin-inline: auto; padding: clamp(108px, 16vh, 160px) var(--gutter) clamp(60px, 9vh, 110px); position: relative; z-index: var(--z-base); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px; transition: color .2s var(--ease); }
.legal-back:hover { color: var(--blue-bright); }
.legal-wrap h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); margin-bottom: 8px; }
.legal-wrap .eyebrow { margin-bottom: 14px; }
.legal-wrap h2 { font-size: 1.16rem; margin: 34px 0 10px; color: var(--ink); }
.legal-wrap p, .legal-wrap li { color: var(--ink-body); }
.legal-wrap p { margin-bottom: 12px; max-width: 70ch; }
.legal-wrap ul { margin: 0 0 12px 1.15em; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin: 22px 0 6px; padding: 15px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: .9rem; color: var(--ink-soft); }
.legal-ph { color: var(--blue-bright); font-family: var(--font-mono); font-size: .92em; }

/* ============================================================ Reveal motion
   Enhancement-only: content is visible by default. The hidden/animate state
   is ARMED (class on <html>) only when JS + IntersectionObserver + motion-ok.
   ========================================================================== */
.reveal-on .reveal {
  opacity: 0; transform: translateY(20px); filter: blur(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms);
  will-change: opacity, transform;
}
.reveal-on .reveal.in { opacity: 1; transform: none; filter: none; will-change: auto; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; max-width: 460px; margin-inline: auto; width: 100%; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach .statement { max-width: none; }
  .caps { grid-template-columns: 1fr 1fr; }
  .cap.lead { grid-column: span 2; grid-template-columns: 1fr; }
  .work-feature { grid-template-columns: 1fr; }
  .work-feature .wf-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 260px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(37,42,47,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.menu-open .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
  .nav.menu-open .nav-cta { display: flex; margin-top: 14px; }
  .caps { grid-template-columns: 1fr; }
  .cap.lead { grid-column: span 1; }
  .work-grid { grid-template-columns: 1fr; }
  .about-facts .fact { flex: 1 1 40%; }
}
@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------- Reduced motion (gate) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ambient .glow, .ambient .beam, .hero-visual .core .mk, .hero-visual .orbit, .hero-visual .chip, .hero-visual .chip .live { animation: none !important; }
  .hero-visual .chip { transform: translate(-50%,-50%) !important; }
  .marquee__track { animation: none !important; transform: none !important; }
  .marquee { overflow-x: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .reveal-on .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
