/* ============================================================
   Pascal Frey — Studio Ultramarin, Runde 2
   Type system: Inter Variable (wght 100–900, opsz 14–32)
   + JetBrains Mono for meta. Gallery paper, ink, ultramarine.
   Dark poster hero with drifting ultramarine field.
   ============================================================ */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  --paper: #f1f1ee;
  --paper-raised: #f7f7f4;
  --ink: #141415;
  --ultra: #2b2be0;
  --muted: #6f6f69;
  --line: rgba(20, 20, 21, 0.14);
  --line-soft: rgba(20, 20, 21, 0.08);

  --on-ink: #f1f1ee;
  --on-ink-muted: rgba(241, 241, 238, 0.56);
  --line-on-ink: rgba(241, 241, 238, 0.16);

  --deep: #0b0b12;
  --ultra-glow: #5d5dff;

  --sans: "Inter", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Variable-font voices */
  --fvs-body: "wght" 430;
  --fvs-medium: "wght" 550;
  --fvs-strong: "wght" 660;
  --fvs-display: "wght" 740;

  --w-max: 105rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-gap: clamp(6rem, 13vh, 11rem);

  --radius: 5px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--sans);
  font-variation-settings: var(--fvs-body);
  font-optical-sizing: auto;
  letter-spacing: -0.008em;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

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

:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.6rem 1.1rem;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.8125rem;
  border-radius: 999px;
  transform: translateY(-300%);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Layout primitives ---------- */

.wrap {
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-top: var(--section-gap);
}

/* ---------- Typography ---------- */

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.7;
}

/* Section register: mono label + hairline + index */
.register {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vh, 5rem);
}
.register .line {
  flex: 1;
}
.register .idx {
  color: var(--muted);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--ultra);
  flex: none;
}

