/* ZYRATH warm gallery palette. */
:root {
  --gallery-ivory: #e8e0d2;
  --gallery-canvas: #ebe3d5;
  --gallery-stone: #d8ccba;
  --gallery-cream: #f3eee5;
  --gallery-ink: #211b17;
  --gallery-taupe: #6e6257;
  --gallery-gold: #9a722f;
  --gallery-line: rgba(74, 57, 39, 0.2);
}

body {
  color: var(--gallery-ink);
  background:
    radial-gradient(circle at 9% 18%, rgba(185, 145, 75, 0.15), transparent 28%),
    linear-gradient(180deg, var(--gallery-stone), var(--gallery-ivory) 22%, #eee8dd);
}

.page-grain {
  opacity: 0.13;
  background-image:
    radial-gradient(rgba(89, 66, 42, 0.2) 0.55px, transparent 0.55px),
    radial-gradient(rgba(255, 255, 255, 0.5) 0.5px, transparent 0.5px);
  mix-blend-mode: multiply;
}

.hero.hero-cinematic,
.site-header,
.cart-drawer,
.cart-fab {
  color: var(--white);
}

.ready-stock,
.story,
.collections,
.contact {
  background: transparent;
}

.ready-stock::before,
.story::before,
.collections::before {
  opacity: 0.6;
  background: radial-gradient(circle, rgba(185, 145, 75, 0.15), transparent 68%);
}

.eyebrow,
.ready-index,
.story-artwork figcaption span {
  color: var(--gallery-gold);
}

.ready-heading,
.story-layout,
.collections-heading,
.site-footer {
  border-color: var(--gallery-line);
}

.ready-heading h2,
.story .section-heading h2,
.collections .section-heading h2,
.contact-panel h2 {
  color: var(--gallery-ink);
}

.ready-heading > p,
.story-copy,
.contact-intro,
.copyright {
  color: var(--gallery-taupe);
}

/* Keep the stock cards dark and commercial while their gallery setting is light. */
.ready-card {
  border-color: rgba(74, 57, 39, 0.28);
  box-shadow: 0 24px 60px rgba(49, 37, 25, 0.18);
}

/* Restore and frame the three editorial artworks from the current homepage. */
.story-artworks {
  border-color: rgba(74, 57, 39, 0.28);
  box-shadow: 0 26px 70px rgba(49, 37, 25, 0.16);
}

.story-artwork {
  border-color: rgba(232, 215, 181, 0.18);
}

.statement {
  color: #8f672c;
}

.collections {
  border-color: var(--gallery-line);
  background:
    radial-gradient(circle at 90% 8%, rgba(185, 145, 75, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(243, 238, 229, 0.46), rgba(232, 224, 210, 0.12));
}

/* Fewer lines on desktop: the sentence now has room to breathe horizontally. */
.collections-heading {
  grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1.76fr);
  gap: clamp(30px, 5vw, 78px);
}

.collections-heading h2,
.collections .section-heading h2 {
  width: 100%;
  max-width: 29ch;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.08;
}

.collections .collection-card {
  border-color: rgba(74, 57, 39, 0.3);
  box-shadow: 0 20px 54px rgba(49, 37, 25, 0.16);
}

.collections .collection-card:hover {
  border-color: rgba(143, 103, 44, 0.75);
  box-shadow: 0 34px 84px rgba(49, 37, 25, 0.25);
}

/* Continue the same light gallery background through the brand statement. */
.manifesto {
  color: var(--gallery-ink);
  border-color: var(--gallery-line);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(185, 145, 75, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(243, 238, 229, 0.68), rgba(232, 224, 210, 0.72));
}

.manifesto::before,
.manifesto::after {
  background: linear-gradient(90deg, transparent, rgba(143, 103, 44, 0.42));
}

.manifesto blockquote {
  color: var(--gallery-ink);
  text-shadow: none;
}

.manifesto .eyebrow {
  color: var(--gallery-gold);
}

.contact-panel {
  border-color: var(--gallery-line);
  background:
    radial-gradient(circle at 50% -25%, rgba(185, 145, 75, 0.22), transparent 48%),
    rgba(243, 238, 229, 0.84);
  box-shadow: 0 28px 80px rgba(65, 48, 31, 0.1);
}

.contact-panel::before {
  border-color: rgba(143, 103, 44, 0.18);
}

.contact-instagram,
.contact-email {
  border-color: var(--gallery-line);
  background: rgba(255, 255, 255, 0.42);
}

.contact-instagram:hover,
.contact-email:hover {
  border-color: rgba(143, 103, 44, 0.58);
  background: rgba(255, 255, 255, 0.68);
}

.contact-instagram span,
.contact-email span,
.footer-brand p {
  color: var(--gallery-gold);
}

.contact-instagram strong,
.contact-email strong,
.footer-brand strong {
  color: var(--gallery-ink);
}

.contact-email em {
  color: #f8f2e8;
  background: var(--gallery-ink);
}

@media (max-width: 900px) {
  .collections-heading {
    grid-template-columns: 1fr;
  }

  .collections-heading h2,
  .collections .section-heading h2 {
    max-width: 22ch;
  }
}

@media (max-width: 680px) {
  .collections-heading h2,
  .collections .section-heading h2 {
    max-width: 15ch;
    font-size: clamp(31px, 9.4vw, 43px);
  }

  .manifesto {
    padding-block: 82px;
  }

  .manifesto blockquote {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.28;
  }
}

/* Product viewer — keep the complete artwork visible and confine the
   anti-copy watermark to the artwork pane only. */
.catalogue-page .artwork-viewer[open] {
  position: fixed;
  grid-template-areas: "artwork details";
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
}

.catalogue-page .artwork-viewer > img {
  grid-area: artwork;
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.catalogue-page .artwork-viewer .viewer-details {
  grid-area: details;
  position: relative;
  z-index: 2;
  color: var(--gallery-ink);
  background:
    radial-gradient(circle at 100% 0, rgba(185, 145, 75, 0.16), transparent 38%),
    linear-gradient(145deg, #f7f1e7, #e9dfd0 74%);
}

.catalogue-page .artwork-viewer::before {
  inset: -28% auto -28% -28%;
  width: 79%;
  z-index: 1;
  overflow: hidden;
}

.catalogue-page .artwork-viewer .viewer-close {
  z-index: 4;
}

.catalogue-page .artwork-viewer .viewer-title,
.catalogue-page .viewer-format-options button[aria-pressed="true"],
.catalogue-page .viewer-buy-row > div strong {
  color: var(--gallery-ink);
}

.catalogue-page .artwork-viewer .viewer-description,
.catalogue-page .artwork-viewer .viewer-option-label,
.catalogue-page .viewer-format-options button,
.catalogue-page .viewer-navigation button {
  color: var(--gallery-taupe);
}

.catalogue-page .viewer-format-options button {
  background: rgba(255, 255, 255, 0.46);
  border-color: var(--gallery-line);
}

.catalogue-page .viewer-format-options button[aria-pressed="true"] {
  background: rgba(185, 145, 75, 0.13);
  border-color: var(--gallery-gold);
}

@media (max-width: 760px) {
  .catalogue-page .artwork-viewer[open] {
    display: block;
    overflow-x: hidden;
  }

  .catalogue-page .artwork-viewer > img {
    width: 100%;
    height: min(51svh, 560px);
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .catalogue-page .artwork-viewer::before {
    inset: -14% -28% auto -28%;
    width: 156%;
    height: min(68svh, 720px);
  }
}

/* Carry the warm gallery treatment through commerce and catalogues. */
.ready-card {
  color: var(--gallery-ink);
  border-color: rgba(74, 57, 39, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(239, 231, 218, 0.94));
  box-shadow: 0 26px 70px rgba(63, 46, 29, 0.15);
}

.ready-content {
  background:
    radial-gradient(circle at 100% 0, rgba(185, 145, 75, 0.14), transparent 42%),
    var(--gallery-cream);
}

.ready-content h3 {
  color: var(--gallery-ink);
}

.ready-copy,
.ready-content label,
.ready-unit span {
  color: var(--gallery-taupe);
}

.ready-content select {
  color: var(--gallery-ink);
  border-color: rgba(74, 57, 39, 0.25);
  background: rgba(255, 255, 255, 0.72);
}

.ready-unit strong,
.ready-bundle strong {
  color: #805c25;
}

.ready-bundle {
  color: var(--gallery-ink);
  border-color: rgba(143, 103, 44, 0.52);
  background: rgba(255, 255, 255, 0.36);
}

.ready-bundle del {
  color: rgba(68, 55, 43, 0.48);
}

.ready-bundle:hover {
  background: rgba(185, 145, 75, 0.12);
}

.catalogue-page {
  color: var(--gallery-ink);
  background:
    radial-gradient(circle at 80% 4%, rgba(185, 145, 75, 0.18), transparent 27%),
    linear-gradient(180deg, var(--gallery-stone), var(--gallery-ivory) 24%, #eee8dd 100%);
}

.catalogue-page .page-grain {
  mix-blend-mode: multiply;
}

.catalogue-page .site-header.is-scrolled {
  color: #f4ecdf;
  background: rgba(31, 25, 20, 0.96);
  border-color: rgba(185, 145, 75, 0.28);
}

.collection-hero {
  border-color: var(--gallery-line);
}

.collection-hero-light,
.supercar-page .collection-hero-light,
.football-page .collection-hero-light,
.motorsport-page .collection-hero-light,
.moroccan-page .collection-hero-light {
  border-color: rgba(143, 103, 44, 0.16);
  background: radial-gradient(circle, rgba(185, 145, 75, 0.2), transparent 62%);
}

.back-link {
  color: var(--gallery-gold);
}

.back-link::before {
  background: var(--gallery-gold);
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--gallery-ink);
}

.collection-hero-content h1 {
  color: #6f4b1f;
  background: linear-gradient(112deg, #6b471d, #b6863c 52%, #7c5522);
  -webkit-background-clip: text;
  background-clip: text;
}

.collection-hero-content > p:not(.eyebrow) {
  color: var(--gallery-taupe);
  border-left-color: var(--gallery-gold);
}

.collection-count {
  border-left-color: var(--gallery-line);
}

.collection-count strong,
.poster-item h2,
.poster-title,
.game-card-copy h2,
.archive-empty h2 {
  color: var(--gallery-ink);
}

.collection-count span,
.poster-subtitle,
.game-subtitle,
.game-description,
.archive-empty p:last-child {
  color: var(--gallery-taupe);
}

.poster-gallery {
  position: relative;
}

.poster-gallery::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -5vw;
  background: linear-gradient(180deg, rgba(243, 238, 229, 0.4), rgba(255, 255, 255, 0.12));
  border-top: 1px solid var(--gallery-line);
}

.poster-card {
  padding: clamp(7px, 0.7vw, 11px);
  border-color: rgba(74, 57, 39, 0.24);
  background: #f7f0e4;
  box-shadow: 0 20px 50px rgba(54, 40, 27, 0.16);
}

.poster-item > p {
  color: var(--gallery-gold);
}

.poster-order {
  color: var(--gallery-ink);
  border-color: var(--gallery-line);
  background: rgba(243, 238, 229, 0.82);
}

.poster-order label,
.checkout-form label {
  color: var(--gallery-taupe);
}

.poster-order select,
.checkout-form input,
.checkout-form textarea {
  color: var(--gallery-ink);
  border-color: rgba(74, 57, 39, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

.cart-drawer {
  color: var(--gallery-ink);
  border-left-color: rgba(74, 57, 39, 0.25);
  background:
    radial-gradient(circle at 8% 0, rgba(185, 145, 75, 0.2), transparent 34%),
    var(--gallery-cream);
  box-shadow: -24px 0 70px rgba(54, 40, 27, 0.25);
}

.cart-drawer-header h2,
.checkout-form h3,
.cart-item h3,
.cart-summary strong,
.cart-summary .cart-total-row {
  color: var(--gallery-ink);
}

.cart-close {
  color: var(--gallery-ink);
  border-color: var(--gallery-line);
  background: rgba(255, 255, 255, 0.5);
}

.cart-empty,
.cart-item,
.cart-summary {
  border-color: var(--gallery-line);
}

.cart-empty,
.cart-item span,
.cart-item small,
.cart-summary div,
.cart-summary p,
.checkout-note {
  color: var(--gallery-taupe);
}

.cart-item {
  background: rgba(255, 255, 255, 0.46);
}

.cart-item strong,
.cart-summary .cart-total-row strong,
.cart-item button {
  color: #805c25;
}

.artwork-viewer {
  color: var(--gallery-ink);
  border-color: rgba(143, 103, 44, 0.5);
  background: var(--gallery-cream);
}

.artwork-viewer p {
  color: var(--gallery-ink);
}

.viewer-close {
  color: var(--gallery-ink);
  background: var(--gallery-cream);
}

/* The 7 Families landing page and its editorial cards inherit the same warmth. */
.seven-families-page,
.seven-families-page .game-showcase,
.seven-families-page .archive-showcase {
  color: var(--gallery-ink);
  background: var(--gallery-canvas);
}

.seven-families-page .game-card,
.seven-families-page .archive-empty {
  border-color: var(--gallery-line);
  background: rgba(243, 238, 229, 0.82);
  box-shadow: 0 20px 55px rgba(54, 40, 27, 0.14);
}

@media (max-width: 680px) {
  .poster-card {
    padding: 6px;
  }

  .ready-content {
    padding: 25px 22px 28px;
  }
}
