/* ==========================================================================
   Cameo Cinema — LAYOUT
   ========================================================================== */

:root {
  /* Container widths */
  --container: 1120px;
  --container-wide: 1520px;

  /* Horizontal padding */
  --pad-x: clamp(16px, 4vw, 28px);

  /* Vertical rhythm (100–150px spacing) */
  --section-y: clamp(48px, 5vw, 75px);
  --section-y-tight: clamp(36px, 4vw, 60px);

  /* Common max widths for text */
  --measure: 68ch;
  --measure-tight: 56ch;
}

/* ---- Page shell -------------------------------------------------------- */
.cameo-cinema {
  min-height: 100vh;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

/* Background baseline for the shell */
.void-bg {
  background: var(--void);
}

/* ---- Containers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--tight {
  max-width: 960px;
}

.measure {
  max-width: var(--measure);
}

.measure--tight {
  max-width: var(--measure-tight);
}

/* ---- Sections ---------------------------------------------------------- */
.section {
  padding-block: var(--section-y-tight);
  position: relative;
}

.section--tight {
  padding-block: var(--section-y-tight);
}

.section__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 212, 255, 0.9),
    rgba(0, 212, 255, 0.1)
  );
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.25),
    0 10px 40px rgba(0, 212, 255, 0.12);
}

.section__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.section__subtitle {
  max-width: var(--measure);
  color: var(--text-muted);
  line-height: 1.7;
  font-size: var(--fs-sm);
}

/* ---- Cinematic surface panels ----------------------------------------- */
.surface {
  background: linear-gradient(
    180deg,
    rgba(18, 20, 24, 0.9),
    rgba(18, 20, 24, 0.55)
  );
  border: 1px solid var(--border);
  border-radius: var(--r-1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.surface--lift {
  transition:
    transform 260ms var(--ease-cinema),
    border-color 260ms var(--ease-cinema),
    box-shadow 260ms var(--ease-cinema);
}

.surface--lift:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lift), var(--glow-primary);
}

/* ---- Grid system ------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ---- Stack / flow utilities ------------------------------------------- */
.stack {
  display: grid;
  gap: clamp(10px, 1.5vw, 18px);
}

.stack--sm {
  gap: 10px;
}

.stack--lg {
  gap: clamp(18px, 2.5vw, 28px);
}

.flow > * + * {
  margin-top: 1em;
}

/* ---- Split layouts ----------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---- Sticky blocks (checkout/dashboard side panels) -------------------- */
.sticky {
  position: sticky;
  top: 18px;
}

/* ---- Header/Footer spacing scaffolding -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 20, 24, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-footer__inner {
  padding-block: clamp(26px, 4vw, 46px);
  display: grid;
  gap: 18px;
}

@media (max-width: 720px) {
  .site-header__inner {
    padding-block: 12px;
  }
}

/* ---- Divider sections -------------------------------------------------- */
.section-divider {
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(920px, 92%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 107, 255, 0.25),
    transparent
  );
  opacity: 0.8;
}

/* ---- Hero scaffolding -------------------------------------------------- */
.hero {
  padding-block: clamp(110px, 12vw, 170px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      900px 500px at 20% 20%,
      rgba(45, 107, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 80% 10%,
      rgba(0, 212, 255, 0.12),
      transparent 55%
    );
  filter: blur(6px);
  opacity: 0.9;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

.hero__copy {
  display: grid;
  gap: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero__art {
  justify-self: end;
  width: min(420px, 100%);
}

.hero__art .poster {
  transform: rotate(2deg);
}

/* ---- Accessibility spacing anchors ------------------------------------ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  padding: 10px 12px;
  border-radius: var(--r-1);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-strong);
  z-index: 999;
  transition: top 200ms var(--ease-cinema);
}

.skip-link:focus {
  top: 16px;
}

/* ---- Admin bar safety -------------------------------------------------- */
html body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  html body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.82);
  border-bottom-color: rgba(45, 107, 255, 0.18);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.45);
}
/* ==========================================================================
   Footer — Robust (WP menus) | Eclipse Strategy
   ========================================================================== */