.display {
  font-variation-settings: var(--fvs-display);
  font-size: clamp(3rem, 11vw, 12rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

h2.title {
  font-variation-settings: var(--fvs-strong);
  font-size: clamp(2.125rem, 4.6vw, 3.875rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 24ch;
}

.title em,
.display em {
  font-style: normal;
  color: var(--ultra);
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  max-width: 34em;
  font-variation-settings: "wght" 470;
}

.copy p {
  max-width: 38em;
  color: var(--ink);
}

.copy p + p {
  margin-top: 1.25em;
}

.muted {
  color: var(--muted);
}

strong {
  font-weight: normal;
  font-variation-settings: var(--fvs-medium);
}

/* ---------- Buttons & links ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-variation-settings: var(--fvs-medium);
  line-height: 1;
  border: 1px solid var(--ink);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.btn--solid {
  background: var(--ink);
  color: var(--on-ink);
}
.btn--solid:hover {
  background: var(--ultra);
  border-color: var(--ultra);
}

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

.btn .arrow {
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

.tlink {
  position: relative;
  display: inline-block;
  font-variation-settings: var(--fvs-medium);
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.tlink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.875rem;
  max-width: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 1.05rem;
  font-size: 1.0625rem;
  font-variation-settings: "wght" 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Heraldic hover: the seal lifts, calm and upright — no tilt */
.wordmark__crest {
  width: auto;
  height: 3.15rem;
  flex: none;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.wordmark:hover .wordmark__crest {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 6px 14px rgba(43, 43, 224, 0.28));
}

.wordmark sup {
  color: var(--ultra);
  font-size: 0.625em;
  transform: translateY(-0.35em);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  font-size: 0.8125rem;
  font-variation-settings: "wght" 530;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding-block: 0.4rem;
  color: var(--ink);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ultra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}


.site-nav .nav-cta {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-variation-settings: "wght" 590;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.site-nav .nav-cta:hover {
  background: var(--ink);
  color: var(--on-ink);
}

/* Burger (mobile) */
.burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 120;
}
.burger span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.burger span:nth-child(1) {
  top: 0.95rem;
}
.burger span:nth-child(2) {
  top: 1.5rem;
}
body.menu-open .burger span:nth-child(1) {
  transform: translateY(4.4px) rotate(45deg);
}
body.menu-open .burger span:nth-child(2) {
  transform: translateY(-4.4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu .mono {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.mobile-menu a {
  font-size: clamp(2.125rem, 9vw, 3.25rem);
  font-variation-settings: "wght" 630;
  letter-spacing: -0.025em;
  line-height: 1.15;
  border-bottom: 1px solid var(--line);
  padding: 0.875rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mobile-menu a .mono {
  margin: 0;
}
.mobile-menu__foot {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Hero: dark poster ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--deep);
  color: var(--on-ink);
  overflow: hidden;
}

/* Drifting ultramarine field */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg__field {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  transform: translateZ(0);
}
.blob--a {
  width: 58vmax;
  height: 58vmax;
  left: -14%;
  top: -30%;
  background: radial-gradient(circle at 35% 35%, rgba(43, 43, 224, 0.8), transparent 68%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.blob--b {
  width: 44vmax;
  height: 44vmax;
  right: -12%;
  top: 2%;
  background: radial-gradient(circle at 60% 40%, rgba(93, 93, 255, 0.42), transparent 70%);
  animation: drift-b 34s ease-in-out infinite alternate;
}
.blob--c {
  width: 52vmax;
  height: 52vmax;
  left: 20%;
  bottom: -46%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 18, 128, 0.85), transparent 72%);
  animation: drift-c 30s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to { transform: translate(9vw, 13vh) scale(1.12); }
}
@keyframes drift-b {
  to { transform: translate(-8vw, 15vh) scale(0.9); }
}
@keyframes drift-c {
  to { transform: translate(-11vw, -9vh) scale(1.16); }
}

/* Cursor glow: a faint, organic ultramarine shimmer that trails the
   pointer — two offset gradients + slow breathing via the standalone
   scale property (composes with the JS-driven translate) */
.hero-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 26vmax;
  height: 26vmax;
  margin: -13vmax 0 0 -13vmax;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(93, 93, 255, 0.11), transparent 76%),
    radial-gradient(closest-side at 41% 58%, rgba(43, 43, 224, 0.09), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: glow-breathe 7s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes glow-breathe {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.14;
  }
}

/* Swiss column grid, barely there */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(241, 241, 238, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

/* Film grain */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.hero__top {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  padding-top: 6.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.hero__credo {
  max-width: 42ch;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-variation-settings: "wght" 460;
  line-height: 1.6;
  letter-spacing: -0.012em;
  color: rgba(241, 241, 238, 0.86);
  text-wrap: pretty;
}
.hero__credo strong {
  color: var(--on-ink);
}

.hero__top .col.right {
  text-align: right;
  color: var(--on-ink-muted);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}
.hero__eyebrow .dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--ultra-glow);
  flex: none;
}

/* Poster headline (base weight 700: room for the fluid morph
   to go both bolder and lighter around it) */
.kinetic {
  font-variation-settings: "wght" 700;
  font-size: clamp(3.25rem, 13vw, 15.5rem);
  line-height: 0.97;
  letter-spacing: -0.048em;
  user-select: none;
  margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
  font-kerning: none;
}
.kinetic .row {
  display: block;
  overflow: hidden;
  padding-top: 0.08em;
  margin-top: -0.08em;
  white-space: nowrap;
}
.kinetic .row-inner {
  display: block;
}
html.js .kinetic .row-inner {
  transform: translateY(112%);
}
.kinetic .ch {
  display: inline-block;
  will-change: font-variation-settings;
}
.kinetic .punct {
  font-style: normal;
  color: var(--ultra-glow);
}

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  border-top: 1px solid var(--line-on-ink);
  padding-top: 1.25rem;
  color: var(--on-ink-muted);
}
.hero__foot .right {
  text-align: right;
}

/* Scroll affordance: hairline circle with looping arrow,
   sits at the right end of the eyebrow row */
.scroll-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--on-ink-muted);
  transition: color 0.3s ease;
}
.scroll-btn__label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-btn__circle {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line-on-ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.scroll-btn__arrow {
  font-size: 1.0625rem;
  line-height: 1;
  color: var(--on-ink);
  animation: arrow-drop 3s var(--ease-out) infinite;
}
@keyframes arrow-drop {
  0%,
  22% {
    transform: translateY(0);
    opacity: 1;
  }
  46% {
    transform: translateY(170%);
    opacity: 0;
  }
  47% {
    transform: translateY(-170%);
    opacity: 0;
  }
  72%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.scroll-btn:hover,
.scroll-btn:focus-visible {
  color: var(--on-ink);
}
.scroll-btn:hover .scroll-btn__circle,
.scroll-btn:focus-visible .scroll-btn__circle {
  background: var(--ultra);
  border-color: var(--ultra);
}

/* Tiny floating arrow, bottom centre of the first screen.
   Centred via margin (not transform) so the entrance animation and
   the standalone translate float can play without conflicts. */
.hero-arrow {
  position: absolute;
  left: 50%;
  bottom: clamp(0.9rem, 2.6vh, 1.75rem);
  margin-left: -0.5em;
  font-family: var(--mono);
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--on-ink-muted);
  animation: arrow-float 2.6s ease-in-out infinite;
  transition: color 0.3s ease;
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
  color: var(--on-ink);
}
@keyframes arrow-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 7px;
  }
}

/* ---------- Contact page hero ---------- */

.hero--contact .kinetic {
  font-size: clamp(2.875rem, 11.5vw, 13.5rem);
}

.contact-disc {
  position: absolute;
  right: clamp(var(--gutter), 12vw, 14rem);
  bottom: clamp(7rem, 22vh, 13rem);
  z-index: 5;
  width: clamp(8.5rem, 12vw, 11rem);
  height: clamp(8.5rem, 12vw, 11rem);
  border-radius: 50%;
  background: var(--ultra);
  color: var(--on-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9375rem;
  font-variation-settings: var(--fvs-medium);
  line-height: 1.35;
  transition: background-color 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.contact-disc:hover,
.contact-disc:focus-visible {
  background: var(--ultra-glow);
  transform: scale(1.06);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--line-on-ink);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-variation-settings: var(--fvs-medium);
  color: var(--on-ink);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.pill:hover,
.pill:focus-visible {
  border-color: var(--ultra-glow);
  background: rgba(43, 43, 224, 0.18);
}

.hero__foot--contact {
  border-top: 1px solid var(--line-on-ink);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 56rem) {
  .contact-disc {
    position: static;
    margin: 0.5rem 0 1.75rem var(--gutter);
    width: 7.5rem;
    height: 7.5rem;
    font-size: 0.875rem;
  }
  .hero__foot--contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Header over dark hero ---------- */

.site-header.is-inverted {
  color: var(--on-ink);
}
.site-header.is-inverted.is-scrolled {
  background: rgba(11, 11, 18, 0.72);
  border-bottom-color: rgba(241, 241, 238, 0.1);
}
.site-header.is-inverted .site-nav a:not(.nav-cta) {
  color: var(--on-ink);
}
.site-header.is-inverted .site-nav a:not(.nav-cta)::after {
  background: var(--ultra-glow);
}
.site-header.is-inverted .nav-cta {
  border-color: rgba(241, 241, 238, 0.38);
}
.site-header.is-inverted .nav-cta:hover {
  background: var(--on-ink);
  color: var(--ink);
}
.site-header.is-inverted .burger span {
  background: var(--on-ink);
}
body.menu-open .site-header .burger span {
  background: var(--ink);
}

.wordmark__crest--light {
  display: none;
}
.site-header.is-inverted .wordmark__crest--dark {
  display: none;
}
.site-header.is-inverted .wordmark__crest--light {
  display: block;
}

/* ---------- Profile ---------- */

.profile {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.profile__statement {
  font-size: clamp(1.625rem, 3vw, 2.75rem);
  font-variation-settings: "wght" 490;
  letter-spacing: -0.022em;
  line-height: 1.22;
  text-wrap: balance;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.profile__statement .accent {
  color: var(--ultra);
  font-variation-settings: "wght" 620;
}

.copy p {
  font-size: 0.9844rem;
  color: var(--ink);
}

.profile__aside {
  display: grid;
  gap: 2rem;
}

.portrait {
  position: relative;
  max-width: 21rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: grayscale(0.3) contrast(1.03);
  transition: filter 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.portrait:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.015);
}

.portrait figcaption {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.factlist {
  list-style: none;
  font-size: 0.9375rem;
}

.factlist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line-soft);
}

.factlist li:first-child {
  border-top: 1px solid var(--line-soft);
}

.factlist .k {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}

.factlist .v {
  text-align: right;
  font-variation-settings: var(--fvs-medium);
}

@media (max-width: 56rem) {
  .profile {
    grid-template-columns: 1fr;
  }
  .portrait {
    max-width: 16rem;
  }
}

/* ---------- Expertise rows ---------- */

.expertise__intro {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

@media (max-width: 56rem) {
  .expertise__intro {
    grid-template-columns: 1fr;
  }
}

.exp-list {
  list-style: none;
  counter-reset: exp;
  border-top: 1px solid var(--line);
}

.exp-row {
  position: relative;
  counter-increment: exp;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 22rem) minmax(0, 1fr) 3.5rem;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.45s var(--ease-out);
}

.exp-row::before {
  content: counter(exp, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.3s ease;
}

.exp-row::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--ultra);
  transition: width 0.5s var(--ease-out);
}

.exp-row h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.9375rem);
  font-variation-settings: "wght" 570;
  letter-spacing: -0.02em;
  line-height: 1.08;
  transition: font-variation-settings 0.45s var(--ease-out), color 0.3s ease;
}

.exp-row p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 34em;
}

