/* Yallery Studio — scene-by-scene AI film landing.
 * Every measurement below is carried over from the design handoff (Yaleri Studio.dc.html)
 * unchanged; notes mark the few places that differ from it and why. */

/* ---------- Base ---------- */
html { background: #050505; }
body {
  margin: 0;
  background: #050505;
  color: #F5F2EB;
  font-family: 'Schibsted Grotesk', 'Manrope', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ko) body { word-break: keep-all; }
::selection { background: #F5F2EB; color: #050505; }
a { color: #F5F2EB; text-decoration: none; }
a:hover { color: #F5F2EB; }
:focus-visible { outline: 1px solid #F5F2EB; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 2px;
  background: #F5F2EB;
  color: #050505;
  font-family: 'Martian Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.skip-link:hover { color: #050505; }
.skip-link:focus { top: 16px; }

@keyframes yFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes yLine { from { opacity: 0; transform: translate3d(0, .46em, 0) } to { opacity: 1; transform: none } }
@keyframes yRise { from { opacity: 0; transform: translate3d(0, 34px, 0) } to { opacity: 1; transform: none } }

/* Scroll-linked reveals; each block sets its own animation-range. */
[data-rise] {
  animation: yRise .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-timeline: view();
}
@supports not (animation-timeline: view()) {
  [data-rise] { animation: none !important; opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  [data-rise], [data-line] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .scene-card__live, .clip img, .clip--overlay { transition: none; }
  .site-header__menu, .site-header__burger span { animation: none !important; transition: none !important; }
}

/* ---------- Page chrome ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Absolute, not fixed: the mascot is placed in document space, so while it stands beside a
 * heading it scrolls with the page natively instead of being re-positioned every frame. */
.mascot {
  position: absolute;
  left: 0;
  top: 0;
  /* The cat is a tall drawing where the old mascot was a wide one, so it is set narrower: this keeps the
   * character the same height on screen, and the header keeps the room it had beside the logo. */
  width: clamp(42px, 4.6vw, 78px);
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease .5s;
  will-change: transform;
  transform-origin: 50% 62%;
  /* One drawing, cut out of its background (see README); CSS adds only the drop shadow. */
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3));
}
/* The routine (app.js) moves the body: squash and lean pivot at the feet. The box keeps the
 * calm pose's proportions. */
.mascot__body { position: relative; aspect-ratio: 320 / 411; }
/* The poses are separate drawings on different canvases. Each one sits where its body
 * silhouette overlaps the calm pose best (same feet line), so changing poses never shifts or
 * resizes the character. app.js cross-fades them and adds a mirrored copy of each
 * (.is-mirrored, mirrored about the box's centre), which steps with the other foot. */
.mascot img { display: block; width: 100%; height: auto; }
.mascot img[data-frame="cheer"].is-mirrored { left: 8.97%; }

/* Above .hero__stage (z-index 3), which follows the header inside the hero: the language menu
 * drops down over the stage and must stay on top of it to be seen and clicked. */
.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 3vw, 34px) clamp(20px, 5vw, 64px);
  animation: yFade 1s ease .4s both;
}
.logo { display: flex; align-items: baseline; gap: 10px; }
/* The brand mark (assets/logo-mark.svg): the two chevrons of the logo in the wordmark's white, a little
 * taller than the capitals and centred on them. */
.logo__mark { flex: none; display: block; width: auto; height: 17px; align-self: center; }
/* The name is set the way the studio app sets it: Inter Variable at 600, in its own case, untracked. */
.logo__word { font-family: 'Inter Variable', ui-sans-serif, system-ui, sans-serif; font-size: 17px; font-weight: 600; letter-spacing: normal; white-space: nowrap; }
.site-header__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 30px);
}
.site-nav {
  display: flex;
  flex-wrap: wrap; /* only ever wraps when a translation outgrows a narrow screen */
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 34px);
  font-family: 'Martian Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: #99968F;
  text-transform: uppercase;
}
.site-nav a, .site-nav a:hover { color: #99968F; }

/* The language menu and the Log in button keep together: when the header wraps, they move as one. */
.site-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 30px);
}

