:root {
  --pink: #ff385c;
  --pink-deep: #e11d48;
  --ink: #1b1216;
  --ink-soft: #3d2c33;
  --muted: #8a727a;
  --paper: #fff6f4;
  --card: #ffffff;
  --line: rgba(27, 18, 22, 0.08);
  --shadow: 0 30px 80px rgba(80, 16, 32, 0.16);
  --sans: "Instrument Sans", "Avenir Next", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.progress {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--pink);
  transform-origin: left center;
}

.nav {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 246, 244, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(80, 16, 32, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand svg { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(255, 56, 92, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(255, 180, 170, 0.45), transparent 60%),
    var(--paper);
}
.hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.hero h1 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: italic;
  color: var(--pink);
}
.lede {
  max-width: 480px;
  font-size: 19px;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn-pink { background: var(--pink); color: white; box-shadow: 0 12px 30px rgba(255, 56, 92, 0.28); }
.btn-ghost { background: white; color: var(--ink); border: 1px solid var(--line); }
.fine {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.phone {
  width: min(320px, 100%);
  margin: 0 auto;
  background: #161014;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
  animation: floaty 7s ease-in-out infinite;
}
.phone-screen {
  position: relative;
  height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background: #f4efe8;
}
.screen { display: none; height: 100%; }
.screen.on { display: block; animation: fade 0.45s ease; }
.map-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(180, 140, 120, 0.18) 46px 47px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(180, 140, 120, 0.18) 46px 47px),
    #efe4d4;
}
.road {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 20px;
}
.road.a { left: 18%; top: -10%; width: 34px; height: 120%; transform: rotate(12deg); }
.road.b { left: -10%; top: 42%; width: 120%; height: 28px; }
.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--pink);
  transform: rotate(-45deg);
  box-shadow: 0 8px 16px rgba(255, 56, 92, 0.35);
}
.pin::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  top: 5px;
  left: 5px;
}
.pin.p1 { top: 28%; left: 30%; animation: pop 2.8s ease-in-out infinite; }
.pin.p2 { top: 48%; left: 62%; animation: pop 3.4s ease-in-out infinite 0.4s; }
.pin.p3 { top: 64%; left: 38%; animation: pop 3s ease-in-out infinite 0.8s; }
.search {
  position: absolute;
  top: 18px;
  left: 16px;
  right: 16px;
  height: 46px;
  border-radius: 23px;
  background: white;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(40, 20, 20, 0.08);
}
.faces {
  position: absolute;
  top: 78px;
  left: 16px;
  display: flex;
}
.face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  background: linear-gradient(160deg, #ffd0c8, #ff8fa3);
}
.face:first-child { margin-left: 0; }
.face:nth-child(2) { background: linear-gradient(160deg, #ffe7a3, #f4a35c); }
.face:nth-child(3) { background: linear-gradient(160deg, #d7ecff, #7eb6ff); }
.capsule {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(40, 20, 20, 0.1);
}
.list {
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-row {
  background: white;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(40, 20, 20, 0.05);
}
.card-row strong { display: block; }
.card-row span { color: var(--muted); font-size: 13px; }
.chat {
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  background: #fff8f6;
}
.bubble {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 18px;
  background: white;
}
.bubble.me {
  margin-left: auto;
  background: var(--pink);
  color: white;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.marquee b { color: var(--pink); font-weight: 700; }

.stage { height: 520vh; position: relative; }
.stage-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.stage h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.step {
  opacity: 0.35;
  transform: translateY(12px);
  transition: 0.45s ease;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.step.on { opacity: 1; transform: none; }
.step small { color: var(--pink); font-weight: 800; letter-spacing: 0.08em; }
.step strong { display: block; font-size: 22px; margin-top: 4px; }
.stage .phone { transform: none; animation: none; }

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.sub { max-width: 560px; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.tile {
  background: white;
  border-radius: 28px;
  padding: 24px;
  min-height: 220px;
  border: 1px solid var(--line);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.tile .n {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ffe8ec;
  color: var(--pink);
  font-weight: 800;
  margin-bottom: 18px;
}
.tile h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.tile p { margin: 0; color: var(--ink-soft); }

.places {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 32px;
}
.place {
  border-radius: 28px;
  min-height: 240px;
  padding: 22px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.place::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(20, 8, 12, 0.72));
}
.place > * { position: relative; z-index: 1; }
.place span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.legal-grid, .store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.panel {
  background: white;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid var(--line);
}
.panel h3 { margin-top: 0; }
.panel p, .copy-block { color: var(--ink-soft); }
.copy-block {
  white-space: pre-wrap;
  background: #fff8f6;
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
}
.meta { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.copy-btn {
  margin-top: 10px;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 80px;
}
.docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 700;
}
.docs a { color: var(--pink-deep); }
.page h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.page p { color: var(--ink-soft); font-size: 18px; }

footer {
  padding: 28px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}
footer nav { display: flex; gap: 16px; }
footer a { color: var(--ink-soft); }

.reveal {
  animation: rise linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes pop { 50% { transform: rotate(-45deg) translateY(-6px); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .nav { width: calc(100% - 16px); }
  .nav-links, .nav-cta { display: none; }
  .hero-grid, .stage-pin, .grid, .places, .legal-grid, .store-grid { grid-template-columns: 1fr; }
  .stage { height: auto; }
  .stage-pin { position: relative; height: auto; padding: 40px 0 80px; }
  .phone { transform: none; animation: none; }
  .step { opacity: 1; transform: none; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .film { height: auto; }
  .film-sticky { position: relative; height: auto; }
  .chapter { position: relative; opacity: 1 !important; }
  .film .screen { position: relative; opacity: 1 !important; height: auto; }
}

.hero-pin { height: 145vh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 24px;
}

.phone[data-hero-phone] { animation: none; }
.film { height: 720vh; position: relative; background: #fff6f4; }
.chapter:first-of-type,
.film .screen:first-child { opacity: 1; }
.film-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 108px 24px 36px;
  overflow: hidden;
  background: #fff6f4;
  transition: background 0.45s ease;
}
.film-sticky.tone-dark { background: #140d10; }
.tone-dark .chapter h2 { color: white; }
.film .phone { color: var(--ink); }
.film-copy {
  position: relative;
  width: min(720px, 100%);
  height: 210px;
  text-align: center;
}
.film-count {
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--pink);
}
.chapter {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.chapter h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.chapter p { margin: 0 auto; max-width: 560px; color: var(--ink-soft); }
.tone-dark .chapter p { color: rgba(255, 246, 244, 0.78); }
.film .phone { transform: none; animation: none; width: min(280px, 72vw); }
.film .phone-screen { height: min(520px, 54vh); }
.film .screen {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
}
.chips { display: flex; gap: 8px; justify-content: center; }
.chips span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  font-weight: 800;
  font-size: 13px;
}
.chips .on { background: var(--pink); color: white; }

.sheets { position: relative; }
.sheet {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 18px;
  display: flex;
}
.sheet-card {
  flex: 1;
  border-radius: 36px;
  background: white;
  padding: clamp(28px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(40, 16, 24, 0.08);
  transform-origin: center top;
}
.sheet-card.sand { background: #fff1e8; }
.sheet-card.ink { background: #140d10; color: white; }
.sheet-card.rose { background: #ffe8ee; }
.sheet-card h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 14px 0;
}
.sheet-card p { margin: 0; max-width: 460px; font-size: 18px; }
.sheet-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sheet-card li {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 650;
}
.sheet-card.ink li { background: rgba(255, 255, 255, 0.08); }
.sheet-card .kicker { background: transparent; border: 0; padding: 0; }

.scrub {
  overflow: hidden;
  padding: 42px 0 18px;
  background: var(--paper);
}
.scrub-track {
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.04em;
  white-space: nowrap;
  will-change: transform;
}

.page h2 {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 28px 0 8px;
}

@media (max-width: 860px) {
  body { overflow-x: hidden; }
  .nav { width: calc(100% - 16px); top: 10px; }
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; padding: 8px 12px; }
  .hero-pin { height: auto; }
  .hero.hero-sticky {
    position: relative;
    height: auto;
    display: block;
    min-height: 0;
    padding: 112px 22px 36px;
  }
  .hero-grid, .legal-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .lede { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .phone,
  .phone[data-hero-phone] {
    width: min(300px, 86vw);
    margin: 28px auto 0;
    transform: none !important;
    animation: none;
  }
  .phone-screen { height: 500px; }
  .film { height: auto; }
  .film-sticky {
    position: relative;
    height: auto;
    display: block;
    padding: 12px 20px 8px;
    overflow: visible;
  }
  .film-count { position: static; margin-bottom: 8px; }
  .film-copy { height: auto; text-align: left; }
  .chapter {
    position: relative;
    opacity: 1;
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .chapter h2, .sheet-card h2 { font-size: 34px; }
  .film-phone { display: none; }
  .sheet { position: relative; min-height: 0; padding: 8px; }
  .sheet-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    border-radius: 24px;
    transform: none !important;
    filter: none !important;
  }
  .section { width: min(1120px, calc(100% - 32px)); padding: 64px 0; }
  .scrub-track { font-size: 32px; }
  .page { padding-top: 110px; }
  footer { flex-direction: column; }
}
