/* =========================================================
   CardShop — landing page (business)
   Structure: base → components → sections → responsive
   ========================================================= */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
em { font-style: normal; }

.skip-link {
  position: fixed; top: 8px; right: 8px; z-index: 1000;
  padding: 10px 18px; background: var(--plum); color: var(--white); border-radius: var(--radius-pill);
  transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Masked line reveals */
.line { display: block; overflow: clip; overflow-clip-margin: 0.12em; padding-bottom: 0.04em; }
.line__in { display: inline-block; will-change: transform; }
.accent { color: var(--red); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(0.9rem, 1.04vw, 1.25rem);
  letter-spacing: 0.12em;
  opacity: 0.8;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
/* fill sweep on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--plum);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--sm { padding: 12px 24px; font-size: 16px; }
.btn--lg { padding: 19px 38px; font-size: clamp(1rem, 1.08vw, 1.3rem); }
.btn--red { background: var(--red); color: var(--white); }
.btn--white { background: var(--white); color: var(--plum); }
.btn--white:hover, .btn--white:focus-visible { color: var(--white); }
.btn--outline { border: 1.3px solid var(--plum); color: var(--plum); }
.btn--outline:hover, .btn--outline:focus-visible { color: var(--white); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.motion .preloader {
  position: fixed; inset: 0; z-index: 900;
  display: grid; place-content: center; gap: 28px; justify-items: center;
  background: var(--cream);
}
.motion.loaded .preloader { display: none; }
.preloader__logo { width: 190px; height: auto; }
.preloader__bar { width: 190px; height: 3px; background: rgba(72, 0, 37, .12); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 800;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(229, 34, 22, .18); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--plum); }
.cursor__label { color: var(--white); font-weight: 700; font-size: 15px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
/* Hide the system pointer when the red dot is active (text caret kept in fields) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 20px clamp(14px, 1.6vw, 32px) auto; z-index: 500;
  transition: transform .6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: background-color .4s, box-shadow .4s, padding .4s var(--ease-out);
}
.nav.is-scrolled .nav__inner {
  background: rgba(246, 241, 238, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(72, 0, 37, .08);
  padding: 8px 12px 8px 24px;
}
.nav__logo img { width: 158px; height: auto; }
/* links on one row; the business/private switch floats centred UNDER the header bar (not inside it) */
.nav__inner { position: relative; }
.nav__center { display: flex; align-items: center; }
.nav__center .switch {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(72, 0, 37, .08);
}
.nav__links { display: flex; gap: 36px; }
.nav__links a { position: relative; font-size: 16px; }
.nav__links a::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: right; }

.switch { display: flex; padding: 4px; background: var(--white); border-radius: var(--radius-pill); position: relative; }
.nav__center .switch .switch__btn { padding: 7px 18px; font-size: 15px; }
.switch__btn { padding: 10px 20px; border-radius: var(--radius-pill); font-weight: var(--fw-medium); color: var(--plum-2); transition: background-color .35s, color .35s; }
.switch__btn.is-active { background: var(--plum); color: var(--white); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 47px; height: 47px; border-radius: 50%; background: var(--plum); position: relative; }
.nav__burger span { position: absolute; right: 14px; left: 14px; height: 2px; background: var(--white); transition: transform .4s var(--ease-out); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  margin-top: 10px; padding: 28px; border-radius: 28px;
  background: var(--plum); color: var(--white);
}
.mobile-menu ul { display: grid; gap: 14px; }
.mobile-menu a { font-size: 1.6rem; font-weight: var(--fw-medium); }

/* ---------- HERO ---------- */
.hero {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(136px, 9.8vw, 190px) var(--gutter) clamp(80px, 7.3vw, 140px);  /* room for the two-row nav */
  text-align: center;
  overflow-x: clip;   /* the intro opens the card very large — never a sideways scroll */
}
.hero__stage { width: min(760px, 88vw); aspect-ratio: 760 / 420; display: grid; place-items: center; perspective: 1400px; }
.hero__card { width: 78.9%; transform-style: preserve-3d; }
.card3d {
  position: relative;
  aspect-ratio: 600 / 374;
  border-radius: 4.33% / 6.95%;
  box-shadow: 0 40px 80px rgba(43, 5, 23, .32);
  transform: rotate(5deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.card3d img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.card3d__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .35), transparent 45%);
  mix-blend-mode: soft-light;
}

