/* Hibipa — luxury cinematic editorial (teal / gold / violet accent variant) */

:root {
  --bg: #0a0909;
  --bg-elevated: #151113;
  --surface: #1a1517;
  --surface-2: #221a1d;
  --border: rgba(255, 255, 255, 0.078);
  --text: #f4ece8;
  --muted: #b9a8a3;
  --accent: #c94c5c;
  --accent-2: #e8953a;
  --accent-soft: rgba(201, 76, 92, 0.14);
  --gold: #c78d4a;
  --bronze-glow: rgba(231, 164, 74, 0.22);
  --crimson-glow: rgba(160, 44, 56, 0.2);
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.62);
  --radius: 16px;
  --radius-sm: 11px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --home-max: min(1440px, calc(100vw - 2.5rem));
  --home-pad-x: clamp(1.25rem, 4vw, 3rem);
  --focus: 2px solid rgba(232, 149, 58, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(980px 540px at 12% -8%, var(--crimson-glow), transparent 58%),
    radial-gradient(820px 520px at 92% 18%, var(--bronze-glow), transparent 54%),
    radial-gradient(720px 420px at 48% 108%, rgba(90, 28, 36, 0.14), transparent 52%),
    var(--bg);
  line-height: 1.68;
  font-size: 1rem;
}

body.home-body {
  width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 9, 10, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.brand span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: block;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
}

.nav-dropdown-panel a:hover {
  background: var(--surface-2);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    padding-top: 0.75rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-panel {
    position: static;
    display: none;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 1px dashed var(--border);
  }

  .nav-dropdown.open .nav-dropdown-panel {
    display: block;
  }
}

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
}

.page-hero {
  margin-bottom: 2rem;
}

.hero-feature {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: clamp(320px, 52vw, 520px);
}

.hero-feature__media {
  position: absolute;
  inset: 0;
}

.hero-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feature__media--photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-feature__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-frame--photo picture {
  display: block;
}

.poster-frame--photo img {
  width: 100%;
  height: auto;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.25rem;
}

.cast-card {
  margin: 0;
  text-align: center;
}

.cast-card__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cast-card__name {
  display: block;
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.cast-card__role {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.cast-line {
  margin-top: 0.75rem;
}

.card-media picture,
.card-media img {
  width: 100%;
  height: 100%;
}

.card-media img {
  object-fit: cover;
}

.hero-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(8, 9, 12, 0.94) 20%,
    rgba(8, 9, 12, 0.55) 55%,
    rgba(8, 9, 12, 0.25) 100%
  );
}

