/* ═══════════════════════════════════════════════════════════
   Мафия Баланса — cinematic parallax landing v2
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #07060a;
  --ink-soft: #0c0a0f;
  --charcoal: #161219;
  --charcoal-light: #1e1824;
  --brand-yellow: #f5d800;
  --brand-yellow-light: #ffe566;
  --brand-yellow-dark: #c9a800;
  --brass: var(--brand-yellow);
  --brass-dark: var(--brand-yellow-dark);
  --brass-light: var(--brand-yellow-light);
  --oxblood: #8e1d2f;
  --oxblood-glow: rgba(142, 29, 47, 0.45);
  --paper: #f4efe6;
  --paper-muted: rgba(244, 239, 230, 0.62);
  --font-display: "Lora", Georgia, serif;
  --font-brand: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 76px;
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: min(1240px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 450;
  color: var(--paper);
  background: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10002;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--brand-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

picture {
  display: block;
}

picture.picture--inline,
.brand-identity__tile picture {
  display: contents;
}

picture img {
  display: block;
  max-width: 100%;
}

.brand-identity__tile img,
.hero__accent {
  max-width: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__links a:focus-visible,
.mobile-menu a:focus-visible,
.seo-faq__item summary:focus-visible {
  outline: 2px solid var(--brand-yellow-light);
  outline-offset: 3px;
}

.nav__burger:focus-visible {
  border-radius: 6px;
}

main {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8999;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 10001;
  background: rgba(214, 179, 106, 0.08);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: linear-gradient(90deg, var(--brass-dark), var(--brass-light));
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8998;
  transform: translate3d(-9999px, -9999px, 0) translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(214, 179, 106, 0.07) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
}

body.is-desktop .cursor-glow {
  opacity: 1;
}

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition:
    opacity 0.6s var(--ease-out),
    visibility 0.6s;
  animation: loaderAutoHide 0.01s linear 1.8s forwards;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

@keyframes loaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader__inner img {
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(245, 216, 0, 0.35);
}

.loader__inner span {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.loader__inner small {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition:
    background 0.35s,
    backdrop-filter 0.35s,
    border-color 0.35s;
}

.nav.is-scrolled {
  background: rgba(7, 6, 10, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(214, 179, 106, 0.1);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav__brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(245, 216, 0, 0.3);
  user-select: none;
  -webkit-user-drag: none;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__brand-text strong {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.nav__brand-text small {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.nav__links {
  display: none;
  gap: 2rem;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--paper-muted);
}

.nav__links a {
  position: relative;
  transition: color 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover {
  color: var(--brass-light);
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: none;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--brass-light),
    var(--brass) 50%,
    var(--brass-dark)
  );
  color: #1a1206;
  box-shadow: 0 8px 28px rgba(214, 179, 106, 0.28);
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brass-light);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav__burger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__burger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(7, 6, 10, 0.96);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(214, 179, 106, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.35s var(--ease-out);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a:not(.btn) {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--paper-muted);
}

@media (min-width: 900px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }
  .nav__burger,
  .mobile-menu {
    display: none !important;
  }
}

/* ── Typography ── */
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.chip {
  display: inline-flex;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  border: 1px solid rgba(214, 179, 106, 0.25);
  background: rgba(214, 179, 106, 0.06);
  backdrop-filter: blur(8px);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition:
    box-shadow 0.3s,
    transform 0.3s var(--ease-out);
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--brand-yellow-light) 0%,
    var(--brand-yellow) 50%,
    var(--brand-yellow-dark) 100%
  );
  color: #0a0a0a;
  box-shadow:
    0 10px 36px rgba(245, 216, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
  box-shadow: 0 14px 44px rgba(245, 216, 0, 0.42);
}

.btn--primary .icon {
  color: #0a0a0a;
}

.btn--glass {
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: var(--brass-light);
}

.btn--glass:hover {
  background: rgba(214, 179, 106, 0.1);
  border-color: rgba(214, 179, 106, 0.45);
}

.btn--ghost {
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--brass-light);
}

.btn--ghost:hover {
  background: rgba(214, 179, 106, 0.1);
  border-color: rgba(214, 179, 106, 0.45);
}

.btn--xl {
  padding: 1.05rem 1.85rem;
  font-size: 1rem;
}

/* ── Device mockup ── */
.device {
  position: relative;
  width: min(300px, 78vw);
}

.device__bezel {
  position: relative;
  z-index: 2;
  padding: 11px;
  border-radius: 36px;
  background: linear-gradient(160deg, #3a3044 0%, #120f16 35%, #0a080c 100%);
  border: 1px solid rgba(214, 179, 106, 0.28);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 80px rgba(214, 179, 106, 0.15);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out);
}

.device__bezel img {
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
}

.device__glow {
  position: absolute;
  inset: 20% -20%;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(214, 179, 106, 0.25) 0%,
    transparent 65%
  );
  filter: blur(40px);
}

.device--hero {
  width: min(320px, 82vw);
  position: relative;
  z-index: 3;
}

.hero__device {
  position: absolute;
  top: 0;
  right: 0;
  width: min(168px, 38vw);
  margin: 0;
  z-index: 4;
  transform: rotate(8deg);
  transform-origin: top right;
}

.hero__device .device__glow {
  inset: 15% -15%;
  opacity: 0.85;
}

.device--story {
  width: min(280px, 72vw);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__atmosphere {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.08);
  will-change: transform;
}

.hero__grunge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 15% 15%,
      rgba(245, 216, 0, 0.14) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 45% at 90% 75%,
      rgba(142, 29, 47, 0.18) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, rgba(7, 6, 10, 0.15) 0%, var(--ink) 88%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--font-brand);
  font-size: clamp(8rem, 28vw, 20rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 216, 0, 0.06);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 7vw, 5.25rem);
  letter-spacing: -0.03em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line .char {
  display: inline-block;
}

/* Слово — атомарная единица переноса: без этого строка из посимвольных
   inline-block'ов рвётся посреди слова («город/е») на узких экранах. */
.hero__title .line .word {
  display: inline-block;
  white-space: nowrap;
}

.js .hero__title .line .char {
  transform: translateY(110%);
  opacity: 0;
}

.hero__title .line--whole {
  display: block;
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--brand-yellow-light) 55%,
    var(--brand-yellow) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.js .hero__title .line--whole {
  transform: translateY(110%);
  opacity: 0;
}

.js .hero__title.is-ready .line .char,
.js .hero__title.is-ready .line--whole {
  animation: titleReveal 1s var(--ease-out) forwards;
}

.js .hero__title.is-ready .line--whole {
  animation-delay: 0s;
}

.js .hero__title.is-ready .line:nth-child(2) .char {
  animation-delay: 0.12s;
}

.hero__title .line--accent {
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--brand-yellow);
  margin-top: -0.08em;
}

.hero__title .line--sub {
  margin-top: 0.35rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--paper-muted);
  text-transform: none;
}

.js .hero__title .line--sub {
  opacity: 0;
  transform: translateY(110%);
}

.js .hero__title.is-ready .line--sub {
  animation: titleReveal 0.9s var(--ease-out) 0.08s forwards;
}

@keyframes titleReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero__lead {
  max-width: 50ch;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.hero__lead strong {
  color: var(--brand-yellow-light);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__ticker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 520px;
}

@media (min-width: 600px) {
  .hero__ticker {
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
  }
}

.hero__ticker-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(214, 179, 106, 0.18);
}

.hero__ticker-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brass-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero__ticker-item span {
  font-size: 0.72rem;
  color: var(--paper-muted);
  letter-spacing: 0.04em;
}

.hero__stage {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 52vw, 540px);
  perspective: 1200px;
}

.hero__crown,
.hero__mask {
  display: none;
}

.hero__brand-poster {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: min(280px, 56vw);
  margin: 0;
  transform: translateY(-50%) rotate(-3deg);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
  animation: posterFloat 6s ease-in-out infinite;
  user-select: none;
}

.hero__brand-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 2px solid rgba(245, 216, 0, 0.25);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero__brand-poster figcaption {
  display: none;
}

.hero__accent {
  position: absolute;
  z-index: 1;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.1) drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
  animation: crownFloat 5.5s ease-in-out infinite;
}

.hero__accent--left {
  bottom: 2%;
  left: -2%;
  width: clamp(80px, 16vw, 130px);
  aspect-ratio: 3 / 4;
  transform: rotate(-8deg);
  z-index: 1;
}

.hero__accent--right {
  bottom: 10%;
  left: 8%;
  width: clamp(72px, 14vw, 110px);
  aspect-ratio: 1;
  animation-delay: 0.8s;
  transform: rotate(6deg);
  z-index: 3;
}

@keyframes posterFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-3deg);
  }
  50% {
    transform: translateY(calc(-50% - 12px)) rotate(-1deg);
  }
}

@keyframes crownFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(214, 179, 106, 0.72);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--brass), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1.2);
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .hero__stage {
    min-height: 520px;
    align-self: center;
  }

  .hero__brand-poster {
    width: min(360px, 54%);
  }

  .hero__device {
    top: 4%;
    right: 0;
    width: min(250px, 36%);
  }

  .hero__accent--left {
    bottom: 6%;
    left: -4%;
    width: clamp(90px, 12vw, 140px);
  }

  .hero__accent--right {
    bottom: 14%;
    left: 4%;
    width: clamp(80px, 10vw, 120px);
  }
}

/* ── BRAND IDENTITY ── */
.brand-identity {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.brand-identity::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(245, 216, 0, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.brand-identity__head {
  width: var(--container);
  margin: 0 auto 2.5rem;
}

.brand-identity__lead {
  max-width: 58ch;
  margin: 1rem 0 0;
  line-height: 1.65;
}

.brand-identity__culture {
  max-width: 62ch;
  margin: 1.1rem 0 0;
  line-height: 1.7;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--paper-muted);
}

.brand-identity__layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.brand-identity__hero {
  margin: 0;
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(245, 216, 0, 0.22);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.brand-identity__hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.brand-identity__hero figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(7, 6, 10, 0.72);
  border: 1px solid rgba(245, 216, 0, 0.25);
  color: var(--brand-yellow-light);
}

.brand-identity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.brand-identity__tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 4 / 3;
}

.brand-identity__tile--wide {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}

.brand-identity__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.brand-identity__tile:hover img {
  transform: scale(1.04);
}

.brand-identity__tile figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

@media (min-width: 900px) {
  .brand-identity__layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .brand-identity__hero img {
    max-height: none;
    min-height: 100%;
  }

  .brand-identity__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MANIFESTO (scrollytelling text) ── */
.manifesto {
  position: relative;
  min-height: 180vh;
}

.manifesto__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.manifesto__text {
  max-width: 18ch;
  font-size: clamp(1.75rem, 5.2vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.manifesto__text span {
  display: inline-block;
  margin: 0 0.12em;
  color: rgba(244, 239, 230, 0.14);
  transition:
    color 0.4s,
    transform 0.4s var(--ease-out),
    text-shadow 0.4s;
}

.manifesto__text span.is-lit {
  color: var(--paper);
  text-shadow: 0 0 40px rgba(214, 179, 106, 0.2);
}

.manifesto__text span.is-accent.is-lit {
  color: var(--brass-light);
}

.manifesto__aside {
  max-width: 44ch;
  margin: 2.25rem 0 0;
  line-height: 1.65;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-style: italic;
  color: var(--paper-muted);
}

/* ── HORIZONTAL RAIL ── */
.rail {
  position: relative;
}

.rail__intro {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 1.5rem;
  max-width: 560px;
}

.rail__intro p:last-child {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.rail__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-bottom: 0.5rem;
}

.rail__runway {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.rail__track-wrap {
  padding-left: max(1.25rem, calc((100% - 1240px) / 2));
  width: 100%;
}

.rail__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-right: 2rem;
  will-change: transform;
}

.rail__card {
  position: relative;
  width: min(340px, 78vw);
  flex-shrink: 0;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.14);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.95) 0%,
    rgba(12, 10, 15, 0.98) 100%
  );
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.45s;
}

