/* Chawlyn: coming soon
   Playful market palette, refined: soft surfaces instead of heavy outlines,
   generous space, one motion system (GSAP + Lenis) driven from main.js. */

:root {
  --cream: #faf6ef;
  --cream-2: #f1e9dc;
  --forest: #13352b;
  --forest-2: #1b463a;
  --ink: #1a1410;
  --ink-soft: #5a4d43;
  --red: #e8402a;
  --yellow: #ffc23d;
  --green: #2bb673;
  --green-dk: #1f8a4c;
  --sky: #7cc4f5;
  --pink: #ff9ec4;
  --white: #ffffff;

  --app-bg: #fffaf2;
  --app-ink: #1a1410;
  --app-muted: #7b6f66;
  --app-line: #efe5d6;

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  /* Type scale. Nothing outside the phone mockup goes below --fs-sm */
  --fs-sm: 0.9375rem;                               /* 15px: labels, meta */
  --fs-body: 1.125rem;                              /* 18px */
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem); /* 19 to 23px: intros */
  --maxw: 1200px; /* content column; grows on large screens (see the end of this file) */
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 9rem);
  --radius: 32px;
  --shadow-sm: 0 1px 2px rgba(26, 20, 16, 0.04), 0 6px 20px -12px rgba(26, 20, 16, 0.18);
  --shadow-lg: 0 2px 4px rgba(26, 20, 16, 0.04), 0 24px 48px -24px rgba(26, 20, 16, 0.3);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.section-title {
  font-weight: 700;
  font-size: clamp(2.625rem, 1.6rem + 4.2vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* Split-text wrappers created by main.js */
.split-word {
  display: inline-block;
  overflow: clip;
  vertical-align: top;
  /* Room for descenders and for glyphs that overhang the box under tight
     tracking (the final period was being clipped); margins cancel the padding
     so spacing is unchanged */
  padding: 0 0.1em 0.14em;
  margin: 0 -0.1em -0.14em;
}
.split-inner,
.split-char { display: inline-block; will-change: transform; }

/* ================= Header ================= */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1.375rem var(--gutter) 0;
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.bar.is-hidden { transform: translateY(-120%); }

/* A compact floating island rather than a bar stretched across the page:
   one white surface, with the "Coming soon" pill as its only accent */
.bar__inner {
  max-width: 55rem; /* 880px at the base size; scales up on large screens */
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.4rem 0.4rem 0.4rem 0.5rem;
  border-radius: 999px;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow:
    inset 0 0 0 1px rgba(26, 20, 16, 0.06),
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 12px 32px -14px rgba(26, 20, 16, 0.25);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.bar.is-scrolled .bar__inner {
  background: rgba(255, 253, 249, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(26, 20, 16, 0.08),
    0 1px 2px rgba(26, 20, 16, 0.05),
    0 18px 40px -16px rgba(26, 20, 16, 0.35);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.1rem 0.9rem 0.1rem 0.1rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  transition: transform 0.6s var(--spring);
}
.logo__mark svg { width: 19px; height: 19px; }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo--light { padding: 0; background: none; box-shadow: none; color: var(--cream); font-size: 1.375rem; }

.nav {
  display: flex;
  gap: 0.125rem;
  margin-inline: auto;
}
.nav a {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav a:hover { background: rgba(26, 20, 16, 0.06); color: var(--ink); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.15rem 0.62rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(43, 182, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); }
}

/* Menu button and dropdown (phones and tablets; the nav is hidden there) */
.menu-btn,
.menu { display: none; }

.menu-btn {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 20, 16, 0.06);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.menu-btn:hover { background: rgba(26, 20, 16, 0.1); }
.menu-btn span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 24px; }
.bar.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.bar.is-menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu {
  max-width: 55rem; /* 880px at the base size; scales up on large screens */
  margin: 0.5rem auto 0;
  padding: 0.5rem;
  border-radius: 28px;
  pointer-events: auto;
  background: rgba(255, 253, 249, 0.94);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow:
    inset 0 0 0 1px rgba(26, 20, 16, 0.08),
    0 24px 48px -20px rgba(26, 20, 16, 0.4);
  /* Closed: invisible and out of the tab order, but animatable */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.bar.is-menu-open .menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.5s var(--ease), visibility 0s;
}
.menu a {
  display: block;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.menu a:hover,
.menu a:active { background: rgba(26, 20, 16, 0.06); }
.menu__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.25rem 0 0;
  padding: 0.9rem 1.1rem 0.6rem;
  border-top: 1px solid rgba(26, 20, 16, 0.08);
  color: var(--ink-soft);
  font-size: 1rem;
}
.menu__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); }

/* ================= Hero ================= */

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: clamp(6.5rem, min(13vw, 18vh), 10rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__copy {
  width: 100%;
  max-width: 1100px;
  padding: 0 var(--gutter);
}

.hero__title {
  font-weight: 700;
  font-size: clamp(4rem, min(15vw, 26vh), 13rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  gap: 0.2em;
}

/* Rotating last word: words share one grid cell, so the slot is always as
   tall as a word. main.js animates the slot's width to the incoming word,
   which makes the whole heading glide back to centre. */
.hero__swap {
  --ul: 1; /* underline progress, 0 to 1 (animated from main.js) */
  position: relative;
  display: block;
  color: var(--red); /* main.js tweens this per word */
}
/* Hand-drawn wave under the word, painted in the word's colour and drawn
   in left to right by clipping */
.hero__swap::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.04em;
  bottom: -0.1em;
  height: 0.11em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M-2 6Q8 0 20 6T42 6' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") left center / auto 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M-2 6Q8 0 20 6T42 6' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") left center / auto 100% repeat-x;
  clip-path: inset(0 calc((1 - var(--ul)) * 100%) 0 0);
  pointer-events: none;
}
.hero__word:not(.is-current) { display: none; }
.hero__swap--js { display: grid; }
.hero__swap--js .hero__word {
  display: block;
  grid-area: 1 / 1;
  justify-self: start;
}

.hero__lede {
  max-width: 34rem;
  margin: clamp(1.25rem, 2.5vw, 2rem) auto 0;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-soft);
}

.stores {
  list-style: none;
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
/* Store badges, laid out like the official ones */
.store {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 188px;
  padding: 0.6rem 1.35rem 0.6rem 1rem;
  border-radius: 14px;
  background: #0f0c0a;
  color: var(--white);
  text-align: left;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 24px -16px rgba(26, 20, 16, 0.7);
  transition: transform 0.5s var(--spring), box-shadow 0.5s var(--ease);
}
.store:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 18px 30px -16px rgba(26, 20, 16, 0.75);
}
.store__logo { width: 26px; height: 26px; flex: none; }
.store__text { display: grid; line-height: 1.15; }
.store__note { font-size: 0.75rem; letter-spacing: 0.01em; opacity: 0.75; }
.store__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
/* On a dark photo: a light badge so it doesn't sink into the background */
.stores--light { justify-content: center; }
.stores--light .store { background: var(--cream); color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6); }

