/* art-chamber.css — Collector chamber art detail page (Phase 1 structure + Phase 2 visual system) */

/* --------------------------------------------------------------------------
   Design tokens (base; worlds override accents below)
--------------------------------------------------------------------------- */
body.page-art-chamber {
  --ac-line: rgba(207, 230, 255, 0.12);
  --ac-line-bright: rgba(120, 190, 255, 0.28);
  --ac-text: rgba(230, 238, 248, 0.94);
  --ac-muted: rgba(180, 198, 218, 0.62);
  --ac-panel: rgba(6, 9, 14, 0.52);
  --ac-glass: rgba(12, 16, 22, 0.45);
  --ac-hero-scrim: rgba(4, 6, 10, 0.45);
  --ac-accent: rgba(120, 190, 255, 0.85);
  --ac-accent-dim: rgba(120, 190, 255, 0.35);
  /* 100% avoids 100vw + vertical-scrollbar horizontal overflow on narrow viewports */
  --ac-max: min(1760px, calc(100% - clamp(28px, 6vw, 100px)));
  --ac-max-hero: min(1920px, calc(100% - clamp(24px, 5vw, 80px)));
  --ac-pad-x: clamp(20px, 4.5vw, 72px);
  --ac-radius-panel: 3px;
  --ac-radius-fig: 4px;
}

/* No overflow-x: hidden here — it forces overflow-y: auto in CSS and creates a second scrollbar
   on <main> while the document also scrolls. Atmosphere bleed is clipped by .art-chamber__bg. */
body.page-art-chamber .art-chamber {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  color: var(--ac-text);
  background: #05070b;
  min-height: 100vh;
  /* Flex item: allow shrinking so inner grids don’t force horizontal page scroll */
  min-width: 0;
  max-width: 100%;
  /* Sticky nav (~72–80px) + small buffer — hero min-height uses this for fold-centered layout */
  --ac-hero-viewport-offset: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.25rem));
}

@supports not (overflow: clip) {
  body.page-art-chamber .art-chamber {
    overflow-x: visible;
    overflow-y: visible;
  }
}

/* --------------------------------------------------------------------------
   World identity — accent / tint tokens (atmospheric, not loud)
--------------------------------------------------------------------------- */
body.page-art-chamber.world-wasteland {
  --ac-accent: rgba(255, 140, 72, 0.9);
  --ac-accent-dim: rgba(255, 120, 60, 0.35);
  --ac-line-bright: rgba(255, 160, 96, 0.32);
}

body.page-art-chamber.world-horror {
  --ac-accent: rgba(180, 96, 255, 0.75);
  --ac-accent-dim: rgba(160, 80, 220, 0.32);
  --ac-line-bright: rgba(200, 120, 255, 0.28);
}

body.page-art-chamber.world-fantasy {
  --ac-accent: rgba(130, 200, 255, 0.88);
  --ac-accent-dim: rgba(100, 170, 240, 0.38);
  --ac-line-bright: rgba(140, 200, 255, 0.3);
}

body.page-art-chamber.world-abstract {
  --ac-accent: rgba(140, 180, 220, 0.9);
  --ac-accent-dim: rgba(100, 150, 210, 0.35);
  --ac-line-bright: rgba(160, 190, 230, 0.28);
}

body.page-art-chamber.world-mythic,
body.page-art-chamber.world-titans {
  --ac-accent: rgba(220, 160, 96, 0.88);
  --ac-accent-dim: rgba(200, 130, 70, 0.38);
  --ac-line-bright: rgba(230, 170, 110, 0.3);
}

body.page-art-chamber.world-void {
  --ac-accent: rgba(96, 200, 220, 0.82);
  --ac-accent-dim: rgba(60, 180, 200, 0.35);
  --ac-line-bright: rgba(100, 210, 230, 0.28);
}

body.page-art-chamber.world-ink {
  --ac-accent: rgba(230, 230, 240, 0.88);
  --ac-accent-dim: rgba(200, 200, 215, 0.3);
  --ac-line-bright: rgba(220, 220, 235, 0.26);
}

/* --------------------------------------------------------------------------
   Background system (atmosphere image + scrim + world tint + subtle grain)
--------------------------------------------------------------------------- */
/* Viewport-sized only: inset ties to the layout viewport without 100vw scrollbar bleed. */
body.page-art-chamber .art-chamber__bg {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.page-art-chamber .art-chamber__bg-media {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #06080d;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__bg-media picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.page-art-chamber .art-chamber__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Same idea as background-size: cover; background-repeat: no-repeat */
  filter: none;
  opacity: 0.48;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

@media (max-width: 768px) {
  body.page-art-chamber .art-chamber__bg-img {
    filter: none;
    opacity: 0.44;
  }
}

body.page-art-chamber .art-chamber__bg-scrim {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(3, 5, 9, 0.92) 0%, rgba(5, 8, 14, 0.72) 28%, rgba(5, 8, 14, 0.55) 55%, rgba(4, 6, 10, 0.88) 100%),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0, 0, 0, 0.5), transparent 55%);
  will-change: opacity;
}

body.page-art-chamber .art-chamber__bg-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.55;
  will-change: opacity;
}

/* World-specific atmospheric tint (non-literal; supports readability) */
body.page-art-chamber.world-wasteland .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 100% 80% at 70% 20%, rgba(255, 90, 30, 0.2), transparent 55%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(40, 30, 25, 0.5), transparent 50%);
}

body.page-art-chamber.world-horror .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 90% 70% at 80% 60%, rgba(120, 40, 200, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 50% at 10% 30%, rgba(0, 0, 0, 0.45), transparent 55%),
    linear-gradient(165deg, rgba(5, 8, 18, 0.6), rgba(8, 6, 14, 0.75));
}

body.page-art-chamber.world-fantasy .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 100% 90% at 50% 0%, rgba(80, 120, 200, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(20, 35, 60, 0.45), transparent 50%);
}

body.page-art-chamber.world-abstract .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(60, 100, 160, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 90% 90%, rgba(10, 14, 28, 0.55), transparent 50%);
}

body.page-art-chamber.world-mythic .art-chamber__bg-tint,
body.page-art-chamber.world-titans .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 100% 70% at 50% 15%, rgba(200, 120, 50, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(30, 20, 15, 0.45), transparent 50%);
}

body.page-art-chamber.world-void .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 90% 80% at 40% 30%, rgba(40, 140, 180, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(4, 10, 18, 0.65), rgba(6, 8, 14, 0.85));
}

body.page-art-chamber.world-ink .art-chamber__bg-tint {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 0, 0, 0.55), transparent 50%),
    linear-gradient(135deg, rgba(12, 12, 16, 0.5), rgba(6, 6, 10, 0.7));
}

body.page-art-chamber .art-chamber__bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(
    -12deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
}

