/* ============================================================
   ALPA AG — Website
   Design-System im Stil von immotro.ch
   Farbwelt: Rich Black / Cream / Warm Gold
   ============================================================ */

:root {
  --rich-black: #0a0a0a;
  --charcoal: #1a1a1a;
  --graphite: #2d2d2d;
  --cream: #faf9f6;
  --warm-white: #fdfcfa;
  --soft-grey: #e8e6e1;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;
  --warm-gold: #c9c3ba;
  --warm-taupe: #8b8578;

  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section: clamp(4rem, 8.5vw, 7.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

ul {
  list-style: none;
}

::selection {
  background: var(--warm-gold);
  color: var(--charcoal);
}

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

/* ---------- Typography ---------- */
.display-xl,
.display-l,
.display-m,
.display-s {
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
  color: var(--charcoal);
}

.display-xl {
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.display-l {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.025em;
}

.display-m {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.display-s {
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--warm-gold);
  flex-shrink: 0;
}

.eyebrow--light {
  color: rgba(250, 249, 246, 0.6);
}

.lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 62ch;
}

.section--dark .lead {
  color: rgba(250, 249, 246, 0.65);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--tight {
  padding-block: calc(var(--section) * 0.55);
}

.section--dark {
  background: var(--rich-black);
  color: var(--cream);
}

.section--dark .display-xl,
.section--dark .display-l,
.section--dark .display-m,
.section--dark .display-s {
  color: var(--cream);
}

.section--cream2 {
  background: var(--warm-white);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-head .eyebrow {
  margin-bottom: 1.125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-soft), gap 0.35s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--charcoal);
  gap: 0.75rem;
}

.link-arrow:hover svg {
  transform: translate(3px, -3px);
}

.section--dark .link-arrow {
  color: rgba(250, 249, 246, 0.6);
}

.section--dark .link-arrow:hover {
  color: var(--warm-gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft);
  white-space: nowrap;
}

.btn:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn--fill {
  background: var(--charcoal);
  color: var(--cream);
}

.btn--fill:hover {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  color: var(--charcoal);
}

.btn--light {
  border-color: rgba(250, 249, 246, 0.35);
  color: var(--cream);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

.btn--fill-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--charcoal);
}

.btn--fill-light:hover {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  color: var(--charcoal);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.125rem;
  transition: padding 0.4s var(--ease-soft), background 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  z-index: -1;
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
}

.site-header.is-scrolled,
.site-header.is-solid {
  padding-block: 0.75rem;
}

.site-header.is-scrolled::before,
.site-header.is-solid::before {
  opacity: 1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand svg {
  width: 92px;
  height: auto;
  transition: width 0.4s var(--ease-soft);
}

.site-header.is-scrolled .brand svg,
.site-header.is-solid .brand svg {
  width: 80px;
}

/* header color states */
.site-header,
.site-header a,
.site-header button {
  color: var(--cream);
  transition: color 0.35s var(--ease-soft);
}

.site-header .brand svg path {
  fill: var(--cream);
  transition: fill 0.35s var(--ease-soft);
}

.site-header.is-scrolled,
.site-header.is-solid,
.site-header.is-scrolled a,
.site-header.is-solid a,
.site-header.is-scrolled button,
.site-header.is-solid button {
  color: var(--charcoal);
}

.site-header.is-scrolled .brand svg path,
.site-header.is-solid .brand svg path {
  fill: var(--charcoal);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.875rem);
}

.nav-desktop a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.25rem;
  color: rgba(250, 249, 246, 0.75);
  transition: color 0.3s var(--ease-soft);
}

.site-header.is-scrolled .nav-desktop a,
.site-header.is-solid .nav-desktop a {
  color: var(--text-secondary);
}

.site-header.is-scrolled .nav-desktop a:hover,
.site-header.is-solid .nav-desktop a:hover {
  color: var(--charcoal);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--cream);
}

