/* Editorial look of the landing page (Markus 23.10.2026, direction B). Everything is scoped to
   .is-editorial, which editorial.js sets on the landing only; hidden states only under .is-motion. */
.is-editorial { --ed-ease: cubic-bezier(.2,.7,.15,1); }
.is-editorial .cinema-invite,
.is-editorial .timepiece-stage,
.is-editorial .section { max-width: 1200px; margin-inline: auto; box-sizing: border-box; }
.is-editorial .section { padding-block: clamp(84px, 10vw, 140px); padding-inline: 28px; }
.is-editorial h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.is-editorial .section-intro p, .is-editorial .cinema-invite-copy p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: #b9bcc2; }

/* The film fades into the page instead of ending on a hard edge. */
.is-editorial .cinema-stage::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8,8,8,0), rgba(8,8,8,.55) 55%, #080808);
}
.is-editorial .cinema-transport { z-index: 3; }

/* Chapters: hairline on top, outlined number at the right, number before the label. */
.is-editorial .ed-chapter { position: relative; isolation: isolate; }
.is-editorial .ed-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.is-editorial .ed-rule {
  position: absolute; left: 28px; right: 28px; top: 0; height: 1px; transform-origin: left;
  background: linear-gradient(90deg, rgba(255,255,255,.34), rgba(255,255,255,.08));
}
.is-editorial .ed-number {
  position: absolute; right: 28px; top: 34px;
  font: 700 clamp(90px, 13vw, 190px)/1 Inter, Arial, sans-serif; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
}
.is-editorial .ed-index { color: #f7931a; letter-spacing: .12em; margin-right: .9em; }
.is-editorial .stage-overline[data-ed-index]::before { content: attr(data-ed-index); color: #f7931a; letter-spacing: .12em; }
/* The chapter number replaces the small dot, only in the chapter labels it was added to. */
.is-editorial .ed-chapter > * .eyebrow:has(> .ed-index)::before, .is-editorial .ed-chapter .eyebrow:has(> .ed-index)::before { display: none; }

/* Chapter heads: heading left, text right, shared baseline. */
.is-editorial .section-intro { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; max-width: none; margin-inline: 0; text-align: left; align-items: end; }
.is-editorial .section-intro .eyebrow { grid-column: 1 / -1; justify-content: flex-start; }
.is-editorial .section-intro h2, .is-editorial .section-intro p { margin: 0; }
.is-editorial .section-intro p { max-width: 460px; }
.is-editorial .cinema-invite { text-align: left; align-items: flex-start; }
.is-editorial .cinema-invite .eyebrow, .is-editorial .stage-overline, .is-editorial .closing .eyebrow { justify-content: flex-start; }
.is-editorial .art-caption, .is-editorial .closing { text-align: left; }
.is-editorial .faq { grid-template-columns: 5fr 7fr; gap: 64px; }
.is-editorial .chart-cta { border-top: 1px solid rgba(255,255,255,.12); padding-top: 40px; }
.is-editorial .steps li { border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
@media (min-width: 900px) {
  .is-editorial .cinema-invite { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
  .is-editorial .cinema-invite-copy h2 { font-size: clamp(48px, 5.4vw, 76px); }
  .is-editorial .cinema-invite-action { align-items: flex-start; text-align: left; }
  .is-editorial .closing { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; }
}
@media (max-width: 860px) {
  .is-editorial .section-intro, .is-editorial .faq { grid-template-columns: 1fr; gap: 18px; }
  .is-editorial .section { padding-inline: 22px; }
  .is-editorial .ed-rule { left: 22px; right: 22px; }
  .is-editorial .ed-number { right: 22px; }
}

/* Motion, only while editorial.js runs and the visitor allows movement. */
.is-editorial.is-motion .ed-rule { transform: scaleX(0); transition: transform 1.6s var(--ed-ease); }
.is-editorial.is-motion .is-drawn > .ed-deco .ed-rule { transform: scaleX(1); }
.is-editorial.is-motion .ed-reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ed-ease), transform 1s var(--ed-ease), clip-path 1.1s var(--ed-ease);
  transition-delay: var(--ed-delay, 0s);
}
.is-editorial.is-motion .ed-reveal.is-in { opacity: 1; transform: none; }
/* Headings rise out of a mask; only headings are clipped, so button glows stay whole. */
.is-editorial.is-motion h2.ed-reveal { clip-path: inset(0 0 88% 0); transform: translateY(40px); }
.is-editorial.is-motion h2.ed-reveal.is-in { clip-path: inset(-20% -5% -20% -5%); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .is-editorial .ed-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .is-editorial .ed-rule { transform: none !important; }
}
/* Printing shows everything, also what was never scrolled to. */
@media print {
  .is-editorial .ed-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .is-editorial .ed-rule { transform: none !important; }
}