.exp-row .glyph {
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ink);
  transition: color 0.3s ease, transform 0.5s var(--ease-out);
}

@media (hover: hover) {
  .exp-row:hover {
    padding-left: 0.875rem;
  }
  .exp-row:hover::before {
    color: var(--ultra);
  }
  .exp-row:hover::after {
    width: 100%;
  }
  .exp-row:hover h3 {
    font-variation-settings: "wght" 760;
    color: var(--ultra);
  }
  .exp-row:hover .glyph {
    color: var(--ultra);
    transform: rotate(90deg);
  }
}

@media (max-width: 56rem) {
  .exp-row {
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.5rem;
  }
  .exp-row p {
    grid-column: 2;
  }
  .exp-row .glyph {
    grid-row: 1;
    grid-column: 3;
  }
}

/* ---------- Work list + floating preview ---------- */

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: minmax(3.5rem, 5rem) 1fr minmax(10rem, 14rem) minmax(3.75rem, 5.5rem);
  align-items: baseline;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding-block: clamp(1.5rem, 3.4vh, 2.375rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease-out);
}

.work-item .w-idx {
  color: var(--muted);
  transition: color 0.3s ease;
}

.work-item .w-title {
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-variation-settings: "wght" 550;
  letter-spacing: -0.025em;
  line-height: 1.05;
  transition: font-variation-settings 0.45s var(--ease-out), color 0.3s ease;
}

