/* index.html — the studio homepage.
   Extracted from the page's <style> block; the <link> replaces it in place. */

:root {
  --bg:         #000000;
  --purple-mid: #7B2FFF;
  --purple-hi:  #B264FF;
  --pink:       #D44EFF;
  --white:      #FFFFFF;
  --muted:      rgba(255,255,255,0.55);
  --line:       rgba(255,255,255,0.10);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Ambient glow — mostly black with a faint blue drift */
body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(38% 38% at 22% 28%, rgba(46,110,255,0.13), transparent 72%),
    radial-gradient(36% 36% at 82% 78%, rgba(30,80,200,0.11), transparent 72%),
    radial-gradient(28% 28% at 62% 18%, rgba(90,150,255,0.07), transparent 72%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: drift 34s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate3d(-2%, -1.5%, 0) scale(1);    }
  50%  { transform: translate3d(2.5%, 2%,  0) scale(1.06); }
  100% { transform: translate3d(-1.5%, 2.5%, 0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 7rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Header ── */
header {
  margin-bottom: clamp(3rem, 8vh, 6rem);
  text-align: center;
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-hi);
  margin-bottom: 1.1rem;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 auto;
}
.subtitle {
  margin: 1.4rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

/* Cards live in common/css/design-system.css — `product-configuration.html`
   shows the same grid. Only the homepage's own two-section layout is here. */

/* ── Ready / Soon sections ──
   Two grids, divided. The ready grid runs two-up rather than four-up: with one
   ready experience, a quarter-width card beside three empty columns reads as a
   broken page, and it gives the openable work the larger frame it deserves. */
.cards--ready { grid-template-columns: repeat(2, 1fr); }
.cards--ready .card { min-height: 340px; }
@media (max-width: 560px) {
  .cards--ready { grid-template-columns: 1fr; }
}

/* Soon runs three-up, not four: at a quarter width the titles wrap and the
   photos lose their subject. Same card height as the ready section. */
.cards--soon { grid-template-columns: repeat(3, 1fr); }
.cards--soon .card { min-height: 340px; }
@media (max-width: 1000px) {
  .cards--soon { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards--soon { grid-template-columns: 1fr; }
}

/* An unlabelled hairline: the cards' own badges say which side is which. */
.grid-divider {
  height: 1px;
  background: var(--line);
  margin: clamp(2.5rem, 6vh, 4.5rem) 0;
}

/* ── Footer ── */
.site-footer {
  margin-top: clamp(3rem, 8vh, 6rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
}
.reserved-link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.reserved-link:hover { color: var(--white); }
