/* SnapFlick — theater poster: wine, cream, magenta (distinct from SnapReels warm orange) */

:root {
  --cream: #faf3e8;
  --cream-deep: #f3e6d4;
  --wine: #5c1228;
  --wine-deep: #3d0b1a;
  --wine-soft: #7b1e3a;
  --magenta: #c0266b;
  --magenta-bright: #e91e8c;
  --ink: #1c0a12;
  --ink-soft: rgba(28, 10, 18, 0.72);
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(60, 18, 40, 0.12);
  --radius: 18px;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --leading-body: 1.72;
  --leading-title: 1.26;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: var(--leading-title);
  font-weight: 700;
}

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

a {
  color: var(--wine-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--wine);
  color: var(--white);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Ambient stage background */
.stage-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(175deg, var(--cream) 0%, var(--white) 42%, var(--cream-deep) 100%);
}

.stage-bg__spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
}

.stage-bg__spot--wine {
  width: 55vw;
  height: 55vw;
  max-width: 480px;
  max-height: 480px;
  top: -8%;
  right: -12%;
  background: var(--wine-soft);
}

.stage-bg__spot--magenta {
  width: 45vw;
  height: 45vw;
  max-width: 380px;
  max-height: 380px;
  bottom: 8%;
  left: -10%;
  background: var(--magenta);
}

.stage-bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Marquee + sticky nav */
.marquee-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.marquee-nav__ribbon {
  display: none;
  overflow: hidden;
  background: var(--wine);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-nav__ribbon span {
  display: inline-block;
  padding: 0.45rem 0;
  animation: marquee-roll 22s linear infinite;
}

.marquee-nav__ribbon--mobile {
  display: block;
}

@media (min-width: 900px) {
  .marquee-nav__ribbon:not(.marquee-nav__ribbon--mobile) {
    display: block;
  }
  .marquee-nav__ribbon--mobile {
    display: none;
  }
}

@keyframes marquee-roll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-nav__bar {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  background: rgba(250, 243, 232, 0.96);
  border-bottom: 3px solid var(--wine);
  box-shadow: 0 4px 0 var(--magenta-bright);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.marquee-nav.is-scrolled .marquee-nav__bar {
  box-shadow: 0 12px 36px rgba(92, 18, 40, 0.18), 0 4px 0 var(--magenta);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.marquee-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--wine);
  text-decoration: none;
}

.marquee-nav__brand img {
  border-radius: 11px;
  border: 2px solid rgba(192, 38, 107, 0.35);
  box-shadow: 0 6px 18px rgba(92, 18, 40, 0.2);
}

.marquee-nav__links {
  display: none;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  margin-right: 0.4rem;
}

.marquee-nav__links a {
  padding: 0.42rem 0.72rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-radius: 8px;
  text-decoration: none;
}

.marquee-nav__links a:hover {
  background: rgba(192, 38, 107, 0.1);
  color: var(--magenta);
  text-decoration: none;
}

.marquee-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.marquee-nav__links ~ .marquee-nav__actions {
  margin-left: 0;
}

.marquee-nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(92, 18, 40, 0.2);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.marquee-nav__burger span {
  display: block;
  height: 2px;
  margin: 0 10px;
  background: var(--wine);
}

@media (min-width: 920px) {
  .marquee-nav__links {
    display: flex;
  }
  .marquee-nav__burger {
    display: none;
  }
}

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 5.75rem 1.25rem 2rem;
  background: rgba(250, 243, 232, 0.98);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.nav-sheet[hidden] {
  display: none;
}

.nav-sheet a {
  font-weight: 600;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 2px solid var(--cream-deep);
  border-left: 4px solid var(--magenta);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

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

.btn--sm {
  font-size: 0.86rem;
  padding: 0.48rem 1rem;
}

.btn--lg {
  font-size: 1rem;
  padding: 0.78rem 1.4rem;
}

.btn--xl {
  font-size: 1.05rem;
  padding: 0.9rem 1.55rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(125deg, var(--magenta), var(--wine-soft));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(192, 38, 107, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--wine);
  border: 2px solid rgba(92, 18, 40, 0.22);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn svg {
  width: 1.12em;
  height: 1.12em;
}

main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.2rem 4rem;
}

/* Hero */
.hero__banner {
  position: relative;
  margin-top: 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.hero__banner img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.hero__banner-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--white);
  background: linear-gradient(0deg, rgba(60, 18, 40, 0.85), transparent);
}

.hero__split {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__split {
    grid-template-columns: 1.08fr 0.85fr;
  }
}

.hero__copy {
  padding: 1.45rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--magenta);
}

