/* ==========================================================
   RANDOMLY VISIONARY
   PAGE-SPECIFIC STYLES
   ========================================================== */

/* ---------------------------------------------
   Coming Soon
   --------------------------------------------- */

.coming-soon {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
}

.coming-soon__section {
  width: 100%;
  padding-block: var(--space-2xl);
  background: radial-gradient(
    circle at top,
    var(--shadow-grey-2) 0,
    var(--onyx) 55%
  );
}

.coming-soon__inner {
  max-width: 720px;
  text-align: center;
}

.coming-soon__badge {
  display: inline-block;
  margin-bottom: var(--space-md);
  padding: 0.25rem 0.75rem;

  border: 1px solid var(--charcoal);
  border-radius: var(--radius-pill);

  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coming-soon__title {
  margin-bottom: var(--space-md);

  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.coming-soon__subtitle {
  margin-bottom: var(--space-lg);

  color: var(--color-text-muted);
  font-size: 1rem;
}

.coming-soon__meta {
  color: var(--dim-grey);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coming-soon__links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

@media (max-width: 600px) {
  .coming-soon__inner {
    padding-inline: var(--space-md);
  }

  .coming-soon__title {
    letter-spacing: 0.12em;
  }
}

/* ---------------------------------------------
   Homepage Bands
   --------------------------------------------- */

.home-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: var(--color-text);
}

.home-band__inner {
  min-height: 220px;
  padding-block: var(--space-lg);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-band--tone-1 {
  background-color: var(--shadow-grey);
}

.home-band--tone-2 {
  background-color: var(--shadow-grey-2);
}

.home-band--tone-3 {
  background-color: var(--graphite);
}

.home-band__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);

  margin-bottom: var(--space-md);
}

.home-band__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-band__subtitle {
  flex: 1 1 100%;

  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.home-band__view-all {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-band__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: stretch;
  gap: var(--space-md);

  overflow-x: auto;
  padding-bottom: 4px;
}

@media (min-width: 900px) {
  .home-band__grid {
    grid-auto-flow: initial;
    overflow-x: visible;
  }
}

/* ---------------------------------------------
   Home and Talent Cards
   --------------------------------------------- */

.home-band-card,
.talent-card {
  height: 100%;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background-color: var(--shadow-grey-2);
  border: 1px solid var(--shadow-grey);
  border-radius: var(--radius-md);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.home-band-card:hover,
.talent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.home-band-card__link,
.talent-card__link {
  height: 100%;

  display: flex;
  flex-direction: column;

  color: inherit;
  text-decoration: none;
}

.home-band-card__body,
.talent-card__body {
  flex: 1 1 auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.25rem;

  padding: var(--space-sm);
  text-align: center;
}

.home-band-card__thumb,
.talent-card__thumb {
  position: relative;

  aspect-ratio: 2 / 3;
  overflow: hidden;

  background-color: var(--graphite);
}

.home-band-card__thumb img,
.talent-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-band-card__thumb-placeholder {
  width: 100%;
  height: 100%;

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

  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-band-card__title,
.talent-card__name {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 0.25rem;

  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-band-card__price,
.talent-card__roles {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ---------------------------------------------
   Talent Page
   --------------------------------------------- */

.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: stretch;
  gap: var(--space-md);
}

.talent-pagination {
  margin-top: var(--space-lg);

  font-size: 0.9rem;
  text-align: center;
}

.talent-pagination .page-numbers {
  margin: 0 0.25rem;
  text-decoration: none;
}

.talent-pagination .page-numbers.current {
  font-weight: 600;
}

.talent-pagination .page-numbers:hover {
  text-decoration: underline;
}

/* ---------------------------------------------
   Store Archive
   --------------------------------------------- */

.site-main--store {
  padding-bottom: var(--space-xl);
}

.store-nav {
  width: 100vw;
  margin-left: calc(50% - 50vw);

  background-color: var(--shadow-grey-2);
  border-bottom: 1px solid var(--shadow-grey);
}

.store-nav__inner {
  padding-block: var(--space-xs);
}

.store-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);

  margin: 0;
  padding: 0;
  list-style: none;
}

.store-nav__list > li > a {
  display: inline-flex;
  align-items: center;

  padding: 0.4rem 0.9rem;

  background-color: transparent;
  border: 1px solid var(--dim-grey);
  border-radius: var(--radius-pill);

  color: var(--color-text);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.store-nav__list > li > a:hover,
.store-nav__list > li.current-menu-item > a {
  background-color: var(--graphite);
  border-color: var(--charcoal);
}

.store-archive {
  margin-top: var(--space-lg);
}
/* ==========================================================
   Editorial / archive completion styles
   ========================================================== */
.single-entry,
.comments-area {
  max-width: 900px;
  margin-inline: auto;
}

.single-entry__featured {
  margin: 0 0 var(--space-xl);
}

.single-entry__featured img {
  display: block;
  width: 100%;
  height: auto;
}

.entry-meta {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.entry-content > * + * {
  margin-top: var(--space-md);
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.rv-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.rv-post-card {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.rv-post-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rv-post-card__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rv-post-card__body {
  padding: var(--space-md);
}

.rv-post-card__body h2 {
  margin: 0 0 var(--space-sm);
}

.comments-area {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.comment-list {
  padding-left: var(--space-lg);
}

.navigation.pagination,
.posts-navigation {
  margin-top: var(--space-xl);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 900px) {
  .rv-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .rv-post-grid { grid-template-columns: 1fr; }
}

/* 1.1 front-page product pricing */
.home-band-card__price ins,
.home-band-card__price .woocommerce-Price-amount,
.footer-product__price ins { color: #B84A00; text-decoration: none; font-weight: 700; }
.home-band-card__price del,
.footer-product__price del { color: var(--color-text-muted); opacity: .75; }
.home-band-card__price del .woocommerce-Price-amount,
.footer-product__price del .woocommerce-Price-amount { color: inherit; }

/* Fan art carousel */
.site-main--fan-art { padding-block: var(--space-xl); }
.fan-art-page-content { margin-bottom: var(--space-xl); }
.fan-art-carousel { position: relative; }
.fan-art-carousel__viewport { overflow: hidden; }
.fan-art-carousel__track { display: flex; transition: transform .45s ease; }
.fan-art-carousel__slide { flex: 0 0 100%; margin: 0; }
.fan-art-carousel__slide > a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); color: inherit; text-decoration: none; background: var(--color-surface); }
.fan-art-carousel__image { min-height: 420px; background: var(--graphite); }
.fan-art-carousel__image img { display: block; width: 100%; height: 100%; min-height: 420px; max-height: 620px; object-fit: contain; }
.fan-art-carousel__caption { padding: var(--space-xl); align-self: center; }
.fan-art-carousel__control { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 2rem; cursor: pointer; z-index: 2; }
.fan-art-carousel__control--prev { left: .75rem; }
.fan-art-carousel__control--next { right: .75rem; }
@media (max-width: 760px) { .fan-art-carousel__slide > a { grid-template-columns: 1fr; } .fan-art-carousel__image, .fan-art-carousel__image img { min-height: 300px; } }

/* ==========================================================
   FINAL HOMEPAGE: TITLE-DRIVEN EDITORIAL LAYOUT
   ========================================================== */
.title-row {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--shadow-grey-2);
  border-top: 1px solid rgba(255,255,255,.045);
}
.title-row:nth-of-type(even) { background: var(--graphite); }
.title-row__inner { padding-block: clamp(2rem, 4vw, 3.5rem); }
.title-row__header { margin-bottom: var(--space-md); }
.title-row__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.title-row__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.title-row--reverse .title-row__featured { order: 2; }
.title-row--reverse .title-row__archive { order: 1; }
.title-row__featured-link {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr);
  gap: var(--space-lg);
  padding: var(--space-md);
  color: inherit;
  text-decoration: none;
  background: rgba(0,0,0,.16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.title-row__featured-cover { aspect-ratio: 2 / 3; overflow: hidden; background: var(--shadow-grey); }
.title-row__featured-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.title-row__featured-copy { align-self: center; }
.title-row__featured-copy h3 { margin: .25rem 0 .65rem; font-family: var(--font-heading); letter-spacing: .08em; text-transform: uppercase; }
.title-row__featured-copy p { margin: 0; color: var(--color-text-muted); line-height: 1.55; }
.title-row__eyebrow { color: #d9672f; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.title-row__archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  align-content: center;
}
.title-row__issue { color: inherit; text-decoration: none; min-width: 0; }
.title-row__issue-cover { aspect-ratio: 2 / 3; overflow: hidden; background: var(--shadow-grey); border-radius: var(--radius-sm); }
.title-row__issue-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.title-row__issue:hover img { transform: scale(1.025); }
.title-row__issue span { display: block; margin-top: .45rem; font-size: .78rem; line-height: 1.3; text-align: center; }

.home-closing { width: 100vw; margin-left: calc(50% - 50vw); background: var(--shadow-grey); }
.home-closing__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); padding-block: var(--space-xl); }
.home-closing__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.home-mini-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: .75rem; align-items: center; color: inherit; text-decoration: none; min-width: 0; }
.home-mini-card__thumb { width: 76px; aspect-ratio: 2 / 3; overflow: hidden; background: var(--graphite); }
.home-mini-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-mini-card h3 { margin: 0 0 .25rem; font-family: var(--font-heading); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.home-mini-card p { margin: 0; color: var(--color-text-muted); font-size: .77rem; line-height: 1.35; }

/* Fan Art: center spotlight with faded neighboring entries. */
.site-main--fan-art { padding-block: var(--space-xl); overflow: hidden; }
.fan-art-carousel { position: relative; min-height: 650px; }
.fan-art-carousel__stage { position: relative; min-height: 650px; }
.fan-art-carousel__slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(920px, 78vw);
  min-height: 610px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(.88);
  transition: transform .42s ease, opacity .42s ease, filter .42s ease;
}
.fan-art-carousel__slide.is-active { z-index: 3; opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1); }
.fan-art-carousel__slide.is-prev { z-index: 1; opacity: .22; filter: grayscale(80%); transform: translateX(-105%) scale(.83); }
.fan-art-carousel__slide.is-next { z-index: 1; opacity: .22; filter: grayscale(80%); transform: translateX(5%) scale(.83); }
.fan-art-carousel__slide.is-far { opacity: 0; }
.fan-art-carousel__art { min-height: 610px; background: #090909; display: flex; align-items: center; justify-content: center; }
.fan-art-carousel__art img { width: 100%; height: 100%; max-height: 650px; object-fit: contain; display: block; }
.fan-art-carousel__caption { padding: clamp(1.5rem, 3vw, 2.75rem); align-self: center; }
.fan-art-carousel__caption h2 { margin: .3rem 0 1rem; font-family: var(--font-heading); letter-spacing: .08em; text-transform: uppercase; }
.fan-art-carousel__caption p { margin: .35rem 0; color: var(--color-text-muted); }
.fan-art-carousel__eyebrow { color: #d9672f; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.fan-art-carousel__social { display: inline-block; margin-top: 1rem; color: #d9672f; text-decoration: none; }
.fan-art-carousel__control { top: 48%; z-index: 5; }
.fan-art-empty { padding-block: var(--space-xl); text-align: center; color: var(--color-text-muted); }

.digital-comics-intro { padding-top: var(--space-xl); }
.rv-digital-products { padding-block: var(--space-xl); }

@media (max-width: 900px) {
  .title-row__layout, .home-closing__inner { grid-template-columns: 1fr; }
  .title-row--reverse .title-row__featured, .title-row--reverse .title-row__archive { order: initial; }
  .fan-art-carousel { min-height: 760px; }
  .fan-art-carousel__stage { min-height: 760px; }
  .fan-art-carousel__slide { width: min(680px, 88vw); min-height: 720px; grid-template-columns: 1fr; grid-template-rows: minmax(390px, 1fr) auto; }
  .fan-art-carousel__art { min-height: 390px; }
  .fan-art-carousel__slide.is-prev { transform: translateX(-96%) scale(.82); }
  .fan-art-carousel__slide.is-next { transform: translateX(-4%) scale(.82); }
}
@media (max-width: 620px) {
  .title-row__featured-link { grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-md); }
  .title-row__archive { grid-template-columns: repeat(3, minmax(90px, 1fr)); overflow-x: auto; }
  .home-closing__cards { grid-template-columns: 1fr; }
}

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

/* Homepage title bands should size to content, not to a vertically-centered blurb. */
.title-row__inner {
  padding-block: clamp(1.35rem, 2.8vw, 2.25rem);
}

.title-row__layout {
  align-items: start;
}

.title-row__featured-link {
  height: auto;
  align-items: start;
}

.title-row__featured-copy {
  align-self: start;
  padding-top: .1rem;
}

.title-row__archive {
  align-content: start;
}

/* Talent single profile: product-like two-column identity with full bio below. */
.talent-profile {
  max-width: 1100px;
  margin-inline: auto;
}

.talent-profile__overview {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.talent-profile__portrait {
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.talent-profile__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
}

.talent-profile__portrait-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.talent-profile__identity {
  padding-top: .25rem;
}

.talent-profile__identity h1 {
  margin: .2rem 0 .45rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.65rem);
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.talent-profile__eyebrow,
.talent-profile__roles {
  color: var(--color-ui-rust);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.talent-profile__real-name {
  margin: 0 0 .65rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.talent-profile__facts {
  margin: var(--space-xl) 0 0;
  border-top: 1px solid var(--color-border);
}

.talent-profile__facts > div {
  display: grid;
  grid-template-columns: minmax(100px, .35fr) minmax(0, 1fr);
  gap: var(--space-md);
  padding: .7rem 0;
  border-bottom: 1px solid var(--color-border);
}

.talent-profile__facts dt {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.talent-profile__facts dd {
  margin: 0;
}

.talent-profile__bio {
  max-width: 900px;
  margin-top: var(--space-xl);
}

.talent-profile__related {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.talent-profile__related h2 {
  font-family: var(--font-heading);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.talent-profile__issues {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: var(--space-md);
}

.talent-profile__issue {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.talent-profile__issue img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.talent-profile__issue:hover img {
  transform: scale(1.025);
}

.talent-profile__issue-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
}

@media (max-width: 760px) {
  .talent-profile__overview {
    grid-template-columns: 1fr;
  }
  .talent-profile__portrait {
    max-width: 440px;
  }
  .talent-profile__issues {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
  }
}

/* Align the archive covers with the top of the cover inside the featured card. */
@media (min-width: 901px) {
  .title-row__archive {
    padding-top: var(--space-md);
  }
}

/* 1.4.0 plugin-backed Talent/Digital presentation safeguards. */
.site-main--talent { padding-block: var(--space-xl); }
.site-main--talent .talent-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 240px)); justify-content: center; }
.site-main--talent .talent-card { width: 100%; max-width: 240px; }
.site-main--talent .talent-card__thumb { aspect-ratio: 4 / 5; }
.site-main--talent .talent-card__thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--color-text-muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.rv-digital-comics-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 240px)); justify-content: center; }
.rv-digital-comic-card { max-width: 240px; }

/* Single Comic — 1.4.1 */
.comic-single { max-width: 1120px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 4rem) 0; }
.comic-single__overview { display: grid; grid-template-columns: minmax(260px, 38%) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.comic-single__cover img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; }
.comic-single__eyebrow { color: var(--color-accent, #d9672f); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em; }
.comic-single__details h1 { margin: .35rem 0 1rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .045em; font-size: clamp(2rem, 4vw, 4.2rem); line-height: .98; }
.comic-single__facts, .comic-single__credits { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem 1.25rem; }
.comic-single__facts div, .comic-single__credits div { padding: .75rem 0; border-bottom: 1px solid var(--color-border, #3a3a40); }
.comic-single__facts span, .comic-single__credits span { display: block; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.comic-single__short { margin: 1.4rem 0; font-size: 1.08rem; line-height: 1.7; }
.comic-single__buy { display: inline-flex; margin-top: .5rem; }
.comic-single__section { margin-top: clamp(2rem, 5vw, 4.5rem); }
.comic-single__section > h2 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .08em; }
.comic-single__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.comic-single__gallery img { width: 100%; height: auto; max-height: 620px; object-fit: contain; background: #090909; }
.comic-single__gallery--preview { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.comic-single__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border, #3a3a40); }
.comic-single__nav a { text-decoration: none; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; }
.site-main--fan-art { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 760px) { .comic-single__overview { grid-template-columns: 1fr; } .comic-single__cover { max-width: 440px; margin: 0 auto; } .comic-single__facts, .comic-single__credits { grid-template-columns: 1fr; } }

/* ==========================================================
   1.4.5 LIGHT-MODE HOMEPAGE CARD CONTRAST + TITLES PAGE
   Dark editorial cards stay dark in light mode, so their titles stay light.
   ========================================================== */
[data-theme="light"] .site-main--front .title-row__featured-copy h3,
[data-theme="light"] .site-main--front .title-row__issue span,
[data-theme="light"] .site-main--front .home-band-card__title {
  color: #f4f4f4;
}

.site-main--titles .title-row:first-child {
  border-top: 0;
}

.titles-empty {
  padding-block: var(--space-xl);
  text-align: center;
  color: var(--color-text-muted);
}

/* ==========================================================
   1.4.6 LIGHT MODE CONTENT + TITLES + ARTICLES
   Header/footer remain dark; main content uses light palette.
   ========================================================== */
[data-theme="light"] .site-main--front,
[data-theme="light"] .site-main--titles,
[data-theme="light"] .site-main--talent,
[data-theme="light"] .site-main--articles,
[data-theme="light"] .site-main--series {
  background: var(--bright-snow);
  color: var(--carbon-black);
}

/* Homepage rows alternate using the same light-family values used elsewhere. */
[data-theme="light"] .site-main--front .title-row { background: var(--bright-snow); }
[data-theme="light"] .site-main--front .title-row:nth-of-type(even) { background: var(--platinum); }
[data-theme="light"] .site-main--front .title-row__featured-copy h3,
[data-theme="light"] .site-main--front .title-row__issue span,
[data-theme="light"] .site-main--front .home-band-card__title { color: var(--carbon-black); }
[data-theme="light"] .site-main--front .title-row__featured-copy p { color: var(--iron-grey); }

/* Talent cards become proper light-mode cards, matching Store card semantics. */
[data-theme="light"] .talent-card,
[data-theme="light"] .title-card,
[data-theme="light"] .article-card,
[data-theme="light"] .series-issue-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: 0 10px 26px rgba(33,37,41,.12);
}
[data-theme="light"] .talent-card__thumb,
[data-theme="light"] .title-card__thumb,
[data-theme="light"] .article-card__thumb,
[data-theme="light"] .series-issue-card .home-band-card__thumb {
  background: var(--alabaster-grey);
}

/* Titles directory: one Talent-style card per series. */
.titles-directory { padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.titles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}
.title-card { width: 100%; max-width: none; }
.title-card__thumb { aspect-ratio: 4 / 5; }
@media (min-width: 1180px) { .titles-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 820px) { .titles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .titles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); } }

/* Article archive: three landscape cards with image, excerpt and text CTA. */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
}
.article-card {
  overflow: hidden;
  background: var(--shadow-grey-2);
  border: 1px solid var(--shadow-grey);
  border-radius: var(--radius-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.article-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.article-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .12em; }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-md); }
.article-card__body h2 { margin: 0 0 .55rem; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; }
.article-card__body p { margin: 0 0 1rem; color: var(--color-text-muted); line-height: 1.5; }
.article-card__more { margin-top: auto; color: #d9672f; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.articles-pagination { grid-column: 1 / -1; }
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

/* Individual series archive. */
.series-issue-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: var(--space-lg); padding-block: clamp(1.75rem,4vw,3.5rem); }
.series-issue-grid .archive-pagination { grid-column: 1 / -1; }
@media (max-width: 900px) { .series-issue-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 560px) { .series-issue-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }


/* ==========================================================
   1.4.7 LIGHT MODE CONTRAST PASS
   Dark mode is intentionally untouched. In light mode, white and
   Platinum (#E9ECEF) trade places between bands and cards.
   ========================================================== */
[data-theme="light"] .site-main--front .title-row {
  background: var(--bright-snow);
}
[data-theme="light"] .site-main--front .title-row:nth-of-type(even) {
  background: var(--platinum);
}

/* White band -> Platinum cards. */
[data-theme="light"] .site-main--front .title-row:nth-of-type(odd) .title-row__featured-link,
[data-theme="light"] .site-main--front .title-row:nth-of-type(odd) .title-row__issue {
  background: var(--platinum);
}

/* Platinum band -> white cards. */
[data-theme="light"] .site-main--front .title-row:nth-of-type(even) .title-row__featured-link,
[data-theme="light"] .site-main--front .title-row:nth-of-type(even) .title-row__issue {
  background: var(--bright-snow);
}

[data-theme="light"] .site-main--front .title-row__issue {
  padding: .55rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
[data-theme="light"] .site-main--front .title-row__featured-link,
[data-theme="light"] .site-main--front .title-row__issue {
  color: var(--carbon-black);
}

/* The closing homepage content is main content, not part of the dark footer. */
[data-theme="light"] .site-main--front .home-closing {
  background: var(--bright-snow);
  color: var(--carbon-black);
}
[data-theme="light"] .site-main--front .home-mini-card {
  padding: .65rem;
  background: var(--platinum);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
[data-theme="light"] .site-main--front .home-band__title,
[data-theme="light"] .site-main--front .home-mini-card h3 {
  color: var(--carbon-black);
}

/* Talent cards use the same Platinum surface as homepage light-mode cards. */
[data-theme="light"] .site-main--talent .talent-card,
[data-theme="light"] .site-main--talent .talent-card__link {
  background: var(--platinum);
  color: var(--carbon-black);
}

/* Article rows alternate; their cards always use the opposite light surface. */
.articles-row { width: 100%; }
.articles-row .articles-grid { padding-block: clamp(1.75rem, 4vw, 3.5rem); }
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(odd) { background: var(--bright-snow); }
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(even) { background: var(--platinum); }
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(odd) .article-card { background: var(--platinum); }
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(even) .article-card { background: var(--bright-snow); }
[data-theme="light"] .site-main--articles .article-card {
  color: var(--carbon-black);
  border-color: var(--color-border);
}
[data-theme="light"] .site-main--articles .article-card__body h2 { color: var(--carbon-black); }
[data-theme="light"] .site-main--articles .articles-pagination {
  padding-block: var(--space-lg);
}

/* ==========================================================
   1.4.9 LIGHT MODE SURFACE PAIR CORRECTION
   Approved pair:
   Bright Snow (#F8F9FA) <-> Pale Slate (#CED4DA).
   Dark mode, Store cards, and Cart styling are intentionally untouched.
   ========================================================== */
[data-theme="light"] .site-main--front .title-row:nth-of-type(odd),
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(odd),
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(odd) {
  background: var(--bright-snow);
}
[data-theme="light"] .site-main--front .title-row:nth-of-type(even),
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(even),
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) {
  background: var(--pale-slate);
}

/* Bright Snow band -> Pale Slate cards. */
[data-theme="light"] .site-main--front .title-row:nth-of-type(odd) .title-row__featured-link,
[data-theme="light"] .site-main--front .title-row:nth-of-type(odd) .title-row__issue,
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(odd) .article-card,
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(odd) .title-card,
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(odd) .talent-card__link {
  background: var(--pale-slate);
}

/* Pale Slate band -> Bright Snow cards. */
[data-theme="light"] .site-main--front .title-row:nth-of-type(even) .title-row__featured-link,
[data-theme="light"] .site-main--front .title-row:nth-of-type(even) .title-row__issue,
[data-theme="light"] .site-main--articles .articles-row:nth-of-type(even) .article-card,
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) .title-card,
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) .talent-card__link {
  background: var(--bright-snow);
}

/* Talent uses the cart's second-row surface in light mode. */
[data-theme="light"] .site-main--talent .talent-card,
[data-theme="light"] .site-main--talent .talent-card__link {
  background: var(--pale-slate);
}

/* Homepage closing cards use the same second-row surface on Bright Snow. */
[data-theme="light"] .site-main--front .home-mini-card {
  background: var(--pale-slate);
}

/* Titles are grouped into catalog rows while retaining the 5-column directory. */
.titles-row { width: 100%; }
.titles-row .titles-grid { padding-block: clamp(1.75rem, 4vw, 3.5rem); }


/* 1.4.16 — Titles directory: two compact Series cards per band.
   Each card is three rows: landscape logo, title/issue count, three issue covers. */
.titles-band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
}
.titles-module {
  min-width: 0;
  overflow: hidden;
  background: var(--shadow-grey-2);
  border: 1px solid var(--shadow-grey);
  border-radius: var(--radius-md);
}
.titles-module__identity {
  display: block;
  color: inherit;
  text-decoration: none;
}
.titles-module__logo {
  width: 100%;
  aspect-ratio: 16 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(.65rem, 1.5vw, 1rem);
  background: var(--graphite);
}
.titles-module__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.titles-module__logo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.titles-module__meta {
  padding: .85rem 1rem .9rem;
  border-top: 1px solid var(--shadow-grey);
  border-bottom: 1px solid var(--shadow-grey);
}
.titles-module__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.titles-module__count {
  margin: .3rem 0 0;
  font-size: .9rem;
  line-height: 1.2;
  opacity: .8;
}
.titles-module__issues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  padding: .85rem;
  min-height: 190px;
}
.titles-issue-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--graphite);
  border: 1px solid var(--shadow-grey);
  border-radius: calc(var(--radius-md) - 2px);
}
.titles-issue-card__cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--graphite);
}
.titles-issue-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.titles-issue-card__title {
  padding: .55rem .6rem;
  font-family: var(--font-heading);
  font-size: .78rem;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.titles-coming-soon {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 1.5rem;
  background: var(--graphite);
  border: 1px solid var(--shadow-grey);
  border-radius: calc(var(--radius-md) - 2px);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* Preserve the approved Bright Snow / Pale Slate inverse treatment. */
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(odd) .titles-module {
  background: var(--pale-slate);
  color: var(--carbon-black);
  border-color: var(--color-border);
}
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) .titles-module {
  background: var(--bright-snow);
  color: var(--carbon-black);
  border-color: var(--color-border);
}
[data-theme="light"] .site-main--titles .titles-module__meta { border-color: var(--color-border); }
[data-theme="light"] .site-main--titles .titles-module__logo,
[data-theme="light"] .site-main--titles .titles-issue-card,
[data-theme="light"] .site-main--titles .titles-coming-soon {
  background: var(--bright-snow);
  color: var(--carbon-black);
  border-color: var(--color-border);
}
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) .titles-module__logo,
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) .titles-issue-card,
[data-theme="light"] .site-main--titles .titles-row:nth-of-type(even) .titles-coming-soon {
  background: var(--pale-slate);
}
@media (max-width: 900px) {
  .titles-band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .titles-module__logo { aspect-ratio: 16 / 6; }
  .titles-module__issues { gap: .5rem; padding: .65rem; }
  .titles-issue-card__title { font-size: .68rem; padding: .45rem; }
}


/* 1.4.18 — Titles: center the compact Series name / issue-count row only. */
.titles-module__meta,
.titles-module__name,
.titles-module__count {
  text-align: center;
}
