/* Elevate — Ascend-style: minimal, bold, elevation aura */
:root {
  color-scheme: dark;
  --bg: #060608;
  --bg-soft: #0a0a0e;
  --ink: #f0eeeb;
  --muted: #7a7875;
  --line: rgba(255, 255, 255, 0.06);
  --accent: #e8dcc4;
  --accent-soft: rgba(232, 220, 196, 0.08);
  --glow: rgba(232, 220, 196, 0.15);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-solid: #0e0e12;
  --radius: 10px;
  --radius-lg: 16px;
  --space-xs: 8px;
  --space-sm: 20px;
  --space-md: 28px;
  --space-lg: 48px;
  --space-xl: 64px;
  --space-2xl: 96px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Syne", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.video-background {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  filter: saturate(1.2) contrast(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 2, 3, 0.58) 0%, rgba(2, 2, 3, 0.72) 38%, rgba(2, 2, 3, 0.88) 100%),
    radial-gradient(120% 80% at 50% -20%, rgba(232, 220, 196, 0.1) 0%, rgba(0, 0, 0, 0) 52%);
}

/* Full-bleed aura: gradient suggesting rise / light from above */
.aura {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--glow) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-2xl);
}

/* Header — glass nav over video */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 8, 0.58);
  backdrop-filter: blur(10px);
}

.topbar {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}

.logo {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav a {
  color: var(--muted);
  padding: 9px 14px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent);
  background: var(--surface);
}

.actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.actions .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.icon-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.icon-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.icon-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: relative;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--line);
  max-width: 680px;
  margin: 0 auto;
  background: rgba(6, 6, 8, 0.7);
  backdrop-filter: blur(10px);
}

.mobile-menu:not(.hidden) {
  display: flex;
}

.mobile-menu a {
  padding: var(--space-sm) var(--space-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.is-active {
  color: var(--accent);
  background: var(--surface);
}

.mobile-menu .btn {
  margin-top: var(--space-xs);
  align-self: flex-start;
}

.hidden {
  display: none !important;
}

@media (min-width: 960px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--space-md) var(--space-md);
  }

  .logo {
    justify-self: start;
  }

  .nav {
    display: flex;
    justify-self: center;
  }

  .actions {
    justify-self: end;
  }

  .actions .btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .icon-button {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 24px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--surface);
}

.btn.solid {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.btn.solid:hover {
  box-shadow: 0 0 32px var(--glow);
  filter: brightness(1.05);
}

/* Hero — full-bleed feel, huge word, tagline, CTA, CA, RISE */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 560px;
  margin: 0 auto;
}

.hero-word {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 18vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
  text-shadow: 0 0 60px var(--glow);
}

.hero-tagline {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.ca-card {
  width: 100%;
  max-width: 520px;
  padding: 12px;
  text-align: left;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid rgba(232, 220, 196, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.ca-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.ca-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-card code {
  display: block;
  min-height: 46px;
  min-width: 0px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
  color: #f6e9d0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  word-break: break-all;
}

.ca-copy {
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(232, 220, 196, 0.28);
  background: rgba(232, 220, 196, 0.12);
  color: var(--accent);
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ca-copy:hover {
  background: rgba(232, 220, 196, 0.22);
  border-color: rgba(232, 220, 196, 0.46);
  color: #fff;
}

.ca-copy.is-clicked {
  transform: translateY(1px);
}

.ca-copy.is-success {
  background: rgba(122, 201, 165, 0.2);
  border-color: rgba(122, 201, 165, 0.58);
  color: #9ef0c6;
}

.hero-rise {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* Sections — minimal styling so hero stays the star */
.section {
  padding: var(--space-xl) 0;
  scroll-margin-top: 110px;
}

.section.minimal .section-head {
  margin-bottom: var(--space-lg);
}

.section.minimal.alt {
  padding: var(--space-xl) 0;
  background: rgba(14, 14, 18, 0.78);
  margin: 0 calc(-1 * var(--space-md));
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 440px;
  margin: 0 auto var(--space-lg);
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-xs);
}

.section-head h2 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--ink);
}

.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Cards */
.card-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.card {
  background: rgba(14, 14, 18, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(232, 220, 196, 0.12);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-xs);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Manifesto — prose block */
.manifesto {
  max-width: 520px;
  margin: 0 auto;
}

.manifesto p {
  margin: 0 0 var(--space-md);
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.manifesto p:last-child {
  margin-bottom: 0;
}

.story-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.story {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
}

.story:hover {
  border-color: rgba(232, 220, 196, 0.1);
}

.story h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-xs);
}

.story p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Steps */
.steps {
  display: grid;
  gap: var(--space-md);
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) var(--space-lg);
  background: rgba(14, 14, 18, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: var(--ink);
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA — minimal */
.cta {
  padding: var(--space-xl) 0 0;
}

.cta.minimal .cta-card {
  background: rgba(232, 220, 196, 0.08);
  border: 1px solid rgba(232, 220, 196, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.cta-card h2 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 var(--space-sm);
  color: var(--ink);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

/* Footer — single word + links */
.footer {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-word {
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 959px) {
  .actions .btn.ghost {
    display: none;
  }
}

@media (max-width: 767px) {
  .section.minimal.alt {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 85vh;
    padding: var(--space-xl) 0;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .cta {
    padding: var(--space-lg) 0 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 639px) {
  .ca-row {
    grid-template-columns: 1fr;
  }

  .ca-copy {
    width: 100%;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step-num {
    font-size: 1.1rem;
  }

  .actions .btn {
    min-height: 38px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}
