:root {
  --bg: #040404;
  --paper: #efede8;
  --paper-strong: #f7f5ef;
  --ink: #101010;
  --ink-soft: #3c3c3c;
  --text: #f6f3ee;
  --text-soft: rgba(246, 243, 238, 0.76);
  --accent: #8c0080;
  --accent-deep: #4f00af;
  --accent-warm: #e7d409;
  --accent-cold: #00b10c;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --container: min(1640px, calc(100vw - 40px));
  --header-height: 88px;
  --font-body: "Manrope", sans-serif;
  --font-display: "Urbanist", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    linear-gradient(180deg, #020202 0%, #020202 34%, #0a0a0a 48%, var(--paper) 48%, var(--paper) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(3, 3, 3, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.section-inner,
.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  --insight-card-height: clamp(320px, 34svh, 390px);
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: clamp(34px, 4vh, 56px);
  min-height: max(calc(100svh - var(--header-height)), 900px);
  padding: clamp(48px, 6.5vh, 82px) 0 clamp(24px, 3vh, 42px);
  z-index: 1;
  overflow: visible;
}

.hero-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: start;
  align-content: start;
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
}

.hero-copy h1 {
  margin: 0;
  max-width: 7.6ch;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8.2vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  --hero-step-x: 0ch;
  display: block;
  width: fit-content;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
}

.hero-copy h1 span:nth-child(2) {
  --hero-step-x: 3ch;
  margin-left: 3ch;
}

.hero-copy h1 span:nth-child(3) {
  --hero-step-x: 5ch;
  margin-left: 5ch;
}

.hero-copy h1 span:nth-child(4) {
  --hero-step-x: 7ch;
  margin-left: 7ch;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy .eyebrow,
.hero-copy h1 {
  position: relative;
  z-index: 1;
}

.hero-carousel {
  position: relative;
  z-index: 1;
}

.hero-headline {
  position: relative;
  display: inline-block;
  min-width: min(100%, 36rem);
  padding: 4px 140px 6px 0;
}

.hero-slides {
  position: relative;
  min-height: clamp(13.5rem, 24vw, 21rem);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.42s ease, transform 0.42s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.hero-wave {
  position: absolute;
  inset: -42px -320px -34px -86px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.78;
  mix-blend-mode: screen;
}

.hero-wave::before {
  content: "";
  position: absolute;
  inset: 14% 12% 18% 8%;
  background:
    radial-gradient(circle at 22% 54%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 60% 48%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 84% 44%, rgba(255, 255, 255, 0.1), transparent 28%);
  filter: blur(34px);
  opacity: 0.34;
}

.hero-wave canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-side {
  padding-top: 0;
}

.hero-copy-rail {
  position: relative;
  min-height: 10.6rem;
  margin-bottom: 4px;
}

.hero-lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(28px, 0, 0);
  transition: opacity 0.42s ease, transform 0.42s ease;
  pointer-events: none;
}

.hero-lead::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  margin: 0 0 14px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
}

.hero-lead.is-active {
  position: relative;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.hero-carousel-nav {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0.62;
}

.hero-carousel-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(246, 243, 238, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-carousel-trigger:hover,
.hero-carousel-trigger:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(246, 243, 238, 0.82);
}

.hero-carousel-trigger.is-active {
  border-color: rgba(231, 212, 9, 0.16);
  background: rgba(231, 212, 9, 0.035);
  color: rgba(246, 243, 238, 0.72);
  box-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
  will-change: transform, opacity;
}

.hero-lead {
  will-change: transform, opacity;
}

@keyframes hero-headline-rise {
  0% {
    opacity: 0;
    transform: translate3d(calc(-1 * var(--hero-step-x)), 138%, 0);
  }

  62% {
    opacity: 1;
    transform: translate3d(calc(-1 * var(--hero-step-x)), 0.04em, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-side-enter {
  0% {
    opacity: 0;
    transform: translate3d(88px, 0, 0);
  }

  72% {
    opacity: 1;
    transform: translate3d(-6px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #121212;
  border-color: rgba(231, 212, 9, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(238, 230, 181, 0.96) 0%, rgba(221, 204, 88, 0.92) 56%, rgba(183, 166, 38, 0.96) 100%);
  box-shadow: 0 14px 24px rgba(231, 212, 9, 0.14);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.insight-strip {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-self: end;
}

.insight-card {
  position: relative;
  min-height: var(--insight-card-height);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.88), var(--shadow);
  display: block;
  background: #0d0d0d;
  color: white;
  outline: none;
  cursor: pointer;
  transform-origin: center bottom;
  transition: transform 0.34s ease, box-shadow 0.34s ease;
  isolation: isolate;
  backface-visibility: hidden;
}

.insight-card:hover,
.insight-card:focus-visible,
.insight-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.92), 0 34px 86px rgba(0, 0, 0, 0.42);
}

.insight-card__copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 24px 22px;
  color: var(--card-ink, #ffffff);
  pointer-events: none;
}

.insight-card .label {
  display: block;
  margin-bottom: 28px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
  transition: margin-bottom 0.24s ease, opacity 0.24s ease;
}

.insight-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.08rem);
  line-height: 1.06;
  max-width: 11ch;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
  transition: font-size 0.24s ease, line-height 0.24s ease, max-width 0.24s ease;
}

.insight-card__media {
  position: relative;
  min-height: var(--insight-card-height);
  overflow: hidden;
  background: #050505;
  backface-visibility: hidden;
}

.insight-card__image {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
  transform: scale(1.01);
  will-change: transform;
  backface-visibility: hidden;
}

.insight-card__scrim {
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.34) 44%, rgba(0, 0, 0, 0.1)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.06) 34%, rgba(0, 0, 0, 0.82));
  opacity: 1;
  transition: opacity 0.45s ease, background 0.45s ease;
  z-index: 1;
}

.insight-card__summary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 18px 22px 22px;
  color: white;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.insight-card__summary p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.9);
  max-width: 29ch;
}

.insight-card__summary strong {
  display: inline-block;
  width: fit-content;
  font-size: 0.88rem;
  font-weight: 800;
}

.insight-card:hover .insight-card__image,
.insight-card:focus-visible .insight-card__image,
.insight-card:focus-within .insight-card__image {
  transform: scale(1.07);
}

.insight-card:hover .insight-card__summary,
.insight-card:focus-visible .insight-card__summary,
.insight-card:focus-within .insight-card__summary {
  opacity: 1;
  transform: translateY(0);
}

.insight-card:hover .label,
.insight-card:focus-visible .label,
.insight-card:focus-within .label {
  margin-bottom: 12px;
  opacity: 0.82;
}

.insight-card:hover h3,
.insight-card:focus-visible h3,
.insight-card:focus-within h3 {
  font-size: clamp(1.08rem, 1.25vw, 1.34rem);
  line-height: 1.12;
  max-width: 18ch;
}

.insight-card:hover .insight-card__scrim,
.insight-card:focus-visible .insight-card__scrim,
.insight-card:focus-within .insight-card__scrim {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.44) 44%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.92));
}

