/* Projects and people share the cinematic rhythm of the services page. */
.editorial-cinema {
  color: var(--brand-ink, #191f36);
}

.editorial-cinema .leistungen-story__sticky {
  background:
    radial-gradient(ellipse at 50% 52%, #ffffffb8, transparent 65%),
    #f7f2e9;
}

.editorial-cinema .leistungen-story__scene {
  padding: calc(var(--header-height) + 2rem) 0 2.5rem;
}

.editorial-cinema .leistungen-story__scene--intro {
  padding-bottom: 4rem;
}

.editorial-cinema h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 7.2vw, 7.8rem);
  color: var(--brand-ink, #191f36);
}

.editorial-cinema__invitation {
  margin-top: clamp(2rem, 4.5vh, 3.5rem);
}

.editorial-cinema__invitation .button {
  gap: 1.4rem;
}

.editorial-cinema__feature {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  width: min(88vw, 72rem);
  transform-origin: center;
}

.editorial-cinema.is-scroll-ready .editorial-cinema__feature {
  transform: translate3d(0, var(--story-video-y), 0) scale(var(--story-video-scale));
  will-change: transform;
}

.editorial-cinema [inert] { pointer-events: none; }

.editorial-kicker {
  margin: 0 0 .7rem;
  color: #626e86;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.editorial-cinema--projects .editorial-cinema__feature {
  width: min(88vw, calc((100svh - var(--header-height) - 18rem) * 16 / 9), 72rem);
}

.editorial-project__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
}

.editorial-project__heading h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.editorial-project__heading .text-link {
  flex-shrink: 0;
  font-size: .9rem;
}

.editorial-project__caption {
  margin: 1.2rem 0 0;
  color: #626e86;
  font-size: clamp(.85rem, 1.15vw, 1rem);
  text-align: center;
}

.editorial-cinema--team .editorial-cinema__feature {
  width: min(86vw, 56rem);
}

.editorial-team__heading { text-align: center; margin-bottom: 1.75rem; }