.site-header.is-scrolled .nav-desktop a.is-active,
.site-header.is-solid .nav-desktop a.is-active {
  color: var(--charcoal);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--warm-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(250, 249, 246, 0.35);
  border-radius: 2px;
  color: var(--cream);
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft);
}

.header-cta:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--charcoal) !important;
}

.site-header.is-scrolled .header-cta,
.site-header.is-solid .header-cta {
  border-color: rgba(26, 26, 26, 0.25);
  color: var(--charcoal);
}

.site-header.is-scrolled .header-cta:hover,
.site-header.is-solid .header-cta:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease),
    background 0.35s var(--ease);
}

.nav-toggle span::before {
  top: 0;
}

.nav-toggle span::after {
  top: 8px;
}

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

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

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--rich-black);
  color: var(--cream);
  padding: 120px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}

body.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu nav a {
  font-size: clamp(1.875rem, 8vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
}

body.menu-open .mobile-menu nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu nav a:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu nav a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu nav a:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu nav a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu nav a:nth-child(7) { transition-delay: 0.40s; }

.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: rgba(250, 249, 246, 0.55);
}

.mobile-menu__foot a {
  color: var(--cream);
}

.mobile-menu__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  background: var(--rich-black);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hero slideshow */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.3s var(--ease-soft);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  transform: scale(1.07);
  transition: transform 7.5s var(--ease-soft);
  will-change: transform;
}

.hero-slide.is-active img {
  transform: scale(1);
}

/* cinematic overlay */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    radial-gradient(ellipse 100% 80% at 50% 45%, transparent 20%, rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.08) 15%,
      rgba(0, 0, 0, 0.02) 35%,
      rgba(0, 0, 0, 0.02) 55%,
      rgba(0, 0, 0, 0.12) 70%,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.65)
    );
  pointer-events: none;
}

.hero--short {
  min-height: 78svh;
}

.hero--shorter {
  min-height: 62svh;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.75rem, 7vh, 5rem);
  padding-top: 9rem;
  width: 100%;
}

.hero__eyebrow {
  margin-bottom: 1.25rem;
}

.hero__title {
  max-width: 16ch;
  color: var(--cream);
}

.hero__sub {
  margin-top: 1.375rem;
  max-width: 46ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(250, 249, 246, 0.6);
}

.hero__fade {
  margin-top: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.4);
}

.hero__scroll {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.4);
}

.hero__scroll-line {
  width: 56px;
  height: 1px;
  background: rgba(250, 249, 246, 0.18);
  overflow: hidden;
  position: relative;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--warm-gold);
  animation: scrollline 2.4s var(--ease-soft) infinite;
}

@keyframes scrollline {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.hero--page .hero__title {
  max-width: 22ch;
}

/* hero project card */
.hero-card {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.75rem, 7vh, 5rem);
  z-index: 30;
  min-width: 300px;
  max-width: 360px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: linear-gradient(rgba(0, 0, 0, 0.23), rgba(0, 0, 0, 0.23)), rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.hero-card__slides {
  display: grid;
  margin-bottom: 1rem;
}

.hero-card__slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

.hero-card__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-card__name {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.75rem;
}

.hero-card__name::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-card__meta {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease-soft), gap 0.3s var(--ease);
}

.hero-card__cta:hover {
  color: var(--warm-gold);
  gap: 0.75rem;
}

.hero-card__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.35s var(--ease-soft), transform 0.35s var(--ease-soft);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--warm-gold);
  transform: scale(1.15);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  padding-block: 1.25rem;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee__item::after {
  content: "◆";
  font-size: 0.5rem;
  color: var(--warm-gold);
}

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

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.5rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.section--dark .stats {
  border-color: rgba(250, 249, 246, 0.15);
}

.stat__value {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--charcoal);
}

.section--dark .stat__value {
  color: var(--cream);
}

.stat__label {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 26ch;
}

.section--dark .stat__label {
  color: rgba(250, 249, 246, 0.55);
}

