/* Showcase screen (jewellery / cosmetics / boutiques) — see showcase.js. Motion = transform/opacity only. */

/* ---------- hero ---------- */
.sc-hero {
  position: relative; height: calc(100svh - 60px); min-height: 520px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.sch-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% 68%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--env) 80%, #6b5230), var(--bg) 70%);
}
.sch-layer { position: absolute; inset: -10% 0; pointer-events: none; will-change: transform; }
.sch-layer.near { z-index: 3; }
.sch-text { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; padding: 0 24px; margin-top: -4vh; will-change: transform, opacity; }
.sch-logo { max-width: min(70vw, 340px); max-height: 24vh; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); }
.sch-name {
  margin: 0; font-family: var(--f-script); font-weight: 400; font-size: calc(clamp(44px, 13vw, 72px) * var(--ss)); line-height: 1.1;
  background: linear-gradient(180deg, #fff2c6, var(--gold) 55%, #9a6c22); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sch-tagline { margin: 0; color: var(--text); font-size: 12.5px; letter-spacing: .34em; opacity: .9; }
.sch-product-wrap { position: relative; z-index: 2; margin-top: 3vh; display: grid; place-items: center; will-change: transform, opacity; }
.sch-halo {
  position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 35%, transparent), transparent 62%);
}
.sch-float { animation: schFloat 5s ease-in-out infinite alternate; will-change: transform; }
.sch-product { max-height: 38svh; max-width: 72vw; width: auto; display: block; filter: drop-shadow(0 22px 26px rgba(0,0,0,.6)); }
@keyframes schFloat { from { transform: translate3d(0, 0, 0) rotate(-2deg); } to { transform: translate3d(0, -16px, 0) rotate(2deg); } }
.sch-scroll {
  position: absolute; bottom: 22px; left: 50%; z-index: 4; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px;
  color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: .32em;
}
.sch-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: schHint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes schHint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.sc-hero + main { padding-top: 8px; }

/* ---------- collections ---------- */
.col-list { display: grid; gap: 18px; }
.col-card { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px -20px rgba(0,0,0,.7); border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.col-frame { aspect-ratio: 16 / 9; overflow: hidden; }
.col-img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.18); will-change: transform; }
.col-card figcaption { display: grid; gap: 2px; padding: 12px 16px 14px; text-align: center; }
.col-title { color: var(--ink); font-size: 13px; letter-spacing: .3em; }
.col-sub { color: var(--muted); font-style: italic; font-size: 16px; }

/* ---------- brand wall ---------- */
.brand-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.brand-tile {
  height: 84px; border-radius: 14px; display: grid; place-items: center; padding: 12px;
  background: color-mix(in srgb, var(--paper) 88%, white 4%); border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  transition: transform .25s, border-color .25s;
}
.brand-tile:hover { transform: translateY(-2px); border-color: var(--gold); }
.brand-tile.light { background: #fbf7f0; }
.brand-tile img { max-width: 100%; max-height: 46px; object-fit: contain; }
.brand-tile span { color: var(--ink); font-size: 12px; letter-spacing: .18em; text-align: center; line-height: 1.4; }
.brand-tile.light span { color: #2a1a0e; }
@media (min-width: 700px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } .col-list { gap: 24px; } }

@media (prefers-reduced-motion: reduce) { .sch-float, .sch-scroll i { animation: none; } }
/* 1. nothing on the page animates while the envelope still covers it */
body.locked .sc-hero *, body.locked main * { animation-play-state: paused !important; }
