/* ============ KOLEKSİYON — doğal taş seçim deneyimi (rev. 2) ============ */
/* Dumanlı sıcak taş grisi dünya: ivory ailesinin ışığı kısılmış editoryal hâli. */

.atelier {
  --bg-image: none;
  --tone: #a88a5b;
  --on-dark: #f6f0e5;
  --on-dark-dim: #9b9589;
  --dark-line: rgba(246,240,229,.08);
  --grid-color: rgba(246,240,229,.015);
  position: relative;
  min-height: 100vh;
  height: 100vh;            /* tek ekrana kilitle: dikey taşma/scroll olmasın */
  display: flex; flex-direction: column;
  background:
    radial-gradient(100% 100% at 50% 50%, #171513 0%, #0d0c0b 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding: calc(6rem + 1vh) 6vw 2.5vh;
}
/* koleksiyon karakterine göre çok hafif ton alan merkez aydınlığı ve mimari grid */
.atelier::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: 
    radial-gradient(75% 65% at 50% 50%, color-mix(in srgb, var(--tone) 11%, transparent), transparent 75%),
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  background-position: center center;
  transition: background 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}
/* geniş doğal vignette + ince film greni */
.atelier::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 110% at 50% 50%, transparent 55%, rgba(6,5,4,.65) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  z-index: 1;
}

.atelier > * { position: relative; z-index: 1; }

/* Koleksiyon tek ekranlık bir seçim deneyimi — genel footer bu sayfada gizlenir */
body > .footer { display: none; }

/* ---- başlık ---- */
.atelier-head { text-align: center; margin-bottom: .5vh; position: relative; }
.atelier-eyebrow {
  font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; text-indent: .42em;
  color: color-mix(in srgb, var(--tone) 75%, #e3d3ae);
  /* açık galeri sahnelerinde de okunsun */
  text-shadow: 0 1px 10px rgba(6,5,4,.55), 0 0 2px rgba(6,5,4,.45);
}
.atelier-sub {
  margin: .55rem auto 0;
  max-width: none;
  color: color-mix(in srgb, var(--on-dark-dim) 82%, #f6f0e5);
  font-size: .93rem;
  font-weight: 300;
  text-shadow: 0 1px 10px rgba(6,5,4,.55), 0 0 2px rgba(6,5,4,.4);
}

/* ---- ana kompozisyon: kaya baskın, bilgi ona yaslanır ---- */
.atelier-row {
  flex: 1; min-height: 0; display: grid; align-items: center;
  grid-template-columns: auto minmax(0, 1.8fr) auto minmax(0, .72fr);
  gap: 0 1.6vw;
}

/* ---- sahne + kaya ---- */
.atelier-stage {
  position: relative; height: 100%; min-height: 0;
  touch-action: none; cursor: grab; user-select: none; outline: none;
}
.atelier-stage:active { cursor: grabbing; }
.atelier-stage:focus-visible { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone) 60%, transparent); border-radius: 8px; }

#threeCanvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

.rock {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1), transform 800ms cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
.rock.is-active { opacity: 1; pointer-events: auto; }
.rock.from-right { transform: translateX(64px) scale(.965); transition: none; }
.rock.from-left { transform: translateX(-64px) scale(.965); transition: none; }
.rock.is-active:not(.from-left):not(.from-right) { transform: translateX(0) scale(1); }
.rock.to-left { transform: translateX(-64px) scale(.96); opacity: 0; }
.rock.to-right { transform: translateX(64px) scale(.96); opacity: 0; }

.rock-body {
  position: relative; width: min(100%, 104vh); height: 97%;
  transform: perspective(1300px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 650ms cubic-bezier(.22,.61,.36,1);
}
.rock-img, .rock-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-user-drag: none;
}
.rock-img { object-fit: contain; display: none; filter: drop-shadow(0 26px 44px rgba(16,12,8,.4)); }
.rock--cutout .rock-img { display: block; }
.rock--cutout .rock-svg { display: none; }