/* ---------- Split (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.split__text .eyebrow {
  margin-bottom: 1.125rem;
}

.split__text .display-m {
  margin-bottom: 1.5rem;
}

.split__text p + p {
  margin-top: 1rem;
}

.split__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  background: var(--soft-grey);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

/* ---------- Portfolio head (Swiss layout) + services ---------- */
.portfolio-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.portfolio-head__lead .eyebrow {
  margin-bottom: 1.125rem;
}

.portfolio-head__lead .display-l {
  margin-bottom: 1.25rem;
}

.portfolio-head__cta {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.55);
  max-width: 420px;
  transition: color 0.3s var(--ease-soft), gap 0.35s var(--ease);
}

.portfolio-head__cta svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.portfolio-head__cta:hover {
  color: var(--charcoal);
  gap: 0.875rem;
}

.portfolio-head__cta:hover svg {
  opacity: 1;
  transform: translate(3px, -3px);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26, 26, 26, 0.1);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.service-cell {
  background: var(--cream);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 148px;
  position: relative;
  transition: background 0.4s var(--ease-soft);
}

.service-cell:hover {
  background: var(--warm-white);
}

.service-cell svg {
  width: 24px;
  height: 24px;
  color: rgba(26, 26, 26, 0.3);
  margin-bottom: 0.875rem;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-cell:hover svg {
  color: var(--warm-gold);
  transform: scale(1.08);
}

.service-cell h4 {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.65);
  transition: color 0.35s ease;
}

.service-cell:hover h4 {
  color: var(--charcoal);
}

.service-cell__line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--warm-gold);
  margin-top: 0.625rem;
  transition: width 0.5s var(--ease);
}

.service-cell:hover .service-cell__line {
  width: 100%;
}

.service-cell p {
  margin: 0.625rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.45);
  transition: color 0.35s ease;
  flex: 1;
}

.service-cell:hover p {
  color: rgba(26, 26, 26, 0.6);
}

.service-cell__arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1rem;
  width: 14px;
  height: 14px;
  color: var(--warm-gold);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-cell:hover .service-cell__arrow {
  opacity: 1;
  transform: translate(0);
}

@media (min-width: 1000px) {
  .portfolio-head {
    grid-template-columns: 1.05fr 1.95fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: center;
  }
}

@media (min-width: 640px) {
  .service-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Portfolio grid & cards ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.5rem, 1vw, 0.875rem);
}

.p-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--soft-grey);
}

.p-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.p-card--wide .p-card__media {
  aspect-ratio: 16 / 10;
}

.p-card--tall .p-card__media {
  aspect-ratio: 4 / 5;
}

.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.8s var(--ease), filter 0.6s ease;
}

.p-card:hover .p-card__media img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.p-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.12) 42%, rgba(10, 10, 10, 0.04));
  pointer-events: none;
  transition: background 0.6s var(--ease);
}

.p-card:hover .p-card__shade {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.22) 48%, rgba(10, 10, 10, 0.08));
}

.p-card__info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  z-index: 2;
}

.p-card__eyebrow {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.p-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: color 0.4s var(--ease-soft), transform 0.5s var(--ease);
}

.p-card:hover .p-card__title {
  color: var(--warm-gold);
  transform: translateY(-2px);
}

.p-card__meta {
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  max-width: 60ch;
  transition: color 0.4s ease, transform 0.5s var(--ease) 0.05s;
}

.p-card:hover .p-card__meta {
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.p-card__cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transform: translate(-8px, 4px);
  transition: opacity 0.5s var(--ease) 0.1s, transform 0.5s var(--ease) 0.1s, color 0.35s ease;
}

.p-card__cta svg {
  width: 22px;
  height: 22px;
}

.p-card:hover .p-card__cta {
  opacity: 1;
  transform: translate(0);
  color: rgba(255, 255, 255, 0.85);
}

[data-category].is-hidden {
  display: none;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-card--wide {
    grid-column: 1 / -1;
  }
}