.rail__card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 179, 106, 0.35);
}

.rail__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(214, 179, 106, 0.12);
  margin-bottom: 0.75rem;
}

.rail__card h3 {
  position: relative;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.rail__card p {
  position: relative;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.rail__card img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1px solid rgba(214, 179, 106, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .rail__card img {
    max-height: min(52vh, 520px);
    aspect-ratio: auto;
  }
}

.rail__card--oracle {
  background: linear-gradient(
    165deg,
    rgba(40, 18, 24, 0.95) 0%,
    rgba(12, 10, 15, 0.98) 100%
  );
}

.rail__card--hall {
  background: linear-gradient(
    165deg,
    rgba(36, 30, 18, 0.95) 0%,
    rgba(12, 10, 15, 0.98) 100%
  );
}

@media (max-width: 767px) {
  .rail {
    overflow: hidden;
  }

  .rail__sticky {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: hidden;
    padding-bottom: 1rem;
  }

  .rail__runway {
    display: none;
  }

  .rail__track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 1.25rem;
  }

  .rail__track {
    transform: none !important;
    padding-bottom: 0.5rem;
  }

  .rail__card {
    scroll-snap-align: start;
  }
}

/* ── STORY (pinned phone) ── */
.story {
  position: relative;
  padding-bottom: 4rem;
}

.story__grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.story__device-wrap {
  position: relative;
}

.story__device {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

@media (min-width: 960px) {
  .story__device {
    justify-content: flex-end;
    padding-right: 0.5rem;
  }
}

.story__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.story__shot.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.story__panels {
  display: grid;
  gap: 0;
}

.story__panel {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  opacity: 0.25;
  transform: translateY(24px);
  transition:
    opacity 0.5s,
    transform 0.5s var(--ease-out);
}

.story__panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.story__panel h3 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

.story__panel h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}

.story__panel p {
  max-width: 52ch;
  line-height: 1.65;
  color: var(--paper-muted);
}

.story__panel ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.story__panel li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: var(--paper-muted);
}

.story__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

@media (min-width: 960px) {
  .story__grid {
    position: relative;
    display: block;
  }

  .story__device-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 38%);
    height: 100%;
    pointer-events: none;
  }

  .story__device {
    pointer-events: auto;
    justify-content: center;
    padding-right: 0;
  }

  .story__panels {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-right: min(360px, 38vw);
    box-sizing: border-box;
  }

  .story__panel {
    width: min(100%, 40rem);
    margin-inline: auto;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem;
  }

  .story__panel p {
    width: 100%;
    max-width: 52ch;
    margin-inline: auto;
  }

  .story__panel ul {
    width: 100%;
    max-width: 52ch;
    margin: 1.25rem auto 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    justify-items: center;
  }

  .story__panel li {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding-left: 0;
    text-align: left;
  }

  .story__panel li::before {
    position: static;
    flex-shrink: 0;
    margin-top: 0.55em;
  }

  .device--story {
    width: min(320px, 100%);
  }
}

/* ── BENTO ── */
.bento {
  padding: 6rem 0;
  width: var(--container);
  margin: 0 auto;
}

.bento__head {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.bento__lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.bento__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.bento__kicker--cta {
  color: var(--brand-yellow-light);
  letter-spacing: 0.1em;
}

.bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.bento__item {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.8) 0%,
    rgba(12, 10, 15, 0.95) 100%
  );
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s,
    box-shadow 0.4s var(--ease-out);
}

.bento__item:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 179, 106, 0.28);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.bento__item--wide {
  grid-column: 1 / -1;
  min-height: clamp(280px, 72vw, 360px);
  display: flex;
  align-items: flex-end;
}

.bento__wide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    rgba(8, 6, 10, 0.96) 0%,
    rgba(8, 6, 10, 0.78) 38%,
    rgba(8, 6, 10, 0.34) 68%,
    rgba(8, 6, 10, 0.12) 100%
  );
  pointer-events: none;
}

.bento__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
  opacity: 0.62;
  mix-blend-mode: luminosity;
  transform: scale(1.06);
}

.bento__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.bento__wide-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.bento__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.85rem;
  padding: 0;
  list-style: none;
}

.bento__stats li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 0, 0.22);
  background: rgba(245, 216, 0, 0.07);
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.bento__stats strong {
  color: var(--brand-yellow-light);
  font-weight: 700;
}

.bento__item--spotlight {
  display: grid;
  gap: 1.15rem;
  min-height: 0;
}

.bento__spotlight-shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin: -0.5rem -0.25rem 0;
  padding: 1rem 0.85rem 1.35rem;
  border-radius: calc(var(--radius) - 6px);
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(245, 216, 0, 0.14) 0%,
      transparent 58%
    ),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 216, 0, 0.1);
}

.bento__spotlight-shot::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(245, 216, 0, 0.16) 0%,
    transparent 72%
  );
  filter: blur(18px);
  pointer-events: none;
}

.bento__spotlight-shot img {
  position: relative;
  z-index: 1;
  width: min(100%, 176px);
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  border: 1px solid rgba(245, 216, 0, 0.24);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: rotate(-4deg);
  transition: transform 0.45s var(--ease-out);
}

.bento__item--spotlight:hover .bento__spotlight-shot img {
  transform: rotate(-2deg) translateY(-6px) scale(1.02);
}

.bento__spotlight-copy {
  margin-top: auto;
}

.bento__item--feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
  min-height: 180px;
}

@media (min-width: 540px) {
  .bento__item--feature {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
}

.bento__feature-copy {
  min-width: 0;
}

.bento__feature-shot {
  flex-shrink: 0;
  align-self: flex-end;
}

.bento__feature-shot img {
  display: block;
  width: 92px;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid rgba(245, 216, 0, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--ease-out);
}

.bento__item--feature:hover .bento__feature-shot img {
  transform: translateY(-4px) rotate(2deg);
}

.bento__item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.bento__item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.bento__item--cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.75rem 2rem;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(214, 179, 106, 0.15) 0%,
      transparent 55%
    ),
    linear-gradient(
      165deg,
      rgba(30, 24, 36, 0.9) 0%,
      rgba(12, 10, 15, 0.98) 100%
    );
}

.bento__item--cta .btn {
  margin-top: 0.25rem;
}

.bento__cta-note {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.bento__item--cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.85rem;
  max-width: none;
}

@media (min-width: 768px) {
  .bento__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .bento__item--wide {
    grid-column: 1 / 9;
    grid-row: 1 / span 2;
    min-height: clamp(340px, 34vw, 430px);
    padding: 2.25rem;
  }

  .bento__item--wide h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    max-width: 16ch;
  }

  .bento__item--spotlight {
    grid-column: 8 / 13;
    grid-row: 1 / span 2;
    margin-top: 3.25rem;
    z-index: 2;
    padding-top: 0.35rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  }

  .bento__item--spotlight:hover {
    transform: translateY(-8px);
  }

  .bento__item--feature:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 3;
  }

  .bento__item--feature:nth-child(4) {
    grid-column: 5 / 9;
    grid-row: 3;
    transform: translateY(-2rem);
  }

  .bento__item--feature:nth-child(4):hover {
    transform: translateY(calc(-2rem - 4px));
  }

  .bento__item--feature:nth-child(5) {
    grid-column: 9 / 13;
    grid-row: 3;
    transform: translateY(1.35rem);
  }

  .bento__item--feature:nth-child(5):hover {
    transform: translateY(calc(1.35rem - 4px));
  }

  .bento__item--feature:nth-child(even) {
    grid-template-columns: auto 1fr;
  }

  .bento__item--feature:nth-child(even) .bento__feature-copy {
    order: 2;
  }

  .bento__item--feature:nth-child(even) .bento__feature-shot {
    order: 1;
    align-self: center;
  }

  .bento__item--feature:nth-child(even) .bento__feature-shot img {
    transform: rotate(-3deg);
  }

  .bento__item--feature:nth-child(even):hover .bento__feature-shot img {
    transform: translateY(-4px) rotate(-1deg);
  }

  .bento__feature-shot img {
    width: 104px;
  }

  .bento__item--cta {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .bento__head {
    max-width: 52rem;
  }

  .bento__item--wide {
    min-height: clamp(360px, 30vw, 460px);
  }

  .bento__item--spotlight {
    margin-top: 4rem;
  }

  .bento__feature-shot img {
    width: 118px;
  }

  .bento__spotlight-shot img {
    width: min(100%, 196px);
  }
}

/* ── FINALE ── */
.finale {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: visible;
  margin-top: -5rem;
  min-height: clamp(640px, 92vh, 960px);
  padding-block: clamp(5rem, 12vh, 7rem) clamp(2.5rem, 6vh, 3.5rem);
  z-index: 0;
}

.finale__bg {
  position: absolute;
  top: -7rem;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.finale__art-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 9%,
    rgba(0, 0, 0, 0.82) 18%,
    #000 28%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 9%,
    rgba(0, 0, 0, 0.82) 18%,
    #000 28%,
    #000 100%
  );
}

.finale__fx {
  position: absolute;
  top: -5rem;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: visible;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 10%,
    rgba(0, 0, 0, 0.78) 20%,
    #000 30%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 10%,
    rgba(0, 0, 0, 0.78) 20%,
    #000 30%,
    #000 100%
  );
}

.finale__art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
}

.finale__beam {
  position: absolute;
  top: -10%;
  left: 50%;
  z-index: 1;
  width: min(48vw, 360px);
  height: 95%;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 232, 120, 0.08) 14%,
    rgba(255, 232, 120, 0.42) 28%,
    rgba(245, 216, 0, 0.28) 44%,
    rgba(214, 179, 106, 0.1) 58%,
    transparent 100%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  animation: finaleBeamPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

.finale__aura {
  position: absolute;
  top: -2%;
  left: 50%;
  z-index: 1;
  width: min(78vw, 620px);
  height: min(58vw, 460px);
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center 48%,
    rgba(255, 232, 120, 0.55) 0%,
    rgba(245, 216, 0, 0.22) 30%,
    rgba(214, 179, 106, 0.08) 54%,
    transparent 78%
  );
  filter: blur(32px);
  mix-blend-mode: screen;
  animation: finaleAuraPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}

