/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* Variables */
:root {
  --colour-turquoise: #609999;
  --colour-pink: #e4869a;
  --colour-brown: #8f6d55;
  --colour-black: #000000;
  --colour-white: #ffffff;
  --colour-ink: #11100f;
  --colour-muted: #6f6760;
  --colour-soft: #fbf4f0;
  --colour-mint: #e6f0ef;
  --colour-blush: #fdebf0;
  --colour-border: rgba(17, 16, 15, 0.11);

  --font-heading: "Inter", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --radius-xl: 54px;

  --shadow-soft: 0 24px 70px rgba(17, 16, 15, 0.11);
  --shadow-strong: 0 34px 100px rgba(17, 16, 15, 0.2);
  --transition-fast: 180ms ease;
  --transition-med: 320ms ease;
  --transition-slow: 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base */
body {
  background: var(--colour-soft);
  color: var(--colour-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--colour-pink);
  color: var(--colour-white);
}

:focus-visible {
  outline: 3px solid var(--colour-pink);
  outline-offset: 4px;
}

.skip-link {
  background: var(--colour-black);
  color: var(--colour-white);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(1px, 1px, 1px, 1px);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 0.97;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h1 {
  font-size: clamp(3.6rem, 10vw, 11rem);
  max-width: 10ch;
  font-weight: 900;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.5rem, 5.8vw, 7.4rem);
  max-width: 10ch;
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.95rem);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.eyebrow {
  color: var(--colour-turquoise);
  font-family: var(--font-body);
  font-size: 0.864rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Layout */
.scene {
  overflow: hidden;
  position: relative;
}

/* ── Gradient Band: How It Works → Sell → Discover → Earn ─────────── */
.gradient-band {
  background: linear-gradient(
    180deg,
    rgba(228, 134, 154, 0.18) 0%,
    rgba(228, 134, 154, 0.10) 20%,
    rgba(200, 160, 170, 0.08) 40%,
    rgba(140, 180, 175, 0.10) 60%,
    rgba(96, 153, 153, 0.14) 80%,
    rgba(96, 153, 153, 0.20) 100%
  ),
  #faf8f5;
}

.layer {
  pointer-events: none;
}

.depth-0 {
  z-index: 0;
}

.depth-1 {
  z-index: 1;
}

.depth-2 {
  z-index: 2;
}

.depth-3 {
  z-index: 3;
}

.depth-4 {
  z-index: 4;
}

.depth-5 {
  z-index: 5;
}

.section,
.showcase {
  padding: clamp(5.5rem, 11vw, 10rem) clamp(1.1rem, 5vw, 5rem);
}

.download-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.1rem, 5vw, 5rem);
}

/* Hero — Option 11: Ticker + Portrait */
@keyframes ticker-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Shared lc-* typography helpers (used inside hero-left) */
.hero-eye {
  background: rgba(228, 134, 154, 0.12);
  border: 1px solid rgba(228, 134, 154, 0.3);
  border-radius: 999px;
  color: #e4869a;
  display: inline-block;
  font-size: 0.936rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  padding: 0.45rem 1rem;
  text-transform: uppercase;
}

.hero-h {
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  line-height: 1.15;
  margin-top: 0;
  white-space: nowrap;
}

.hero-h .ld, .split-h .ld { color: #11100f; }
.hero-h .lp, .split-h .lp { color: #e4869a; }
.hero-h .lt, .split-h .lt { color: #609999; }

.split-h span {
  display: block;
}

.hero-lede {
  color: #6f6760;
  font-size: clamp(1.26rem, 1.86vw, 1.62rem);
  line-height: 1.65;
  margin-top: 2rem;
  max-width: 38rem;
}

/* Store badge buttons */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.hero-btn {
  align-items: center;
  border-radius: 10px;
  display: inline-block;
  line-height: 0;
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.hero-btn svg {
  display: block;
  height: 80px;
  width: 240px;
}

.hero-btn:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); transform: translateY(-3px); }

/* Social proof pills */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.2rem;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 16, 15, 0.08);
  border-radius: 999px;
  color: rgba(17, 16, 15, 0.66);
  font-size: 0.984rem;
  font-weight: 800;
  padding: 0.55rem 0.85rem;
}

/* Layout grid */
.hero {
  overflow: hidden;
  position: relative;
}

