@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Exo+2:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #0c1018;
  --ink-soft: #3d4556;
  --paper: #f7f4ef;
  --paper-2: #efeae3;
  --white: #ffffff;
  --night: #070b12;
  --night-2: #0f1624;
  --cyan: #5eead4;
  --cyan-dim: rgba(94, 234, 212, 0.18);
  --magenta: #e879f9;
  --magenta-dim: rgba(232, 121, 249, 0.16);
  --fuchsia: #fb3fc7;
  --fuchsia-soft: #ff8ae6;
  --fuchsia-dim: rgba(251, 63, 199, 0.18);
  --gold-dim: rgba(201, 169, 98, 0.22);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 24px 80px rgba(12, 16, 24, 0.12);
  --shadow-deep: 0 40px 120px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-tech: "Exo 2", "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s var(--ease-out), backdrop-filter 0.35s;
}

.site-header.is-light {
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(12, 16, 24, 0.06);
}

.site-header.is-light .nav-link,
.site-header.is-light .logo-text {
  color: var(--ink);
}

.site-header.is-light .nav-cta {
  background: var(--ink);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: auto;
  height: 36px;
}

.logo-text {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--fuchsia-soft), var(--fuchsia));
  color: var(--white);
  box-shadow: 0 8px 32px var(--fuchsia-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #dbc07a, var(--gold));
  color: var(--ink);
  box-shadow: 0 12px 40px var(--gold-dim);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost {
  border: 1px solid rgba(12, 16, 24, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.btn--glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white);
  backdrop-filter: blur(12px);
}

/* Light sections */
.section {
  padding: 96px 0;
}

.section--ivory,
.section--white,
.section--dark {
  padding: 96px 0;
}

.section--dark {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(251, 63, 199, 0.08), transparent 55%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.58);
}

.section--dark .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section--dark .feature-card p {
  color: rgba(255, 255, 255, 0.58);
}

.section--dark .feature-card span {
  color: var(--fuchsia-soft);
}

.section--dark .stage-teaser {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section--dark .stage-teaser__body p {
  color: rgba(255, 255, 255, 0.58);
}

.section--dark .stage-teaser__tag {
  background: rgba(251, 63, 199, 0.15);
  color: var(--fuchsia-soft);
}

.section--dark .site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.section-head {
  margin-bottom: 48px;
}

.section-head .display {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 10px 0 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(12, 16, 24, 0.06);
  box-shadow: var(--shadow-soft);
}

.feature-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Stage preview cards on homepage */
.stage-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stage-teaser {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(12, 16, 24, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.stage-teaser:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(12, 16, 24, 0.16);
}

.stage-teaser__screen {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, var(--night-2), #1a2438);
  padding: 18px;
  position: relative;
}

.stage-teaser__mini {
  height: 100%;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 10px;
}

.stage-teaser__thumb {
  border-radius: 10px;
  overflow: hidden;
  background: #111827;
}

.stage-teaser__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-teaser__meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.stage-teaser__figure {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 58%;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s var(--ease-out);
}

.stage-teaser:hover .stage-teaser__figure {
  transform: translateX(-50%) translateY(-6px) scale(1.03);
}

.stage-teaser__body {
  padding: 36px 22px 22px;
}

.stage-teaser__body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 6px;
}

.stage-teaser__body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.stage-teaser__tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-2);
}

/* Footer */
.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid rgba(12, 16, 24, 0.08);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .feature-grid,
  .stage-teaser-grid {
    grid-template-columns: 1fr;
  }

  .site-nav .nav-link:not(.nav-cta) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