/* ---------- Filter ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.filter button {
  padding: 0.75rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}

.filter button:hover {
  color: var(--charcoal);
}

.filter button.is-active {
  color: var(--charcoal);
  border-color: var(--warm-taupe);
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 2.5vw, 2.5rem);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 2px;
  background: var(--soft-grey);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.625rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(250, 249, 246, 0.9);
  color: var(--charcoal);
}

.news-card__tag--event {
  background: var(--charcoal);
  color: var(--cream);
}

.news-card__body {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.news-card__date {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-taupe);
}

.news-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.35s ease;
}

.news-card:hover .news-card__title {
  color: var(--warm-taupe);
}

.news-card__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: auto;
}

@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Values rows ---------- */
.value-rows {
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.value-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  align-items: start;
}

.value-row__num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--warm-taupe);
  letter-spacing: 0.1em;
  padding-top: 0.45rem;
}

.value-row__title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.35s ease;
}

.value-row:hover .value-row__title {
  color: var(--warm-taupe);
}

.value-row__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  grid-column: 2;
}

.section--dark .value-rows {
  border-color: rgba(250, 249, 246, 0.15);
}

.section--dark .value-row {
  border-color: rgba(250, 249, 246, 0.15);
}

.section--dark .value-row__title {
  color: var(--cream);
}

.section--dark .value-row__text {
  color: rgba(250, 249, 246, 0.6);
}

.section--dark .value-row__num {
  color: var(--warm-gold);
}

@media (min-width: 900px) {
  .value-row {
    grid-template-columns: 4.5rem 1fr 1.5fr;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
  .value-row__text {
    grid-column: auto;
  }
}

/* ---------- Manifesto (dark statement section) ---------- */
.manifesto {
  position: relative;
  background: var(--rich-black);
  color: var(--cream);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 30% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.manifesto__intro {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(250, 249, 246, 0.5);
  margin-bottom: 0.35em;
}

.manifesto__headline {
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  font-size: clamp(2.25rem, 5.5vw, 5rem);
  color: var(--cream);
}

.manifesto__headline span {
  display: block;
}

.manifesto__headline .indent {
  padding-left: clamp(1rem, 4vw, 3rem);
}

.manifesto__headline .accent {
  color: var(--warm-gold);
}

.manifesto__values {
  display: flex;
  flex-direction: column;
}

.manifesto__value {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(250, 249, 246, 0.12);
}

.manifesto__value:last-child {
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
}

.manifesto__value .num {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(250, 249, 246, 0.4);
  padding-top: 0.3rem;
}

.manifesto__value h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--cream);
}

.manifesto__value p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(250, 249, 246, 0.55);
}

@media (min-width: 1000px) {
  .manifesto__grid {
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 4;
  background: var(--soft-grey);
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.team-card:hover .team-card__media img {
  transform: scale(1.04);
}

.team-card__body {
  padding-top: 1rem;
}

.team-card__name {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.team-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  min-height: 2.6em;
  line-height: 1.45;
}

.team-card__links {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
}

.team-card__links a {
  color: var(--warm-taupe);
  transition: color 0.3s var(--ease-soft);
}

.team-card__links a:hover {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Offer cards (Kaufen / Mieten) ---------- */
.offer-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.offer-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--warm-white);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 2px;
  padding: clamp(1rem, 1.5vw, 1.5rem);
  align-items: center;
  transition: border-color 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}

.offer-card:hover {
  border-color: rgba(26, 26, 26, 0.16);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.15);
}

.offer-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  background: var(--soft-grey);
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.offer-card:hover .offer-card__media img {
  transform: scale(1.04);
}

.offer-card__body {
  padding-right: clamp(0.5rem, 2vw, 2rem);
}

.offer-card__kicker {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  margin-bottom: 0.75rem;
}

