/* Dellamora Studios — coming soon.
   One screen. Tokens follow BRAND.md. */

:root {
  color-scheme: dark;
  --ink: #15131A;
  --bone: #F5F1EA;
  --muted: rgba(245, 241, 234, .62);
  --dim: rgba(245, 241, 234, .36);
  --hair: rgba(245, 241, 234, .08);
  --hair-2: rgba(245, 241, 234, .14);
  --violet: #6E56FF;
  --violet-light: #9A88FF;
  --violet-deep: #4A33D9;
  --coral: #FF5C4D;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden;
  background: var(--ink); color: var(--bone);
  font-family: var(--body); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p, h1 { margin: 0; }
svg, img { display: block; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; border-radius: 999px; }

/* ---------- Backdrop: one quiet light from above ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(110, 86, 255, .10), transparent 70%),
    radial-gradient(40% 35% at 50% 42%, rgba(110, 86, 255, .06), transparent 70%); }

/* ---------- Screen ---------- */
.screen {
  position: relative; z-index: 1;
  height: 100dvh; height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--pad);
}

.top, .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.brand img { width: 24px; height: 24px; }
.status {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px; border-radius: 999px;
  border: 1px solid var(--hair-2); background: rgba(245, 241, 234, .03);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 92, 77, .6); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 92, 77, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 92, 77, 0); } }

.bottom { font-size: 12.5px; letter-spacing: .02em; color: var(--dim); }
.bottom nav { display: flex; gap: 22px; }
.bottom a { color: var(--muted); transition: color .2s; }
.bottom a:hover { color: var(--bone); }

/* ---------- Stage ---------- */
.stage { display: grid; place-content: center; justify-items: center; text-align: center; gap: clamp(18px, 3.2vh, 34px); min-height: 0; }

.orb { display: grid; place-items: center; width: min(26vh, 44vw, 240px); aspect-ratio: 1; }

.mora { width: 100%; height: auto; cursor: pointer; user-select: none; -webkit-user-select: none;
  filter: drop-shadow(0 24px 40px rgba(21, 19, 26, .6));
  animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.mora .eye-group { transform-box: fill-box; transform-origin: center; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--violet-light); }

h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 8.4vw, 112px); line-height: 1; letter-spacing: -.05em; white-space: nowrap;
}
h1 em { font-style: normal;
  background: linear-gradient(95deg, var(--violet-light) 0%, var(--violet) 55%, var(--coral) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }


.cta {
  display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px 0 24px; border-radius: 999px;
  background: var(--bone); color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 20px 50px -20px rgba(245, 241, 234, .45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 30px 60px -20px rgba(245, 241, 234, .6); }
.cta:active { transform: translateY(0) scale(.98); }
.cta svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.cta:hover svg { transform: translateX(3px); }

/* ---------- Entrance ---------- */
.in { opacity: 0; transform: translateY(14px); animation: in 1.1s var(--ease) forwards; }
.in.d1 { animation-delay: .05s } .in.d2 { animation-delay: .18s } .in.d3 { animation-delay: .3s } .in.d4 { animation-delay: .42s } .in.d5 { animation-delay: .54s } .in.d6 { animation-delay: .7s }
@keyframes in { to { opacity: 1; transform: none; } }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .brand span { display: none; }
  .bottom nav { gap: 14px; }
  .bottom .copy { display: none; }
  .bottom { justify-content: center; }
  .orb { width: min(22vh, 42vw); }
  h1 { font-size: clamp(40px, 12vw, 64px); }
}
@media (max-height: 600px) { .orb { width: min(20vh, 30vw); } .stage { gap: 14px; } }

@media (prefers-reduced-motion: reduce) {
  .mora, .status i { animation: none; }
  .in { animation: none; opacity: 1; transform: none; }
  .cta, .cta svg { transition: none; }
}