.lang { position: relative; }
.lang__toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid #1E2024;
  border-radius: 2px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: 'Martian Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: #99968F;
}
.lang__toggle:hover { color: #F5F2EB; border-color: #2E3034; }
.lang__menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 168px;
  background: #0A0A0B;
  border: 1px solid #1E2024;
  border-radius: 2px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
  z-index: 20;
}
.lang__menu[hidden] { display: none; }
.lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 0;
  border-radius: 2px;
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  color: #99968F;
}
.lang__option[aria-pressed="true"] { background: #131417; color: #F5F2EB; }
.lang__option:hover { background: #131417; }
.lang__name { font-size: 13px; letter-spacing: -.01em; }
.lang__code { font-family: 'Martian Mono', monospace; font-size: 8.5px; letter-spacing: .18em; opacity: .7; }

.site-header__auth {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-left: clamp(10px, 1.6vw, 22px);
  border-left: 1px solid #1E2024;
}
/* The header's one button, Log in, in the design's Sign up style. */
.site-header__login {
  font-family: 'Martian Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #050505;
  background: #F5F2EB;
  padding: 10px 16px;
  border-radius: 2px;
}
.site-header__login:hover { background: #FFFFFF; color: #050505; }
/* The menu lists five sections beside the logo and its name, so on narrower screens the controls wrap
 * onto a second row (below 837px in French). There the logo lines up with the first row, on the menu's
 * baseline, instead of floating between the rows; wider one-row headers keep the design's centring. */
@media (max-width: 842px) {
  .site-header { align-items: baseline; }
}

/* Phones and small tablets: a menu button. The bar keeps the logo, the language menu, Log in and the
 * button; the sections open in a panel under the bar, over the page. The panel and its Log in exist only
 * here (on wider screens the wrapper steps out of the way). When a long translation leaves the bar no room
 * for Log in beside the language menu and the button (site.js measures it), Log in moves into the panel. */
.site-header__menu { display: contents; }
.site-header__menu-login, .site-header__burger { display: none; }
@media (max-width: 768px) {
  .site-header { align-items: center; gap: 8px; }
  .logo { margin-right: auto; }
  .site-header__right { display: contents; }
  .site-header__tools { gap: 8px; }
  .site-header__auth { padding-left: 0; border-left: 0; }
  .lang__toggle { padding-left: 8px; padding-right: 8px; }
  .site-header__login { padding-left: 12px; padding-right: 12px; }
  .site-header__burger {
    display: grid;
    place-content: center;
    gap: 4px;
    flex: none;
    width: 38px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 1px solid #1E2024;
    border-radius: 2px;
    cursor: pointer;
  }
  .site-header__burger:hover { border-color: #2E3034; }
  .site-header__burger span { display: block; width: 16px; height: 1.5px; background: #F5F2EB; transition: transform .25s ease, opacity .2s ease; }
  .site-header.is-open .site-header__burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .site-header.is-open .site-header__burger span:nth-child(2) { opacity: 0; }
  .site-header.is-open .site-header__burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .site-header__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 4px clamp(20px, 5vw, 64px) 26px;
    background: #050505;
    border-top: 1px solid #16171A;
    border-bottom: 1px solid #16171A;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    animation: menuDrop .22s ease both;
  }
  .site-header.is-open { background: #050505; }
  .site-header.is-open .site-header__menu { display: flex; }
  .site-nav { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0; font-size: 12px; letter-spacing: .18em; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid #16171A; }
  .site-nav a[aria-current="location"] { color: #F5F2EB; }

  .site-header--tight .site-header__auth { display: none; }
  .site-header--tight .site-header__menu-login { display: block; margin-top: 22px; padding: 14px; text-align: center; }
}
/* Most phones (up to 430px): a slightly tighter bar — narrower side padding and gaps, the language menu
 * without its chevron, Log in with less tracking — so Log in stays in the bar in every language from 360px. */
@media (max-width: 430px) {
  .site-header { gap: 6px; padding-left: 16px; padding-right: 16px; }
  .site-header__tools { gap: 6px; }
  .lang__toggle { gap: 0; }
  .lang__toggle svg { display: none; }
  .site-header__login { padding-left: 10px; padding-right: 10px; letter-spacing: .14em; }
  .site-header__burger { width: 34px; }
  .site-header__menu { padding-left: 16px; padding-right: 16px; }
}
@keyframes menuDrop { from { opacity: 0; transform: translateY(-6px); } }
/* While the menu is open the page behind it stays put, and the mascot steps aside. */
html.menu-open { overflow: hidden; }
html.menu-open .mascot { visibility: hidden; }


/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #F5F2EB;
  color: #050505;
  padding: 15px 26px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.btn-primary:hover { background: #FFFFFF; color: #050505; }
.btn-primary__arrow { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: 0; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #F5F2EB;
  padding: 15px 22px;
  border: 1px solid #26272A;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 500;
}
.btn-ghost:hover { border-color: #F5F2EB; color: #F5F2EB; }
.btn-ghost__dot { width: 7px; height: 7px; border-radius: 50%; background: #F5F2EB; display: inline-block; }
.btn-primary--lg { padding: 16px 30px; font-size: 15px; letter-spacing: normal; }
.btn-ghost--lg { padding: 16px 26px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 60% 38%, #0d1016 0%, #060708 55%, #050505 100%);
  overflow: hidden;
}
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.hero__canvas.is-live { opacity: 1; transition: opacity 1.2s ease; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__shade--top { background: linear-gradient(180deg, rgba(5, 5, 5, .72) 0%, rgba(5, 5, 5, .06) 26%, rgba(5, 5, 5, .14) 58%, rgba(5, 5, 5, .92) 100%); }
.hero__shade--side { background: linear-gradient(90deg, rgba(5, 5, 5, .93) 0%, rgba(5, 5, 5, .60) 40%, rgba(5, 5, 5, .05) 74%, rgba(5, 5, 5, 0) 100%); }
/* Tall screens stack the hero's plates above the copy (director.js), so the side shade that keeps the
 * headline legible over them on wide screens only needs a light touch there. */
@media (max-aspect-ratio: 23/20) {
  .hero__shade--side { background: linear-gradient(90deg, rgba(5, 5, 5, .45) 0%, rgba(5, 5, 5, .14) 45%, rgba(5, 5, 5, 0) 75%); }
}
.hero__stage {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(20px, 5vw, 64px) clamp(26px, 4vh, 48px);
}
.hero__inner {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-end;
}
.hero__copy { flex: 1 1 420px; min-width: 0; }
/* The copy keeps the measure it had beside the hero's former side column (330px and the gap), so the
 * headline wraps as designed and leaves the right of the stage to the video plates. That column sat
 * beside the copy from 873px up; below, the copy already took the full width. */
@media (min-width: 873px) {
  .hero__copy { max-width: calc(100% - 330px - clamp(24px, 4vw, 64px)); }
}
.hero__title {
  margin: 0;
  font-size: clamp(40px, 7.6vw, 128px);
  line-height: .86;
  letter-spacing: -.048em;
  font-weight: 800;
  text-wrap: balance;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line-text { display: block; animation: yLine 1.1s cubic-bezier(.2, .75, .2, 1) 1.2s both; }
.hero__line-text--muted { color: #99968F; }
.hero__line-text--late { animation-delay: 1.42s; }
.hero__lead {
  margin: clamp(18px, 2.6vh, 30px) 0 0;
  max-width: 44ch;
  font-size: clamp(14.5px, 1.22vw, 18px);
  line-height: 1.5;
  color: #99968F;
  animation: yLine 1s ease 1.72s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(20px, 3vh, 34px);
  animation: yLine 1s ease 1.9s both;
}
/* ---------- Shared section layout ---------- */
.section {
  position: relative;
  padding: clamp(90px, 13vh, 170px) clamp(20px, 5vw, 64px);
  border-top: 1px solid #121316;
}
.section__wrap { max-width: 1560px; margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  animation-range: entry 6% cover 26%;
}
.section-title { margin: 0; font-size: clamp(32px, 4.8vw, 68px); line-height: .94; letter-spacing: -.04em; font-weight: 800; width: fit-content; }
.section-title--balance { text-wrap: balance; }
.section-lead { margin: 0; max-width: 46ch; font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.56; color: #99968F; text-wrap: pretty; }
.panel-rise { animation-duration: 1s; animation-range: entry 4% cover 30%; }

/* ---------- Scenes ---------- */
.scenes { overflow: hidden; }
.scenes__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.scenes__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(78% 62% at 50% 50%, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, .42) 62%, #050505 100%);
}
.scenes__wrap { position: relative; z-index: 2; }
.scenes__strip { position: relative; margin-top: clamp(56px, 9vh, 116px); }
.scenes__rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 242, 235, 0) 0%, rgba(245, 242, 235, .38) 12%, rgba(245, 242, 235, .38) 88%, rgba(245, 242, 235, 0) 100%);
}
.scenes__grid {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(20px, 5vw, 64px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
  gap: clamp(12px, 1.8vw, 26px);
}
.scene-card { display: flex; flex-direction: column; gap: 9px; }
.scene-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid #1B1D21;
  border-radius: 2px;
  overflow: hidden;
  background: #08090B;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), border-color .55s ease;
}
.scene-card__frame:hover { transform: translateY(-7px); border-color: #4A4D52; }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-card__tag {
  position: absolute;
  left: 9px;
  bottom: 8px;
  font-family: 'Martian Mono', monospace;
  font-size: 7.5px;
  letter-spacing: .16em;
  color: rgba(245, 242, 235, .72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
  text-transform: uppercase;
}
.scene-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Martian Mono', monospace;
  font-size: 8px;
  letter-spacing: .16em;
  color: #99968F;
  text-transform: uppercase;
}
.scene-card__slate { color: #F5F2EB; }
/* Each card is one scene of the master film (app.js): the playing scene lights up and shows the
 * film's own frames over its still, and every card's bar fills with that scene's progress. */
.scene-card__live { opacity: 0; transition: opacity .35s ease; }
.scene-card.is-active .scene-card__live { opacity: 1; }
.scene-card.is-active .scene-card__frame { border-color: rgba(245, 242, 235, .5); }
.scene-card.is-active .scene-card__tag { color: #F5F2EB; }
.scene-card__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(245, 242, 235, .12); }
.scene-card__progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #F5F2EB;
  transform-origin: 0 50%;
  transform: scaleX(var(--scene-progress, 0));
}

/* ---------- Assembly timeline ---------- */
.timeline {
  margin-top: clamp(14px, 1.6vw, 22px);
  border: 1px solid #1B1D21;
  border-radius: 4px;
  background: #070808;
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid #17191C;
  flex-wrap: wrap;
}
.panel-bar__title { font-family: 'Martian Mono', monospace; font-size: 8.5px; letter-spacing: .2em; color: #F5F2EB; text-transform: uppercase; }
.timeline__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  white-space: nowrap;
  font-family: 'Martian Mono', monospace;
  font-size: 8.5px;
  letter-spacing: .16em;
  color: #99968F;
  text-transform: uppercase;
}
.timeline__export, .timeline__time { color: #F5F2EB; }
.timeline__time { font-variant-numeric: tabular-nums; }
.timeline__body { position: relative; padding: 16px 16px 20px; }
/* Placed by app.js from the master film's playback position. */
.timeline__playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #F5F2EB;
  box-shadow: 0 0 12px rgba(245, 242, 235, .45);
  will-change: transform;
  z-index: 2;
}
.timeline__ruler {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  padding-left: 46px;
  font-family: 'Martian Mono', monospace;
  font-size: 7.5px;
  letter-spacing: .16em;
  color: #99968F;
}
.timeline__ruler span:not(:last-child) { flex: 1; }
.timeline__tracks { display: grid; gap: 7px; }
.track { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 10px; }
.track__label { font-family: 'Martian Mono', monospace; font-size: 8px; letter-spacing: .14em; color: #99968F; }
.track__lane { display: flex; gap: 4px; }
.track__lane--video { height: 58px; }
.track__lane--overlay { height: 26px; }
.track__lane--audio { height: 20px; }
.clip { position: relative; border-radius: 2px; border: 1px solid #33353A; overflow: hidden; background: #0E0F12; }
.clip__label {
  position: absolute;
  left: 8px;
  bottom: 6px;
  font-family: 'Martian Mono', monospace;
  font-size: 7.5px;
  letter-spacing: .1em;
  color: #F5F2EB;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
  text-transform: uppercase;
}
.clip--overlay { border-radius: 2px; border: 1px solid #232528; background: #111316; }
.clip--audio { border-radius: 2px; border: 1px solid #1E2024; background: repeating-linear-gradient(90deg, #141619 0 2px, #0B0C0E 2px 5px); }
/* V1 holds the film's scenes and V2 its cross-fades, placed and lit by app.js from the film's time. */
.clip img { opacity: .5; transition: opacity .35s ease; }
.clip.is-active { border-color: rgba(245, 242, 235, .55); }
.clip.is-active img { opacity: 1; }
.clip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #F5F2EB;
  transform-origin: 0 50%;
  transform: scaleX(var(--scene-progress, 0));
}
.track__lane--overlay { position: relative; }
.track__lane--overlay .clip--overlay { position: absolute; top: 0; bottom: 0; left: 0; width: 0; transition: background-color .3s ease, border-color .3s ease; }
.track__lane--overlay .clip--overlay.is-active { border-color: #4A4D52; background: #1C1E22; }
.clip--audio.is-muted { opacity: .6; }
.span-1 { flex: 1; }
.span-3 { flex: 3; }
.span-6 { flex: 6; }

/* ---------- Master film ---------- */
.master { margin-top: clamp(40px, 6vh, 78px); }
.film {
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
  aspect-ratio: 2.39 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: #050505;
  box-shadow: 0 70px 150px -60px rgba(0, 0, 0, .95);
}
.film__sound {
  position: absolute;
  top: clamp(10px, 1.4vw, 18px);
  right: clamp(10px, 1.4vw, 18px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid rgba(245, 242, 235, .16);
  border-radius: 2px;
  background: rgba(8, 9, 11, .58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.film__mute {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #F5F2EB;
  cursor: pointer;
}
.film__mute:hover { background: rgba(245, 242, 235, .08); }
.film__cross { display: none; }
.film.is-muted .film__wave { display: none; }
.film.is-muted .film__cross { display: inline; }
.film__volume {
  --level: 80%;
  width: clamp(64px, 7vw, 96px);
  height: 18px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.film__volume::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: linear-gradient(90deg, #F5F2EB var(--level), rgba(245, 242, 235, .22) var(--level)); }
.film__volume::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: #F5F2EB; -webkit-appearance: none; appearance: none; }
.film__volume::-moz-range-track { height: 2px; border-radius: 1px; background: rgba(245, 242, 235, .22); }
.film__volume::-moz-range-progress { height: 2px; border-radius: 1px; background: #F5F2EB; }
.film__volume::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #F5F2EB; }
.film.is-muted .film__volume { opacity: .45; }
/* Touch screens and narrow films: volume belongs to the device (iOS does not let a page set it)
 * and a slider would cover the picture, so only the mute switch stays. */
@media (pointer: coarse), (max-width: 480px) {
  .film__volume { display: none; }
  .film__sound { padding: 3px; }
}

/* ---------- Prompt slider ---------- */
.prompts-section {
  position: relative;
  padding: clamp(84px, 14vh, 154px) 0;
  border-top: 1px solid #121316;
  overflow: hidden;
}
.prompts-head {
  max-width: 1560px;
  margin: 0 auto clamp(38px, 6vh, 68px);
  padding: 0 clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 4vw, 72px);
  align-items: end;
  animation-range: entry 0% cover 22%;
}
.prompts { position: relative; height: 320px; }
.prompt-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  opacity: 0;
  transform-origin: 50% 50%;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 1.05s cubic-bezier(.2, .7, .2, 1), opacity 1.05s cubic-bezier(.2, .7, .2, 1);
}
.prompt-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid #1B1D21;
  background: #08090B;
}
.prompt-card__bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  padding: 11px 11px 11px clamp(14px, 1.5vw, 20px);
  border-radius: 2px;
  background: rgba(6, 7, 9, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 242, 235, .16);
  opacity: 0;
  transition: opacity .85s ease;
}
.prompt-card:not(.is-current) .prompt-card__bar { pointer-events: none; }
.prompt-card__caret { flex: none; font-family: 'Martian Mono', monospace; font-size: 13px; line-height: 1; color: rgba(245, 242, 235, .5); }
.prompt-card__text { flex: 1; min-width: 0; font-size: clamp(12.5px, 1vw, 15px); line-height: 1.4; color: #F5F2EB; text-wrap: pretty; }
.prompt-card__use {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #F5F2EB;
  color: #0A0A0B;
  font-family: 'Martian Mono', monospace;
  font-size: 15px;
  line-height: 1;
  transition: background .35s ease;
}
.prompt-card__use:hover { background: #FFFFFF; color: #0A0A0B; }
.prompts__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(30px, 4.5vh, 52px);
}
.prompts__step {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #26282C;
  border-radius: 2px;
  background: transparent;
  color: #F5F2EB;
  font-family: 'Martian Mono', monospace;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background .4s ease, border-color .4s ease;
}
.prompts__step:hover { background: #101114; border-color: #4A4D52; }

/* ---------- Pricing ----------
 * Not part of the handoff: Studio's plans as tier cards in the design's panel style, drawn by
 * pricing.js from Studio's own price list. Read like a price list — a name and a price read from
 * across the room, a month's credits in one line, what they make as a small table with each
 * maker's mark, and one button — in type sizes meant to be read, the mono kept for the labels.
 * The billing switch slides its pill and rolls every price, the month's struck beside the year's;
 * cards rise in turn, their meters fill as they scroll in, they lift on hover, and the
 * recommended one's edge carries a slow light. */
@keyframes yFill { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@property --tier-spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tierSpin { to { --tier-spin: 360deg; } }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  animation-range: entry 6% cover 26%;
}
.billing {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border: 1px solid #1E2024;
  border-radius: 3px;
  background: #070808;
}
.billing::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: var(--pill-w, 0);
  transform: translateX(var(--pill-x, 0));
  border-radius: 2px;
  background: #F5F2EB;
  opacity: 0;
}
/* Until the pill is measured (or without JS) the pressed option paints its own background. */
.billing:not(.is-ready) .billing__option[aria-pressed="true"] { background: #F5F2EB; border-radius: 2px; }
.billing.is-ready::before { opacity: 1; transition: transform .45s cubic-bezier(.2, .7, .2, 1), width .45s cubic-bezier(.2, .7, .2, 1); }
.billing__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #99968F;
  cursor: pointer;
  font-family: 'Martian Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .35s ease;
}
.billing__option:hover { color: #F5F2EB; }
.billing__option[aria-pressed="true"] { color: #050505; }
.billing__save {
  padding: 3px 6px;
  border-radius: 2px;
  background: rgba(143, 214, 148, .16);
  color: #A8E0AC;
  font-size: 9.5px;
  letter-spacing: .04em;
  transition: background .35s ease, color .35s ease;
}
.billing__option[aria-pressed="true"] .billing__save { background: #1F6B2A; color: #F5F2EB; }

.tiers {
  display: grid;
  /* As many columns as Studio sells plans — two to a row on a tablet, one on a phone. */
  grid-template-columns: repeat(var(--plans, 3), minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(32px, 5vh, 56px);
}
@media (max-width: 959px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .tiers { grid-template-columns: 1fr; }
}
.tier-cell { animation-range: entry 4% cover 28%; }
.tier-cell:nth-child(2) { animation-range: entry 10% cover 34%; }
.tier-cell:nth-child(3) { animation-range: entry 16% cover 40%; }
.tier-cell:nth-child(n+4) { animation-range: entry 22% cover 46%; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid #1B1D21;
  border-radius: 6px;
  background: linear-gradient(180deg, #0B0C0E 0%, #070808 100%);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), border-color .55s ease, box-shadow .55s ease;
}
.tier:hover { transform: translateY(-7px); border-color: #4A4D52; box-shadow: 0 34px 70px -38px rgba(0, 0, 0, .95); }
/* The plan Studio points a first purchase at: lit from the top, a slow light running its edge,
 * its badge, and the one filled button of the row. */
.tier--recommended {
  border-color: #34373C;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(245, 242, 235, .08), transparent 62%),
    linear-gradient(180deg, #0F1012 0%, #08090A 100%);
  box-shadow: 0 44px 90px -56px rgba(245, 242, 235, .4);
}
/* The light: a comet running the edge, and a soft glow under the card that follows it. */
.tier--recommended::before,
.tier--recommended::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  background: conic-gradient(from var(--tier-spin), transparent 0turn, transparent .55turn, rgba(245, 242, 235, .35) .7turn, #F5F2EB .8turn, transparent .86turn);
  animation: tierSpin 7s linear infinite;
  pointer-events: none;
}
.tier--recommended::before {
  inset: -1.5px;
  padding: 1.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.tier--recommended::after {
  inset: 0;
  z-index: -1;
  opacity: .28;
  filter: blur(22px);
}
.tier__head { display: flex; align-items: center; gap: 10px; min-height: 26px; }
.tier__name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #F5F2EB; }
.tier__badge {
  padding: 4px 7px;
  border-radius: 2px;
  background: #F5F2EB;
  color: #050505;
  font-family: 'Martian Mono', monospace;
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* Where the plan stands on the ladder: a small meter beside its name, filling as it scrolls in. */
.tier__meter { display: grid; grid-template-columns: repeat(var(--levels, 3), minmax(0, 1fr)); gap: 4px; width: 64px; margin-left: auto; }
.tier__meter i { position: relative; height: 4px; overflow: hidden; border-radius: 2px; background: #1E2024; }
.tier__meter i::after { content: ''; position: absolute; inset: 0; background: #F5F2EB; transform: scaleX(0); transform-origin: left; }
/* A card fills as many segments as its place on the ladder. */
.tier[data-level="1"] .tier__meter i:nth-child(-n+1)::after,
.tier[data-level="2"] .tier__meter i:nth-child(-n+2)::after,
.tier[data-level="3"] .tier__meter i:nth-child(-n+3)::after,
.tier[data-level="4"] .tier__meter i:nth-child(-n+4)::after,
.tier[data-level="5"] .tier__meter i:nth-child(-n+5)::after,
.tier[data-level="6"] .tier__meter i:nth-child(-n+6)::after {
  animation: yFill .8s cubic-bezier(.2, .7, .2, 1) both;
  animation-timeline: view();
  animation-range: entry 40% cover 50%;
}
.tier[data-level] .tier__meter i:nth-child(2)::after { animation-range: entry 55% cover 60%; }
.tier[data-level] .tier__meter i:nth-child(3)::after { animation-range: entry 70% cover 70%; }
.tier[data-level] .tier__meter i:nth-child(n+4)::after { animation-range: entry 80% cover 78%; }
@supports not (animation-timeline: view()) {
  .tier[data-level="1"] .tier__meter i:nth-child(-n+1)::after,
  .tier[data-level="2"] .tier__meter i:nth-child(-n+2)::after,
  .tier[data-level="3"] .tier__meter i:nth-child(-n+3)::after,
  .tier[data-level="4"] .tier__meter i:nth-child(-n+4)::after,
  .tier[data-level="5"] .tier__meter i:nth-child(-n+5)::after,
  .tier[data-level="6"] .tier__meter i:nth-child(-n+6)::after { animation: none; transform: none; }
}
/* The figure, and under it "/ month" — with, on the yearly side, the month's price struck. Above
 * it, "from" on a plan sold in several volumes — and the same empty line on the others. */
.tier__price { display: flex; flex-direction: column; gap: 6px; }
.tier__from { min-height: 1.3em; font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .14em; color: #99968F; text-transform: uppercase; }
.tier__roll {
  display: grid;
  overflow: hidden;
  padding: .06em 0;
}
.tier__roll > span {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .45s ease;
}
.tier__amount {
  font-size: clamp(44px, 4.3vw, 70px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.048em;
  white-space: nowrap;
}
.tier__sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; }
.tier__unit { font-size: 14px; font-weight: 500; color: #99968F; }
.tier__was { font-size: 15px; font-weight: 600; color: #6E6B65; text-decoration-thickness: 1.5px; }
.tier__roll > [data-period="yearly"] { transform: translateY(100%); opacity: 0; }
.is-yearly .tier__roll > [data-period="monthly"] { transform: translateY(-100%); opacity: 0; }
.is-yearly .tier__roll > [data-period="yearly"] { transform: none; opacity: 1; }
.tier-cell:nth-child(2) .tier__roll > span { transition-delay: .06s; }
.tier-cell:nth-child(3) .tier__roll > span { transition-delay: .12s; }
.tier-cell:nth-child(n+4) .tier__roll > span { transition-delay: .18s; }
/* The third line of each side: what the year would cost a month, or — on the yearly side — the
 * month's price struck and the saving as a figure. */
.tier__note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 26px; font-size: 13px; color: #99968F; }
.tier__total { font-size: 13px; color: #99968F; }
.tier__save { padding: 4px 9px; border-radius: 999px; background: rgba(143, 214, 148, .14); color: #A8E0AC; font-size: 12.5px; font-weight: 600; }

/* What a month of the plan buys: its credits, then what they make — a row per clip, the count
 * large on the right where the eye runs down it and across the cards. */
.tier__credits { font-size: 15px; line-height: 1.4; color: #C9C5BC; }
.tier__credits b { font-weight: 700; color: #F5F2EB; }
.tier__clips { display: flex; flex-direction: column; gap: 11px; padding-top: 16px; border-top: 1px solid #17191C; }
.tier__caption { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .14em; color: #99968F; text-transform: uppercase; }
.tier__row { display: flex; align-items: center; gap: 10px; }
.tier__mark { width: 14px; height: 14px; flex: 0 0 14px; color: #C9C5BC; }
.tier__model { font-size: 14.5px; font-weight: 500; color: #F5F2EB; white-space: nowrap; }
.tier__len { font-size: 12.5px; color: #6E6B65; white-space: nowrap; }
.tier__count { margin-left: auto; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #F5F2EB; font-variant-numeric: tabular-nums; }

/* The one button a card acts with: filled on the recommended plan, drawn on the others. */
.tier__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 18px;
  border: 1px solid #26272A;
  border-radius: 3px;
  color: #F5F2EB;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.tier:hover .tier__cta { border-color: #F5F2EB; }
.tier--recommended .tier__cta { background: #F5F2EB; border-color: #F5F2EB; color: #050505; }
.tier--recommended:hover .tier__cta { background: #FFFFFF; }
.tier__cta-arrow { font-family: 'Martian Mono', monospace; font-size: 12px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.tier:hover .tier__cta-arrow { transform: translateX(4px); }

/* Under the cards: what a subscriber can top up with, as chips; what every plan includes, a
 * picture each; and the credits in one plain sentence. */
.tiers__topups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(20px, 3.2vh, 30px);
  font-size: 14px;
  color: #C9C5BC;
}
.tiers__topups-lead { font-weight: 600; color: #F5F2EB; }
.tiers__packs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tiers__packs li { padding: 7px 13px; border: 1px solid #1E2024; border-radius: 999px; background: #0A0B0C; font-size: 13px; color: #F5F2EB; font-variant-numeric: tabular-nums; }
.tiers__topups-note { font-size: 13px; color: #99968F; }
.tiers__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: clamp(22px, 3.4vh, 34px);
  animation-range: entry 0% cover 20%;
}
.tiers__perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 959px) {
  .tiers__perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .tiers__perks { grid-template-columns: 1fr; }
}
.tiers__perks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #16181B; border-radius: 6px; background: #08090A; font-size: 14px; color: #F5F2EB; }
.tiers__perk-icon { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: #F5F2EB; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tiers__fine { margin: 0; font-size: 13px; line-height: 1.6; color: #99968F; }
@media (prefers-reduced-motion: reduce) {
  .billing::before, .tier, .tier__cta, .tier__cta-arrow, .tier__roll > span { transition: none; }
  .tier--recommended::before, .tier--recommended::after { animation: none; }
  .tier[data-level="1"] .tier__meter i:nth-child(-n+1)::after,
  .tier[data-level="2"] .tier__meter i:nth-child(-n+2)::after,
  .tier[data-level="3"] .tier__meter i:nth-child(-n+3)::after,
  .tier[data-level="4"] .tier__meter i:nth-child(-n+4)::after,
  .tier[data-level="5"] .tier__meter i:nth-child(-n+5)::after,
  .tier[data-level="6"] .tier__meter i:nth-child(-n+6)::after { animation: none; transform: none; }
}

/* ---------- FAQ ---------- */
.faq-section { padding: clamp(84px, 14vh, 154px) clamp(20px, 5vw, 64px); border-top: 1px solid #121316; }
.faq { max-width: 1080px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: clamp(40px, 6vh, 74px); animation-range: entry 0% cover 22%; }
.faq__title { margin: 0 auto; max-width: 20ch; font-size: clamp(32px, 5.2vw, 76px); line-height: .94; letter-spacing: -.042em; font-weight: 800; width: fit-content; }
.faq__lead { margin: clamp(16px, 2.2vh, 24px) auto 0; max-width: 54ch; font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.56; color: #99968F; text-wrap: pretty; }
.faq__list { border-top: 1px solid #1E2024; }
.faq-item { border-bottom: 1px solid #1E2024; background: transparent; transition: background .35s ease; }
.faq-item.is-open { background: #0B0B0C; }
.faq-item__heading { margin: 0; font: inherit; }
.faq-item__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  width: 100%;
  padding: clamp(21px, 2.8vh, 30px) clamp(14px, 2vw, 28px);
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.faq-item__question {
  font-size: clamp(17px, 1.65vw, 24px);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.24;
  color: #C9C5BC;
  transition: color .35s ease;
  text-wrap: pretty;
}
.faq-item.is-open .faq-item__question { color: #F5F2EB; }
.faq-item__chevron { flex: none; color: #99968F; transform: rotate(0deg); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.2, .7, .2, 1); }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__clip { overflow: hidden; }
.faq-item__answer {
  margin: 0;
  padding: 0 clamp(14px, 2vw, 28px) clamp(24px, 3.2vh, 34px);
  max-width: 68ch;
  font-size: clamp(14px, 1.05vw, 16.5px);
  line-height: 1.62;
  color: #99968F;
  opacity: 0;
  transition: opacity .32s ease;
  text-wrap: pretty;
}
.faq-item.is-open .faq-item__answer { opacity: 1; }

/* ---------- Reel ---------- */
.reel-section { position: relative; padding: clamp(104px, 14vh, 168px) 0; border-top: 1px solid #121316; overflow: hidden; }
.reel-head { max-width: 1560px; margin: 0 auto clamp(34px, 5vh, 62px); padding: 0 clamp(20px, 5vw, 64px); animation-range: entry 0% cover 20%; }
/* Wider than the handoff's 1040px column: the reel spans the page grid, aligned with its heading. */
.reel {
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-repeat: no-repeat;
}
.reel__tile { position: absolute; top: 0; left: 0; overflow: hidden; border-radius: 2px; background: #0B0B0C; will-change: transform; cursor: pointer; }
.reel__tile video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Closing CTA ---------- */
.cta-section { position: relative; padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 64px); border-top: 1px solid #121316; text-align: center; }
.cta { max-width: 1100px; margin: 0 auto; animation-range: entry 8% cover 30%; }
/* The design pins this line with nowrap; balanced wrapping renders English identically
 * (it always fits) and keeps longer translations inside the viewport. */
.cta__title { margin: 0 auto; font-size: clamp(20px, 6.6vw, 92px); line-height: .94; letter-spacing: -.048em; font-weight: 800; width: fit-content; text-wrap: balance; }
.cta__lead { margin: 26px auto 0; max-width: 40ch; font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.55; color: #99968F; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 9vh, 104px) clamp(20px, 5vw, 64px) clamp(28px, 4vh, 40px); border-top: 1px solid #121316; }
.site-footer__wrap { max-width: 1560px; margin: 0 auto; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: start; }
.site-footer__brand { flex: 1 1 300px; min-width: 0; max-width: 46ch; }
.site-footer__logo { margin-bottom: 20px; }
.site-footer__logo .logo__word { font-size: clamp(18px, 1.6vw, 22px); }
.site-footer__logo .logo__mark { height: clamp(18px, 1.6vw, 22px); }
.site-footer__about { margin: 0; font-size: clamp(14px, 1.05vw, 16.5px); line-height: 1.6; color: #99968F; text-wrap: pretty; }
.site-footer__columns { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.footer-column { min-width: 0; }
.footer-column__title { font-family: 'Martian Mono', monospace; font-size: 9px; letter-spacing: .24em; color: #99968F; margin-bottom: 22px; text-transform: uppercase; }
.footer-column__links { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.3; }
.footer-column__links a { color: #C9C5BC; }
.footer-column__links a:hover { color: #F5F2EB; }
/* Below 600px three columns get narrower than the longest link words ("Nutzungsbedingungen",
 * "конфіденційності", "Documentation"), so the links sit in two columns. A word that still does
 * not fit (German on the narrowest phones) is hyphenated in the page language or, failing that,
 * broken at the column edge, instead of running past it. */
@media (max-width: 599px) {
  .site-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer-column__title, .footer-column__links a { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(56px, 9vh, 110px);
  font-family: 'Martian Mono', monospace;
  font-size: 8.5px;
  letter-spacing: .18em;
  color: #99968F;
  text-transform: uppercase;
}