.offer-card__title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.offer-card__address {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.offer-card__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.offer-card__fact dt {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.offer-card__fact dd {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.offer-card__price {
  color: var(--warm-taupe);
  font-weight: 500;
}

.offer-card__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .offer-card {
    grid-template-columns: 5fr 7fr;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--rich-black);
  color: var(--cream);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 195, 186, 0.14), transparent 65%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band .display-l {
  color: var(--cream);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  margin: 1.5rem auto 0;
  max-width: 54ch;
  color: rgba(250, 249, 246, 0.6);
  font-size: 0.9375rem;
}

.cta-band__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__block h3 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-info__block p,
.contact-info__block a {
  font-size: 1rem;
  line-height: 1.7;
}

.contact-info__block a {
  transition: color 0.3s ease;
}

.contact-info__block a:hover {
  color: var(--warm-taupe);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.375rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form input,
.form textarea,
.form select {
  font: inherit;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 2px;
  padding: 0.875rem 1rem;
  transition: border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--warm-taupe);
  box-shadow: 0 0 0 3px rgba(201, 195, 186, 0.28);
}

.form__submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.375rem;
}

.form__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.55;
}

.form__success {
  grid-column: 1 / -1;
  display: none;
  padding: 1.125rem 1.375rem;
  border-radius: 2px;
  background: rgba(201, 195, 186, 0.18);
  border: 1px solid rgba(139, 133, 120, 0.35);
  font-size: 0.9375rem;
}

.form.is-sent .form__success {
  display: block;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
  }
}

/* ---------- Page hero (small) ---------- */
.page-hero {
  position: relative;
  background: var(--rich-black);
  color: var(--cream);
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.page-hero .eyebrow {
  margin-bottom: 1.125rem;
}

.page-hero .display-l {
  color: var(--cream);
  max-width: 24ch;
}

/* ---------- Brochure ---------- */
.brochure {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: var(--warm-white);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 2px;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
}

.brochure__media {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft-grey);
}

.brochure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.brochure:hover .brochure__media img {
  transform: scale(1.04);
}

.brochure__body .eyebrow {
  margin-bottom: 1rem;
}

.brochure__body .display-s {
  margin-bottom: 1rem;
}

.brochure__body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .brochure {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- CTA simple ---------- */
.cta-simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.cta-simple .display-m {
  max-width: 24ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--rich-black);
  color: var(--cream);
  padding-top: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.footer-brand svg,
.footer-brand img {
  width: 104px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: rgba(250, 249, 246, 0.55);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(250, 249, 246, 0.7);
  transition: color 0.3s var(--ease-soft);
}

.footer-col a:hover {
  color: var(--warm-gold);
}

.footer-wordmark {
  font-size: clamp(4.5rem, 17vw, 16rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: rgba(250, 249, 246, 0.05);
  text-align: center;
  user-select: none;
  margin-bottom: -0.06em;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 249, 246, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(250, 249, 246, 0.45);
}

.footer-bottom__links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a:hover {
  color: var(--cream);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

[data-reveal="clip"] {
  opacity: 1;
  transform: none;
}

[data-reveal="clip"] .media-frame,
[data-reveal="clip"] .brochure__media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal="clip"].is-visible .media-frame,
[data-reveal="clip"].is-visible .brochure__media {
  clip-path: inset(0 0 0 0);
}

[data-reveal="fade"] {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  [data-reveal="clip"] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .marquee__track {
    animation: none;
  }
  .hero__scroll-line::after {
    animation: none;
  }
}

/* ---------- Split columns on desktop ---------- */
@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
  }
  .split__text {
    grid-column: 1 / span 5;
  }
  .split__media {
    grid-column: 7 / span 6;
  }
  .split--reverse .split__text {
    grid-column: 8 / span 5;
    order: 2;
  }
  .split--reverse .split__media {
    grid-column: 1 / span 6;
    order: 1;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .split--reverse .split__text,
  .split--reverse .split__media {
    order: initial;
  }
  .split__media {
    order: -1;
  }
  .hero-card {
    display: none;
  }
  .value-row {
    grid-template-columns: 3rem 1fr;
  }
  .value-row__text {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .cta-simple {
    flex-direction: column;
    align-items: flex-start;
  }
}