.finale__rays {
  position: absolute;
  top: -8%;
  left: 50%;
  z-index: 1;
  width: min(100%, 820px);
  height: min(100%, 820px);
  transform: translateX(-50%);
  background: conic-gradient(
    from 0deg at 50% 44%,
    transparent 0deg,
    rgba(255, 232, 120, 0.11) 18deg,
    transparent 36deg,
    transparent 72deg,
    rgba(245, 216, 0, 0.08) 90deg,
    transparent 108deg,
    transparent 144deg,
    rgba(255, 232, 120, 0.09) 162deg,
    transparent 180deg,
    transparent 216deg,
    rgba(245, 216, 0, 0.07) 234deg,
    transparent 252deg,
    transparent 288deg,
    rgba(255, 232, 120, 0.08) 306deg,
    transparent 324deg,
    transparent 360deg
  );
  opacity: 0.9;
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: finaleRaysSpin 22s linear infinite;
  pointer-events: none;
}

.finale__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      var(--ink) 0%,
      rgba(7, 6, 10, 0.82) 7%,
      rgba(7, 6, 10, 0.42) 16%,
      rgba(7, 6, 10, 0.16) 28%,
      rgba(7, 6, 10, 0.22) 42%,
      rgba(7, 6, 10, 0.52) 62%,
      rgba(7, 6, 10, 0.88) 82%,
      var(--ink) 100%
    ),
    radial-gradient(
      ellipse 90% 72% at 50% 40%,
      rgba(245, 216, 0, 0.14) 0%,
      rgba(7, 6, 10, 0.22) 48%,
      rgba(7, 6, 10, 0.82) 72%
    );
}

@keyframes finaleBeamPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: translateX(-50%) scaleY(0.94);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.12);
  }
}

@keyframes finaleAuraPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.14);
  }
}

@keyframes finaleRaysSpin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.finale__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 680px;
}

.finale__title {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0.5rem 0 1.25rem;
  line-height: 0.95;
}

.finale__title span {
  display: block;
}

.finale__title span:last-child,
.finale__title .line--accent {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
  text-shadow:
    0 0 28px rgba(245, 216, 0, 0.5),
    0 0 64px rgba(214, 179, 106, 0.22);
}

.finale__content > p {
  margin: 0 0 1.5rem;
  line-height: 1.65;
  color: var(--paper-muted);
}

@media (min-width: 769px) {
  .seo-faq {
    padding-bottom: 3.25rem;
  }

  .seo-faq::after {
    height: 12rem;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(7, 6, 10, 0.08) 28%,
      rgba(7, 6, 10, 0.38) 58%,
      rgba(7, 6, 10, 0.72) 82%,
      rgba(7, 6, 10, 0.9) 100%
    );
  }

  .finale::before {
    content: "";
    position: absolute;
    top: -6rem;
    right: 0;
    left: 0;
    z-index: 4;
    height: 16rem;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(7, 6, 10, 0.92) 0%,
      rgba(7, 6, 10, 0.72) 22%,
      rgba(7, 6, 10, 0.42) 44%,
      rgba(7, 6, 10, 0.16) 66%,
      transparent 100%
    );
  }

  .finale__bg {
    top: -8rem;
  }

  .finale__art-wrap {
    top: -6rem;
    bottom: 0;
    inset: auto;
    left: 0;
    right: 0;
    overflow: visible;
    background: transparent;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .finale__art {
    object-position: center 30%;
  }

  .finale__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 10, 0.22) 0%,
        rgba(7, 6, 10, 0.12) 12%,
        rgba(7, 6, 10, 0.08) 22%,
        rgba(7, 6, 10, 0.16) 32%,
        rgba(7, 6, 10, 0.22) 42%,
        rgba(7, 6, 10, 0.52) 62%,
        rgba(7, 6, 10, 0.88) 82%,
        var(--ink) 100%
      ),
      radial-gradient(
        ellipse 92% 78% at 50% 34%,
        rgba(245, 216, 0, 0.24) 0%,
        rgba(7, 6, 10, 0.14) 48%,
        rgba(7, 6, 10, 0.82) 72%
      );
  }

  .finale__fx {
    top: -6rem;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 768px) {
  .seo-faq {
    padding-bottom: 1.5rem;
  }

  .seo-faq::after {
    display: none;
  }

  .finale {
    margin-top: 0;
    overflow: hidden;
    min-height: clamp(480px, 88svh, 720px);
    padding: 0 0 1.75rem;
    grid-template-rows: 1fr auto;
    align-items: stretch;
  }

  .finale__bg {
    top: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .finale__art-wrap {
    top: auto;
    inset: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .finale__fx {
    top: 0;
    overflow: hidden;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .finale__art {
    object-fit: cover;
    object-position: center 36%;
  }

  .finale__overlay {
    background:
      linear-gradient(
        180deg,
        var(--ink) 0%,
        rgba(7, 6, 10, 0.28) 16%,
        rgba(7, 6, 10, 0.18) 34%,
        rgba(7, 6, 10, 0.48) 58%,
        rgba(7, 6, 10, 0.9) 80%,
        var(--ink) 100%
      ),
      radial-gradient(
        ellipse 90% 60% at 50% 34%,
        rgba(245, 216, 0, 0.1) 0%,
        rgba(7, 6, 10, 0.35) 52%,
        rgba(7, 6, 10, 0.88) 78%
      );
  }

  .finale__beam,
  .finale__aura,
  .finale__rays {
    animation: none;
  }

  .finale__beam {
    width: min(54%, 220px);
    height: 82%;
  }

  .finale__aura {
    top: 0;
    width: 100%;
    height: 56%;
    transform: translateX(-50%) scale(1);
  }

  .finale__rays {
    top: 0;
    width: 100%;
    height: 72%;
    transform: translateX(-50%);
  }

  .finale__content {
    padding: 0 1.25rem;
  }

  .finale__title {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .bento__spotlight-shot {
    margin: 0;
  }

  .bento__spotlight-shot img {
    transform: none;
  }

  .bento__item--spotlight:hover .bento__spotlight-shot img {
    transform: translateY(-4px);
  }
}

@media (min-width: 1200px) {
  .finale {
    min-height: clamp(780px, 96vh, 1080px);
  }
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(214, 179, 106, 0.08);
  background: var(--ink);
}

.footer__grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Brand assets — discourage casual copy/select; FAQ text untouched */
img[src*="/assets/brand/"],
img[src*="ebbclub-poster"],
img[src*="logo-poster"],
img[src*="brand-poster"] {
  user-select: none;
  -webkit-user-drag: none;
}

@media (min-width: 768px) {
  .footer__brand img {
    width: 80px;
    height: 80px;
    padding: 6px;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    background: rgba(245, 216, 0, 0.12);
    border: 1px solid rgba(245, 216, 0, 0.22);
    box-shadow: 0 4px 20px rgba(245, 216, 0, 0.15);
  }
}

.footer__brand strong {
  display: block;
  font-size: 0.95rem;
}

.footer__brand span {
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.footer__brand a {
  color: var(--brand-yellow-light);
  text-decoration: none;
}

.footer__brand a:hover {
  text-decoration: underline;
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  min-width: 0;
  max-width: 36rem;
}

.footer__copy-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 0, 0.22);
  background: rgba(245, 216, 0, 0.06);
  color: var(--brass-light);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__copy-aside {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--paper-muted);
  opacity: 0.85;
  max-width: 42ch;
  text-wrap: balance;
}

.footer__punch {
  margin: 0;
  max-width: 22ch;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper-muted);
  justify-self: end;
  text-align: right;
}

.footer__punch em {
  display: block;
  margin-top: 0.15rem;
  font-style: italic;
  font-weight: 700;
  color: var(--brand-yellow-light);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: minmax(12rem, 1fr) minmax(0, auto) minmax(10rem, 1fr);
  }

  .footer__brand {
    min-width: 0;
  }

  .footer__center {
    justify-self: center;
  }

  .footer__punch {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .footer__brand > div {
    min-width: 0;
  }

  .footer__punch {
    order: 2;
    max-width: none;
    text-align: left;
    justify-self: start;
  }

  .footer__center {
    order: 3;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(214, 179, 106, 0.08);
  }

  .footer__legal {
    order: 4;
  }
}

/* ── Reveal (gated behind .js so no-JS pages stay readable) ── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .js .hero__title .line .char,
  .js .hero__title .line--whole,
  .js .hero__title .line--sub {
    transform: none;
    opacity: 1;
    animation: none;
  }
  .cursor-glow {
    display: none;
  }
  .marquee__track {
    animation: none !important;
  }
  .hero__atmosphere--fallback.is-cinematic {
    animation: none;
  }
  .device-preview__track {
    transition: none;
  }
  .finale__title .line span {
    transform: none;
    opacity: 1;
  }
  .sticky-cta {
    transform: none;
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   Icons
   ═══════════════════════════════════════════════════════════ */

.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brass-light);
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

/* ═══════════════════════════════════════════════════════════
   v3 — expanded sections
   ═══════════════════════════════════════════════════════════ */

.pulse {
  animation: btnPulse 2.8s ease-in-out infinite;
}

@keyframes btnPulse {
  0%,
  100% {
    box-shadow: 0 10px 36px rgba(214, 179, 106, 0.32);
  }
  50% {
    box-shadow:
      0 10px 48px rgba(214, 179, 106, 0.55),
      0 0 0 8px rgba(214, 179, 106, 0.08);
  }
}

/* Dual marquee */
.marquee-duo {
  border-block: 1px solid rgba(214, 179, 106, 0.1);
  overflow: hidden;
  background: rgba(12, 10, 15, 0.85);
}

.marquee {
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee--rev {
  opacity: 0.55;
  padding-top: 0;
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(214, 179, 106, 0.55);
  white-space: nowrap;
}

.marquee--fwd .marquee__track {
  animation: marqueeFwd 32s linear infinite;
}
.marquee--rev .marquee__track {
  animation: marqueeRev 38s linear infinite;
}

@keyframes marqueeFwd {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRev {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Journey */
.journey {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
}

.journey__head {
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.journey__steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.journey__step {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 216, 0, 0.12);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.7) 0%,
    rgba(12, 10, 15, 0.9) 100%
  );
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s,
    box-shadow 0.4s;
}

.journey__step:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 216, 0, 0.32);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(245, 216, 0, 0.06);
}

.journey__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(245, 216, 0, 0.28);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
}

.journey__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey__step:hover .journey__icon {
  border-color: rgba(245, 216, 0, 0.55);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(245, 216, 0, 0.18);
  transform: translateY(-3px) scale(1.04);
}

.journey__step h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.journey__step p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--paper-muted);
}

.journey__intro {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.journey__footnote {
  max-width: 52ch;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--paper-muted);
}

.journey--format .journey__head {
  max-width: 640px;
}

.journey__step--spec {
  text-align: left;
}

.journey__spec {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-yellow);
}

.voices {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
}

.voices__head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.voices__head p:last-child {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.voices__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 920px;
}

.voices__card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.45rem 1.5rem 1.25rem;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(245, 216, 0, 0.14);
  background: linear-gradient(
    155deg,
    rgba(30, 24, 36, 0.88) 0%,
    rgba(12, 10, 15, 0.96) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.voices__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/generated/brand-grunge-texture.webp") center / 140%
    140%;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.voices__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-style: italic;
  line-height: 1.68;
  color: var(--paper);
}

.voices__quote::before {
  content: "“";
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--brand-yellow);
  opacity: 0.45;
}

.voices__author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(245, 216, 0, 0.16);
}