.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { margin-top: clamp(30px, 3.6vw, 70px); font-size: var(--fs-eyebrow); letter-spacing: 0.1em; opacity: 1; }
.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-hero);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
body:not(.page-private) .hero__title { margin-top: 32px; }  /* business: headline a touch lower */
.hero__ctas { display: flex; gap: 14px; margin-top: clamp(40px, 4.8vw, 92px); flex-wrap: wrap; justify-content: center; }

/* ---------- WHY ---------- */
.why { position: relative; padding: clamp(52px, 3.9vw, 74px) 0 clamp(60px, 6.7vw, 129px); }
.why__title {
  padding-inline: var(--gutter);
  margin-right: calc(162 / 1920 * 100%);
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: calc(var(--fs-h2) * 1.15);
  line-height: 0.994;
  white-space: nowrap;
}
.why__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 560;
  margin-top: clamp(24px, 3vw, 60px);
  container-type: inline-size;
}
.sticker {
  --u: calc(100cqw / 1920);
  position: absolute;
  left: calc((var(--cx) - var(--w) / 2) * var(--u));
  top: calc((var(--cy) - var(--h) / 2) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  touch-action: pan-y;
}
.sticker__shape {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(var(--r));
  transition: transform .6s var(--ease-spring);
}
.sticker:hover .sticker__shape { transform: rotate(calc(var(--r) * 1.15)) scale(1.03); }
.sticker__pill { border-radius: var(--radius-pill); background: var(--bg); }
.sticker__square { border-radius: calc(31.27 * var(--u)); background: var(--plum); }
.sticker__text {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translate(calc(var(--tx, 0) * var(--u)), calc(var(--ty, 0) * var(--u))) rotate(var(--tr, var(--r)));
  font-size: max(12px, calc(18.63 * var(--u)));
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
}
.sticker__text--bold { font-size: max(15px, calc(26.61 * var(--u))); font-weight: 700; }
.sticker__text--plum { color: var(--plum); }
.sticker.is-dragging { z-index: 10; }
.sticker.is-dragging .sticker__shape { transform: rotate(var(--r)) scale(1.06); }

/* ---------- NEEDS ---------- */
.needs { background: var(--white); padding: clamp(60px, 5.26vw, 101px) var(--gutter) clamp(80px, 9vw, 172px); }
.needs__title {
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--fs-h2); line-height: 0.86; letter-spacing: -0.04em;
  text-align: center;
}
.line--pill { overflow: visible; }
.pill-word { position: relative; display: inline-block; padding: 0.09em 0.55em 0.11em; margin-right: 0.08em; color: var(--white); isolation: isolate; }
.pill-word__bg { position: absolute; inset: 0; z-index: -1; background: var(--plum); border-radius: var(--radius-pill); transform: rotate(5.17deg); }
.pill-word__txt { display: inline-block; transform: rotate(4.77deg); }

.needs__list {
  display: flex; gap: 24px;
  max-width: 1680px; height: 380px;
  margin: clamp(60px, 6.5vw, 125px) auto 0;
}
.need {
  position: relative; flex: 1 1 0; min-width: 0;
  background: var(--cream); border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  transition: flex-grow .8s var(--ease-out), background-color .5s;
}
.need.is-active { flex-grow: 2; }
.need__title {
  position: absolute; top: 36px; right: 36px; left: 36px;
  max-width: 210px; margin-inline-start: 0;
  font-weight: var(--fw-medium); font-size: var(--fs-need); line-height: 1.2;
  text-align: right;
  transition: max-width .8s var(--ease-out);
}
.need.is-active .need__title { max-width: 480px; }
.need__tags {
  position: absolute; top: 130px; right: 12px; width: 480px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start;
  padding-right: 24px;
  pointer-events: none;
  z-index: 2;
}
.need__title { z-index: 2; }
.need__tags li {
  padding: 12px 22px; border-radius: var(--radius-pill);
  background: var(--white); color: var(--plum);
  font-weight: var(--fw-medium); font-size: 22px; line-height: 1.45; white-space: nowrap;
  opacity: 0; transform: translateY(16px) scale(.9);
  transition: opacity .35s, transform .5s var(--ease-spring);
}
.need.is-active .need__tags li { opacity: 1; transform: none; }
.need.is-active .need__tags li:nth-child(2) { transition-delay: .05s; }
.need.is-active .need__tags li:nth-child(3) { transition-delay: .1s; }
.need.is-active .need__tags li:nth-child(4) { transition-delay: .15s; }
.need.is-active .need__tags li:nth-child(5) { transition-delay: .2s; }
.need.is-active .need__tags li:nth-child(6) { transition-delay: .25s; }
.need__art {
  position: absolute; inset: 0; pointer-events: none;
  transform-origin: 0 241px;
  transition: transform .9s var(--ease-out);
}
/* open card: shapes grow but drop below the tags (per-card --drop set in the markup) */
.need.is-active .need__art { transform: translateY(var(--drop, 0px)) scale(1.35); }
.need__art img {
  position: absolute;
  left: calc(var(--x) * 1px); top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); max-width: none;
  transform: rotate(var(--r, 0deg)) scaleX(var(--sx, 1));
  transition: transform .9s var(--ease-spring);
}
.need:hover .need__art img:nth-child(odd) { transform: rotate(calc(var(--r, 0deg) + 6deg)) scaleX(var(--sx, 1)) translateY(-6px); }

