:root {
  --paper: #ffffff;
  --paper-light: #ffffff;
  --kicker: #f5f6f1;
  --ink: #25350e;
  --ink-deep: #1a2408;
  --text: #2a2a2a;
  --ink-soft: rgba(42, 42, 42, 0.58);
  --line: rgba(37, 53, 14, 0.12);
  --sage: #dddbc3;
  --mist: #edecd3;
  --lilac: #d4c6ea;
  --gold: #e3c24a;
  --white: #fff;
  --danger: #9d2f22;
  --success: #236744;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-accent: "Space Grotesk", var(--font-body);
  --shell: 1220px;
  --gutter: clamp(1.25rem, 4.2vw, 3rem);
  --section-space: clamp(4.75rem, 10vw, 9rem);
  --header-height: 4.35rem;
  --radius: 1.15rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1.7rem;
  font-size: clamp(3.5rem, 7.1vw, 4.5rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.65rem);
}

h1 em {
  font-style: italic;
  font-weight: 400;
}

h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.projects-section {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

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

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: var(--header-height);
  background: transparent;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  width: min(100% - 2.5rem, 1320px);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark,
.footer-wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.728rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.wordmark {
  display: inline-flex;
  align-items: center;
}

.brand-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wordmark-agentic-mark {
  display: block;
  flex: none;
  height: 0.92em;
  width: auto;
  max-width: 11.25rem;
  fill: currentColor;
}

.footer-wordmark .wordmark-agentic-mark {
  height: 0.78em;
  max-width: min(22rem, 86vw);
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 3.456rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 761px) {
  .wordmark {
    position: relative;
    z-index: 2;
  }

  .primary-nav {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    pointer-events: none;
  }

  .nav-links,
  .nav-actions {
    pointer-events: auto;
  }

  .nav-links {
    grid-column: 2;
  }

  .nav-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.15rem;
  }
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.primary-nav a:not(.nav-cta):hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.nav-contact {
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.45rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--ink-deep);
}

.button-ghost {
  gap: 0.4rem;
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--kicker);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.7rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  margin-block: 0.3rem;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 8.26rem);
  padding-bottom: 0;
}

.hero-wavegrid {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -7rem;
  z-index: 0;
  display: block;
  width: 100%;
  height: calc(100% + 7rem);
  pointer-events: none;
  mask-image: radial-gradient(ellipse 78% 92% at 50% 16%, #000 0%, #000 50%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 16%,
    #000 0%,
    #000 50%,
    rgba(0, 0, 0, 0.72) 68%,
    transparent 100%
  );
}

.hero-copy,
.hero-still,
.hero-inbox,
.hero-visual,
.hv-hero-image,
.about-intro,
.stats {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 2rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--kicker);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-kicker:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.hero-copy h1 {
  width: max-content;
  max-width: 100%;
  margin-bottom: 2rem;
  text-wrap: wrap;
}

.hero-rotate {
  display: inline;
  text-align: left;
}