.hero__kicker {
  margin: 0 0 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--magenta);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  margin: 0 0 0.85rem;
}

.hero__title-accent {
  display: block;
  font-style: italic;
  color: var(--wine-soft);
}

.hero__lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.34rem 0.72rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  border: 1px solid var(--cream-deep);
}

.hero__tags svg {
  width: 15px;
  height: 15px;
  color: var(--magenta);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero__device {
  position: relative;
  margin: 0 auto;
  max-width: 290px;
  padding: 0.75rem 0.85rem;
}

.hero__device-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(180deg, var(--wine), var(--wine-deep));
  border-radius: 4px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
  opacity: 0.92;
}

.hero__device-curtain--left {
  left: 0;
}

.hero__device-curtain--right {
  right: 0;
}

.hero__device-bezel {
  padding: 0.5rem;
  background: linear-gradient(145deg, #2a1520, #12080c);
  border-radius: 30px;
  box-shadow: var(--shadow), 0 0 0 2px rgba(192, 38, 107, 0.25);
}

.hero__device-bezel img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0a0608;
}

/* Section heads */
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2rem;
}

.section-head .eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--magenta);
  margin: 0 0 0.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin: 0;
  color: var(--wine);
}

.section-head h2 span {
  color: var(--magenta-bright);
}

.section-head__lead {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* Features — even 2×2 grid */
.features {
  margin-top: 4.5rem;
}

.features__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.feature-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(60, 18, 40, 0.06);
}

.feature-tile__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wine-soft), var(--magenta));
  color: var(--white);
}

.feature-tile__icon svg {
  width: 22px;
  height: 22px;
}

.feature-tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  color: var(--wine);
}

.feature-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
}

/* Journey */
.journey {
  margin-top: 3rem;
}

.journey__panel {
  padding: 1.5rem 1.35rem;
  background: var(--wine);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.journey__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.85rem;
  font-size: 1.4rem;
}

.journey__steps {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.journey__steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.98rem;
}

.journey__steps svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: var(--magenta-bright);
}

.journey__outro {
  margin: 0;
  font-weight: 600;
  color: var(--cream);
}

/* Legal note */
.legal-note {
  margin-top: 2rem;
}

.legal-note__card {
  padding: 1.2rem 1.15rem;
  background: var(--cream-deep);
  border: 2px dashed rgba(92, 18, 40, 0.25);
  border-radius: var(--radius);
}

.legal-note__card h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--wine);
}

.legal-note__card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* Screenshot grid — flat row on desktop, no translateY offsets */
.screen-grid {
  margin-top: 4.5rem;
}

.screen-grid__wall {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .screen-grid__wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .screen-grid__wall {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
  }
}

.screen-card {
  margin: 0;
  padding: 0.45rem;
  background: var(--white);
  border: 2px solid var(--cream-deep);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(60, 18, 40, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(192, 38, 107, 0.15);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  background: #10080c;
}

.screen-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--wine-soft);
  line-height: 1.35;
}

/* Download */
.download {
  margin-top: 4.5rem;
}

.download__stage {
  text-align: center;
  padding: 2.6rem 1.5rem;
  background: linear-gradient(160deg, var(--wine-deep), var(--wine-soft) 55%, var(--magenta));
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.download__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(233, 30, 140, 0.2), transparent 50%);
  pointer-events: none;
}

.download__stage > * {
  position: relative;
  z-index: 1;
}

.download__icon {
  margin: 0 auto 1rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.download__stage h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.4rem;
}

.download__tagline {
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--cream);
}

.download__sub {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.download__badge-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

.download__badge-note svg {
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  margin-top: 3rem;
  padding: 2rem 1.2rem;
  background: var(--white);
  border-top: 3px solid var(--wine);
}

.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wine);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer__links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--magenta);
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 10, 18, 0.55);
}

.modal__panel {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem 1.75rem;
  background: var(--cream);
  border: 2px solid var(--magenta);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 24px 60px rgba(60, 18, 40, 0.25);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--wine));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.modal__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  color: var(--wine);
}

.modal__panel p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}