/* ---------- CHOOSE ---------- */
.choose {
  background: var(--blue);
  padding: clamp(56px, 4.75vw, 91px) var(--gutter) clamp(56px, 4.8vw, 92px);
  text-align: center;
  overflow: hidden;
}
.choose__eyebrow { font-size: clamp(0.9rem, 1.04vw, 1.25rem); }
.choose__title {
  margin-top: 0.1em;
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -0.04em;
}
.choose__title .char { display: inline-block; will-change: transform; }
.choose__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: clamp(28px, 2.4vw, 46px);
}
.chip {
  position: relative;
  width: clamp(130px, 14.43vw, 277px); height: clamp(52px, 3.85vw, 74px);
  border: 1.3px solid var(--plum); border-radius: var(--radius-pill);
  font-size: var(--fs-chip); color: var(--plum);
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out);
}
.chip::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--plum); border-radius: inherit;
  clip-path: circle(0% at 50% 100%);
  transition: clip-path .6s var(--ease-out);
}
.chip.is-active, .chip:hover, .chip:focus-visible { color: var(--white); }
.chip.is-active::before, .chip:hover::before, .chip:focus-visible::before { clip-path: circle(150% at 50% 100%); }

/* ---------- INSPIRE — title centred, inspiration photos floating around it ---------- */
.inspire { padding: clamp(24px, 2.4vw, 44px) var(--gutter); overflow: hidden; background: var(--blue); }
.inspire:not(.inspire--cream) { padding-block: clamp(40px, 3.8vw, 72px); }  /* business: a bit more blue above and below */
/* proportions follow the reference composition */
.inspire__stage { position: relative; max-width: 1600px; margin-inline: auto; aspect-ratio: 3 / 1; }
.inspire__copy {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  pointer-events: none;
}
.inspire__eyebrow { margin-bottom: 18px; opacity: 1; color: var(--plum); }.inspire__logo { width: clamp(110px, 9vw, 160px); height: auto; margin-top: clamp(14px, 1.6vw, 28px); }
/* same composition as the original band: small line on top, one big plum line */
.inspire__title { font-weight: var(--fw-medium); font-size: clamp(2.6rem, 6.7vw, 8rem); line-height: 1.05; letter-spacing: -0.04em; white-space: nowrap; }
.tile {
  position: absolute; z-index: 2; margin: 0;
  right: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--ar);
  border-radius: clamp(16px, 1.6vw, 28px); overflow: hidden; isolation: isolate;
  box-shadow: 0 24px 50px rgba(43, 5, 23, .14);
  transition: box-shadow .8s var(--ease-out);
}
.tile--left { right: auto; left: var(--x); }
/* orbit ring (desktop): every photo is anchored at the stage centre; motion.js places it on the ring */
@media (min-width: 901px) {
  .inspire__stage[data-orbit-ring] .tile { left: 50%; top: 50%; right: auto; }
}
/* photo-on-photo: the front tile sits above its neighbour, lifted only by a deeper shadow */
.tile--front { z-index: 3; box-shadow: 0 30px 60px rgba(43, 5, 23, .26); }
.tile--front:hover { box-shadow: 0 38px 76px rgba(43, 5, 23, .32); }
.tile img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: scale 1s var(--ease-out);
}
/* always-on label: a dark plum gradient rises from the bottom and fades to clear; the name sits in the dark part */
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(36, 0, 18, .78) 0%, rgba(36, 0, 18, .38) 28%, rgba(36, 0, 18, 0) 58%);
}
.tile:hover { box-shadow: 0 34px 70px rgba(43, 5, 23, .24); }
.tile:hover img { scale: 1.05; }
.tile.is-big { z-index: 6; }
.tile__tag {
  position: absolute; right: 0; bottom: 0; left: 0; z-index: 2;
  padding: 0 clamp(10px, 1vw, 18px) clamp(8px, .9vw, 16px);
  text-align: right;
  color: var(--white); font-size: clamp(.85rem, 1.05vw, 1.3rem); line-height: 1.2; letter-spacing: -0.01em;
  pointer-events: none;
}
.tile__tag i { display: none; }
/* large photos whose bottom-right corner sits under a small photo: label on the other side */
.tile--label-left .tile__tag { text-align: left; }
/* prompt-style bubbles (as in the reference): white pill overlapping the photos */
.note {
  position: absolute; z-index: 5; right: var(--x); top: var(--y); margin: 0;
  display: flex; align-items: center; gap: 12px;
  max-width: clamp(190px, 17vw, 290px);
  padding: 13px 20px; border-radius: 18px;
  background: var(--white); color: var(--plum);
  font-size: clamp(.85rem, .95vw, 1.05rem); line-height: 1.35;
  box-shadow: 0 16px 40px rgba(43, 5, 23, .16);
  pointer-events: none;
}
.note--left { right: auto; left: var(--x); }

