:root {
  color-scheme: dark;
  background: #000;
  color: #f5f5f7;
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  --secondary: #a1a1a6;
  --line: #262626;
  --surface: #171717;
  --gutter: clamp(20px, 5.5vw, 90px);
  --ease: cubic-bezier(.22,.75,.22,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #000; }
button, a { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: default; }
a { text-decoration: none; }
:focus-visible { outline: 2px solid #eee; outline-offset: 4px; }
h1, h2, p { margin: 0; }
.wrap { width: min(100%, 1536px); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.symbols, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 15; left: 20px; top: -80px; padding: 9px 15px; border-radius: 12px; background: white; color: black; }
.skip:focus { top: 10px; }
.mast {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 8;
  width: min(100%, 1536px); min-height: 76px; padding: 9px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  background: rgba(8, 8, 10, .64);
  backdrop-filter: saturate(1.35) blur(24px);
  -webkit-backdrop-filter: saturate(1.35) blur(24px);
  border: 0;
  transition: width .46s var(--ease), min-height .46s, padding .46s, top .46s, border-radius .46s, background .3s;
}
.mast.compact { top: 10px; width: min(718px, calc(100% - 24px)); min-height: 52px; padding: 4px 9px 4px 22px; background: rgba(28, 28, 30, .68); border-radius: 99px; }
.brand { width: max-content; display: inline-flex; align-items: center; }
.mast > .brand { margin-inline-start: 8px; }
.brand img { display: block; width: 86px; height: auto; }
.mast.compact .brand img { width: 66px; }
.mast nav, .nav-end, .primary, .text-button, .shelf-tools, .arrows { display: flex; align-items: center; }
.mast nav { gap: 30px; }
.mast nav a { font-size: 13px; font-weight: 550; color: #ccc; }
.mast nav a:hover { color: white; }
.nav-end { justify-self: end; gap: 9px; }
.language { position: relative; }
.flag-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: transparent; }
.flag { width: 16px; height: 16px; display: block; overflow: hidden; border-radius: 50%; outline: 1px solid #ffffff22; outline-offset: -1px; }
.flag-button:is(:hover, [aria-expanded=true]) { background: #191919; }
#language-menu { position: absolute; right: 0; top: calc(100% + 7px); width: 166px; padding: 5px; border: 1px solid #393939; background: #171717; border-radius: 14px; box-shadow: 0 8px 30px #000a; }
#language-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; font-size: 14px; text-align: left; border-radius: 8px; background: transparent; }
#language-menu button:is(:focus, :hover) { outline: 0; background: #303030; }
#language-menu [aria-checked=true]::after { content: "✓"; margin-left: auto; }
.hero {
  display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 22px;
  padding-top: clamp(102px, 8.8vw, 148px); padding-bottom: clamp(34px, 4vw, 64px);
}
h1 { font-size: clamp(68px, 7.7vw, 124px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
h1 span { display: block; }
.hero-copy p { margin-top: 24px; max-width: 360px; color: var(--secondary); font-size: clamp(18px, 1.4vw, 23px); line-height: 1.42; letter-spacing: -.02em; text-wrap: pretty; }
.primary { width: max-content; justify-content: center; gap: 8px; min-height: 45px; padding: 12px 22px; border-radius: 99px; background: #f5f5f7; color: #090909; font-size: 14px; font-weight: 600; transition: background .2s, transform .25s var(--ease); }
.hero-copy .primary { margin-top: 25px; }
.primary:hover { background: #ddd; transform: translateY(-2px); }
.primary:active { transform: scale(.97); }
.gallery { min-width: 0; display: grid; justify-items: center; gap: 18px; }
.scene {
  position: relative; isolation: isolate; width: 100%; display: grid; place-items: center;
  --phone-width: clamp(178px, 15vw, 234px);
  min-height: calc(var(--phone-width) * 2.19 + 14px);
}
.handset {
  position: relative; width: var(--phone-width); padding: 3px; border-radius: 15.5% / 7.2%;
  background: #050505; border: 2px solid #58575a; box-shadow: inset 0 0 0 1px #242426, 0 0 0 1px #202020, 0 12px 30px #000b;
  overflow: hidden; will-change: transform;
}
.handset img { display: block; width: 100%; height: auto; aspect-ratio: 542/1180; border-radius: 13.5% / 6.3%; }
.wings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wing {
  position: absolute; top: 50%; width: 40%; aspect-ratio: .89; overflow: hidden; border-radius: 12px;
  background: #111; box-shadow: 0 16px 35px #0008;
}
.wing.left { left: 4%; transform: translateY(-50%) rotate(-8deg); }
.wing.right { right: 4%; transform: translateY(-50%) rotate(8deg); }
.wing img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.78) saturate(.8); }
.catalog { padding-top: clamp(24px, 3vw, 52px); padding-bottom: clamp(50px, 5vw, 85px); }
.shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.shelf-head h2 { font-size: clamp(25px, 2.4vw, 39px); line-height: 1.1; font-weight: 580; letter-spacing: -.036em; }
.shelf-tools { gap: 13px; }
.text-button { gap: 7px; color: #c4c4c7; background: transparent; font-size: 13px; padding: 10px 2px; }
.text-button:hover { color: #fff; }
.text-button .icon { width: 16px; height: 16px; }
.arrows { gap: 3px; }
.arrows button { display: grid; place-items: center; width: 34px; height: 34px; background: #202020; border-radius: 50%; }
.arrows button:disabled { opacity: .35; }
.arrows .icon { width: 16px; height: 16px; }
#prev .icon { transform: rotate(180deg); }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; padding: 5px 4px 8px; margin: -5px -4px -8px; }
.shelf::-webkit-scrollbar { display: none; }
.film { position: relative; min-width: 0; scroll-snap-align: start; }
.film-open { display: block; width: 100%; border-radius: 10px; padding: 0; text-align: left; background: transparent; }
.poster { display: block; width: 100%; aspect-ratio: 1.56; overflow: hidden; border-radius: 10px; background: #111; }
.poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .4s; }
.film[data-movie="verity"] .poster img { object-position: center 22%; }
.film-open:is(:hover, :focus-visible) img { transform: scale(1.045); filter: brightness(1.08); }
.film-title { display: block; margin-top: 10px; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.28; font-weight: 560; letter-spacing: -.017em; }
.film-meta, #movie-meta { color: var(--secondary); font-size: 12px; }
.film-meta { display: block; margin-top: 3px; }
.round { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffff42; background: #080808b8; color: white; }
.round .icon { width: 15px; height: 15px; }
.round:hover { background: #eee; color: black; }
.round::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
dialog { width: min(520px, calc(100% - 26px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #363636; border-radius: 18px; background: #090909; color: #f5f5f7; box-shadow: 0 20px 80px #000c; }
dialog::backdrop { background: #000c; backdrop-filter: blur(5px); }
dialog[open] { animation: open-detail .24s var(--ease); }
.detail-art { aspect-ratio: 1.95; position: relative; background-size: cover; background-position: center; }
#close { position: absolute; right: 10px; top: 10px; }
.details { padding: 22px 25px 25px; }
.details h2 { margin-block: 6px 9px; font-size: clamp(29px, 3vw, 43px); line-height: 1.06; letter-spacing: -.035em; }
#movie-description { color: #c6c6c8; line-height: 1.5; }
@keyframes open-detail { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: none; } }
@media (min-width: 1500px) { .hero { padding-top: 126px; } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: .9fr 1.1fr; }
  h1 { font-size: clamp(61px, 8vw, 78px); }
  .hero-copy { padding-left: 0; }
  .wing { width: 42%; aspect-ratio: .72; }
  .wing.left { left: 2%; } .wing.right { right: 2%; }
  .shelf { grid-auto-columns: calc((100% - 3 * 14px) / 3.65); gap: 14px; }
}
@media (max-width: 650px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 72px; }
  .mast { min-height: 62px; grid-template-columns: 1fr auto; padding-block: 6px; }
  .mast nav { display: none; }
  .mast .brand img { width: 68px; }
  .mast.compact { min-height: 47px; top: 7px; width: calc(100% - 16px); }
  .hero { grid-template-columns: minmax(0,1fr); gap: 29px; padding-top: 88px; padding-bottom: 23px; }
  .hero-copy { text-align: center; }
  h1 { font-size: clamp(49px, 10.7vw, 72px); line-height: 1.04; text-wrap: balance; }
  h1 span { display: inline; }
  .hero-copy p { max-width: 340px; margin: 13px auto 0; font-size: 16px; line-height: 1.43; }
  .hero-copy .primary { margin: 16px auto 0; min-height: 40px; padding: 10px 18px; font-size: 13px; }
  .gallery { gap: 10px; }
  .scene { max-width: 420px; --phone-width: clamp(144px, 39vw, 180px); }
  .wing { width: 38%; aspect-ratio: .83; max-height: 220px; border-radius: 8px; }
  .wing.left { left: 5%; } .wing.right { right: 5%; }
  .catalog { padding-top: 29px; padding-bottom: 38px; }
  .shelf { grid-auto-columns: 58%; gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .shelf-head { gap: 8px; margin-bottom: 12px; }
  .shelf-tools { gap: 8px; }
  .arrows { display: none; }
  .film-title { font-size: 14px; }
}
@media (max-width: 355px) {
  :root { --gutter: 14px; }
  .hero { gap: 18px; padding-top: 78px; }
  .hero-copy p { max-width: 280px; }
  .scene { --phone-width: 135px; }
  .shelf { grid-auto-columns: 67%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 650px) {
  .wing.left {
    transform: translate(calc(52% * var(--fold, 0)), -50%) rotate(calc(-8deg + 7deg * var(--fold, 0)));
  }
  .wing.right {
    transform: translate(calc(-52% * var(--fold, 0)), -50%) rotate(calc(8deg - 7deg * var(--fold, 0)));
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 651px) {
  .wing.left { animation: fan-left .85s var(--ease) both; }
  .wing.right { animation: fan-right .85s var(--ease) both; }
  @keyframes fan-left {
    from { opacity: .2; transform: translate(28%, -49%) rotate(-1deg); }
    to { opacity: 1; transform: translate(0, -50%) rotate(-8deg); }
  }
  @keyframes fan-right {
    from { opacity: .2; transform: translate(-28%, -49%) rotate(1deg); }
    to { opacity: 1; transform: translate(0, -50%) rotate(8deg); }
  }
}

.mast .nav-download { min-height: 37px; padding: 9px 16px; font-size: 13px; }
.feature-chapters { padding-block: clamp(32px, 5vw, 80px) clamp(42px, 6vw, 96px); }
.episode-chapter {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas: "visual copy";
  align-items: center;
  gap: clamp(34px, 6vw, 94px);
}
.episode-copy { grid-area: copy; }
.episode-copy h2 {
  max-width: 10em;
  font-size: clamp(42px, 4.9vw, 80px);
  font-weight: 500;
  letter-spacing: -.048em;
  line-height: 1.02;
  text-wrap: balance;
}
.episode-copy p, .detail-chapter p {
  color: var(--secondary);
  letter-spacing: -.014em;
  line-height: 1.48;
  text-wrap: pretty;
}
.episode-copy p { margin-top: 17px; max-width: 410px; font-size: clamp(16px, 1.25vw, 20px); }
.episode-copy .primary { margin-top: 24px; }
.screen-preview {
  display: grid;
  width: 100%;
  place-items: center;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  border-radius: clamp(16px, 1.7vw, 26px);
}
.episode-visual {
  grid-area: visual;
  aspect-ratio: 1.48;
  background: #11191c;
}
.episode-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10%;
  background: linear-gradient(120deg, #10242aab, #060708df), url("assets/episode-detail.jpg") center / cover;
  filter: blur(26px);
}
.scene-stack {
  position: relative;
  width: 74%;
  aspect-ratio: 808 / 456;
  perspective: 1000px;
}
.scene-stack::before, .scene-stack::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 5% / 9%; transform-origin: 50% 100%;
  background: #3d5055; box-shadow: inset 0 0 0 1px #ffffff16;
  transform: translate(2%, -9%) rotate(3deg) scale(.93);
}
.scene-stack::after {
  background: #263337;
  transform: translate(0, -16%) rotate(6deg) scale(.88);
  z-index: -1;
}
.episode-card {
  position: absolute; z-index: 1; inset: 0; display: block; overflow: hidden;
  border-radius: 5% / 9%; box-shadow: 0 14px 32px #0008;
  transform: rotate(-2deg);
}
.episode-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

.expand-control {
  position: absolute; display: grid; place-items: center;
  right: 14px; bottom: 14px; width: 34px; height: 34px;
  border-radius: 50%; background: #090909a8; color: #f5f5f7;
  transition: background .2s, transform .25s var(--ease);
}
.expand-control .icon { width: 15px; height: 15px; }
.screen-preview:is(:hover,:focus-visible) .expand-control { background: #2b2b2c; transform: scale(1.07); }
.detail-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px); margin-top: clamp(48px, 6.5vw, 100px);
}
.detail-chapter h2 {
  margin: 20px 0 8px; font-weight: 550;
  font-size: clamp(26px, 2.6vw, 41px); letter-spacing: -.04em; line-height: 1.13;
}
.detail-chapter p { font-size: clamp(15px, 1.16vw, 18px); max-width: 460px; }
#screen-dialog {
  width: max-content; max-width: calc(100vw - 36px);
  max-height: calc(100dvh - 36px); border: 0; background: transparent; overflow: visible;
}
.screen-dialog-inner { position: relative; width: max-content; max-width: 100%; }
#full-screen { display: block; width: min(87vw, calc(45.93dvh - 18.4px), 480px); height: auto; aspect-ratio: 542 / 1180; border-radius: 28px; }
#close-screen { position: absolute; top: 8px; right: 8px; }
@media (max-width: 760px) {
  .episode-chapter { gap: 26px; }
  .episode-copy h2 { font-size: 40px; }
  .episode-visual { aspect-ratio: 1.1; }
  .scene-stack { width: 82%; }
}
@media (max-width: 650px) {
  .mast > .brand { margin-inline-start: 6px; }
  .mast.compact { padding-inline-start: 16px; }
  .mast .nav-download { min-height: 35px; padding: 9px 13px; font-size: 12px; }
  .shelf-tools { gap: 12px; }
  .feature-chapters { padding-block: 25px 25px; }
  .episode-chapter { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "visual"; gap: 21px; }
  .episode-copy h2 { font-size: clamp(38px, 9.2vw, 51px); }
  .episode-copy p { margin-top: 12px; }
  .episode-copy .primary { margin-top: 15px; }
  .episode-visual { aspect-ratio: 1.42; }
  .scene-stack { width: 74%; }
  .detail-grid { grid-template-columns: minmax(0,1fr); gap: 40px; margin-top: 40px; }
  .detail-chapter h2 { margin-top: 14px; }
}
@media (max-width: 355px) {
  .shelf-tools { gap: 9px; }
  .shelf-tools .text-button { font-size: 12px; }
  .shelf-head h2 { font-size: 22px; }
}

/* One complete phone plus one readable detail from its actual profile. */
.detail-visual {
  --accent-rgb: 224, 182, 111;
  height: clamp(356px, 37.5vw, 560px);
  background: #111112;
  background-image: radial-gradient(ellipse at 75% 58%, rgba(var(--accent-rgb), .10), transparent 63%);
}
.genres-visual {
  --accent-rgb: 127, 180, 211;
  background-image: radial-gradient(ellipse at 26% 55%, rgba(var(--accent-rgb), .12), transparent 65%);
}
.profile-set { position: absolute; inset: 0; display: grid; container-type: size; grid-template-rows: minmax(0,1fr); grid-template-columns: .95fr 1.05fr; align-items: center; gap: 3%; padding: 6% 6.7%; }
.profile-phone {
  position: relative; display: block; justify-self: center;
  width: min(100%, 46.3cqh); height: auto; padding: 3px;
  border: 1.5px solid #77777b; border-radius: 15% / 7%;
  background: linear-gradient(125deg, #565658 0%,#101011 12%, #050505 73%,#636366);
  box-shadow: 0 14px 28px #0009, 0 0 0 1px #18181a;
  transform: translate3d(calc(var(--loose,0) * 8px), calc(var(--loose,0) * 20px), 0) rotate(calc(var(--loose,0) * 4deg));
}
.native-display {
  display: block; overflow: hidden; position: relative; width: 100%;
  border-radius: 13.4% / 6.1%; background: #050505;
}
.native-display img { display: block; width: 100%; height: auto; }
.native-display svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.metric-note { position: relative; align-self: center; justify-self: center; text-align: left; }
.metric-note > span { display: block; }
.metric-value {
  font-size: clamp(50px, 6.2vw, 98px); font-weight: 480; letter-spacing: -.078em;
  line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: #f1f0ec;
}
.metric-value small { font-size: .49em; margin-inline-start: .075em; font-weight: 450; }
.metric-label { color: #c5c5c9; margin-top: 9px; font-size: clamp(12px, 1vw, 16px); letter-spacing: -.014em; }
.metric-rule {
  width: clamp(34px,4vw,69px); height: 2px; margin-top: 19px; border-radius: 8px;
  background: rgba(var(--accent-rgb),.95); transform-origin: left;
  transform: scaleX(calc(1 - var(--loose,0) * .78));
}
.genres-visual .profile-set { grid-template-columns: 1.05fr .95fr; }
.genres-visual .profile-phone { grid-column: 1; grid-row: 1; transform: translate3d(calc(var(--loose,0) * -10px),calc(var(--loose,0) * 20px),0) rotate(calc(var(--loose,0) * -4deg)); }
.genres-visual .metric-note { grid-column: 2; grid-row: 1; }
.expand-control { z-index: 2; }
.ratings-visual .expand-control { left: 14px; right: auto; }
#surprise { min-height: 40px; padding: 8px 13px; border-radius: 99px; background: #19191b; color: #e8e8ea; }
#surprise:hover { background: #2b2b2e; }
.film-open { transform-origin: 50% 80%; }
.film-info { display: flow-root; min-height: calc(2.56 * clamp(14px,1.05vw,17px) + 32px); }
.shelf { padding-block: 20px 16px; margin-block: -15px -16px; scroll-padding-inline-start: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .film-open {
    --offset: clamp(0,calc(var(--loose, 0) * 1.34 - .34 + var(--index, 0) * .085),1);
    transform: translate3d(calc(var(--from-x,0px) * var(--offset)),calc(-14px * var(--offset)),0)
      rotate(calc(var(--from-angle,0deg) * var(--offset))) scale(calc(1 - var(--offset) * .075));
    opacity: calc(1 - var(--offset) * .34);
  }
  .scene-stack::before { transform: translate(calc(2% + var(--loose,0) * 14%),calc(-9% - var(--loose,0) * 8%)) rotate(calc(3deg + var(--loose,0) * 9deg)) scale(.93); }
  .scene-stack::after { transform: translate(calc(var(--loose,0) * 24%),calc(-16% - var(--loose,0) * 9%)) rotate(calc(6deg + var(--loose,0) * 15deg)) scale(.88); }
  .episode-card { transform: translate3d(calc(var(--loose,0) * -13%),calc(var(--loose,0) * 17%),0) rotate(calc(-2deg - var(--loose,0) * 9deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-phone, .genres-visual .profile-phone, .metric-rule { transform: none; }
  .native-display svg { display: none !important; }
}
@media (min-width:651px) and (max-width:920px) {
  .profile-set { padding: 7% 5%; gap: 2%; }
  .metric-value { font-size: clamp(39px,6vw,58px); }
}
@media (max-width:650px) {
  .detail-visual { height: clamp(325px, 98vw, 495px); }
  .profile-set { padding: 7% 7.5%; }
  .metric-value { font-size: clamp(46px,13vw,72px); }
  .metric-label { font-size: 13px; }

}

.newsletter-field { display: flex; align-items: center; gap: 7px; padding: 5px; padding-inline-start: 17px; border-radius: 12px; border: 1px solid #454548; background: #101011; }
.newsletter-field:focus-within { border-color: #adadb1; }
.newsletter-field:has(input[aria-invalid="true"]) { border-color: #df989a; }
.newsletter-field input { min-width: 0; flex: 1; width: 100%; padding: 6px 0; border: 0; outline: none; color: #f5f5f7; font: inherit; font-size: 16px; background: transparent; }
.newsletter-field input::placeholder { color: #919196; opacity: 1; }
.newsletter-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px;
  padding: 10px 15px; border-radius: 8px; background: #f5f5f7; color: #0e0e10;
  font-size: 14px; font-weight: 600;
}
.newsletter-submit:hover { background: #dedee0; }
.newsletter-submit:disabled { opacity: .65; cursor: default; }
.newsletter-submit .icon { width: 13px; height: 13px; }
.newsletter-trap { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.newsletter-status { font-size: 14px; color: #c3c3c8; }
.newsletter-status:not(:empty) { margin-top: 12px; }
.newsletter-status[data-state="invalid"], .newsletter-status[data-state="error"] { color: #edb3b5; }
.newsletter-status[data-state="joined"] { width: fit-content; padding: 12px 16px; margin: 0; background: #151516; color: #f2f2f4; border-radius: 9px; }
.newsletter-status[data-state="joined"]::before { content: "✓"; padding-right: 9px; }

.site-footer { position: relative; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/film-reel.svg") right clamp(-330px,-22vw,-112px) bottom clamp(-145px,-8vw,-68px) / auto 119% no-repeat;
  opacity: .42;
}
.footer-content {
  display: grid; grid-template-columns: minmax(220px,.87fr) minmax(270px,1.14fr) auto;
  grid-template-areas: "brand newsletter qr" "copyright nav top";
  align-items: center; align-content: center; grid-template-rows: auto auto;
  min-height: clamp(445px, 34vw, 560px);
  column-gap: clamp(24px,5vw,90px); row-gap: clamp(18px,2.2vw,33px);
  padding-block: clamp(66px,6.8vw,112px) max(clamp(38px,4.1vw,68px),env(safe-area-inset-bottom));
  border-top: 1px solid #272729;
}
.footer-brand { grid-area: brand; }
.footer-signature { display: inline-flex; align-items: center; min-height: 44px; }
.footer-signature img { display: block; width: clamp(142px,13.3vw,210px); height: auto; }
.footer-brand h2 { font-size: clamp(29px,2.9vw,46px); line-height: 1.1; font-weight: 500; letter-spacing: -.043em; margin: 19px 0 11px; }
.newsletter { grid-area: newsletter; min-width: 0; width: 100%; max-width: 490px; }
.newsletter-copy { margin: 0 0 21px; max-width: 33ch; font-size: clamp(17px,1.55vw,24px); line-height: 1.35; letter-spacing: -.018em; color: #e0e0e3; }
.release-qr { grid-area: qr; margin: 0; justify-self: end; text-align: center; }
.release-qr img { display: block; margin: auto; width: clamp(116px,10.5vw,160px); height: auto; border-radius: 7px; }
.release-qr figcaption { font-size: 12px; color: var(--secondary); margin: 8px auto 0; max-width: 20ch; }
.copyright { grid-area: copyright; font-size: 12px; color: #949499; }
.footer-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #c4c4c9; }
.footer-nav a:hover { color: white; }
.back-top { grid-area: top; display: grid; place-items: center; justify-self: end; width: 44px; height: 44px; border-radius: 50%; color: #c6c6c9; }
.back-top:hover { background: #1a1a1c; }
.back-top .icon { width: 18px; height: 18px; }
@media (max-width:850px) and (min-width:651px) {
  .footer-content { grid-template-columns: minmax(170px,.75fr) minmax(228px,1fr) minmax(87px,.38fr); column-gap: 20px; }
  .newsletter-submit { padding-inline: 11px; }
}
@media (max-width:650px) {
  .footer-content {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "brand qr" "copyright qr" "newsletter newsletter" "nav top";
    min-height: 455px; grid-template-rows: auto auto auto auto; align-content: center;
    gap: 10px 15px; padding-block: 48px max(34px,env(safe-area-inset-bottom));
  }
  .site-footer::before { background-size: auto 94%; background-position: right -75vw bottom -54px; }
  .footer-signature img { width: clamp(111px,31vw,134px); }
  .footer-brand h2 { margin-top: 12px; font-size: clamp(28px,7.5vw,35px); }
  .release-qr { max-width: 110px; }
  .release-qr img { width: clamp(98px,27vw,110px); }
  .release-qr figcaption { margin-top: 5px; font-size: 11px; line-height: 1.25; }
  .newsletter { margin: 24px 0 10px; max-width: none; }
  .newsletter-copy { font-size: 17px; margin-bottom: 15px; }
  .newsletter-field { padding-inline-start: 12px; }
  .newsletter-submit { padding-inline: 12px; }
  .footer-nav { gap: 18px; }
}

.primary[data-download]:disabled {
  background: #dfdfe2; color: #333336; cursor: default; transform: none;
}
.footer-content:has(.release-qr[hidden]) {
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr) auto;
  grid-template-areas: "brand newsletter newsletter" "copyright nav top";
}
@media (max-width:650px) {
  .footer-content:has(.release-qr[hidden]) {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "brand brand" "copyright copyright" "newsletter newsletter" "nav top";
  }
}