body.page-art-chamber .art-chamber__hero,
body.page-art-chamber .art-chamber__section,
body.page-art-chamber .art-chamber__sequence {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Layout shell
--------------------------------------------------------------------------- */
body.page-art-chamber .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-art-chamber .art-chamber__inner {
  width: 100%;
  max-width: var(--ac-max);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ac-pad-x);
  padding-right: var(--ac-pad-x);
  box-sizing: border-box;
}

body.page-art-chamber .art-chamber__inner--hero {
  position: relative;
  z-index: 1;
  max-width: var(--ac-max-hero);
  padding-top: 0;
}

body.page-art-chamber .art-chamber__inner--narrow {
  max-width: 40rem;
  padding-top: clamp(48px, 10vh, 120px);
  padding-bottom: clamp(48px, 10vh, 120px);
}

body.page-art-chamber .art-chamber__inner--sequence {
  max-width: var(--ac-max-hero);
}

/* --------------------------------------------------------------------------
   Hero — acquisition chamber
--------------------------------------------------------------------------- */
body.page-art-chamber .art-chamber__hero {
  position: relative;
  overflow: hidden;
  min-height: min(calc(100dvh - var(--ac-hero-viewport-offset)), 1480px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(20px, 3.5vh, 52px);
  padding-bottom: clamp(20px, 3.5vh, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

/* Blurred artwork fills the hero — atmospheric bed behind grid (decorative duplicate of hero image). */
body.page-art-chamber .art-chamber__hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__hero-atmosphere-media {
  position: absolute;
  inset: -8%;
  overflow: hidden;
}

body.page-art-chamber .art-chamber__hero-atmosphere-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Slightly less blur + higher brightness/opacity so the piece reads clearly in the wash */
  filter: blur(28px) saturate(1.28) brightness(0.78) contrast(1.05);
  transform: scale(1.05);
  opacity: 0.98;
  transform-origin: 50% 45%;
}

body.page-art-chamber .art-chamber__hero-atmosphere-scrim {
  position: absolute;
  inset: 0;
  /* Lighter scrim so blurred color and form stay visible; still anchors text contrast on the right */
  background:
    linear-gradient(
      105deg,
      rgba(3, 5, 10, 0.58) 0%,
      rgba(5, 7, 12, 0.28) 42%,
      rgba(4, 6, 11, 0.4) 100%
    ),
    radial-gradient(ellipse 90% 80% at 68% 42%, transparent 0%, rgba(2, 4, 9, 0.28) 100%);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.28);
}

/* Wide hero art: keep viewport height so flex centering reads; slightly shorter min on very wide pieces */
@media (min-width: 961px) {
  body.page-art-chamber main.art-chamber[data-aspect-bucket="panorama"] .art-chamber__hero,
  body.page-art-chamber main.art-chamber[data-aspect-bucket="landscape"] .art-chamber__hero {
    min-height: min(calc(92dvh - var(--ac-hero-viewport-offset)), 1320px);
    padding-top: clamp(16px, 3vh, 44px);
    padding-bottom: clamp(16px, 3vh, 44px);
  }

  body.page-art-chamber main.art-chamber[data-aspect-bucket="square"] .art-chamber__hero {
    min-height: min(calc(82dvh - var(--ac-hero-viewport-offset)), 1040px);
    padding-top: clamp(16px, 3vh, 44px);
    padding-bottom: clamp(16px, 3vh, 44px);
  }
}

body.page-art-chamber .art-chamber__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 0.78fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1400px) {
  body.page-art-chamber .art-chamber__hero-grid {
    grid-template-columns: minmax(0, 1.82fr) minmax(0, 0.72fr);
    gap: clamp(40px, 4.5vw, 100px);
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 1.2fr);
    gap: clamp(16px, 2.4vw, 40px);
  }
}

