:root {
  --paper: #f5f5f3;
  --card: #ffffff;
  --ink: #16171b;
  --ink-soft: #6e717b;
  --line: rgba(22, 23, 27, 0.08);
  --skel: #ecedf0;
  --accent: #5b5bf0;
  --accent-soft: #e4e4fd;
  --font: "Mona Sans Variable", "Mona Sans", system-ui, sans-serif;
  --cw: clamp(92px, 14vmin, 150px);
  --gap: clamp(10px, 1.6vmin, 16px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
  user-select: none;
  -webkit-user-select: none;
}

/* the tilted wall, faded towards the edges */
.scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  perspective: 1500px;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(70% 72% at 50% 50%, #000 42%, transparent 100%);
  mask-image: radial-gradient(70% 72% at 50% 50%, #000 42%, transparent 100%);
}

.wall {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: var(--gap);
  transform-style: preserve-3d;
  will-change: transform;
}

.col {
  width: var(--cw);
  height: calc(max(100vw, 100vh) * 1.7);
  overflow: hidden;
  transform-style: preserve-3d;
}

.track {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  will-change: transform;
  transform-style: preserve-3d;
}

/* a card of the wall: GSAP lifts it, the class gives it the deeper shadow */
.card {
  position: relative;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--cw) * 0.1);
  box-shadow: 0 1px 2px rgba(22, 23, 27, 0.04), 0 6px 16px -8px rgba(22, 23, 27, 0.1);
  padding: calc(var(--cw) * 0.09);
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
  overflow: hidden;
}
.card.is-lift {
  border-color: rgba(91, 91, 240, 0.35);
  box-shadow: 0 2px 4px rgba(22, 23, 27, 0.06), 0 26px 40px -16px rgba(40, 40, 120, 0.34), 0 0 0 3px rgba(91, 91, 240, 0.08);
  z-index: 2;
}

/* skeleton lines and the little product parts */
.sk { display: block; height: calc(var(--cw) * 0.045); border-radius: 99px; background: var(--skel); }
.sk + .sk { margin-top: calc(var(--cw) * 0.04); }
.sk--w8 { width: 80%; } .sk--w6 { width: 60%; } .sk--w4 { width: 40%; } .sk--w3 { width: 30%; }
.sk--dark { background: #d9dbe0; }
.lbl {
  display: block;
  font-size: calc(var(--cw) * 0.075);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}
.num {
  display: block;
  font-size: calc(var(--cw) * 0.13);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-stretch: 112%;
  margin-top: calc(var(--cw) * 0.03);
}
.bars { display: flex; align-items: flex-end; gap: 6%; height: calc(var(--cw) * 0.42); margin-top: calc(var(--cw) * 0.08); }
.bars i { flex: 1; border-radius: calc(var(--cw) * 0.02); background: var(--accent-soft); }
.bars i.on { background: var(--accent); }
.spark { display: block; width: 100%; height: calc(var(--cw) * 0.36); margin-top: calc(var(--cw) * 0.06); overflow: visible; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark path.area { fill: var(--accent-soft); stroke: none; opacity: 0.7; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8%; }
.row + .row { margin-top: calc(var(--cw) * 0.09); }
.row .sk { flex: 1; margin: 0; }
.sw {
  flex: none;
  width: calc(var(--cw) * 0.22);
  height: calc(var(--cw) * 0.13);
  border-radius: 99px;
  background: #d9dbe0;
  position: relative;
}
.sw::after {
  content: "";
  position: absolute;
  top: 12%; left: 8%;
  width: calc(var(--cw) * 0.1); height: 76%;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.sw.on { background: var(--accent); }
.sw.on::after { left: auto; right: 8%; }
.btns { display: flex; gap: 6%; margin-top: calc(var(--cw) * 0.09); }
.btn {
  flex: 1;
  height: calc(var(--cw) * 0.18);
  border-radius: 99px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: calc(var(--cw) * 0.065);
  font-weight: 600;
  white-space: nowrap;
}
.btn.ghosty { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7%; margin-top: calc(var(--cw) * 0.08); }
.swatches i { aspect-ratio: 1; border-radius: calc(var(--cw) * 0.035); }
.avatars { display: flex; margin-top: calc(var(--cw) * 0.08); }
.avatars i {
  width: calc(var(--cw) * 0.2);
  height: calc(var(--cw) * 0.2);
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6%;
  display: grid;
  place-items: center;
  font-size: calc(var(--cw) * 0.06);
  font-style: normal;
  font-weight: 650;
  color: #fff;
}
.avatars i:first-child { margin-left: 0; }
.field {
  margin-top: calc(var(--cw) * 0.07);
  height: calc(var(--cw) * 0.2);
  border: 1px solid var(--line);
  border-radius: calc(var(--cw) * 0.05);
  display: flex;
  align-items: center;
  padding: 0 8%;
  gap: 3%;
  font-size: calc(var(--cw) * 0.07);
  color: var(--ink);
  white-space: nowrap;
}
.field b { width: 1px; height: 55%; background: var(--accent); }
.ring { display: block; width: 46%; margin: calc(var(--cw) * 0.06) auto 0; }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--skel); }
.ring .fg { stroke: var(--accent); stroke-linecap: round; }
.photo {
  height: calc(var(--cw) * 0.5);
  border-radius: calc(var(--cw) * 0.06);
  margin-bottom: calc(var(--cw) * 0.08);
}

/* a soft paper pool behind the words */
.veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(min(46vw, 66vh) min(34vh, 40vw) at 50% 50%, rgba(245, 245, 243, 0.97), rgba(245, 245, 243, 0.88) 50%, rgba(245, 245, 243, 0.45) 78%, rgba(245, 245, 243, 0) 100%);
}

.hero {
  width: min(620px, 100% - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 2.2vh, 18px);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px -8px rgba(22, 23, 27, 0.18);
  font-size: clamp(11px, 1.6vmin, 13px);
  color: var(--ink-soft);
  white-space: nowrap;
}
.pill__tag {
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.title {
  font-size: clamp(28px, min(8.4vw, 10.5vh), 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 640;
  font-stretch: 108%;
}
.line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.08em; }
.word { display: inline-block; will-change: transform; }

.lede {
  max-width: 34ch;
  font-size: clamp(13px, min(2.4vw, 2.6vh), 18px);
  line-height: 1.45;
  color: var(--ink-soft);
}

.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }

.cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(38px, 6vh, 46px);
  padding: 0 clamp(16px, 2.6vmin, 22px);
  border: 0;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: clamp(13px, 1.9vmin, 15px);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(22, 23, 27, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cta__arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.note { font-size: clamp(11px, 1.6vmin, 13px); color: var(--ink-soft); white-space: nowrap; }

.ghost {
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  pointer-events: none;
  opacity: 0;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
  z-index: 5;
}

@media (max-height: 460px) {
  .lede { display: none; }
}
