/* WAAGE Rechtsanwälte · Swiss editorial, mineral light
   Fonts: self-hosted, latin + latin-ext subsets (fontsource ranges). */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-ext-wght-normal.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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-wght-normal.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 Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin-ext-400-italic.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 Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin-400-italic.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;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-400-normal.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;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-400-normal.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: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-500-normal.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: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-500-normal.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;
}

:root {
  --canvas: #EEF0EF;
  --panel: #E2E6E5;
  --panel-deep: #D7DCDB;
  --ink: #111A22;
  --ink-soft: #2A343D;
  --muted: #56616A;
  --line: rgba(17, 26, 34, .14);
  --line-strong: rgba(17, 26, 34, .26);
  --accent: #2B45D8;
  --accent-deep: #1F35B5;
  --accent-muted: #CBD3F7;
  --on-ink: #EEF0EF;
  --on-ink-muted: #9BA6AF;
  --error: #A8261B;

  --f-display: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(20px, 4.5vw, 72px);
  --gap: clamp(14px, 2.2vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--canvas);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: transparent;
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent-muted); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
main:focus-visible, section:focus-visible { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  left: 12px; top: -80px;
  z-index: 400;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }

.mono { font-family: var(--f-mono); font-weight: 400; letter-spacing: 0; }
.serif, em.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* Tag: every demo number says so where it stands */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 3px 5px 2px;
  vertical-align: .18em;
  white-space: nowrap;
  font-style: normal;
}