/* One wide photo below the copy; main.js grows it to full screen on scroll */
.hero__media {
  position: relative;
  z-index: 2;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--maxw);
  aspect-ratio: 16 / 8;
  margin: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream-2);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* On desktop the pinned hero must cover the screen, or its overflow clip cuts
   off the photo as it grows to full screen */
/* Exactly one screen tall (the photo peeks in from the bottom edge and the rest
   is clipped), so when the pin releases the full-screen photo is the last thing
   in the hero and the next section follows it directly, with no empty space */
@media (min-width: 900px) and (min-height: 500px) {
  .hero { height: 100vh; height: 100svh; align-content: start; }
}
/* Desktop grow: main.js rounds the photo with clip-path so every edge reaches
   the screen edge together, so the box itself must not clip with its own radius */
.hero--grow .hero__media { border-radius: 0; }
/* Phones and tablets: the photo opens from its rounded inset to the screen edges as
   you scroll (main.js drives --open from 0 to 1; no pin needed) */
.hero--expand .hero__media {
  width: 100%;
  max-width: none;
  border-radius: 0;
  clip-path: inset(0 calc(var(--gutter) * (1 - var(--open, 0))) round calc(24px * (1 - var(--open, 0))));
}
.hero--expand .hero__media img { will-change: transform; }
/* Darkens the photo as it fills the screen (driven from main.js) */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(20, 14, 10, 0.62), rgba(20, 14, 10, 0.3) 100%),
    linear-gradient(rgba(20, 14, 10, 0.3), rgba(20, 14, 10, 0.5));
  opacity: var(--dim, 0);
  pointer-events: none;
}

/* Line revealed over the full-screen photo, centred in the pinned viewport */
.hero__reveal {
  position: absolute;
  top: 50vh;
  left: 50%;
  z-index: 5;
  width: min(94vw, 1500px);
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  color: var(--cream);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

/* Badge above the headline: a solid cream pill carrying the two store marks */
.rv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.2rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  font-weight: 600;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem);
  letter-spacing: -0.01em;
}
.rv-kicker__logos {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}
.rv-kicker__logos svg { width: 18px; height: 18px; }

.rv-title {
  font-weight: 700;
  font-size: clamp(3.25rem, 10.5vw, 10.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 40px rgba(20, 14, 10, 0.35);
}
/* Each line is a mask the text rises through (main.js) */
.rv-line {
  display: block;
  overflow: clip;
  padding: 0.04em 0.1em 0.14em;
  margin: -0.04em -0.1em -0.14em;
}
.rv-in { display: block; will-change: transform; }
.rv-title em { font-style: normal; color: var(--yellow); }

/* Hidden until the intro timeline runs (see inline script in <head>) */
.js-motion .hero__title,
.js-motion [data-hero-fade],
.js-motion .hero__media { opacity: 0; }

/* ================= Ticker ================= */

.ticker {
  position: relative;
  z-index: 2;
  padding: 1.1rem 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding-left: 2rem;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  will-change: transform;
}
.ticker__track i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

/* ================= Statement ================= */

.statement { padding: var(--section) 0 0; }

/* Full-width cards that start inset and rounded, like the cards around them, and
   open out to the screen edges as they scroll in (main.js drives --open from 0 to 1).
   --side is the inset that lines the card up with the 1200px content column. */
[data-expand] {
  --open: 0;
  --side: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  clip-path: inset(0 calc(var(--side) * (1 - var(--open))) round calc(var(--radius) * (1 - var(--open))));
}

.statement__card {
  /* extra room at the bottom: the services wave rises over this edge */
  padding: clamp(4.5rem, 11vw, 10rem) calc(var(--side) + clamp(1.25rem, 6vw, 6rem)) calc(clamp(4.5rem, 11vw, 10rem) + 60px);
  background: var(--ink);
  color: var(--cream);
}
.statement__inner { max-width: var(--maxw); }
.statement__body::before { content: ""; position: absolute; top: 0; left: 0; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--red); }