.hero-rotate-word {
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

.hero-rotate-word.is-out {
  opacity: 0;
}

.hero-term {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-still {
  --still-gap: 5.75%;
  --still-stair: 26%;
  --still-facade: 37%;
  --still-portrait: 25.5%;
  position: relative;
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  aspect-ratio: 58 / 30;
  margin: 5.75rem auto 0;
}

.hero-still-item {
  position: absolute;
  margin: 0;
}

.hero-still-stairwell {
  left: 0;
  top: 16%;
  z-index: 2;
  width: var(--still-stair);
  height: 72%;
  border-radius: 0.5rem;
}

.hero-still-stairwell img {
  object-position: 50% 42%;
}

.hero-still-facade {
  left: calc(var(--still-stair) + var(--still-gap));
  top: 0;
  z-index: 1;
  width: var(--still-facade);
  height: 92%;
  border-radius: 1.15rem;
}

.hero-still-facade img {
  object-position: 78% 50%;
}

.hero-still-portrait {
  left: calc(var(--still-stair) + var(--still-facade) + 2 * var(--still-gap));
  right: auto;
  top: 9%;
  z-index: 2;
  width: var(--still-portrait);
  height: 56%;
  border-radius: 0;
  clip-path: polygon(
    1.15rem 0,
    calc(100% - 1.15rem) 0,
    100% 1.15rem,
    100% calc(100% - 1.15rem),
    calc(100% - 1.15rem) 100%,
    1.15rem 100%,
    0 calc(100% - 1.15rem),
    0 1.15rem
  );
}

.hero-still-portrait img {
  object-position: 50% 18%;
}

.hero-collage {
  width: 100%;
  overflow: hidden;
  margin-top: 6.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.hero-collage[hidden] {
  display: none;
}

.hero-collage[hidden] .hero-collage-track {
  animation: none;
}

.hero-collage-track {
  display: flex;
  width: max-content;
  animation: hero-collage-marquee 52s linear infinite;
}

.hero-collage-set {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  padding-right: 1.7rem;
}

.collage-item {
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  background: var(--kicker);
}

.collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.collage-tall {
  width: 15rem;
  height: 20rem;
  border-radius: 0.5rem;
}

.collage-wide {
  width: 17.5rem;
  height: 13.25rem;
  border-radius: 0.75rem;
}

.collage-doodle {
  display: grid;
  place-items: center;
  width: 13.6rem;
  height: 13.6rem;
  padding: 1.05rem;
  border-radius: 0;
  background: #fff;
}

.collage-doodle img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.hero-still .hero-still-portrait {
  width: var(--still-portrait);
  height: 56%;
}

.hero-target {
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  height: clamp(19rem, 31vw, 24rem);
  margin: 5.75rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1.42fr 0.94fr;
  align-items: center;
  gap: clamp(0.9rem, 2.3vw, 1.75rem);
}

.hero-target-panel {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-target-panel img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-target-automation {
  align-self: end;
  height: 76%;
  margin-bottom: 3%;
  background: var(--kicker);
}

.hero-target-door {
  height: 100%;
}

.hero-target-door img {
  object-position: 50% 52%;
}

.hero-target-portrait {
  align-self: start;
  height: 62%;
  margin-top: 11%;
}

.hero-target-portrait img {
  object-position: 50% 42%;
}

.hero-inbox {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-inbox-bg {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  filter: blur(18px) saturate(0.88) brightness(1.05);
}

.hero-inbox::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(37, 53, 14, 0.1));
  pointer-events: none;
}

.hero-inbox-track {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.42rem;
  width: 100%;
  height: 100%;
  padding: 0.7rem 0.35rem;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-inbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: min(88%, 13.25rem);
  margin: 0;
  padding: 0.5rem 0.52rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(26, 36, 8, 0.16);
  backdrop-filter: blur(8px);
}

.hero-inbox-item strong,
.hero-inbox-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-inbox-item > div {
  min-width: 0;
}

.hero-inbox-item strong {
  color: var(--ink-deep);
  font-size: clamp(0.56rem, 0.78vw, 0.66rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-inbox-item small {
  margin-top: 0.1rem;
  color: var(--ink-soft);
  font-size: clamp(0.48rem, 0.68vw, 0.58rem);
}

.hero-inbox-status {
  position: relative;
  flex-shrink: 0;
  width: 5.1rem;
  height: 1.2rem;
}

.hero-inbox-pill {
  position: absolute;
  top: 50%;
  right: 0;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) scale(0.86);
}

.hero-inbox-pill.is-assigned {
  background: var(--gold);
  color: var(--ink-deep);
}

.hero-inbox-pill.is-new {
  background: var(--lilac);
  color: var(--ink-deep);
}

.hero-inbox-pill.is-done {
  background: var(--success);
  color: var(--white);
}

.hero-inbox-item:nth-child(odd) .hero-inbox-pill.is-done,
.hero-inbox-item:nth-child(even) .hero-inbox-pill.is-assigned {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inbox-item {
    --lane: 50%;
    --x-from: -0.45rem;
    --x-mid: 0.35rem;
    --x-to: -0.15rem;
    position: absolute;
    left: var(--lane);
    top: 0;
    width: min(88%, 13.25rem);
    translate: calc(-50% + var(--x-from)) 0;
    animation: hero-inbox-fall 13.2s linear infinite;
  }

  .hero-inbox-item:nth-child(1) {
    --lane: 47%;
    --x-from: -0.3rem;
    --x-mid: 0.45rem;
    --x-to: -0.1rem;
    animation-delay: 0s;
  }

  .hero-inbox-item:nth-child(2) {
    --lane: 55%;
    --x-from: 0.15rem;
    --x-mid: -0.5rem;
    --x-to: 0.2rem;
    animation-delay: -3.3s;
  }

  .hero-inbox-item:nth-child(3) {
    --lane: 43%;
    --x-from: 0.35rem;
    --x-mid: -0.2rem;
    --x-to: 0.55rem;
    animation-delay: -6.6s;
  }

  .hero-inbox-item:nth-child(4) {
    --lane: 57%;
    --x-from: -0.45rem;
    --x-mid: 0.2rem;
    --x-to: -0.35rem;
    animation-delay: -9.9s;
  }

  .hero-inbox-pill {
    animation-duration: 13.2s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
  }

  .hero-inbox-item:nth-child(1) .hero-inbox-pill {
    animation-delay: 0s;
  }

  .hero-inbox-item:nth-child(2) .hero-inbox-pill {
    animation-delay: -3.3s;
  }

  .hero-inbox-item:nth-child(3) .hero-inbox-pill {
    animation-delay: -6.6s;
  }

  .hero-inbox-item:nth-child(4) .hero-inbox-pill {
    animation-delay: -9.9s;
  }

  .hero-inbox-item .hero-inbox-pill.is-new {
    animation-name: hero-inbox-pill-new;
  }

  .hero-inbox-item[data-resolve="done"] .hero-inbox-pill.is-assigned {
    animation-name: hero-inbox-pill-assigned;
  }

  .hero-inbox-item[data-resolve="done"] .hero-inbox-pill.is-done {
    animation-name: hero-inbox-pill-done;
  }

  .hero-inbox-item[data-resolve="assigned"] .hero-inbox-pill.is-assigned {
    animation-name: hero-inbox-pill-assigned-only;
  }

  .hero-inbox-item[data-resolve="assigned"] .hero-inbox-pill.is-done {
    animation-name: none;
    opacity: 0;
  }
}

@keyframes hero-inbox-fall {
  0% {
    top: -22%;
    opacity: 0;
    translate: calc(-50% + var(--x-from)) 0;
  }
  8% {
    opacity: 1;
  }
  50% {
    translate: calc(-50% + var(--x-mid)) 0;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: 108%;
    opacity: 0;
    translate: calc(-50% + var(--x-to)) 0;
  }
}

@keyframes hero-inbox-pill-new {
  0%,
  10% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  16%,
  42% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  48%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
}

@keyframes hero-inbox-pill-assigned {
  0%,
  46% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  52%,
  63% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  66%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
}

@keyframes hero-inbox-pill-done {
  0%,
  69% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  75%,
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes hero-inbox-pill-assigned-only {
  0%,
  44% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  52%,
  88% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
}

.hero-visual[hidden] {
  display: none;
}

.hero-tiles {
  --hero-blue: #8aaec0;
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  height: clamp(18.5rem, 33vw, 26rem);
  margin: 5.75rem auto 0;
  display: grid;
  grid-template-columns: 0.92fr 2.15fr 0.62fr 0.98fr;
  gap: 0.65rem;
}

.hero-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  height: 100%;
  border-radius: 0;
}

.hero-tile-tech {
  display: flex;
  min-width: 0;
  background: var(--kicker);
}

.hero-board {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(37, 53, 14, 0.1));
  pointer-events: none;
}

.hero-board-card {
  position: absolute;
  left: 20%;
  top: 40%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.7rem;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(26, 36, 8, 0.16);
}

.hero-board-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.6rem 0.42rem;
  border-bottom: 1px solid var(--line);
}

.hero-board-title {
  color: var(--ink-deep);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-board-meta {
  color: var(--ink-soft);
  font-size: 0.58rem;
}

.hero-board-meta b {
  color: var(--ink-deep);
  font-weight: 650;
}

.hero-board-live {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--success);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-board-live i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 22%, transparent);
}

.hero-board-cols,
.hero-board-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 4.75rem 3.35rem minmax(0, 1.35fr) 2.55rem;
  gap: 0.32rem;
  align-items: center;
  padding: 0 0.55rem;
}