/* Ambient layer: fine grid + paper fibre, slow drift, plus grain */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient__grid {
  position: absolute;
  inset: -120px 0 0 -120px;
  width: calc(100% + 240px);
  height: calc(100% + 240px);
  background-image:
    linear-gradient(to right, rgba(17, 26, 34, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 26, 34, .045) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .2) 100%);
          mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .2) 100%);
  animation: drift-grid 110s linear infinite;
  will-change: transform;
}
.ambient__fibre {
  position: absolute;
  top: -640px; left: -640px;
  width: calc(100% + 640px);
  height: calc(100% + 640px);
  background: url('../media/fibre.png') 0 0 / 640px 640px repeat;
  opacity: .17;
  animation: drift-fibre 240s linear infinite;
  will-change: transform;
}
.grain {
  position: fixed;
  inset: -100px;
  z-index: 90;
  pointer-events: none;
  background: url('../media/grain.png') 0 0 / 180px 180px repeat;
  opacity: .05;
  animation: grain 1.1s steps(5) infinite;
}
@keyframes drift-grid { to { transform: translate3d(120px, 120px, 0); } }
@keyframes drift-fibre { to { transform: translate3d(640px, 320px, 0); } }
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-37px, 21px, 0); }
  40% { transform: translate3d(52px, -44px, 0); }
  60% { transform: translate3d(-18px, 63px, 0); }
  80% { transform: translate3d(41px, 12px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Cursor */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 300;
  pointer-events: none;
  display: none;
}
.has-cursor .cursor { display: block; }
.cursor__ring {
  position: absolute;
  left: -16px; top: -16px;
  width: 32px; height: 32px;
  border: 1px solid rgba(17, 26, 34, .42);
  border-radius: 50%;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor__label {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%) scale(.6);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-ink);
  opacity: 0;
  white-space: nowrap;
  transition: opacity .25s, transform .45s var(--ease);
}
.cursor.is-hover .cursor__ring { transform: scale(1.55); background: rgba(43, 69, 216, .08); border-color: rgba(43, 69, 216, .55); }
.cursor.is-label .cursor__ring { transform: scale(2.5); background: var(--ink); border-color: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-text .cursor__ring { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
.cursor.on-ink .cursor__ring { border-color: rgba(238, 240, 239, .5); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__label { position: relative; }
.btn--accent { background: var(--accent); color: #F5F7FF; }
.btn--accent::before { background: var(--accent-deep); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink::before { background: var(--accent); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost::before { background: var(--panel-deep); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-quiet:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }
.link-quiet svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease); }
.link-quiet:hover svg { transform: translateY(3px); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: var(--header-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(238, 240, 239, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
          backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header.on-ink { color: var(--on-ink); }
.site-header.on-ink.is-scrolled { background: rgba(17, 26, 34, .82); border-bottom-color: rgba(238, 240, 239, .12); }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
}
.brand__glyph {
  width: 30px; height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.brand__glyph circle { fill: var(--accent); stroke: var(--canvas); stroke-width: 1.2; }
.brand__word {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .16em;
  line-height: 1;
  margin-right: -.16em;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  line-height: 1.3;
}
.site-header.on-ink .btn--ink { background: var(--on-ink); color: var(--ink); }
.site-header.on-ink .btn--ink::before { background: var(--accent-muted); }
.on-ink .brand__sub { color: var(--on-ink-muted); border-left-color: rgba(238, 240, 239, .25); }
.on-ink .brand__glyph circle { stroke: var(--ink); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 14.5px;
  font-weight: 450;
  text-decoration: none;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 44px;
  margin-left: auto;
  padding: 0 4px 0 12px;
  background: none;
  border: 0;
  font-size: 15px;
  font-weight: 500;
}
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { bottom: 0; width: 64%; left: auto; }

/* Mobile menu dialog */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--canvas);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 32px;
}
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.menu__kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.menu__close {
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: none;
  font-size: 14.5px; font-weight: 500;
}
.menu__list { border-top: 1px solid var(--line); }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .2s; }
.menu__list .mono { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.menu__meta { margin-top: auto; font-size: 12px; color: var(--muted); }
html.menu-open { overflow: hidden; }

/* Shared chapter type */
.eyebrow {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.eyebrow__idx {
  color: var(--ink);
  font-weight: 500;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid var(--line-strong);
}
.h2 {
  font-size: clamp(2.15rem, 1.15rem + 3.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h2 em.serif { font-size: 1.1em; line-height: .9; letter-spacing: -0.01em; }
.chapter { position: relative; padding-block: clamp(88px, 9.5vw, 150px); }
.chapter, .quiet, .site-footer, .hero { overflow-x: clip; }
.chapter__head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  row-gap: 24px;
  align-items: start;
}
.chapter__head .eyebrow { grid-column: 1 / 4; padding-top: .9em; }
.chapter__head .h2 { grid-column: 4 / 12; }
.chapter__intro {
  grid-column: 4 / 10;
  font-size: clamp(17px, 1rem + .25vw, 19.5px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
}

/* Line masks for SplitText */
.line-mask, .split-mask { padding-bottom: .14em; margin-bottom: -.14em; }

/* 01 Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 80px));
  padding-bottom: 28px;
  display: flex;
}
.hero__grid {
  width: 100%;
  grid-template-rows: 1fr auto;
  row-gap: clamp(28px, 4vh, 48px);
}
.hero__text { grid-column: 1 / 7; grid-row: 1; align-self: center; padding-bottom: 2vh; }
.hero__title {
  margin-top: clamp(22px, 3.2vh, 36px);
  font-size: clamp(2.9rem, .9rem + 4.4vw, 6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.048em;
}
.hero__title em.serif {
  color: var(--accent);
  font-size: 1.1em;
  letter-spacing: -0.015em;
  padding-right: .04em;
}
.hero__lead {
  margin-top: clamp(22px, 3.4vh, 34px);
  max-width: 44ch;
  font-size: clamp(17px, 1rem + .3vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__actions {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.hero__figure {
  grid-column: 7 / 13;
  grid-row: 1;
  align-self: center;
  position: relative;
  margin-left: clamp(0px, 3vw, 48px);
  margin-right: calc(var(--gutter) * -0.5);
}
.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}
.hero__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid var(--line);
}
.hero__meta li:last-child { border-right: 0; margin-right: 0; }
.hero__meta .tag { vertical-align: 0; }

.js-intro .hero__title,
.js-intro .hero [data-intro],
.js-intro .hero__figure { visibility: hidden; }

/* Scale drawing (shared) */
.scale-svg { width: 100%; height: auto; overflow: visible; --sc-bg: var(--canvas); }
.sc-line { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sc-fine { fill: none; stroke: var(--ink); stroke-width: 1.05; stroke-linecap: round; opacity: .62; }
.sc-dash { fill: none; stroke: rgba(17, 26, 34, .3); stroke-width: 1; stroke-dasharray: 2 7; }
.sc-beam-body { fill: var(--sc-bg); }
.sc-end { fill: var(--sc-bg); }
.sc-tip { fill: var(--ink); }
.sc-pivot-ring { fill: var(--sc-bg); stroke: var(--accent); stroke-width: 2.2; }
.sc-pivot-dot { fill: var(--accent); }
.sc-label {
  font-family: var(--f-mono);
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  fill: var(--muted);
}
.sc-pan .sc-rim, .sc-pan .sc-bowl { transition: stroke .3s; }
.sc-pan.is-target .sc-rim, .sc-pan.is-target .sc-bowl { stroke: var(--accent); stroke-width: 2.4; }
.tok rect { fill: var(--canvas); stroke: var(--ink); stroke-width: 1.4; }
.tok text { font-family: var(--f-mono); font-size: 13px; font-weight: 500; fill: var(--ink); letter-spacing: .01em; }
.tok--con rect { fill: var(--ink); }
.tok--con text { fill: var(--on-ink); }

/* 02 Rechtsgebiete */
.areas__list {
  grid-column: 1 / -1;
  margin-top: clamp(56px, 7vw, 110px);
  border-bottom: 1px solid var(--line-strong);
}
.area { position: relative; }
.area__line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: 0 50%;
}
.area__heading { font: inherit; }
.area__btn {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 38px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.area__btn::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  background: rgba(17, 26, 34, .03);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.area__btn:hover::before { opacity: 1; }
.area__no { grid-column: 1 / 2; font-size: 12px; color: var(--muted); }
.area__name {
  grid-column: 2 / 8;
  font-size: clamp(1.75rem, .9rem + 2.6vw, 3.5rem);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.035em;
  transition: transform .6s var(--ease);
}
.area__name-sub {
  display: inline-block;
  font-size: .42em;
  letter-spacing: -0.01em;
  color: var(--muted);
  font-weight: 400;
  vertical-align: .55em;
  margin-left: .4em;
}
.area__btn:hover .area__name, .area.is-open .area__name { transform: translateX(12px); }
.area__tags { grid-column: 8 / 12; font-size: 12px; color: var(--muted); line-height: 1.6; }
.area__icon {
  grid-column: 12 / 13;
  justify-self: end;
  align-self: center;
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .4s, border-color .4s, transform .6s var(--ease);
}
.area__icon::before, .area__icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--ink);
  transition: transform .5s var(--ease), background-color .4s;
}
.area__icon::after { transform: rotate(90deg); }
.area__btn:hover .area__icon { border-color: var(--ink); }
.area.is-open .area__icon { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.area.is-open .area__icon::before, .area.is-open .area__icon::after { background: var(--on-ink); }
.area.is-open .area__icon::after { transform: rotate(0deg); }
.area__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .65s var(--ease);
}
.area.is-open .area__panel { grid-template-rows: 1fr; }
.area__inner {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.area__col { padding-top: 6px; padding-bottom: clamp(28px, 3vw, 44px); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.area.is-open .area__col { opacity: 1; transform: none; transition-delay: .12s; }
.area__col:first-child { grid-column: 2 / 8; }
.area__col:last-child { grid-column: 8 / 12; }
.area__label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.area__cases li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.45;
  max-width: 52ch;
}
.area__cases li::before {
  content: '';
  position: absolute;
  left: 2px; top: 1.15em;
  width: 9px; height: 1.5px;
  background: var(--ink);
}
.area__do { font-size: 16.5px; line-height: 1.55; max-width: 40ch; }

/* 03 Die Waage */
.lab__body { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 88px); }
.lab__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-strong);
}
.lab__tabs { position: relative; display: flex; gap: clamp(18px, 3vw, 36px); }
.lab__tab {
  position: relative;
  min-height: 48px;
  padding: 0 2px;
  background: none;
  border: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.lab__tab:hover, .lab__tab[aria-selected="true"] { color: var(--ink); }
.lab__tab-ink {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--ink);
  transition: transform .55s var(--ease), width .55s var(--ease);
}
.lab__reset {
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
}
.lab__reset:hover { color: var(--ink); }
.lab__panel {
  position: relative;
  margin-top: 28px;
  padding: clamp(22px, 3.2vw, 48px);
  border-radius: 8px;
  background-color: var(--panel);
  background-image:
    linear-gradient(to right, rgba(17, 26, 34, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 26, 34, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}
.lab__case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px var(--gap); align-items: end; }
.lab__case-kicker { grid-column: 1 / -1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lab__case-title { font-size: clamp(1.45rem, 1rem + 1.2vw, 2.1rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.lab__case-text { color: var(--muted); max-width: 58ch; font-size: 16px; }
.lab__stage {
  margin-top: clamp(12px, 1.6vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6.4fr) minmax(0, 3fr);
  gap: var(--gap);
  align-items: center;
}
.lab__scale { position: relative; }
@media (min-width: 1100.02px) {
  .lab__stage { align-items: start; }
  .lab__side { margin-top: clamp(40px, 5.5vw, 84px); }
}
.scale-svg--lab { --sc-bg: var(--panel); }
.lab__side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lab__side-mark { width: 11px; height: 11px; border: 1.4px solid var(--ink); border-radius: 2px; background: var(--canvas); }
.lab__side--con .lab__side-mark { background: var(--ink); }
.lab__chips { display: grid; gap: 10px; }
.chip {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 13px 13px 12px 16px;
  min-height: 64px;
  text-align: left;
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.01em;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
  transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s;
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 22px -16px rgba(17, 26, 34, .45); }
.chip:active { cursor: grabbing; }
.chip__label { grid-column: 1; }
.chip__weight {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip__dots { display: inline-flex; gap: 3px; }
.chip__dots i { width: 9px; height: 4px; border-radius: 1px; background: var(--line-strong); }
.chip__dots i.on { background: currentColor; }
.chip__weight { color: var(--muted); }
.chip__weight .chip__dots i.on { background: var(--ink); }
.chip__icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform .5s var(--ease), border-color .3s;
}
.chip__icon::before, .chip__icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.4px;
  margin: -0.7px 0 0 -5px;
  background: currentColor;
  transition: transform .45s var(--ease);
}
.chip__icon::after { transform: rotate(90deg); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip[aria-pressed="true"] .chip__weight { color: var(--on-ink-muted); }
.chip[aria-pressed="true"] .chip__dots i { background: rgba(238, 240, 239, .25); }
.chip[aria-pressed="true"] .chip__dots i.on { background: var(--on-ink); }
.chip[aria-pressed="true"] .chip__icon { border-color: rgba(238, 240, 239, .35); transform: rotate(180deg); }
.chip[aria-pressed="true"] .chip__icon::after { transform: rotate(0deg); }
.chip[aria-pressed="true"]:hover { transform: none; box-shadow: none; }
.chip.is-source { opacity: .35; transform: none; box-shadow: none; }
.chip--ghost {
  position: fixed;
  margin: 0;
  z-index: 250;
  pointer-events: none;
  box-shadow: 0 24px 50px -22px rgba(17, 26, 34, .5);
  border-color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  will-change: transform;
}
.chip--ghost.is-over { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-muted), 0 24px 50px -22px rgba(17, 26, 34, .5); }
.is-dragging, .is-dragging * { cursor: grabbing !important; }

.lab__readout {
  margin-top: clamp(22px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px var(--gap);
  align-items: start;
}
.lab__state-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lab__state-value {
  margin-top: 6px;
  font-size: clamp(1.5rem, 1rem + 1.25vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  min-height: 1.1em;
}
.lab__sums { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.lab__sums-sep { opacity: .6; }
.lab__meaning { font-size: 16.5px; line-height: 1.5; max-width: 38ch; padding-top: 22px; }
.lab__note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 22px 0 0 16px;
  border-left: 1px solid var(--line-strong);
  max-width: 36ch;
}

/* 04 Ablauf */
.steps__track {
  grid-column: 1 / -1;
  position: relative;
  margin-top: clamp(56px, 7vw, 110px);
}
.steps__line { position: absolute; overflow: visible; pointer-events: none; }
.steps__line--h { left: 7px; top: 1px; height: 12px; width: calc((100% + var(--gap)) * .75); }
.steps__line--v { display: none; }
.steps__path-bg { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 6; }
.steps__path { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.step { position: relative; padding-top: 52px; padding-right: 8px; display: flex; flex-direction: column; }
.step__node {
  position: absolute;
  left: 0; top: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--ink);
}
.step__no { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step__title {
  margin-top: 10px;
  font-size: clamp(1.5rem, 1rem + 1.1vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.step__text { margin-top: 14px; margin-bottom: 18px; color: var(--ink-soft); max-width: 32ch; font-size: 16.5px; }
.step__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.step__meta .tag { vertical-align: 0; }

/* 05 Ruhe */
.quiet {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(140px, 20vw, 300px);
}
.quiet__eyebrow { grid-column: 1 / -1; color: var(--on-ink-muted); }
.quiet__eyebrow .eyebrow__idx { color: var(--on-ink); border-right-color: rgba(238, 240, 239, .25); }
.quiet__text {
  grid-column: 2 / 12;
  margin-top: clamp(36px, 5vw, 64px);
  font-size: clamp(2.05rem, .9rem + 3.9vw, 5.3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 21ch;
  text-wrap: balance;
}
.quiet__text em.serif { color: var(--accent-muted); font-size: 1.1em; }
.quiet__sign { grid-column: 2 / 12; margin-top: clamp(36px, 5vw, 64px); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }

/* 06 Team */
.team__list {
  grid-column: 1 / -1;
  margin-top: clamp(56px, 7vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) var(--gap);
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--panel);
  aspect-ratio: 4 / 5;
}
.photo--wide { aspect-ratio: 3 / 2; }
.photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.photo.has-photo img { opacity: 1; }
.photo__fallback {
  position: absolute;
  inset: 0;
  color: rgba(17, 26, 34, .13);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .35), transparent 60%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-deep) 100%);
}
.photo__pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo__mono {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-58%);
  text-align: center;
  font-size: clamp(5rem, 3rem + 5vw, 8.5rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.photo__beam {
  position: absolute;
  left: 18%; right: 18%; top: 79%;
  height: 1.5px;
  background: var(--ink);
  transform: rotate(var(--tilt, 0deg));
}
.photo__beam::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--panel-deep);
}
.person__photo[data-tilt="-4"] { --tilt: -4deg; }
.person__photo[data-tilt="4"] { --tilt: 4deg; }
.person__body { margin-top: 22px; }
.person__role { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.person__name { margin-top: 8px; font-size: clamp(1.4rem, 1rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.person__quote { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }
.person__facts { margin-top: 18px; }
.person__facts div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.person__facts div:last-child { border-bottom: 1px solid var(--line); }
.person__facts dt { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.person__facts dd { font-size: 15.5px; }

/* 07 Kosten */
.fees__list {
  grid-column: 1 / -1;
  margin-top: clamp(56px, 7vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.fee {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(238, 240, 239, .7);
}
.fee__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fee__name { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.fee__mode { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fee__price {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 10px;
  margin-top: clamp(24px, 3vw, 40px);
  min-height: clamp(3.4rem, 2rem + 3.2vw, 5.4rem);
}
.fee__cur { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); color: var(--muted); font-weight: 400; line-height: 1; padding-bottom: .36em; }
.odo {
  display: inline-flex;
  font-size: clamp(3.4rem, 2rem + 3.2vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.odo__d { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -10%)); }
.odo__strip span { display: block; height: 1em; line-height: 1; }
.fee__unit { font-size: 15px; color: var(--muted); line-height: 1; padding-bottom: .8em; }
.fee__price .tag { align-self: flex-end; margin-bottom: .95em; }
.fee__word { font-size: clamp(1.9rem, 1.1rem + 1.8vw, 2.9rem); font-weight: 450; letter-spacing: -0.035em; line-height: 1.05; }
.fee__word .serif { color: var(--muted); font-size: 1.05em; }
.fee__text { margin-top: 18px; color: var(--ink-soft); font-size: 16px; max-width: 36ch; }
.fee__points { margin-top: auto; padding-top: 26px; }
.fee__points li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.fee__points li::before {
  content: '';
  position: absolute;
  left: 1px; top: 1.05em;
  width: 7px; height: 7px;
  border: 1.3px solid var(--ink);
  border-radius: 50%;
}
.fees__note { grid-column: 1 / -1; margin-top: 22px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

/* 08 Fragen */
.faq { padding-bottom: clamp(40px, 5vw, 80px); }
.faq__head { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.faq__head .eyebrow { padding-top: 0; }
.faq__head .h2 { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.8rem); }
.faq__list { grid-column: 7 / 13; border-bottom: 1px solid var(--line-strong); align-self: start; margin-top: 6px; }
.qa { border-top: 1px solid var(--line-strong); }
.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  min-height: 44px;
  cursor: pointer;
  font-size: clamp(17.5px, 1rem + .35vw, 20.5px);
  font-weight: 450;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__q { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.qa__icon { flex: none; position: relative; width: 22px; height: 22px; }
.qa__icon::before, .qa__icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  margin: -0.75px 0 0 -7px;
  background: var(--ink);
  transition: transform .5s var(--ease);
}
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 3em 26px 0; color: var(--ink-soft); max-width: 60ch; font-size: 16.5px; }

/* 09 Erstgespräch */
.contact { padding-bottom: clamp(96px, 10vw, 160px); }
.contact__intro { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.contact__intro .chapter__intro { max-width: 44ch; }
.office { margin-top: clamp(12px, 2vw, 28px); }
.photo__fallback--office { color: rgba(17, 26, 34, .22); }
.office__plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.office__num {
  position: absolute;
  left: 20px; bottom: 14px;
  font-size: clamp(2.6rem, 1.5rem + 2.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}
.office__name { position: absolute; right: 20px; bottom: 18px; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); color: var(--ink); }
.office__facts { margin-top: 22px; }
.office__facts div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.office__facts div:last-child { border-bottom: 1px solid var(--line); }
.office__facts dt { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 3px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.office__facts dt .tag { vertical-align: 0; letter-spacing: .06em; }
.office__facts dd { font-size: 15.5px; }
.office__facts a { text-underline-offset: 4px; text-decoration-color: var(--line-strong); }

.contact__form-wrap { grid-column: 7 / 13; align-self: start; }
.form, .form-success {
  padding: clamp(22px, 3vw, 44px);
  border-radius: 8px;
  background: var(--panel);
}
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form__kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 14.5px; font-weight: 500; }
.field__opt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--canvas);
  font-size: 16px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { padding: 14px 16px; resize: vertical; min-height: 132px; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(17, 26, 34, .45); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.field__hint { font-size: 11px; color: var(--muted); }
.field__error { font-size: 13.5px; color: var(--error); min-height: 0; font-weight: 500; }
.field__error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.45; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--canvas);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .25s, border-color .25s;
}
.check input::after {
  content: '';
  width: 6px; height: 11px;
  margin-top: -3px;
  border-right: 2px solid var(--on-ink);
  border-bottom: 2px solid var(--on-ink);
  transform: rotate(45deg) scale(0);
  transition: transform .3s var(--ease);
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check label { cursor: pointer; padding-top: 2px; }
.check label a { text-underline-offset: 3px; }
.check { position: relative; }
.check input { position: relative; }
.check input::before { content: ''; position: absolute; inset: -10px; }
.field__error--check { margin-top: -8px; padding-left: 36px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.form__demo { font-size: 11.5px; color: var(--muted); }
.form-success { display: grid; gap: 18px; justify-items: start; }
.form-success[hidden] { display: none; }
.form-success__mark { width: 120px; height: 60px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.form-success__mark circle { fill: var(--accent); stroke: var(--panel); stroke-width: 2; }
.form-success__title { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.form-success p { max-width: 46ch; color: var(--ink-soft); }
.form-success strong { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.footer__top { row-gap: 40px; }
.footer__claim { grid-column: 1 / 7; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__line { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; max-width: 16ch; }
.footer__line em.serif { font-size: 1.1em; }
.footer__col { font-size: 15px; line-height: 1.7; }
.footer__col--a { grid-column: 7 / 10; justify-self: end; }
.footer__col--b { grid-column: 10 / 12; justify-self: end; }
.footer__col--c { grid-column: 12 / 13; justify-self: end; }
.footer__label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.footer__col a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); display: inline-block; padding: 2px 0; }
.footer__col a:hover { background-size: 100% 1px; }
.footer__word {
  margin-top: clamp(48px, 7vw, 100px);
  font-size: clamp(5rem, 24.5vw, 22rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: .78;
  color: var(--panel-deep);
  user-select: none;
  white-space: nowrap;
  margin-left: -.04em;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 22px 0 28px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.footer__bottom a { color: var(--ink); text-underline-offset: 4px; }

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__cta { margin-left: auto; }
  .site-header__cta + .menu-toggle { margin-left: 0; }
}
@media (max-width: 1100px) {
  .lab__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lab__scale { grid-column: 1 / -1; grid-row: 1; max-width: 640px; width: 100%; justify-self: center; }
  .lab__readout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lab__state { grid-column: 1 / -1; }
  .lab__meaning { padding-top: 0; }
  .lab__note { padding-top: 0; }
  .team__list { gap: 40px 20px; }
  .person__facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 899.98px) {
  :root { --header-h: 64px; }
  .chapter__head .eyebrow, .chapter__head .h2, .chapter__intro { grid-column: 1 / -1; }
  .chapter__head .eyebrow { padding-top: 0; }
  .chapter__head { row-gap: 20px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-rows: auto; }
  .hero__text, .hero__figure { grid-column: 1 / -1; grid-row: auto; }
  .hero__figure { margin-right: 0; max-width: 560px; justify-self: center; width: 100%; }

  .area__btn { grid-template-columns: 52px minmax(0, 1fr) 40px; align-items: start; row-gap: 8px; }
  .area__no { grid-column: 1; grid-row: 1; padding-top: .9em; }
  .area__name { grid-column: 2; grid-row: 1; }
  .area__tags { grid-column: 2; grid-row: 2; }
  .area__icon { grid-column: 3; grid-row: 1; margin-top: 2px; }
  .area__name-sub { display: block; margin: 6px 0 0; vertical-align: 0; font-size: .5em; }
  .area__inner { grid-template-columns: 52px minmax(0, 1fr); column-gap: var(--gap); }
  .area__col:first-child, .area__col:last-child { grid-column: 2 / 3; }
  .area__col:first-child { padding-bottom: 20px; }
  .area__btn:hover .area__name, .area.is-open .area__name { transform: none; }

  .lab__case { grid-template-columns: minmax(0, 1fr); }

  .steps__line--h { display: none; }
  .steps__line--v { display: block; left: 1px; top: 7px; width: 12px; height: calc(100% - 40px); }
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .step { padding-top: 0; padding-left: 44px; }
  .step__title { margin-top: 6px; }

  .quiet__text, .quiet__sign { grid-column: 1 / -1; }

  .team__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .fees__list { grid-template-columns: minmax(0, 1fr); max-width: 560px; }

  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__list { margin-top: 40px; }

  .contact__intro, .contact__form-wrap { grid-column: 1 / -1; }
  .contact__form-wrap { margin-top: 48px; }

  .footer__claim { grid-column: 1 / -1; }
  .footer__col--a, .footer__col--b, .footer__col--c { grid-column: span 4; justify-self: start; }
}
@media (max-width: 640px) {
  .site-header__cta { display: none; }
  .menu-toggle, .site-header__cta + .menu-toggle { margin-left: auto; }
  .brand__sub { display: none; }
  .eyebrow__more { display: none; }
  .hero__title { font-size: clamp(2.6rem, 12.4vw, 3.6rem); line-height: 1; max-width: none; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { flex-direction: column; gap: 8px; }
  .hero__meta li { border-right: 0; padding-right: 0; margin-right: 0; }
  .hero__caption span:last-child { text-align: right; }
  .sc-line { stroke-width: 2.4; }
  .sc-fine { stroke-width: 1.5; }
  .sc-label { font-size: 21px; }
  .tok text { font-size: 20px; }

  .area__btn { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .area__inner { grid-template-columns: 40px minmax(0, 1fr); }
  .area__no { font-size: 11px; }
  .area__cases li, .area__do { font-size: 16px; }

  .lab__bar { flex-wrap: wrap; align-items: center; }
  .lab__tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .lab__tab { font-size: 11.5px; letter-spacing: .05em; }
  .lab__reset { order: -1; margin-left: auto; min-height: 36px; }
  .lab__panel { padding: 18px 14px 22px; border-radius: 6px; }
  .lab__stage { gap: 10px; align-items: start; }
  .lab__side-title { font-size: 10.5px; margin-bottom: 10px; }
  .chip { padding: 11px 10px 10px 12px; font-size: 14px; min-height: 60px; grid-template-columns: minmax(0, 1fr); }
  .chip__icon { display: none; }
  .chip__weight { gap: 6px; font-size: 9.5px; }
  .chip__dots i { width: 7px; }
  .lab__readout { grid-template-columns: minmax(0, 1fr); }
  .lab__note { border-left: 0; padding-left: 0; padding-top: 14px; border-top: 1px solid var(--line); }

  .team__list { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .person__photo { aspect-ratio: 1 / 1; }
  .person__photo img { object-position: 50% 22%; }
  .photo__beam { top: 82%; }
  .person__facts div { grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; }

  .fee__price { min-height: 0; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .office__facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .qa__a p { padding-right: 0; }
  .footer__col--a { grid-column: 1 / -1; }
  .footer__col--a, .footer__col--b, .footer__col--c { justify-self: start; }
  .footer__col--b { grid-column: 1 / 7; }
  .footer__col--c { grid-column: 7 / 13; }
  .footer__top { row-gap: 32px; }
  .form__submit .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient__grid, .ambient__fibre, .grain { animation: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