.voices__avatar-frame {
  position: relative;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  padding: 2px;
  transform: rotate(-5deg);
  background: linear-gradient(
    145deg,
    var(--brand-yellow-light) 0%,
    var(--brand-yellow-dark) 100%
  );
  box-shadow:
    2px 3px 0 rgba(0, 0, 0, 0.55),
    0 0 18px rgba(245, 216, 0, 0.08);
}

.voices__card:nth-child(even) .voices__avatar-frame {
  transform: rotate(4deg);
}

.voices__avatar-frame::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: url("../assets/generated/brand-grunge-texture.webp") center /
    cover;
  opacity: 0.42;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.voices__avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(0.45) contrast(1.22) brightness(0.9) sepia(0.12);
}

.voices__meta {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.voices__name {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--paper);
}

.voices__role {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.hook__quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.story__head {
  width: var(--container);
  margin: 0 auto 2rem;
  max-width: 640px;
}

@media (min-width: 960px) {
  .story__head {
    text-align: center;
    max-width: 40rem;
  }
}

.story__head p:last-child {
  margin-top: 0.75rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

/* Hook CTA */
.hook {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.hook__bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.hook__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.hook__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(245, 216, 0, 0.22);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(245, 216, 0, 0.1) 0%,
      transparent 55%
    ),
    linear-gradient(
      165deg,
      rgba(30, 24, 36, 0.92) 0%,
      rgba(12, 10, 15, 0.98) 100%
    );
  backdrop-filter: blur(8px);
}

.hook__quote {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--paper);
}

/* Fish particle hook (replaces quote) */
.hook--fish {
  padding: 0;
  min-height: clamp(560px, 85vh, 900px);
  display: grid;
  background: #07060a;
}

.hook--fish .hook__bg {
  display: none;
}

.hook__fish {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
}

.hook__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* Default: vertical swipe scrolls; .is-playing locks for finger swirl */
  touch-action: pan-y;
  cursor: crosshair;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: #07060a;
  -webkit-user-select: none;
  user-select: none;
}

.hook__stage.is-playing {
  touch-action: none;
}

.hook--fish.is-ready .hook__stage {
  opacity: 1;
}

.hook__fish-ui {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(720px, calc(100% - 2rem));
  padding: 0 1rem 2rem;
  pointer-events: none;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
}

.hook__fish-hint {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  max-width: 28ch;
}

.hook__fish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.hook__sound {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(7, 6, 10, 0.55);
  border: 1px solid rgba(245, 216, 0, 0.35);
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hook__sound[aria-pressed='true'] {
  background: var(--brand-yellow);
  color: #0a0a0a;
  border-color: var(--brand-yellow);
}

.hook--static .hook__stage {
  display: none;
}

.hook--static .hook__fish-hint {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hook__stage {
    display: none !important;
  }
  .hook__fish-hint {
    display: none;
  }
}

.hero__subtitle {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

/* ── SEO FAQ ── */
.seo-faq {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 2.5rem);
}

.seo-faq__head,
.seo-faq__list {
  position: relative;
  z-index: 1;
}

.seo-faq::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(7, 6, 10, 0.55) 100%
  );
  pointer-events: none;
}

.seo-faq__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.seo-faq__head h2 {
  margin: 0.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.seo-faq__head h2 em {
  font-style: italic;
  color: var(--brand-yellow);
}

.seo-faq__head p {
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.65;
}

.seo-faq__list {
  display: grid;
  gap: 0.75rem;
}

.seo-faq__item {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(245, 216, 0, 0.14);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(12, 10, 15, 0.94);
  overflow: hidden;
}

.seo-faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.seo-faq__item summary::-webkit-details-marker {
  display: none;
}

.seo-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--brand-yellow);
  font-family: var(--font-brand);
  font-size: 1.2rem;
}

.seo-faq__item[open] summary::after {
  content: "−";
}

.seo-faq__item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--paper-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.seo-faq__item a {
  color: var(--brand-yellow-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ═══════════════════════════════════════════════════════════
   Interactive features (preview, video, compare, lightbox…)
   ═══════════════════════════════════════════════════════════ */

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: var(--ease-out);
}

.hero__video {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.15) contrast(1.08);
  transition: opacity 0.8s var(--ease-out);
  will-change: transform;
}

.hero__video.is-ready {
  opacity: 0.62;
}

.hero__atmosphere--fallback.is-cinematic {
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

.hero__atmosphere--fallback.is-cinematic.is-paused {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .hero__atmosphere--fallback.is-cinematic {
    animation: none;
  }
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero__atmosphere-btn {
  position: absolute;
  right: max(1rem, calc((100vw - 1240px) / 2 + 1rem));
  bottom: 1.25rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 179, 106, 0.35);
  background: rgba(7, 6, 10, 0.72);
  backdrop-filter: blur(10px);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease-out);
}

.hero.is-atmosphere .hero__video.is-ready,
.hero.is-atmosphere .hero__atmosphere--fallback.is-cinematic,
.hero.is-atmosphere .hero__atmosphere--fallback:not([hidden]) {
  opacity: 0.88;
  filter: saturate(1.35) contrast(1.12) brightness(1.06);
  transition:
    opacity 0.6s var(--ease-out),
    filter 0.6s var(--ease-out);
}

.hero.is-atmosphere .hero__mesh {
  opacity: 1;
  background:
    radial-gradient(
      ellipse 70% 55% at 15% 15%,
      rgba(245, 216, 0, 0.28) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 45% at 90% 75%,
      rgba(142, 29, 47, 0.22) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, rgba(7, 6, 10, 0.08) 0%, var(--ink) 88%);
  transition: opacity 0.6s var(--ease-out);
}

.hero.is-atmosphere #particles {
  opacity: 1;
}

.hero.is-atmosphere .hero__atmosphere-btn {
  transform: scale(1.04);
  box-shadow: 0 0 32px rgba(245, 216, 0, 0.28);
}

.hero__atmosphere-audio {
  display: none;
}

.hero__atmosphere-btn:hover,
.hero__atmosphere-btn.is-active {
  border-color: rgba(245, 216, 0, 0.55);
  box-shadow: 0 0 24px rgba(245, 216, 0, 0.18);
}

.hero__atmosphere-btn-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.35);
  box-shadow: 0 0 0 2px rgba(244, 239, 230, 0.12);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}

.hero__atmosphere-btn.is-active .hero__atmosphere-btn-icon {
  background: var(--brand-yellow);
  box-shadow: 0 0 12px rgba(245, 216, 0, 0.65);
}

/* ── Device preview ── */
.device-preview {
  position: relative;
}

.device-preview__viewport {
  overflow: hidden;
  border-radius: 28px;
  touch-action: pan-y;
}

.device-preview__track {
  display: flex;
  transition: transform 0.45s var(--ease-out);
  will-change: transform;
}

.device-preview__slide {
  flex: 0 0 100%;
  margin: 0;
}

.device-preview__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.device-preview__tabs {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.65rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(7, 6, 10, 0.55);
  border: 1px solid rgba(214, 179, 106, 0.18);
}

.device-preview__tab {
  flex: 1;
  padding: 0.35rem 0.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper-muted);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}

.device-preview__tab.is-active {
  background: rgba(245, 216, 0, 0.16);
  color: var(--brand-yellow-light);
}

.device-preview__tab:hover {
  color: var(--paper);
}

/* ── Compare slider ── */
.compare {
  padding: 5rem 0 4.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.compare__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

.compare__head p:last-child {
  color: var(--paper-muted);
  margin: 0.75rem 0 0;
}

.compare__slider {
  position: relative;
  margin: 0 1.25rem;
  height: min(420px, 72vw);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  user-select: none;
  cursor: ew-resize;
  touch-action: none;
  isolation: isolate;
}

.compare__panel {
  position: absolute;
  inset: 0;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.compare__panel--before {
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(7, 6, 10, 0.94) 0%,
      rgba(7, 6, 10, 0.78) 38%,
      rgba(7, 6, 10, 0.42) 62%,
      rgba(7, 6, 10, 0.72) 100%
    ),
    url("../assets/generated/compare-before.webp") center / cover;
  color: var(--paper-muted);
}

.compare__reveal {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}

.compare__panel--after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--compare-track, 100%);
  background:
    linear-gradient(
      105deg,
      rgba(7, 6, 10, 0.88) 0%,
      rgba(30, 24, 8, 0.62) 35%,
      rgba(7, 6, 10, 0.38) 62%,
      rgba(7, 6, 10, 0.82) 100%
    ),
    url("../assets/generated/compare-after.webp") center / cover;
  color: var(--paper);
}

.compare__slider.is-dragging {
  cursor: ew-resize;
}

.compare__slider.is-dragging * {
  cursor: ew-resize !important;
}

.compare__label {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.compare__panel--after .compare__label {
  color: var(--brand-yellow);
}

.compare__panel ul {
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
  border-radius: 14px;
  background: rgba(7, 6, 10, 0.42);
  backdrop-filter: blur(4px);
}

.compare__panel li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.45;
  font-size: 0.95rem;
}

.compare__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.35);
}

.compare__panel--after li::before {
  background: var(--brand-yellow);
  box-shadow: 0 0 8px rgba(245, 216, 0, 0.55);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 44px;
  padding: 0;
  border: 0;
  transform: translateX(-50%);
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}

.compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--brand-yellow);
  box-shadow: 0 0 18px rgba(245, 216, 0, 0.55);
  pointer-events: none;
}

.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--brand-yellow);
  background: rgba(7, 6, 10, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.compare__handle span::before,
.compare__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  transform: translateY(-50%);
}

.compare__handle span::before {
  left: 7px;
  border-right-color: var(--brand-yellow);
}

