/* Riya Studio launch page: one piece, one wall. Tokens follow public/view-tone.css. */
:root {
  --wall: #0E0F12;
  --wall-2: #15161A;
  --ink: #EDE9E1;
  --muted: #A39E95;
  --gold: #D9BC7E;
  --line: rgba(197, 168, 128, 0.35);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--wall); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px 5vw; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.02em; }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.3s; }
.nav a:hover { color: var(--gold); }
.nav .soon-dot { font-size: 0.6rem; color: var(--gold); margin-left: 4px; vertical-align: super; letter-spacing: 0.1em; }

/* Hero: the piece on the wall, with a light you can move */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 110px 4vw 60px; overflow: hidden; }
.hero > div { width: 100%; display: flex; flex-direction: column; align-items: center; }
.stage { position: relative; width: min(1180px, 100%, calc((100vh - 240px) * 1.333)); border-radius: 2px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.stage img { width: 100%; height: auto; filter: brightness(0.82) contrast(1.05); transition: filter 1.2s var(--ease); }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 30%), rgba(255, 236, 200, 0.85) 0%, rgba(255, 236, 200, 0.18) 22%, rgba(0, 0, 0, 0.55) 60%);
  transition: background 0.15s linear;
}
.stage:hover img { filter: brightness(0.95) contrast(1.08); }
.hint { margin-top: 18px; text-align: center; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hint svg { vertical-align: -3px; margin-right: 8px; }

/* Placard */
.placard { max-width: 1180px; margin: 0 auto; padding: 70px 5vw 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: start; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
h1 em { font-style: italic; color: var(--gold); }
.lede { font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; color: #D8D3C9; margin: 24px 0 0; }
.facts { border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.facts span:first-child { color: var(--muted); font-variant: small-caps; letter-spacing: 0.08em; }
.facts span:last-child { text-align: right; }

/* Gist: three pillars */
.gist { max-width: 1180px; margin: 0 auto; padding: 60px 5vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar svg { color: var(--gold); margin-bottom: 16px; }
.pillar h2 { font-size: 1.45rem; margin-bottom: 10px; }
.pillar p { color: var(--muted); line-height: 1.7; margin: 0; font-size: 0.95rem; }

/* Coming soon */
.soon { background: var(--wall-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.soon-inner { max-width: 1180px; margin: 0 auto; padding: 70px 5vw; }
.soon h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 34px; }
.hero-intro { margin: 22px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--ink); }
.hint { margin-top: 8px !important; }
.soon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.soon-card { background: var(--wall-2); padding: 28px 24px; text-decoration: none; transition: background 0.4s var(--ease); }
.soon-card:hover { background: #1B1C21; }
.soon-card strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }
.soon-card span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.soon-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 12px 0 0; }

/* Coming-soon standalone page */
.soon-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 6vw 60px; }
.soon-page h1 { margin: 10px 0 18px; }
.soon-page p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; line-height: 1.7; }
.soon-thumb { width: min(440px, 86vw); height: auto; margin: 0 auto 36px; opacity: 0.75; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.btn:hover { background: var(--gold); color: var(--wall); }

/* Footer */
.foot { max-width: 1180px; margin: 0 auto; padding: 40px 5vw 50px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 860px) {
  .nav { display: none; }
  .placard, .gist { grid-template-columns: 1fr; }
  .soon-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-top: 100px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Curiosity layer: lights-up reveal, close-up, veiled frames */
.stage img { opacity: 0; transform: scale(1.03); }
.stage.lit img { opacity: 1; transform: scale(1); transition: opacity 2.6s var(--ease), transform 4s var(--ease), filter 1.2s var(--ease); }
.stage::after { opacity: 0; transition: opacity 2.4s var(--ease) 0.8s; }
.stage.lit::after { opacity: 1; }
.hero-line { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink); opacity: 0; transition: opacity 2s var(--ease) 2.2s; }
.stage.lit ~ .hero-line, .lit-line { opacity: 1; }

.closer { max-width: 1180px; margin: 0 auto; padding: 50px 5vw 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.loupe { aspect-ratio: 1 / 1; border-radius: 50%; background-image: url('/triptych-golden-mandala.jpg'); background-size: 520%; background-position: 50% 33%; box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0, 0, 0, 0.6); transition: background-position 0.3s linear; cursor: crosshair; touch-action: none; }
.closer h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 18px; }
.closer p { color: #D0CBC1; font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; margin: 0 0 14px; }

.veiled { max-width: 1180px; margin: 0 auto; padding: 30px 5vw 90px; }
.veiled h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.veiled > p { color: var(--muted); margin: 0 0 40px; }
.veil-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; }
.veil { position: relative; aspect-ratio: 1 / 1; background: #08090B; border: 10px solid #050506; outline: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7); display: grid; place-items: center; overflow: hidden; }
.veil::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 188, 126, 0.22), transparent 65%); filter: blur(18px); animation: breathe 6s ease-in-out infinite; }
.veil:nth-child(2)::before { animation-delay: 2s; border-radius: 10%; }
.veil:nth-child(3)::before { animation-delay: 4s; }
.veil span { position: relative; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); text-align: center; line-height: 2; }
.veil span b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: 0; color: var(--ink); text-transform: none; }
@keyframes breathe { 0%, 100% { opacity: 0.35; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.05); } }

.cta { text-align: center; padding: 80px 5vw; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; line-height: 1.7; }

@media (max-width: 860px) {
  .closer { grid-template-columns: 1fr; }
  .veil-row { gap: 16px; }
}
