/* ==========================================================
   RANDOMLY VISIONARY
   HERO SECTIONS
   ========================================================== */

/* ---------------------------------------------
   Base Hero
   --------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-hero-bg-base);
  color: var(--color-text);
}

.hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;

  display: flex;
  align-items: center;
}

/* ---------------------------------------------
   Large Hero
   Front Page + Shop
   --------------------------------------------- */

.hero--large {
  height: 320px;
}

.hero--large .hero__inner {
  justify-content: center;
}

@media (min-width: 768px) {
  .hero--large {
    height: 500px;
  }
}

/* ---------------------------------------------
   Page Hero
   --------------------------------------------- */

.hero--page {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl);
}

.hero--page::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  filter: grayscale(100%);
  opacity: 0.35;

  pointer-events: none;
  z-index: 0;
}

.hero--page .hero__inner {
  position: relative;
  z-index: 1;

  justify-content: center;
  text-align: center;
}

.hero--page-title {
  margin-bottom: var(--space-xs);

  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero--page-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ---------------------------------------------
   Slider
   --------------------------------------------- */

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-inline: var(--space-md);

  opacity: 0;
  pointer-events: none;

  transition: opacity var(--transition-slow);
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide-link {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: inherit;
  text-decoration: none;
}

.hero__content {
  max-width: 680px;
}

/* ---------------------------------------------
   Hero Text
   --------------------------------------------- */

.hero__kicker {
  margin-bottom: var(--space-xs);

  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

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

.hero__title {
  margin-bottom: var(--space-sm);

  font-family: var(--font-heading);
  font-size: 2.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text);
}

/* ---------------------------------------------
   Slide Background Images
   --------------------------------------------- */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  filter: grayscale(100%);
  opacity: 0.35;

  pointer-events: none;
}
/* 1.1 hero corrections: full-bleed imagery with contained copy */
.hero--large { height: 420px; }
.hero--large .hero__inner,
.hero--large .hero__slides { width: 100%; max-width: none; }
.hero--large .hero__slide { padding-inline: 0; }
.hero--large .hero__content { width: 100%; max-width: 1200px; padding-inline: var(--space-md); text-align: center; }
.hero--front,
.hero--shop { width: 100vw; margin-left: calc(50% - 50vw); }
.hero--page { min-height: 230px; display: flex; align-items: center; }
.hero--talent { min-height: 300px; }
.talent-filter--hero { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.talent-filter--hero .talent-filter__btn { padding: .5rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: rgba(0,0,0,.25); color: var(--color-text); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.talent-filter--hero .talent-filter__btn.is-active,
.talent-filter--hero .talent-filter__btn:hover { background: var(--color-text); color: var(--color-background); }
@media (max-width: 767px) { .hero--large { height: 360px; } }

/* ==========================================================
   FINAL HERO PASS
   ========================================================== */
.hero--shop { height: 420px; }
.hero--talent { min-height: 270px; padding-bottom: 48px; overflow: visible; }
.hero--talent .hero__inner { min-height: 220px; }
.hero--talent .hero--page-content { width: 100%; }
.hero--talent .talent-filter--hero {
  position: absolute;
  left: 50%;
  bottom: -48px;
  width: 100vw;
  height: 48px;
  margin: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-inline: var(--space-md);
  background: rgba(0, 0, 0, .62);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(5px);
  z-index: 5;
}
.hero--talent .talent-filter__btn {
  position: relative;
  padding: 0 .9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d9672f;
  font-family: var(--font-heading);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.hero--talent .talent-filter__btn + .talent-filter__btn::before {
  content: "|";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,.36);
}
.hero--talent .talent-filter__btn:hover,
.hero--talent .talent-filter__btn:focus-visible,
.hero--talent .talent-filter__btn.is-active {
  background: transparent;
  color: #fff;
}

/* Store carousel: one cover forward, neighboring covers ghosted behind it. */
.hero__slide--store { padding: 0; }
.store-hero {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.store-hero__covers {
  position: relative;
  width: min(360px, 90%);
  height: 350px;
  justify-self: end;
}
.store-hero__cover {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(0,0,0,.48);
}
.store-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-hero__cover--primary {
  width: 205px;
  z-index: 3;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.store-hero__cover--primary:hover { transform: translate(-50%, -52%); }
.store-hero__cover--ghost {
  width: 175px;
  z-index: 1;
  opacity: .25;
  filter: grayscale(100%);
}
.store-hero__cover--ghost-1 { transform: translate(-96%, -50%) rotate(-7deg); }
.store-hero__cover--ghost-2 { transform: translate(-4%, -50%) rotate(7deg); }
.store-hero__copy { max-width: 520px; text-align: left; }
.store-hero__button { display: inline-flex; margin-top: var(--space-md); }

@media (max-width: 767px) {
  .hero--shop { height: 460px; }
  .store-hero { grid-template-columns: 1fr 1fr; gap: 1rem; padding-inline: var(--space-md); }
  .store-hero__covers { height: 300px; width: 100%; }
  .store-hero__cover--primary { width: 160px; }
  .store-hero__cover--ghost { width: 135px; }
  .store-hero__copy .hero__title { font-size: 1.65rem; }
  .store-hero__copy .hero__subtitle { font-size: .9rem; }
  .hero--talent .talent-filter__btn { padding-inline: .55rem; font-size: .7rem; }
}

/* ==========================================================
   1.3.0 STABILIZATION PASS
   ========================================================== */

/* Interior information pages stay intentionally compact. */
.hero--page {
  min-height: 135px;
  padding-block: .75rem;
}

.hero--page .hero__inner {
  min-height: 110px;
}

.hero--page-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

/* Talent keeps its filter rail attached to the hero edge. */
.hero--talent {
  min-height: 135px;
  padding-bottom: 44px;
}

.hero--talent .hero__inner {
  min-height: 90px;
}

.hero--talent .talent-filter--hero {
  bottom: -44px;
  height: 44px;
}

/* My Account greeting/actions belong in the hero, not in the dashboard body. */
.hero--account {
  min-height: 170px;
}

.hero--account-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  text-align: left;
}

.hero--account-greeting {
  margin: .35rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero--account-logout {
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
}

/* Rear Store covers remain colorful; opacity provides the depth cue. */
.store-hero__cover--ghost {
  opacity: .34;
  filter: none;
}

/* Light mode needs a stronger illustration layer to match dark-mode visual weight. */
[data-theme="light"] .hero--page .hero__bg--page {
  opacity: .62;
  filter: grayscale(100%) contrast(1.35) brightness(.72);
}

[data-theme="light"] .hero--page {
  background-color: var(--alabaster-grey);
}

@media (max-width: 620px) {
  .hero--account-content {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero--account {
    min-height: 195px;
  }
}

/* ==========================================================
   1.3.1 REGRESSION FIXES
   ========================================================== */
.hero--account-copy {
  min-width: 0;
}
.hero--account-kicker {
  margin: 0 0 .28rem;
  color: var(--color-ui-rust);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero--account .hero--account-greeting {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.hero--talent-single-roles {
  margin: .55rem 0 0;
  color: var(--color-ui-rust);
  font-family: var(--font-heading);
  font-size: .9rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ==========================================================
   1.4.0 VISION COMICS CORE INTEGRATION
   ========================================================== */
.hero--front .hero__slide--comic .hero__bg--comic {
  opacity: .18;
  filter: grayscale(100%) contrast(1.15);
}
.hero--front .hero__slide--comic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,4,5,.88) 0%, rgba(4,4,5,.58) 48%, rgba(4,4,5,.78) 100%);
  pointer-events: none;
  z-index: 0;
}
.front-comic-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: 2rem;
}
.front-comic-hero__cover {
  height: 78%;
  max-height: 390px;
  min-height: 260px;
  aspect-ratio: 2 / 3;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  background: #090909;
  box-shadow: 0 22px 46px rgba(0,0,0,.48);
}
.front-comic-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.front-comic-hero__cover-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--color-text-muted); font-family: var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.front-comic-hero__copy { max-width: 650px; text-align: left; }
.front-comic-hero__copy .hero__title { margin: .25rem 0 .85rem; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.05; overflow-wrap: anywhere; }
.front-comic-hero__copy .hero__subtitle { max-width: 58ch; font-size: clamp(.9rem, 1.35vw, 1.08rem); line-height: 1.55; }
.front-comic-hero__cta { display: inline-block; margin-top: 1rem; color: var(--color-ui-rust); font-family: var(--font-heading); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 720px) {
  .front-comic-hero { grid-template-columns: 34% minmax(0,1fr); gap: 1.15rem; padding-inline: 1rem; }
  .front-comic-hero__cover { width: 100%; height: auto; min-height: 0; max-height: 280px; }
  .front-comic-hero__copy .hero__title { font-size: clamp(1.25rem, 5.4vw, 2rem); letter-spacing: .07em; }
  .front-comic-hero__copy .hero__subtitle { font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
}