.work-item .w-tags {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.work-item .w-year {
  color: var(--muted);
  text-align: right;
}

.work-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--ultra);
  transition: width 0.5s var(--ease-out);
}

@media (hover: hover) {
  .work-item:hover {
    padding-left: 0.875rem;
  }
  .work-item:hover::before {
    width: 100%;
  }
  .work-item:hover .w-title {
    font-variation-settings: "wght" 780;
    color: var(--ultra);
  }
  .work-item:hover .w-idx {
    color: var(--ultra);
  }
}

.work-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.75rem;
}

/* Floating preview canvas (desktop only) */
.work-preview {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  width: min(24rem, 30vw);
  aspect-ratio: 4 / 3;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px -16px rgba(20, 20, 21, 0.35);
  will-change: transform;
}
.work-preview.active {
  opacity: 1;
}
.work-preview .pv {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  background: var(--paper-raised);
  color: var(--ink);
  --tile-accent: var(--ultra);
}
.work-preview .pv.show {
  opacity: 1;
}
.work-preview .pv .mono {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  color: var(--muted);
}
.work-preview svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.work-preview .u {
  color: var(--tile-accent);
}

@media (max-width: 56rem) {
  .work-preview {
    display: none;
  }
  .work-item {
    grid-template-columns: 2.25rem 1fr 3.5rem;
  }
  .work-item .w-tags {
    display: none;
  }
}