/* ---------- PACKAGES ---------- */
.packages { background: var(--white); padding: clamp(60px, 5.3vw, 102px) var(--gutter) clamp(80px, 10.2vw, 196px); }
.packages__title {
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.04em;
  text-align: center;
}
.packages__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3.07vw, 59px);
  max-width: 1738px; margin: clamp(36px, 4.4vw, 84px) auto 0;
}
.pack {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px 32px clamp(40px, 4.2vw, 81px);
  background: var(--cream); border-radius: var(--radius-lg);
  position: relative; top: 0;
  transition: top .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.pack:hover { top: -10px; box-shadow: 0 30px 60px rgba(72, 0, 37, .1); }
.pack__media {
  position: relative; width: 100%; aspect-ratio: 476 / 250;
  border-radius: 28px; overflow: hidden; background: #d9d9d9;
  isolation: isolate;
}
.pack__media img {
  position: absolute; max-width: none;
  left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  transition: transform 1.2s var(--ease-out);
}
.pack:hover .pack__media img { transform: scale(1.06); }
.pack__title {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px;
  font-weight: 700; font-size: var(--fs-pack-title); line-height: 1.4;
}
.pack__icon { width: 1.4em; height: 1.4em; object-fit: contain; transform: rotate(var(--r, 0deg)); transition: transform .8s var(--ease-spring); }
.pack__icon--flip { transform: scaleX(-1); }
.pack:hover .pack__icon { transform: rotate(calc(var(--r, 0deg) + 90deg)) scale(1.1); }
.pack__desc { margin-top: 14px; font-size: var(--fs-pack-desc); }
.pack__badge {
  margin-top: 26px;
  padding: 10px 20px; border: 2px solid var(--plum); border-radius: 16px; background: var(--white);
  font-weight: 700; font-size: clamp(1rem, 1.15vw, 1.375rem);
}

/* ---------- STATS (original layout from Figma) ---------- */
.stats { padding: clamp(70px, 8.3vw, 160px) var(--gutter) clamp(80px, 8.9vw, 171px); text-align: center; }
.stats__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(2.2rem, 4.74vw, 5.69rem); line-height: 1.2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 1600px; margin: clamp(48px, 4.4vw, 85px) auto 0;
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: clamp(16px, 2.6vw, 50px); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-stat); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { max-width: none; white-space: nowrap; font-size: var(--fs-label); color: var(--ink-80); line-height: 1.15; }
.stores > .eyebrow { color: var(--red); opacity: 1; font-weight: 700; }