.statement__big {
  max-width: 21ch;
  font-weight: 700;
  font-size: clamp(2.25rem, 1.2rem + 4.6vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.statement__big .scrub-word { display: inline-block; }

/* Small photo pills set inside the sentence */
.inline-img {
  display: inline-block;
  width: 1.85em;
  height: 0.8em;
  margin: 0 0.06em;
  vertical-align: -0.04em;
  border-radius: 999px;
  overflow: hidden;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }

/* Under the headline: the three things it promises on the left, the detail on the right */
.statement__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34rem);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.statement__ways { list-style: none; margin: 0; padding: 0; display: grid; justify-items: start; gap: 0.75rem; }
.statement__ways li {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.45rem 1.4rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.07);
  box-shadow: inset 0 0 0 1px rgba(250, 246, 239, 0.12);
  font-weight: 600;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  letter-spacing: -0.02em;
}
/* A gentle cascade, like the sentence stepping down */
.statement__ways li:nth-child(2) { margin-left: clamp(1rem, 3vw, 2.5rem); }
.statement__ways li:nth-child(3) { margin-left: clamp(2rem, 6vw, 5rem); }
.statement__thumb { width: 46px; height: 46px; flex: none; border-radius: 50%; background-size: cover; background-position: center; }
.statement__body {
  position: relative;
  max-width: 34rem;
  margin: 0;
  padding-top: 1.5rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 244, 224, 0.75);
}

/* ================= Services showcase ================= */

/* Full-bleed band with curved top and bottom edges. Its background changes colour
   with each service (main.js animates it); the curves inherit it, so they always match */
.showcase {
  position: relative;
  margin-top: 0; /* flows straight out of the dark statement: the wave above sits on its bottom edge */
  margin-bottom: 60px;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  background: var(--forest);
  color: var(--cream);
  overflow-x: clip; /* the soft disc behind the phone never widens the page (the curves only overflow vertically) */
}
.showcase::before,
.showcase::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 61px;
  background-color: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C240 4 480 0 720 22s480 36 720 8v30Z' fill='%23000'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C240 4 480 0 720 22s480 36 720 8v30Z' fill='%23000'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.showcase::before { top: -60px; }
.showcase::after { bottom: -60px; transform: scaleY(-1); }

.showcase__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.tabs {
  position: relative;
  display: grid;
  gap: 0.5rem;
  margin-top: 2.25rem;
}

.tabs__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 22px;
  background: var(--red);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
}
.tabs.has-indicator .tabs__indicator { opacity: 1; }

.tab {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  padding: 1.1rem 1.4rem;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: rgba(250, 246, 239, 0.72);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.35s ease;
}
.tab:hover { background: rgba(255, 255, 255, 0.06); color: var(--cream); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]:hover { background: transparent; color: var(--ink); }
.tabs:not(.has-indicator) .tab[aria-selected="true"] { background: var(--cream); }

.tab__name {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.tab__desc { display: block; overflow: hidden; }
.tab__desc > span { display: block; max-width: 34rem; padding-top: 0.5rem; font-size: 1.0625rem; line-height: 1.5; }
.tab:not([aria-selected="true"]) .tab__desc { height: 0; }

/* Phone */

.phone-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1rem;
  perspective: 1400px;
}

/* A soft disc behind the phone that drifts to a new spot with each service,
   like the shape behind the desk in a scene change (positions set in main.js) */
.stage-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(560px, 115vw);
  aspect-ratio: 1;
  margin: calc(min(560px, 115vw) / -2) 0 0 calc(min(560px, 115vw) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(250, 246, 239, 0.22), rgba(250, 246, 239, 0.05) 62%, rgba(250, 246, 239, 0));
  pointer-events: none;
  will-change: transform;
}
.phone-stage > :not(.stage-blob) { position: relative; z-index: 1; }

/* Scene progress pill (desktop, while the section is pinned) */
.stage-progress { display: none; }
.stage-dot {
  display: grid;
  grid-template-columns: 0fr;
  align-items: center;
  min-width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.42);
  transition: grid-template-columns 0.6s var(--ease), height 0.5s var(--ease), padding 0.5s var(--ease), background-color 0.4s ease;
}
.stage-dot b {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stage-dot.is-active { grid-template-columns: 1fr; height: 36px; padding: 0 1.1rem; background: var(--cream); }
.stage-dot.is-active b { opacity: 1; transition-delay: 0.2s; }

/* Pinned mode (desktop, set by main.js): the section fills the screen and you
   scroll through the four services */
.showcase--pin { display: grid; align-content: center; min-height: 100vh; padding-block: clamp(1.25rem, 6vh, 6rem) clamp(4.5rem, 9vh, 6rem); }
.showcase--pin .showcase__inner { width: 100%; }
.showcase--pin .stage-progress {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3.5vh, 2rem);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(250, 246, 239, 0.14);
  transform: translateX(-50%);
}
/* Keep the 660px phone on screen in short windows. `zoom` (not `scale`) because GSAP
   animates this element's transform and would override a stylesheet `scale`; zoom
   also shrinks the layout box, so no margin tricks are needed */
@media (min-width: 1025px) and (max-height: 820px) { .showcase--pin .phone-stage { zoom: 0.9; } }
@media (min-width: 1025px) and (max-height: 740px) { .showcase--pin .phone-stage { zoom: 0.8; } }
@media (min-width: 1025px) and (max-height: 660px) { .showcase--pin .phone-stage { zoom: 0.68; } }
.phone-stage__note { font-size: var(--fs-sm); color: rgba(250, 246, 239, 0.7); }

.phone {
  position: relative;
  width: 316px;
  height: 660px;
  border-radius: 50px;
  padding: 11px;
  background: var(--ink);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08),
    0 40px 80px -30px rgba(90, 50, 0, 0.45),
    0 18px 30px -18px rgba(26, 20, 16, 0.4);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: var(--ink);
}