/* ---------- Case rows (arbeiten.html) ---------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: calc(var(--section-gap) / 2.4);
  border-top: 1px solid var(--line-soft);
}

.case:nth-child(even) .case__visual {
  order: 2;
}

.case__visual .standin {
  aspect-ratio: 5 / 4;
}

.case__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.case__meta .sep {
  width: 2rem;
  height: 1px;
  background: var(--line);
}

.case h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.875rem);
  font-variation-settings: var(--fvs-strong);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.case .role {
  font-size: 0.875rem;
  font-variation-settings: var(--fvs-medium);
  color: var(--ultra);
  margin-bottom: 1.5rem;
}

.case .copy p {
  font-size: 1rem;
  color: var(--ink);
  max-width: 34em;
}

.case .copy .case__credit {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.case .award-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--ink);
}

.case .award-tag::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ultra);
  border-radius: 50%;
}

@media (max-width: 56rem) {
  .case {
    grid-template-columns: 1fr;
  }
  .case:nth-child(even) .case__visual {
    order: 0;
  }
}

/* Constructivist stand-in canvas.
   Tile system V2 «Farbig»: modifier classes t-ultra / t-navy / t-black /
   t-slate set ground, ink and accent. Fallback V1 «Hell»: remove the
   modifier class — the tile renders on paper with ink lines and an
   ultramarine accent (snapshot branch: illustrations-v1-hell). */

.standin {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-raised);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  --tile-accent: var(--ultra);
}

/* tile grounds */
.t-ultra,
.work-preview .pv.t-ultra {
  background: #2b2be0;
  color: #f1f1ee;
  --tile-accent: #f1f1ee;
  border-color: transparent;
}
.t-navy,
.work-preview .pv.t-navy {
  background: #12123e;
  color: #f1f1ee;
  --tile-accent: #3434ec;
  border-color: transparent;
}
.t-black,
.work-preview .pv.t-black {
  background: #141415;
  color: #f1f1ee;
  --tile-accent: #3b3bf0;
  border-color: transparent;
}
.t-slate,
.work-preview .pv.t-slate {
  background: #1d1d23;
  color: #f1f1ee;
  --tile-accent: #3b3bf0;
  border-color: transparent;
}

.t-ultra .mono,
.t-navy .mono,
.t-black .mono,
.t-slate .mono,
.work-preview .pv.t-ultra .mono,
.work-preview .pv.t-navy .mono,
.work-preview .pv.t-black .mono,
.work-preview .pv.t-slate .mono {
  color: rgba(241, 241, 238, 0.72);
}

