/* =========================================================
   Lume — design tokens & shared foundations
   ========================================================= */

:root {
  --cream: #FBF5ED;
  --cream-deep: #F8EFE3;
  --sand: #F3E7D9;
  --sand-deep: #EAD9C6;

  --ink: #291B13;
  --ink-soft: #6C5A4D;
  --ink-mute: #8D7A6C;

  --ember: #DE5535;
  --ember-deep: #BE3F22;
  --rose: #D35B79;
  --gold: #E9A344;
  --green: #2F8F6B;

  --night: #241710;
  --night-soft: #33231A;

  --card: #FFFFFF;
  --line: rgba(41, 27, 19, .07);
  --line-strong: rgba(41, 27, 19, .13);

  --shadow-xs: 0 4px 14px rgba(41, 27, 19, .05);
  --shadow-sm: 0 8px 24px rgba(41, 27, 19, .06);
  --shadow-md: 0 16px 44px rgba(41, 27, 19, .10);
  --shadow-lg: 0 34px 70px -28px rgba(41, 27, 19, .38);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --ease: cubic-bezier(.22, .68, .16, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(222, 85, 53, .18); }

/* film-grain wash over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 520;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.7rem, 5.1vw, 4.35rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.28rem; line-height: 1.25; letter-spacing: -.015em; }

p { margin: 0; color: var(--ink-soft); }

/* ---------- layout helpers ---------- */
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
  overflow: hidden;
}

.section--sand {
  background: var(--sand);
  border-top: 1px solid rgba(41, 27, 19, .05);
  border-bottom: 1px solid rgba(41, 27, 19, .05);
}

.section-head { max-width: 630px; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 16px; font-size: 1.03rem; max-width: 34rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: .6;
}

section[id] { scroll-margin-top: 92px; }

/* ---------- icons ---------- */
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.ico-12 { width: 12px; height: 12px; }
.ico-14 { width: 14px; height: 14px; }
.ico-16 { width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-24 { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease), box-shadow .25s var(--ease);
}

.btn-primary {
  background: var(--ember);
  color: #FFF8F2;
  box-shadow: 0 12px 28px rgba(222, 85, 53, .30);
}

.btn-primary:hover {
  background: var(--ember-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(222, 85, 53, .38);
}

.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 12px 20px; font-size: 14.5px; }
.btn-block { width: 100%; padding: 15px 24px; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- avatars ---------- */
.av {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--cream);
  color: #FFF9F1;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(41, 27, 19, .14);
}

