/* Homepage: studio showcase (spotlight carousel, studio directory, credits wall). */

/* ---------- spotlight */
.sx { background: var(--navy); color: #fff; padding: 48px 0 40px; position: relative; overflow: hidden; }
.sx::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: url(/brand/waves.png) repeat-x left top / auto 180px; opacity: .35; pointer-events: none; }
.sx-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.sx .eyebrow { color: var(--red); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6em; }
.sx h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 0; }
.sx .lead { color: var(--mist); font-size: 1.05rem; }
.sx .btn.ghost { color: #fff; }

.sx-car { position: relative; z-index: 1; }
.sx-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; border-radius: 22px; outline-offset: 4px; }
.sx-track::-webkit-scrollbar { display: none; }
.sx-slide { scroll-snap-align: start; display: grid; grid-template-columns: 1.15fr 1fr; background: #13133d; border: 1px solid #23235a;
  border-radius: 22px; overflow: hidden; min-height: 420px; }

.sx-art { --h: 230; position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff; min-height: 300px;
  background:
    radial-gradient(120% 90% at 85% 15%, hsl(var(--h) 70% 38% / .55), transparent 60%),
    radial-gradient(80% 70% at 10% 100%, hsl(calc(var(--h) + 40) 70% 30% / .5), transparent 60%),
    #0d0d33; }
.sx-art::before { content: ""; position: absolute; inset: 0; background: url(/brand/waves.png) repeat left top / auto 120px; opacity: .08; }
.sx-art .sx-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.sx-art:hover .sx-cover { transform: scale(1.03); }
.sx-art.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 11 46 / .25) 0%, transparent 35%, rgb(11 11 46 / .85) 100%); }
.sx-art .sx-logo { position: absolute; left: 26px; bottom: 50px; z-index: 2; max-width: 55%; max-height: 84px; object-fit: contain; filter: drop-shadow(0 2px 12px rgb(0 0 0 / .5)); }
.sx-art .sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--red); right: 9%; top: 14%; opacity: .95;
  box-shadow: 0 0 80px rgb(230 30 42 / .45); transition: transform .6s ease; }
.sx-art:hover .sun { transform: scale(1.04); }
.sx-num { position: absolute; left: 28px; top: 22px; text-shadow: 0 1px 6px rgb(0 0 0 / .6); font-weight: 900; font-size: .9rem; letter-spacing: .2em; color: var(--mist); z-index: 2; }
.sx-ja { position: absolute; right: 26px; bottom: 26px; writing-mode: vertical-rl; font-weight: 800; font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: .18em; color: #fff; opacity: .9; z-index: 2; max-height: 80%; overflow: hidden; }
.sx-en { position: absolute; left: 26px; right: 90px; bottom: 54px; font-weight: 900; line-height: .95; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem); z-index: 2; text-wrap: balance; overflow-wrap: anywhere; }
.sx-city { position: absolute; left: 28px; bottom: 24px; text-shadow: 0 1px 6px rgb(0 0 0 / .6); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); z-index: 2; }
.sx-art.has-cover .sun, .sx-art.has-cover .sx-ja, .sx-art:has(.sx-logo) .sx-en { display: none; }
.sx-art:not(.has-cover):has(.sx-logo) .sx-logo { bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); max-height: 120px; }
.sx-art:not(.has-cover):has(.sx-logo) .sun { opacity: .35; }
.sx-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 1.2em; }
.sx-gallery img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 8px; border: 1px solid #23235a; }

.sx-info { padding: 34px 36px; display: flex; flex-direction: column; gap: 2px; }
.sx-info .kicker { color: var(--red); }
.sx-info h2 { margin: .1em 0 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.sx-info h2 a { text-decoration: none; }
.sx-info h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sx-other { color: var(--mist); margin: 0 0 .6em; }
.sx-tag { font-size: 1.05rem; }
.sx-info .tags { margin: .2em 0 .8em; }
.sx-info .tag { background: #23235a; color: #fff; border-color: #2e2e70; text-decoration: none; }
.sx-info .tag:hover { background: #2e2e70; }
.sx-ch { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mist); margin: .6em 0 .3em; }
.sx-credits { list-style: none; margin: 0 0 1.2em; padding: 0; }
.sx-credits li { padding: .38em 0; border-bottom: 1px solid #23235a; font-weight: 600; }
.sx-credits li:last-child { border-bottom: 0; }
.sx-info .row { margin-top: auto; }

.sx-nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.sx-btn { background: transparent; color: #fff; border: 1px solid #3a3a7a; border-radius: 999px; min-width: 44px; height: 44px; padding: 0 14px;
  font: inherit; font-weight: 700; cursor: pointer; }
.sx-btn:hover { border-color: #fff; }
.sx-play { margin-left: auto; font-size: .85rem; }
.sx-dots { display: flex; gap: 8px; }
.sx-dots button { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.sx-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #3a3a7a; transition: background .2s; }
.sx-dots button[aria-current="true"]::after { background: var(--red); }
.sx button:focus-visible, .sx-track:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- directory */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chips a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4em .9em; font-weight: 600; font-size: .9rem; }
.chips a b { color: var(--muted); font-weight: 700; margin-left: .2em; }
.chips a:hover { border-color: var(--navy); }

/* ---------- credits wall */
.cwall-sec { background: var(--navy); color: #fff; padding: 44px 0 40px; }
.cwall-sec .sec-h h2 { margin-top: 0; }
.cwall-sec .muted { color: var(--mist); font-size: .85rem; margin-top: 16px; }
.cwall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px;
  background: #23235a; border: 1px solid #23235a; border-radius: 14px; overflow: hidden; }
.cwall li { background: var(--navy); }
.cwall a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; height: 100%; transition: background .15s; }
.cwall a:hover { background: #15154a; }
.cwall b { font-weight: 800; line-height: 1.3; }
.cwall span { color: var(--mist); font-size: .82rem; }

@media (max-width: 860px) {
  .sx { padding-top: 32px; }
  .sx-top { grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
  .sx-slide { grid-template-columns: 1fr; min-height: 0; }
  .sx-art { min-height: 0; aspect-ratio: 16 / 10; }
  .sx-info { padding: 22px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-track { scroll-behavior: auto; }
  .sx-art .sun { transition: none; }
}