.editorial-team__heading h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.editorial-cast {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.editorial-person {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 1.25rem;
  background: #fffcf6;
  box-shadow: 0 1.8rem 4rem -1.8rem #25274540;
}

.editorial-person__portrait {
  position: relative;
  height: clamp(12rem, calc(100svh - var(--header-height) - 23rem), 22rem);
  overflow: hidden;
  background: #1c273c;
}

.editorial-person__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.editorial-person__portrait--type {
  display: grid;
  place-items: center;
  isolation: isolate;
  background: radial-gradient(ellipse at 90% 10%, #465593, transparent 72%), #121c30;
}

.editorial-person__portrait--type span {
  position: relative;
  z-index: 1;
  padding-right: .07em;
  color: #f7f2e9;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: 1;
}

.editorial-person__portrait--type i {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid #c2ceff38;
  border-radius: 50%;
  transform: translate(35%, 38%);
  box-shadow: 0 0 0 2.5rem #bacbff05, 0 0 0 5rem #bacbff04;
}

.editorial-person__copy { padding: 1.2rem 1.4rem 1.35rem; }

.editorial-person__copy h3 {
  margin: 0 0 .3rem;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.editorial-person__copy p {
  margin: 0;
  color: #626e86;
  font-size: clamp(.75rem, 1.2vw, .95rem);
  line-height: 1.45;
}

.editorial-cinema.is-scroll-ready .editorial-person--tim {
  transform: translateX(calc((1 - var(--story-video-opacity)) * 2.5rem)) rotate(calc((1 - var(--story-video-opacity)) * -5deg));
}

.editorial-cinema.is-scroll-ready .editorial-person--asem {
  transform: translateX(calc((1 - var(--story-video-opacity)) * -2.5rem)) rotate(calc((1 - var(--story-video-opacity)) * 5deg));
}

.page .editorial-details,
.page .editorial-collaboration {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.editorial-details { background: #f5f5fc; }
.editorial-details [id],
.editorial-collaboration [id] { scroll-margin-top: calc(var(--header-height) + 1.5rem); }

.editorial-details__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
}

.editorial-details__intro h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.1;
}

.editorial-details__intro > p,
.editorial-details__intro > div > p:not(.editorial-kicker) {
  max-width: 35rem;
  margin: 0;
  color: #626e86;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.65;
}

.editorial-details__intro .text-link { margin-top: 1.5rem; }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.editorial-grid article {
  border-top: 1px solid #626e8640;
  padding-top: 1.4rem;
}

.editorial-index {
  display: block;
  margin-bottom: 2rem;
  color: #626e86;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}

.editorial-grid h3 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.editorial-grid p { margin: 0; color: #626e86; line-height: 1.65; }
.editorial-grid article:nth-child(2) { transition-delay: 80ms; }
.editorial-grid article:nth-child(3) { transition-delay: 160ms; }
.editorial-collaboration :is(.editorial-kicker, .editorial-index, .editorial-grid p) { color: #b8c6de; }
.editorial-collaboration .editorial-grid article { border-color: #b8c6de40; }
html:not(.js) .editorial-cinema [data-showreel-start] { display: none; }

@media (max-width: 960px) {
  .editorial-cinema .leistungen-story__scene--intro {
    min-height: min(44rem, 78svh);
    padding-block: calc(var(--header-height) + 3rem) 3.5rem;
  }
  .editorial-cinema h1 { line-height: 1.06; }
  .editorial-cinema__invitation { margin-top: 2rem; }
  .editorial-cinema__invitation .button { min-height: 3.25rem; }
}

@media (max-width: 680px) {
  .editorial-cinema h1 { font-size: clamp(2.3rem, 11.4vw, 4.8rem); }
  .editorial-cinema .leistungen-story__scene { padding-top: calc(var(--header-height) + 1.5rem); }
  .editorial-cinema__invitation .button { padding-inline: 1.25rem; gap: 1rem; }
  .editorial-cinema--projects .editorial-cinema__feature { width: 90vw; }
  .editorial-project__heading { display: grid; gap: .75rem; margin-bottom: 1rem; }
  .editorial-project__heading h2 { font-size: 1.65rem; }
  .editorial-project__heading .editorial-kicker { margin-bottom: .4rem; }
  .editorial-project__caption { text-align: left; }
  .editorial-cinema--team .editorial-cinema__feature { width: 90vw; }
  .editorial-team__heading { margin-bottom: 1.5rem; }
  .editorial-team__heading h2 { font-size: clamp(1.6rem, 6.8vw, 2.3rem); }
  .editorial-kicker { font-size: .6875rem; }
  .editorial-cast { gap: .75rem; }
  .editorial-person { border-radius: .85rem; }
  .editorial-person__portrait { height: clamp(11rem, 52vw, 18rem); }
  .editorial-person__portrait img { object-position: 50% 25%; }
  .editorial-person__copy { padding: 1rem .7rem; }
  .editorial-person__copy h3 { font-size: clamp(.95rem, 4vw, 1.35rem); }
  .editorial-person__copy p { font-size: .75rem; overflow-wrap: anywhere; }
  .editorial-details__intro { grid-template-columns: 1fr; gap: 1.7rem; }
  .editorial-details__intro h2 { font-size: clamp(2rem, 8.6vw, 3.5rem); }
  .editorial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .editorial-index { margin-bottom: 1.25rem; }
}

@media (max-height: 649px), (prefers-reduced-motion: reduce) {
  .editorial-cinema--projects:not(.is-scroll-ready) .editorial-cinema__feature { width: min(90vw, 72rem); }
  .editorial-cinema:not(.is-scroll-ready) .leistungen-story__scene--showcase { min-height: auto; padding-block: 3rem 5rem; }
  .editorial-cinema:not(.is-scroll-ready) .editorial-person__portrait { height: clamp(11rem, 30vw, 22rem); }
}
