:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.56);
  --text: #0d1020;
  --text-secondary: rgba(13, 16, 32, 0.68);
  --line: rgba(13, 16, 32, 0.08);
  --shadow: 0 28px 70px rgba(18, 24, 42, 0.08);
  --accent: #2e8bff;
  --accent-soft: #f7c7a3;
  --accent-text: #ffffff;
  --mood-1: #ff3b30;
  --mood-2: #f5a623;
  --mood-3: #ffd24a;
  --mood-4: #c2c7d6;
  --mood-5: #3cc6a1;
  --mood-6: #4f7dff;
  --mood-7: #34c759;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --font-sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e11;
    --surface: rgba(21, 23, 28, 0.8);
    --surface-strong: #15171c;
    --surface-soft: rgba(21, 23, 28, 0.62);
    --text: #f7f8ff;
    --text-secondary: rgba(247, 248, 255, 0.68);
    --line: rgba(247, 248, 255, 0.08);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    --accent: #f4c6a1;
    --accent-soft: #f5ae7b;
    --accent-text: #051020;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(46, 139, 255, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(247, 199, 163, 0.18), transparent 28%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

.ambient {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.45;
}

.ambient-one {
  top: -160px;
  left: -80px;
  background: rgba(46, 139, 255, 0.18);
}

.ambient-two {
  top: 420px;
  right: -120px;
  background: rgba(247, 199, 163, 0.24);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: 16px 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-16);
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8c5ab 0%, #c4d5ef 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 28px rgba(38, 54, 101, 0.16);
}

.brand-triangle {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 18px solid #1e2d57;
  border-radius: 4px;
  transform: translateY(-3px);
}

.brand-shadow {
  position: absolute;
  bottom: 11px;
  width: 20px;
  height: 6px;
  border-radius: 999px;
  background: rgba(30, 45, 87, 0.22);
  filter: blur(4px);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 600;
}

.brand-copy span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  backdrop-filter: blur(24px);
}

.header-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.36);
  color: var(--text);
}

.header-cta,
.primary-button,
button {
  background: var(--accent);
  color: var(--accent-text) !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 24%, transparent);
}

main {
  display: grid;
  gap: 96px;
}

.hero,
.gallery-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

.stack-lg,
.stack-md,
.stack-sm {
  display: grid;
}

.stack-lg {
  gap: 32px;
}

.stack-md {
  gap: 20px;
}

.stack-sm {
  gap: 8px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 13ch;
}

p,
.form-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 56ch;
  font-size: 1.125rem;
}

.hero-actions,
.hero-points,
.form-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-copy {
  align-content: start;
  justify-items: start;
  padding: 16px 0;
}

.primary-button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-button:hover,
button:hover {
  transform: translateY(-1px);
}

.hero-actions {
  gap: 20px;
  margin-bottom: 8px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--text);
  font-weight: 600;
}

.hero-link::after {
  content: "→";
  margin-left: 8px;
  color: var(--text-secondary);
}

.hero-points {
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
}

.hero-points span {
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero-gallery,
.shot-stack,
.gallery-visuals,
.gallery-visuals-wide,
.overview-grid,
.waitlist-section {
  display: grid;
  gap: 16px;
}

.hero-gallery {
  grid-template-columns: minmax(320px, 420px);
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.shot-frame,
.overview-card,
.waitlist-form {
  padding: 16px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.shot-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
  padding: 0;
  width: 100%;
}

.shot-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.shot-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 244, 248, 0.92)),
    var(--surface);
}

.hero-shot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 244, 248, 0.92)),
    var(--surface);
}

.shot-dark {
  background:
    linear-gradient(180deg, rgba(17, 18, 24, 0.96), rgba(8, 9, 14, 0.96)),
    #0d0e11;
  color: #f7f8ff;
}

@media (prefers-color-scheme: dark) {
  .hero-shot {
    background:
      linear-gradient(180deg, rgba(17, 18, 24, 0.96), rgba(8, 9, 14, 0.96)),
      #0d0e11;
  }
}

.shot-tall {
  min-height: 0;
  aspect-ratio: 9 / 19.5;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.overview-card {
  gap: 20px;
  padding: 32px;
  align-content: start;
  min-height: 100%;
}

.feeling-scale {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.feeling-scale span {
  height: 14px;
  border-radius: 999px;
}

.mood-1 { background: var(--mood-1); }
.mood-2 { background: var(--mood-2); }
.mood-3 { background: var(--mood-3); }
.mood-4 { background: var(--mood-4); }
.mood-5 { background: var(--mood-5); }
.mood-6 { background: var(--mood-6); }
.mood-7 { background: var(--mood-7); }

.gallery-section {
  gap: 32px;
  padding-inline: 32px;
}

.gallery-row {
  gap: 48px;
  padding-block: 8px;
}

.gallery-copy {
  display: grid;
  gap: 20px;
  align-content: start;
  padding-inline: 8px;
}

.gallery-visuals {
  grid-template-columns: repeat(2, minmax(240px, 280px));
  align-items: start;
  justify-content: end;
}

.gallery-visuals-wide .shot-frame:first-child {
  transform: translateY(24px);
}

.section-heading {
  max-width: 720px;
  gap: 20px;
  padding-inline: 32px;
}

.waitlist-section {
  gap: 32px;
  padding-inline: 32px;
}

.waitlist-form {
  gap: 16px;
  padding: 24px;
  max-width: 760px;
}

.waitlist-success {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.waitlist-success[hidden] {
  display: none !important;
}

input[type="email"] {
  flex: 1;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  color: var(--text);
}

input[type="email"]:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 32%, transparent);
  outline-offset: 2px;
}

.waitlist-form.is-submitting button {
  opacity: 0.7;
  pointer-events: none;
}

.hidden-field,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .hero,
  .gallery-row,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header,
  .header-nav,
  .hero-actions,
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav {
    width: 100%;
    border-radius: 24px;
  }

  .header-nav a,
  .header-cta,
  .primary-button,
  button,
  input[type="email"] {
    width: 100%;
  }

  .hero-link {
    min-height: auto;
    justify-content: center;
    padding-top: 4px;
  }

  .gallery-visuals {
    grid-template-columns: 1fr;
  }

  .gallery-visuals-wide .shot-frame:first-child {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 32px, 1240px);
    padding-top: 16px;
  }

  main {
    gap: 72px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
    max-width: 10ch;
  }

  h2,
  h3 {
    max-width: none;
  }

  .shot-tall {
    min-height: 520px;
  }

  .overview-card,
  .waitlist-form {
    padding: 24px;
  }

  .gallery-section,
  .waitlist-section,
  .section-heading {
    padding-inline: 0;
  }
}