/* ---------- STORES ---------- */
.stores { background: var(--white); padding: clamp(60px, 5.6vw, 108px) 0 clamp(60px, 4vw, 76px); text-align: center; overflow: hidden; }
.stores__title { margin-top: 24px; padding-inline: var(--gutter); font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h2); line-height: 1.2; }
.stores__rows {
  --size: clamp(84px, 8.16vw, 156.75px);
  --gap: clamp(22px, 2.66vw, 51px);
  display: grid; gap: clamp(12px, 1.35vw, 26px);
  margin-top: clamp(48px, 6.5vw, 125px);
  direction: ltr;
}
.marquee { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.marquee--offset { margin-left: calc((var(--size) + var(--gap)) / -2); }
.marquee li {
  flex: none; width: var(--size); height: var(--size); border-radius: 50%;
  position: relative;
  display: grid; place-items: center;
}
/* circle lives on a pseudo so GSAP (on the li) and hover (on ::before) never collide */
.marquee li::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--cream);
  transition: transform .5s var(--ease-spring), background-color .3s;
}
.marquee li:hover::before { transform: scale(1.08); background: var(--blue); }
/* burned look: single dark ink, multiplied into the cream circle */
.marquee li img {
  position: relative; width: 64%; height: 56%; object-fit: contain;
  mix-blend-mode: multiply; opacity: .88;
  transition: opacity .3s;
}
.marquee li:hover img { opacity: 1; }
.stores__link {
  display: inline-block; margin-top: clamp(40px, 3.9vw, 75px);
  font-weight: var(--fw-medium); font-size: clamp(1.15rem, 1.56vw, 1.875rem);
  text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px;
}
.stores__link span[aria-hidden] { display: inline-block; transition: transform .45s var(--ease-out); }
.stores__link:hover span[aria-hidden] { transform: translateX(-8px); }

/* ---------- FAQ — oversized questions, the open one turns into a plum card ---------- */
.faq { padding: clamp(90px, 9vw, 180px) var(--gutter); }
.faq__head { text-align: center; }
.faq__eyebrow { color: var(--red); font-weight: 700; font-size: clamp(.95rem, 1.05vw, 1.25rem); letter-spacing: .08em; }
.faq__title { margin-top: 14px; font-weight: var(--fw-medium); font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.04em; }
.faq__title .line { display: inline-block; }
.faq__counter, .faq__shape { display: none; }

.faq__list { display: grid; gap: clamp(10px, .9vw, 16px); max-width: 1400px; margin: clamp(50px, 5vw, 100px) auto 0; }
/* brand language: each question is a soft rounded pill-card (no hairlines); the open one turns light blue */
.faq__item {
  position: relative; border-radius: clamp(28px, 2.6vw, 48px);
  background: var(--white);
  transition: background-color .6s var(--ease-out), color .5s;
}
.faq__item:not(.is-open):hover { background: #fdfbfa; box-shadow: 0 14px 34px rgba(72, 0, 37, .06); }
.faq__item.is-open { background: var(--blue); }
.faq__rule { display: none; }
.faq__item h3 { margin: 0; font: inherit; }
.faq__q {
  position: relative; display: flex; align-items: center; gap: clamp(16px, 2vw, 40px);
  width: 100%; padding: clamp(18px, 1.6vw, 30px) clamp(22px, 2.2vw, 40px); text-align: right;
}
.faq__num { flex: none; min-width: 2ch; font-size: clamp(.85rem, .9vw, 1.05rem); opacity: 1 !important; color: var(--plum) !important; font-variant-numeric: tabular-nums; transition: opacity .4s, color .4s; }
.faq__text {
  flex: 1; font-weight: var(--fw-medium); font-size: clamp(1.35rem, 2.5vw, 3rem); line-height: 1.15; letter-spacing: -0.03em;
  transition: transform .7s var(--ease-out);
}
.faq__item:not(.is-open) .faq__q:hover .faq__text { transform: translateX(-16px); }
.faq__item:not(.is-open) .faq__q:hover .faq__num { opacity: 1; color: var(--red); }

.faq__icon {
  position: relative; flex: none;
  width: clamp(46px, 3.6vw, 66px); height: clamp(46px, 3.6vw, 66px);
  border-radius: 50%; border: 0; background: var(--plum); color: var(--white);
  transition: transform .7s var(--ease-spring), background-color .4s, border-color .4s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 34%; height: 2px; margin: -1px 0 0 -17%; background: currentColor; border-radius: 2px;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { transform: rotate(90deg); }

.faq__item.is-open .faq__num { opacity: 1; color: var(--red); }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--red); border-color: var(--red); color: var(--white); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p {
  max-width: 60ch;
  padding: 0 calc(clamp(22px, 2.2vw, 40px) + 2ch + clamp(16px, 2vw, 40px)) clamp(22px, 2.2vw, 40px) clamp(22px, 2.2vw, 40px);
  font-size: clamp(1.05rem, 1.35vw, 1.6rem); line-height: 1.5; color: var(--ink-80);
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s, transform .8s var(--ease-out);
}
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .15s; }