.insight-card--leistungen {
  --card-ink: #ffffff;
  --card-accent: var(--accent);
}

.insight-card--tech-stack {
  --card-ink: #ffffff;
  --card-accent: var(--accent-warm);
}

.insight-card--praxis {
  --card-ink: #ffffff;
  --card-accent: var(--accent);
}

.insight-card--kontakt {
  --card-ink: #ffffff;
  --card-accent: var(--accent);
}

.insight-card--kontakt .insight-card__image {
  object-position: 45% center;
}

@media (hover: none) {
  .insight-card {
    min-height: var(--insight-card-height);
  }

  .insight-card__summary {
    opacity: 1;
    transform: translateY(0);
  }

  .insight-card .label {
    margin-bottom: 12px;
    opacity: 0.82;
  }

  .insight-card h3 {
    font-size: clamp(1.08rem, 1.25vw, 1.34rem);
    line-height: 1.12;
    max-width: 18ch;
  }

  .insight-card__scrim {
    opacity: 1;
  }
}

.services-story {
  --service-count: 6;
  --service-top: clamp(86px, 9vh, 112px);
  --service-inline: clamp(28px, 4vw, 72px);
  --service-energy: 0;
  position: relative;
  z-index: 1;
  min-height: calc((var(--service-count) + 0.12) * 100svh);
  padding: 0;
  scroll-margin-top: 112px;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 14%, rgba(140, 0, 128, 0.24), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(231, 212, 9, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.98), rgba(4, 4, 4, 0.99));
  overflow: clip;
}

.services-story::before,
.services-story::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services-story::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 12%, rgba(0, 0, 0, 0.9) 88%, transparent);
  opacity: 0.34;
}

.services-story::after {
  background:
    radial-gradient(circle at 24% 50%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 78% 66%, rgba(255, 255, 255, 0.05), transparent 16%);
  filter: blur(46px);
  opacity: 0.66;
}

.services-story__track {
  min-height: inherit;
}

.services-story__sticky {
  position: sticky;
  top: var(--service-top);
  min-height: calc(100svh - var(--service-top));
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(circle at 14% 14%, rgba(140, 0, 128, 0.24), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(231, 212, 9, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.98), rgba(4, 4, 4, 0.99));
}

.services-story__shell {
  position: relative;
  width: 100%;
  min-height: calc(100% + var(--service-top));
  margin: calc(-1 * var(--service-top)) 0 0;
  padding: 0;
}

.services-story__intro {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 3;
  width: var(--container);
  margin: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.services-story__intro .eyebrow {
  margin: 0;
}

.services-story__viewport {
  position: relative;
  min-height: calc(100% + var(--service-top));
  height: calc(100% + var(--service-top));
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
}

.services-story__viewport::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(120px, 16vh, 180px);
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(33, 6, 31, 0.78), rgba(33, 6, 31, 0.42) 34%, rgba(33, 6, 31, 0));
}

@media (min-width: 1921px) {
  .services-story {
    background:
      radial-gradient(circle at 16% 6%, rgba(140, 0, 128, 0.3), transparent 30%),
      radial-gradient(circle at 84% 10%, rgba(231, 212, 9, 0.1), transparent 22%),
      linear-gradient(180deg, rgba(17, 7, 16, 0.98), rgba(4, 4, 4, 0.99));
  }

  .services-story__sticky {
    overflow: clip;
    background: transparent;
  }

  .services-story__shell {
    min-height: 100%;
    margin-top: 0;
  }

  .services-story__viewport {
    min-height: 100%;
    height: 100%;
  }

  .services-story__viewport::before {
    content: none;
  }
}

.services-story__wave {
  position: absolute;
  inset: -30% -8% auto -8%;
  height: 84%;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: none;
}

.services-story__wave::before {
  content: "";
  position: absolute;
  inset: 14% 6% 24%;
  background:
    radial-gradient(circle at 22% 58%, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 64% 44%, rgba(255, 255, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 50%, rgba(255, 255, 255, 0.1), transparent 24%);
  filter: blur(30px);
  opacity: 0.3;
}

.services-story__wave canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.service-panel {
  --item-opacity: 0;
  --item-scale: 0.96;
  --item-blur: 18px;
  --headline-opacity: 0;
  --headline-shift: 0px;
  --copy-opacity: 0;
  --copy-shift: 0px;
  --copy-rise: 18px;
  position: absolute;
  inset: clamp(30px, 4vw, 52px) var(--service-inline) clamp(34px, 4vw, 54px);
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: center;
  opacity: var(--item-opacity);
  transform: scale(var(--item-scale));
  filter: blur(var(--item-blur));
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.service-panel.is-active {
  pointer-events: auto;
}

.service-panel--reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.06fr);
}

.service-panel--reverse .service-panel__headline-wrap {
  order: 2;
  text-align: right;
  width: 100%;
  justify-self: stretch;
  justify-items: end;
}

.service-panel--reverse .service-panel__copy {
  order: 1;
  justify-self: start;
}

.service-panel__headline-wrap {
  display: grid;
  gap: 18px;
  align-content: center;
  transform: translate3d(var(--headline-shift), 0, 0);
  opacity: var(--headline-opacity);
  will-change: transform, opacity;
}

.service-panel__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-panel__index::before,
.service-panel__index::after {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.72));
}

.service-panel__index::after {
  content: none;
}

.service-panel--reverse .service-panel__index::before {
  content: none;
}

.service-panel--reverse .service-panel__index::after {
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18));
}

.service-panel__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-panel__headline span {
  display: block;
}

.service-panel__headline-accent {
  color: var(--paper-strong);
  text-shadow: 0 0 32px rgba(255, 255, 255, 0.08);
}

.service-panel--primary .service-panel__headline-accent {
  background: linear-gradient(135deg, var(--paper-strong), rgba(231, 212, 9, 0.96));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.service-panel__copy {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.2vw, 26px);
  max-width: 36rem;
  justify-self: end;
  padding: clamp(8px, 1.1vw, 14px) 0 clamp(10px, 1.2vw, 16px) clamp(24px, 3vw, 42px);
  transform: translate3d(var(--copy-shift), var(--copy-rise), 0);
  opacity: var(--copy-opacity);
  will-change: transform, opacity;
}

.service-panel__copy::before,
.service-panel__copy::after {
  content: "";
  position: absolute;
  left: 0;
  pointer-events: none;
}

.service-panel__copy::before {
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(231, 212, 9, 0.72), rgba(255, 255, 255, 0.12) 52%, rgba(140, 0, 128, 0.48));
}

.service-panel__copy::after {
  top: clamp(18px, 2vw, 26px);
  width: clamp(44px, 7vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 212, 9, 0.78), rgba(255, 255, 255, 0));
  transform: translateX(-50%);
}

.service-panel--primary .service-panel__copy {
  max-width: 38rem;
}

.service-panel__marker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 0;
  color: rgba(247, 245, 239, 0.92);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-panel--reverse .service-panel__copy {
  padding-right: clamp(24px, 3vw, 42px);
  padding-left: 0;
}

