/* Glimpse — "the last minute of golden hour."
   The page is dark like a living room at dusk; the only warmth
   is the logo's sunset gradient — coral into rose. */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ground: #1a1013;        /* dusk living-room dark, rose-warm not tech */
  --ground-raise: #231519;
  --ground-sink: #120a0d;
  --ink: #f8ece8;
  --ink-soft: #d6bcb6;
  --ink-faint: #9c7f7e;
  --coral: #ff8a5b;         /* logo gradient start */
  --rose: #ff5e7e;          /* logo gradient end */
  --accent: #ff7469;        /* gradient midpoint, for single-color uses */
  --accent-grad: linear-gradient(135deg, var(--coral), var(--rose));
  --accent-glow: rgba(255, 110, 108, 0.16);
  --line: rgba(248, 236, 232, 0.1);
  --measure: 34rem;
  --pad: clamp(1.25rem, 5vw, 3rem);
  /* grain: inline SVG turbulence, tiled */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.97 0 0 0 0 0.85 0 0 0 0 0.82 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 340;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain sits over everything — the footage texture is the brand */
body::after {
  content: "";
  position: fixed;
  inset: -60px;
  background-image: var(--grain);
  opacity: 0.055;
  pointer-events: none;
  z-index: 40;
  animation: grain-shift 1.1s steps(3) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(18px, -26px); }
  66%  { transform: translate(-22px, 14px); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- primitives ---------- */

h1, h2, h3 {
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

p { margin: 0 0 1rem; }
a { color: var(--ink-soft); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--coral);
  color: var(--ground-sink);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 480;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 480;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent-grad);
  color: var(--ground-sink);
  box-shadow: 0 0 0 rgba(255, 110, 108, 0);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-big { font-size: 1.15rem; padding: 1.05rem 2.2rem; }
.btn-small { font-size: 0.9rem; padding: 0.5rem 1.1rem; background: transparent; color: var(--ink); border-color: var(--line); }
.btn-small:hover { border-color: var(--coral); color: var(--coral); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: rgba(248, 236, 232, 0.3);
}
.btn-quiet:hover { border-color: var(--coral); color: var(--coral); }

.btn[disabled] { opacity: 0.5; cursor: wait; }

/* ---------- header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--pad);
  z-index: 10;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 560;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
}

.wordmark .logo {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 22%;
  box-shadow: 0 0 18px var(--accent-glow);
}

/* ---------- 1 · hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem var(--pad) 4rem;
  position: relative;
  background:
    radial-gradient(90% 70% at 75% 90%, rgba(255, 94, 126, 0.09) 0%, rgba(255, 94, 126, 0) 60%),
    radial-gradient(120% 90% at 30% 20%, #29161c 0%, var(--ground) 55%, var(--ground-sink) 100%);
}

.hero-inner { max-width: 60rem; }

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 2.5rem;
}

.hero-cta .microline {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ---------- 2 · problem ---------- */

.problem {
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.problem-copy {
  max-width: var(--measure);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- 3 · sample (the lit window) ---------- */

.sample {
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
  max-width: 72rem;
  margin: 0 auto;
}

.section-lede {
  max-width: var(--measure);
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

.player-frame { margin: 0; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 58rem;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ground-sink);
  border: 1px solid rgba(248, 236, 232, 0.14);
  /* the one luminous object on the page */
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 60px var(--accent-glow),
    0 0 140px rgba(255, 94, 126, 0.07),
    0 30px 60px rgba(0, 0, 0, 0.5);
}

.player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.play-cover:hover { background: rgba(255, 110, 108, 0.06); }
.play-cover:focus-visible { outline-offset: -4px; }
.play-cover.is-hidden { display: none; }

.player-frame figcaption {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- 4 · how ---------- */

.how {
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
  max-width: 72rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.steps li { max-width: 24rem; }

.step-num {
  display: block;
  width: fit-content;
  font-size: 2.6rem;
  font-weight: 250;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.steps p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- 5 · privacy ---------- */

.privacy {
  padding: clamp(5rem, 12vh, 8rem) var(--pad);
  background: var(--ground-sink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy > * { max-width: 72rem; margin-left: auto; margin-right: auto; }
.privacy h2 { margin-bottom: 2rem; }

.privacy-statements {
  list-style: none;
  padding: 0;
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1.1rem;
  max-width: 44rem;
}

.privacy-statements li {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  padding-left: 1.6rem;
  position: relative;
}

.privacy-statements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-grad);
}

.privacy-note {
  color: var(--ink-faint);
  max-width: 44rem;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- 6 · reserve ---------- */

.reserve {
  padding: clamp(5rem, 12vh, 8rem) var(--pad);
  max-width: 72rem;
  margin: 0 auto;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  max-width: 40rem;
  margin: 2.5rem 0;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--ground-raise);
}

.price-card-founder {
  border-color: rgba(255, 138, 91, 0.45);
  box-shadow: 0 0 40px rgba(255, 94, 126, 0.07);
}

.price-label { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 0.6rem; }
.price-big { font-size: 2.3rem; font-weight: 460; letter-spacing: -0.02em; margin: 0 0 0.3rem; }
.price-big .per { font-size: 1rem; color: var(--ink-faint); font-weight: 340; }
.price-sub { font-size: 0.85rem; color: var(--ink-faint); margin: 0; }
.price-sub s { text-decoration-color: rgba(255, 94, 126, 0.6); }

.reserve-terms { max-width: var(--measure); }
.reserve-terms p { color: var(--ink-soft); }
.ship-date { color: var(--ink-faint); font-size: 0.9rem; }

.reserve .btn-big { margin-top: 1rem; }

.reserve-fineprint {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.email-fallback {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}

.fallback-label { color: var(--ink-soft); font-size: 0.95rem; }

.email-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.email-form input[type="email"] {
  flex: 1 1 14rem;
  font: inherit;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 236, 232, 0.25);
  background: var(--ground-sink);
  color: var(--ink);
}
.email-form input[type="email"]::placeholder { color: var(--ink-faint); }
.email-form input[type="email"]:focus-visible { outline-offset: 1px; }

.form-msg { font-size: 0.9rem; color: var(--coral); min-height: 1.3em; margin: 0.6rem 0 0; }
.form-msg.is-error { color: var(--rose); }

/* ---------- 7 · faq ---------- */

.faq {
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
  max-width: 72rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq h2 { margin-bottom: 2.5rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  max-width: 44rem;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  padding: 1.2rem 2.2rem 1.2rem 0;
  font-weight: 460;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  color: var(--ink-soft);
  padding-bottom: 1.3rem;
  margin: 0;
  max-width: 40rem;
}

/* ---------- 8 · footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ground-sink);
  padding: 3.5rem var(--pad) 4rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand p { margin-bottom: 0.35rem; color: var(--ink-faint); font-size: 0.9rem; }
.footer-brand .wordmark { font-size: 1.1rem; color: var(--ink); margin-bottom: 0.7rem; }
.footer-brand .wordmark .logo { width: 1.4rem; height: 1.4rem; box-shadow: none; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

/* ---------- static pages (thanks / terms / privacy) ---------- */

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 7rem var(--pad) 5rem;
}
.page h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 500; letter-spacing: -0.02em; }
.page h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.page p, .page li { color: var(--ink-soft); }
.page .flag {
  border-left: 3px solid var(--coral);
  padding: 0.6rem 1rem;
  background: var(--ground-raise);
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.next-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1.2rem;
}
.next-steps li {
  counter-increment: step;
  padding-left: 2.4rem;
  position: relative;
}
.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.6rem; height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 138, 91, 0.5);
  color: var(--coral);
  font-size: 0.85rem;
}

/* ---------- imagery (photos folded into the dusk palette) ---------- */

/* hero: text + portrait photo, side by side */
.hero--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero--split .hero-inner { max-width: 34rem; }

.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(248, 236, 232, 0.14);
  box-shadow: 0 0 60px var(--accent-glow), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.hero-media video,
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* pull the photo toward the dusk grade so it belongs to the page */
.hero-media::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(165deg, rgba(41, 22, 28, 0.10), rgba(18, 10, 13, 0.42)),
    radial-gradient(120% 80% at 72% 100%, rgba(255, 94, 126, 0.14), rgba(255, 94, 126, 0) 60%);
}

/* how-it-works: a photo atop each step */
.step-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* privacy: diagram beside the statements */
.privacy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}
.privacy-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(248, 236, 232, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.privacy-media img { width: 100%; height: auto; display: block; }

/* reserve: the physical product beside the price */
.reserve-lead {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin: 2.5rem 0;
}
.reserve-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(248, 236, 232, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 2rem;
}
.reserve-media img { width: 100%; height: auto; display: block; }
.reserve-lead .price-grid { margin: 0 0 1.5rem; max-width: none; }

/* ---------- responsive ---------- */

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .hero--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero--split .hero-inner { max-width: none; order: 1; }
  .hero-media { order: 2; aspect-ratio: 4 / 3; }
  .step-img { aspect-ratio: 16 / 9; }
  .privacy-grid { grid-template-columns: 1fr; gap: 2rem; }
  .privacy-media { max-width: 24rem; }
  .reserve-lead { grid-template-columns: 1fr; gap: 1.75rem; }
  .reserve-media { position: static; max-width: 22rem; }
}

@media (max-width: 420px) {
  .btn-big { width: 100%; }
  .hero { padding-top: 5.5rem; }
  .email-form .btn { flex: 1 1 auto; }
}