.screen {
  position: absolute;
  inset: 11px;
  overflow: hidden;
  border-radius: 39px;
  background: var(--app-bg);
  color: var(--app-ink);
  font-size: 13px;
  line-height: 1.4;
}

/* In-app components */

.app-cover { height: 158px; background-size: cover; background-position: center; }
.app-body { padding: 18px 20px 22px; }
.app-body--top { padding-top: 62px; }
.app-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }

.app-h { font-size: 21px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.app-h--lg { font-size: 24px; margin-top: 2px; }
.app-sub { color: var(--app-muted); font-size: 12.5px; margin-top: 3px; }
.app-kicker { color: var(--app-muted); font-size: 12px; font-weight: 600; }
.app-muted { color: var(--app-muted); }
.app-center { text-align: center; margin-top: 10px; }

.app-badge {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcf5e8;
  color: var(--green-dk);
  font-size: 11px;
  font-weight: 700;
}

.app-rating { margin-top: 8px; font-weight: 600; }
.app-rating span[aria-hidden] { color: #f29a1f; }

.app-label { margin: 16px 0 8px; font-size: 12px; font-weight: 700; color: var(--app-muted); }

.app-option,
.app-quote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1.5px solid var(--app-line);
  border-radius: 14px;
  background: #fff;
}
.app-option small,
.app-quote small { display: block; color: var(--app-muted); font-size: 11.5px; }
.app-option.is-selected,
.app-quote.is-selected { border-color: var(--red); background: #fff1ee; }

.app-chips { display: flex; gap: 8px; }
.app-chip {
  flex: 1;
  padding: 8px 0;
  border: 1.5px solid var(--app-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-weight: 600;
}
.app-chip.is-selected { background: var(--red); border-color: var(--red); color: #fff; }

.app-button {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
}
.app-button--split { justify-content: space-between; }

.app-dish {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1.5px solid var(--app-line);
}
.app-dish:first-of-type { margin-top: 14px; }
.app-thumb { width: 48px; height: 48px; border-radius: 14px; background-size: cover; background-position: center; }
.app-dish__text { font-weight: 600; line-height: 1.25; }
.app-dish__text small { display: block; font-weight: 400; color: var(--app-muted); font-size: 11.5px; }
.app-dish.is-soldout { opacity: 0.45; }

.app-track {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: #fff3d6;
  font-size: 11.5px;
  color: var(--app-muted);
}
.app-track span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #dccfbd;
}
.app-track .is-done { color: var(--app-ink); font-weight: 600; }
.app-track .is-done::before { background: var(--green); }

.app-budget { margin-top: 14px; }
.app-budget span {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, var(--green) var(--fill), var(--app-line) var(--fill));
}
.app-budget p { margin-top: 6px; font-size: 12px; color: var(--app-muted); }
.app-budget b { color: var(--app-ink); }

.app-list { list-style: none; margin: 14px 0 0; padding: 0; }
.app-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--app-line);
}
.app-list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #cdbfae;
  border-radius: 5px;
}
.app-list li.is-done { color: var(--app-muted); text-decoration: line-through; }
.app-list li.is-done::before {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.app-message {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 4px 16px 16px 16px;
  background: #e8f4fd;
}
.app-message__from { font-size: 12px; font-weight: 700; color: #2c7fbf; margin-bottom: 2px; }
.app-message__actions { display: flex; gap: 8px; margin-top: 10px; }
.app-mini { padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 12px; }
.app-mini--primary { background: var(--app-ink); color: #fff; }

.app-summary {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1.5px dashed #dccfbd;
}

.app-nav {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 11px;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  padding: 10px 14px 18px;
  border-radius: 0 0 39px 39px;
  border-top: 1.5px solid var(--app-line);
  background: rgba(255, 250, 242, 0.95);
  font-size: 10.5px;
  color: var(--app-muted);
}
.app-nav span { display: grid; justify-items: center; gap: 4px; }
.app-nav i { width: 18px; height: 18px; border: 1.6px solid currentColor; border-radius: 6px; }
.app-nav span:nth-child(2) i { border-radius: 50%; }
.app-nav span:nth-child(3) i { border-radius: 8px 8px 8px 2px; }
.app-nav span:nth-child(4) i { border-radius: 50% 50% 6px 6px; }
.app-nav .is-active { color: var(--red); font-weight: 700; }
.app-nav .is-active i { background: var(--red); border-color: var(--red); }

/* ================= Content sections ================= */

.how,
.trust,
.partners,
.faq {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--section) var(--gutter) 0;
  box-sizing: content-box;
}

/* How it works: the journey of one order, laid out like the order-tracking screen
   in the app. On the right, a rail of stages: the red line fills down it as you
   scroll, the current stage's dot rings red and earlier stages tick off green. On
   the left, a pinned photo of the current stage with who is acting and the count.
   Without JS everything is visible and the rail simply stays grey. */
.how__intro { max-width: 60rem; margin-inline: auto; text-align: center; }
.how__intro p { max-width: 50rem; margin: 1.25rem auto 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); text-wrap: balance; }

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

/* Pinned photo panel (sticky, so no JS pin is needed) */
.journey__scene { position: sticky; top: max(6.5rem, calc(50vh - min(36vh, 330px))); }
.journey__frame {
  position: relative;
  height: min(72vh, 660px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--forest);
  box-shadow: var(--shadow-lg);
}
.journey__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s var(--ease), transform 1.6s var(--ease);
}
.journey__img.is-active { opacity: 1; transform: none; }
.journey__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.7), rgba(20, 14, 10, 0) 45%);
  pointer-events: none;
}
.journey__who {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--tag, var(--cream));
  color: var(--tag-ink, var(--ink));
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: background-color 0.5s ease, color 0.5s ease;
}
/* Who is acting, by colour: you (cream), the kitchen (green), the runner (red), your door (yellow) */
.journey__frame[data-key="kitchen"] { --tag: var(--green); --tag-ink: var(--white); }
.journey__frame[data-key="runner"] { --tag: var(--red); --tag-ink: var(--white); }
.journey__frame[data-key="door"] { --tag: var(--yellow); }
.journey__count {
  position: absolute;
  left: 1.5rem;
  bottom: 1.1rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--cream);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.journey__count b { font-weight: 800; font-size: clamp(4rem, 7vw, 7rem); letter-spacing: -0.06em; }