/* geniş, yumuşak temas gölgesi — anıtsal ağırlık hissi */
.rock-shadow {
  position: absolute; left: 50%; bottom: 0.5%;
  width: 74%; height: 6.5%;
  transform: translateX(-50%) scaleX(var(--sh, 1));
  background: radial-gradient(50% 50% at 50% 50%, rgba(14,11,8,.55), transparent 74%);
  filter: blur(12px);
  transition: transform 650ms cubic-bezier(.22,.61,.36,1);
}

/* ---- yön kontrolleri: görünür ama zarif ---- */
.atelier-arrow {
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--dark-line); background: rgba(240,233,220,.02);
  color: var(--on-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .45s ease, background .45s ease, transform .3s ease;
}
.atelier-arrow::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid transparent;
  transition: transform .45s cubic-bezier(0.25, 1, 0.5, 1), border-color .45s ease;
}
.atelier-arrow:hover { 
  border-color: color-mix(in srgb, var(--tone) 65%, transparent); 
  background: rgba(240,233,220,.05);
  transform: scale(1.05);
}
.atelier-arrow:hover::before {
  transform: scale(1.15);
  border-color: color-mix(in srgb, var(--tone) 35%, transparent);
}
.atelier-arrow:focus-visible { outline: 2px solid color-mix(in srgb, var(--tone) 70%, transparent); outline-offset: 3px; }
.atelier-arrow svg { 
  width: 22px; height: 22px; 
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.atelier-arrow.prev:hover svg { transform: translateX(-4px); }
.atelier-arrow.next:hover svg { transform: translateX(4px); }

/* ---- bilgi alanı: kompakt, editoryal, karta benzemeyen ---- */
.atelier-info {
  width: min(21rem, 100%);
  max-width: 21rem;
}
.info-fade {
  transition:
    opacity 900ms cubic-bezier(.22,.72,.24,1),
    transform 1050ms cubic-bezier(.22,.72,.24,1),
    filter 900ms cubic-bezier(.22,.72,.24,1);
}
.atelier-info.is-switching .info-fade {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
}
.info-index {
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; text-indent: .34em;
  color: color-mix(in srgb, var(--tone) 78%, #e6d6b0); margin-bottom: 1.1rem;
}
.info-name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 3.9vw, 3.9rem); line-height: 1.04; color: #f6f0e4;
}
.info-desc { margin-top: 1rem; color: var(--on-dark-dim); font-size: .96rem; line-height: 1.7; max-width: 26em; }

/* specs grid */
.info-specs {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  padding: 1.4rem 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: baseline;
  min-height: 1.35rem;
}
.s-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}
.s-value {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--on-dark);
  text-align: right;
  letter-spacing: 0.05em;
  line-height: 1.55;
  min-width: 0;
}
/* İthal taş rozeti — KÖKEN değerinin yanında zarif altın etiket */
.origin-badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.12rem 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tone) 80%, #e6d6b0);
  border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent);
  border-radius: 2px;
  vertical-align: middle;
}
.origin-badge[hidden] { display: none; }