.service-panel--reverse .service-panel__copy::before,
.service-panel--reverse .service-panel__copy::after {
  right: 0;
  left: auto;
}

.service-panel--reverse .service-panel__copy::after {
  background: linear-gradient(270deg, rgba(231, 212, 9, 0.78), rgba(255, 255, 255, 0));
  transform: translateX(50%);
}

.service-panel__copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 1.15vw, 1.2rem);
  line-height: 1.72;
}

.service-panel__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-panel__points span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
}

.service-panel__points span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border: 1px solid rgba(231, 212, 9, 0.72);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.service-panel--reverse .service-panel__points span {
  padding-right: 0;
}

.service-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--paper-strong);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-panel__link::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
  color: white;
}

.section {
  position: relative;
  z-index: 1;
  padding: 104px 0;
}

.section[id] {
  scroll-margin-top: 112px;
}

.section-dark {
  color: var(--text);
  background:
    radial-gradient(circle at 84% 12%, rgba(203, 44, 255, 0.15), transparent 22%),
    linear-gradient(180deg, #090909, #070707);
}

.section-dark--compact-bottom {
  padding-bottom: clamp(22px, 3vw, 36px);
}

.section-dark--compact-top {
  padding-top: clamp(22px, 3vw, 36px);
}

.section-dark--seamless {
  background: linear-gradient(180deg, #070707, #070707);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 32px;
  margin-bottom: 42px;
  align-items: end;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-copy {
  margin: 0;
  color: inherit;
  opacity: 0.8;
  font-size: 1.05rem;
  line-height: 1.75;
}

.ai-llm-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(231, 212, 9, 0.08), transparent 22%),
    radial-gradient(circle at 84% 66%, rgba(59, 130, 246, 0.1), transparent 24%),
    linear-gradient(180deg, #070707, #060606);
}

.ai-llm-rows {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-llm-row {
  display: grid;
  grid-template-columns: minmax(56px, 0.16fr) minmax(0, 1fr) minmax(250px, 0.62fr);
  gap: clamp(22px, 4vw, 70px);
  align-items: start;
  padding: clamp(26px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-llm-row__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(246, 243, 238, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

.ai-llm-row__index::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 212, 9, 0.78), rgba(255, 255, 255, 0.14));
}

.ai-llm-row__body {
  display: grid;
  gap: 14px;
}

.ai-llm-row__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-llm-row__body p {
  margin: 0;
  max-width: 58rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.74;
}

.ai-llm-row__actions {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 24px;
}

.ai-llm-row__actions::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(231, 212, 9, 0.72), rgba(255, 255, 255, 0.12));
}

.ai-llm-row__actions span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 800;
  line-height: 1.42;
}

.ai-llm-row__actions span:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-llm-row__actions span::before {
  content: "";
  position: absolute;
  left: -28px;
  width: 9px;
  height: 9px;
  background: #070707;
  border: 1px solid rgba(231, 212, 9, 0.76);
}

.principle-grid,
.stack-grid {
  display: grid;
  gap: 20px;
}

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

.principle-card {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.principle-card .marker {
  width: 50px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.principle-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.principle-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.98rem;
}

.testimonial-section {
  padding-block: clamp(60px, 8vw, 100px);
}

.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.testimonial__overline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.testimonial__quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.testimonial__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.65;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.testimonial__quote p {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.72;
  color: var(--text);
  font-weight: 400;
}

.testimonial__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.testimonial__footer::before {
  content: '';
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial__author strong {
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
}

.testimonial__author span {
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.stack-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

.stack-panel {
  padding: 34px;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: 0 28px 80px rgba(16, 16, 16, 0.08);
}

.stack-panel p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.05);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.stack-aside {
  display: grid;
  gap: 16px;
}

.stack-panel--visual,
.stack-panel--dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.stack-panel--visual {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(320px, 1.05fr) auto;
}

.stack-panel--visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.stack-panel__body {
  display: grid;
  gap: 18px;
  padding: 30px 34px 34px;
}

.stack-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(246, 243, 238, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack-kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
}

.stack-panel__body h3,
.stack-panel--dark h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.stack-panel__body h3 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 0.92;
  max-width: none;
}

.stack-panel__body p,
.stack-panel--dark p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.98rem;
}

.stack-aside--tech {
  align-content: stretch;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  height: 100%;
}

.stack-panel--dark {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  height: 100%;
}

.stack-panel--dark::before {
  content: "";
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.stack-panel--dark h3 {
  font-size: 1.7rem;
  line-height: 0.94;
}

.stack-panel--ai-layer::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.tag-list--dark span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.85rem;
}


.quality-lite-section {
  position: relative;
  margin-top: -1px;
  background:
    radial-gradient(circle at 12% 22%, rgba(231, 212, 9, 0.055), transparent 22%),
    radial-gradient(circle at 86% 62%, rgba(59, 130, 246, 0.075), transparent 24%),
    linear-gradient(180deg, #050505, #060606);
}

.quality-lite {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}

.quality-lite__intro {
  display: grid;
  gap: 22px;
  align-content: start;
}

.quality-lite__intro .eyebrow {
  margin: 0;
}

.quality-lite__intro p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.04rem, 1.18vw, 1.18rem);
  line-height: 1.78;
}

.quality-lite__intro .btn {
  width: fit-content;
  margin-top: 4px;
}

.quality-lite__checks {
  position: relative;
  display: grid;
  padding-left: 32px;
}

.quality-lite__checks::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(231, 212, 9, 0.66), rgba(255, 255, 255, 0.1) 58%, rgba(140, 0, 128, 0.36));
}

.quality-lite__check {
  display: grid;
  grid-template-columns: 46px minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-lite__check span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgba(7, 7, 7, 0.96);
  border: 1px solid rgba(231, 212, 9, 0.28);
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  align-self: start;
  margin-top: 3px;
}

.quality-lite__check strong {
  color: var(--paper-strong);
  font-family: var(--font-display);
  font-size: clamp(1.24rem, 1.8vw, 1.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quality-lite__check p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.66;
}

.quality-lite__toolline {
  padding: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -14px;
}

.quality-lite__toolline span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(231, 212, 9, 0.1);
  background: rgba(231, 212, 9, 0.045);
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.quality-lite__observability {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: start;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-lite__observability-intro {
  display: grid;
  gap: 16px;
}

.quality-lite__observability-intro .eyebrow {
  margin: 0;
}

.quality-lite__observability h3 {
  margin: 0;
  color: var(--paper-strong);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quality-lite__observability-intro p,
.quality-lite__flow-step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.quality-lite__observability-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-lite__observability-flow::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 212, 9, 0.7), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.quality-lite__flow-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 178px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-lite__flow-step span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #060606;
  border: 1px solid rgba(231, 212, 9, 0.42);
  color: rgba(246, 243, 238, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
}

.quality-lite__flow-step strong {
  color: var(--paper-strong);
  font-size: 1rem;
  font-weight: 800;
}

.quality-lite__observability-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -18px;
}

.quality-lite__observability-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-left: 1px solid rgba(231, 212, 9, 0.52);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(246, 243, 238, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.quality-lite__observability-links a:hover,
.quality-lite__observability-links a:focus-visible {
  border-color: rgba(231, 212, 9, 0.9);
  background: rgba(231, 212, 9, 0.075);
  color: var(--paper-strong);
}

.reference-flow {
  --reference-count: 4;
  --reference-card-max-width: calc(67.57vw - 76px);
  --reference-edge-gutter: clamp(24px, 3vw, 56px);
  --reference-hover-scale: 1.48;
  position: relative;
  z-index: 1;
  min-height: calc((var(--reference-count) + 1.16) * 100svh);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #020202 0%, #050505 100%);
  overflow: clip;
}

.reference-flow::before,
.reference-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reference-flow::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 132px 132px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 0.92) 90%, transparent);
  opacity: 0.26;
}