.journey__count small { font-weight: 600; font-size: 1.25rem; opacity: 0.7; }

/* The rail of stages */
.journey__track { position: relative; padding-left: 3.75rem; }
.journey__rail {
  position: absolute;
  left: 15px;
  top: 0.9rem;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: rgba(26, 20, 16, 0.12);
  overflow: hidden;
}
.journey__fill {
  display: block;
  height: 100%;
  background: var(--red);
  transform-origin: top center;
  transform: scaleY(0);
}
.journey__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(3.5rem, 14vh, 8rem);
  padding-bottom: clamp(2rem, 20vh, 12rem); /* lets the last stage reach the middle of the screen */
}
.jstep { position: relative; max-width: 34rem; transition: opacity 0.5s ease; }
.jstep__dot {
  position: absolute;
  top: 0.3rem;
  left: calc(16.5px - 13px - 3.75rem);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 3px rgba(26, 20, 16, 0.2);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.5s var(--spring);
}
.jstep__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.jstep__meta b { color: var(--red); font-variant-numeric: tabular-nums; }
.jstep h3 { margin-top: 0.6rem; font-weight: 700; font-size: clamp(1.875rem, 3vw, 2.75rem); line-height: 1.04; letter-spacing: -0.04em; }
.jstep p { margin-top: 0.75rem; color: var(--ink-soft); }
.jstep .moment { background: var(--white); box-shadow: var(--shadow-sm); }

/* States (set by main.js) */
.journey--live .jstep { opacity: 0.32; }
.journey--live .jstep.is-passed { opacity: 0.62; }
.journey--live .jstep.is-active { opacity: 1; }
.jstep.is-passed .jstep__dot {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3L11.5 6' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: none;
}
.jstep.is-active .jstep__dot {
  background: radial-gradient(circle, var(--red) 0 5px, var(--cream) 6px);
  box-shadow: inset 0 0 0 3px var(--red), 0 0 0 7px rgba(232, 64, 42, 0.16);
  transform: scale(1.12);
}

/* A small in-app moment for each step (example data, labelled under the journey) */
.moment {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 30rem;
  margin-top: clamp(1.25rem, 2.4vw, 1.5rem);
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1.3;
}
.moment__text { display: grid; flex: 1 1 9rem; min-width: 0; }
.moment__text small { color: var(--ink-soft); font-size: 0.875rem; }
.moment__end { flex: none; }
.moment__thumb { flex: none; width: 46px; height: 46px; border-radius: 12px; background-size: cover; background-position: center; }
.moment__tick,
.moment__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.moment__tick { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3L11.5 6' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 24px no-repeat; }
.moment__avatar { background: var(--sky); font-weight: 700; }
.moment__stars { color: #f29a1f; letter-spacing: 0.08em; font-size: 1.0625rem; }
.moment__pill { flex: none; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 700; }
.moment--track { flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; }
.moment--track span { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink-soft); }
.moment--track span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #dccfbd; }
.moment--track .is-done { color: var(--ink); font-weight: 600; }
.moment--track .is-done::before { background: var(--green); }
.moment--track .is-now { color: var(--ink); font-weight: 600; }
.moment--track .is-now::before { background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 194, 61, 0.35); }
.moment--eta { display: grid; gap: 0.6rem; }
.moment__bar {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, var(--green) var(--fill), #e6dccb var(--fill));
}

.journey__note { margin-top: clamp(1.5rem, 3vw, 2.5rem); text-align: center; font-size: var(--fs-sm); color: var(--ink-soft); }

/* Tablets and phones: the photo panel steps aside and the rail runs on its own */
@media (max-width: 900px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey__scene { display: none; }
  .journey__steps { gap: 3rem; padding-bottom: 0; }
  .journey--live .jstep { opacity: 0.45; }
  .journey--live .jstep.is-passed { opacity: 0.8; }
}
@media (max-width: 760px) {
  .how__intro { text-align: left; margin-inline: 0; }
  .how__intro p { margin-inline: 0; }
  .journey__note { text-align: left; }
}
@media (max-width: 420px) {
  .journey__track { padding-left: 3rem; }
  .jstep__dot { left: calc(16.5px - 13px - 3rem); }
  .moment { flex-wrap: wrap; padding: 0.7rem 0.8rem; gap: 0.6rem 0.7rem; }
  .moment__thumb { display: none; }
  .moment__text { flex-basis: 6.5rem; }
  .moment__end { margin-left: auto; }
}

/* Trust: a heading with a short line beside it, then four promises. Each card leads
   with the thing itself (the checks, the payment, the hidden number, the review)
   drawn as a small piece of the app, instead of an icon in a circle. */