/* ---------- QUOTE — compact dark plum panel: cream title on one side, white fields on the other ---------- */
.quote { padding: clamp(64px, 6vw, 120px) var(--gutter) 0; overflow: hidden; background: var(--plum); color: var(--cream); }
.quote__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 110px); align-items: center;
  max-width: 1600px; margin-inline: auto;
  padding: 0;
}
.quote__copy { position: relative; display: flex; flex-direction: column; justify-content: center; }
.quote__eyebrow { text-align: right; color: var(--blue); opacity: 1; font-weight: 700; }
.quote__title {
  margin-top: 16px;
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: clamp(2.4rem, 5.2vw, 6.25rem); line-height: .98; letter-spacing: -0.04em;
  color: var(--cream);
}
.quote__accent { font-style: normal; color: var(--red); }
.quote__lead { max-width: 30ch; margin-top: clamp(16px, 1.6vw, 28px); font-size: clamp(1.05rem, 1.3vw, 1.5rem); line-height: 1.5; color: rgba(246, 241, 238, .72); }

.quote__form { position: relative; }
.quote__fields { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2vw, 34px) clamp(16px, 1.6vw, 28px); }
.field { display: grid; gap: 12px; min-width: 0; }
.field label { font-weight: 400; font-size: clamp(.95rem, .95vw, 1.1rem); color: var(--white); }
.field input {
  width: 100%; height: clamp(54px, 3.6vw, 66px); padding: 0 24px;
  font: inherit; font-size: clamp(1rem, 1.05vw, 1.2rem); color: var(--white);
  background: rgba(255, 255, 255, .06); border: 1.3px solid rgba(246, 241, 238, .22); border-radius: var(--radius-pill);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field input:hover { border-color: rgba(246, 241, 238, .45); }
.field input:focus { outline: none; background: rgba(255, 255, 255, .1); border-color: var(--cream); box-shadow: 0 0 0 4px rgba(186, 214, 254, .22); }
.field input[aria-invalid="true"] { border-color: #ff6b5e; }
/* keep browser autofill from painting the fields light-blue on the dark panel */
.field input:-webkit-autofill { -webkit-text-fill-color: var(--white); box-shadow: inset 0 0 0 100px #5a1438; caret-color: var(--white); }
.quote__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(28px, 2.6vw, 44px); }
.quote__submit { padding-inline: 48px; background: var(--blue); color: var(--plum); }
.quote__submit::before { background: var(--red); }
.quote__submit:hover, .quote__submit:focus-visible { color: var(--white); }
.quote__submit[disabled] { opacity: .6; pointer-events: none; }
.quote__note { font-size: .9rem; color: rgba(246, 241, 238, .6); }
.quote__error { margin-top: 14px; font-size: .95rem; color: #ff8a80; }

.quote__done { display: grid; justify-items: start; gap: 12px; }
.quote__done[hidden] { display: none; }
.quote__done img { width: 80px; height: auto; }
.quote__done h3 { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(2rem, 3vw, 3.4rem); letter-spacing: -0.03em; color: var(--cream); }
.quote__done p { color: rgba(246, 241, 238, .72); font-size: 1.15rem; }
.quote__done:focus { outline: none; }

/* Decorative shapes under the form: full-width row (1900x260 design box), each shape floating gently;
   the box is much shorter than the composition so the section's bottom edge cuts the shapes. */
.qshapes {
  --vw: 1900; --ox: 0;                          /* design width shown, x offset (mobile shows the middle) */
  --show: 196;                                  /* visible height in design units (of 260) */
  position: relative; container-type: inline-size;
  aspect-ratio: var(--vw) / var(--show);
  margin: clamp(38px, 3.6vw, 74px) calc(var(--gutter) * -1) 0;   /* breathing room under the form */
  clip-path: inset(-60px 0 0 0);                /* cut at the bottom and the screen sides */
}
.qshape {
  --u: calc(100cqw / var(--vw));
  position: absolute;
  --k: 1.14;                                    /* shape size boost (positions unchanged) */
  left: calc((var(--x) + var(--ox)) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u) * var(--k)); height: calc(var(--h) * var(--u) * var(--k));
  transform: translate(-50%, -50%) rotate(var(--r));
}
.qshape__in {
  display: block; width: 100%; height: 100%;
  --bob: 7; --tilt: 3deg;
  animation: qfloat var(--d, 5s) ease-in-out var(--dl, 0s) infinite alternate;
}
.qshape:nth-child(even) .qshape__in { --bob: -6; --tilt: -3deg; }
@keyframes qfloat {
  from { translate: 0 calc(var(--bob) * var(--u)); rotate: calc(var(--tilt) * -1); }
  to   { translate: 0 calc(var(--bob) * -1 * var(--u)); rotate: var(--tilt); }
}
.qshape__pill { border-radius: var(--radius-pill); background: var(--bg); }
.qshape__square { border-radius: calc(16 * var(--u)); background: var(--cream); }
.qshape__dot { border-radius: 50%; background: var(--bg); }
/* all quote shapes: the same tone as the form fields (white at ~6% over the plum) */
.qshape__mask {
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.qshapes .qshape__in { background: var(--white); opacity: .07; }
@media (prefers-reduced-motion: reduce) { .qshape__in { animation: none; } }

@media (max-width: 900px) {
  .quote__panel { grid-template-columns: 1fr; }
  .quote__copy { min-height: 0; }
}
@media (max-width: 560px) {
  .quote__fields { grid-template-columns: 1fr; }
  .quote__submit { width: 100%; }
}
/* ---------- Shared bits used by both pages ---------- */
.btn--plum { background: var(--plum); color: var(--white); }
.btn--plum::before { background: var(--red); }
.btn--white.btn--lg:hover { color: var(--white); }
a.switch__btn { display: inline-block; }

.kicker {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: clamp(.9rem, .95vw, 1.1rem); letter-spacing: .04em;
  color: var(--red);
}
.kicker span { font-variant-numeric: tabular-nums; }
.kicker span::after { content: " ·"; }
.kicker--center { justify-content: center; }
.kicker--light { color: #ff8a80; }
.section-title {
  margin-top: 14px;
  font-weight: 700; font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.03em;
}

/* Switch knob — slides between לעסקים / פרטי like a real toggle */
.switch { isolation: isolate; }
.switch__knob {
  position: absolute; top: 4px; bottom: 4px; left: 4px; z-index: -1;
  border-radius: var(--radius-pill); background: var(--plum);
  transition: transform .6s var(--ease-spring), width .6s var(--ease-spring);
}
.switch:has(.switch__knob) .switch__btn.is-active { background: transparent; }

/* Page switch — content slides sideways from one page into the next.
   1) Browsers with cross-document View Transitions: the browser keeps the old page on screen until
      the new one is ready, so there is no blank frame; the nav stays fixed while content glides. */
@view-transition { navigation: auto; }
/* The nav is split into layers so the two pages' menus never overlap mid-transition:
   bar + logo stay put, the switch glides to its new spot, links/buttons fade out then in. */
.nav { view-transition-name: site-nav; }
.nav__logo { view-transition-name: site-logo; }
.nav__center .switch { view-transition-name: site-switch; }
.nav__links { view-transition-name: site-links; }
.nav__actions { view-transition-name: site-actions; }
/* nav bar background crossfades (frosted on a scrolled page ↔ clear at the top of the next) */
::view-transition-old(site-nav) { animation: vt-fade-out .45s ease both; }
::view-transition-new(site-nav) { animation: vt-fade-in .45s ease both; }
::view-transition-old(site-logo), ::view-transition-new(site-logo) { animation: none; }
::view-transition-old(site-logo) { opacity: 0; }
::view-transition-group(site-switch) { animation-duration: .7s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(site-switch) { display: none; }
::view-transition-new(site-switch) { animation: none; }
::view-transition-old(site-links), ::view-transition-old(site-actions),
::view-transition-new(site-links), ::view-transition-new(site-actions) { height: 100%; object-fit: none; object-position: center; }
::view-transition-old(site-links), ::view-transition-old(site-actions) { animation: vt-fade-out .22s ease both; }
::view-transition-new(site-links), ::view-transition-new(site-actions) { animation: vt-fade-in .4s ease .2s both; }
::view-transition-old(root) { animation: vt-fade-out .55s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-fade-in .85s cubic-bezier(.16, 1, .3, 1) both; }
html[data-switch-label="l"]::view-transition-old(root) { animation-name: vt-out-left; }
html[data-switch-label="l"]::view-transition-new(root) { animation-name: vt-in-right; }
html[data-switch-label="r"]::view-transition-old(root) { animation-name: vt-out-right; }
html[data-switch-label="r"]::view-transition-new(root) { animation-name: vt-in-left; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
@keyframes vt-out-left { to { opacity: 0; transform: translateX(-7%); } }
@keyframes vt-out-right { to { opacity: 0; transform: translateX(7%); } }
@keyframes vt-in-right { from { opacity: 0; transform: translateX(7%); } }
@keyframes vt-in-left { from { opacity: 0; transform: translateX(-7%); } }

/* 2) Fallback for other browsers: slide out, then the next page slides in */
.from-switch .preloader { display: none; }
html:not(.vt) main, html:not(.vt) .footer { transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .8s ease; }
html.is-leaving main, html.is-leaving .footer {
  transition: transform .65s cubic-bezier(.65, 0, .35, 1), opacity .5s ease .1s;
  opacity: 0;
}
html.is-leaving[data-leave="l"] main, html.is-leaving[data-leave="l"] .footer { transform: translateX(-8vw); }
html.is-leaving[data-leave="r"] main, html.is-leaving[data-leave="r"] .footer { transform: translateX(8vw); }
html.from-switch:not(.vt):not(.arrived) main, html.from-switch:not(.vt):not(.arrived) .footer { opacity: 0; transition: none; }
html.from-switch[data-switch-label="l"]:not(.vt):not(.arrived) main, html.from-switch[data-switch-label="l"]:not(.vt):not(.arrived) .footer { transform: translateX(8vw); }
html.from-switch[data-switch-label="r"]:not(.vt):not(.arrived) main, html.from-switch[data-switch-label="r"]:not(.vt):not(.arrived) .footer { transform: translateX(-8vw); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Mobile menu switch */
.switch--menu { display: inline-flex; margin-bottom: 22px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: clamp(56px, 5vw, 96px) var(--gutter) 28px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; max-width: 1760px; margin-inline: auto; }
.footer__brand img { width: 170px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__col h2 { font-weight: 700; font-size: 1.05rem; color: var(--white); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { position: relative; transition: color .3s; }
.footer__col a:hover, .footer__col a:focus-visible { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px;
  max-width: 1760px; margin: clamp(40px, 4vw, 72px) auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  /* inspire: title on top, photos in a two-column grid with labels showing */
  .inspire__stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 14px; }
  .inspire__copy { position: static; grid-column: 1 / -1; padding: 10px 0 20px; }
  .tile, .tile--left { position: relative; inset: auto; width: auto; aspect-ratio: 4 / 3; }
  .tile--extra, .note { display: none; }
  .tile__tag { font-size: 1.05rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .nav__center { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn--white { display: none; }
  .nav__inner { padding: 4px 8px 4px 16px; }

  .needs__list {
    height: auto; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px;
    scrollbar-width: none;
  }
  .needs__list::-webkit-scrollbar { display: none; }
  .need { flex: 0 0 min(440px, 82vw); height: 380px; scroll-snap-align: center; }
  .need.is-active { flex-grow: 0; }
  .need .need__title { max-width: none; }
  .need__tags { width: auto; left: 12px; }
  .need .need__tags li { opacity: 1; transform: none; font-size: 18px; padding: 9px 18px; }
  .need .need__art { transform: translateY(var(--drop, 0px)) scale(1.2); }

  .packages__grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 820px) {
  .nav { inset: 12px 12px auto; }
  .nav__logo img { width: 120px; }

  .why__title { margin-right: 0; }
  .why__stage {
    aspect-ratio: auto; container-type: normal;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 18px 6px; padding: 40px 16px 0; margin-top: 0;
  }
  .sticker {
    --u: min(0.75px, calc((100vw - 40px) / 520));
    position: relative; left: auto; top: auto;
  }
  .sticker--tilt { --r: -6deg; --tr: -6deg; margin-block: 14px; }
  .sticker__text--bold { font-size: 15px; }
  .sticker__text { font-size: 12.5px; }

  .choose__list { gap: 10px; }
  .chip { width: auto; padding-inline: 26px; }

  .pack { padding: 20px 20px 32px; border-radius: 28px; }
  .pack__media { border-radius: 18px; }
}

@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 12px; }
}

/* Reduced motion: everything static, readable, no transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