/* analog grain: fine paper grain on light tiles, strong film grain on colour */
.standin::after,
.work-preview .pv::after {
  content: "";
  position: absolute;
  inset: 0;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.22;
  filter: contrast(140%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
.t-ultra::after,
.t-navy::after,
.t-black::after,
.t-slate::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.6;
  filter: contrast(190%);
  mix-blend-mode: overlay;
}

/* ---------- Tile motion: meaningful, content-driven ----------
   Triggers: hovering a standin (arbeiten) or a visible floating
   preview (.pv.show on the landing page). */

.standin .eq,
.standin .sq,
.standin .build,
.standin .rise,
.standin .set,
.standin .ripple,
.pv .eq,
.pv .sq,
.pv .build,
.pv .rise,
.pv .set,
.pv .ripple,
.idle-a,
.idle-b {
  transform-box: fill-box;
  transform-origin: center;
}

/* Sonic: the equalizer plays */
.standin:hover .eq,
.pv.show .eq {
  animation: tile-eq 0.75s ease-in-out infinite alternate;
}
.eq.d1 { animation-duration: 0.55s; animation-delay: -0.2s; }
.eq.d2 { animation-duration: 0.9s;  animation-delay: -0.45s; }
.eq.d3 { animation-duration: 0.65s; animation-delay: -0.1s; }
@keyframes tile-eq {
  from { transform: scaleY(0.45); }
  to   { transform: scaleY(1.35); }
}

/* Wüest Partner: impact ripples outward */
.standin:hover .ripple,
.pv.show .ripple {
  animation: tile-ripple 2.6s ease-out infinite;
}
.ripple.r2 { animation-delay: 0.28s; }
.ripple.r3 { animation-delay: 0.56s; }
@keyframes tile-ripple {
  0% { transform: scale(0.5); opacity: 0; }
  35% { opacity: 0.95; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* Startup: chevrons rise with momentum */
.chev {
  transform-box: fill-box;
  transform-origin: center;
}
.standin:hover .chev,
.pv.show .chev {
  animation: tile-chev 1.1s ease-in-out infinite;
}
.chev.c2 { animation-delay: 0.16s; }
.chev.c3 { animation-delay: 0.32s; }
@keyframes tile-chev {
  0% { transform: translateY(7px); opacity: 0.45; }
  50% { opacity: 1; }
  100% { transform: translateY(-9px); opacity: 0.45; }
}

/* NEO: the system fans out */
.sq {
  transform: rotate(var(--r));
  transition: transform 1s var(--ease-out);
}
.standin:hover .sq,
.pv.show .sq {
  transform: rotate(calc(var(--r) * 2.2));
}

/* GenAI: the network starts orbiting (origin set inline per svg) */
.orbit { transform-box: view-box; }
.standin:hover .orbit,
.pv.show .orbit {
  animation: tile-orbit 16s linear infinite;
}
@keyframes tile-orbit {
  to { transform: rotate(360deg); }
}

/* Geberit: the template fills itself */
.build { transform-origin: left center; }
.standin:hover .build,
.pv.show .build {
  animation: tile-build 0.7s var(--ease-out) backwards;
}
.standin:hover .build.b2, .pv.show .build.b2 { animation-delay: 0.18s; }
.standin:hover .build.b3, .pv.show .build.b3 { animation-delay: 0.36s; }
.standin:hover .build.b4, .pv.show .build.b4 { animation-delay: 0.54s; }
@keyframes tile-build {
  from { transform: scaleX(0); }
}

/* Interior: the architecture rises from the baseline */
.rise { transform-origin: center bottom; }
.standin:hover .rise,
.pv.show .rise {
  animation: tile-rise 0.8s var(--ease-out) backwards;
}
.standin:hover .rise.r2, .pv.show .rise.r2 { animation-delay: 0.15s; }
.standin:hover .rise.r3, .pv.show .rise.r3 { animation-delay: 0.3s; }
@keyframes tile-rise {
  from { transform: scaleY(0); }
}

/* Brand Architects: the elements settle into place */
.standin:hover .set,
.pv.show .set {
  animation: tile-set 0.6s var(--ease-out) backwards;
}
.standin:hover .set.s2, .pv.show .set.s2 { animation-delay: 0.12s; }
.standin:hover .set.s3, .pv.show .set.s3 { animation-delay: 0.24s; }
@keyframes tile-set {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* quiet idle drift on single accent shapes */
.idle-a { animation: tile-drift-a 9s ease-in-out infinite alternate; }
.idle-b { animation: tile-drift-b 12s ease-in-out infinite alternate; }
@keyframes tile-drift-a {
  to { transform: translate(4px, -3px); }
}
@keyframes tile-drift-b {
  to { transform: translate(-3px, 2px); }
}

.standin svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.standin .u {
  color: var(--tile-accent);
}

/* ---------- Dark band: awards + clients ---------- */

.band {
  background: var(--ink);
  color: var(--on-ink);
  margin-top: var(--section-gap);
  padding-block: calc(var(--section-gap) / 1.6);
}

.band .register {
  border-bottom-color: var(--line-on-ink);
}
.band .register .idx,
.band .eyebrow {
  color: var(--on-ink-muted);
}

.band .title {
  color: var(--on-ink);
}

.band__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.band__intro p {
  color: var(--on-ink-muted);
  font-size: 1rem;
}

@media (max-width: 56rem) {
  .band__intro {
    grid-template-columns: 1fr;
  }
}

.awards {
  list-style: none;
  margin-bottom: 1.75rem;
}

/* collapsed by default (JS only): the current-year block stays visible */
html.js .awards.is-collapsed li:nth-child(n + 6) {
  display: none;
}

.awards-foot {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.awards-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--line-on-ink);
  border-radius: 999px;
  color: var(--on-ink-muted);
  letter-spacing: 0.1em;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.awards-toggle:hover,
.awards-toggle:focus-visible {
  color: var(--on-ink);
  border-color: rgba(241, 241, 238, 0.45);
}

.awards li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line-on-ink);
  transition: padding-left 0.4s var(--ease-out);
}

.awards li:last-child {
  border-bottom: 1px solid var(--line-on-ink);
}

.awards li:hover {
  padding-left: 0.6rem;
}

.awards .year {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8a8aff;
}

.awards .name {
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  font-variation-settings: "wght" 570;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.awards .cat {
  font-size: 0.875rem;
  color: var(--on-ink-muted);
  text-align: right;
}

@media (max-width: 40rem) {
  .awards li {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }
  .awards .cat {
    grid-column: 2;
    text-align: left;
  }
}

.clients__label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-bottom: 2.25rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-on-ink);
  border-left: 1px solid var(--line-on-ink);
}

.logo-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.6 / 1;
  padding: 1.25rem;
  border-right: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
}