.trust__head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
}
.trust__intro { display: grid; gap: 1.25rem; }
/* A kitchen photo beside the heading, with the promise pinned to it */
.trust__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3.4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  rotate: 2deg;
}
.trust__photo img { width: 100%; height: 100%; object-fit: cover; }
.trust__photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 999px;
  background: var(--cream);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.25;
}
.trust__photo figcaption i {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3L11.5 6' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 900px) {
  .trust__head { grid-template-columns: minmax(0, 1fr); }
  .trust__photo { display: none; }
}
@media (max-width: 1024px) {
  .statement__foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .statement__body { max-width: 40rem; }
}
@media (max-width: 760px) {
  .statement__ways li:nth-child(n) { margin-left: 0; }
}
.trust .section-title { max-width: none; font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); }
.trust__head p { max-width: 34rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }

.trust__list {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.trust__item {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(26, 20, 16, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.trust__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust__item dt { font-weight: 700; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.1; letter-spacing: -0.035em; }
.trust__item dd { margin-top: 0.6rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); }

.trust__item--feature {
  grid-row: span 2;
  border: 0;
  background: var(--forest);
  color: var(--cream);
}
.trust__item.trust__item--feature dt { font-size: clamp(2rem, 3.2vw, 2.875rem); letter-spacing: -0.04em; line-height: 1.02; }
.trust__item.trust__item--feature dd { margin-top: 1rem; font-size: var(--fs-body); color: rgba(250, 246, 239, 0.78); }

.trust__item--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.trust__item--wide .tv { grid-row: span 2; margin-bottom: 0; height: 100%; }

.trust__checks {
  list-style: none;
  margin: auto 0 0;
  padding: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust__checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.1);
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* The small app pieces */
.tv {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.5rem;
  min-height: 9.5rem; /* the same height in every card, so the titles line up */
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--cream);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.tv--checks { display: grid; gap: 0.6rem; background: rgba(250, 246, 239, 0.08); }
.tv-step { display: flex; align-items: center; gap: 0.7rem; color: var(--cream); }
.tv-step i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3L11.5 6' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.tv-pill { padding: 0.5rem 0.95rem; border-radius: 999px; }
.tv-pill--yes { background: var(--green); color: var(--white); }
.tv-pill--no {
  background: var(--white);
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

.tv--number { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
.tv-bubble { padding: 0.55rem 0.9rem; border-radius: 16px 16px 16px 4px; background: #e8f4fd; color: var(--ink); }
.tv-masked {
  display: grid;
  margin-top: 0.15rem;
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  background: var(--white);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.tv-masked small { color: var(--ink-soft); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; }

.tv--review { flex-direction: column; justify-content: center; align-items: flex-start; flex-wrap: nowrap; }
.tv-stars { color: #f29a1f; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: 0.06em; line-height: 1; }
.tv-tag { padding: 0.45rem 0.9rem; border-radius: 999px; background: #dcf5e8; color: var(--green-dk); }


/* Partners: horizontal track of photo panels.
   Without JS (or on phones) it is a native swipe strip of cards. main.js pins
   it on desktop and turns it into an immersive full-screen sideways scroll:
   one slide per screen, a role navigator and a progress line. */
.partners {
  --pad: clamp(0.75rem, 1.6vw, 1.5rem);        /* page margin and gap between slides when pinned */
  --inset: clamp(1.75rem, 4.5vw, 4.5rem);       /* text inset inside a slide */
  max-width: none;
  /* Space above the section sits outside it (margin), so the full-screen
     pinned version never touches the cards before it */
  margin-top: var(--section);
  padding: 0;
  overflow: hidden;
}

.partners__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.partners__viewport::-webkit-scrollbar { display: none; }

.partners__track {
  list-style: none;
  margin: 0;
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}

.panel {
  position: relative;
  isolation: isolate;
  flex: none;
  width: min(62vw, 720px);
  height: min(58vh, 520px);
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
  scroll-snap-align: start;
}
.panel__img {
  position: absolute;
  top: 0;
  left: -12%;
  z-index: -2;
  width: 124%;
  max-width: none; /* the global img rule would cap it at 100% and expose an edge */
  height: 100%;
  object-fit: cover;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(19, 53, 43, 0.92) 8%, rgba(19, 53, 43, 0.35) 55%, rgba(19, 53, 43, 0) 80%);
}
.panel__body {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 34rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.panel__num {
  display: block;
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--yellow);
}
.panel h3 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.panel p { margin-top: 0.75rem; color: rgba(250, 246, 239, 0.85); }

/* The opening slide: the section's heading */
.panel--intro { display: grid; align-content: end; padding: clamp(1.5rem, 3vw, 2.5rem); }
.panel--intro::after { display: none; }
.panel__intro h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.panel__intro p { margin-top: 0.75rem; max-width: 26rem; color: rgba(250, 246, 239, 0.75); }
.panel__hint { display: none; }

/* Phones and short screens: the roles scroll vertically as a stacked deck. Each
   card sticks near the top while the next one slides up over it (main.js shrinks
   and shades the card underneath) */
@media (max-width: 760px), (max-height: 559px) {
  .partners { padding-inline: var(--gutter); overflow: clip; }
  .partners__viewport { overflow: visible; scroll-snap-type: none; }
  .partners__track { flex-direction: column; width: auto; padding: 0; gap: 1rem; }
  /* never taller than the space below the sticky top, so a stuck card is always whole */
  .panel { width: 100%; height: min(76svh, 34rem, calc(100svh - 6.5rem)); min-height: min(21rem, calc(100svh - 6.5rem)); transform-origin: center top; }
  .panel--intro { height: auto; min-height: 0; padding: 2.25rem 1.5rem 2rem; }
  .panel__img { top: -8%; left: 0; width: 100%; height: 116%; }
  .panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(8, 24, 19, var(--shade, 0));
    pointer-events: none;
  }
}
.partners--stack .panel:not(.panel--intro) { position: sticky; top: calc(5.25rem + var(--i, 0) * 0.65rem); }

/* Navigator and progress: only while pinned */
.partners__hud { display: none; }

/* ---------- Pinned, immersive mode (desktop, set by main.js) ---------- */
/* Each slide is its own rounded card with a margin around the page and a gap
   between neighbours, so nothing runs edge to edge or fuses into its neighbour */
.partners--js { height: 100vh; padding: 0; }
.partners--js .partners__viewport { height: 100%; overflow: visible; scroll-snap-type: none; }
.partners--js .partners__track {
  box-sizing: border-box;
  height: 100%;
  gap: var(--pad);
  padding: var(--pad);
}

.partners--js .panel {
  width: calc(100vw - 2 * var(--pad));
  height: 100%;
  min-height: 0;
  border-radius: var(--radius);
}
.partners--js .panel__img { left: -8%; width: 116%; }
.partners--js .panel::after {
  background:
    linear-gradient(to top, rgba(8, 24, 19, 0.9) 0%, rgba(8, 24, 19, 0.5) 34%, rgba(8, 24, 19, 0) 68%),
    linear-gradient(to right, rgba(8, 24, 19, 0.5), rgba(8, 24, 19, 0) 60%);
}
.partners--js .panel__body {
  right: 0;
  max-width: none;
  padding: 0 var(--inset) clamp(6.5rem, 15vh, 9rem);
}
.partners--js .panel__num { margin-bottom: clamp(0.75rem, 2vh, 1.5rem); font-size: 1rem; }
.partners--js .panel h3 {
  font-size: clamp(3rem, min(10.5vw, 21vh), 11rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.partners--js .panel p {
  max-width: 34rem;
  margin-top: clamp(1rem, 2.4vh, 1.75rem);
  font-size: clamp(1.125rem, 1.55vw, 1.5rem);
  line-height: 1.5;
}

.partners--js .panel--intro {
  align-content: center;
  padding: 0 var(--inset);
  background: var(--forest);
}
.partners--js .panel__intro h2 {
  max-width: 13ch;
  font-size: clamp(2.75rem, min(8.6vw, 15vh), 9rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.partners--js .panel__intro p {
  max-width: 30rem;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  font-size: clamp(1.125rem, 1.55vw, 1.5rem);
}
.partners--js .panel__hint {
  position: absolute;
  right: var(--inset);
  bottom: clamp(6.5rem, 15vh, 9rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: rgba(250, 246, 239, 0.7);
}
.panel__hint i {
  position: relative;
  width: 44px;
  height: 1.5px;
  background: currentColor;
  animation: nudge 1.8s var(--ease) infinite;
}
.panel__hint i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.partners--js .partners__hud {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  display: grid;
  gap: 1.1rem;
  padding: 0 calc(var(--pad) + var(--inset)) calc(var(--pad) + 1.5rem);
  pointer-events: none;
}
.partners__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.partners__tags span {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(250, 246, 239, 0.18);
  color: rgba(250, 246, 239, 0.78);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--spring);
}
.partners__tags span.is-active { background: var(--cream); color: var(--ink); transform: translateY(-2px); }

.partners__progress {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(250, 246, 239, 0.2);
  overflow: hidden;
}
.partners__progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transform-origin: left center;
  transform: scaleX(0);
}


/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq__intro { position: sticky; top: 7rem; }
.faq__intro p { margin-top: 1.25rem; max-width: 24rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }

.faq__list { display: grid; gap: 0.75rem; }

.faq details {
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(26, 20, 16, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease);
}
.faq details:hover { border-color: rgba(26, 20, 16, 0.14); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  font-weight: 700;
  font-size: clamp(1.1875rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 12px no-repeat,
    var(--cream);
  transition: transform 0.5s var(--spring), background-color 0.3s ease;
}
.faq details[open] summary::after,
.faq details.is-opening summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(var(--cream), var(--cream)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--cream), var(--cream)) center / 2.5px 12px no-repeat,
    var(--red);
}
.faq details.is-closing summary::after {
  transform: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 12px no-repeat,
    var(--cream);
}
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 1.75rem 1.6rem; max-width: 62ch; font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); }

/* ================= Closing ================= */

.closing { padding: var(--section) 0 0; } /* the full-width card runs straight into the footer */

.closing__card {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 56vw, 760px);
  display: grid;
  align-content: center;
  padding: clamp(2.5rem, 7vw, 6rem) calc(var(--side) + clamp(1.25rem, 5vw, 5rem));
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.closing__inner { max-width: var(--maxw); margin-inline: auto; display: grid; justify-items: center; text-align: center; }
/* Photo under a forest-green scrim so the type always reads */
.closing__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(19, 53, 43, 0.92) 10%, rgba(19, 53, 43, 0.45) 60%, rgba(19, 53, 43, 0.2));
}
.closing__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closing h2 {
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.closing p { margin-top: 1.25rem; max-width: 46rem; text-wrap: balance; font-size: var(--fs-lead); line-height: 1.5; color: rgba(250, 246, 239, 0.88); }
.closing .stores { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ================= Footer ================= */

.footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 1.75rem;
  background: var(--ink);
  color: rgba(250, 246, 239, 0.7);
  font-size: 1.0625rem;
  overflow: hidden;
}
.footer__top {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}
.footer__about p { margin-top: 1.1rem; max-width: 24rem; }
.footer__col { display: grid; gap: 0.8rem; align-content: start; }
.footer__head { margin-bottom: 0.25rem; color: var(--cream); font-weight: 600; }
.footer__col a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--cream); }
/* Store tiles: the real mark, the store name, and a small line until the apps are live */
.fstore {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.8rem;
  max-width: 15rem;
  padding: 0.7rem 1.1rem 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(250, 246, 239, 0.06);
  box-shadow: inset 0 0 0 1px rgba(250, 246, 239, 0.1);
  color: var(--cream);
}
.fstore__logo { grid-row: span 2; width: 24px; height: 24px; }
.fstore__name { font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.fstore__tag { color: var(--yellow); font-weight: 600; font-size: 0.8125rem; line-height: 1.3; }
.footer__col--app { gap: 0.6rem; }
@media (max-width: 760px) {
  .footer__col--app { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); }
  .footer__col--app .footer__head { grid-column: 1 / -1; }
  .fstore { max-width: none; }
}

/* Oversized wordmark that bleeds off the bottom of the footer */
.footer__wordmark {
  max-width: var(--maxw);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  font-weight: 700;
  /* Fills the content column: the word is ~3.38em wide at this tracking */
  font-size: calc(min(var(--maxw), 100vw - 2 * var(--gutter)) / 3.45);
  line-height: 0.78;
  letter-spacing: -0.06em;
  padding-bottom: 0.16em; /* room for the p and y descenders above the rule */
  color: #2b231d;
  user-select: none;
}
.footer__bottom {
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 239, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: var(--fs-sm);
}
.footer__status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--cream); }
.footer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Step header (number and icon) inside the route cards */
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.step__num {
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.step__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}
.step__icon svg { width: 22px; height: 22px; }

/* Component responsiveness (after the general breakpoints so it wins) */
@media (max-width: 1024px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item--feature { grid-column: span 2; grid-row: auto; }
  .trust__item:last-child { grid-column: span 2; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
}
@media (max-width: 760px) {
  .hero__media { aspect-ratio: 4 / 3.4; border-radius: 22px; }
  .showcase::before,
  .showcase::after { height: 31px; }
  .showcase::before { top: -30px; }
  .showcase::after { bottom: -30px; }
  .trust__list { grid-template-columns: minmax(0, 1fr); }
  .trust__item--feature,
  .trust__item:last-child { grid-column: auto; }
  .trust__item--wide { grid-template-columns: minmax(0, 1fr); }
  .trust__item--wide .tv { grid-row: auto; margin-bottom: 1.5rem; height: auto; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .store { min-width: 0; padding: 0.55rem 0.95rem 0.55rem 0.8rem; gap: 0.6rem; }
  .store__logo { width: 22px; height: 22px; }
  .store__name { font-size: 1.0625rem; }
}

/* ================= Responsive ================= */

@media (max-width: 1024px) {
  .nav { display: none; }
  .status { margin-left: auto; }
  .menu-btn,
  .menu { display: block; }
  .bar__inner { gap: 0.75rem; }

  /* minmax(0, …) stops the tab row's natural width from widening the column */
  .showcase__inner { grid-template-columns: minmax(0, 1fr); }
  .showcase__side { min-width: 0; }
  .tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__indicator { border-radius: 999px; }
  .tab { flex: none; width: auto; padding: 0.7rem 1.15rem; border-radius: 999px; }
  .tab__name { font-size: 1.0625rem; white-space: nowrap; }
  .tab__desc { display: none; }

  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .trust__list { grid-template-columns: 1fr; }
  .partners__progress { display: none; }

  /* `scale` (not `transform`) so it composes with the GSAP entrance transform */
  .phone-stage { scale: 0.92; transform-origin: top center; margin-bottom: -52px; }

}

/* The 316px phone mockup is wider than a 320px screen */
@media (max-width: 350px) {
  .phone-stage { scale: 0.8; margin-bottom: -132px; }
}

/* The header has no room for the status pill on very small phones; the menu repeats it */
@media (max-width: 400px) {
  .status { display: none; }
  .menu-btn { margin-left: auto; }
}

@media (max-width: 900px) {
  .partners__tags span { padding: 0.45rem 0.85rem; font-size: 0.875rem; }
}

@media (max-width: 420px) {
  .status { font-size: 0.875rem; padding: 0.55rem 0.9rem; }
  .logo { font-size: 1.0625rem; }
  .hero__title { font-size: 19vw; }
  .stores { gap: 0.5rem; }
  .store { padding: 0.5rem 0.8rem 0.5rem 0.7rem; }
}

/* ================= Large screens ================= */
/* Past a laptop, the page grows in proportion instead of floating in a narrow
   column: a wider content column, a larger root size (everything in rem scales),
   and a larger phone mockup */
@media (min-width: 1680px) {
  :root { --maxw: 1400px; }
  html { font-size: 106.25%; }
  .phone-stage { zoom: 1.12; }
}
@media (min-width: 2100px) {
  :root { --maxw: 1640px; }
  html { font-size: 118.75%; }
  .phone-stage { zoom: 1.28; }
}
@media (min-width: 2500px) {
  :root { --maxw: 1880px; }
  html { font-size: 131.25%; }
  .phone-stage { zoom: 1.45; }
}
/* Tall enough only: on wide but short windows the short-window zoom above wins */
@media (min-width: 1680px) and (max-height: 900px) { .showcase--pin .phone-stage { zoom: 0.95; } }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