.compare__handle span::after {
  right: 7px;
  border-left-color: var(--brand-yellow);
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ── Lightbox ── */
.is-zoomable {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  width: min(96vw, 520px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid rgba(214, 179, 106, 0.28);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(7, 6, 10, 0.96);
  color: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(4, 3, 6, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__stage {
  padding: 2.5rem 1rem 1.5rem;
  overflow: auto;
  max-height: 88vh;
  touch-action: pinch-zoom;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  transform-origin: center center;
  transition: transform 0.12s linear;
}

/* ── Sticky mobile CTA ── */
.sticky-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 179, 106, 0.35);
  background: rgba(12, 10, 15, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s var(--ease-out);
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sticky-cta__info strong {
  font-family: var(--font-brand);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.sticky-cta__info span {
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.sticky-cta__btn {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ── Finale title reveal ── */
.finale__title .line {
  display: block;
  overflow: hidden;
}

.finale__title .line span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.75s var(--ease-out),
    opacity 0.75s var(--ease-out);
}

.finale__title.is-ready .line span {
  transform: translateY(0);
  opacity: 1;
}

.finale__title .line--accent span {
  transition-delay: 0.08s;
}

/* ── Easter egg ── */
.easter-egg {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(4, 3, 6, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.easter-egg.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.easter-egg__card {
  width: min(100%, 360px);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 216, 0, 0.35);
  background: linear-gradient(160deg, #1a1520, #0c0a0f);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.easter-egg__badge {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.easter-egg__card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.easter-egg__card p {
  margin: 0 0 1rem;
  color: var(--paper-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.easter-egg__card .btn {
  width: 100%;
  justify-content: center;
}

.easter-egg__dismiss {
  margin-top: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--paper-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (min-width: 769px) {
  .compare__slider {
    margin: 0 auto;
    max-width: 820px;
  }

  .device-preview__tab {
    font-size: 0.68rem;
  }
}

@media (max-width: 768px) {
  .compare__slider {
    height: min(580px, 155vw);
  }

  .compare__panel {
    justify-content: flex-start;
    padding: 1.35rem 1rem 1.25rem;
  }

  .compare__label {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .compare__panel ul {
    max-width: none;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem 0.65rem 0;
  }

  .compare__panel li {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .hero__device {
    width: min(210px, 54vw);
  }

  .device-preview__tab {
    font-size: 0;
    line-height: 0;
    padding: 0.45rem 0;
  }

  .device-preview__tab::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(244, 239, 230, 0.35);
  }

  .device-preview__tab.is-active::before {
    background: var(--brand-yellow);
    box-shadow: 0 0 8px rgba(245, 216, 0, 0.55);
  }
}

/* ── 404 error page ── */
.error-page {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% -10%,
      rgba(245, 216, 0, 0.14),
      transparent 55%
    ),
    radial-gradient(
      circle at 12% 88%,
      rgba(142, 29, 47, 0.28),
      transparent 42%
    ),
    radial-gradient(
      circle at 92% 18%,
      rgba(245, 216, 0, 0.07),
      transparent 36%
    ),
    linear-gradient(165deg, #0c0a0f 0%, #07060a 48%, #120b12 100%);
}

.error-page__glow {
  position: absolute;
  inset: auto 50% 8% auto;
  z-index: 0;
  width: min(42rem, 90vw);
  height: min(42rem, 90vw);
  translate: 50% 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 216, 0, 0.12) 0%,
    transparent 68%
  );
  filter: blur(8px);
  pointer-events: none;
  animation: error-glow 7s ease-in-out infinite alternate;
}

.error-page__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.error-page__main {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  text-align: center;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  animation: error-rise 0.85s var(--ease-out) both;
}

.error-page__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.error-page__brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(245, 216, 0, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.3s ease;
}

.error-page__brand:hover img {
  transform: translateY(-2px) rotate(-2deg);
  border-color: rgba(245, 216, 0, 0.55);
}

.error-page__brand span {
  display: grid;
  gap: 0.12rem;
  text-align: left;
}

.error-page__brand strong {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--paper);
}

.error-page__brand small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.error-page__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 216, 0, 0.78);
}

.error-page__code {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(5.5rem, 22vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: 0.06em;
  color: transparent;
  background: linear-gradient(
    180deg,
    var(--brand-yellow-light) 0%,
    var(--brand-yellow) 42%,
    var(--brand-yellow-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 48px rgba(245, 216, 0, 0.18);
  animation: error-pulse 3.8s ease-in-out infinite;
}

.error-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.8vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--paper);
}

.error-page__text {
  margin: 0.15rem 0 0.35rem;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper-muted);
}

.error-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.55rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  justify-content: center;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 216, 0, 0.14);
  width: min(100%, 34rem);
}

.error-page__links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 239, 230, 0.55);
  transition: color 0.2s ease;
}

.error-page__links a:hover {
  color: var(--brand-yellow);
}

@keyframes error-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes error-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@keyframes error-glow {
  from {
    opacity: 0.55;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-page__main,
  .error-page__code,
  .error-page__glow {
    animation: none;
  }
}

/* ── Legal pages ── */
.legal-page {
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
}

.legal-page__header {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-page__back {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legal-page__back:hover {
  text-decoration: underline;
}

.legal-page__updated {
  margin: 0;
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.legal-page__main {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.legal-page__main h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
}

.legal-page__lead {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--paper-muted);
}

.legal-page__main section {
  margin-bottom: 2rem;
}

.legal-page__main h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.legal-page__main h3 {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.95rem;
  color: var(--paper);
}

.legal-page__main p,
.legal-page__main li {
  line-height: 1.7;
  color: var(--paper-muted);
}

.legal-page__main ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.legal-page__main a {
  color: var(--brand-yellow-light);
}

.legal-page__main a:hover {
  text-decoration: underline;
}

.legal-page__main a.btn {
  text-decoration: none;
}

.legal-page__main a.btn--primary,
.hub-cta a.btn--primary {
  color: #0a0a0a;
}

.legal-page__main a.btn--primary:hover,
.hub-cta a.btn--primary:hover {
  text-decoration: none;
  color: #0a0a0a;
}

.legal-page__main a.btn--ghost,
.hub-cta a.btn--ghost {
  color: var(--brass-light);
}

.legal-page__main a.btn--ghost:hover,
.hub-cta a.btn--ghost:hover {
  text-decoration: none;
}

.legal-page__main code {
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(245, 216, 0, 0.08);
  font-size: 0.88em;
  color: var(--paper);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 179, 106, 0.14);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(214, 179, 106, 0.1);
}

.legal-table th {
  background: rgba(245, 216, 0, 0.06);
  color: var(--paper);
  font-weight: 650;
}

.legal-table td {
  color: var(--paper-muted);
}

.legal-page__footer {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  border-top: 1px solid rgba(214, 179, 106, 0.08);
}

.legal-page__footer a {
  color: var(--paper-muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.legal-page__footer a:hover {
  color: var(--brand-yellow);
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  transform: translateY(calc(100% + 1rem));
  opacity: 0;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out);
}

/* Lead / legal modals sit above the cookie bar so first-visit mobile CTAs stay tappable */
body.franchise-modal-open .cookie-banner,
body.site-modal-open .cookie-banner {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: rgba(12, 10, 15, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
}

.cookie-banner__text {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.cookie-banner__text a {
  color: var(--brand-yellow-light);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-banner__actions .btn {
  flex: 1 1 140px;
  justify-content: center;
  min-height: 2.5rem;
  font-size: 0.82rem;
}

.page-franchise .cookie-banner {
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(214, 179, 106, 0.06);
}

.footer__legal a {
  font-size: 0.74rem;
  color: var(--paper-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer__legal a:hover {
  color: var(--brand-yellow-light);
  text-decoration: underline;
}

.franchise-lead__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.franchise-lead__consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--brand-yellow);
}

.franchise-lead__consent span {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.franchise-lead__consent a {
  color: var(--brand-yellow-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.franchise-lead__consent a:hover,
.franchise-lead__consent a:focus-visible {
  color: var(--brand-yellow);
}

.franchise-lead__error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #ff8f8f;
}

.franchise-lead__error[hidden] {
  display: none;
}

.franchise-lead__field select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: rgba(12, 10, 15, 0.72);
  color: var(--paper);
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-modal__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-modal__backdrop {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.franchise-mid-cta {
  width: var(--container);
  margin: 0 auto 2.5rem;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(245, 216, 0, 0.28);
  border-radius: var(--radius);
  background: rgba(245, 216, 0, 0.06);
}

.franchise-mid-cta p {
  margin: 0;
  max-width: 36rem;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.45;
}

.franchise-mid-cta--calc {
  margin-top: 1.25rem;
}

.calc__cta {
  margin-top: 1rem;
}

.calc__cta .btn {
  width: 100%;
  justify-content: center;
}

.franchise-compare__note {
  margin: 1rem auto 2.5rem;
  max-width: 52rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--paper-muted);
  text-align: center;
}

.page-franchise .footer {
  padding-bottom: 6.5rem;
}

.franchise-downloads__item--accent {
  border-color: rgba(245, 216, 0, 0.45);
  color: var(--brand-yellow-light);
  font-size: 0.92rem;
  padding: 0.65rem 1rem;
}

/* ── FRANCHISE PAGE ── */
.page-franchise .hero--franchise {
  min-height: min(100svh, 920px);
}

.page-franchise .hero__layout--franchise {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.page-franchise .hero__stage--franchise {
  justify-content: center;
  min-height: clamp(240px, 42vw, 380px);
}

.page-franchise .hero__stage--franchise .hero__brand-poster {
  width: min(280px, 62vw);
}

.page-franchise .hero__lead {
  max-width: 52ch;
  margin: 1.25rem 0 2.75rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.page-franchise .hero__lead strong {
  color: var(--paper);
  font-weight: 650;
}

.franchise-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    rgba(245, 216, 0, 0.12) 0%,
    rgba(12, 10, 15, 0.95) 100%
  );
}

.franchise-icon .icon {
  width: 34px;
  height: 34px;
  color: var(--brand-yellow);
}

.franchise-compare {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.franchise-compare .compare__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-compare .compare__head p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.franchise-compare .compare__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.franchise-compare .compare__card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.14);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.85) 0%,
    rgba(12, 10, 15, 0.96) 100%
  );
}

.franchise-compare .compare__card--before {
  border-color: rgba(142, 29, 47, 0.28);
}

.franchise-compare .compare__card--after {
  border-color: rgba(245, 216, 0, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.franchise-compare .compare__label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.franchise-compare .compare__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.franchise-compare .compare__card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.franchise-compare .compare__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-yellow);
  opacity: 0.75;
}

.franchise-compare .compare__card--before li::before {
  background: var(--oxblood);
}

.franchise-steps {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.franchise-voices {
  padding-top: 2rem;
}

.page-franchise .finale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .page-franchise .hero__layout--franchise {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .franchise-compare .compare__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-franchise .hero__stage--franchise .hero__brand-poster {
    width: min(340px, 34vw);
  }
}

/* ── FRANCHISE: lead form ── */
.franchise-lead {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.92) 0%,
    rgba(12, 10, 15, 0.97) 100%
  );
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 1rem;
}

.franchise-lead__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.franchise-lead__hint {
  margin: -0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--paper-muted);
}

.franchise-lead__fields {
  display: grid;
  gap: 0.85rem;
}

.franchise-lead__field {
  display: grid;
  gap: 0.35rem;
}

.franchise-lead__field span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.franchise-lead__field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 179, 106, 0.42);
  background: rgba(0, 0, 0, 0.35);
  color: var(--paper);
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.franchise-lead__field input::placeholder {
  color: rgba(244, 239, 230, 0.55);
}

.franchise-lead__field input:focus {
  outline: none;
  border-color: rgba(245, 216, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 216, 0, 0.12);
}

.franchise-lead__field input:user-invalid {
  border-color: rgba(142, 29, 47, 0.55);
}

.franchise-lead__field input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(214, 179, 106, 0.1);
}

.franchise-lead.is-consent-locked .franchise-lead__fields {
  opacity: 1;
}

.franchise-lead__submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.franchise-lead__submit {
  width: 100%;
  margin-top: 0.15rem;
}

.franchise-lead__note,
.franchise-lead__alt {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.franchise-lead__alt {
  text-align: center;
}

.franchise-lead__alt a {
  color: var(--brand-yellow);
  text-decoration: none;
}

.franchise-lead__alt a:hover {
  text-decoration: underline;
}

.franchise-lead__success {
  display: none;
  gap: 0.65rem;
}

.franchise-lead__success p {
  margin: 0;
  line-height: 1.6;
  color: var(--paper-muted);
}

.franchise-lead__success strong {
  color: var(--paper);
}

.franchise-lead.is-success .franchise-lead__fields,
.franchise-lead.is-success .franchise-lead__submit,
.franchise-lead.is-success .franchise-lead__note,
.franchise-lead.is-success .franchise-lead__consent {
  display: none;
}

.franchise-lead.is-success .franchise-lead__alt {
  display: block;
}

.franchise-lead__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.franchise-lead.is-success .franchise-lead__success {
  display: grid;
}

.franchise-lead--finale {
  width: min(100%, 480px);
  margin: 1.5rem auto 0;
  text-align: left;
}

.page-franchise .hero__stage--franchise {
  align-items: stretch;
  min-height: auto;
}

/* ── FRANCHISE: floating contact button ── */
.franchise-fab {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid rgba(255, 238, 140, 0.95);
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #fff0a0 0%,
    var(--brand-yellow) 38%,
    #e0b800 100%
  );
  color: var(--ink);
  box-shadow:
    0 0 28px rgba(245, 216, 0, 0.65),
    0 16px 44px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  isolation: isolate;
  animation:
    franchiseFabBreathe 1.8s ease-in-out infinite,
    franchiseFabGlow 1.8s ease-in-out infinite;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s ease;
}

.franchise-fab::before,
.franchise-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.franchise-fab::before {
  inset: -6px;
  border: 2px solid rgba(245, 216, 0, 0.75);
  animation: franchiseFabRing 1.8s ease-out infinite;
}

.franchise-fab::after {
  inset: -14px;
  border: 2px solid rgba(245, 216, 0, 0.45);
  animation: franchiseFabRing 1.8s ease-out 0.9s infinite;
}

.franchise-fab:hover {
  animation-play-state: paused, paused;
  transform: translateY(-3px) scale(1.06);
  border-color: #fff8d0;
  box-shadow:
    0 0 40px rgba(245, 216, 0, 0.9),
    0 20px 52px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(245, 216, 0, 0.22);
}

.franchise-fab:hover::before,
.franchise-fab:hover::after {
  animation-play-state: paused;
  opacity: 0.35;
}

.franchise-fab:active {
  transform: translateY(0) scale(0.96);
}

.franchise-fab__icon {
  position: relative;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
  animation: franchiseFabIcon 1.8s ease-in-out infinite;
}

.franchise-fab:hover .franchise-fab__icon {
  animation-play-state: paused;
}

.franchise-fab__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 899px) {
  .franchise-fab {
    width: auto;
    min-width: 4.25rem;
    height: 3.15rem;
    padding: 0 1rem 0 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    animation: franchiseFabBreathe 1.8s ease-in-out 3;
  }

  .franchise-fab::before,
  .franchise-fab::after {
    animation: franchiseFabRing 1.8s ease-out 3;
  }

  .franchise-fab__text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .franchise-fab__icon {
    animation: none;
  }
}

@keyframes franchiseFabBreathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.09);
  }
}

