/* WoohooBook FrontendMarketing v012
   Filmes, illusztrált Rólunk scrollytelling
   Hatókör: kizárólag .page-about-film / .about-film
*/

.page-about-film {
  --about-bg: #fbf9ff;
  --about-paper: #fffdf9;
  --about-ink: #172033;
  --about-muted: #62687a;
  --about-purple: #6f4af6;
  --about-purple-deep: #4e35b8;
  --about-lilac: #e9e2ff;
  --about-peach: #ffe1c6;
  --about-yellow: #ffc85a;
  --about-green: #8edb9a;
  --about-footer: #10273b;
  --about-stage-radius: clamp(28px, 3vw, 54px);
  --about-ease-film: cubic-bezier(.22, .78, .24, 1);
  --about-ease-soft: cubic-bezier(.2, .65, .3, 1);
  --about-header-offset: 88px;
  background: var(--about-bg);
  color: var(--about-ink);
}

.page-about-film .site-background {
  opacity: .22;
}

.page-about-film .about-film {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--about-bg);
}

.page-about-film .about-film::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .028;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(37, 23, 74, .5) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .7) 0 1px, transparent 1px 5px);
  background-size: 7px 7px, 13px 13px;
}

.page-about-film .about-film picture,
.page-about-film .about-film img {
  display: block;
  max-width: 100%;
}

/* ------------------------------------------------------------------
   Filmes nyitójelenet
   ------------------------------------------------------------------ */

.page-about-film .about-film__intro {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 220, 176, .48), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(202, 188, 255, .55), transparent 31%),
    linear-gradient(180deg, #fffefa 0%, #f8f5ff 72%, #f4f1fc 100%);
}

.page-about-film .about-film__intro::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 130px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(246, 243, 253, .96));
}

.page-about-film .about-film__intro-sticky {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.page-about-film .about-film.is-film-mode .about-film__intro {
  min-height: 165svh;
}

.page-about-film .about-film.is-film-mode .about-film__intro-sticky {
  position: sticky;
  top: var(--about-header-offset);
  min-height: calc(100svh - var(--about-header-offset));
  min-height: calc(100dvh - var(--about-header-offset));
}

.page-about-film .about-film__intro-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-about-film .about-film__light {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: .72;
  transform: translate3d(0, calc(var(--intro-exit, 0) * -24px), 0);
  transition: background .6s ease;
}

.page-about-film .about-film__light--one {
  top: 15%;
  left: 7%;
  width: clamp(190px, 24vw, 410px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 196, 112, .30), rgba(255, 225, 184, .08) 58%, transparent 74%);
}

.page-about-film .about-film__light--two {
  right: 5%;
  bottom: 8%;
  width: clamp(230px, 30vw, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(111, 74, 246, .18), rgba(169, 143, 255, .05) 60%, transparent 75%);
}

.page-about-film .about-film__frame-mark {
  position: absolute;
  top: 7%;
  bottom: 7%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(78, 53, 184, .15) 18%, rgba(78, 53, 184, .15) 82%, transparent);
}

.page-about-film .about-film__frame-mark::before,
.page-about-film .about-film__frame-mark::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 9px;
  height: 1px;
  background: rgba(78, 53, 184, .20);
}

.page-about-film .about-film__frame-mark::before { top: 13%; }
.page-about-film .about-film__frame-mark::after { bottom: 13%; }
.page-about-film .about-film__frame-mark--left { left: clamp(16px, 4vw, 70px); }
.page-about-film .about-film__frame-mark--right { right: clamp(16px, 4vw, 70px); }

.page-about-film .about-film__intro-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(100%, 1280px);
  padding-top: clamp(96px, 11vh, 150px);
  padding-bottom: clamp(82px, 10vh, 130px);
  text-align: center;
}

.page-about-film .about-film__title-card {
  position: relative;
  width: min(930px, calc(100vw - 44px));
  padding: clamp(26px, 4vw, 58px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(111, 74, 246, .14);
  border-radius: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(255, 250, 244, .94)),
    var(--about-paper);
  box-shadow:
    0 36px 90px rgba(60, 38, 113, .14),
    0 8px 24px rgba(60, 38, 113, .07),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  transform:
    translate3d(0, calc(var(--intro-exit, 0) * -58px), 0)
    rotate(calc(var(--intro-exit, 0) * -.7deg))
    scale(calc(1 - var(--intro-exit, 0) * .055));
  opacity: calc(1 - var(--intro-exit, 0) * .52);
  transform-origin: 50% 18%;
}