.hero-inner {
  background: #faf8f5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(0.6rem, 1.4vh, 1.25rem);
  grid-column: 1;
  grid-row: 1;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem);
  position: relative;
  z-index: 4;
}

.hero-right {
  overflow: hidden;
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 520px;
}

.hero-portrait-wrap {
  display: block;
  height: 100%;
  margin: 0;
  position: relative;
  width: 100%;
}

.hero-portrait-wrap > img:first-child {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.hero-portrait-logo {
  bottom: 3.5rem;
  height: auto;
  left: 1.5rem;
  opacity: 0.78;
  pointer-events: none;
  position: absolute;
  width: clamp(160px, 30%, 320px);
  z-index: 5;
}

/* Tape strips */
.hero-tape {
  height: 28px;
  left: -10%;
  position: absolute;
  transform-origin: left center;
  width: 140%;
  z-index: 6;
}

.hero-tape-1 { background: #e4869a; top: 14%; transform: rotate(-4deg); }
.hero-tape-2 { background: #609999; opacity: 0.75; top: 20%; transform: rotate(-4deg); width: 80%; }

/* Ticker band */
.hero-ticker-wrap {
  background: #11100f;
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  padding: 0.7rem 0;
  z-index: 10;
}

.hero-ticker {
  animation: ticker-run 18s linear infinite;
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
}

.hero-ticker-item {
  color: #fff;
  font-size: 0.984rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0 2.5rem;
  text-transform: uppercase;
}

.hero-ticker-item span { color: #e4869a; }

/* Shared card image hover (used by editorial, category, download sections) */
.photo-card,
.editorial-card,
.category-card,
.download-image {
  background: var(--colour-white);
  overflow: hidden;
}

.editorial-card img,
.category-card img,
.download-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.editorial-card:hover img,
.category-card:hover img,
.download-image:hover img {
  transform: scale(1.045);
}

/* Mobile hero — stack copy above, image below */
@media (max-width: 767px) {
  /* FIX 1: hero-inner — remove 100vh height (desktop-only), use auto height for stacked layout */
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: unset;
  }

  /* FIX 2: hero-left — increase horizontal padding to 1.25rem so text is never flush,
     increase top padding for breathing room */
  .hero-left {
    order: 1;
    padding: 2.5rem 1.25rem 1.75rem;
  }

  /* FIX 3: hero heading — allow wrapping and reduce minimum size for narrow screens */
  .hero-h {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    white-space: normal;
  }

  /* FIX 4: hero lede — tighten font size so it reads well without being too large */
  .hero-lede {
    font-size: clamp(1rem, 4vw, 1.15rem);
    margin-top: 1.25rem;
  }

  /* FIX 5: hero-right — explicit grid placement, consistent single block */
  .hero-right {
    order: 2;
    grid-column: 1;
    grid-row: auto;
    height: 68vw;
    min-height: 280px;
    max-height: 420px;
  }

  .hero-right img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
  }

  .hero-portrait-logo {
    display: none;
  }

  .hero-tape { display: none; }

  /* FIX 6: ticker — explicit grid placement after the image */
  .hero-ticker-wrap {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  /* FIX 7: store badge buttons — allow wrapping so they don't overflow narrow screens */
  .hero-btn svg {
    height: 48px;
    width: 144px;
  }

  .hero-btns {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* FIX 8: proof pills — allow wrapping and tighten font */
  .hero-proof span {
    font-size: 0.875rem;
    padding: 0.45rem 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker { animation: none !important; }
}


/* Photo Rail */
.photo-rail {
  overflow: hidden;
  position: relative;
  height: clamp(320px, 45vw, 580px);
}

.photo-rail-track {
  display: flex;
  height: 100%;
  gap: 0.5rem;
}

.photo-rail-item {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 340px);
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.photo-rail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--transition-med);
}

.photo-rail-item:hover img {
  transform: scale(1.04);
}

.photo-rail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

.photo-rail-quote {
  color: var(--colour-white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: center;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    0 8px 24px rgba(0,0,0,0.5),
    0 16px 48px rgba(0,0,0,0.4);
  padding: 1.2em 1.6em;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  max-width: 90vw;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Sections */
.section-split {
  align-items: center;
  display: grid;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: 1320px;
}

/* How-it-works: flush edges on desktop */
.section.section-split {
  padding-left: 0;
  padding-right: 0;
}

/* split-h: smaller so "From closet" stays one line */
.split-h {
  font-size: clamp(2.8rem, 5vw, 6rem);
  max-width: none;
}

/* How-it-works extra bottom breathing room */
#how-it-works {
  padding-bottom: clamp(6rem, 12vw, 12rem);
}

.section-copy p:not(.eyebrow),
.showcase-copy p,
.section-heading p,
.download-copy p {
  color: var(--colour-muted);
  font-size: clamp(1.2rem, 1.62vw, 1.416rem);
  margin-top: 1.25rem;
  max-width: 42rem;
}

.steps-grid {
  display: grid;
  gap: 1rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 54px rgba(17, 16, 15, 0.06);
  padding: clamp(1.2rem, 3vw, 2rem);
  transition: transform var(--transition-med), box-shadow var(--transition-med), background var(--transition-med);
}

.step-card:hover {
  background: var(--colour-white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.step-card span {
  color: var(--colour-pink);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.037rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.step-card h3 {
  font-size: clamp(1.5rem, 2.28vw, 2.34rem);
}

.step-card p {
  color: var(--colour-muted);
  font-size: 1.2rem;
  margin-top: 0.85rem;
}

/* Showcase */
/* Sell Split */
.sell-split {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(520px, 70vh, 800px);
  overflow: hidden;
  padding: 0;
}

.sell-photo {
  margin: 0;
  overflow: hidden;
  padding: 2.5rem 0 2.5rem 2.5rem;
}

.sell-photo img {
  border-radius: 2rem;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
  width: 100%;
}

.sell-split:hover .sell-photo img {
  transform: scale(1.03);
}

.sell-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem) clamp(2.5rem, 5vw, 6rem);
}

.sell-copy .eyebrow {
  color: #c4607a;
}

.sell-h {
  color: #11100f;
  font-size: clamp(2.2rem, 3.8vw, 4.4rem);
  line-height: 1.1;
  max-width: 16ch;
}

.sell-h-accent {
  color: #e4869a;
}

.sell-body {
  color: #6f6760;
  font-size: clamp(1.2rem, 1.68vw, 1.44rem);
  line-height: 1.7;
  max-width: 42ch;
}

.sell-stats {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 0.5rem;
}

.sell-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sell-stat strong {
  color: #11100f;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sell-stat span {
  color: #6f6760;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sell-cta {
  align-items: center;
  background: var(--colour-pink);
  border-radius: 100px;
  color: var(--colour-white);
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  gap: 0.6rem;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), gap var(--transition-fast);
}

.sell-cta:hover {
  background: #d4748a;
  gap: 1rem;
  transform: translateY(-2px);
}

.text-link {
  color: var(--colour-black);
  display: inline-flex;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  position: relative;
}

.text-link::after {
  background: var(--colour-pink);
  bottom: -0.2rem;
  content: "";
  height: 0.35rem;
  left: 0;
  position: absolute;
  transition: width var(--transition-med);
  width: 60%;
  z-index: -1;
}

.text-link:hover::after {
  width: 100%;
}

/* Discovery */
.discovery {
  background: transparent;
}

/* ── Earn Split ──────────────────────────────────────────────────── */
.earn-split {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(520px, 68vh, 780px);
  overflow: hidden;
  padding: 0;
}

.earn-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem) clamp(2.5rem, 5vw, 6rem);
}

.eyebrow--teal {
  color: #3d8080;
}

.earn-h {
  color: #11100f;
  font-size: clamp(2.2rem, 3.8vw, 4.4rem);
  line-height: 1.1;
  max-width: 16ch;
}

.earn-h-accent {
  color: #609999;
}

.earn-body {
  color: #6f6760;
  font-size: clamp(1.2rem, 1.68vw, 1.44rem);
  line-height: 1.7;
  max-width: 42ch;
}

.earn-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.earn-steps li {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
}

.earn-step-num {
  background: rgba(96, 153, 153, 0.12);
  border-radius: 6px;
  color: #3d8080;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.864rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
}

.earn-steps strong {
  color: #11100f;
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.14rem, 1.44vw, 1.26rem);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.earn-steps span {
  color: #6f6760;
  font-size: clamp(1.05rem, 1.2vw, 1.14rem);
  line-height: 1.55;
}

.earn-photo {
  margin: 0;
  overflow: hidden;
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.earn-photo img {
  border-radius: 2rem;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
  width: 100%;
}

.earn-split:hover .earn-photo img {
  transform: scale(1.03);
}

.section-heading {
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  max-width: 920px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  margin: 0.5rem auto 0;
  max-width: 18ch;
}

.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.category-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}

.category-card {
  aspect-ratio: 0.82;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.category-card::after {
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.7));
  content: "";
  inset: 0;
  position: absolute;
}

.category-card div {
  bottom: 0;
  color: var(--colour-white);
  left: 0;
  padding: 1.5rem;
  position: absolute;
  right: 0;
  z-index: 2;
}

.category-card span {
  background: rgba(228, 134, 154, 0.22);
  border: 1px solid rgba(228, 134, 154, 0.5);
  border-radius: 100px;
  color: #fff;
  display: inline-block;
  font-size: 0.816rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  padding: 0.2em 0.75em;
  text-transform: uppercase;
}

/* Impact */
.impact-band {
  background: #1a1612;
  color: var(--colour-white);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 9rem) clamp(1.1rem, 5vw, 5rem);
  position: relative;
}