.av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.av-1 { background: linear-gradient(140deg, #E9734B, #C2412A); }
.av-2 { background: linear-gradient(140deg, #E3906A, #B85B3C); }
.av-3 { background: linear-gradient(140deg, #7E9B86, #4A6B5A); }
.av-4 { background: linear-gradient(140deg, #D79A5B, #A9693A); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}

.site-header.is-scrolled::before {
  background: rgba(251, 245, 237, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(41, 27, 19, .07), 0 12px 30px -18px rgba(41, 27, 19, .35);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(233, 163, 68, .22), rgba(211, 91, 121, .18));
  border: 1px solid rgba(222, 85, 53, .16);
  color: var(--ember);
  transition: transform .25s var(--ease);
}

.brand-mark .ico { width: 18px; height: 18px; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -.02em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  transition: color .2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--ember);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .28s var(--ease), opacity .2s;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateX(-50%) translateY(3.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { transform: translateX(-50%) translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: relative;
  z-index: 2;
  display: none;
  overflow: hidden;
  max-height: 0;
  background: rgba(251, 245, 237, .96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: max-height .38s var(--ease);
}

.mobile-nav .wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0 22px;
}

.mobile-nav a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(41, 27, 19, .06);
}

.mobile-nav .btn { margin-top: 14px; }

body.nav-open .mobile-nav { max-height: 420px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(58px, 7vw, 92px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
}

.hero-glow--gold {
  width: 760px;
  height: 760px;
  top: -300px;
  right: -180px;
  background: radial-gradient(circle, rgba(233, 163, 68, .42), rgba(222, 85, 53, .10) 58%, rgba(222, 85, 53, 0) 72%);
}

.hero-glow--rose {
  width: 620px;
  height: 620px;
  bottom: -280px;
  left: -220px;
  background: radial-gradient(circle, rgba(211, 91, 121, .24), rgba(211, 91, 121, 0) 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
}

.stars { display: inline-flex; gap: 2px; color: var(--gold); }

.hero h1 { margin-top: 22px; }

.scribble-wrap {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
  white-space: nowrap;
}

.scribble {
  position: absolute;
  left: 1%;
  bottom: -.14em;
  width: 98%;
  height: .2em;
  color: var(--ember);
  opacity: .45;
  overflow: visible;
}

.js .reveal.is-in .scribble path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s .35s var(--ease) forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-sub {
  margin-top: 26px;
  max-width: 34rem;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.68;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 11px;
  border-radius: 16px;
  background: var(--ink);
  color: #FBF5ED;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(41, 27, 19, .18), inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}

.store-btn:hover {
  transform: translateY(-3px);
  background: #3A281D;
  box-shadow: 0 18px 34px rgba(41, 27, 19, .24), inset 0 0 0 1px rgba(255, 255, 255, .10);
}

.store-ico { width: 24px; height: 24px; fill: currentColor; flex: none; }

.store-txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  text-align: left;
}

.store-txt small {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

.store-txt strong {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.avatar-stack { display: flex; }

.avatar-stack .av { margin-inline-start: -11px; }
.avatar-stack .av:first-child { margin-inline-start: 0; }

.trust-row p {
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 15rem;
}

.trust-row strong { color: var(--ink); font-weight: 600; }

/* ---------- hero visual ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.phone-card {
  position: relative;
  width: min(358px, 82%);
  aspect-ratio: 9 / 13.1;
  border-radius: var(--r-xl);
  overflow: hidden;
  transform: rotate(2.4deg);
  background: var(--sand-deep);
  box-shadow: 0 46px 90px -34px rgba(41, 27, 19, .55), 0 0 0 1px rgba(41, 27, 19, .05);
}

.phone-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 23, 16, .58), rgba(36, 23, 16, 0) 44%);
  pointer-events: none;
}

.live-chip {
  position: absolute;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(36, 23, 16, .48);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #FFF4E8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6B4A;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, .55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 245, 237, .92);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(36, 23, 16, .28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}

.play-btn .ico { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }

.play-btn:hover {
  background: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.08);
}

.play-btn--sm { width: 62px; height: 62px; }
.play-btn--sm .ico { width: 18px; height: 18px; }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(41, 27, 19, .16);
  animation: floaty 7s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}

.float-card span {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-mute);
}

.float-card--match { inset-inline-start: -2%; top: 15%; animation-delay: -1.4s; }
.float-card--note { inset-inline-end: -4%; top: 45%; max-width: 236px; animation-delay: -3.4s; }
.float-card--verified { inset-inline-end: 1%; bottom: 5%; animation-delay: -5s; }

.fc-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
}

.fc-ic .ico { width: 15px; height: 15px; }
.fc-ic--rose { background: rgba(211, 91, 121, .13); color: var(--rose); }
.fc-ic--gold { background: rgba(233, 163, 68, .16); color: #C67C1C; }
.fc-ic--green { background: rgba(47, 143, 107, .13); color: var(--green); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================================
   Press strip
   ========================================================= */
.press {
  padding: 22px 0;
  border-top: 1px solid rgba(41, 27, 19, .07);
  border-bottom: 1px solid rgba(41, 27, 19, .07);
  background: rgba(243, 231, 217, .5);
}

.press-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
  flex-wrap: wrap;
}

.press-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.6vw, 50px);
  flex-wrap: wrap;
}

.press-logo {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  opacity: .6;
  transition: opacity .25s var(--ease);
}

.press-logo:hover { opacity: 1; }
.press-logo--vogue { font-size: 19px; letter-spacing: .12em; }
.press-logo--sans { font-family: var(--font-sans); font-size: 18px; font-weight: 800; letter-spacing: -.035em; }
.press-logo--serif { font-size: 22px; }
.press-logo--wide { font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: .34em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in .scribble path { animation: none; stroke-dashoffset: 0; }
}