.page-about-film .about-film__title-card::before,
.page-about-film .about-film__title-card::after {
  content: "";
  position: absolute;
  top: clamp(-92px, -9vh, -62px);
  width: 2px;
  height: clamp(68px, 9vh, 94px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(93, 62, 181, .10), rgba(93, 62, 181, .48));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
}

.page-about-film .about-film__title-card::before { left: 20%; }
.page-about-film .about-film__title-card::after { right: 20%; }

.page-about-film .about-film__title-card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--about-purple-deep);
  font-size: clamp(.72rem, 1vw, .84rem);
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.page-about-film .about-film__title-card-label::before,
.page-about-film .about-film__title-card-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .35;
}

.page-about-film .about-film__title-card h1 {
  max-width: 13ch;
  margin: 0 auto;
  color: var(--about-ink);
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -.062em;
  line-height: .98;
  text-wrap: balance;
}

.page-about-film .about-film__question {
  max-width: 29ch;
  margin: clamp(28px, 4vh, 48px) auto 0;
  color: #34275f;
  font-size: clamp(1.35rem, 3vw, 2.55rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: balance;
  transform:
    translate3d(calc(var(--intro-exit, 0) * 36px), calc(var(--intro-exit, 0) * -20px), 0)
    scale(calc(1 - var(--intro-exit, 0) * .04));
  opacity: calc(1 - var(--intro-exit, 0) * .78);
}

.page-about-film .about-film__scroll-cue {
  display: inline-grid;
  justify-items: center;
  gap: 10px;
  margin-top: clamp(30px, 5vh, 58px);
  color: rgba(58, 42, 107, .76);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: calc(1 - var(--intro-exit, 0) * 1.2);
  transition: color .2s ease;
}

.page-about-film .about-film__scroll-cue:hover,
.page-about-film .about-film__scroll-cue:focus-visible {
  color: var(--about-purple-deep);
  outline: none;
}

.page-about-film .about-film__scroll-cue svg {
  width: 22px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: aboutFilmCue 1.8s var(--about-ease-soft) infinite;
}

@keyframes aboutFilmCue {
  0%, 100% { transform: translateY(0); opacity: .62; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* JS csak a koreográfiát fejleszti. JS nélkül minden elem a helyén látszik. */
.js .page-about-film .about-film.is-enhanced .about-film__title-card {
  transition:
    transform .68s var(--about-ease-film),
    opacity .42s ease;
}

.js .page-about-film .about-film.is-enhanced:not(.is-intro-ready) .about-film__title-card {
  transform: translate3d(0, -28vh, 0) rotate(-2.5deg) scale(.96);
  opacity: 0;
}

.js .page-about-film .about-film.is-enhanced .about-film__question,
.js .page-about-film .about-film.is-enhanced .about-film__scroll-cue {
  transition:
    transform .62s var(--about-ease-film),
    opacity .48s ease;
}

.js .page-about-film .about-film.is-enhanced:not(.is-intro-ready) .about-film__question {
  transform: translate3d(78px, 0, 0);
  opacity: 0;
}

.js .page-about-film .about-film.is-enhanced:not(.is-intro-ready) .about-film__scroll-cue {
  transform: translateY(18px);
  opacity: 0;
}

.js .page-about-film .about-film.is-intro-ready .about-film__question {
  transition-delay: .26s;
}

.js .page-about-film .about-film.is-intro-ready .about-film__scroll-cue {
  transition-delay: .44s;
}

/* ------------------------------------------------------------------
   Történeti filmszekvencia – lineáris alap / no-JS fallback
   ------------------------------------------------------------------ */

.page-about-film .about-film__sequence {
  position: relative;
  z-index: 1;
  padding: clamp(68px, 8vw, 118px) 0 120px;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 224, 185, .32), transparent 22%),
    radial-gradient(circle at 88% 30%, rgba(190, 174, 255, .26), transparent 26%),
    linear-gradient(180deg, #f6f3fd 0%, #fbf9ff 82%, #f7f4fd 100%);
}

.page-about-film .about-film__sequence::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--about-footer));
}