.hero-board-cols {
  flex-shrink: 0;
  padding-top: 0.32rem;
  padding-bottom: 0.28rem;
  color: var(--ink-soft);
  font-size: 0.5rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-board-rows {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.hero-board-row {
  flex-shrink: 0;
  min-height: 1.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink-deep);
  font-size: 0.6rem;
  line-height: 1.2;
}

.hero-board-row strong {
  overflow: hidden;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-board-row span,
.hero-board-row time {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-board-status {
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  padding: 0.14rem 0.38rem;
  border-radius: 999px;
  color: var(--ink-deep);
  font-size: 0.5rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  background: var(--kicker);
}

.hero-board-status[data-status="neu"] {
  background: color-mix(in srgb, var(--ink) 12%, white);
}

.hero-board-status[data-status="zugeordnet"] {
  background: var(--gold);
}

.hero-board-status[data-status="arbeit"] {
  color: var(--white);
  background: var(--ink);
}

.hero-board-status[data-status="erledigt"] {
  color: var(--white);
  background: var(--success);
}

.hero-board-type {
  color: var(--ink-deep) !important;
  font-weight: 550;
}

.hero-board-row.is-enter {
  animation: hero-board-in 0.48s ease;
}

.hero-board-row.is-flash .hero-board-status {
  animation: hero-board-pop 0.45s ease;
}

.hero-board-status[data-status="arbeit"]::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: hero-board-scan 1.5s linear infinite;
}

@keyframes hero-board-in {
  from {
    opacity: 0;
    transform: translateY(-0.55rem);
    background: color-mix(in srgb, var(--gold) 28%, white);
  }
}

@keyframes hero-board-pop {
  50% {
    transform: scale(1.06);
  }
}

@keyframes hero-board-scan {
  to {
    transform: translateX(280%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-board-live i {
    animation: hero-board-live 1.6s ease-in-out infinite;
  }
}

@keyframes hero-board-live {
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 8%, transparent);
  }
}

.hero-tile-blue {
  background: var(--hero-blue);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile-photo:first-child img {
  object-position: 50% 40%;
}

.hero-tile-photo:last-child img {
  object-position: 50% 30%;
}

.hero-tile .hero-inbox-bg {
  width: 136%;
  height: 136%;
}

.hero-flow {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0.85rem 0.8rem;
  overflow: hidden;
}

.hero-flow-kicker {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-flow-list {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
}

.hero-flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 0.55rem;
  row-gap: 0.12rem;
  min-height: 0;
  padding: 0.55rem 0.6rem;
  background: var(--paper);
  animation: hero-flow-in 0.7s ease both;
}

.hero-flow-task {
  animation-delay: 0.18s;
}

.hero-flow-alert {
  animation-delay: 0.36s;
}

.hero-flow-kind {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-flow-item strong {
  grid-column: 2;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.25;
}

.hero-flow-status {
  grid-column: 2;
  position: relative;
  min-height: 0.95rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.hero-flow-status[data-flow-status] span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: hero-flow-status 7.5s ease-in-out infinite;
}

.hero-flow-status[data-flow-status] span:nth-child(2) {
  animation-delay: 2.5s;
}

.hero-flow-status[data-flow-status] span:nth-child(3) {
  animation-delay: 5s;
}

.hero-flow-task .hero-flow-status {
  color: var(--ink);
}

@keyframes hero-flow-in {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }
}

@keyframes hero-flow-status {
  0%,
  28%,
  100% {
    opacity: 0;
  }
  8%,
  22% {
    opacity: 1;
  }
}

.collage-scallop {
  width: 13.25rem;
  height: 16.75rem;
  border-radius: 0;
  clip-path: polygon(1.35rem 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 0 100%, 0 1.35rem);
}

.collage-square {
  width: 16rem;
  height: 16rem;
  border-radius: 0.5rem;
}

.collage-grand {
  width: 16.5rem;
  height: 24rem;
  border-radius: 0.5rem;
}

.collage-short {
  width: 14.5rem;
  height: 11.5rem;
  border-radius: 0.35rem;
}

.collage-soft {
  width: 12.75rem;
  height: 17rem;
  border-radius: 1.15rem;
}

@keyframes hero-collage-marquee {
  to {
    transform: translateX(-50%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(6rem, 12vw, 9rem);
  padding-block: 1.85rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.stats p {
  margin: 0;
}

.stats p + p {
  border-left: 1px solid var(--line);
}

.stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.stats span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* Headings */
.section-heading {
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
}

.split-heading p {
  margin: 0 0 0.45rem;
  max-width: 20rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.45;
}

/* Projects */
.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  margin-bottom: 1.75rem;
}

.project-tabs button {
  position: relative;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-tabs button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.project-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.project-tabs button[aria-selected="true"]::after {
  opacity: 1;
}

.project-tabs button[aria-selected="true"].is-cycling::after {
  animation: project-tab-progress 5s linear forwards;
}

.project-browser.is-cycle-paused .project-tabs button[aria-selected="true"]::after {
  animation: none;
  transform: scaleX(1);
}

@keyframes project-tab-progress {
  to {
    transform: scaleX(1);
  }
}

.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 28rem;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--mist);
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.project-status,
.project-sector {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.project-content > p {
  max-width: 24rem;
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0;
}

.project-meta dt {
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.project-visual {
  position: relative;
  min-height: 22rem;
}

.project-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.project-placeholder-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Offer */
.audience-intro {
  text-align: center;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.audience-intro h2 {
  margin-bottom: 1.4rem;
}

.offer-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.offer-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 1.15rem;
  background: var(--ink);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.offer-card:hover img,
.offer-card[aria-selected="true"] img {
  transform: scale(1.035);
}

.offer-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  background: var(--paper-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.offer-card[aria-selected="true"] .offer-card-label {
  color: var(--paper);
  background: var(--ink);
}

.audience-panel {
  margin-top: 0.9rem;
}

.audience-panel[hidden] {
  display: none;
}

.workflow-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--sage);
}

.workflow-feature-kmu {
  background: var(--lilac);
}

.workflow-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.workflow-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.workflow-copy p {
  max-width: 26rem;
  margin: 0;
  color: var(--ink-soft);
}

.workflow-visual {
  position: relative;
  min-height: 26rem;
  background:
    linear-gradient(rgba(40, 54, 14, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 54, 14, 0.08) 1px, transparent 1px),
    color-mix(in srgb, var(--paper) 72%, transparent);
  background-size: 2.2rem 2.2rem;
}

.float-card {
  position: absolute;
  width: min(58%, 17rem);
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: var(--paper-light);
  box-shadow: 0 14px 30px rgba(40, 54, 14, 0.08);
  animation: float 7s ease-in-out infinite;
}

.float-card small,
.float-card strong {
  display: block;
}

.float-card small {
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.float-a {
  top: 16%;
  left: 10%;
}

.float-b {
  top: 42%;
  right: 8%;
  background: var(--gold);
  animation-delay: -2.2s;
}

.float-c {
  right: 18%;
  bottom: 12%;
  background: var(--lilac);
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.marquee {
  overflow: hidden;
  margin-top: clamp(2.2rem, 4vw, 3.5rem);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee[hidden] {
  display: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.6rem;
  animation: marquee 38s linear infinite;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.marquee-track span + span::before {
  content: "·";
  margin-right: 2.6rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Method */
.method-heading {
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.method-heading h2 {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.method-heading h2 em {
  font-style: italic;
  font-weight: 400;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.method-grid img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.15rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.method-grid h3 {
  margin-bottom: 0.4rem;
}

.method-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.method-note {
  width: fit-content;
  margin: 2rem 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.workflow-copy .button {
  margin-top: 1.4rem;
  align-self: flex-start;
  width: fit-content;
}

/* Hausverwaltungen */
.page-hv .hero-copy h1 {
  width: auto;
  max-width: none;
}

.hv-lead {
  max-width: 28rem;
  margin: -0.4rem auto 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.45;
}

.hv-hero-image {
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  margin: 5.75rem auto 0;
  overflow: hidden;
  border-radius: 1.15rem;
}

.hv-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 78% 50%;
}

.hv-path {
  display: grid;
}

.hv-step {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 2rem 2.5rem;
  padding-block: 2.15rem;
  border-top: 1px solid var(--line);
}

.hv-step:last-child {
  border-bottom: 1px solid var(--line);
}

.hv-step-index {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hv-step-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

.hv-step-copy p {
  max-width: 40rem;
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.hv-step-copy p:last-child {
  margin-bottom: 0;
}

.hv-optional {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hv-step details {
  max-width: 40rem;
  margin-top: 0.35rem;
}

.hv-step summary {
  width: fit-content;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  cursor: pointer;
}

.hv-step summary::-webkit-details-marker {
  display: none;
}

.hv-step details p {
  margin: 0.55rem 0 0;
}

.hv-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.hv-cases article {
  min-height: 15.5rem;
  padding: 1.4rem 1.3rem;
  border-radius: 1rem;
}

.hv-cases article:nth-child(4n + 1) {
  background: var(--sage);
}

.hv-cases article:nth-child(4n + 2) {
  background: var(--lilac);
}

.hv-cases article:nth-child(4n + 3) {
  background: var(--mist);
}

.hv-cases article:nth-child(4n) {
  background: var(--gold);
}

.hv-cases h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.hv-cases p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hv-principle {
  max-width: 18rem;
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.1vw, 2.25rem);
  font-style: italic;
  line-height: 1.15;
}

/* Proof */
.proof-section {
  padding-top: 0;
}

.proof-layout {
  position: relative;
}

.proof-kicker {
  max-width: 16rem;
  margin: 0 0 1.6rem auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.1vw, 2.25rem);
  font-style: italic;
  line-height: 1.15;
  text-align: right;
}

.proof-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.proof-card {
  margin: 0;
  min-height: 12.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: 1.1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-style: italic;
  line-height: 1.28;
}

.proof-card p {
  margin: 0;
}

.proof-lilac {
  background: var(--lilac);
}

.proof-gold {
  background: var(--gold);
}

/* Why */
.why-aside {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-style: italic;
  text-align: right;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-cards li {
  min-height: 13.5rem;
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
}

.why-cards li:nth-child(1) {
  background: var(--sage);
}

.why-cards li:nth-child(2) {
  background: var(--lilac);
}

.why-cards li:nth-child(3) {
  background: var(--mist);
}

.why-cards li:nth-child(4) {
  background: var(--gold);
}

.why-cards span {
  display: block;
  margin-bottom: 3.1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.why-cards h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.2rem 2.4rem 1.2rem 0;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  max-width: 38rem;
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

/* Über uns */
.page-about .hero {
  padding-top: calc(var(--header-height) + 3.4rem);
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.page-about .hero-wavegrid {
  bottom: 0;
  height: 100%;
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) 1.2fr;
  gap: 1.75rem 4rem;
  align-items: start;
}

.about-layout h1 {
  width: auto;
  margin: 0;
  text-align: left;
  font-size: clamp(2.6rem, 5.4vw, 3.55rem);
}

.about-prose {
  max-width: 38rem;
  text-align: left;
}

.about-prose p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

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

/* Contact */
.contact-section {
  padding-block: var(--section-space);
  background: var(--mist);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 0.9rem;
}

.contact-copy p {
  margin: 0;
  max-width: 26rem;
}

.contact-direct {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 1.1rem;
  background: var(--paper-light);
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.optional {
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.form-row input:focus,
.form-row textarea:focus {
  border-bottom-color: var(--ink);
  outline: none;
}

.form-row input[aria-invalid="true"] {
  border-bottom-color: var(--danger);
}

.form-submit {
  width: fit-content;
}

.form-submit:disabled {
  opacity: 0.6;
}

.form-privacy,
.form-message {
  margin: 0;
  font-size: 0.72rem;
}

.form-privacy {
  color: var(--ink-soft);
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--success);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100%, var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 3rem;
  align-items: start;
  text-align: left;
}

.footer-wordmark {
  margin-bottom: 0.7rem;
  font-size: 3.456rem;
}

.footer-brand-block p {
  margin: 0;
}

.footer-contact-block {
  justify-self: end;
  text-align: right;
}

.footer-contact-block address,
.footer-contact-block p {
  margin: 0 0 0.35rem;
}

.footer-contact-block p:last-child {
  margin-bottom: 0;
}

.footer-inner p,
.footer-inner address {
  font-size: 0.9rem;
  font-style: normal;
  color: var(--ink-soft);
}

.footer-direct {
  display: grid;
  gap: 0.15rem;
}

.footer-legal {
  margin: 1.75rem 0 0;
  font-size: 0.75rem;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-brand {
  justify-self: end;
  align-self: end;
  margin: 1.75rem 0 0;
  text-align: right;
  font-size: 0.68rem;
}

.reveal {
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .split-heading,
  .project-card,
  .offer-pair,
  .workflow-feature,
  .method-grid,
  .proof-cards,
  .why-cards,
  .faq-grid,
  .contact-grid,
  .hv-cases,
  .hv-step,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .method-heading h2,
  .why-aside,
  .proof-kicker {
    display: block;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
  }

  .method-heading h2 em {
    display: block;
    margin-top: 0.35rem;
  }

  .stats strong {
    font-size: 1.5rem;
  }

  .offer-card img {
    aspect-ratio: 4 / 3.4;
  }

  .hero-still {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
    aspect-ratio: 44 / 30;
  }

  .hero-target {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
    height: 21rem;
  }

  .hero-target .hero-inbox-item {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.22rem;
    min-height: 3rem;
  }

  .hero-target .hero-inbox-status {
    align-self: flex-end;
    width: 4.65rem;
    height: 0.9rem;
  }

  .hero-target .hero-inbox-pill {
    font-size: 0.48rem;
  }

  .hero-target .hero-inbox-item:nth-child(1) {
    --lane: 47%;
    --x-from: -0.18rem;
    --x-mid: 0.24rem;
    --x-to: -0.08rem;
  }

  .hero-target .hero-inbox-item:nth-child(2) {
    --lane: 53%;
    --x-from: 0.12rem;
    --x-mid: -0.25rem;
    --x-to: 0.14rem;
  }

  .hero-target .hero-inbox-item:nth-child(3) {
    --lane: 46%;
    --x-from: 0.2rem;
    --x-mid: -0.1rem;
    --x-to: 0.25rem;
  }

  .hero-target .hero-inbox-item:nth-child(4) {
    --lane: 54%;
    --x-from: -0.22rem;
    --x-mid: 0.1rem;
    --x-to: -0.18rem;
  }

  .hero-tiles {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
    height: 21.5rem;
    grid-template-columns: 0.85fr 1.9fr 0.6fr 0.9fr;
  }

  .hv-hero-image {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 3.9rem;
  }

  h1 {
    font-size: clamp(3.15rem, 12.4vw, 3.7rem);
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .nav-toggle span:first-child {
    transform: translateY(0.3rem) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:last-child {
    transform: translateY(-0.3rem) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.8rem;
    padding: 5rem var(--gutter);
    background: var(--ink-deep);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 0.8rem;
  }

  .site-header.nav-open,
  .site-header.nav-open .wordmark,
  .site-header.nav-open .nav-toggle {
    color: var(--paper);
    background: var(--ink-deep);
  }

  .site-header.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav a {
    font-family: var(--font-display);
    font-size: 2.3rem;
  }

  .primary-nav .nav-cta {
    margin-top: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4.55rem);
  }

  .page-about .hero {
    padding-top: calc(var(--header-height) + 2.35rem);
    padding-bottom: 1.5rem;
  }

  .hero-still {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    aspect-ratio: 22.5 / 28;
    margin-top: 3.5rem;
  }

  .hero-target {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    height: 15.5rem;
    margin-top: 3.5rem;
    gap: 0.42rem;
  }

  .hero-target-automation {
    align-self: end;
    height: 74%;
    margin-bottom: 3%;
  }

  .hero-target-portrait {
    align-self: start;
    height: 60%;
    margin-top: 1.65rem;
  }

  .hero-target-portrait img {
    object-position: 50% 38%;
  }

  .hero-target .hero-inbox-item {
    width: 84%;
    min-height: 2.8rem;
    padding: 0.35rem;
  }

  .hero-target .hero-inbox-item:nth-child(1) {
    --lane: 47%;
    --x-from: -0.12rem;
    --x-mid: 0.18rem;
    --x-to: -0.06rem;
  }

  .hero-target .hero-inbox-item:nth-child(2) {
    --lane: 53%;
    --x-from: 0.08rem;
    --x-mid: -0.2rem;
    --x-to: 0.1rem;
  }

  .hero-target .hero-inbox-item:nth-child(3) {
    --lane: 46%;
    --x-from: 0.16rem;
    --x-mid: -0.08rem;
    --x-to: 0.2rem;
  }

  .hero-target .hero-inbox-item:nth-child(4) {
    --lane: 54%;
    --x-from: -0.18rem;
    --x-mid: 0.08rem;
    --x-to: -0.14rem;
  }

  .hero-target .hero-inbox-item strong {
    font-size: 0.44rem;
  }

  .hero-target .hero-inbox-item small {
    display: none;
  }

  .hero-target .hero-inbox-status {
    align-self: flex-end;
    width: 3.15rem;
    height: 0.72rem;
  }

  .hero-target .hero-inbox-pill {
    padding: 0.11rem 0.24rem;
    font-size: 0.36rem;
  }

  .hero-tiles {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    height: 26.5rem;
    margin-top: 3.5rem;
    grid-template-columns: 1fr 1.25fr;
    grid-template-rows: 1fr 1fr 7.25rem;
  }

  .hero-tile-tech {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hero-tile-photo:last-child {
    grid-column: 1 / -1;
  }

  .hero-tile-photo:last-child img {
    object-position: 50% 32%;
  }

  .hero-board-cols,
  .hero-board-row {
    grid-template-columns: minmax(0, 1.15fr) 4.5rem 3.2rem;
    gap: 0.28rem;
  }

  .hero-board-cols span:nth-child(4),
  .hero-board-cols span:nth-child(5),
  .hero-board-row > span:nth-child(4),
  .hero-board-row time {
    display: none;
  }

  .hero-flow {
    gap: 0.4rem;
    padding: 0.7rem 0.6rem;
  }

  .hero-flow-item {
    padding: 0.45rem 0.5rem;
  }

  .hero-inbox-item {
    padding: 0.42rem 0.45rem;
    gap: 0.3rem;
  }

  .hero-inbox-item strong {
    font-size: 0.62rem;
  }

  .hero-inbox-item small {
    font-size: 0.52rem;
  }

  .hero-inbox-status {
    width: 4.85rem;
  }

  .hero-inbox-pill {
    font-size: 0.48rem;
    padding: 0.12rem 0.32rem;
  }

  .hv-hero-image {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    margin-top: 3.5rem;
  }

  .hv-hero-image img {
    aspect-ratio: 4 / 5;
    object-position: 70% 50%;
  }

  .hv-cases article {
    min-height: 0;
  }

  .hv-step {
    padding-block: 1.7rem;
    gap: 0.7rem;
  }

  .hero-still-stairwell {
    left: 0;
    top: 10%;
    width: 42%;
    height: 48%;
  }

  .hero-still-facade {
    left: auto;
    right: 0;
    top: 0;
    width: 50%;
    height: 62%;
  }

  .hero-still-portrait {
    left: 4%;
    right: auto;
    top: auto;
    bottom: 4%;
    width: 42%;
    height: 36%;
  }

  .hero-still .hero-still-portrait {
    width: 42%;
    height: 36%;
  }

  .hero-collage {
    margin-top: 3.75rem;
  }

  .collage-tall {
    width: 10.25rem;
    height: 13.5rem;
  }

  .collage-wide {
    width: 12rem;
    height: 9.25rem;
  }

  .collage-doodle {
    width: 9.5rem;
    height: 9.5rem;
    padding: 0.7rem;
  }

  .collage-scallop {
    width: 9.25rem;
    height: 11.75rem;
  }

  .collage-square {
    width: 11rem;
    height: 11rem;
  }

  .collage-grand {
    width: 11.25rem;
    height: 16.5rem;
  }

  .collage-short {
    width: 10rem;
    height: 8rem;
  }

  .collage-soft {
    width: 8.75rem;
    height: 11.5rem;
  }

  .stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stats p {
    padding-block: 0.85rem;
  }

  .stats p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow-visual {
    min-height: 20rem;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.2rem;
  }

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

  .footer-contact-block,
  .footer-brand {
    justify-self: start;
    text-align: left;
  }

  .footer-legal,
  .footer-brand {
    margin-top: 0.35rem;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hero-target .hero-inbox-item {
    width: calc(84% + 0.7rem);
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .project-tabs button[aria-selected="true"]::after {
    transform: scaleX(1);
  }

  .collage-item:hover img,
  .offer-card:hover img {
    transform: none;
  }

  .hero-flow-item,
  .hero-flow-status[data-flow-status] span {
    animation: none;
  }

  .hero-flow-status[data-flow-status] span:first-child {
    opacity: 1;
  }

  .hero-flow-status[data-flow-status] span:not(:first-child) {
    display: none;
  }

  .hero-collage-track {
    animation: none;
  }
}