@keyframes franchiseFabGlow {
  0%,
  100% {
    box-shadow:
      0 0 22px rgba(245, 216, 0, 0.55),
      0 16px 44px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(245, 216, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 42px rgba(245, 216, 0, 0.95),
      0 16px 44px rgba(0, 0, 0, 0.5),
      0 0 0 14px rgba(245, 216, 0, 0);
  }
}

@keyframes franchiseFabRing {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

@keyframes franchiseFabIcon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .franchise-fab {
    animation: none;
  }

  .franchise-fab::before,
  .franchise-fab::after,
  .franchise-fab__icon {
    animation: none;
  }

  .franchise-lead-modal,
  .franchise-lead-modal__panel {
    transition: none;
  }
}

/* ── FRANCHISE: lead modal ── */
.franchise-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.franchise-lead-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.franchise-lead-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(6, 5, 8, 0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.franchise-lead-modal__scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.65rem, env(safe-area-inset-top, 0px))
    max(0.65rem, env(safe-area-inset-right, 0px))
    max(0.65rem, env(safe-area-inset-bottom, 0px))
    max(0.65rem, env(safe-area-inset-left, 0px));
  overflow: hidden;
  pointer-events: none;
}

.franchise-lead-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 392px);
  max-height: min(82dvh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  pointer-events: auto;
}

.franchise-lead-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  margin: 0;
  float: none;
  border: 1px solid rgba(214, 179, 106, 0.25);
  border-radius: 50%;
  background: rgba(12, 10, 15, 0.92);
  color: var(--paper-muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.franchise-lead-modal__close:hover {
  color: var(--paper);
  border-color: rgba(245, 216, 0, 0.45);
}

.franchise-lead--modal {
  width: 100%;
  margin: 0;
  padding: 2.35rem 1.1rem 1.1rem;
  gap: 0.7rem;
}

.franchise-lead--modal .franchise-lead__title {
  font-size: 0.95rem;
}

.franchise-lead--modal .franchise-lead__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.franchise-lead--modal .franchise-lead__fields {
  gap: 0.6rem;
}

.franchise-lead--modal .franchise-lead__field input {
  padding: 0.65rem 0.8rem;
  font-size: 0.92rem;
}

.franchise-lead--modal .franchise-lead__consent span {
  font-size: 0.72rem;
  line-height: 1.45;
}

.franchise-lead--modal .franchise-lead__submit {
  min-height: 2.65rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-size: 0.86rem;
}

.franchise-lead--modal .franchise-lead__alt {
  font-size: 0.74rem;
}

@media (max-width: 480px) {
  .franchise-lead-modal__panel {
    width: min(100%, 360px);
    max-height: min(78dvh, 480px);
  }

  .franchise-lead--modal {
    padding: 2.15rem 0.95rem 0.95rem;
    gap: 0.6rem;
  }
}

body.franchise-modal-open,
body.site-modal-open {
  overscroll-behavior: none;
}

/* ── Legal modal (in-page) ── */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.legal-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(6, 5, 8, 0.82);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.legal-modal__scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.65rem, env(safe-area-inset-top, 0px))
    max(0.65rem, env(safe-area-inset-right, 0px))
    max(0.65rem, env(safe-area-inset-bottom, 0px))
    max(0.65rem, env(safe-area-inset-left, 0px));
  overflow: hidden;
  pointer-events: none;
}

.legal-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(86dvh, 680px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  pointer-events: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.22);
  background: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.legal-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  margin: 0;
  float: none;
  border: 1px solid rgba(214, 179, 106, 0.25);
  border-radius: 50%;
  background: rgba(12, 10, 15, 0.92);
  color: var(--paper-muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.legal-modal__close:hover {
  color: var(--paper);
  border-color: rgba(245, 216, 0, 0.45);
}

.legal-modal__content {
  overflow: visible;
}

.legal-modal__content .legal-page__main--modal {
  width: auto;
  margin: 0;
  padding: 2.15rem 1.15rem 1.15rem;
}

.legal-modal__content .legal-page__main--modal h1 {
  padding-right: 2.5rem;
}

.legal-modal__loading,
.legal-modal__error {
  margin: 0;
  padding: 2.5rem 1.5rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

.legal-modal__error a {
  color: var(--brand-yellow-light);
}

@media (prefers-reduced-motion: reduce) {
  .legal-modal,
  .legal-modal__panel {
    transition: none;
  }
}

/* ── FRANCHISE: KPI strip ── */
.franchise-kpi {
  width: var(--container);
  margin: -1rem auto 0;
  padding: 0 0 2rem;
  position: relative;
  z-index: 3;
}

.franchise-kpi__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

.franchise-kpi__item {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 179, 106, 0.14);
  background: rgba(12, 10, 15, 0.88);
  backdrop-filter: blur(8px);
}

.franchise-kpi__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.15rem;
}

.franchise-kpi__item span {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--paper-muted);
}

.franchise-kpi__item--accent {
  border-color: rgba(245, 216, 0, 0.35);
  background: rgba(245, 216, 0, 0.08);
}

.franchise-kpi__item--accent strong {
  color: var(--brand-yellow-light);
}

@media (min-width: 768px) {
  .franchise-kpi__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── FRANCHISE: comparison table ── */
.franchise-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(214, 179, 106, 0.14);
}

.franchise-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.franchise-table th,
.franchise-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(214, 179, 106, 0.1);
  text-align: left;
  vertical-align: top;
}

.franchise-table thead th {
  background: rgba(245, 216, 0, 0.08);
  color: var(--brand-yellow-light);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.franchise-table tbody th {
  color: var(--paper-muted);
  font-weight: 600;
  width: 28%;
}

.franchise-table td strong {
  color: var(--brand-yellow-light);
}

.franchise-table .is-yes {
  color: var(--brand-yellow-light);
}

.franchise-table .is-no {
  color: rgba(244, 239, 230, 0.35);
}

.franchise-compare .compare__grid--secondary {
  margin-top: 0;
}

/* ── FRANCHISE: benefits ── */
.franchise-benefits {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0;
}

.franchise-benefits__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-benefits__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.franchise-benefits__card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: rgba(12, 10, 15, 0.65);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s;
}

.franchise-benefits__card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 216, 0, 0.28);
}

.franchise-benefits__card strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: rgba(245, 216, 0, 0.25);
  margin-bottom: 0.35rem;
}

.franchise-benefits__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.franchise-benefits__card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--paper-muted);
}

@media (min-width: 768px) {
  .franchise-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .franchise-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── FRANCHISE: includes grid ── */
.franchise-includes {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 4rem;
}

.franchise-includes__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-includes__head p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.franchise-includes__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.franchise-includes__grid article {
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.55) 0%,
    rgba(12, 10, 15, 0.85) 100%
  );
}

.franchise-includes__grid h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-yellow-light);
}

.franchise-includes__grid p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--paper-muted);
}

@media (min-width: 768px) {
  .franchise-includes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .franchise-includes__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── FRANCHISE: cities ── */
.franchise-cities {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0;
}

.franchise-cities__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.franchise-cities__copy p {
  line-height: 1.65;
  color: var(--paper-muted);
}

.franchise-city-calc {
  margin: 1.25rem 0;
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 179, 106, 0.14);
  background: rgba(0, 0, 0, 0.25);
}

.franchise-city-calc label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--paper-muted);
  margin-bottom: 0.65rem;
}

.franchise-city-calc__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.franchise-city-calc__row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.franchise-city-calc__row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-yellow);
  border: 2px solid #0c0a0f;
}

.franchise-city-calc__row output {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-yellow-light);
  min-width: 3rem;
  text-align: right;
}

.franchise-city-calc__result {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.88rem;
  color: var(--paper-muted);
}

.franchise-city-calc__result strong {
  color: var(--brand-yellow-light);
  font-size: 1.05rem;
}

.franchise-city-calc__hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--paper-muted);
  opacity: 0.85;
}

.franchise-cities__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.franchise-cities__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: rgba(12, 10, 15, 0.55);
}

.franchise-cities__list span {
  font-weight: 650;
}

.franchise-cities__list em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.franchise-cities__list .is-taken {
  border-color: rgba(142, 29, 47, 0.35);
}

.franchise-cities__list .is-taken em {
  color: #e07a88;
}

.franchise-cities__list .is-open em {
  color: var(--brand-yellow-light);
}

@media (min-width: 900px) {
  .franchise-cities__layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── FRANCHISE: showcase gallery ── */
.franchise-showcase {
  width: var(--container);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.franchise-showcase__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.franchise-showcase__tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(245, 216, 0, 0.14);
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

.franchise-showcase__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-out);
}

.franchise-showcase__tile:hover img {
  transform: scale(1.06);
}

.franchise-showcase__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 6, 10, 0.92) 0%,
    rgba(8, 6, 10, 0.35) 42%,
    rgba(8, 6, 10, 0.08) 100%
  );
  pointer-events: none;
}

