/* ============ RESET & TOKENS ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050308;
  --bg-elevated: #0d0a14;
  --text: #f5f3f7;
  --text-muted: #a49daf;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.35);
  --border: rgba(255, 255, 255, 0.1);
  --nav-height: 72px;
  --radius: 14px;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Themed page scrollbar */
body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #0a0710;
}

body::-webkit-scrollbar-thumb {
  background: #2a2334;
  border-radius: 99px;
  border: 3px solid #0a0710;
}

body::-webkit-scrollbar-thumb:hover {
  background: #3d3350;
}

section {
  scroll-margin-top: var(--nav-height);
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 3, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.45));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav__links a:hover {
  opacity: 1;
  color: var(--accent-soft);
}

.nav__cta {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(139, 92, 246, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav__cta:hover {
  background: rgba(139, 92, 246, 0.28);
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* Scrollspy: nav link of the section currently in view */
.nav__links a.is-current {
  color: var(--accent-soft);
  opacity: 1;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 64px) 24px 96px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 640px;
  height: 640px;
  top: -180px;
  left: 8%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 70%);
}

.hero__glow--2 {
  width: 520px;
  height: 520px;
  bottom: -140px;
  right: 4%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.18), transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  /* Fade the grid out toward the bottom of the hero */
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
}

.hero__grid--torch {
  --mx: 50%;
  --my: 40%;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.45) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx) var(--my), black 0%, transparent 100%);
  mask-image: radial-gradient(240px circle at var(--mx) var(--my), black 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero:hover .hero__grid--torch {
  opacity: 1;
}

.hero__content {
  position: relative;
  max-width: 960px;
  text-align: center;
}

/* Staggered entrance on page load */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__eyebrow { animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s backwards; }
.hero__headline { animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s backwards; }
.hero__description { animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.28s backwards; }
.hero__actions { animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s backwards; }
.hero__fineprint { animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.48s backwards; }
.hero__video { animation: fade-up 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.62s backwards; }

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__headline,
  .hero__description,
  .hero__actions,
  .hero__fineprint,
  .hero__video {
    animation: none;
  }
}