.impact-bg {
  display: block;
  height: 100%;
  inset: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.impact-bg::after {
  background: linear-gradient(
    105deg,
    rgba(18, 14, 12, 0.92) 0%,
    rgba(18, 14, 12, 0.82) 45%,
    rgba(18, 14, 12, 0.55) 75%,
    rgba(18, 14, 12, 0.30) 100%
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.impact-bg img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 30%;
  position: absolute;
  width: 100%;
}

.impact-copy,
.metric-grid {
  position: relative;
  z-index: 2;
}

.impact-copy h2 {
  max-width: 11ch;
}

.metric-grid {
  display: grid;
  gap: 1rem;
}

.metric {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.metric strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.metric span {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: 0.4rem;
}

/* Reviews Carousel */
.reviews-section {
  background: transparent;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

/* Stage — masks the overflowing marquee */
.reviews-stage {
  overflow: hidden;
  /* soft fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Track — marquee strip */
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reviews-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 2rem clamp(1rem, 3vw, 2rem) 2.5rem;
  width: max-content;
}

.reviews-track.is-marquee {
  animation: reviews-scroll 40s linear infinite;
}

.reviews-track.is-marquee:hover {
  animation-play-state: paused;
}

/* Cards */
.review-card {
  background: var(--colour-white);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(17, 16, 15, 0.07);
  display: flex;
  flex: 0 0 clamp(300px, 36vw, 480px);
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  scroll-snap-align: center;
  transition: transform 0.4s var(--transition-med), box-shadow 0.4s var(--transition-med);
}


.review-stars {
  color: #f5b944;
  font-size: 1.32rem;
  letter-spacing: 0.1em;
}

.review-quote {
  color: var(--colour-ink);
  flex: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.44rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.review-author {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--colour-border);
}

.review-avatar {
  align-items: center;
  border-radius: 50%;
  color: oklch(35% 0.1 calc(var(--av-hue, 340) * 1deg));
  display: flex;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.review-author strong {
  color: var(--colour-ink);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 700;
}

.review-author span {
  color: var(--colour-muted);
  font-size: 0.96rem;
  margin-top: 0.1rem;
}

.review-badge {
  background: rgba(228, 134, 154, 0.12);
  border-radius: 999px;
  color: #c4607a;
  font-size: 0.864rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  position: absolute;
  right: 1.5rem;
  text-transform: uppercase;
  top: 1.5rem;
}

.review-badge--buyer {
  background: rgba(96, 153, 153, 0.12);
  color: #3d8080;
}

/* Download */
.reviews-download-wrap {
  background:
    radial-gradient(circle at 8% 20%, rgba(228, 134, 154, 0.28), transparent 24rem),
    radial-gradient(circle at 90% 80%, rgba(96, 153, 153, 0.24), transparent 24rem),
    var(--colour-soft);
}

.download-section {
  background: transparent;
}

.download-card {
  align-items: stretch;
  background: var(--colour-white);
  border: 1px solid var(--colour-border);
  border-radius: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  margin: 0 auto;
  max-height: 560px;
  max-width: 1280px;
  overflow: hidden;
}

.download-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.download-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-top: 0.5rem;
  max-width: 18ch;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.store-badge {
  border-radius: 10px;
  display: inline-block;
  line-height: 0;
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.store-badge svg {
  display: block;
  height: 52px;
  width: auto;
}

.store-badge:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.download-image {
  border-radius: 0;
  overflow: hidden;
  min-height: 380px;
}

/* Footer */
.site-footer {
  background: #0d0c0b;
  color: var(--colour-white);
  position: relative;
}

/* thin accent rule at very top */
.footer-rule {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(228, 134, 154, 0.55) 30%,
    rgba(96, 153, 153, 0.55) 70%,
    transparent 100%);
  height: 1px;
  width: 100%;
}

/* main grid */
.footer-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 5rem);
  grid-template-columns: 1.6fr 1fr 1fr;
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.1rem, 5vw, 5rem) clamp(3rem, 6vw, 4.5rem);
}

/* brand col */
.footer-brand {
  display: inline-block;
  margin-bottom: 1.75rem;
}

.footer-brand img {
  height: auto;
  width: clamp(160px, 18vw, 220px);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.48);
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

/* ghost store buttons in footer */
.footer-store-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 200px;
}

.footer-store-btn {
  display: block;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-store-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-store-btn svg {
  display: block;
  height: auto;
  width: 100%;
}

/* nav cols */
.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-heading {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
  color: var(--colour-white);
}

/* social list */
.footer-social {
  gap: 0.5rem !important;
}

.footer-social a {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

/* legal bar */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-legal-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 1.25rem clamp(1.1rem, 5vw, 5rem);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.78);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatLoop {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotate(1deg);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner,
  .section-split,
  .sell-split,
  .earn-split,
  .impact-band,
  .download-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-stage {
    min-height: 600px;
  }

  .hero-photo {
    margin: 0 auto;
    width: min(560px, 82vw);
  }

  .phone-mockup {
    right: 4%;
    top: 13%;
    width: min(290px, 45vw);
  }

  /* FIX 9: sell-split — on single column, remove asymmetric photo padding */
  .sell-split {
    min-height: 520px;
  }

  .sell-photo {
    aspect-ratio: 4 / 3;
    min-height: 300px;
    padding: 1.5rem 1.5rem 0;
  }

  /* FIX 10: sell-copy — reduce excessive padding on tablet/mobile */
  .sell-copy {
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  }

  /* FIX 11: sell store buttons — allow wrapping on narrow screens */
  .sell-store-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .earn-split {
    min-height: auto;
  }

  /* FIX 12: earn-photo — symmetric padding for single-column layout */
  .earn-photo {
    aspect-ratio: 4 / 3;
    min-height: 300px;
    padding: 0 1.5rem 1.5rem;
  }

  .earn-copy {
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  }

  /* FIX 13: category cards — single column on tablet */
  .category-cards {
    grid-template-columns: 1fr;
  }

  .category-card {
    aspect-ratio: 1.3;
  }

  /* FIX 14: impact band — strengthen overlay gradient for portrait/mobile viewing */
  .impact-bg::after {
    background: linear-gradient(
      160deg,
      rgba(18, 14, 12, 0.95) 0%,
      rgba(18, 14, 12, 0.88) 50%,
      rgba(18, 14, 12, 0.75) 100%
    );
  }

  /* FIX 15: download card — remove max-height constraint on single column so image shows fully */
  .download-card {
    max-height: none;
  }

  /* FIX 16: download image — limit height on single-column layout so it doesn't become huge */
  .download-image {
    min-height: 280px;
    max-height: 340px;
  }

  /* FIX 17: section-split (how-it-works) — add horizontal padding when padding-left/right = 0 */
  .section.section-split {
    padding-left: clamp(1.1rem, 4vw, 2rem);
    padding-right: clamp(1.1rem, 4vw, 2rem);
  }

  .footer-store-btns {
    flex-direction: row;
    max-width: none;
  }

  .footer-store-btn svg {
    width: 130px;
  }
}

@media (max-width: 640px) {
  /* FIX 18: review cards — slightly narrower on small phones */
  .review-card {
    flex: 0 0 min(88vw, 360px);
  }

  .hero-stage {
    min-height: 520px;
  }

  .phone-mockup {
    border-radius: 34px;
    min-height: 480px;
    padding: 1rem;
    right: 0;
    top: 7%;
    width: min(260px, 58vw);
  }

  .phone-top span {
    font-size: 1.5rem;
  }

  .category-row,
  .product-grid {
    gap: 0.45rem;
  }

  .category-row span {
    font-size: 0.696rem;
    padding: 0.42rem 0.48rem;
  }

  .spark-card {
    left: 0;
    right: auto;
    top: 82%;
  }

  /* FIX 19: store-actions / hero-proof — allow row-wrap on small screens */
  .store-actions,
  .hero-proof {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* FIX 20: photo rail — shorter on small screens, quote text reduced */
  .photo-rail {
    height: clamp(220px, 52vw, 320px);
  }

  .photo-rail-item {
    width: clamp(140px, 40vw, 210px);
  }

  /* FIX 21: photo-rail-quote — reduce font and padding to prevent overflow on small screens */
  .photo-rail-quote {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    padding: 0.75em 1em;
    max-width: 90vw;
  }

  .editorial-card,
  .editorial-tall,
  .download-image {
    border-radius: 30px;
  }

  .download-card {
    border-radius: 28px;
  }

  .download-image {
    border-radius: 0;
    /* FIX 22: download image — limit height on very small screens */
    min-height: 220px;
    max-height: 260px;
  }

  /* FIX 23: download copy heading — reduce for narrow screens */
  .download-copy h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  /* FIX 24: category card aspect ratio at small screen */
  .category-card {
    aspect-ratio: 0.9;
  }

  /* FIX 25: sell/earn photo — reduce padding on narrow screens */
  .sell-photo {
    padding: 1rem 1rem 0;
  }

  .earn-photo {
    padding: 0 1rem 1rem;
  }

  /* FIX 26: impact band — full-width single column, less padding */
  .impact-band {
    padding: clamp(3rem, 8vw, 5rem) 1.25rem;
  }

  /* FIX 27: metric grid — ensure metrics stack with readable text */
  .metric strong {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  }

  /* FIX 28: footer legal — stack on small screens */
  .footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* FIX 29: footer store buttons — smaller SVGs on narrow phones */
  .footer-store-btn svg {
    width: 115px;
  }

  /* FIX 30: section padding — reduce vertical rhythm on small phones */
  .section,
  .showcase {
    padding-top: clamp(3.5rem, 10vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 10vw, 5.5rem);
  }

  #how-it-works {
    padding-bottom: clamp(3.5rem, 10vw, 5.5rem);
  }
}

@media (pointer: coarse) {
  .parallax-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Narrow-phone polish (≤ 420px) ──────────────────────────────────── */
@media (max-width: 420px) {
  /* FIX 31: hero heading — further reduce on very small phones */
  .hero-h {
    font-size: clamp(1.9rem, 9.5vw, 2.4rem);
  }

  /* FIX 32: hero lede — body text stays readable */
  .hero-lede {
    font-size: 0.975rem;
  }

  /* FIX 33: hero store buttons — shrink slightly so they fit side by side,
     allow wrap as fallback */
  .hero-btn svg {
    height: 44px;
    width: 132px;
  }

  .hero-btns {
    gap: 0.5rem;
  }

  /* FIX 34: sell/earn copy — reduce padding on very narrow phones */
  .sell-copy,
  .earn-copy {
    padding: 1.75rem 1.25rem;
    gap: 0.85rem;
  }

  /* FIX 35: sell/earn heading — scale down on very narrow phones */
  .sell-h,
  .earn-h {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
  }

  /* FIX 36: sell stats — stack on very narrow phones */
  .sell-stats {
    flex-direction: column;
    gap: 1rem;
  }

  /* FIX 37: step cards — reduce padding on very narrow phones */
  .step-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  /* FIX 38: section-split copy padding when zero-padded on desktop */
  .section-copy {
    padding: 0 1.25rem;
  }

  /* FIX 39: discovery section heading — reduce top/bottom section padding */
  .discovery {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* FIX 40: photo-rail quote — compact pill on very narrow screens */
  .photo-rail-quote {
    font-size: clamp(1.25rem, 7vw, 1.6rem);
    padding: 0.55em 0.75em;
  }

  /* FIX 41: impact-band heading — scale to fit narrow column */
  .impact-copy h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
  }

  /* FIX 42: footer — tighten up brand col */
  .footer-brand img {
    width: 130px;
  }

  /* FIX 43: footer store btns stack on narrowest phones */
  .footer-store-btns {
    flex-direction: column;
    gap: 0.55rem;
  }

  .footer-store-btn svg {
    width: 140px;
  }

  /* FIX 44: download copy — tighter padding on smallest screens */
  .download-copy {
    padding: 1.75rem 1.25rem;
  }

  /* FIX 45: reviews stage — remove edge fade on very narrow so cards aren't clipped */
  .reviews-stage {
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  }
}