/* Portrait / tall hero: wider meta track; columns vertically centered as a pair */
@media (min-width: 961px) {
  body.page-art-chamber .art-chamber__hero-grid--vertical-hero {
    align-items: center;
    align-content: center;
    gap: clamp(14px, 2.2vw, 32px);
    /* Give the title column more share so it fills horizontal space next to tall art */
    grid-template-columns: minmax(0, 1.02fr) minmax(min(34vw, 480px), 1.18fr);
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    align-self: center;
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__meta {
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__meta-surface {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
    padding: clamp(28px, 3.6vw, 52px);
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__dl--inline .art-chamber__dl-row {
    grid-template-columns: minmax(0, 168px) 1fr;
    gap: 0.5rem 1.5rem;
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__acquisition-block {
    margin-top: 0;
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__back {
    margin-top: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ≤1800px: image first, title block below, full-width columns (ultrawide keeps side-by-side above 1800px) */
@media (max-width: 1800px) {
  body.page-art-chamber .art-chamber__hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(16px, 3vh, 40px);
    padding-bottom: clamp(32px, 6vh, 72px);
  }

  body.page-art-chamber .art-chamber__hero-grid,
  body.page-art-chamber .art-chamber__hero-grid--vertical-hero {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 36px);
    align-items: stretch;
    width: 100%;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__media,
  body.page-art-chamber .art-chamber__hero .art-chamber__meta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__media-stage {
    width: 100%;
    max-width: 100%;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure[class*="art-chamber__figure--aspect-"] {
    width: 100%;
    max-width: 100%;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-panorama,
  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-landscape {
    --ac-aspect-fig-max: 100%;
    --ac-aspect-wrap-max: 100%;
  }

  /* Square 1:1 — cap width on stacked hero so the piece does not span the full content column */
  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-square {
    --ac-aspect-fig-max: min(100%, 720px);
    --ac-aspect-wrap-max: min(100%, 720px);
    --ac-aspect-img-max-h: min(82dvh, 720px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-portrait,
  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-tall {
    --ac-aspect-fig-width: 100%;
    --ac-aspect-wrap-width: 100%;
    --ac-aspect-fig-max: 100%;
    --ac-aspect-wrap-max: 100%;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-portrait .art-chamber__img,
  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-tall .art-chamber__img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: min(72dvh, 620px);
  }

  body.page-art-chamber .art-chamber__title-clip {
    overflow: visible;
    max-width: 100%;
  }

  body.page-art-chamber .art-chamber__title {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__dl--inline .art-chamber__dl-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__meta-surface {
    min-height: 0;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__tier-badge {
    flex-wrap: wrap;
  }
}

/* Side-by-side hero only (>1800px): emphasize art; compact glass panel; title must not clip */
@media (min-width: 1801px) {
  body.page-art-chamber .art-chamber__inner--hero {
    max-width: min(2240px, calc(100% - clamp(24px, 3.5vw, 80px)));
  }

  body.page-art-chamber .art-chamber__hero-grid:not(.art-chamber__hero-grid--vertical-hero) {
    grid-template-columns: minmax(0, 1.78fr) minmax(280px, 0.62fr);
    gap: clamp(40px, 3.6vw, 100px);
  }

  /* Square art is width-capped — give the glass panel / title more horizontal room */
  body.page-art-chamber main.art-chamber[data-aspect-bucket="square"] .art-chamber__hero-grid:not(.art-chamber__hero-grid--vertical-hero) {
    grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.98fr);
    gap: clamp(36px, 3.2vw, 92px);
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.92fr);
    gap: clamp(24px, 2.4vw, 44px);
  }

  body.page-art-chamber .art-chamber__hero-grid--vertical-hero .art-chamber__dl--inline .art-chamber__dl-row {
    grid-template-columns: minmax(0, 148px) 1fr;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__meta-surface {
    padding: clamp(22px, 2.4vw, 44px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__title-clip {
    overflow: visible;
    padding-bottom: 0.14em;
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__title {
    line-height: 1.14;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    font-size: clamp(2.05rem, 2.45vw, 3.85rem);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-panorama {
    --ac-aspect-fig-max: min(100%, 1880px);
    --ac-aspect-img-max-h: min(93vh, 1180px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-landscape {
    --ac-aspect-fig-max: min(100%, 1720px);
    --ac-aspect-img-max-h: min(93vh, 1320px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-square {
    --ac-aspect-fig-max: min(100%, 980px);
    --ac-aspect-img-max-h: min(88vh, 980px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-portrait {
    --ac-aspect-fig-max: min(100%, 1160px);
    --ac-aspect-wrap-max: min(100%, 1120px);
    --ac-aspect-img-max-h: min(95vh, 1620px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-tall {
    --ac-aspect-fig-max: min(100%, 920px);
    --ac-aspect-wrap-max: min(100%, 880px);
    --ac-aspect-img-max-h: min(95vh, 1620px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-portrait .art-chamber__img,
  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-tall .art-chamber__img {
    max-width: min(100%, 1160px);
    height: min(95vh, 1620px);
  }
}

body.page-art-chamber .art-chamber__media-stage {
  display: block;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Staged artwork */
body.page-art-chamber .art-chamber__figure {
  position: relative;
  margin: 0;
  padding: clamp(18px, 1.8vw, 28px);
  border-radius: var(--ac-radius-fig);
  isolation: isolate;
  background:
    linear-gradient(155deg, rgba(22, 26, 34, 0.95) 0%, rgba(8, 10, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -20px 50px rgba(0, 0, 0, 0.25);
}

body.page-art-chamber .art-chamber__figure::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--ac-radius-fig) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 1;
}

body.page-art-chamber .art-chamber__figure::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 42%, transparent 58%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Hero aspect buckets — width÷height thresholds: ≥1.6 panorama, >1.08 landscape, 0.92–1.08 square, 0.62–0.91 portrait, <0.62 tall */
body.page-art-chamber .art-chamber__figure[class*="art-chamber__figure--aspect-"] {
  margin-left: auto;
  margin-right: auto;
  width: var(--ac-aspect-fig-width, 100%);
  max-width: var(--ac-aspect-fig-max);
}

body.page-art-chamber .art-chamber__figure[class*="art-chamber__figure--aspect-"] .art-chamber__img-wrap {
  width: var(--ac-aspect-wrap-width, 100%);
  max-width: var(--ac-aspect-wrap-max, 100%);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.page-art-chamber .art-chamber__figure[class*="art-chamber__figure--aspect-"] .art-chamber__img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--ac-aspect-img-max-h);
  object-fit: contain;
  vertical-align: middle;
}

body.page-art-chamber .art-chamber__figure--aspect-panorama {
  --ac-aspect-fig-width: 100%;
  --ac-aspect-fig-max: min(100%, 1540px);
  --ac-aspect-wrap-width: 100%;
  --ac-aspect-wrap-max: 100%;
  --ac-aspect-img-max-h: min(95vh, 980px);
}

body.page-art-chamber .art-chamber__figure--aspect-landscape {
  --ac-aspect-fig-width: 100%;
  --ac-aspect-fig-max: min(100%, 1380px);
  --ac-aspect-wrap-width: 100%;
  --ac-aspect-wrap-max: 100%;
  --ac-aspect-img-max-h: min(95vh, 1100px);
}

body.page-art-chamber .art-chamber__figure--aspect-square {
  --ac-aspect-fig-width: 100%;
  --ac-aspect-fig-max: min(100%, 980px);
  --ac-aspect-wrap-width: 100%;
  --ac-aspect-wrap-max: 100%;
  --ac-aspect-img-max-h: min(90vh, 980px);
}

body.page-art-chamber .art-chamber__figure--aspect-portrait {
  --ac-aspect-fig-width: fit-content;
  /* Wide enough that portrait art can reach ~95vh (width ≈ height × ratio) */
  --ac-aspect-fig-max: min(100%, 960px);
  --ac-aspect-wrap-width: fit-content;
  --ac-aspect-wrap-max: min(100%, 940px);
  --ac-aspect-img-max-h: min(95vh, 1400px);
}

body.page-art-chamber .art-chamber__figure--aspect-tall {
  --ac-aspect-fig-width: fit-content;
  --ac-aspect-fig-max: min(100%, 760px);
  --ac-aspect-wrap-width: fit-content;
  --ac-aspect-wrap-max: min(100%, 720px);
  --ac-aspect-img-max-h: min(95vh, 1400px);
}

/* Height-first: drive size from ~95vh */
body.page-art-chamber .art-chamber__figure--aspect-portrait .art-chamber__img,
body.page-art-chamber .art-chamber__figure--aspect-tall .art-chamber__img {
  max-height: none;
  height: min(95vh, 1400px);
  width: auto;
  max-width: min(100%, 960px);
  object-fit: contain;
}

@media (max-width: 768px) {
  body.page-art-chamber .art-chamber__figure--aspect-panorama {
    --ac-aspect-img-max-h: min(95dvh, 520px);
  }

  body.page-art-chamber .art-chamber__figure--aspect-landscape {
    --ac-aspect-img-max-h: min(95dvh, 640px);
  }

  body.page-art-chamber .art-chamber__figure--aspect-square {
    --ac-aspect-fig-max: min(100%, 580px);
    --ac-aspect-wrap-max: min(100%, 580px);
    --ac-aspect-img-max-h: min(76dvh, 580px);
  }

  body.page-art-chamber .art-chamber__hero .art-chamber__figure--aspect-square {
    --ac-aspect-fig-max: min(100%, 580px);
    --ac-aspect-wrap-max: min(100%, 580px);
    --ac-aspect-img-max-h: min(76dvh, 580px);
  }

  body.page-art-chamber .art-chamber__figure--aspect-portrait {
    --ac-aspect-fig-max: min(100%, 540px);
    --ac-aspect-wrap-max: min(100%, 520px);
    --ac-aspect-img-max-h: min(95dvh, min(1280px, 92vh));
  }

  body.page-art-chamber .art-chamber__figure--aspect-tall {
    --ac-aspect-fig-max: min(100%, 500px);
    --ac-aspect-wrap-max: min(100%, 480px);
    --ac-aspect-img-max-h: min(95dvh, min(1280px, 92vh));
  }

  body.page-art-chamber .art-chamber__figure--aspect-portrait .art-chamber__img,
  body.page-art-chamber .art-chamber__figure--aspect-tall .art-chamber__img {
    height: min(95dvh, min(1280px, 92vh));
    max-width: min(100%, 540px);
  }
}

body.page-art-chamber .art-chamber__figure-back {
  display: none;
}

body.page-art-chamber .art-chamber__img-wrap {
  position: relative;
  z-index: 2;
  max-width: 100%;
  border-radius: calc(var(--ac-radius-fig) - 4px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body.page-art-chamber .art-chamber__img-accent {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 32px var(--ac-accent-dim);
  opacity: 0;
}

body.page-art-chamber .art-chamber__img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  z-index: 2;
}

body.page-art-chamber .art-chamber__figure-mark {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  width: clamp(112px, 14vw, 160px);
  opacity: 0.62;
  pointer-events: none;
  z-index: 3;
}

body.page-art-chamber.art-chamber-motion .art-chamber__figure-mark {
  will-change: transform, opacity;
}

body.page-art-chamber .art-chamber__figure-mark img {
  display: block;
  width: 100%;
  height: auto;
}

/* Meta column — glass / blueprint surface */
body.page-art-chamber .art-chamber__meta-surface {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: var(--ac-radius-panel);
  background: linear-gradient(165deg, var(--ac-glass), rgba(4, 6, 10, 0.35));
  border: 1px solid var(--ac-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

body.page-art-chamber .art-chamber__meta-shimmer {
  position: absolute;
  top: -40%;
  left: -35%;
  width: 48%;
  height: 160%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 42%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 58%,
    transparent 100%
  );
}

body.page-art-chamber .art-chamber__meta-surface > :not(.art-chamber__meta-shimmer) {
  position: relative;
  z-index: 1;
}

body.page-art-chamber .art-chamber__meta-surface::before,
body.page-art-chamber .art-chamber__meta-surface::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  border-color: var(--ac-line-bright);
  opacity: 0.65;
}

body.page-art-chamber .art-chamber__meta-surface::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
  z-index: 3;
}

body.page-art-chamber .art-chamber__meta-surface::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid;
  border-right: 1px solid;
  z-index: 3;
}

body.page-art-chamber .art-chamber__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__world-label {
  color: var(--ac-accent);
}

body.page-art-chamber .art-chamber__title-clip {
  overflow: hidden;
  margin: 0 0 1rem;
  padding-bottom: 0.06em;
}

body.page-art-chamber .art-chamber__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.8vw, 3.65rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.page-art-chamber .art-chamber__lede {
  margin: 0 0 1.35rem;
  line-height: 1.65;
  color: var(--ac-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

body.page-art-chamber .art-chamber__hero-rarity {
  margin-bottom: 1.35rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-art-chamber .art-chamber__dl {
  margin: 0;
}

body.page-art-chamber .art-chamber__dl--inline .art-chamber__dl-row {
  display: grid;
  grid-template-columns: minmax(0, 140px) 1fr;
  gap: 0.5rem 1.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-art-chamber .art-chamber__dl--inline .art-chamber__dl-row:last-child {
  border-bottom: 0;
}

body.page-art-chamber .art-chamber__dl dt {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__dl dd {
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

body.page-art-chamber .art-chamber__tier-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

body.page-art-chamber .art-chamber__tier-img {
  width: 72px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

body.page-art-chamber .art-chamber__tier-copy {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body.page-art-chamber .art-chamber__tier-key {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__tier-value {
  font-size: 1.05rem;
  font-weight: 600;
}

body.page-art-chamber .art-chamber__ownership {
  margin: 0 0 1.35rem;
  line-height: 1.58;
  color: var(--ac-muted);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
}

body.page-art-chamber .art-chamber__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

body.page-art-chamber .art-chamber__muted {
  margin: 0;
  color: var(--ac-muted);
}

/* Acquisition CTA — premium command, not generic button */
body.page-art-chamber .art-chamber__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  font-size: clamp(0.78rem, 0.9vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transform-origin: 50% 50%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.page-art-chamber .art-chamber__btn--primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent), rgba(8, 12, 20, 0.85);
  border-color: var(--ac-line-bright);
  color: var(--ac-text);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.page-art-chamber .art-chamber__btn--primary:hover {
  border-color: var(--ac-accent);
  box-shadow:
    0 0 24px var(--ac-accent-dim),
    0 12px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.page-art-chamber .art-chamber__btn--secondary {
  background: transparent;
  border-color: var(--ac-line);
  color: var(--ac-text);
}

body.page-art-chamber .art-chamber__btn--secondary:hover {
  border-color: var(--ac-line-bright);
}

body.page-art-chamber .art-chamber__btn--submit {
  margin-top: 0.5rem;
}

body.page-art-chamber .art-chamber__back {
  margin: 0;
  font-size: 0.875rem;
}

body.page-art-chamber .art-chamber__text-link {
  color: var(--ac-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--ac-accent-dim);
}

body.page-art-chamber .art-chamber__text-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Sections — rhythm & composition
--------------------------------------------------------------------------- */
body.page-art-chamber .art-chamber__section {
  padding-top: clamp(56px, 10vw, 120px);
  padding-bottom: clamp(56px, 10vw, 120px);
}

/* Narrative band — Context & narrative + Edition & ownership, full-bleed slate atmosphere */
body.page-art-chamber .art-chamber__slate-band {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
  border-top: 1px solid rgba(120, 160, 210, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

/* Fill the band only — main is full width, so no 100vw (avoids bottom scrollbar on mobile). */
body.page-art-chamber .art-chamber__slate-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__slate-band-bg-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(168deg, #0a101c 0%, #0f1828 32%, #121f32 55%, #0c1422 100%),
    radial-gradient(ellipse 130% 90% at 50% -25%, rgba(72, 118, 180, 0.14), transparent 58%),
    radial-gradient(ellipse 65% 45% at 100% 100%, rgba(15, 28, 48, 0.65), transparent 52%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(25, 40, 68, 0.35), transparent 50%);
}

body.page-art-chamber .art-chamber__slate-band-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.018) 2px,
      rgba(255, 255, 255, 0.018) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.045) 2px,
      rgba(0, 0, 0, 0.045) 3px
    ),
    repeating-linear-gradient(
      -32deg,
      rgba(255, 255, 255, 0.012) 0 1px,
      transparent 1px 6px
    );
}

body.page-art-chamber .art-chamber__slate-band-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 38%, rgba(4, 8, 16, 0.45) 100%),
    linear-gradient(90deg, rgba(8, 14, 24, 0.35) 0%, transparent 22%, transparent 78%, rgba(8, 14, 24, 0.28) 100%);
  pointer-events: none;
}

body.page-art-chamber .art-chamber__inner--narrative {
  position: relative;
  z-index: 1;
  max-width: var(--ac-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ac-pad-x);
  padding-right: var(--ac-pad-x);
}

body.page-art-chamber .art-chamber__narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  width: 100%;
  min-width: 0;
}

body.page-art-chamber .art-chamber__narrative-col {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

body.page-art-chamber .art-chamber__narrative--rarity-only .art-chamber__narrative-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.page-art-chamber .art-chamber__narrative-col .art-chamber__panel:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  body.page-art-chamber .art-chamber__narrative-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 56px);
  }

  body.page-art-chamber .art-chamber__narrative--rarity-only .art-chamber__narrative-grid {
    max-width: 100%;
  }
}

body.page-art-chamber .art-chamber__specs .art-chamber__inner {
  max-width: var(--ac-max);
}

body.page-art-chamber .art-chamber__related .art-chamber__inner {
  max-width: var(--ac-max-hero);
}

body.page-art-chamber .art-chamber__h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240, 245, 252, 0.92);
}

body.page-art-chamber .art-chamber__h2-rule {
  display: block;
  width: clamp(56px, 8vw, 88px);
  height: 2px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--ac-accent), transparent);
  opacity: 0.7;
  transform-origin: left center;
}

body.page-art-chamber .art-chamber__h3 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__h3:first-child {
  margin-top: 0;
}

body.page-art-chamber .art-chamber__h4 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__section-intro {
  margin: -0.35rem 0 1.75rem;
  color: var(--ac-muted);
  max-width: min(58rem, 100%);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.58;
}

/* Blueprint panels */
body.page-art-chamber .art-chamber__panel {
  position: relative;
  background: linear-gradient(150deg, rgba(10, 14, 20, 0.72), rgba(5, 7, 11, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ac-radius-panel);
  padding: clamp(24px, 3.8vw, 48px);
  margin-bottom: clamp(20px, 2.5vw, 32px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.35);
}

body.page-art-chamber .art-chamber__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-top: 1px solid var(--ac-line-bright);
  border-left: 1px solid var(--ac-line-bright);
  opacity: 0.45;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-bottom: 1px solid var(--ac-line-bright);
  border-right: 1px solid var(--ac-line-bright);
  opacity: 0.35;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__panel--story .art-chamber__prose + .art-chamber__prose {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-art-chamber .art-chamber__slate-band .art-chamber__panel--story {
  background: linear-gradient(155deg, rgba(14, 22, 36, 0.78), rgba(8, 14, 24, 0.58));
  border-color: rgba(100, 140, 190, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(120, 170, 230, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.4);
}

body.page-art-chamber .art-chamber__prose p,
body.page-art-chamber .art-chamber__prose-inline {
  margin: 0;
  line-height: 1.72;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

/* Rarity — amplified */
body.page-art-chamber .art-chamber__panel--rarity {
  padding: clamp(32px, 5vw, 64px);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, var(--ac-accent-dim), transparent 55%),
    linear-gradient(165deg, rgba(12, 16, 24, 0.85), rgba(6, 8, 12, 0.65));
}

body.page-art-chamber .art-chamber__slate-band .art-chamber__panel--rarity {
  border-color: rgba(120, 160, 210, 0.12);
  background:
    radial-gradient(ellipse 75% 55% at 18% 0%, var(--ac-accent-dim), transparent 52%),
    linear-gradient(168deg, rgba(16, 24, 40, 0.88), rgba(8, 14, 26, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(130, 175, 235, 0.06),
    0 22px 56px rgba(0, 0, 0, 0.45);
}

body.page-art-chamber .art-chamber__edition-display {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: rgba(248, 250, 255, 0.96);
  text-shadow: 0 0 40px var(--ac-accent-dim);
}

body.page-art-chamber .art-chamber__edition-sep {
  opacity: 0.35;
  margin: 0 0.08em;
  font-weight: 500;
}

body.page-art-chamber .art-chamber__edition-plain {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

body.page-art-chamber .art-chamber__rarity-type {
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body.page-art-chamber .art-chamber__rarity-label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__rarity-value {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.page-art-chamber .art-chamber__rarity-copy {
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.68;
  color: rgba(210, 220, 235, 0.88);
}

body.page-art-chamber .art-chamber__rarity-copy p {
  margin: 0 0 0.85rem;
}

body.page-art-chamber .art-chamber__rarity-copy p:last-child {
  margin-bottom: 0;
}

body.page-art-chamber .art-chamber__rarity-copy strong {
  color: var(--ac-text);
  font-weight: 600;
}

body.page-art-chamber .art-chamber__specs .art-chamber__panel .art-chamber__dl .art-chamber__dl-row {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: 0.5rem 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.page-art-chamber .art-chamber__specs .art-chamber__panel .art-chamber__dl .art-chamber__dl-row:last-child {
  border-bottom: 0;
}

body.page-art-chamber .art-chamber__code {
  font-size: 0.85em;
  word-break: break-all;
}

body.page-art-chamber .art-chamber__list {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

body.page-art-chamber .art-chamber__list li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

/* Related works — cinematic “realm” gallery */
@keyframes art-chamber-realm-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.03);
  }
}

@keyframes art-chamber-realm-drift {
  0%,
  100% {
    transform: scale(1.06) translate3d(0.35%, 0.2%, 0);
  }
  50% {
    transform: scale(1.1) translate3d(-0.45%, -0.35%, 0);
  }
}

@keyframes art-chamber-realm-scan {
  0% {
    transform: translate3d(0, -100%, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.12;
  }
  42% {
    opacity: 0.1;
  }
  55% {
    opacity: 0;
    transform: translate3d(0, 200%, 0);
  }
  100% {
    transform: translate3d(0, 200%, 0);
    opacity: 0;
  }
}

body.page-art-chamber .art-chamber__related {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(30, 55, 95, 0.14), transparent 52%),
    radial-gradient(ellipse 90% 60% at 80% 100%, rgba(0, 0, 0, 0.45), transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(4, 6, 10, 0.92));
}

body.page-art-chamber .art-chamber__related-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.page-art-chamber .art-chamber__related-atmosphere-bloom {
  position: absolute;
  inset: -20% -10% 35%;
  background: radial-gradient(ellipse 55% 42% at 50% 0%, var(--ac-accent-dim), transparent 68%);
  opacity: 0.35;
  filter: blur(40px);
  animation: art-chamber-realm-breathe 14s ease-in-out infinite;
}

body.page-art-chamber .art-chamber__related-atmosphere-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 4, 8, 0.55) 88%, rgba(0, 0, 0, 0.72) 100%);
}

body.page-art-chamber .art-chamber__related-atmosphere-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(
    -14deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
}

body.page-art-chamber .art-chamber__inner--related {
  position: relative;
  z-index: 1;
  max-width: min(1840px, calc(100% - clamp(24px, 5vw, 88px)));
}

body.page-art-chamber .art-chamber__related .art-chamber__h2-rule {
  width: clamp(88px, 12vw, 140px);
}

body.page-art-chamber .art-chamber__related-list {
  list-style: none;
  margin: clamp(8px, 1.5vw, 20px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(22px, 3.2vw, 40px);
}

@media (min-width: 720px) {
  body.page-art-chamber .art-chamber__related-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }
}

@media (min-width: 1200px) {
  body.page-art-chamber .art-chamber__related-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: clamp(28px, 3vw, 48px);
  }
}

body.page-art-chamber .art-chamber__related-item {
  perspective: 1400px;
  transform-style: preserve-3d;
  min-width: 0;
}

body.page-art-chamber .art-chamber__related-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-radius: calc(var(--ac-radius-panel) + 3px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(155deg, rgba(14, 18, 28, 0.88) 0%, rgba(6, 8, 14, 0.72) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 28px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
}

body.page-art-chamber .art-chamber__related-link:hover,
body.page-art-chamber .art-chamber__related-link:focus-visible {
  border-color: var(--ac-line-bright);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 36px 90px rgba(0, 0, 0, 0.58),
    0 0 72px rgba(100, 165, 240, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

body.page-art-chamber .art-chamber__related-link:focus-visible {
  outline: 2px solid var(--ac-accent);
  outline-offset: 3px;
}

body.page-art-chamber .art-chamber__related-stage {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.page-art-chamber .art-chamber__related-viewport {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #030508;
  border-radius: calc(var(--ac-radius-panel) + 2px) calc(var(--ac-radius-panel) + 2px) 0 0;
}

body.page-art-chamber .art-chamber__related-img-layer {
  position: absolute;
  inset: -4%;
  display: block;
  will-change: transform;
  transform-origin: 50% 45%;
}

body.page-art-chamber .art-chamber__related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  transform: scale(1.02);
}

body.page-art-chamber .art-chamber__related-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 30%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.65);
}

body.page-art-chamber .art-chamber__related-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  mix-blend-mode: overlay;
  animation: art-chamber-realm-scan 7.5s ease-in-out infinite;
}

body.page-art-chamber .art-chamber__related-item:nth-child(3n + 2) .art-chamber__related-scan {
  animation-delay: 2.2s;
}

body.page-art-chamber .art-chamber__related-item:nth-child(3n + 3) .art-chamber__related-scan {
  animation-delay: 4.4s;
}

body.page-art-chamber .art-chamber__related-glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.09) 48%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.07) 52%,
    transparent 62%
  );
  transform: translateX(-35%) skewX(-12deg);
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-art-chamber .art-chamber__related-link:hover .art-chamber__related-glint,
body.page-art-chamber .art-chamber__related-link:focus-visible .art-chamber__related-glint {
  opacity: 1;
  transform: translateX(35%) skewX(-12deg);
}

body.page-art-chamber .art-chamber__related-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.8vw, 22px) clamp(16px, 1.9vw, 22px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(4, 6, 10, 0.35));
}

body.page-art-chamber .art-chamber__related-caption--solo {
  border-top: 0;
  border-radius: calc(var(--ac-radius-panel) + 3px);
}

body.page-art-chamber .art-chamber__related-title {
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: rgba(232, 238, 248, 0.94);
  transition: color 0.3s ease;
}

body.page-art-chamber .art-chamber__related-cta {
  flex-shrink: 0;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ac-muted);
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-art-chamber .art-chamber__related-link:hover .art-chamber__related-title,
body.page-art-chamber .art-chamber__related-link:focus-visible .art-chamber__related-title {
  color: #fff;
}

body.page-art-chamber .art-chamber__related-link:hover .art-chamber__related-cta,
body.page-art-chamber .art-chamber__related-link:focus-visible .art-chamber__related-cta {
  color: var(--ac-accent);
  transform: translateX(3px);
}

/* Subtle living frame once section is revealed (GSAP adds .is-realm-revealed) */
body.page-art-chamber.art-chamber-motion .art-chamber__related.is-realm-revealed .art-chamber__related-thumb {
  animation: art-chamber-realm-drift 21s ease-in-out infinite;
}

body.page-art-chamber.art-chamber-motion .art-chamber__related.is-realm-revealed .art-chamber__related-item:nth-child(3n + 2) .art-chamber__related-thumb {
  animation-duration: 26s;
  animation-delay: -4s;
}

body.page-art-chamber.art-chamber-motion .art-chamber__related.is-realm-revealed .art-chamber__related-item:nth-child(3n + 3) .art-chamber__related-thumb {
  animation-duration: 24s;
  animation-delay: -9s;
}

@media (hover: hover) and (pointer: fine) {
  body.page-art-chamber.art-chamber-motion .art-chamber__related-link:hover .art-chamber__related-thumb,
  body.page-art-chamber.art-chamber-motion .art-chamber__related-link:focus-visible .art-chamber__related-thumb {
    animation-play-state: paused;
  }
}

/* Sequence nav */
body.page-art-chamber .art-chamber__sequence {
  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.page-art-chamber .art-chamber__sequence-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 640px) {
  body.page-art-chamber .art-chamber__sequence-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.page-art-chamber .art-chamber__sequence-cell--end {
    text-align: center;
  }

  body.page-art-chamber .art-chamber__sequence-link--next {
    align-items: center;
  }
}

body.page-art-chamber .art-chamber__sequence-cell--end {
  text-align: right;
}

body.page-art-chamber .art-chamber__sequence-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
  padding: 0.5rem 0;
}

body.page-art-chamber .art-chamber__sequence-link--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.page-art-chamber .art-chamber__sequence-link--next {
  align-items: flex-end;
}

body.page-art-chamber .art-chamber__sequence-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__sequence-title {
  font-weight: 600;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
}

/* Claim — full-viewport chamber: slate-black texture + cinematic lighting */
body.page-art-chamber .art-chamber__collect.art-chamber__section {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  border-top: 1px solid rgba(100, 140, 190, 0.1);
}

body.page-art-chamber .art-chamber__collect-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__collect-bg-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(168deg, #020306 0%, #060a10 28%, #0a121c 52%, #05080e 100%),
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(55, 95, 150, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 50% at 100% 30%, rgba(30, 55, 88, 0.22), transparent 50%),
    radial-gradient(ellipse 45% 42% at 0% 75%, rgba(25, 45, 72, 0.2), transparent 48%);
}

body.page-art-chamber .art-chamber__collect-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.014) 2px,
      rgba(255, 255, 255, 0.014) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 3px
    ),
    repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0.01) 0 1px,
      transparent 1px 7px
    );
}

body.page-art-chamber .art-chamber__collect-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 42%, rgba(2, 6, 12, 0.55) 100%),
    linear-gradient(
      90deg,
      rgba(6, 12, 22, 0.5) 0%,
      transparent 18%,
      transparent 82%,
      rgba(6, 12, 22, 0.45) 100%
    );
}

body.page-art-chamber .art-chamber__collect-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.85;
  transform: translateZ(0);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

body.page-art-chamber .art-chamber__collect-light--a {
  width: min(85vw, 720px);
  height: min(55vw, 420px);
  top: -8%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background: radial-gradient(
    ellipse closest-side,
    rgba(100, 155, 220, 0.22) 0%,
    rgba(40, 70, 110, 0.08) 45%,
    transparent 70%
  );
}

body.page-art-chamber .art-chamber__collect-light--b {
  width: min(70vw, 520px);
  height: min(90vw, 560px);
  bottom: -15%;
  right: -12%;
  background: radial-gradient(
    ellipse closest-side,
    rgba(70, 120, 185, 0.14) 0%,
    rgba(20, 35, 58, 0.06) 50%,
    transparent 68%
  );
}

body.page-art-chamber .art-chamber__collect-light--c {
  width: min(50vw, 380px);
  height: min(60vw, 440px);
  top: 35%;
  left: -10%;
  background: radial-gradient(
    ellipse closest-side,
    rgba(90, 140, 200, 0.1) 0%,
    transparent 65%
  );
}

body.page-art-chamber .art-chamber__collect-rim {
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(130, 175, 230, 0.06),
    inset 0 -80px 100px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}

body.page-art-chamber .art-chamber__collect-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: clamp(48px, 9vh, 100px);
  padding-bottom: clamp(56px, 10vh, 120px);
  box-sizing: border-box;
}

body.page-art-chamber .art-chamber__inner--collect-head {
  max-width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Match global h2 column but center title + rule with intro copy */
body.page-art-chamber .art-chamber__collect-head .art-chamber__h2 {
  align-items: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

body.page-art-chamber .art-chamber__collect-head .art-chamber__h2-rule {
  transform-origin: center center;
}

body.page-art-chamber .art-chamber__collect-head .art-chamber__section-kicker {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-art-chamber .art-chamber__collect-intro {
  margin-top: clamp(20px, 3vh, 36px);
  margin-left: auto;
  margin-right: auto;
  max-width: min(38rem, 100%);
  text-align: center;
}

body.page-art-chamber .art-chamber__collect-intro p {
  margin: 0;
  line-height: 1.68;
  color: rgba(188, 204, 224, 0.82);
  font-size: clamp(0.95rem, 1.12vw, 1.08rem);
}

body.page-art-chamber .art-chamber__collect-form-stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  margin-top: clamp(32px, 5vh, 56px);
  padding-top: clamp(40px, 6vh, 88px);
  padding-bottom: clamp(24px, 5vh, 72px);
  min-height: clamp(380px, 58dvh, 920px);
  border-top: 1px solid rgba(42, 20, 10, 0.55);
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(72, 32, 14, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(0, 0, 0, 0.55), transparent 50%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(0, 0, 0, 0.55), transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(2, 4, 9, 0.88) 48%, rgba(0, 0, 0, 0.72) 100%);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
}

body.page-art-chamber .art-chamber__collect-form-stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(48, 22, 10, 0.2) 12%,
    rgba(110, 48, 20, 0.75) 38%,
    rgba(160, 62, 22, 0.45) 50%,
    rgba(110, 48, 20, 0.75) 62%,
    rgba(48, 22, 10, 0.2) 88%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

body.page-art-chamber .art-chamber__inner--collect-form {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(var(--ac-max), 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ac-pad-x);
  padding-right: var(--ac-pad-x);
  box-sizing: border-box;
}

body.page-art-chamber .art-chamber__collect-form {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: clamp(260px, 52dvh, 720px);
  padding: clamp(32px, 4vw, 64px) clamp(22px, 3.5vw, 56px);
  border-radius: calc(var(--ac-radius-panel) + 4px);
  border: 3px solid transparent;
  /* Slightly lifted panel + dark ember gradient frame */
  background:
    linear-gradient(
        168deg,
        rgba(18, 22, 34, 0.97) 0%,
        rgba(12, 16, 28, 0.96) 38%,
        rgba(8, 11, 22, 0.98) 72%,
        rgba(6, 9, 18, 0.99) 100%
      )
      padding-box,
    linear-gradient(
        128deg,
        rgba(22, 10, 4, 1) 0%,
        rgba(52, 22, 9, 0.98) 15%,
        rgba(28, 12, 5, 1) 32%,
        rgba(95, 40, 16, 0.88) 48%,
        rgba(32, 14, 6, 1) 64%,
        rgba(78, 32, 12, 0.82) 80%,
        rgba(18, 8, 3, 1) 100%
      )
      border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.75),
    0 0 0 2px rgba(24, 10, 4, 0.9),
    0 0 72px rgba(35, 14, 4, 0.55),
    0 0 120px rgba(18, 8, 3, 0.35),
    0 28px 100px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(200, 110, 65, 0.16),
    inset 0 0 90px rgba(0, 0, 0, 0.38),
    inset 0 -18px 70px rgba(0, 0, 0, 0.36);
}

/* Cinematic key / fill lights on the form face (non-interactive) */
body.page-art-chamber .art-chamber__collect-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(ellipse 95% 52% at 50% -5%, rgba(130, 168, 220, 0.2), transparent 55%),
    radial-gradient(ellipse 42% 38% at 14% 28%, rgba(255, 195, 140, 0.1), transparent 58%),
    radial-gradient(ellipse 38% 45% at 88% 72%, rgba(100, 145, 205, 0.09), transparent 55%),
    radial-gradient(ellipse 120% 90% at 50% 58%, transparent 42%, rgba(0, 0, 0, 0.12) 100%);
  mix-blend-mode: soft-light;
}

body.page-art-chamber .art-chamber__collect-form::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 210, 175, 0.07),
    inset 0 18px 48px -12px rgba(255, 235, 220, 0.04);
  z-index: 1;
}

body.page-art-chamber .art-chamber__collect-form > * {
  position: relative;
  z-index: 2;
}

body.page-art-chamber .art-chamber__collect-form .art-chamber__field:focus-within {
  box-shadow:
    0 0 0 1px rgba(140, 58, 22, 0.55),
    0 10px 32px rgba(0, 0, 0, 0.45);
}

body.page-art-chamber .art-chamber__collect-form .art-chamber__input,
body.page-art-chamber .art-chamber__collect-form .art-chamber__textarea {
  background: rgba(22, 28, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.11);
}

body.page-art-chamber .art-chamber__field {
  position: relative;
  margin-bottom: 1rem;
  padding: 2px;
  margin-left: -2px;
  margin-right: -2px;
  border-radius: 5px;
  transition: box-shadow 0.28s ease;
}

body.page-art-chamber .art-chamber__btn--submit.is-submitting {
  opacity: 0.68;
  pointer-events: none;
}

body.page-art-chamber .art-chamber__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__collect-form .art-chamber__label {
  color: rgba(255, 255, 255, 0.94);
}

body.page-art-chamber .art-chamber__input,
body.page-art-chamber .art-chamber__textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ac-text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

body.page-art-chamber .art-chamber__textarea {
  resize: vertical;
  min-height: 120px;
}

body.page-art-chamber .art-chamber__input::placeholder,
body.page-art-chamber .art-chamber__textarea::placeholder {
  color: rgba(180, 198, 218, 0.28);
}

/* 404 */
body.page-art-chamber .art-chamber--not-found .art-chamber__title {
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   Phase 5 — accessibility: focus visibility (keyboard / SR friendly)
--------------------------------------------------------------------------- */
body.page-art-chamber .art-chamber__text-link:focus-visible,
body.page-art-chamber .art-chamber__btn:focus-visible,
body.page-art-chamber .art-chamber__input:focus-visible,
body.page-art-chamber .art-chamber__textarea:focus-visible,
body.page-art-chamber .art-chamber__related-link:focus-visible,
body.page-art-chamber .art-chamber__sequence-link:focus-visible {
  outline: 2px solid var(--ac-accent);
  outline-offset: 3px;
}

body.page-art-chamber .art-chamber__btn:focus-visible {
  outline-offset: 2px;
}

body.page-art-chamber .art-chamber__related-link:focus-visible .art-chamber__related-thumb {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Phase 4 — prestige polish (copy + light hierarchy)
--------------------------------------------------------------------------- */
body.page-art-chamber .art-chamber__acquisition-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.page-art-chamber .art-chamber__price {
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes art-chamber-hero-status-pulse {
  0%,
  100% {
    text-shadow: none;
  }

  45% {
    text-shadow: 0 0 22px var(--ac-accent-dim);
    color: rgba(248, 252, 255, 0.98);
  }
}

body.page-art-chamber .art-chamber__hero .art-chamber__status--available.is-status-pulse {
  animation: art-chamber-hero-status-pulse 1.15s ease-out 1;
}

body.page-art-chamber .art-chamber__cta-support {
  margin: 0.35rem 0 0;
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  line-height: 1.5;
  color: var(--ac-muted);
  max-width: min(34rem, 100%);
}

body.page-art-chamber .art-chamber__status-inline {
  white-space: nowrap;
}

body.page-art-chamber .art-chamber__rarity-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ac-accent);
}

body.page-art-chamber .art-chamber__section-kicker {
  margin: -0.25rem 0 1.35rem;
  max-width: min(52rem, 100%);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.58;
  color: var(--ac-muted);
}

body.page-art-chamber .art-chamber__section-kicker--tight {
  margin-top: -0.15rem;
  margin-bottom: 1rem;
}

body.page-art-chamber .art-chamber__rarity-closing {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(200, 214, 230, 0.88);
}

/* --------------------------------------------------------------------------
   Phase 3 — motion prep (see art-chamber-motion.js)
   body.art-chamber-motion is set in art.php; JS strips it when prefers-reduced-motion.
--------------------------------------------------------------------------- */
body.page-art-chamber.art-chamber-motion .art-chamber__hero-atmosphere {
  opacity: 0;
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__media {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__meta-surface {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__eyebrow .art-chamber__world-label,
body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__eyebrow .art-chamber__tier-label {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__title-clip .art-chamber__title {
  opacity: 0;
  transform: translate3d(0, 108%, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__lede {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__acquisition-block,
body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__back {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__img {
  opacity: 1;
  transform: scale(1.045);
  filter: brightness(0.86);
}

body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__img-accent {
  opacity: 0;
  transform: scale(0.985);
}

body.page-art-chamber.art-chamber-motion .art-chamber__meta-shimmer {
  opacity: 0;
}

body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related):not(.art-chamber__sequence) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__rarity[data-reveal] {
  transform: translate3d(0, 34px, 0);
}

body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__h2-rule {
  transform: scaleX(0);
}

body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__section-kicker,
body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__section-intro {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__panel {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(7px);
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-intro,
body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-form {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  filter: blur(10px);
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-light,
body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-rim {
  opacity: 0;
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence .art-chamber__sequence-link {
  opacity: 0;
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence .art-chamber__sequence-cell:first-child .art-chamber__sequence-link {
  transform: translate3d(-18px, 0, 0);
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence .art-chamber__sequence-cell--center .art-chamber__sequence-link {
  transform: translate3d(0, 12px, 0);
}

body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence .art-chamber__sequence-cell--end .art-chamber__sequence-link {
  transform: translate3d(18px, 0, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__related-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__h2 {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__h2-rule {
  transform: scaleX(0);
  transform-origin: left center;
}

body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__section-intro {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

body.page-art-chamber.art-chamber-motion .art-chamber__related-link {
  transform: translateZ(0);
}

/* Hard fallback if GSAP never completes */
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero-atmosphere,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__media,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__meta-surface,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__eyebrow .art-chamber__world-label,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__eyebrow .art-chamber__tier-label,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__title-clip .art-chamber__title,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__lede,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__acquisition-block,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__back,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__img,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__img-accent,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__meta-shimmer,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related),
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__h2-rule,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__section-kicker,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__section-intro,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__panel,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-intro,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-form,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-light,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-rim,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence .art-chamber__sequence-link,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__related-item {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__h2,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__h2-rule,
html.art-chamber-motion-fail body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__section-intro {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Reduced motion: disable motion prep hides, pause decorative transitions, lighten atmosphere cost */
@media (prefers-reduced-motion: reduce) {
  body.page-art-chamber.art-chamber-motion .art-chamber__hero-atmosphere,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__media,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__meta-surface,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__eyebrow .art-chamber__world-label,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__eyebrow .art-chamber__tier-label,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__title-clip .art-chamber__title,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__lede,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__acquisition-block,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__back,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__img,
  body.page-art-chamber.art-chamber-motion .art-chamber__hero .art-chamber__img-accent,
  body.page-art-chamber.art-chamber-motion .art-chamber__meta-shimmer,
  body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related),
  body.page-art-chamber.art-chamber-motion .art-chamber__rarity[data-reveal],
  body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__h2-rule,
  body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__section-kicker,
  body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__section-intro,
  body.page-art-chamber.art-chamber-motion [data-reveal]:not(.art-chamber__related) .art-chamber__panel,
  body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-intro,
  body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-form,
  body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-light,
  body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__collect .art-chamber__collect-rim,
  body.page-art-chamber.art-chamber-motion [data-reveal].art-chamber__sequence .art-chamber__sequence-link,
  body.page-art-chamber.art-chamber-motion .art-chamber__related-item,
  body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__h2,
  body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__h2-rule,
  body.page-art-chamber.art-chamber-motion .art-chamber__related[data-reveal] .art-chamber__section-intro {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  body.page-art-chamber .art-chamber__bg-img {
    filter: none;
    opacity: 0.42;
  }

  body.page-art-chamber .art-chamber__related-atmosphere-bloom,
  body.page-art-chamber .art-chamber__related-scan,
  body.page-art-chamber.art-chamber-motion .art-chamber__related.is-realm-revealed .art-chamber__related-thumb {
    animation: none !important;
  }

  body.page-art-chamber .art-chamber__related-thumb {
    transition: none;
  }

  body.page-art-chamber .art-chamber__related-link:hover .art-chamber__related-thumb {
    transform: none;
  }
}