.info-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  margin-top: 2.2rem; padding: 1.1rem 2.4rem;
  border: 1px solid color-mix(in srgb, var(--tone) 72%, #d9c9a8);
  background: transparent;
  color: #f6f0e4; text-decoration: none;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; text-indent: .1em;
  font-family: var(--sans);
  font-weight: 500;
  border-radius: 0px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: background .5s cubic-bezier(0.25, 1, 0.5, 1), border-color .5s ease, transform .3s ease, color .3s ease;
}
.info-cta .cta-arrow { transition: transform .5s cubic-bezier(0.25, 1, 0.5, 1); display: inline-block; }
.info-cta:hover { 
  background: color-mix(in srgb, var(--tone) 100%, transparent); 
  border-color: color-mix(in srgb, var(--tone) 92%, #f0e2c2);
  color: #0b0b0c;
  transform: translateY(-2px);
}
.info-cta:hover .cta-arrow { transform: translateX(6px); color: #0b0b0c; }
.info-cta:active { transform: translateY(0); }
.info-cta:focus-visible { outline: 2px solid color-mix(in srgb, var(--tone) 70%, transparent); outline-offset: 3px; }

/* İki eylem alt alta: Mekânı İncele (birincil) + Teklif Al (ikincil) */
.info-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.2rem; }
.info-actions .info-cta { margin-top: 0; }
/* "Taşın hikâyesini oku": buton değil, sakin bir metin bağlantısı */
.info-story-link {
  align-self: flex-start; margin-top: 1.1rem; padding: 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-dim); transition: color .4s ease;
  border-bottom: 1px solid transparent; padding-bottom: .25rem;
}
.info-story-link:hover { color: var(--tone); border-bottom-color: var(--tone); }
.info-story-link .cta-arrow { transition: transform .4s ease; display: inline-block; }
.info-story-link:hover .cta-arrow { transform: translateX(4px); }
/* Teklif Al: daha sakin ikincil buton; hover'da birincil ile aynı sıcaklığa gelir */
.info-cta--offer {
  border-color: var(--dark-line);
  box-shadow: none;
  color: var(--on-dark-dim);
}
.info-cta--offer:hover {
  border-color: color-mix(in srgb, var(--tone) 92%, #f0e2c2);
  background: color-mix(in srgb, var(--tone) 100%, transparent);
  color: #0b0b0c;
}

/* ---- alt indeks: görünür, dengeli, zarif ---- */
.atelier-index {
  display: flex; justify-content: center; align-items: center;
  gap: 1rem 2.1rem; flex-wrap: wrap;
  padding: 2vh 2vw 0.5vh; max-width: 62rem; margin: 0 auto;
}
.idx-btn {
  background: none; border: none; cursor: pointer; position: relative;
  font-family: var(--sans); font-weight: 300;
  color: rgba(240,233,220,.5); font-size: .72rem;
  letter-spacing: .24em; text-transform: uppercase; text-indent: .24em;
  padding: .4rem 0; transition: color .45s ease; white-space: nowrap;
}
.idx-btn::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 1px; width: 0;
  background: color-mix(in srgb, var(--tone) 85%, #e6d6b0);
  transform: translateX(-50%); transition: width .45s ease;
}
.idx-btn:hover { color: var(--on-dark); }
.idx-btn[aria-current="true"] { color: #f6f0e4; }
.idx-btn[aria-current="true"]::after { width: 100%; }
.idx-btn:focus-visible { outline: 2px solid color-mix(in srgb, var(--tone) 70%, transparent); outline-offset: 3px; }

/* ---- 3D model katmanı (Tripo GLB geldiğinde) ---- */
.rock-mv {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: transparent; --poster-color: transparent;
  pointer-events: none; /* sürükleme koleksiyon geçişine kalsın */
}
.rock--model .rock-img,
.rock--model .rock-svg { display: none; }
.rock--model .rock-shadow { display: none; } /* model-viewer kendi temas gölgesini çizer */

/* ---- ekran okuyucu ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}


/* ---- responsive ---- */
@media (max-width: 900px) {
  .atelier { height: auto; overflow: visible; }   /* mobilde dikey kilidi bırak, akış serbest */
  .atelier-row { grid-template-columns: auto 1fr auto; }
  .atelier-stage { height: min(56vh, 620px); }
  .atelier-info { grid-column: 1 / -1; max-width: 32rem; margin: 2vh auto 0; text-align: center; }
  .info-desc { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .atelier { padding-top: 6.8rem; }
  .atelier-row { grid-template-columns: 1fr; position: relative; }
  .atelier-stage { height: 46vh; }
  .atelier-arrow { position: absolute; top: 34%; z-index: 5; background: rgba(45,40,34,.55); }
  .atelier-arrow.prev { left: 2vw; }
  .atelier-arrow.next { right: 2vw; }
  .atelier-index { gap: 1.8rem; }
}

/* ---- hareket azaltma ---- */
@media (prefers-reduced-motion: reduce) {
  .rock, .info-fade, .rock-body, .rock-shadow { transition-duration: 180ms !important; }
  .rock.from-left, .rock.from-right, .rock.to-left, .rock.to-right { transform: none; }
  .rock-body { transform: none !important; }
}

/* ============ DETAIL DRAWER / MEKÂN MODAL ============ */
.detail-drawer {
  /* Bu renk değişkenleri .atelier içinde tanımlı; drawer .atelier dışında
     (body'nin doğrudan çocuğu) olduğu için burada yeniden tanımlanmalı,
     yoksa metin koyu --ink'e düşüp koyu zeminde okunmaz. */
  --on-dark: #f6f0e5;
  --on-dark-dim: #b8b1a3;
  --tone: #dcc492;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.6s step-end;
}
.detail-drawer[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s step-start;
}

/* Backdrop */
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.detail-drawer[aria-hidden="false"] .drawer-backdrop {
  opacity: 1;
}

/* Drawer Content */
.drawer-content {
  position: relative;
  width: min(85vw, 1100px);
  height: 100vh;
  background: rgba(18, 17, 16, 0.95);
  border-left: 1px solid rgba(246, 240, 229, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.detail-drawer[aria-hidden="false"] .drawer-content {
  transform: translateX(0);
}

/* Close Button */
.drawer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(246, 240, 229, 0.1);
  background: rgba(246, 240, 229, 0.02);
  color: var(--on-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.drawer-close:hover {
  background: rgba(246, 240, 229, 0.08);
  border-color: rgba(246, 240, 229, 0.3);
  transform: rotate(90deg);
}
.drawer-close svg {
  width: 20px;
  height: 20px;
}

/* Drawer Body */
.drawer-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  height: 100%;
  overflow: hidden;
}

/* Left side: Gallery / Image */
.drawer-gallery {
  height: 100%;
  overflow: hidden;
  background: #0d0c0b;
  position: relative;
}
.drawer-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.drawer-image-wrapper::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, transparent 75%, rgba(18, 17, 16, 0.95) 100%);
  pointer-events: none;
}
.drawer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.detail-drawer[aria-hidden="false"] .drawer-img {
  opacity: 0.92;
  transform: scale(1.0);
}

/* Right side: Information */
.drawer-text {
  padding: 8rem 4.5rem 4rem 4rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--tone);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.drawer-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--on-dark);
  margin-bottom: 2rem;
}
/* mistik hikâye: drawer'da öne çıkan, italik serif anlatı */
.drawer-story {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--on-dark);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 34em;
}
.drawer-story[hidden] { display: none; }
.drawer-desc {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--on-dark-dim);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Specs Grid in Drawer */
.drawer-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  border-top: 1px solid rgba(246, 240, 229, 0.08);
  padding-top: 2rem;
}
.d-spec {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ds-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}
.ds-value {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--on-dark);
}

