:root {
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;
  --border: rgba(255, 255, 255, 0.11);
  --accent: #4ac9ef;
  --max-width: 1080px;
  --radius: 22px;
}

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

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.wrap {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 50%;
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 450;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 84px 0 36px;
  text-align: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--accent);
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 680;
  color: var(--text);
}

.hero-lead {
  margin: 0 auto 20px;
  max-width: 56ch;
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.48;
  color: var(--text-secondary);
  font-weight: 420;
}

.availability-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
  margin: 40px auto 0;
}

.hero-media img {
  width: 100%;
  margin-inline: auto;
}

/* Story & Feature Bands */
.story-band {
  padding: 92px 0 96px;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.narrow-copy {
  max-width: 680px;
  text-align: center;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 660;
  color: var(--text);
}

.narrow-copy p {
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.55;
  color: var(--text-secondary);
}

.wide-media {
  margin-top: 44px;
}

.media-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #09090b;
}

.media-frame img {
  width: 100%;
}

/* Alternating Features */
.features-band {
  padding: 104px 0;
  background: var(--bg);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 56px;
}

.feature-row + .feature-row {
  margin-top: 96px;
}

.feature-row.is-reversed .feature-text {
  order: 2;
}

.feature-row.is-reversed .feature-media {
  order: 1;
}

.feature-text h3 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 650;
  color: var(--text);
}

.feature-text p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 44ch;
}

.feature-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0b0f;
}

.feature-media img {
  width: 100%;
}

/* Aspect Ratio Picker Highlight */
.aspect-caption {
  margin-top: 14px !important;
  font-size: 0.9rem !important;
  color: var(--accent) !important;
  font-weight: 500;
}

.aspect-showcase {
  padding: 20px;
  background: #0a0b0f;
}

.aspect-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #020306;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 16px;
}

.aspect-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 2.39 / 1;
  max-height: 100%;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(74, 201, 239, 0.65), transparent 55%),
    radial-gradient(ellipse at 32% 62%, rgba(28, 92, 214, 0.72), transparent 60%),
    linear-gradient(160deg, #061539 0%, #02081a 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 36px rgba(19, 187, 239, 0.16);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  transition: aspect-ratio 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.aspect-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f5f5f7;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.aspect-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.aspect-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 550;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.aspect-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.aspect-btn.is-active {
  color: #000000;
  background: var(--text);
  border-color: var(--text);
}

/* Closing Section */
.closing-band {
  padding: 88px 0 104px;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.closing-band .wide-media {
  margin-top: 0;
}

.closing-copy {
  margin-top: 44px;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 36px;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.footer-brand img {
  border-radius: 50%;
}

.footer-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Subtle section reveal */
.story-band,
.feature-row,
.closing-band {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.is-hidden-reveal {
  opacity: 0;
  transform: translateY(18px);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 880px) {
  .hero {
    padding: 58px 0 24px;
  }

  .story-band,
  .features-band,
  .closing-band {
    padding: 68px 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row + .feature-row {
    margin-top: 68px;
  }

  .feature-row.is-reversed .feature-text,
  .feature-row.is-reversed .feature-media {
    order: initial;
  }

  .feature-text p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 32px, var(--max-width));
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.82rem;
  }
}

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

  .story-band,
  .feature-row,
  .closing-band,
  .aspect-screen,
  .aspect-btn {
    transition: none;
  }

  .is-hidden-reveal {
    opacity: 1;
    transform: none;
  }
}