.logo-grid img {
  max-height: 1.5rem;
  max-width: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.logo-grid > div:hover img {
  opacity: 0.95;
}

.logo-grid > .logo--wide img {
  max-height: 1.9rem;
  max-width: 86%;
}

@media (max-width: 64rem) {
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-grid img {
    max-height: 1.25rem;
  }
}

/* ---------- Contact ---------- */

.contact {
  padding-top: var(--section-gap);
  padding-bottom: calc(var(--section-gap) / 1.6);
}

.contact-kicker {
  display: block;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.giant-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(3rem, 11vw, 11.875rem);
  font-variation-settings: "wght" 640;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  transition: font-variation-settings 0.5s var(--ease-out), color 0.35s var(--ease-out);
}
.giant-link .blue {
  color: var(--ultra);
}
.giant-link:hover,
.giant-link:focus-visible {
  color: var(--ultra);
  font-variation-settings: "wght" 850;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: clamp(2.25rem, 6vh, 4.5rem);
}

.contact-row .c-note {
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.contact-row .c-note a {
  color: var(--ink);
  font-variation-settings: var(--fvs-medium);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-row .c-note a:hover {
  color: var(--ultra);
  border-color: var(--ultra);
}

.contact-links {
  display: flex;
  gap: 1.75rem;
}

.contact-links a {
  font-size: 0.875rem;
  font-variation-settings: var(--fvs-medium);
  position: relative;
  padding: 0.25rem 0;
}

.contact-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ultra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.contact-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 56rem) {
  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(2.5rem, 7vw, 8rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.site-footer__tag {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 22rem;
}

.site-footer nav h4 {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer nav ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9375rem;
}

.site-footer nav a {
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.site-footer nav a:hover {
  opacity: 1;
  color: var(--ultra);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__legal a:hover {
  color: var(--ink);
}

.top-link {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.top-link:hover {
  color: var(--ultra);
}

@media (max-width: 56rem) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

/* ---------- Subpage hero (arbeiten / legal) ---------- */

.page-hero {
  padding-top: clamp(8.5rem, 16vh, 12rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-hero .display {
  font-size: clamp(2.75rem, 9.5vw, 9rem);
}

.page-hero .lead {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.nda-note {
  border-top: 1px solid var(--line-soft);
  padding-block: calc(var(--section-gap) / 3);
}

.nda-note p {
  font-size: clamp(1.25rem, 2.4vw, 1.8125rem);
  font-variation-settings: "wght" 510;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 34ch;
}

/* ---------- Legal prose ---------- */

.prose {
  max-width: 42rem;
  padding-bottom: var(--section-gap);
}

.prose h2 {
  font-variation-settings: var(--fvs-strong);
  font-size: 1.4375rem;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
}

.prose p,
.prose ul {
  color: var(--ink);
  margin-bottom: 1em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--ultra);
}

/* ---------- Reveal / motion ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js .standin [data-shape] {
    opacity: 1;
    transform: none;
  }
  html.js .kinetic .row-inner {
    transform: none;
  }
  .scroll-btn__arrow {
    animation: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Responsive: hero & nav ---------- */

@media (max-width: 56rem) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero__top {
    padding-top: 5.75rem;
  }
  .hero__top .col.right {
    display: none;
  }
  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hero__foot .right {
    text-align: left;
  }
  .hero-grid {
    background-size: calc(100% / 3) 100%;
  }
  .scroll-btn__label {
    display: none;
  }
  .scroll-btn__circle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 56rem) {
  .kinetic {
    font-size: clamp(2.875rem, 14.5vw, 8rem);
  }
  .giant-link {
    font-size: clamp(3rem, 14vw, 8rem);
  }
}

@media (max-height: 35rem) {
  .hero__top {
    display: none;
  }
}