.reference-flow::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(140, 0, 128, 0.2), transparent 24%),
    radial-gradient(circle at 82% 74%, rgba(231, 212, 9, 0.14), transparent 22%);
  filter: blur(54px);
  opacity: 0.72;
}

.reference-flow__track {
  min-height: inherit;
}

.reference-flow__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
}

.reference-flow__canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.reference-flow__title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.reference-flow__title h2 {
  margin: 0;
  width: min(88vw, 8.2ch);
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-wrap: balance;
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.46);
}

.reference-flow__title h2 span {
  display: block;
}

html.js .reference-flow__title {
  transform:
    translate(-50%, calc(-50% + var(--reference-title-shift, 0px)))
    scale(var(--reference-title-scale, 1));
  opacity: var(--reference-title-opacity, 1);
  will-change: transform, opacity;
}

.reference-flow__cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.reference-flow__hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.reference-flow__hint::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 3.5a2 2 0 1 1 4 0v5a2 2 0 0 1-4 0v-5z'/%3E%3Cpath d='M9.5 6.5h1a2 2 0 0 1 2 2v.5'/%3E%3Cpath d='M12.5 9h1a2 2 0 0 1 2 2v.5'/%3E%3Cpath d='M15.5 11.5h.5a2 2 0 0 1 2 2V17a6 6 0 0 1-6 6h-1.5A6.5 6.5 0 0 1 4 16.5v-4a2 2 0 0 1 2-2h3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
  flex-shrink: 0;
}

@media (hover: none) {
  .reference-flow__hint {
    display: none;
  }
}

.reference-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 34vw, 540px);
  max-width: var(--reference-card-max-width);
  aspect-ratio: 16 / 9;
  pointer-events: auto;
  opacity: 1;
  filter: none;
  transform: translate(-50%, -50%);
}

html.js .reference-card {
  opacity: var(--card-opacity, 0);
  filter: blur(var(--card-blur, 14px));
  transform:
    translate(-50%, -50%)
    translate3d(var(--card-shift-x, 0px), var(--card-shift-y, 0px), 0)
    scale(var(--card-scale, 1));
  will-change: transform, opacity, filter;
}

.reference-card:hover,
.reference-card:focus-visible,
.reference-card:focus-within {
  z-index: 20;
  outline: none;
}

.reference-card__shell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #090909;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.78), 0 28px 72px rgba(0, 0, 0, 0.4);
  transition: transform 0.34s ease, box-shadow 0.34s ease;
  outline: none;
  isolation: isolate;
  backface-visibility: hidden;
}

.reference-card:hover .reference-card__shell,
.reference-card:focus-visible .reference-card__shell,
.reference-card:focus-within .reference-card__shell {
  transform: translateY(-10px) scale(var(--reference-hover-scale));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.84), 0 36px 88px rgba(0, 0, 0, 0.48);
}

.reference-card__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px;
  pointer-events: none;
}

.reference-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.reference-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050505;
  backface-visibility: hidden;
}

.reference-card__image {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  transition: transform 0.45s ease;
  transform: scale(1.01);
  will-change: transform;
  backface-visibility: hidden;
}

.reference-card__scrim {
  position: absolute;
  inset: -1px;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.84));
  transition: background 0.45s ease;
}

.reference-card__summary {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
  color: white;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.34s ease, transform 0.34s ease;
  pointer-events: none;
}

.reference-card__summary h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.08;
  max-width: 18ch;
}

.reference-card__summary p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.56;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.reference-card:hover .reference-card__image,
.reference-card:focus-visible .reference-card__image,
.reference-card:focus-within .reference-card__image {
  transform: scale(1.01);
}

.reference-card:hover .reference-card__summary,
.reference-card:focus-visible .reference-card__summary,
.reference-card:focus-within .reference-card__summary {
  opacity: 1;
  transform: translateY(0);
}

.reference-card:hover .reference-card__scrim,
.reference-card:focus-visible .reference-card__scrim,
.reference-card:focus-within .reference-card__scrim {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.94));
}

@media (hover: none) {
  .reference-card__summary {
    opacity: 1;
    transform: translateY(0);
  }

  .reference-card__scrim {
    background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.22) 34%, rgba(0, 0, 0, 0.9));
  }
}

@media (max-width: 2360px) {
  .reference-flow {
    --reference-card-max-width: calc(74.63vw - 84px);
    --reference-hover-scale: 1.34;
  }
}

@media (max-width: 1950px) {
  .reference-flow {
    --reference-card-max-width: calc(81.97vw - 92px);
    --reference-hover-scale: 1.22;
  }
}

@media (max-width: 1500px) {
  .reference-flow {
    --reference-card-max-width: none;
    --reference-hover-scale: 1.01;
    min-height: auto;
    padding: clamp(108px, 10vw, 150px) 0 clamp(72px, 8vw, 118px);
    overflow: hidden;
  }

  .reference-flow__track,
  .reference-flow__sticky,
  .reference-flow__canvas {
    min-height: auto;
    height: auto;
  }

  .reference-flow__sticky {
    position: relative;
  }

  .reference-flow__canvas {
    display: grid;
    gap: clamp(28px, 4vw, 46px);
    width: var(--container);
    margin: 0 auto;
  }

  .reference-flow__title {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    text-align: left;
    pointer-events: auto;
  }

  .reference-flow__title h2 {
    width: min(100%, 8ch);
    margin-inline: 0;
    font-size: clamp(3.2rem, 8vw, 6rem);
  }

  html.js .reference-flow__title {
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
  }

  .reference-flow__hint {
    display: none;
  }

  .reference-flow__cards {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
    pointer-events: auto;
  }

  .reference-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    transform: none;
  }

  html.js .reference-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    will-change: auto;
  }

  .reference-card:hover .reference-card__shell,
  .reference-card:focus-visible .reference-card__shell,
  .reference-card:focus-within .reference-card__shell {
    transform: translateY(-4px) scale(var(--reference-hover-scale));
  }

  .reference-card__summary p {
    -webkit-line-clamp: 5;
  }
}

