/* Self-hosted so the site makes no third-party requests. Licences in
   fonts/OFL.txt. unicode-range keeps latin-ext and italic from being
   fetched unless a page actually renders those characters. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg:        oklch(0.11 0.012 265);
  --bg-deep:   oklch(0.08 0.010 265);

  --txt:       oklch(0.97 0.004 250);
  --muted:     oklch(0.73 0.014 255);
  --faint:     oklch(0.56 0.016 258);

  --accent:    oklch(0.84 0.135 197);
  --accent-2:  oklch(0.68 0.155 258);
  --accent-3:  oklch(0.80 0.150 165);

  --glass:      color-mix(in oklab, white 4%, transparent);
  --glass-2:    color-mix(in oklab, white 7%, transparent);
  --stroke:     color-mix(in oklab, white 9%, transparent);
  --stroke-hi:  color-mix(in oklab, white 18%, transparent);

  --grad: linear-gradient(115deg, var(--accent), var(--accent-2) 55%, var(--accent-3));

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --sans:    'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad:  clamp(1.15rem, 4.5vw, 5rem);
  --maxw: 82rem;

  --r-lg: 28px;
  --r:    20px;
  --r-sm: 13px;

  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.22vw, 1.08rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip`, not `hidden` — `hidden` would make body a scroll container and
     break position:sticky on the stacking cards. */
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }

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

::selection { background: var(--accent); color: var(--bg-deep); }

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

.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--bg-deep);
  padding: 0.8rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
/* Pushed far enough off-canvas that only its soft tail reaches the viewport —
   closer in, the radial falloff reads as a distinct patch in the corner
   rather than as atmosphere. */
.blob--1 {
  width: 56rem; height: 56rem;
  top: -26rem; right: -22rem;
  background: radial-gradient(circle, var(--accent-2), transparent 62%);
  opacity: 0.34;
  filter: blur(130px);
  animation: drift1 26s var(--ease-io) infinite alternate;
}
.blob--2 {
  width: 38rem; height: 38rem;
  top: 38%; left: -18rem;
  background: radial-gradient(circle, var(--accent), transparent 66%);
  opacity: 0.32;
  animation: drift2 32s var(--ease-io) infinite alternate;
}
.blob--3 {
  width: 42rem; height: 42rem;
  bottom: -20rem; left: 42%;
  background: radial-gradient(circle, var(--accent-3), transparent 68%);
  opacity: 0.24;
  animation: drift3 38s var(--ease-io) infinite alternate;
}
/* Kept small — a large drift would walk the blob back into the corner it was
   just moved out of. */