.franchise-showcase__tile figcaption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem;
}

.franchise-showcase__tile figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--brand-yellow-light);
  margin-bottom: 0.2rem;
}

.franchise-showcase__tile figcaption span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--paper-muted);
}

.franchise-showcase__tile--wide {
  aspect-ratio: 21 / 9;
}

.page-franchise .hero__atmosphere {
  opacity: 0.72;
  object-position: center 35%;
}

@media (min-width: 900px) {
  .franchise-showcase__grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
  }

  .franchise-showcase__tile--wide {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 8;
  }
}

/* ── FRANCHISE: downloads ── */
.franchise-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.franchise-downloads__item {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 0, 0.28);
  background: rgba(245, 216, 0, 0.06);
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--brand-yellow-light);
  text-decoration: none;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.franchise-downloads__item:hover {
  border-color: rgba(245, 216, 0, 0.55);
  background: rgba(245, 216, 0, 0.12);
}

/* ── FRANCHISE: packages ── */
.franchise-packages {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
}

.franchise-packages__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-packages__head p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.franchise-packages__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.franchise-package {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.14);
  background: linear-gradient(
    165deg,
    rgba(30, 24, 36, 0.85) 0%,
    rgba(12, 10, 15, 0.96) 100%
  );
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s;
}

.franchise-package:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 216, 0, 0.3);
}

.franchise-package--featured {
  border-color: rgba(245, 216, 0, 0.42);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.franchise-package__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: #0a0a0a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.franchise-package__tier {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.franchise-package h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.franchise-package__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  color: var(--brand-yellow-light);
}

.franchise-package__royalty {
  margin: 0.25rem 0 1rem;
  font-size: 0.82rem;
  color: var(--paper-muted);
}

.franchise-package ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.franchise-package li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--paper-muted);
}

.franchise-package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-yellow);
}

@media (min-width: 900px) {
  .franchise-packages__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .franchise-package--featured {
    transform: scale(1.02);
  }

  .franchise-package--featured:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

/* ── FRANCHISE: calculator ── */
.franchise-economics {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.franchise-economics__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-economics__head p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.calc {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(245, 216, 0, 0.18);
  background:
    radial-gradient(
      120% 80% at 100% 0%,
      rgba(245, 216, 0, 0.09) 0%,
      transparent 55%
    ),
    linear-gradient(
      165deg,
      rgba(30, 24, 36, 0.92) 0%,
      rgba(8, 6, 10, 0.98) 100%
    );
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.calc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/generated/brand-grunge-texture.webp") center / 140%
    140%;
  opacity: 0.06;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.calc__toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(214, 179, 106, 0.12);
}

.calc__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.calc__pills-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-right: 0.15rem;
}

.calc__pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 179, 106, 0.42);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.calc__pill:hover {
  border-color: rgba(245, 216, 0, 0.38);
  color: var(--paper);
}

.calc__pill.is-active {
  border-color: rgba(245, 216, 0, 0.55);
  background: rgba(245, 216, 0, 0.14);
  color: var(--brand-yellow-light);
  box-shadow: 0 0 24px rgba(245, 216, 0, 0.12);
}

.calc__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.calc__panel {
  padding: 1.35rem;
}

.calc__panel--inputs {
  display: grid;
  gap: 1.35rem;
  border-bottom: 1px solid rgba(214, 179, 106, 0.1);
}

.calc__field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.calc__field-head label {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--paper);
}

.calc__field-head output {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-yellow-light);
  font-variant-numeric: tabular-nums;
}

.calc__field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  border-radius: 999px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.calc__field input[type="range"]:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 4px;
}

.calc__field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.calc__field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.calc__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #0c0a0f;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 4px rgba(245, 216, 0, 0.18);
  cursor: grab;
  transition: transform 0.15s var(--ease-out);
}

.calc__field input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.08);
}

.calc__field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #0c0a0f;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 4px rgba(245, 216, 0, 0.18);
  cursor: grab;
}

.calc__advanced {
  border-radius: 14px;
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.calc__advanced summary {
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--paper-muted);
  cursor: pointer;
  list-style: none;
}

.calc__advanced summary::-webkit-details-marker {
  display: none;
}

.calc__advanced summary::after {
  content: "+";
  float: right;
  color: var(--brand-yellow);
  font-weight: 700;
}

.calc__advanced[open] summary::after {
  content: "−";
}

.calc__advanced-grid {
  display: grid;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
}

.calc__advanced-grid label {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.calc__advanced-grid input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(214, 179, 106, 0.18);
  background: rgba(245, 216, 0, 0.06);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}

.calc__panel--output {
  background: linear-gradient(
    180deg,
    rgba(245, 216, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.calc__hero {
  text-align: center;
  padding: 0.5rem 0 1.25rem;
}

.calc__hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.calc__hero-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-yellow-light);
  text-shadow: 0 0 40px rgba(245, 216, 0, 0.22);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

.calc.is-negative .calc__hero-value {
  color: #e85a6b;
  text-shadow: 0 0 30px rgba(142, 29, 47, 0.35);
}

.calc.is-strong .calc__hero-value {
  color: var(--brand-yellow);
}

.calc__hero-sub {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--paper-muted);
}

.calc__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.calc__metric {
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.calc__metric span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 0.25rem;
}

.calc__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.calc__metric small {
  font-size: 0.65rem;
  color: var(--paper-muted);
}

.calc__waterfall {
  display: grid;
  gap: 0.55rem;
}

.calc__waterfall-title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.calc__bar {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.78rem;
}

.calc__bar > span {
  color: var(--paper-muted);
}

.calc__bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.calc__bar-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: rgba(214, 179, 106, 0.55);
  transition: width 0.45s var(--ease-out);
}

.calc__bar--revenue .calc__bar-track i {
  background: rgba(245, 216, 0, 0.85);
}

.calc__bar--margin .calc__bar-track i {
  background: linear-gradient(90deg, #c9a800, #ffe566);
}

.calc.is-negative .calc__bar--margin .calc__bar-track i {
  background: var(--oxblood);
}

.calc__bar em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  min-width: 5.5rem;
  text-align: right;
}

.calc__note {
  margin: 1.15rem 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--paper-muted);
  text-align: center;
}

@media (min-width: 900px) {
  .calc__layout {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .calc__panel--inputs {
    border-bottom: none;
    border-right: 1px solid rgba(214, 179, 106, 0.1);
  }

  .calc__advanced-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .calc__panel {
    padding: 1.65rem 1.85rem;
  }
}

/* ── FRANCHISE: contract ── */
.franchise-contract {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.franchise-contract__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-contract__head p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.franchise-contract__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.franchise-contract__block {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: rgba(12, 10, 15, 0.6);
}

.franchise-contract__block h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-yellow-light);
}

.franchise-contract__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.franchise-contract__block li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--paper-muted);
}

.franchise-contract__block li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(245, 216, 0, 0.5);
}

.franchise-contract__footnote {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--paper-muted);
}

.franchise-contract__footnote a {
  color: var(--brand-yellow-light);
  font-weight: 650;
}

@media (min-width: 768px) {
  .franchise-contract__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .franchise-contract__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Полная смета входа ── */
.franchise-investment {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 1rem;
}

.franchise-investment__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.franchise-investment__head p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.franchise-table--investment tbody th {
  width: 34%;
  color: var(--paper);
}

.franchise-table--investment td:last-child {
  color: rgba(244, 239, 230, 0.55);
  font-size: 0.78rem;
}

.franchise-table__total th,
.franchise-table__total td {
  background: rgba(245, 216, 0, 0.07);
  border-top: 1px solid rgba(214, 179, 106, 0.28);
}

.franchise-table__total th {
  color: var(--brand-yellow-light) !important;
}

.franchise-investment__notes {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.franchise-investment__notes p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.franchise-investment__notes strong {
  color: var(--brand-yellow-light);
}

.franchise-investment__disclaimer {
  font-size: 0.78rem !important;
  color: rgba(244, 239, 230, 0.45) !important;
}

.calc__advanced-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.5);
}

/* ── Кому подходит / кому не подойдёт ── */
.franchise-fit {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.franchise-fit__col {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: rgba(12, 10, 15, 0.6);
}

.franchise-fit__col--no {
  border-color: rgba(244, 239, 230, 0.09);
  background: rgba(12, 10, 15, 0.35);
}

.franchise-fit__col h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-yellow-light);
}

.franchise-fit__col--no h3 {
  color: rgba(244, 239, 230, 0.62);
}

.franchise-fit__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.franchise-fit__col li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.franchise-fit__col li strong {
  color: var(--paper);
  font-weight: 650;
}

.franchise-fit__col--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(245, 216, 0, 0.75);
  font-size: 0.85rem;
}

.franchise-fit__col--no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: rgba(244, 239, 230, 0.32);
  font-size: 0.8rem;
}