.contact-section {
  padding-top: clamp(28px, 5vw, 72px);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(140, 0, 128, 0.12), transparent 22%),
    radial-gradient(circle at 84% 14%, rgba(231, 212, 9, 0.08), transparent 24%),
    linear-gradient(180deg, #040404 0%, #070707 100%);
}

.contact-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(8, 8, 8, 0.94)),
    radial-gradient(circle at 14% 18%, rgba(140, 0, 128, 0.12), transparent 22%),
    radial-gradient(circle at 88% 84%, rgba(231, 212, 9, 0.08), transparent 18%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.contact-shell::before,
.contact-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-shell::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86) 14%, rgba(0, 0, 0, 0.9) 86%, transparent);
  opacity: 0.34;
}

.contact-shell::after {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.06), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(140, 0, 128, 0.12), transparent 18%);
  filter: blur(50px);
  opacity: 0.54;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.contact-copy {
  display: grid;
  gap: 28px;
  align-content: start;
}

.contact-copy .eyebrow {
  margin: 0;
}

.contact-headline {
  display: grid;
  gap: 18px;
}

.contact-title {
  margin: 0;
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.9vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.contact-title span {
  display: block;
}

.contact-lead {
  margin: 0;
  max-width: none;
  color: rgba(246, 243, 238, 0.8);
  font-size: 1.08rem;
  line-height: 1.82;
}

.contact-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-benefit {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 180px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(140, 0, 128, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.contact-benefit strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-strong);
}

.contact-benefit p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.72;
}

.contact-note {
  display: grid;
  gap: 14px;
  max-width: 42rem;
  padding-top: 2px;
}

.contact-note p {
  margin: 0;
  color: rgba(246, 243, 238, 0.74);
  font-size: 1rem;
  line-height: 1.78;
}

.contact-note strong {
  color: rgba(246, 243, 238, 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  display: grid;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(8, 8, 10, 0.96), rgba(16, 16, 18, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(140, 0, 128, 0.12), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(231, 212, 9, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 20%);
  pointer-events: none;
  opacity: 0.72;
}

.contact-form-card > * {
  position: relative;
  z-index: 1;
}

.contact-form-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.contact-form__intro {
  margin: 12px 0 20px;
  color: rgba(246, 243, 238, 0.76);
  line-height: 1.7;
  font-size: 0.98rem;
  max-width: none;
}

.contact-form__booking {
  margin: 0 0 24px;
}

.contact-form__booking .btn {
  width: 100%;
  justify-content: center;
}

.contact-form__separator {
  margin: 0 0 20px;
  color: rgba(246, 243, 238, 0.5);
  font-size: 0.9rem;
  text-align: center;
  position: relative;
}

.contact-form__separator::before,
.contact-form__separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-form__separator::before { right: 56%; }
.contact-form__separator::after  { left: 56%; }

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(246, 243, 238, 0.9);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 18px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  outline: none;
}

.contact-field input {
  min-height: 56px;
}

.contact-field textarea {
  min-height: 176px;
  padding-top: 18px;
  padding-bottom: 18px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(246, 243, 238, 0.42);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(231, 212, 9, 0.36);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(231, 212, 9, 0.08);
  transform: translateY(-1px);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent-warm);
  flex: none;
}

.contact-consent label {
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.88rem;
  line-height: 1.65;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form__note {
  margin: 0;
  max-width: 28ch;
  color: rgba(246, 243, 238, 0.58);
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-feedback {
  display: none;
  background-color: #f44336;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.char-counter {
  font-size: 0.78rem;
  color: rgba(246, 243, 238, 0.42);
  text-align: right;
  margin-top: -4px;
}

.char-counter.warning {
  color: rgba(231, 212, 9, 0.8);
}

.char-counter.error {
  color: #f44336;
}

.paste-warning {
  display: none;
  font-size: 0.84rem;
  color: rgba(231, 212, 9, 0.9);
  background: rgba(231, 212, 9, 0.08);
  border: 1px solid rgba(231, 212, 9, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: -4px;
}

/* ── Homepage Team Directory ── */

.team-directory {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(231, 212, 9, 0.06), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.08), transparent 22%),
    linear-gradient(180deg, #060606 0%, #050505 100%);
}

.team-directory__header {
  margin-bottom: 34px;
}

.team-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-member {
  --team-accent: rgba(231, 212, 9, 0.9);
  --team-accent-soft: rgba(231, 212, 9, 0.18);
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  height: 356px;
  padding: 24px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(8, 8, 8, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.team-member::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--team-accent), transparent 76%);
  opacity: 0.9;
}

.team-member::after {
  content: "";
  position: absolute;
  inset: auto -16% -26% auto;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, var(--team-accent-soft), transparent 68%);
  pointer-events: none;
}

.team-member--leadership {
  --team-accent: rgba(231, 212, 9, 0.94);
  --team-accent-soft: rgba(231, 212, 9, 0.18);
}

.team-member--development {
  --team-accent: rgba(16, 185, 129, 0.92);
  --team-accent-soft: rgba(16, 185, 129, 0.2);
}

.team-member--operations {
  --team-accent: rgba(96, 165, 250, 0.94);
  --team-accent-soft: rgba(96, 165, 250, 0.22);
}

.team-member--office {
  --team-accent: rgba(251, 146, 60, 0.94);
  --team-accent-soft: rgba(251, 146, 60, 0.18);
}

.team-member--special {
  --team-accent: rgba(168, 85, 247, 0.94);
  --team-accent-soft: rgba(168, 85, 247, 0.18);
}

.team-member__top,
.team-member__intro {
  position: relative;
  z-index: 1;
}

.team-member__top {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.team-member__intro {
  display: grid;
  align-content: start;
  min-height: 124px;
}

.team-member__portrait {
  position: relative;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.04),
    0 16px 36px rgba(0, 0, 0, 0.32);
}

.team-member__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--team-accent-soft);
  border-radius: inherit;
  pointer-events: none;
}

.team-member__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member__portrait--initials {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(16, 16, 16, 0.22));
}

.team-member__portrait--initials span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--paper-strong);
}

.team-member__eyebrow,
.team-member__role,
.team-member__copy,
.team-member__quote,
.team-directory__footer {
  position: relative;
  z-index: 1;
}

.team-member__eyebrow {
  margin: 0 0 8px;
  color: var(--team-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-member__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.36rem, 2vw, 1.72rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.team-member__role {
  margin: 8px 0 0;
  color: rgba(246, 243, 238, 0.64);
  font-size: 0.88rem;
  font-weight: 700;
}

.team-member__copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.72;
}

.team-member__quote {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 207, 0.84);
  font-size: 0.92rem;
  line-height: 1.58;
}

.team-directory__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 8, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.team-directory__footer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 1280px) {
  .team-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-member {
    height: 344px;
  }
}

@media (max-width: 980px) {
  .team-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-member {
    height: 332px;
  }
}

