/* ============================================================
   Home — hero, gift finder, occasion/recipient rails, how it works,
   social proof, corporate band, CTA.
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--sp-7) var(--sp-8);
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding-block: var(--sp-8) var(--sp-9); } }

/* The coral disc + mauve bar are the logo's own geometry, scaled up as
   background architecture rather than a repeated logo. */
.hero__disc,
.hero__bar { position: absolute; z-index: 0; pointer-events: none; }

.hero__disc {
  top: -18vw;
  right: -22vw;
  width: 58vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  opacity: .13;
}
.hero__bar {
  top: 12vw;
  right: -6vw;
  width: 44vw;
  height: 12vw;
  border-radius: var(--r-md);
  background: var(--mauve);
  opacity: .3;
}
@media (min-width: 900px) {
  .hero__disc { top: -160px; right: -120px; width: 620px; opacity: .16; }
  .hero__bar  { top: 90px; right: -40px; width: 460px; height: 118px; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
}

.hero h1 {
  font-size: var(--fs-900);
  letter-spacing: -.035em;
  text-wrap: balance;
  margin-bottom: var(--sp-4);
}
/* Marker-pen highlight, drawn from the yellow accent on the logo's "h". */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.06em;
  right: -.06em;
  bottom: .1em;
  height: .34em;
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(-.5deg);
}
.hl--lilac::after { background: var(--lilac); opacity: .45; }
.hl--green::after { background: var(--green); }

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  max-width: 58ch;
  margin-inline: auto;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-5);
  font-size: var(--fs-300);
  color: var(--ink-2);
}
.hero__trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__trust svg { width: 15px; height: 15px; color: var(--coral); flex: none; }

/* ---------- The gift-finder prompt (hero centrepiece) ---------- */
.finder {
  max-width: 720px;
  margin-inline: auto;
  margin-top: var(--sp-6);
  text-align: left;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.finder__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-200);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--ink-3);
}
.finder__label svg { width: 15px; height: 15px; color: var(--coral); }

.finder__form { display: flex; gap: var(--sp-2); align-items: stretch; }
.finder__form input {
  flex: 1;
  min-width: 0;
  padding: .8em 1em;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: var(--fs-400);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.finder__form input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-tint);
}
.finder__form .btn { flex: none; }
/* On a narrow phone the label text would squeeze the input; keep the icon only. */
.finder__form .btn span { display: none; }
@media (min-width: 560px) { .finder__form .btn span { display: inline; } }

.finder__chips { margin-top: var(--sp-3); }
.finder__chips .chip { font-size: var(--fs-200); }

/* ---------- Marquee strip ---------- */
.strip {
  padding-block: var(--sp-4);
  background: var(--ink-dark);
  color: #E7E1DF;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: marquee 38s linear infinite;
  font-size: var(--fs-300);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track span { display: inline-flex; align-items: center; gap: var(--sp-6); }
.strip__track i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); display: inline-block;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Occasion rail (horizontal scroll on mobile) ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 560px) { .rail { grid-auto-columns: 44%; } }
@media (min-width: 900px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    gap: var(--sp-4);
  }
}
.rail--recipients { grid-auto-columns: 46%; }
@media (min-width: 900px) { .rail--recipients { grid-template-columns: repeat(5, 1fr); } }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }

.step { position: relative; padding-top: var(--sp-5); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--coral);
}
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--coral);
  transform: translateY(-10px);
  opacity: .35;
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-300); color: var(--ink-2); }

/* ---------- Social proof ---------- */
.quotes {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.45;
  letter-spacing: -.01em;
}
.quote figcaption {
  margin-top: auto;
  font-size: var(--fs-300);
  color: var(--ink-3);
}
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.stars { display: flex; gap: 3px; color: var(--coral); }
.stars svg { width: 15px; height: 15px; }

/* ---------- Corporate band ---------- */
.corporate {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) { .corporate { grid-template-columns: 1.1fr 1fr; gap: var(--sp-8); } }

.corporate__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.stat {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat span { font-size: var(--fs-300); color: #B5ACA9; }

/* ---------- Closing CTA ---------- */
.cta-band {
  position: relative;
  padding: var(--sp-8) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--mauve-tint);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before {
  width: 260px; aspect-ratio: 1;
  background: var(--coral);
  opacity: .16;
  top: -110px; left: -70px;
}
.cta-band::after {
  width: 180px; aspect-ratio: 1;
  background: var(--lilac);
  opacity: .16;
  bottom: -90px; right: -50px;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: var(--sp-3); }
.cta-band .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-5);
}