/* Contact Button */
.drawer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: var(--tone);
  color: #0b0b0c;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.drawer-contact-btn:hover {
  background: #f6f0e4;
  color: #0b0b0c;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.drawer-contact-btn .btn-arrow {
  transition: transform 0.3s ease;
}
.drawer-contact-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Drawer responsive */
@media (max-width: 1080px) {
  .drawer-content { width: 100vw; }
  .drawer-body { grid-template-columns: 1fr; }
  .drawer-gallery { height: 35vh; }
  .drawer-image-wrapper::before {
    background: linear-gradient(to bottom, transparent 75%, rgba(18, 17, 16, 0.95) 100%);
  }
  .drawer-text { padding: 3rem 2.5rem 3rem; }
  .drawer-specs-grid { margin-bottom: 2.5rem; }
}
@media (max-width: 640px) {
  .drawer-specs-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .drawer-text { padding: 2rem 1.5rem 2rem; }
  .drawer-title { margin-bottom: 1.2rem; }
  .drawer-desc { margin-bottom: 2rem; }
}

/* ============ SHOWROOM BACKDROP SYSTEM ============ */
.showroom-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.showroom-wall {
  position: absolute;
  inset: -6%;
  background-image: 
    radial-gradient(120% 120% at 50% 50%, rgba(20, 18, 16, 0.25) 0%, rgba(10, 9, 8, 0.85) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--layer-bg-image, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  filter: blur(0) brightness(1);
  will-change: transform, opacity, filter;
}

.showroom-wall.has-bg {
  animation: showroomPan 42s ease-in-out infinite alternate;
}

/* Afyon Beyaz ile başlayan taşa özel küratöryel galeri katmanı. */
.showroom-wall.is-scene {
  inset: -2%;
  background-image:
    linear-gradient(90deg, rgba(9, 8, 7, 0.14) 0%, rgba(9, 8, 7, 0.08) 44%, rgba(9, 8, 7, 0.70) 76%, rgba(9, 8, 7, 0.92) 100%),
    linear-gradient(180deg, rgba(9, 8, 7, 0.30) 0%, transparent 30%, rgba(9, 8, 7, 0.36) 100%),
    var(--layer-bg-image);
  background-size: 100% 100%, 100% 100%, var(--layer-bg-size, 120% auto);
  background-position: center center, center center, var(--layer-bg-position, left center);
}

.atelier.has-showroom-scene::before {
  opacity: 0.32;
}

.atelier.has-showroom-scene .showroom-light {
  opacity: 0.26 !important;
}

.atelier.has-showroom-scene .showroom-shadow {
  opacity: 0.08;
}

.atelier.has-showroom-scene .atelier-stage::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 14%;
  bottom: 7.2%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(71, 58, 45, 0.28), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

@keyframes showroomPan {
  0% { transform: translate(0.35%, -0.2%) scale(1.012); }
  50% { transform: translate(-0.35%, 0.3%) scale(1.018); }
  100% { transform: translate(0.2%, 0.2%) scale(1.012); }
}


.showroom-light {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--tone) 35%, rgba(255, 255, 255, 0.45)) 0%, transparent 60%);
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: 0.8;
  z-index: 2;
  transform: rotate(-10deg);
  will-change: background, opacity;
}