@media (min-width: 900px) {
  .franchise-fit {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── SEO hub pages + social proof ── */
.hub-page__header {
  gap: 1rem;
}

.hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  padding: 0.75rem 1.25rem 0;
  max-width: 920px;
  margin: 0 auto;
}

.hub-nav a {
  color: rgba(245, 240, 230, 0.72);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.hub-nav a:hover,
.hub-nav a[aria-current="page"] {
  color: var(--brand-yellow-light, #f5d800);
}

.hub-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(245, 216, 0, 0.22);
  background: linear-gradient(
    160deg,
    rgba(245, 216, 0, 0.08),
    rgba(12, 10, 15, 0.4)
  );
}

.hub-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.hub-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-list--cards li {
  padding: 0;
  border-bottom: none;
}

.hub-list__card {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  gap: 0.9rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
}

.hub-list__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(245, 216, 0, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hub-list__card strong {
  color: var(--paper);
}

.hub-list__card:hover strong {
  color: var(--brand-yellow-light);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .hub-list__card {
    grid-template-columns: 1fr;
  }
}

.hub-cover {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(245, 216, 0, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hub-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.corp-brands {
  margin: 2.25rem 0 0;
}

.corp-brands__grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.corp-brands__item {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(245, 216, 0, 0.18);
}

.corp-brands__item img {
  display: block;
  width: 100%;
  max-width: 11rem;
  max-height: 3.25rem;
  height: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .corp-brands__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  margin: 2.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(245, 216, 0, 0.14);
}

.hub-pager__link {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
}

.hub-pager__link--next {
  text-align: right;
  justify-items: end;
}

.hub-pager__link--disabled {
  visibility: hidden;
  pointer-events: none;
}

.hub-pager__dir {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.hub-pager__title {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--paper-muted);
}

.hub-pager__link:hover .hub-pager__title {
  color: var(--brand-yellow-light);
  text-decoration: underline;
}

.hub-pager__index {
  align-self: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(245, 216, 0, 0.22);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--brass-light);
  text-decoration: none;
  white-space: nowrap;
}

.hub-pager__index:hover {
  border-color: rgba(245, 216, 0, 0.45);
  color: var(--brand-yellow-light);
}

@media (max-width: 640px) {
  .hub-pager {
    grid-template-columns: 1fr;
  }

  .hub-pager__link--next {
    text-align: left;
    justify-items: start;
  }

  .hub-pager__index {
    order: -1;
    justify-self: start;
  }
}

.reviews-summary {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--brand-yellow, #f5d800);
  background: rgba(245, 216, 0, 0.06);
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 230, 0.7);
}

.review-card__source {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
}

.social-proof {
  padding: 4.5rem 1.25rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.social-proof__head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.social-proof__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .social-proof__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-proof__card {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 10, 15, 0.55);
}

.social-proof__card p {
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

.social-proof__card footer {
  font-size: 0.8rem;
  color: rgba(245, 240, 230, 0.55);
}

.map-card--home {
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(245, 216, 0, 0.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 216, 0, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.map-card__note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.65);
}

.hub-page__footer {
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.footer__legal {
  flex-wrap: wrap;
  max-width: 100%;
}

.club-gallery {
  margin: 1.75rem 0 1.25rem;
  max-width: 52rem;
}

.club-gallery__head {
  margin-bottom: 0.85rem;
}

.club-gallery__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.club-gallery h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.club-gallery__head > p,
.club-gallery > p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(245, 240, 230, 0.62);
}

.club-gallery__grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.club-gallery__item--featured {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .club-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

.club-gallery__item {
  margin: 0;
  min-width: 0;
}

.club-gallery__frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(245, 216, 0, 0.18);
  background:
    linear-gradient(145deg, rgba(245, 216, 0, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 10px 28px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.club-gallery__frame::before,
.club-gallery__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0.7rem;
  height: 0.7rem;
  border-color: var(--brand-yellow);
  border-style: solid;
  opacity: 0.75;
  pointer-events: none;
}

.club-gallery__frame::before {
  top: 0.45rem;
  left: 0.45rem;
  border-width: 1.5px 0 0 1.5px;
}

.club-gallery__frame::after {
  right: 0.45rem;
  bottom: 0.45rem;
  border-width: 0 1.5px 1.5px 0;
}

.club-gallery__item img {
  display: block;
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  object-position: center 35%;
  transition:
    transform 0.55s var(--ease-out),
    filter 0.55s var(--ease-out);
  filter: saturate(0.98) contrast(1.03);
}

.club-gallery__item--featured img {
  height: 15rem;
}

@media (min-width: 720px) {
  .club-gallery__item img {
    height: 11rem;
  }

  .club-gallery__item--featured img {
    height: 18rem;
  }

  .club-gallery__item--portrait img {
    object-position: center 20%;
  }
}

.club-gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1.4rem 0.65rem 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.92);
  background: linear-gradient(
    to top,
    rgba(7, 6, 10, 0.88) 0%,
    rgba(7, 6, 10, 0.35) 55%,
    transparent 100%
  );
}

.club-gallery__item:hover img,
.club-gallery__item:focus-within img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.06);
}

.club-gallery--home {
  margin: 0 auto 1.75rem;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  max-width: 58rem;
}

.club-gallery--home .club-gallery__grid {
  margin-top: 0.95rem;
}

.club-gallery--home .social-proof__head {
  margin-bottom: 0;
}

.club-gallery--home .social-proof__head h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
}

.club-gallery--home .social-proof__head p:last-child {
  max-width: 34rem;
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  .club-gallery__item img {
    transition: none;
  }

  .club-gallery__item:hover img,
  .club-gallery__item:focus-within img {
    transform: none;
  }
}

.club-gallery__item {
  cursor: zoom-in;
}

.club-gallery__item:focus-visible .club-gallery__frame {
  outline: 2px solid var(--brand-yellow-light);
  outline-offset: 3px;
}

.club-gallery__item .club-gallery__frame > img {
  pointer-events: none;
}

/* ── Club photo viewer (wow lightbox) ── */
body.club-viewer-open {
  overflow: hidden;
}

.club-viewer {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem
    max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.club-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.club-viewer__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(245, 216, 0, 0.12), transparent 55%),
    radial-gradient(ellipse at center, rgba(12, 10, 15, 0.55), rgba(4, 3, 6, 0.94));
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  cursor: zoom-out;
}

.club-viewer__glow {
  position: absolute;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 216, 0, 0.22),
    transparent 68%
  );
  filter: blur(28px);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.7s var(--ease-out);
  pointer-events: none;
}

.club-viewer.is-open .club-viewer__glow {
  opacity: 1;
  transform: scale(1);
}

.club-viewer__stage {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: min(86vh, 900px);
}

.club-viewer__figure {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 216, 0, 0.28);
  background: rgba(7, 6, 10, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(245, 216, 0, 0.12);
  opacity: 0;
  transform: translate3d(var(--sx, 0), var(--sy, 0), 0) scale(var(--ss, 0.86));
  filter: blur(10px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.55s var(--ease-spring),
    filter 0.45s var(--ease-out);
}

.club-viewer__figure.is-origin {
  opacity: 0.55;
  filter: blur(2px);
}

.club-viewer__figure.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.club-viewer__figure.is-out-left {
  opacity: 0;
  transform: translate3d(-42px, 0, 0) scale(0.96);
  filter: blur(6px);
  transition-duration: 0.22s;
}

.club-viewer__figure.is-out-right {
  opacity: 0;
  transform: translate3d(42px, 0, 0) scale(0.96);
  filter: blur(6px);
  transition-duration: 0.22s;
}

.club-viewer__img {
  display: block;
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: #0a0810;
}

.club-viewer__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.2rem 1.1rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.92);
  background: linear-gradient(
    to top,
    rgba(7, 6, 10, 0.92),
    rgba(7, 6, 10, 0.35) 60%,
    transparent
  );
}

.club-viewer__close,
.club-viewer__nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(245, 216, 0, 0.28);
  background: rgba(12, 10, 15, 0.72);
  color: var(--paper);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.club-viewer__close {
  top: max(0.85rem, env(safe-area-inset-top));
  right: max(0.85rem, env(safe-area-inset-right));
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
}

.club-viewer__nav {
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
}

.club-viewer__nav--prev {
  left: max(0.65rem, env(safe-area-inset-left));
}

.club-viewer__nav--next {
  right: max(0.65rem, env(safe-area-inset-right));
}

.club-viewer__close:hover,
.club-viewer__nav:hover {
  background: rgba(245, 216, 0, 0.16);
  border-color: rgba(245, 216, 0, 0.55);
}

.club-viewer__nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.club-viewer__close:hover {
  transform: scale(1.06);
}

.club-viewer__counter {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 0, 0.22);
  background: rgba(12, 10, 15, 0.7);
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

@media (max-width: 720px) {
  .club-viewer__nav {
    display: none;
  }

  .club-viewer__stage {
    width: min(96vw, 980px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .club-viewer,
  .club-viewer__glow,
  .club-viewer__figure,
  .club-viewer__close,
  .club-viewer__nav {
    transition: none !important;
  }

  .club-viewer__figure {
    filter: none;
    transform: none;
  }
}

/* ── LIGA LEGEND PAGE ── */
.page-liga .hero--liga {
  min-height: min(100svh, 920px);
}

.page-liga .hero__layout--liga {
  grid-template-columns: 1fr;
  align-items: end;
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.page-liga .hero__atmosphere--poster {
  object-fit: cover;
  object-position: 18% 30%;
  opacity: 1;
  filter: saturate(1.06) contrast(1.05);
}

.page-liga .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(12, 10, 15, 0.42) 0%,
      rgba(12, 10, 15, 0.18) 34%,
      rgba(12, 10, 15, 0.62) 68%,
      rgba(12, 10, 15, 0.94) 100%
    ),
    linear-gradient(
      95deg,
      rgba(12, 10, 15, 0.82) 0%,
      rgba(12, 10, 15, 0.45) 38%,
      rgba(12, 10, 15, 0.2) 62%,
      rgba(12, 10, 15, 0.35) 100%
    );
}

@media (max-width: 720px) {
  .page-liga .hero__atmosphere--poster {
    object-position: 30% 22%;
  }
}

.page-liga .hero__lead {
  max-width: 48ch;
  margin: 1.25rem 0 2.25rem;
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.page-liga .hero__title .line--accent {
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 650;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--brand-yellow);
}

.page-liga .footer__copy-aside {
  font-size: 0.65rem;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

.page-liga .hero__lead strong {
  color: var(--paper);
  font-weight: 650;
}

.liga-feats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  width: var(--container);
  margin: -0.35rem auto 0;
  padding: 0 0 0.35rem;
  list-style: none;
}

.liga-feats li {
  margin: 0;
  padding: 0.85rem 0.7rem;
  text-align: center;
  font-size: clamp(0.62rem, 1.3vw, 0.72rem);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(244, 239, 230, 0.88);
  border: 1px solid rgba(245, 216, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(245, 216, 0, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

@media (max-width: 900px) {
  .liga-feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liga-feats li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .liga-feats {
    grid-template-columns: 1fr;
  }

  .liga-feats li:last-child {
    grid-column: auto;
  }

  .page-liga .hero__atmosphere--poster {
    object-position: center 22%;
  }
}

.liga-manifesto {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0 2rem;
}

.liga-manifesto__grid {
  display: grid;
  gap: 1.75rem 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.liga-manifesto h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.12;
}

.liga-manifesto__copy p {
  margin: 0 0 1rem;
  color: var(--paper-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.liga-stats {
  width: var(--container);
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
}

.liga-stats__grid {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid rgba(245, 216, 0, 0.18);
  border-bottom: 1px solid rgba(245, 216, 0, 0.18);
}

.liga-stats__grid li {
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.liga-stats__grid strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brand-yellow);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.liga-stats__grid span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}

.liga-voices {
  padding-top: 1rem;
}

.voices__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.liga-pillars {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.liga-pillars__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.liga-pillars__head h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.75rem, 3.8vw, 2.7rem);
  line-height: 1.15;
}

.liga-pillars__head p {
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.65;
}

.liga-pillars__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.liga-pillars__grid li {
  padding: 1.35rem 1.25rem 1.45rem;
  border: 1px solid rgba(214, 179, 106, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(245, 216, 0, 0.06) 0%,
    rgba(12, 10, 15, 0.35) 55%
  );
}

.liga-pillars__num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--brand-yellow);
}

.liga-pillars__grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.liga-pillars__grid p {
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.liga-team {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.liga-team__head h2 {
  margin: 0.35rem 0 1.5rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.liga-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.liga-team__grid li {
  padding: 1.5rem 1.35rem;
  border-left: 2px solid var(--brand-yellow);
  background: rgba(244, 239, 230, 0.03);
}

.liga-team__role {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
}

.liga-team__grid h3 {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--font-display, "Lora", Georgia, serif);
  font-weight: 500;
}

.liga-path {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 9vw, 7rem);
}

.liga-path__card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(245, 216, 0, 0.22);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(245, 216, 0, 0.12), transparent 50%),
    linear-gradient(165deg, rgba(20, 16, 24, 0.95), rgba(12, 10, 15, 0.9));
}

.liga-path__card h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}

.liga-path__card > p {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: var(--paper-muted);
  line-height: 1.7;
}

.liga-path__card ol {
  margin: 0 0 1.75rem;
  padding-left: 1.2rem;
  color: var(--paper);
  line-height: 1.7;
}

.liga-path__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 960px) {
  .liga-manifesto__grid,
  .voices__grid--3,
  .liga-pillars__grid {
    grid-template-columns: 1fr;
  }

  .liga-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .liga-team__grid {
    grid-template-columns: 1fr;
  }

  .liga-stats__grid {
    gap: 1.25rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-liga .marquee__track {
    animation: none !important;
  }
}