.page-about-film .about-film__layout {
  position: relative;
  z-index: 2;
}

.page-about-film .about-film__stage {
  display: none;
}

.page-about-film .about-film__chapters {
  display: grid;
  gap: clamp(70px, 10vw, 128px);
}

.page-about-film .about-film__chapter {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  min-width: 0;
  scroll-margin-top: 110px;
}

.page-about-film .about-film__chapter-image {
  width: min(100%, 880px);
  margin: 0 auto;
  filter: drop-shadow(0 26px 42px rgba(54, 35, 95, .12));
}

.page-about-film .about-film__chapter-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-about-film .about-film__chapter-image--panel img,
.page-about-film .about-film__scene--panel img {
  display: block;
  border-radius: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 56px rgba(24, 18, 54, .24);
  background: #161126;
}


.page-about-film .about-film__chapter-copy {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
}

.page-about-film .about-film__chapter-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(111, 74, 246, .28);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .72;
}

.page-about-film .about-film__chapter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--about-purple-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.page-about-film .about-film__chapter-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .34;
}

.page-about-film .about-film__chapter h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(2.05rem, 4.7vw, 4.65rem);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.page-about-film .about-film__chapter p {
  max-width: 55ch;
  margin: 22px 0 0;
  color: var(--about-muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.page-about-film .about-film__chapter-copy > strong {
  display: block;
  max-width: 49ch;
  margin-top: 20px;
  color: #33275b;
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  line-height: 1.58;
}

.page-about-film .about-film__closing-line {
  max-width: 22ch !important;
  color: var(--about-ink) !important;
  font-size: clamp(1.4rem, 2.4vw, 2.35rem) !important;
  font-weight: 740;
  letter-spacing: -.035em;
  line-height: 1.22 !important;
}

.page-about-film .about-film__closing-line em {
  display: block;
  margin-top: 7px;
  color: var(--about-purple-deep);
  font-style: normal;
}

.page-about-film .about-film__last-line {
  color: #34285f !important;
  font-weight: 700;
}

/* Mobil/tablet belépő animáció csak JS enhancement esetén. */
.js .page-about-film .about-film.is-enhanced:not(.is-film-mode) .about-film__chapter {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .52s ease,
    transform .58s var(--about-ease-film);
}

.js .page-about-film .about-film.is-enhanced:not(.is-film-mode) .about-film__chapter.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ------------------------------------------------------------------
   Desktop film mód
   ------------------------------------------------------------------ */

@media (min-width: 1025px) and (min-height: 700px) {
  .js .page-about-film .about-film.is-film-mode .about-film__sequence {
    padding-top: 54px;
    padding-bottom: 118px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(370px, .84fr);
    gap: clamp(38px, 5vw, 86px);
    align-items: start;
    max-width: 1540px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__stage {
    position: sticky;
    top: calc(var(--about-header-offset) + 14px);
    display: block;
    height: calc(100svh - var(--about-header-offset) - 28px);
    min-height: 560px;
    max-height: 900px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen {
    --screen-a: rgba(231, 225, 255, .92);
    --screen-b: rgba(255, 232, 204, .76);
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(111, 74, 246, .10);
    border-radius: var(--about-stage-radius);
    background:
      radial-gradient(circle at 78% 22%, var(--screen-b), transparent 34%),
      radial-gradient(circle at 18% 76%, var(--screen-a), transparent 39%),
      linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(248, 245, 255, .94));
    box-shadow:
      0 40px 90px rgba(57, 37, 111, .12),
      inset 0 1px 0 rgba(255, 255, 255, .94);
    transition: background .72s ease;
  }

  .js .page-about-film .about-film[data-active-scene="question"] .about-film__screen {
    --screen-a: rgba(217, 207, 255, .94);
    --screen-b: rgba(255, 222, 190, .82);
  }

  .js .page-about-film .about-film[data-active-scene="sketch"] .about-film__screen {
    --screen-a: rgba(234, 225, 255, .78);
    --screen-b: rgba(255, 239, 204, .90);
  }

  .js .page-about-film .about-film[data-active-scene="people"] .about-film__screen {
    --screen-a: rgba(203, 191, 255, .82);
    --screen-b: rgba(195, 239, 199, .64);
  }

  .js .page-about-film .about-film[data-active-scene="system"] .about-film__screen {
    --screen-a: rgba(190, 176, 255, .86);
    --screen-b: rgba(255, 221, 183, .70);
  }

  .js .page-about-film .about-film[data-active-scene="together"] .about-film__screen {
    --screen-a: rgba(201, 190, 255, .84);
    --screen-b: rgba(255, 227, 194, .78);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen::before,
  .js .page-about-film .about-film.is-film-mode .about-film__screen::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 9;
    height: clamp(18px, 2.2vh, 28px);
    pointer-events: none;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen::before {
    top: 0;
    background: linear-gradient(180deg, rgba(45, 31, 86, .10), transparent);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(45, 31, 86, .10), transparent);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-grain {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: .022;
    background-image: repeating-radial-gradient(circle at 0 0, #271a54 0 1px, transparent 1px 4px);
    background-size: 6px 6px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    z-index: 0;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .68), rgba(255, 255, 255, .06) 64%, transparent 72%);
    transform: translate3d(-50%, 0, 0) scale(calc(.96 + var(--film-progress, 0) * .08));
    opacity: .9;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-topline {
    position: absolute;
    top: clamp(20px, 3vh, 30px);
    right: clamp(24px, 3vw, 38px);
    left: clamp(24px, 3vw, 38px);
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(58, 43, 100, .62);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-topline span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-topline span:first-child::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--about-purple);
    box-shadow: 0 0 0 5px rgba(111, 74, 246, .10);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene {
    --scene-opacity: 0;
    --scene-y: 44px;
    --scene-x: 0px;
    --scene-scale: .95;
    --scene-clip: 0%;
    position: absolute;
    inset: 58px 20px 82px;
    z-index: 2;
    display: grid;
    place-items: center;
    margin: 0;
    opacity: var(--scene-opacity);
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(var(--scene-x), var(--scene-y), 0) scale(var(--scene-scale));
    transform-origin: center;
    will-change: auto;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene.is-rendering {
    visibility: visible;
    will-change: transform, opacity;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene picture {
    display: block;
    width: 100%;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 45px rgba(54, 35, 95, .13));
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--question {
    inset: 62px 5% 74px 1%;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--question picture {
    width: min(92%, 630px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--sketch {
    inset: 70px -3% 72px -3%;
    clip-path: inset(0 var(--scene-clip) 0 0 round 20px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--sketch picture {
    width: min(112%, 910px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--people {
    inset: 68px -5% 66px -5%;
    clip-path: inset(0 var(--scene-clip) 0 0 round 18px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--people picture {
    width: min(116%, 1080px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--system {
    inset: 62px 0 76px 2%;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--system picture {
    width: min(94%, 700px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--together {
    inset: 66px -7% 58px -7%;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--together picture {
    width: min(118%, 1080px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-caption {
    position: absolute;
    right: clamp(24px, 3vw, 38px);
    bottom: clamp(28px, 4vh, 44px);
    left: clamp(24px, 3vw, 38px);
    z-index: 12;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    color: #33265d;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-caption span {
    color: rgba(51, 38, 93, .62);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-caption strong {
    max-width: 23ch;
    font-size: clamp(.92rem, 1.15vw, 1.08rem);
    line-height: 1.35;
    text-align: right;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__progress {
    position: absolute;
    top: 50%;
    left: clamp(17px, 1.7vw, 28px);
    z-index: 13;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__progress span {
    width: 4px;
    height: 26px;
    border-radius: 999px;
    background: rgba(62, 45, 112, .16);
    transition:
      height .28s var(--about-ease-film),
      background .28s ease,
      transform .28s var(--about-ease-film);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__progress span.is-active {
    height: 48px;
    background: var(--about-purple);
    transform: translateX(1px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapters {
    display: block;
    min-width: 0;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter {
    display: flex;
    align-items: center;
    min-height: 112svh;
    padding: 15vh 0;
    opacity: .22;
    transform: translate3d(0, 26px, 0);
    transition:
      opacity .34s ease,
      transform .46s var(--about-ease-film);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter-image {
    display: none;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter-copy {
    width: 100%;
    max-width: 590px;
    margin: 0;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter-number {
    font-size: clamp(4.6rem, 6.5vw, 8.6rem);
    opacity: .82;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter h2 {
    font-size: clamp(2.55rem, 4.4vw, 5rem);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter--final {
    min-height: 124svh;
    padding-bottom: 24vh;
  }
}

/* ------------------------------------------------------------------
   Tablet és mobil lineáris filmváltozat
   ------------------------------------------------------------------ */

@media (max-width: 1024px), (max-height: 699px) {
  .page-about-film {
    --about-header-offset: 76px;
  }

  .page-about-film .about-film__sequence {
    padding-top: 54px;
  }

  .page-about-film .about-film__layout {
    width: min(100%, 920px);
  }

  .page-about-film .about-film__chapters {
    gap: 0;
  }

  .page-about-film .about-film__chapter {
    min-height: auto;
    padding: clamp(60px, 10vw, 104px) 0;
  }

  .page-about-film .about-film__chapter + .about-film__chapter {
    border-top: 1px solid rgba(111, 74, 246, .08);
  }

  .page-about-film .about-film__chapter-image {
    margin-bottom: 8px;
  }

  .page-about-film .about-film__chapter:nth-child(even) .about-film__chapter-image {
    transform: translateX(1.5%);
  }

  .page-about-film .about-film__chapter-copy {
    width: min(100%, 690px);
  }

  .page-about-film .about-film__chapter h2 {
    max-width: 15ch;
  }
}

@media (max-width: 768px) {
  .page-about-film .about-film__intro-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-about-film .about-film__title-card {
    width: 100%;
    padding: 28px 20px 32px;
    border-radius: 26px;
  }

  .page-about-film .about-film__title-card::before,
  .page-about-film .about-film__title-card::after {
    top: -58px;
    height: 60px;
  }

  .page-about-film .about-film__title-card h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 11vw, 4.4rem);
  }

  .page-about-film .about-film__question {
    font-size: clamp(1.28rem, 6.5vw, 2rem);
  }

  .page-about-film .about-film__frame-mark {
    display: none;
  }

  .page-about-film .about-film__sequence {
    padding-right: 0;
    padding-left: 0;
  }

  .page-about-film .about-film__layout {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-about-film .about-film__chapter {
    padding: 58px 0 74px;
  }

  .page-about-film .about-film__chapter-image {
    width: min(100%, 620px);
    margin-bottom: 14px;
  }

  .page-about-film .about-film__chapter:nth-child(1) .about-film__chapter-image,
  .page-about-film .about-film__chapter:nth-child(4) .about-film__chapter-image {
    width: min(100%, 520px);
  }

  .page-about-film .about-film__chapter--final .about-film__chapter-image {
    width: 128%;
    max-width: none;
    margin-left: -14%;
  }

  .page-about-film .about-film__chapter-number {
    font-size: clamp(3.5rem, 18vw, 5.8rem);
  }

  .page-about-film .about-film__chapter h2 {
    max-width: 14ch;
    font-size: clamp(1.9rem, 9vw, 3.1rem);
  }

  .page-about-film .about-film__chapter p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .page-about-film .about-film__closing-line {
    font-size: clamp(1.35rem, 6.8vw, 2.05rem) !important;
  }
}

@media (max-width: 430px) {
  .page-about-film .about-film__title-card-label {
    font-size: .67rem;
    letter-spacing: .11em;
  }

  .page-about-film .about-film__title-card-label::before,
  .page-about-film .about-film__title-card-label::after {
    width: 18px;
  }

  .page-about-film .about-film__scroll-cue {
    font-size: .68rem;
  }
}

/* ------------------------------------------------------------------
   Csökkentett mozgás / hozzáférhetőség
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .page-about-film .about-film *,
  .page-about-film .about-film *::before,
  .page-about-film .about-film *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .page-about-film .about-film__title-card,
  .page-about-film .about-film__question,
  .page-about-film .about-film__scroll-cue,
  .page-about-film .about-film__chapter,
  .page-about-film .about-film__scene {
    transform: none !important;
    opacity: 1 !important;
  }

  .page-about-film .about-film__stage {
    display: none !important;
  }

  .page-about-film .about-film__chapter-image {
    display: block !important;
  }
}

/* Nagyított szövegnél a lineáris forma biztonságosabb. */
@media (min-width: 1025px) and (max-resolution: 1dppx) {
  @supports (font-size: 1rem) {
    .page-about-film.text-zoomed .about-film__stage {
      display: none !important;
    }
  }
}

/* ------------------------------------------------------------------
   WoohooBook FrontendMarketing v012
   Hosszúformátumú márkatörténet, iniciálék és illusztrációs helyek.
   Az alap v011 filmes vizuális rendszer változatlan marad; ez a blokk
   csak a tartalmi ritmust és az új jelenetazonosítókat finomítja.
   ------------------------------------------------------------------ */

.page-about-film .about-film__story-copy {
  max-width: 61ch;
  margin-top: clamp(22px, 3vw, 32px);
  color: #565d70;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.82;
  text-wrap: pretty;
}

.page-about-film .about-film__story-copy::after {
  content: "";
  display: block;
  clear: both;
}

.page-about-film .about-film__initial {
  float: left;
  margin: .065em .16em 0 0;
  color: var(--about-purple-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4.4rem, 7vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .72;
  text-shadow: 0 12px 26px rgba(78, 53, 184, .12);
}

.page-about-film .about-film__illustration-placeholder {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px dashed rgba(111, 74, 246, .24);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 50% 38%, rgba(111, 74, 246, .14), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(247, 242, 255, .86));
  box-shadow: 0 24px 58px rgba(54, 35, 95, .09);
  text-align: center;
}

.page-about-film .about-film__illustration-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: inherit;
}

.page-about-film .about-film__illustration-placeholder svg {
  width: min(100%, 330px);
  height: auto;
  margin-bottom: 16px;
  fill: none;
  stroke: rgba(75, 52, 151, .42);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-about-film .about-film__illustration-placeholder svg .monitor,
.page-about-film .about-film__illustration-placeholder svg .glow {
  stroke: var(--about-purple);
}

.page-about-film .about-film__illustration-placeholder svg .moon {
  fill: rgba(255, 200, 90, .52);
  stroke: rgba(220, 150, 31, .45);
}

.page-about-film .about-film__illustration-placeholder > span {
  color: var(--about-purple-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.page-about-film .about-film__illustration-placeholder > strong {
  max-width: 31ch;
  margin-top: 10px;
  color: var(--about-ink);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.38;
}

.page-about-film .about-film__illustration-placeholder > small {
  max-width: 46ch;
  margin-top: 9px;
  color: var(--about-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.page-about-film .about-film__illustration-direction {
  display: grid;
  gap: 7px;
  max-width: 59ch;
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid rgba(111, 74, 246, .42);
  border-radius: 0 16px 16px 0;
  background: rgba(236, 229, 255, .45);
}

.page-about-film .about-film__illustration-direction strong {
  color: var(--about-purple-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-about-film .about-film__illustration-direction span {
  color: #5d6272;
  font-size: .92rem;
  line-height: 1.6;
}

.page-about-film .about-film__chapter h2 {
  max-width: 17ch;
}

.page-about-film .about-film__chapter-copy {
  width: min(100%, 820px);
}

.page-about-film .about-film__chapter-image:has(.about-film__illustration-placeholder) {
  filter: none;
}

@media (min-width: 1025px) and (min-height: 700px) {
  .js .page-about-film .about-film[data-active-scene="night"] .about-film__screen {
    --screen-a: rgba(208, 199, 246, .88);
    --screen-b: rgba(255, 220, 174, .70);
  }

  .js .page-about-film .about-film[data-active-scene="spark"] .about-film__screen {
    --screen-a: rgba(217, 207, 255, .94);
    --screen-b: rgba(255, 222, 190, .82);
  }

  .js .page-about-film .about-film[data-active-scene="steps"] .about-film__screen {
    --screen-a: rgba(234, 225, 255, .78);
    --screen-b: rgba(255, 239, 204, .90);
  }

  .js .page-about-film .about-film[data-active-scene="providers"] .about-film__screen {
    --screen-a: rgba(203, 191, 255, .82);
    --screen-b: rgba(195, 239, 199, .64);
  }

  .js .page-about-film .about-film[data-active-scene="goal"] .about-film__screen {
    --screen-a: rgba(201, 190, 255, .84);
    --screen-b: rgba(255, 227, 194, .78);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--night {
    inset: 74px 6% 92px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--night .about-film__illustration-placeholder {
    width: min(88%, 650px);
    padding: clamp(22px, 3vw, 34px);
    transform: translateZ(0);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--spark {
    inset: 62px 5% 74px 1%;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--spark picture {
    width: min(92%, 630px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--steps {
    inset: 70px -3% 72px -3%;
    clip-path: inset(0 var(--scene-clip) 0 0 round 20px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--steps picture {
    width: min(112%, 910px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--providers {
    inset: 68px -5% 66px -5%;
    clip-path: inset(0 var(--scene-clip) 0 0 round 18px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--providers picture {
    width: min(116%, 1080px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--goal {
    inset: 66px -7% 58px -7%;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__scene--goal picture {
    width: min(118%, 1080px);
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-caption {
    justify-content: flex-start;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__screen-caption strong {
    max-width: 38ch;
    font-size: clamp(.92rem, 1.1vw, 1.06rem);
    text-align: left;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter {
    min-height: 148svh;
    padding: 12vh 0;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter-copy {
    max-width: 650px;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter h2 {
    max-width: 17ch;
    font-size: clamp(2.35rem, 3.7vw, 4.25rem);
    line-height: 1.04;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__story-copy {
    max-width: 59ch;
    font-size: clamp(.98rem, 1vw, 1.08rem);
    line-height: 1.82;
  }

  .js .page-about-film .about-film.is-film-mode .about-film__chapter--final {
    min-height: 164svh;
    padding-bottom: 24vh;
  }
}

@media (max-width: 1024px), (max-height: 699px) {
  .page-about-film .about-film__chapter-copy {
    width: min(100%, 760px);
  }

  .page-about-film .about-film__chapter h2 {
    max-width: 18ch;
  }

  .page-about-film .about-film__story-copy {
    max-width: 64ch;
  }
}

@media (max-width: 768px) {
  .page-about-film .about-film__chapter-image:has(.about-film__illustration-placeholder) {
    width: 100%;
  }

  .page-about-film .about-film__illustration-placeholder {
    padding: 22px 18px 24px;
    border-radius: 24px;
  }

  .page-about-film .about-film__illustration-placeholder svg {
    width: min(100%, 270px);
  }

  .page-about-film .about-film__chapter h2 {
    max-width: 16ch;
    font-size: clamp(1.9rem, 8.3vw, 3rem);
  }

  .page-about-film .about-film__story-copy {
    font-size: 1rem;
    line-height: 1.76;
  }

  .page-about-film .about-film__initial {
    margin-top: .08em;
    font-size: clamp(4rem, 19vw, 5.4rem);
  }
}

@media (max-width: 430px) {
  .page-about-film .about-film__illustration-direction {
    padding: 14px 15px;
  }
}

/* A végleges fejezetcímek hosszabbak az eredeti rövid headline-oknál. */
.page-about-film .about-film__title-card h1 {
  max-width: 16ch;
  font-size: clamp(2.45rem, 5.35vw, 5.25rem);
  letter-spacing: -.048em;
  line-height: 1.01;
}

.page-about-film .about-film__chapter h2 {
  letter-spacing: -.038em;
  line-height: 1.07;
}

@media (min-width: 1025px) and (min-height: 700px) {
  .js .page-about-film .about-film.is-film-mode .about-film__chapter h2 {
    font-size: clamp(2.15rem, 3.15vw, 3.65rem);
  }
}

@media (max-width: 768px) {
  .page-about-film .about-film__title-card h1 {
    max-width: 15ch;
    font-size: clamp(2.05rem, 9vw, 3.55rem);
  }
}