.hero-feature__content {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 640px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-feature h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0.75rem 0 0.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.section {
  margin: 2.75rem 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.section-head a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.section-head a:hover {
  color: #fff;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
}

.card-media {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: var(--muted);
}

.meta-line {
  color: var(--muted);
  font-size: 0.88rem;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ffd7da;
  font-weight: 600;
  font-size: 0.85rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.poster-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.poster-frame img {
  width: 100%;
}

.review-article h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.5rem;
}

.review-article .lede {
  font-size: 1.08rem;
  color: #dfe3f4;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}

.info-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.info-item dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-item dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
}

.prose {
  font-size: 1.02rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.prose ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 720px) {
  .split-panel {
    grid-template-columns: 1fr;
  }
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.ref-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ref-list li {
  margin: 0.35rem 0;
}

.ref-list a {
  color: var(--muted);
}

.ref-list a:hover {
  color: #fff;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #fff;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 2rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.footer-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin: 0.35rem 0;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.disclaimer-note {
  max-width: 720px;
}

.genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.genre-pills a {
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: var(--muted);
}

.genre-pills a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.article-list {
  display: grid;
  gap: 1rem;
}

.article-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.article-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row .copy {
  padding: 1rem 1.1rem;
}

@media (max-width: 720px) {
  .article-row {
    grid-template-columns: 1fr;
  }
}

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

.form-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.65rem 0 0.35rem;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 16, 22, 0.96);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 760px;
}

.ad-slot {
  min-height: 120px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sitemap-columns ul {
  columns: 2;
  gap: 2rem;
}

@media (max-width: 720px) {
  .sitemap-columns ul {
    columns: 1;
  }
}

/* Utility */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.stack-sm > * + * {
  margin-top: 0.65rem;
}

.text-muted {
  color: var(--muted);
}

/* Brand layout hooks — shared styling across network publications */
.hero-feature__overlay--werapo,
.hero-feature__overlay--fihoco,
.hero-feature__overlay--hibipa {
  background: linear-gradient(
    115deg,
    rgba(14, 8, 10, 0.92) 0%,
    rgba(10, 7, 8, 0.5) 44%,
    rgba(232, 149, 58, 0.07) 100%
  );
}

.site-header--werapo,
.site-header--fihoco,
.site-header--hibipa {
  background: rgba(14, 10, 11, 0.9);
  border-bottom-color: rgba(201, 76, 92, 0.15);
}

.header-inner--wide {
  max-width: var(--home-max);
  padding-left: var(--home-pad-x);
  padding-right: var(--home-pad-x);
}

/* Homepage: use full viewport width — sections manage their own max-width */
main.layout-home.layout-home--v2 {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 5rem;
  box-sizing: border-box;
}

.home-hero-tall .hero-feature__content--offset {
  padding-bottom: 2.75rem;
}

/* Legacy .home-section spacing — homepage bands use .home-band below */

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-more {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.grid-cards--balanced {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.grid-cards--tight {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.grid-cards--archive {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.card--werapo,
.card--fihoco {
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card--werapo:hover,
.card--fihoco:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.card--wide {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .card--wide {
    grid-column: span 1;
  }
}

.card--related .card-body {
  padding-bottom: 0.75rem;
}

.pull-quote {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(139, 123, 255, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.12rem;
  font-weight: 600;
}

.section--soft {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.rec-list {
  padding-left: 1.2rem;
}

.rec-list li {
  margin-bottom: 0.65rem;
}

.trailer-embed {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.trailer-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.two-col--review {
  gap: 2.25rem;
}

.layout--dense .section-head--flush h1 {
  margin-bottom: 0.35rem;
}

.feature-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.35rem;
}

.mini-article {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.mini-article h3 {
  margin: 0.35rem 0;
  font-size: 1.05rem;
}

.section--cta {
  margin-top: 3rem;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 123, 255, 0.25);
  background: linear-gradient(110deg, rgba(139, 123, 255, 0.08), rgba(56, 189, 248, 0.05));
}

.article-shell {
  max-width: 720px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}

.layout--reading {
  padding-bottom: 3rem;
}

/* —— Homepage v2: Himaso-inspired split hero + cinematic cards —— */

/* ---- Cinematic homepage (full-width hero + scaled grids) ---- */

.home-hero-cinematic {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.5rem;
  padding: clamp(2.75rem, 8vh, 5rem) 0 clamp(3rem, 10vh, 6rem);
  background:
    radial-gradient(ellipse 120% 80% at 10% 10%, rgba(160, 44, 56, 0.14), transparent 55%),
    radial-gradient(ellipse 90% 70% at 92% 42%, rgba(232, 149, 58, 0.11), transparent 48%),
    linear-gradient(185deg, rgba(18, 12, 14, 0.96) 0%, rgba(8, 7, 8, 0.78) 46%, rgba(6, 5, 6, 0.32) 100%);
  border-bottom: 1px solid rgba(255, 200, 180, 0.06);
}

.home-hero-cinematic--hibipa {
  background:
    radial-gradient(ellipse 130% 90% at 88% 18%, rgba(232, 149, 58, 0.14), transparent 58%),
    radial-gradient(ellipse 110% 85% at 8% 72%, rgba(120, 28, 38, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 108%, rgba(90, 42, 22, 0.18), transparent 52%),
    linear-gradient(195deg, rgba(14, 10, 11, 0.98) 0%, rgba(8, 6, 7, 0.85) 52%, rgba(5, 4, 5, 0.28) 100%);
  border-bottom: 1px solid rgba(201, 76, 92, 0.12);
}

.home-hero-split__shell {
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 var(--home-pad-x);
  box-sizing: border-box;
}

.home-hero-split__inner {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(340px, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.home-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 0.75rem;
}

.home-hero__eyebrow--hibipa {
  color: #f0c090;
  text-shadow: 0 0 42px rgba(232, 149, 58, 0.22);
}

.home-hero-split__copy {
  min-width: 0;
}

.home-hero__headline {
  font-family: var(--display);
  font-size: clamp(2.65rem, 6.5vw, 4.75rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.home-hero__sub {
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  color: #e8ecfb;
  margin: 0 0 1.15rem;
  max-width: 42ch;
  line-height: 1.45;
  font-weight: 500;
}

.home-hero__intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
  min-height: 48px;
}

.btn--xl {
  padding: 1rem 1.65rem;
  font-size: 1.05rem;
  min-height: 52px;
  font-weight: 700;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 200, 180, 0.1);
  background: rgba(12, 8, 9, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 200, 180, 0.05);
}

.home-hero__stats--hibipa {
  border-color: rgba(201, 76, 92, 0.22);
  background: linear-gradient(165deg, rgba(26, 14, 16, 0.55), rgba(8, 6, 7, 0.72));
}

@media (min-width: 520px) {
  .home-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-hero__stat {
  margin: 0;
}

.home-hero__stat dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.home-hero__stat dd {
  margin: 0;
}

.home-hero__stat-num {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.home-hero__stat-note {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-2);
}

.home-hero-split__visual {
  position: relative;
  min-width: 0;
  width: 100%;
}

/* Poster stack: needs explicit width — absolute-only children collapse without it */
.hero-poster-stack {
  position: relative;
  width: 100%;
  min-width: min(100%, 360px);
  min-height: clamp(440px, 58vh, 720px);
  aspect-ratio: unset;
  isolation: isolate;
}

.hero-poster {
  position: absolute;
  width: min(72%, 400px);
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.62));
}

.hero-poster__link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c0f18;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-poster__img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-poster--layer0 {
  left: 6%;
  top: 8%;
  transform: rotate(-7deg) translateZ(0);
  z-index: 5;
}

.hero-poster--layer1 {
  left: 28%;
  top: 18%;
  transform: rotate(4deg) scale(0.96);
  z-index: 4;
  opacity: 0.96;
}

.hero-poster--layer2 {
  right: 18%;
  top: 6%;
  transform: rotate(9deg) scale(0.92);
  z-index: 3;
  opacity: 0.92;
}

.hero-poster--layer3 {
  right: 4%;
  bottom: 6%;
  transform: rotate(-5deg) scale(0.88);
  z-index: 2;
  opacity: 0.88;
}

.hero-poster-stack:hover .hero-poster--layer0 {
  transform: rotate(-5deg) translateY(-6px);
}

.hero-poster-stack:hover .hero-poster--layer1 {
  transform: rotate(3deg) scale(0.97) translateY(-4px);
}

.hero-float-card {
  position: absolute;
  right: -2%;
  bottom: 6%;
  z-index: 8;
  max-width: min(340px, 92%);
  padding: 1.25rem 1.35rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(145deg, rgba(21, 26, 42, 0.94), rgba(12, 14, 22, 0.92));
  border: 1px solid rgba(139, 123, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hero-float-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
}

.hero-float-card__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-float-card__title {
  font-weight: 700;
  font-size: 1.15rem;
}

.hero-float-card__quote {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-float-card__score {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.hero-float-card__cta {
  font-size: 0.88rem;
  color: #fff;
  margin-top: 0.25rem;
}

.home-section.home-band {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--home-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--home-pad-x);
  padding-right: var(--home-pad-x);
}

.home-band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-band .section-head--split h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.15;
}

.home-band .section-sub {
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.home-band--genre {
  background: rgba(255, 255, 255, 0.02);
  padding-bottom: 1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-grid {
  display: grid;
  gap: 1.35rem;
}

.home-grid--rail {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
}

.home-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.home-grid--strip-scroll {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-grid--strip-scroll > * {
  flex: 0 0 min(292px, 85vw);
  scroll-snap-align: start;
}

.home-grid--picks {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
}

.home-grid--streaming {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
}

.home-grid--gems {
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .home-grid--gems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-grid--gems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.genre-discovery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .genre-discovery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.genre-discovery__label {
  font-size: 1.05rem;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.genre-discovery__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-rec-banner {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--home-max);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 1rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--home-pad-x);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(201, 76, 92, 0.28);
  background: linear-gradient(125deg, rgba(120, 36, 44, 0.18), rgba(12, 9, 10, 0.94));
}

.home-rec-banner__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 28% 42%, rgba(232, 149, 58, 0.14), transparent 46%);
  pointer-events: none;
}

.home-rec-banner--hibipa .home-rec-banner__glow--hibipa {
  background: radial-gradient(circle at 70% 30%, rgba(160, 44, 56, 0.16), transparent 48%);
}

.home-rec-banner__inner {
  position: relative;
  z-index: 1;
}

.home-rec-banner__intro {
  margin-bottom: 1.25rem;
}

.home-rec-banner__intro h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-rec-banner__intro p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.home-grid--rec-wide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.35rem;
}

.home-trust {
  margin-top: 2.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--home-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--home-pad-x);
  padding-right: var(--home-pad-x);
}

.feature-article-grid--home {
  gap: 1.35rem;
}

.home-band--articles .feature-article-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.home-band--articles .mini-article--rich h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.mini-article--rich {
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini-article--rich:hover {
  border-color: rgba(139, 123, 255, 0.28);
  transform: translateY(-2px);
}

.layout--movies-archive .archive-head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.archive-head__lede {
  max-width: 52ch;
  font-size: 1.05rem;
}

.home-grid--archive {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
}

.home-grid--genre-page {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

/* Cinematic cards */
.card--cinema {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(40, 22, 28, 0.55), rgba(8, 6, 7, 0.98));
  border: 1px solid rgba(255, 220, 200, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card--cinema:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(232, 149, 58, 0.12);
  border-color: rgba(201, 76, 92, 0.38);
}

.card--cinema__media {
  display: block;
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.card--cinema__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(16, 8, 10, 0.94));
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.card--cinema:hover .card--cinema__media::after {
  opacity: 0.95;
}

.card--cinema__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.card--cinema:hover .card--cinema__img {
  transform: scale(1.07);
}

.card--cinema__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1.25rem 1.35rem;
  z-index: 2;
}

.card--cinema__eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

.card--cinema__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.22;
  font-weight: 700;
}

.card--cinema__title a {
  text-decoration: none;
  color: #fff;
}

.card--cinema__title a:hover {
  color: var(--accent-2);
}

.card--cinema__meta {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(232, 236, 255, 0.78);
}

.card--cinema__score {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(201, 176, 55, 0.12);
  border: 1px solid rgba(201, 176, 55, 0.35);
}

.card--cinema-featured .card--cinema__media {
  aspect-ratio: 2 / 3;
}

.card--cinema-rail .card--cinema__media {
  aspect-ratio: 2 / 3.1;
}

.card--cinema-strip .card--cinema__media {
  aspect-ratio: 16 / 10;
}

.card--cinema-gem .card--cinema__media {
  aspect-ratio: 21 / 11;
}

.card--cinema-stream .card--cinema__media {
  aspect-ratio: 2 / 2.85;
}

@media (max-width: 1024px) {
  .home-hero-split__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-hero-split__visual {
    order: -1;
    min-height: 420px;
  }

  .hero-poster-stack {
    min-height: clamp(400px, 68vw, 560px);
  }

  .hero-float-card {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4%;
    max-width: min(360px, 94vw);
  }

  .hero-float-card:hover {
    transform: translateX(-50%) translateY(-4px);
  }

  .hero-poster {
    width: min(52%, 240px);
  }

  .hero-poster--layer0 {
    left: 4%;
  }

  .hero-poster--layer3 {
    right: 2%;
  }

  .home-hero__headline {
    max-width: none;
  }
}

@media (min-width: 1600px) {
  :root {
    --home-max: min(1520px, calc(100vw - 4rem));
  }

  .hero-poster {
    width: min(68%, 440px);
  }
}

/* —— Hibipa: theatrical hero arc + spotlight rail —— */

.hero-stage-halo {
  position: absolute;
  inset: -12% -8%;
  background:
    radial-gradient(ellipse 70% 60% at 55% 45%, rgba(232, 149, 58, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 50% at 30% 70%, rgba(160, 44, 56, 0.14), transparent 58%);
  pointer-events: none;
  z-index: 0;
  filter: blur(0px);
}

.hero-stage-vignette {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 7;
}

.home-hero-split__visual--hibipa {
  padding: 0.5rem 0;
}

.hero-poster-stack--hibipa {
  position: relative;
  z-index: 1;
  min-height: clamp(460px, 60vh, 740px);
}

.hero-poster--hibipa {
  width: min(70%, 392px);
  filter: drop-shadow(0 36px 52px rgba(0, 0, 0, 0.68)) drop-shadow(0 0 28px rgba(160, 44, 56, 0.12));
}

.hero-poster__link--hibipa {
  border-color: rgba(255, 200, 180, 0.16);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 149, 58, 0.06);
}

.hero-poster--hibipa-0 {
  left: 2%;
  top: 6%;
  transform: rotate(-10deg);
  z-index: 6;
}

.hero-poster--hibipa-1 {
  left: 22%;
  top: 26%;
  transform: rotate(5deg) scale(0.95);
  z-index: 5;
  opacity: 0.96;
}

.hero-poster--hibipa-2 {
  right: 14%;
  top: 4%;
  transform: rotate(11deg) scale(0.92);
  z-index: 4;
  opacity: 0.93;
}

.hero-poster--hibipa-3 {
  left: 34%;
  bottom: 4%;
  top: auto;
  transform: rotate(-5deg) scale(0.89);
  z-index: 3;
  opacity: 0.9;
}

.hero-poster--hibipa-4 {
  right: 2%;
  bottom: 10%;
  top: auto;
  transform: rotate(8deg) scale(0.86);
  z-index: 2;
  opacity: 0.88;
}

.hero-poster-stack--hibipa:hover .hero-poster--hibipa-0 {
  transform: rotate(-7deg) translateY(-8px);
}

.hero-poster-stack--hibipa:hover .hero-poster--hibipa-2 {
  transform: rotate(9deg) scale(0.93) translateY(-5px);
}

.hero-float-card--hibipa {
  left: -3%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  max-width: min(320px, 92%);
  padding: 1.35rem 1.45rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(155deg, rgba(36, 18, 22, 0.96), rgba(10, 7, 8, 0.94));
  border: 1px solid rgba(232, 149, 58, 0.28);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.62),
    0 0 40px rgba(160, 44, 56, 0.14);
}

.hero-float-card--hibipa:hover {
  transform: translateY(-50%) translateY(-5px);
  border-color: rgba(201, 76, 92, 0.45);
}

.hero-float-card__ribbon {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0;
  background: linear-gradient(90deg, rgba(160, 44, 56, 0.9), rgba(232, 149, 58, 0.95), rgba(199, 141, 74, 0.85));
}

.hero-float-card__kicker--hibipa {
  color: #f0c090;
}

.btn--hibipa-primary {
  background: linear-gradient(135deg, #b83c4d 0%, #8f2434 100%);
  border: 1px solid rgba(255, 200, 180, 0.18);
  box-shadow: 0 14px 36px rgba(88, 18, 28, 0.35);
}

.btn--hibipa-primary:hover {
  filter: brightness(1.06);
}

.btn--hibipa-ghost {
  border-color: rgba(232, 149, 58, 0.35);
  color: #fde9d8;
}

.btn--hibipa-ghost:hover {
  border-color: rgba(255, 210, 180, 0.55);
  background: rgba(232, 149, 58, 0.06);
}

@media (max-width: 1024px) {
  .hero-float-card--hibipa {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 5%;
    transform: translateX(-50%);
    max-width: min(360px, 94vw);
  }

  .hero-float-card--hibipa:hover {
    transform: translateX(-50%) translateY(-4px);
  }

  .hero-poster--hibipa {
    width: min(56%, 260px);
  }

  .hero-poster--hibipa-3,
  .hero-poster--hibipa-4 {
    opacity: 0.82;
  }
}

/* Dynamic homepage shell */
.hibipa-home-root {
  min-height: 70vh;
}
.hibipa-home-root.is-ready {
  min-height: 0;
}
.home-body--hibipa {
  --hibipa-ambient: rgba(94, 234, 212, 0.08);
}