.site-footer {
  margin-top: clamp(90px, 10vw, 140px);
  padding: clamp(44px, 6vw, 70px) 0 26px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

@media (max-width: 980px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.site-footer__brand {
  padding: 18px;
  overflow: hidden;
}

.site-footer__brandmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-footer__logo {
  height: 60px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.site-footer__title {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(229, 231, 235, 0.92);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1;
}

.site-footer__desc {
  margin-top: 10px;
  color: rgba(156, 163, 175, 0.78);
  line-height: 1.75;
  max-width: 56ch;
}

.site-footer__badges {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Columns */
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 26px);
}

@media (max-width: 980px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}

.site-footer__col {
  padding: 16px;
}

.site-footer__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.72);
  margin-bottom: 12px;
}

.site-footer__stack {
  display: grid;
  gap: 10px;
}

.site-footer__link {
  color: rgba(229, 231, 235, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.22);
  width: fit-content;
}

.site-footer__link:hover {
  color: rgba(0, 212, 255, 0.95);
  border-bottom-color: rgba(0, 212, 255, 0.42);
}

.site-footer__hint {
  color: rgba(156, 163, 175, 0.7);
  line-height: 1.65;
}

.site-footer__actions {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Divider */
.site-footer__divider {
  margin-top: 18px;
}

/* Bottom bar */
.site-footer__bottom {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 980px) {
  .site-footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.site-footer__bottom small {
  color: rgba(156, 163, 175, 0.7);
}

.site-footer__legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__legal a {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.72);
  text-decoration: none;
  position: relative;
}

.site-footer__legal a:hover {
  color: rgba(229, 231, 235, 0.88);
}

.site-footer__bottom-right {
  text-align: right;
}

@media (max-width: 980px) {
  .site-footer__bottom-right {
    text-align: center;
  }
}

.site-footer__bottom-right a {
  color: rgba(229, 231, 235, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.22);
}

.site-footer__bottom-right a:hover {
  color: rgba(0, 212, 255, 0.95);
  border-bottom-color: rgba(0, 212, 255, 0.42);
}
/* ==========================================================================
   Header navigation — clean text hover
   ========================================================================== */

.nav__links,
.nav__links ul {
  list-style: none;
  display: flex;
  gap: clamp(16px, 2.4vw, 26px);
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.85);
  transition: color 220ms var(--ease-cinema);
  padding: 4px 0;
}

/* hover = color only */
.nav__links a:hover {
  color: rgba(229, 231, 235, 0.95);
}

/* active/current */
.nav__links .current-menu-item > a,
.nav__links .current_page_item > a {
  color: rgba(229, 231, 235, 0.95);
}
/* ==========================================================================
   Mobile menu — underline hover (no cards)
   ========================================================================== */

.mobile-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.mobile-menu__links a {
  position: relative;
  display: inline-block;
  width: fit-content;

  text-decoration: none;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(229, 231, 235, 0.9);
  padding: 4px 0;

  transition: color 220ms var(--ease-cinema);
}

/* underline effect */
.mobile-menu__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(45, 107, 255, 0),
    rgba(45, 107, 255, 0.65),
    rgba(45, 107, 255, 0)
  );
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity 220ms var(--ease-cinema),
    transform 220ms var(--ease-cinema);
}

/* hover */
.mobile-menu__links a:hover {
  color: rgba(0, 212, 255, 0.95);
}

.mobile-menu__links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* active */
.mobile-menu__links .current-menu-item > a {
  color: rgba(0, 212, 255, 0.95);
}
/* ==========================================================================
   Footer navigation — underline hover
   ========================================================================== */

.site-footer__menu a,
.site-footer__legal a {
  position: relative;
  border: none;
  text-decoration: none;
  color: rgba(156, 163, 175, 0.78);
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
  padding: 2px 0;
  transition: color 220ms var(--ease-cinema);
}

/* underline */
.site-footer__menu a::after,
.site-footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(45, 107, 255, 0),
    rgba(45, 107, 255, 0.55),
    rgba(45, 107, 255, 0)
  );
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity 220ms var(--ease-cinema),
    transform 220ms var(--ease-cinema);
}

.site-footer__menu a:hover,
.site-footer__legal a:hover {
  color: rgba(229, 231, 235, 0.9);
}

.site-footer__menu a:hover::after,
.site-footer__legal a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer__menu,
.site-footer__legal {
  padding: 0;
  list-style-type: none; /* Removes the bullets */
}