@keyframes drift1 { to { transform: translate3d(-5rem, 4rem, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(8rem, -6rem, 0) scale(1.2); } }
@keyframes drift3 { to { transform: translate3d(-7rem, -5rem, 0) scale(0.88); } }

.mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in oklab, white 3%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, white 3%, transparent) 1px, transparent 1px);
  background-size: 5rem 5rem;
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000, transparent 75%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  z-index: 90;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: grow linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes grow { to { transform: scaleX(1); } }
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 0.75rem var(--pad);
  transition: padding 0.5s var(--ease);
}
.nav__shell {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
              backdrop-filter 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-stuck .nav__shell {
  background: color-mix(in oklab, var(--bg-deep) 62%, transparent);
  border-color: var(--stroke);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 10px 40px -12px rgb(0 0 0 / 0.6);
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

.nav__links { display: none; gap: 0.35rem; }
.nav__links a {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__links a:hover { color: var(--txt); background: var(--glass); }
.nav__links a.is-active { color: var(--txt); background: var(--glass-2); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  background: var(--txt);
  color: var(--bg-deep);
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav__cta svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.7); }
.nav__cta:hover svg { transform: translateX(3px); }
.nav__cta span { display: none; }

/* Hidden by default and revealed only under .js — without the script it would
   be a dead control, and the page scrolls perfectly well without it. */
.burger { display: none; }
.js .burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: var(--glass);
  color: var(--txt);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.js .burger:hover { border-color: var(--stroke-hi); background: var(--glass-2); }
.burger span { display: block; }
.burger i {
  display: block;
  width: 17px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.burger i + i { margin-top: 5px; width: 11px; margin-left: auto; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem var(--pad) 3rem;
  background: color-mix(in oklab, var(--bg-deep) 88%, transparent);
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  /* Visibility flips only after the fade completes, so the panel stays
     keyboard-reachable for the length of its own exit animation. */
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0s;
}

.menu__inner { width: 100%; max-width: 30rem; margin-inline: auto; }

.menu__close {
  position: absolute;
  top: 1.15rem; right: var(--pad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: var(--glass);
  color: var(--txt);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.menu__close:hover { border-color: var(--stroke-hi); background: var(--glass-2); }
.menu__close svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}

.menu__nav { display: grid; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--stroke);
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.menu__nav a .mono { color: var(--accent); font-size: 0.62rem; }
.menu__nav a:active { color: var(--accent); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.20s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.26s; }

.menu__mail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2.25rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 0.5s var(--ease) 0.32s, transform 0.5s var(--ease) 0.32s;
}
.menu__mail .mono { color: var(--faint); font-weight: 500; }
.menu.is-open .menu__mail { opacity: 1; transform: none; }

/* Lock scrolling on the root element while the menu is open. Deliberately not
   on body — body carries overflow-x:clip, and switching it to hidden would
   make it a scroll container and break the sticky stacking cards. */
html.menu-open { overflow: hidden; }

@media (min-width: 30rem) { .nav__cta span { display: inline; } }
@media (min-width: 60rem) {
  .nav__links { display: flex; }
  .js .burger { display: none; }
  .menu { display: none; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.chip__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: var(--txt);
  color: var(--bg-deep);
  box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn--solid:hover { box-shadow: 0 16px 40px -12px color-mix(in oklab, var(--accent) 80%, transparent); }

.btn--glass {
  background: var(--glass);
  border-color: var(--stroke);
  color: var(--txt);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: var(--glass-2); border-color: var(--stroke-hi); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--pad) 3.5rem;
  overflow: hidden;
  /* Deliberately NOT `isolation: isolate`. The portrait screen-blends with the
     aurora, which lives outside this element; isolating would trap the blend
     in the hero's own (transparent) backdrop and the photo would go back to
     occluding the glow. The portrait's z-index:-1 still keeps it behind the
     hero text, and overflow:hidden still clips it. */
}

.hero__portrait {
  --po: 0.55;                 /* settled opacity; raised at wider breakpoints */
  position: absolute;
  z-index: -1;
  top: 5rem;                  /* clears the nav and drops the face into view */
  /* Pushed right so the face sits clear of the "Dennis Kernast" headline at
     every phone width. The face spans 34-66% of the image, so its left edge
     lands at viewport * (1 - 0.66*width + offset); at 85%/-27% that stays
     right of the headline from 320px up. The lede and buttons still pass over
     the torso, which is fine — that band is masked and dark. */
  right: -27%;
  width: min(85%, 30rem);
  opacity: 0;
  animation: portraitIn 1.8s var(--ease) 0.25s forwards;
  /* Screen blend drops the photo's black studio backdrop to nothing, so the
     aurora reads straight through him instead of being occluded by a dark
     rectangle. Only his lit side adds light to the page. */
  mix-blend-mode: screen;
  /* Shapes the composite now that screen blend handles the backdrop: the left
     fade keeps him from competing with the headline, the bottom fade ends the
     torso. The head spans 34-66% horizontally and 4-32% vertically, so the
     fades stop short of those bands. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 5%, #000 58%, transparent 93%),
    linear-gradient(to left, transparent 0%, #000 10%, #000 45%, transparent 96%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 5%, #000 58%, transparent 93%),
    linear-gradient(to left, transparent 0%, #000 10%, #000 45%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Extra contrast crushes the studio backdrop to true black. It is only
   near-black in the source, and under screen blend near-black still lifts the
   page slightly — which would show as a faint rectangular haze. */
.hero__portrait img { width: 100%; filter: contrast(1.22) saturate(0.9); }
@keyframes portraitIn {
  from { opacity: 0; transform: scale(1.09) translateY(1.5rem); }
  to   { opacity: var(--po); transform: none; }
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero__name {
  font-size: clamp(3.6rem, 17.5vw, 12.5rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin: 1.6rem 0 1.4rem;
}
.hero__name .line { display: block; overflow: hidden; padding-block: 0.05em; }
.hero__name .word {
  display: block;
  transform: translateY(110%);
  animation: wordUp 1.2s var(--ease) forwards;
}
.hero__name .line:nth-child(1) .word { animation-delay: 0.12s; }
.hero__name .line:nth-child(2) .word { animation-delay: 0.26s; }
.word--out {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes wordUp { to { transform: translateY(0); } }

.hero__role {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.hero__role .mono { font-size: 0.74rem; }
.hero__amp {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--accent);
}

.hero__lede {
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.16rem);
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--stroke);
}
.hero__meta li { display: flex; flex-direction: column; gap: 0.1rem; }
.hero__meta b {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero__meta span {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

@media (min-width: 48rem) {
  /* Same clearance rule as mobile — at -6% the face overlapped the headline by
     roughly 26px at 768px. */
  .hero__portrait { --po: 0.72; top: 7rem; right: -14%; width: min(62%, 32rem); }
}
@media (min-width: 62rem) {
  .hero { align-items: center; }
  .hero__lede { max-width: 29rem; }
  .hero__portrait {
    --po: 0.9;
    /* Top-anchored: the face lands in the same place at every viewport height
       (crown ~218px, eye line ~375px) — clear of the nav, level with the name
       block. Bottom-anchoring let it drift down on tall screens. Cropping the
       torso on short screens costs nothing; the mask already fades it out. */
    top: 11rem;
    right: 2%;
    width: min(48%, 44rem);
  }
}

.ticker {
  border-block: 1px solid var(--stroke);
  padding-block: 1rem;
  overflow: hidden;
  background: color-mix(in oklab, var(--bg-deep) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.ticker__track span {
  font-family: var(--display);
  font-size: clamp(1.1rem, 3.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4.5rem, 11vw, 8.5rem) var(--pad);
}

.shead { margin-bottom: clamp(2.25rem, 6vw, 3.75rem); }
.shead__num {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.shead__title {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 600;
}
.shead__note {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.tile {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  padding: clamp(1.4rem, 4vw, 2.1rem);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  overflow: hidden;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease),
              transform 0.35s var(--ease);
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.tile:hover { background: var(--glass-2); }
.tile:hover::before { opacity: 0.7; }

.bento { display: grid; gap: 0.85rem; }

.tile--intro .tile__lead {
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.tile--intro p { color: var(--muted); margin-bottom: 0.9rem; font-size: 0.97rem; }
.tile--intro p:last-child { margin-bottom: 0; }
.tile--intro a, .tile--facts a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  transition: border-color 0.3s var(--ease);
}
.tile--intro a:hover, .tile--facts a:hover { border-bottom-color: var(--accent); }

.tile--photo { padding: 0; min-height: 16rem; }
.tile--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: contrast(1.05) saturate(0.9);
}
.tile--photo figcaption {
  position: absolute;
  left: 1rem; bottom: 1rem; right: 1rem;
  font-size: 0.64rem;
  color: var(--txt);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.9);
}
.tile--photo figcaption span { color: var(--accent); }

.tile__label { color: var(--faint); margin-bottom: 1.1rem; font-weight: 500; }

.facts { display: grid; }
.facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--stroke);
}
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}
.facts dd { text-align: right; font-size: 0.88rem; }

.tile--stat { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; min-height: 9.5rem; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 3.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Explicit fill so the "+" stays visible regardless of how the browser
   clips the gradient across pseudo-element text. */
.stat__num::after { content: '+'; -webkit-text-fill-color: var(--accent); }
.stat__label { color: var(--faint); font-size: 0.63rem; line-height: 1.6; }

@media (min-width: 40rem) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--intro { grid-column: span 2; }
}
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, auto); }
  .tile--intro { grid-column: span 2; grid-row: span 2; }
  .tile--photo { grid-column: span 1; grid-row: span 2; min-height: 0; }
  .tile--facts { grid-column: span 1; grid-row: span 2; }
}

.stack { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 12vh; }

.stack__card {
  position: sticky;
  top: calc(5.5rem + var(--i) * 0.9rem);
}
.stack__inner {
  background: color-mix(in oklab, var(--bg-deep) 82%, transparent);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 5vw, 3rem);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 24px 70px -30px rgb(0 0 0 / 0.9);
  transform: scale(calc(1 - var(--i) * 0.012));
  transform-origin: 50% 0;
  transition: border-color 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.stack__inner::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.stack__card:hover .stack__inner { border-color: var(--stroke-hi); }

.stack__idx {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 1rem;
}
.stack__inner h3 {
  font-size: clamp(1.6rem, 5.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.stack__inner > p, .stack__inner p {
  color: var(--muted);
  max-width: 44rem;
  font-size: 0.99rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.5rem; }
.tags li {
  font-size: 0.62rem;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: var(--glass);
}

.tracks { display: grid; gap: clamp(2.75rem, 8vw, 4rem); }

.track__head {
  color: var(--accent);
  padding-bottom: 0.9rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--stroke);
}

.tl { position: relative; padding-left: 1.5rem; }
.tl::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem; bottom: 0.5rem;
  width: 1px;
  background: var(--stroke);
}
@supports (animation-timeline: view()) {
  .tl::after {
    content: '';
    position: absolute;
    left: 0; top: 0.5rem;
    width: 1px;
    height: calc(100% - 1rem);
    background: linear-gradient(to bottom, var(--accent), var(--accent-2));
    transform-origin: 50% 0;
    animation: draw linear both;
    animation-timeline: view();
    animation-range: cover 10% cover 76%;
  }
  @keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

.tl__item { position: relative; padding-bottom: 2.25rem; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: '';
  position: absolute;
  left: calc(-1.5rem - 3.5px);
  top: 0.4rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tl__item:hover::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 15%, transparent);
}

.tl__time { display: block; color: var(--faint); margin-bottom: 0.45rem; font-size: 0.65rem; }
.tl__item h4 {
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.tl__place { color: var(--accent); font-size: 0.83rem; font-weight: 600; margin-bottom: 0.5rem; }
.tl__item > p:last-child { color: var(--muted); font-size: 0.93rem; }

@media (min-width: 56rem) {
  .tracks { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 5rem); }
}

.manifesto {
  font-size: clamp(2.3rem, 10.5vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: clamp(2.75rem, 8vw, 4.5rem);
}
.manifesto span { display: block; }
.manifesto em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tenets { display: grid; gap: 0.85rem; }
.tenet {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
}
.tenet:hover { background: var(--glass-2); border-color: var(--stroke-hi); }
.tenet__bar {
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s var(--ease);
}
.tenet.is-in .tenet__bar { transform: scaleX(1); }
.tenet h3 {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.tenet p { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 56rem) { .tenets { grid-template-columns: repeat(3, 1fr); } }

.contact {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 14vw, 9rem) var(--pad);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--stroke);
}
.contact__glow {
  position: absolute;
  inset: auto 0 -55% 0;
  height: 115%;
  z-index: -1;
  background: radial-gradient(48% 48% at 50% 100%,
    color-mix(in oklab, var(--accent) 22%, transparent) 0%, transparent 72%);
}
.contact .chip { margin-bottom: 1.5rem; }
.contact__head {
  font-size: clamp(2.4rem, 9vw, 5.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 1.4rem;
}
.contact__head em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__note {
  color: var(--muted);
  max-width: 33rem;
  margin: 0 auto clamp(2.5rem, 7vw, 3.25rem);
}

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(1.4rem, 6.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease),
              transform 0.35s var(--ease);
}
.contact__mailtext { overflow-wrap: anywhere; }
.contact__mail svg {
  width: clamp(20px, 4.5vw, 32px);
  height: clamp(20px, 4.5vw, 32px);
  flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
.contact__mail:hover {
  border-color: var(--stroke-hi);
  background: var(--glass-2);
}
.contact__mail:hover svg { transform: translateX(6px); }

.foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  text-align: center;
  padding: 2.25rem var(--pad) 2.75rem;
  border-top: 1px solid var(--stroke);
  color: var(--faint);
  font-size: 0.8rem;
}
.foot a { transition: color 0.3s var(--ease); }
.foot a:hover { color: var(--accent); }
.foot__legal { display: flex; gap: 1.25rem; }
.foot__legal a[aria-current="page"] { color: var(--txt); }

/* ---- legal pages (impressum / datenschutz) ---- */
.legal {
  max-width: 50rem;
  margin-inline: auto;
  padding: clamp(7rem, 15vw, 10rem) var(--pad) clamp(4rem, 10vw, 6.5rem);
}
.legal h1 {
  font-size: clamp(2.3rem, 8vw, 3.75rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}
.legal h2 {
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  margin: 2.75rem 0 0.7rem;
}
.legal h3 {
  font-size: clamp(1.02rem, 3vw, 1.2rem);
  margin: 1.9rem 0 0.55rem;
}
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 0.85rem; }
.legal address {
  font-style: normal;
  color: var(--txt);
  margin: 0.6rem 0 0.9rem;
  line-height: 1.75;
}
.legal ul {
  list-style: disc;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.3rem;
  margin: 0.6rem 0 1rem;
}
.legal a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  transition: border-color 0.3s var(--ease);
}
.legal a:hover { border-bottom-color: var(--accent); }

.legal__lang {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.legal__note {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  background: var(--glass);
  font-size: 0.92rem;
}
.legal__alt {
  margin-top: clamp(3.5rem, 9vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--stroke);
}
.legal__back { margin-top: 3rem; }

@media (min-width: 48rem) {
  .foot { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Hidden state is scoped to .js so a failed script never blanks the page. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.85s var(--ease) var(--d, 0s),
    transform 0.85s var(--ease) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__name .word { transform: none; }
  .hero__portrait { opacity: 0.55; }
  .grain, .blob { display: none; }
  .stack__card { position: static; }
  .stack__inner { transform: none; }
  /* The global override above kills durations but not delays; without this the
     menu would stay visible for its full stagger after being dismissed. */
  .menu, .menu__nav a, .menu__mail { transition-delay: 0s !important; }
}