@media (max-width: 640px) {
  .team-directory__grid {
    grid-template-columns: 1fr;
  }

  .team-member,
  .team-directory__footer {
    padding: 22px;
    border-radius: 24px;
  }

  .team-member {
    height: 324px;
  }

  .team-member__top {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }

  .team-member__portrait {
    width: 76px;
  }

  .team-member__intro {
    min-height: 132px;
  }

  .team-directory__footer {
    align-items: start;
  }
}

/* ── About Page ── */

body.about-body {
  background:
    radial-gradient(circle at 18% 14%, rgba(140, 0, 128, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(231, 212, 9, 0.07), transparent 16%),
    linear-gradient(180deg, #020202 0%, #040404 48%, #040404 100%);
}

.about-hero {
  position: relative;
  color: var(--text);
  padding-top: clamp(48px, 6vw, 82px);
  padding-bottom: clamp(68px, 7vw, 96px);
  background:
    radial-gradient(circle at 18% 30%, rgba(140, 0, 128, 0.16), transparent 24%),
    linear-gradient(180deg, #050505 0%, #090909 100%);
  overflow: clip;
}

.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 0.92) 88%, transparent);
  opacity: 0.26;
}

.about-hero::after {
  background:
    radial-gradient(circle at 22% 66%, rgba(140, 0, 128, 0.18), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(231, 212, 9, 0.08), transparent 18%);
  filter: blur(56px);
  opacity: 0.7;
}

.about-hero .section-inner,
.about-campus .section-inner,
.about-team .section-inner,
.about-cta .section-inner {
  position: relative;
  z-index: 1;
}

.about-hero .section-inner {
  display: grid;
  gap: 24px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 20px;
  align-items: center;
}

.about-hero__copy {
  display: grid;
  gap: 22px;
}

.about-hero__copy .eyebrow {
  margin-bottom: 0;
}

.about-hero__headline {
  padding: 18px 180px 28px 0;
}

.about-hero__headline .hero-wave {
  inset: -24px -220px -18px -32px;
  opacity: 0.7;
}

.about-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 6ch;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.about-hero h1 span {
  display: block;
}

.about-hero__lead {
  max-width: 40rem;
}

.about-hero__aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
    rgba(8, 8, 8, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-hero__aside h2,
.about-panorama__content h2,
.about-campus__title,
.team-spotlight__body h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.about-hero__aside h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.94;
}

.about-hero__aside p,
.about-panorama__content p,
.about-campus__text,
.about-cta__copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-panorama {
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(7, 7, 7, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-panorama__media {
  position: relative;
  aspect-ratio: 1280 / 151;
  overflow: hidden;
}

.about-panorama__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0) 26%, rgba(8, 8, 8, 0.18) 72%, rgba(8, 8, 8, 0.34));
}

.about-panorama__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panorama__content {
  display: grid;
  gap: 14px;
  padding: 24px 28px 28px;
}

.about-panorama__content h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 0.96;
}

.about-campus {
  color: var(--text);
}

.about-campus__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 20px;
  align-items: stretch;
}

.about-campus__visual,
.about-detail-tile {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-campus__visual {
  min-height: 100%;
  background: rgba(8, 8, 8, 0.86);
}

.about-campus__visual img,
.about-detail-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-campus__content {
  display: grid;
  align-content: start;
  gap: 18px;
}

.about-campus__content .eyebrow {
  margin-bottom: 0;
}

.about-campus__title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.94;
}

.about-detail-tile {
  display: grid;
  gap: 0;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
    rgba(8, 8, 8, 0.86);
}

.about-detail-tile img {
  aspect-ratio: 800 / 420;
}

.about-detail-tile figcaption {
  padding: 16px 18px 18px;
  color: rgba(246, 243, 238, 0.74);
  font-size: 0.92rem;
  line-height: 1.6;
}

.about-reviews,
.customer-section,
.about-values,
.about-team {
  color: var(--text);
}

.about-reviews .section-header,
.customer-section .section-header,
.about-values .section-header,
.about-team .section-header {
  margin-bottom: 34px;
}

.customer-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #050505 0%, #070707 46%, #040404 100%);
}

.customer-section__header {
  position: relative;
  z-index: 2;
}

.customer-carousel {
  position: relative;
  display: grid;
  gap: 14px;
  margin: clamp(4px, 1vw, 12px) 0 0;
  padding: 18px 0 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.customer-carousel::before,
.customer-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.customer-carousel::before {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(231, 212, 9, 0.08), transparent 36%, rgba(140, 0, 128, 0.12));
  opacity: 0.72;
}

.customer-carousel::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 26%, transparent 74%, rgba(0, 0, 0, 0.32));
}

.customer-carousel__viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 4px 0;
}

.customer-carousel__track {
  display: flex;
  width: max-content;
  min-width: max-content;
  margin: 0;
  animation: customer-logo-river 96s linear infinite;
  will-change: transform;
}

.customer-carousel__group {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 6px;
}

.customer-carousel__viewport--reverse .customer-carousel__track {
  animation-duration: 114s;
  animation-direction: reverse;
}

.customer-carousel:hover .customer-carousel__track,
.customer-carousel:focus-within .customer-carousel__track {
  animation-play-state: paused;
}

.customer-logo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.customer-logo {
  flex: 0 0 clamp(138px, 11vw, 188px);
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(92px, 7vw, 118px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 228, 218, 0.94));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.customer-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(231, 212, 9, 0.24);
  background:
    linear-gradient(180deg, #ffffff, #f4f0e7);
}

.customer-logo img {
  width: auto;
  height: auto;
  max-width: min(100%, 136px);
  max-height: 66px;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.04) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.58));
  opacity: 0.9;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.customer-logo__name {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  background: rgba(14, 14, 14, 0.86);
  color: rgba(247, 245, 239, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.customer-logo:hover img {
  filter: saturate(1.02) contrast(1.06) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.58));
  opacity: 1;
  transform: scale(1.04);
}

.customer-logo:hover .customer-logo__name {
  opacity: 1;
  transform: translateY(0);
}

.customer-logo--error {
  min-height: 96px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

@keyframes customer-logo-river {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-carousel__track {
    animation: none;
  }
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-spotlight {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 8, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  min-height: 400px;
}

.team-spotlight__media {
  position: relative;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.team-spotlight__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.08), transparent 24%);
  pointer-events: none;
}

.team-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-spotlight__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.team-spotlight__role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  color: rgba(246, 243, 238, 0.62);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-spotlight__role::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(231, 212, 9, 0.96), rgba(140, 0, 128, 0.92));
}

.team-spotlight__body h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 0.94;
}

.team-spotlight__description,
.team-spotlight__quote {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.74;
}

.team-spotlight__quote {
  color: rgba(255, 248, 207, 0.84);
}

.team-spotlight--placeholder .team-spotlight__media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(231, 212, 9, 0.1), transparent 24%),
    radial-gradient(circle at 72% 74%, rgba(140, 0, 128, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(8, 8, 8, 0.98));
}