.hero__eyebrow {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero__headline {
  margin: 0 auto 28px;
  font-size: clamp(2.3rem, 10.5vw, 5.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__headline-accent {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__description {
  max-width: 760px;
  margin: 0 auto 40px;
  /* Capped so the description never wraps past 3 lines at full width */
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.hero__fineprint {
  max-width: 480px;
  margin: 0 auto 72px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0.85;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 16px 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn--primary {
  /* Light stop kept ≥4.5:1 contrast with the white label (WCAG AA) */
  background: linear-gradient(135deg, #8250f0, #7c3aed 60%, #6d28d9);
  color: #ffffff;
  border: 1px solid rgba(196, 181, 253, 0.55);
  box-shadow:
    0 0 24px rgba(139, 92, 246, 0.55),
    0 0 60px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 8px rgba(76, 29, 149, 0.45);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow:
    0 0 34px rgba(139, 92, 246, 0.75),
    0 0 90px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ============ HERO VIDEO ============ */
.hero__video {
  max-width: 860px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(167, 139, 250, 0.5),
    rgba(255, 255, 255, 0.08) 35%,
    rgba(109, 40, 217, 0.4)
  );
  box-shadow: 0 30px 90px rgba(109, 40, 217, 0.22);
}

.video-frame > * {
  border-radius: calc(var(--radius) - 1px);
}

/* Real <video> or <iframe> dropped into .video-frame gets sized automatically */
.video-frame video,
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background: #000;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.16), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(109, 40, 217, 0.14), transparent 55%),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
}

.video-play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(139, 92, 246, 0.18);
  backdrop-filter: blur(6px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.video-play svg {
  margin-left: 4px;
}

.video-placeholder:hover .video-play {
  transform: scale(1.08);
  background: rgba(139, 92, 246, 0.32);
  box-shadow: 0 0 40px var(--accent-glow);
}

.video-placeholder__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============ SECTIONS ============ */
.section {
  border-top: 1px solid var(--border);
  padding: 112px 24px;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Even line breaks on headings — no stranded single words */
.why__headline,
.designs__headline,
.reviews__headline,
.process__headline,
.contact__headline,
.founder-note__title {
  text-wrap: balance;
}

/* Paragraphs avoid single-word last lines where supported */
.founder-note p,
.designs__support,
.reviews__about,
.process__support,
.contact__support,
.why-card__body {
  text-wrap: pretty;
}

/* Scroll-reveal: elements fade up as they enter the viewport */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ WHY VOLVERA ============ */
.why {
  position: relative;
  overflow: hidden;
  /* Subtle purple wash over the section background */
  background:
    radial-gradient(ellipse 80% 55% at 15% 0%, rgba(139, 92, 246, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(109, 40, 217, 0.05), transparent 45%);
}

/* Soft glow behind the glass card so the blur has something to catch */
.why::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.why__inner {
  position: relative;
  text-align: center;
}

.why__head {
  margin-bottom: 60px;
}

.why__headline {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Founder note: centered personal letter with photo */
.founder-note {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-note__photo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;
  border: 2px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.25);
  margin-bottom: 24px;
}

.founder-note__label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.founder-note__title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 30px;
}

.founder-note p:not(.founder-note__label):not(.founder-note__name):not(.founder-note__role) {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.85;
  max-width: 760px;
  margin-bottom: 24px;
}

.founder-note__name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 12px;
}

.founder-note__role {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

/* Four tiles in one row, cascading at different heights */
.why__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 72px;
}

.why__cards .why-card {
  text-align: left;
  padding: 30px 28px 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(
    135deg,
    rgba(139, 124, 246, 0.07),
    rgba(255, 255, 255, 0.02) 55%,
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.why__cards .why-card:nth-child(1) { margin-top: 34px; }
.why__cards .why-card:nth-child(2) { margin-top: 92px; }
.why__cards .why-card:nth-child(3) { margin-top: 0; }
.why__cards .why-card:nth-child(4) { margin-top: 52px; }

.feat__icon {
  display: inline-flex;
  color: #b9aee6;
  margin-bottom: 16px;
}

.feat__title {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.feat__body {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Fit box centered below the cube row */
.why__nofit {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.why-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04) 55%,
    rgba(139, 92, 246, 0.07)
  );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

/* Sheen that sweeps across a card on hover */
.why-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.08) 50%,
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.why-card:hover::after {
  left: 150%;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(139, 92, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Coral glow for the "not the right fit" card */
.why__nofit:hover {
  border-color: rgba(245, 107, 107, 0.4);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(245, 107, 107, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.why-card__head {
  color: var(--accent-soft);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  padding: 26px 28px 0;
}

.why-card__body {
  padding: 14px 28px 28px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* "Not the Right Fit" card: coral head, roomier glass body */
.why__nofit .why-card__head--nofit {
  color: #f56b6b;
  padding-top: 34px;
}

.why-card__body--nofit {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 34px 40px;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .why-card,
  .why-card::after {
    transition: none;
  }
}

/* ============ WHAT WE HANDLE ============ */
.system {
  position: relative;
  overflow: hidden;
  /* soft light glows like the mock */
  background:
    radial-gradient(ellipse 42% 38% at 68% 0%, rgba(205, 195, 255, 0.13), transparent 70%),
    radial-gradient(ellipse 30% 32% at 4% 96%, rgba(205, 195, 255, 0.09), transparent 70%);
}

.system__inner {
  text-align: left;
}

.system__head {
  max-width: 640px;
  margin-bottom: 56px;
}

.system__headline {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.system__support {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.7;
  max-width: 500px;
  text-wrap: pretty;
}

.system__row {
  display: grid;
  grid-template-columns: 56px 1fr 1.15fr;
  gap: 30px;
  align-items: center;
  padding: 46px 0;
}

.system__row + .system__row {
  border-top: 1px solid rgba(195, 185, 230, 0.28);
}

.system__star {
  color: #fff;
  display: inline-flex;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(205, 195, 255, 0.5));
}

.system__title {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.system__copy {
  color: #d3cfdf;
  font-size: 1.04rem;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .system__row {
    grid-template-columns: 40px 1fr;
    gap: 14px 18px;
    padding: 34px 0;
  }

  .system__copy {
    grid-column: 2;
    color: var(--text-muted);
    font-size: 0.98rem;
  }
}

/* ============ REVIEWS ============ */
.reviews__headline {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 64px;
  text-align: left;
}

.reviews__video {
  width: 100%;
}

/* Portrait (9:16) video frame for the vertical testimonial */
.video-frame--portrait iframe {
  aspect-ratio: 9 / 16;
  height: auto;
}

.reviews__about {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 560px;
}

.reviews__logolabel {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  margin-bottom: 34px;
}

/* Keep the wide marquee track from stretching the grid column */
.reviews__grid > * {
  min-width: 0;
}

/* Infinite one-line logo marquee */
.reviews__logos {
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.logos-track {
  display: flex;
  width: max-content;
  animation: logos-scroll 24s linear infinite;
}

.reviews__logos:hover .logos-track {
  animation-play-state: paused;
}

.logos-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

@keyframes logos-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
  }
}

@media (max-width: 860px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 44px;
  }

  .reviews__video {
    max-width: 320px;
    justify-self: center;
  }

  .reviews__logos {
    justify-content: center;
  }

  .reviews__about {
    max-width: none;
  }

  .reviews__logolabel {
    text-align: center;
  }
}

.reviews__logos img {
  height: 44px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.reviews__logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Nova PRO is a compact mark — larger so it holds its own */
.reviews__logos img.reviews__logo--tall {
  height: 82px;
}

/* Nova Wax is a compact square mark — needs extra height to match
   the visual weight of the wide wordmarks */
.reviews__logos img.reviews__logo--square {
  height: 96px;
}

/* Square badge logo reads better slightly larger; its baked-in white
   background is rounded into a deliberate circular badge */
.reviews__logos img.reviews__logo--badge {
  height: 84px;
  border-radius: 50%;
}

/* ============ EMAIL DESIGNS (folder gallery) ============ */
.designs {
  overflow: hidden;
}

.designs__head {
  margin-bottom: 8px;
}

.designs__headline {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.designs__support {
  color: var(--text-muted);
  font-size: 1rem;
}

.folder {
  position: relative;
  width: 400px;
  height: 500px;
  margin: 0 auto;
}

/* --- Back of the folder --- */
.folder__back {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 320px;
  height: 224px;
  margin-left: -160px;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.55));
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.folder__tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 128px;
  height: 40px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(to top, #1e1e1e, #2a2a2a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

.folder__body {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #1e1e1e, #0a0a0a);
  border-radius: 0 12px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.folder__cavity {
  position: absolute;
  top: 40px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: #000;
  border-radius: 8px;
}

.folder.is-open .folder__back {
  opacity: 0;
  transform: scale(0.9);
}

/* --- The design cards --- */
.folder__photos {
  position: absolute;
  bottom: 40px;
  left: 50%;
}

.folder__photo {
  position: absolute;
  bottom: 0;
  left: -112px;
  width: 224px;
  height: 288px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform-origin: bottom;
  pointer-events: none;
  transform:
    translate(calc(var(--o) * 3px + var(--dx, 0px)), calc(var(--o) * -5px + var(--dy, 0px)))
    rotate(calc(var(--o) * 3deg))
    scale(var(--s));
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.folder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* "Scroll" tag shown while hovering an open design.
   Sticky so it stays pinned as the template scrolls;
   negative bottom margin keeps it from shifting the image. */
.folder__photo::before {
  content: "\2195\00a0 Scroll";
  position: sticky;
  top: 10px;
  z-index: 5;
  display: block;
  width: fit-content;
  height: 24px;
  line-height: 14px;
  margin: 12px auto -36px;
  padding: 4px 14px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.folder.is-open .folder__photo:hover::before {
  opacity: 1;
}

/* Hovering the folder flap fans the stack up */
.folder.is-hover .folder__photo {
  transform:
    translate(calc(var(--o) * 30px), calc(var(--o) * -10px - 40px))
    rotate(calc(var(--o) * 8deg))
    scale(var(--s));
}

/* Open: designs spread out in a row, each card scrolls its full template */
.folder.is-open .folder__photo {
  pointer-events: auto;
  cursor: grab;
  z-index: 50;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  transform:
    translate(calc(var(--o) * 110px + var(--dx, 0px)), calc(-130px + var(--dy, 0px)))
    rotate(calc(var(--drag-tilt, 0) * 5deg))
    scale(1.05);
}

.folder.is-open .folder__photo img {
  height: auto;
  object-fit: fill;
}

.folder.is-open .folder__photo::-webkit-scrollbar {
  width: 5px;
}

.folder.is-open .folder__photo::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
}

.folder.is-open .folder__photo::-webkit-scrollbar-track {
  background: transparent;
}

.folder.is-open .folder__photo:hover {
  z-index: 100 !important;
  transform:
    translate(calc(var(--o) * 110px + var(--dx, 0px)), calc(-130px + var(--dy, 0px)))
    rotate(calc(var(--drag-tilt, 0) * 5deg))
    scale(1.1);
}

.folder__photo.is-dragging {
  transition: none;
  cursor: grabbing;
  z-index: 150 !important;
}

/* --- Front flap --- */
.folder__front {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 340px;
  height: 176px;
  margin-left: -170px;
  z-index: 60;
  cursor: pointer;
  transform-origin: bottom;
  filter: drop-shadow(0 -20px 40px rgba(0, 0, 0, 0.8));
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.35s ease;
  background: linear-gradient(to bottom, #2a2a2a, #111);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
  overflow: hidden;
}

.folder__front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.folder.is-hover .folder__front {
  transform: perspective(700px) rotateX(-25deg) translateY(10px);
}

.folder.is-open .folder__front {
  opacity: 0;
  pointer-events: none;
}

.folder__label {
  padding: 10px 20px;
  background: #000;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Hint pill --- */
.folder__hint {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%, 50px);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.folder.is-open .folder__hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ PROCESS (scroll timeline) ============ */
.process__inner {
  text-align: left;
}

.process__head {
  text-align: center;
  margin-bottom: 72px;
}

.process__headline {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.process__support {
  color: var(--text-muted);
  font-size: 1rem;
}

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 10px;
  margin-left: -5px;
  border-radius: 999px;
  background: #17131d;
  overflow: hidden;
}

.timeline__fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 18px var(--accent-glow);
}

.tl-item {
  position: relative;
  width: calc(50% - 64px);
  margin-bottom: 72px;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-item--right {
  margin-left: calc(50% + 64px);
}

.tl-item--left {
  margin-right: calc(50% + 64px);
}

.tl-connector {
  position: absolute;
  top: 72px;
  width: 64px;
  height: 8px;
  background: #17131d;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.tl-item--right .tl-connector {
  left: -64px;
}

.tl-item--left .tl-connector {
  right: -64px;
}

.tl-card {
  background: #141117;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 30px 34px 34px;
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.tl-stage {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.tl-num {
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  paint-order: stroke;
}

.tl-stagelabel {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.tl-days {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  transition: color 0.45s ease;
}

.tl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #e8e5ee;
  font-size: 1rem;
  line-height: 1.5;
}

.process__cta {
  text-align: center;
  margin-top: 72px;
}

/* Lit up once the scroll fill reaches the card */
.tl-item.is-active .tl-card {
  border-color: var(--accent-soft);
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.22);
}

.tl-item.is-active .tl-connector {
  background: var(--accent-soft);
  box-shadow: 0 0 14px var(--accent-glow);
}

.tl-item.is-active .tl-days {
  color: var(--accent-soft);
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 34% 30% at 90% 6%, rgba(205, 195, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 30% 28% at 2% 70%, rgba(205, 195, 255, 0.09), transparent 70%);
}

.contact__inner {
  text-align: left;
}

.contact__headline {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.contact__support {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-bottom: 52px;
}

/* Numbered steps */
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 42px;
}

.step__num {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(167, 139, 250, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.step__title {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.step__copy {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Walk-away list */
.contact__subhead {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 54px 0 26px;
}

.walkaway {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.walkaway li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #e3dfee;
  font-size: 1rem;
}

.walkaway__star {
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(205, 195, 255, 0.5));
}

.contact__nopitch {
  margin-top: 44px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact__info {
  display: block;
}

/* Calendly widget frame */
.contact__cal {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.contact__cal .calendly-inline-widget {
  display: block;
}

@media (max-width: 860px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ============ FOOTER (Pac-Man chomp strip) ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 40px;
}

.chomp {
  position: relative;
  height: 96px;
  max-width: 1100px;
  margin: 0 auto 48px;
  overflow: hidden;
}

/* Pac-Man */
.pac {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 60px;
  height: 60px;
  transform: translateY(-50%);
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(255, 210, 63, 0.35));
}

.pac__half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffd23f;
}

.pac__half--top {
  top: 0;
  border-radius: 60px 60px 0 0;
  transform-origin: 50% 100%;
  animation: pac-jaw-top 0.32s ease-in-out infinite alternate;
}

.pac__half--bottom {
  bottom: 0;
  border-radius: 0 0 60px 60px;
  transform-origin: 50% 0%;
  animation: pac-jaw-bottom 0.32s ease-in-out infinite alternate;
}

/* Eye rides on the top jaw */
.pac__half--top::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b0812;
}

@keyframes pac-jaw-top {
  from { transform: rotate(2deg); }
  to { transform: rotate(-38deg); }
}

@keyframes pac-jaw-bottom {
  from { transform: rotate(-2deg); }
  to { transform: rotate(38deg); }
}

/* Conveyor of order symbols streaming into the mouth */
.chomp__trackwrap {
  position: absolute;
  inset: 0;
  /* symbols vanish right at the mouth, and ease in from the right edge */
  -webkit-mask-image: linear-gradient(to right, transparent 86px, #000 118px, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent 86px, #000 118px, #000 92%, transparent);
}

.chomp__track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  width: max-content;
  transform: translateY(-50%);
  animation: chomp-scroll 16s linear infinite;
}

.chomp__row {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.chomp__sym {
  font-size: 1.35rem;
  line-height: 1;
}

.chomp__sym--cash {
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 1.5rem;
  text-shadow: 0 0 14px var(--accent-glow);
}

@keyframes chomp-scroll {
  from { transform: translate(0, -50%); }
  to { transform: translate(-50%, -50%); }
}

@media (prefers-reduced-motion: reduce) {
  .pac__half--top,
  .pac__half--bottom,
  .chomp__track {
    animation: none;
  }
}

/* Footer bottom bar */
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--accent-soft);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 3, 8, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 20px;
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 14px 24px;
    width: 100%;
    text-align: center;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

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

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

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

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero__fineprint {
    margin-bottom: 52px;
  }

  /* Cascade folds to two columns with a gentle zigzag */
  .why__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .why__cards .why-card:nth-child(1) { margin-top: 0; }
  .why__cards .why-card:nth-child(2) { margin-top: 48px; }
  .why__cards .why-card:nth-child(3) { margin-top: 0; }
  .why__cards .why-card:nth-child(4) { margin-top: 48px; }

  .why__head {
    margin-bottom: 44px;
  }

  /* Timeline: line hugs the left edge, cards stack full width */
  .timeline__line {
    left: 4px;
    margin-left: 0;
    width: 8px;
  }

  .tl-item,
  .tl-item--right,
  .tl-item--left {
    width: auto;
    margin-left: 48px;
    margin-right: 0;
    margin-bottom: 48px;
  }

  .tl-item--right .tl-connector,
  .tl-item--left .tl-connector {
    left: -36px;
    right: auto;
    width: 36px;
    top: 56px;
  }
}

/* Medium screens: tighter card spread so all 7 designs stay visible */
@media (max-width: 1000px) {
  .folder.is-open .folder__photo,
  .folder.is-open .folder__photo:hover {
    transform:
      translate(calc(var(--o) * 78px + var(--dx, 0px)), calc(-130px + var(--dy, 0px)))
      rotate(calc(var(--drag-tilt, 0) * 5deg))
      scale(1.05);
  }
}

/* Small screens: looser type and more breathing room */
@media (max-width: 600px) {
  .hero {
    padding: calc(var(--nav-height) + 48px) 28px 80px;
  }

  /* Left-align hero text on mobile for easier reading */
  .hero__content {
    text-align: left;
  }

  .hero__eyebrow {
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 8px 18px;
    margin-bottom: 36px;
  }

  .hero__headline {
    font-size: 2.35rem;
    line-height: 1.28;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
  }

  .hero__description {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .hero__actions {
    margin-bottom: 14px;
  }

  .hero__fineprint {
    margin-bottom: 56px;
    font-size: 0.82rem;
  }

  .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }

  .video-play {
    width: 60px;
    height: 60px;
  }

  .video-placeholder {
    gap: 16px;
    padding: 0 20px;
  }

  .video-placeholder__label {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.6;
  }

  .section {
    padding: 72px 28px;
  }

  .why__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why__cards .why-card:nth-child(n) {
    margin-top: 0;
  }

  .folder {
    transform: scale(0.62);
    transform-origin: top center;
    height: 330px;
  }

  /* Tighter spread so open cards stay on screen */
  .folder.is-open .folder__photo {
    transform:
      translate(calc(var(--o) * 48px + var(--dx, 0px)), calc(-130px + var(--dy, 0px)))
      rotate(calc(var(--drag-tilt, 0) * 5deg))
      scale(1.05);
  }

  .folder.is-open .folder__photo:hover {
    transform:
      translate(calc(var(--o) * 48px + var(--dx, 0px)), calc(-130px + var(--dy, 0px)))
      rotate(calc(var(--drag-tilt, 0) * 5deg))
      scale(1.1);
  }
}