.showroom-shadow {
  position: absolute;
  top: -15%;
  left: -10%;
  width: 100%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M50 0 C 150 150, 300 180, 450 150 C 350 250, 200 280, 50 300 M50 0 C 80 80, 150 150, 300 200 C 250 250, 150 220, 50 200 M150 150 C 220 220, 320 280, 450 300 C 350 320, 250 300, 150 250 M300 200 C 380 280, 480 320, 600 350 C 500 380, 400 350, 300 300' fill='%23000'/%3E%3Cpath d='M50 0 C 180 80, 280 120, 400 100 M200 50 C 280 120, 380 140, 500 120 C 400 180, 300 160, 200 100 M350 90 C 450 150, 550 160, 650 140 C 550 200, 450 180, 350 120' fill='%23000'/%3E%3Cpath d='M0 100 C 100 200, 250 250, 400 220 C 300 300, 150 280, 0 250 M120 180 C 200 260, 300 300, 420 280 C 320 340, 220 320, 120 260 M280 240 C 360 320, 460 350, 580 320 C 480 380, 380 360, 280 300' fill='%23000'/%3E%3C/svg%3E");
  background-size: 80% 80%;
  background-position: top left;
  background-repeat: no-repeat;
  filter: blur(24px);
  mix-blend-mode: multiply;
  opacity: 0.38;
  transform-origin: top left;
  animation: shadowWave 28s ease-in-out infinite alternate;
  z-index: 3;
  will-change: transform;
}

@keyframes shadowWave {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.01) skewX(0.5deg); }
  100% { transform: rotate(-1deg) scale(0.995) skewX(-0.3deg); }
}