.team-spotlight__placeholder-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(180px, 74%);
  aspect-ratio: 1;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(231, 212, 9, 0.1), rgba(140, 0, 128, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.team-spotlight__placeholder-mark span {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: var(--paper-strong);
}

.about-cta {
  color: var(--text);
  background:
    radial-gradient(circle at 16% 18%, rgba(231, 212, 9, 0.04), transparent 18%),
    linear-gradient(180deg, #060606 0%, #040404 100%);
}

.about-cta__shell {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 8, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-cta__shell .eyebrow {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .about-hero__grid,
  .about-campus__grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .team-spotlight {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  }
}

@media (max-width: 840px) {
  .about-hero {
    padding-top: 34px;
    padding-bottom: 62px;
  }

  .about-hero__headline {
    padding: 18px 36px 24px 0;
  }

  .about-hero__headline .hero-wave {
    inset: -18px -42px -14px -18px;
  }

  .about-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .about-panorama,
  .about-campus__visual,
  .about-detail-tile,
  .team-spotlight,
  .about-cta__shell,
  .about-hero__aside {
    border-radius: 24px;
  }

  .team-spotlight {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .team-spotlight__media {
    min-height: 320px;
  }

  .team-spotlight__body {
    padding: 22px;
  }
}

/* ── Legal Pages (Impressum, Datenschutz) ── */

body.legal-body {
  color: var(--text);
  background: #040404;
}

.legal-page {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0 clamp(78px, 9vw, 124px);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    #040404;
  background-size: 96px 96px, 96px 96px, auto;
  overflow: hidden;
}

.legal-page::before {
  content: none;
}

.legal-page::after {
  content: none;
}

.legal-page .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  min-height: clamp(220px, 26vw, 360px);
  color: var(--text);
}

.legal-hero__copy {
  display: grid;
  gap: 22px;
  align-content: end;
  max-width: 900px;
}

.legal-hero__copy .eyebrow {
  margin-bottom: 0;
}

.legal-hero__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.legal-page--imprint .legal-hero__title {
  max-width: 13ch;
}

.legal-hero__lead {
  max-width: 56ch;
  margin: 0;
  color: rgba(246, 243, 238, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.legal-contact-panel {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.legal-contact-panel strong,
.legal-contact-panel address,
.legal-contact-panel p {
  margin: 0;
}

.legal-contact-panel address {
  font-style: normal;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-contact-panel a {
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.legal-panel-label {
  margin: 0 0 8px;
  color: rgba(16, 16, 16, 0.54);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  background: rgba(247, 245, 239, 0.96);
  color: var(--ink);
}

.legal-card--compact {
  padding: 24px 24px 26px;
}

.legal-card--wide {
  grid-column: 1 / -1;
  background: var(--paper-strong);
}

.legal-card--full {
  grid-column: 1 / -1;
}

.legal-card h2,
.legal-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}

.legal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  opacity: 0.78;
}

.legal-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.legal-facts div {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(16, 16, 16, 0.1);
}

.legal-facts div:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-facts div:last-child {
  padding-bottom: 0;
}

.legal-facts dt {
  color: rgba(16, 16, 16, 0.52);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-facts dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-anchor-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 4px;
  max-height: calc(100svh - 136px);
  padding: 20px;
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  background: rgba(247, 245, 239, 0.96);
  overflow: auto;
}

.legal-anchor-nav .stack-kicker {
  margin: 0 0 10px;
  color: rgba(16, 16, 16, 0.54);
}

.legal-anchor-nav a {
  display: block;
  padding: 9px 0 9px 14px;
  border-left: 2px solid rgba(16, 16, 16, 0.12);
  color: rgba(16, 16, 16, 0.66);
  font-size: 0.86rem;
  line-height: 1.45;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.legal-anchor-nav a:hover,
.legal-anchor-nav a:focus-visible {
  border-left-color: var(--accent);
  color: var(--ink);
}

.legal-prose-shell {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  background: var(--paper-strong);
}

.legal-prose {
  max-width: 82ch;
  padding-top: 0;
}

.legal-prose h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.legal-prose h3 {
  margin: 42px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 16, 16, 0.12);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: 120px;
}

.legal-prose h3:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-prose p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.86;
}

.legal-prose a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.legal-prose a:hover,
.legal-prose a:focus-visible {
  opacity: 0.78;
}

.legal-table-wrap {
  max-width: 100%;
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid rgba(16, 16, 16, 0.1);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.1);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(16, 16, 16, 0.04);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-prose ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.legal-prose ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.8;
}

.legal-prose ul li::before {
  content: "";
  position: absolute;
  top: 0.74rem;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.legal-date {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 16, 16, 0.56);
}

#verantwortlicher,
#datenschutzbeauftragter {
  scroll-margin-top: 120px;
}

@media (max-width: 1100px) {
  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    min-height: 0;
  }

  .legal-anchor-nav {
    position: relative;
    top: auto;
    max-height: 360px;
  }
}

@media (max-width: 840px) {
  .legal-page {
    padding-top: 34px;
    padding-bottom: 66px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    gap: 24px;
  }

  .legal-card {
    padding: 22px;
  }

  .legal-anchor-nav {
    padding: 20px;
  }

  .legal-prose-shell {
    padding: 22px;
  }

  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-prose h3 {
    margin-top: 36px;
    padding-top: 20px;
  }
}

.footer {
  padding: 24px 0 42px;
  color: rgba(246, 243, 238, 0.68);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.footer-copy {
  display: grid;
  gap: 10px;
  max-width: 54rem;
}

.footer-copy strong {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.54);
}

.footer-copy p {
  margin: 0;
  max-width: 40ch;
  color: rgba(246, 243, 238, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper-strong);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.footer-address {
  display: grid;
  gap: 8px;
  justify-self: end;
  max-width: 22rem;
}

.footer-address strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-strong);
}

.footer-address address {
  margin: 0;
  font-style: normal;
  color: rgba(246, 243, 238, 0.74);
  line-height: 1.65;
  font-size: 0.98rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.footer-meta span:last-child {
  color: rgba(246, 243, 238, 0.54);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(246, 243, 238, 0.54);
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--text);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .hero-copy[data-reveal],
html.js .hero-side[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

html.js .hero-copy .hero-slide.is-active {
  animation: hero-side-enter 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.02s both;
}

html.js .hero-side .hero-copy-rail,
html.js .hero-side .hero-actions {
  opacity: 0;
  transform: translate3d(88px, 0, 0);
}

html.js .hero-side.is-visible .hero-copy-rail {
  animation: hero-side-enter 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

html.js .hero-side.is-visible .hero-actions {
  animation: hero-side-enter 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero-copy .hero-slide,
  html.js .hero-side .hero-copy-rail,
  html.js .hero-side .hero-actions {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .insight-card,
  .insight-card:hover,
  .insight-card:focus-visible,
  .insight-card:focus-within {
    animation: none !important;
  }

  .services-story {
    min-height: 0;
    padding: 34px 0 82px;
  }

  .services-story__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .services-story__viewport {
    padding: 0;
  }

  .services-story__wave {
    display: none;
  }

  .service-panel {
    position: relative;
    inset: auto;
    margin-bottom: 18px;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    pointer-events: auto;
  }

  .service-panel:last-child {
    margin-bottom: 0;
  }

  .service-panel__headline-wrap,
  .service-panel__copy {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    --insight-card-height: clamp(230px, 28svh, 310px);
    min-height: auto;
    grid-template-rows: auto auto;
    row-gap: 28px;
    padding-bottom: 56px;
  }

  .hero-grid,
  .section-header,
  .ai-llm-row,
  .service-panel,
  .stack-grid,
  .quality-lite,
  .footer-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-side {
    padding-top: 0;
  }

  .hero-copy-rail {
    min-height: 11.6rem;
  }

  .services-story__intro {
    align-items: start;
    flex-direction: column;
  }

  .service-panel--reverse .service-panel__headline-wrap,
  .service-panel--reverse .service-panel__copy {
    order: initial;
    text-align: left;
    justify-self: start;
    justify-items: start;
    align-items: start;
    width: auto;
  }

  .service-panel__copy {
    max-width: none;
    justify-self: start;
  }

  .service-panel--reverse .service-panel__index::before {
    content: "";
  }

  .service-panel--reverse .service-panel__index::after {
    content: none;
  }

  .service-panel--reverse .service-panel__copy {
    padding-right: 0;
    padding-left: clamp(24px, 3vw, 42px);
  }

  .service-panel--reverse .service-panel__copy::before,
  .service-panel--reverse .service-panel__copy::after {
    right: auto;
    left: 0;
  }

  .service-panel--reverse .service-panel__copy::after {
    background: linear-gradient(90deg, rgba(231, 212, 9, 0.78), rgba(255, 255, 255, 0));
    transform: translateX(-50%);
  }

  .insight-strip {
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .ai-llm-row {
    gap: 18px;
  }

  .stack-aside--tech {
    grid-template-rows: none;
    height: auto;
  }

  .quality-lite__observability {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .quality-lite__observability-grid,
  .quality-lite__observability-links {
    grid-column: 1;
  }

  .quality-lite__observability-grid {
    grid-template-columns: 1fr;
  }

  .quality-lite__observability-links {
    margin-top: 0;
  }

  .contact-title,
  .contact-lead {
    max-width: none;
  }

}

@media (max-width: 840px) {
  body {
    background:
      linear-gradient(180deg, #020202 0%, #020202 24%, #0a0a0a 36%, var(--paper) 36%, var(--paper) 100%);
  }

  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(12, 12, 12, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 52px;
  }

  .services-story {
    --service-top: 82px;
  }

  .services-story__shell {
    padding-top: 0;
  }

  .services-story__intro {
    top: 18px;
  }

  .services-story__viewport {
    border-radius: 0;
  }

  .service-panel {
    inset: 22px var(--service-inline) 28px;
  }

  .service-panel__headline {
    font-size: clamp(2.7rem, 12vw, 4.8rem);
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(3rem, 17vw, 5.3rem);
  }

  .hero-copy h1 span:nth-child(2) {
    margin-left: 0.36ch;
  }

  .hero-copy h1 span:nth-child(3) {
    margin-left: 0.72ch;
  }

  .hero-copy h1 span:nth-child(4) {
    margin-left: 1.08ch;
  }

  .hero-headline {
    min-width: 0;
    padding: 18px 38px 28px 0;
  }

  .hero-slides {
    min-height: 14.2rem;
  }

  .hero-wave {
    inset: -22px -44px -18px -18px;
  }

  .hero-copy-rail {
    min-height: 0;
  }

  .hero-carousel-nav {
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .hero-carousel-trigger {
    font-size: 0.8rem;
  }

  .hero-wave canvas,
  .services-story__wave canvas {
    display: none;
  }

  .insight-strip,
  .contact-benefits,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .quality-lite__check {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  .quality-lite__intro .btn {
    width: 100%;
  }

  .reference-flow__title h2 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .reference-flow__cards {
    grid-template-columns: 1fr;
  }

  .reference-card__shell {
    border-radius: 24px;
  }

  .reference-card__copy,
  .reference-card__summary {
    padding-left: 14px;
    padding-right: 14px;
  }

  .reference-card__copy {
    padding-top: 14px;
  }

  .reference-card__summary {
    gap: 8px;
    padding-bottom: 16px;
  }

  .reference-card__summary p {
    font-size: 0.81rem;
    -webkit-line-clamp: 5;
  }

  .customer-carousel {
    gap: 10px;
    padding-block: 14px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .customer-carousel__track {
    animation-duration: 80s;
  }

  .customer-carousel__group {
    gap: 10px;
    padding-inline: 5px;
  }

  .customer-carousel__viewport--reverse .customer-carousel__track {
    animation-duration: 94s;
  }

  .customer-logo {
    flex-basis: 132px;
    min-height: 88px;
    padding: 14px;
  }

  .customer-logo img {
    max-width: 108px;
    max-height: 54px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1640px, calc(100vw - 28px));
  }

  .services-story__shell {
    gap: 14px;
  }

  .service-panel {
    inset: 18px var(--service-inline) 24px;
  }

  .service-panel__copy {
    padding: 8px 0 10px 24px;
  }

  .service-panel--reverse .service-panel__copy {
    padding: 8px 0 10px 24px;
  }

  .service-panel__points {
    grid-template-columns: 1fr;
  }

  .service-panel__copy p {
    font-size: 1.06rem;
    line-height: 1.66;
  }

  .section {
    padding: 82px 0;
  }

  .hero-actions{
    width: 100%;
  }

  .hero-actions .btn{
    width: 100%;
  }

  .brand {
    font-size: 0.98rem;
  }

  .hero-headline {
    padding-right: 20px;
  }

  .hero-wave {
    inset: -18px -18px -12px -10px;
  }

  .principle-card,
  .stack-panel,
  .contact-benefit {
    padding: 22px;
  }

  .ai-llm-row__actions {
    padding-left: 20px;
  }

  .stack-panel--visual {
    padding: 0;
  }

  .stack-panel__body {
    padding: 22px;
  }

  .reference-flow {
    padding: 112px 0 28px;
  }

  .reference-flow__title {
    padding: 0 14px;
  }

  .reference-flow__title h2 {
    width: min(100%, 6ch);
    margin-inline: 0;
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .reference-flow__cards {
    gap: 16px;
    padding: 0 14px;
  }

  .reference-card {
    aspect-ratio: 1 / 1.08;
  }

  .reference-card__label {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.64rem;
  }

  .customer-logo {
    flex-basis: 118px;
    min-height: 82px;
    padding: 12px;
  }

  .customer-logo img {
    max-width: 96px;
    max-height: 48px;
  }

  .contact-shell {
    padding: 20px;
    border-radius: 28px;
  }

  .contact-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 0.94;
  }

  .footer-address {
    justify-self: start;
    max-width: none;
  }

  .contact-form-card {
    padding: 22px;
    border-radius: 24px;
  }

  .contact-form__actions .btn {
    width: 100%;
  }

  .contact-form__note {
    max-width: none;
  }

  .footer-meta {
    font-size: 0.86rem;
  }
}
