/* ===========================================
   ONLYMIXING — v8
   Cream side menu · IP currency · yellow A/B
   =========================================== */

:root {
  --green: #0B391E;
  --orange: #FD6115;
  --purple: #C4AEF3;
  --pink: #FFC7C7;
  --mint: #D8F6C9;
  --yellow: #F8DB43;
  --cream: #F5ECD8;
  --line: rgba(245, 236, 216, 0.16);
  --line-dark: rgba(11, 57, 30, 0.18);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 5vw, 56px);
  --maxw: 1280px;
  --side-w: 280px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

html, body { width: 100%; overflow-x: hidden; }
body {
  background: var(--green);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
::selection { background: var(--orange); color: var(--green); }
img { max-width: 100%; display: block; }

/* ===== Page-snap ===== */
.shell {
  transition: transform .55s cubic-bezier(.2, .9, .2, 1);
  will-change: transform;
}
body.menu-open .shell { transform: translateX(calc(var(--side-w) * -1)); }
.page {
  min-height: 100vh;
  max-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad);
  position: relative;
  z-index: 2;
}

/* Section colors */
.page-how      { background: var(--orange); color: var(--green); }
.page-mixes    { background: var(--yellow); color: var(--green); }
.page-ab       { background: var(--yellow); color: var(--green); }
.page-reviews  { background: var(--purple); color: var(--green); }

/* ===== Top-right fixed: logo + basket + burger ===== */
.logo-fixed {
  position: fixed;
  top: 22px;
  right: 146px;
  z-index: 200;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  transition: background .2s ease, color .2s ease;
}
.logo-fixed .dot { color: var(--orange); }
.logo-fixed:hover { background: var(--orange); color: var(--green); }

.basket-btn {
  position: fixed;
  top: 22px;
  right: 84px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .2s ease;
}
.basket-btn:hover { background: var(--orange); transform: translateY(-2px); }
.basket-btn svg { width: 22px; height: 22px; }
.basket-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: var(--green);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  padding: 0 6px;
  line-height: 1;
  border: 2px solid var(--green);
}

.burger {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background .25s ease, transform .3s ease;
}
.burger span {
  width: 20px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
  transition: transform .35s cubic-bezier(.5,.2,.2,1.2), opacity .25s ease;
}
.burger:hover { background: var(--orange); }
body.menu-open .burger { background: var(--orange); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Side menu (cream, thinner) ===== */
.sidemenu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: var(--side-w);
  background: var(--cream);
  color: var(--green);
  border-left: 1px solid var(--line-dark);
  padding: 90px 30px 30px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.2, .9, .2, 1);
}
body.menu-open .sidemenu { transform: translateX(0); }
.side-nav { display: flex; flex-direction: column; flex: 1; }
.side-nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--green);
  transition: color .2s ease, padding .2s ease;
}
.side-nav a:hover { color: var(--orange); padding-left: 8px; }
.side-foot {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--green);
  opacity: 0.7;
}
.side-foot p { margin-bottom: 6px; }
.side-foot a:hover { color: var(--orange); opacity: 1; }

/* ===== Big section H2 ===== */
.big-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--cream);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.big-h2 .italic { font-style: italic; font-weight: 600; }
.big-h2 .italic.accent { color: var(--orange); }

/* =========================================
   HERO
   ========================================= */
.page-hero { overflow: hidden; }
.hero-globe {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  overflow: hidden;
}
.hero-globe canvas {
  cursor: grab;
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.hero-globe canvas:active { cursor: grabbing; }
.hero-globe {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-globe.is-visible { opacity: 0.18; }

/* The "worldwide" word reveals the globe on hover */
.line-worldwide {
  pointer-events: auto;
  cursor: default;
  display: inline-block;
}
.page-hero .page-inner {
  padding-top: clamp(100px, 12vw, 140px);
  padding-bottom: clamp(80px, 10vw, 120px);
  pointer-events: none;
  position: relative;
  z-index: 2;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--orange);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.wordmark .line { display: block; }
.wordmark .italic {
  font-style: italic;
  font-weight: 600;
  color: var(--cream);
  padding-left: clamp(40px, 8vw, 140px);
}

.ltr {
  display: inline-block;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.c1 { animation-name: cyc-o; animation-delay: 0.0s; }
.c2 { animation-name: cyc-pu; animation-delay: 0.15s; }
.c3 { animation-name: cyc-y; animation-delay: 0.3s; }
.c4 { animation-name: cyc-g; animation-delay: 0.45s; }
.c5 { animation-name: cyc-pi; animation-delay: 0.6s; }
.c6 { animation-name: cyc-o; animation-delay: 0.75s; }
.c7 { animation-name: cyc-y; animation-delay: 0.9s; }
.c8 { animation-name: cyc-g; animation-delay: 1.05s; }
@keyframes cyc-o  { 0%, 100% { color: var(--orange); } 50% { color: var(--purple); } }
@keyframes cyc-pu { 0%, 100% { color: var(--orange); } 50% { color: var(--pink); } }
@keyframes cyc-y  { 0%, 100% { color: var(--orange); } 50% { color: var(--yellow); } }
@keyframes cyc-g  { 0%, 100% { color: var(--orange); } 50% { color: var(--mint); } }
@keyframes cyc-pi { 0%, 100% { color: var(--orange); } 50% { color: var(--pink); } }

/* ===== Trust widget — round promo sticker ===== */
.trust-widget {
  position: absolute;
  top: clamp(180px, calc(9vw + 100px), 220px);
  right: clamp(20px, calc(7vw - 50px), 64px);
  width: clamp(180px, 17vw, 220px);
  height: clamp(180px, 17vw, 220px);
  z-index: 5;
  background: var(--yellow);
  /* 16-point starburst */
  clip-path: polygon(
    50% 0%, 58.2% 8.8%, 69.1% 3.8%, 73.4% 15.1%,
    85.4% 14.6%, 84.9% 26.7%, 96.2% 30.9%, 91.2% 41.8%,
    100% 50%, 91.2% 58.2%, 96.2% 69.1%, 84.9% 73.3%,
    85.4% 85.4%, 73.4% 84.9%, 69.1% 96.2%, 58.2% 91.2%,
    50% 100%, 41.8% 91.2%, 30.9% 96.2%, 26.7% 84.9%,
    14.6% 85.4%, 15.1% 73.3%, 3.8% 69.1%, 8.8% 58.2%,
    0% 50%, 8.8% 41.8%, 3.8% 30.9%, 15.1% 26.7%,
    14.6% 14.6%, 26.7% 15.1%, 30.9% 3.8%, 41.8% 8.8%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  pointer-events: none;
  animation: trust-wobble 5s ease-in-out infinite;
}
@keyframes trust-wobble {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(-4deg) scale(1.04); }
}
.trust-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.trust-curve-text,
.trust-curve-text-bot {
  fill: var(--green);
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.trust-curve-text-bot {
  font-size: 10px;
  letter-spacing: 3px;
  opacity: 0.65;
}
.trust-logos {
  position: relative;
  width: 60%;
  aspect-ratio: 1 / 1;
}
.trust-logos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .4s ease;
  filter: invert(1);
  mix-blend-mode: multiply;
}
.trust-logos img.is-active { opacity: 1; }

@media (max-width: 720px) {
  .trust-widget {
    position: static;
    margin: 40px auto 0;
    width: 170px;
    height: 170px;
    transform: rotate(-6deg);
  }
  @keyframes trust-wobble {
    0%, 100% { transform: rotate(-6deg) scale(1); }
    50%      { transform: rotate(-3deg) scale(1.03); }
  }
  .trust-curve-text { font-size: 11px; letter-spacing: 2px; }
  .trust-curve-text-bot { font-size: 9px; letter-spacing: 2.4px; }
}

/* Hero subtitle — much bigger */
.hero-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 1000px;
}
.hero-sub em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  color: var(--orange);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.page-how { color: var(--green); }
.page-how .page-inner {
  padding-top: clamp(70px, 9vw, 110px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.how-title {
  color: var(--green);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.how-title .italic { color: var(--cream); }

/* Background scrolling arrows — left → right */
.bg-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 1;
}
.ba-row {
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 24px;
  color: rgba(11, 57, 30, 0.08);
  line-height: 1;
  animation: ba-slide 30s linear infinite;
}
.ba-row:nth-child(1) { font-size: 80px;  animation-duration: 28s; animation-delay: 0s; }
.ba-row:nth-child(2) { font-size: 140px; animation-duration: 42s; animation-delay: -10s; }
.ba-row:nth-child(3) { font-size: 60px;  animation-duration: 18s; animation-delay: -5s; }
.ba-row:nth-child(4) { font-size: 100px; animation-duration: 36s; animation-delay: -18s; }
@keyframes ba-slide {
  from { transform: translateX(-25%); }
  to   { transform: translateX(0); }
}

/* Flow row */
.flow-row {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.flow-step {
  text-align: center;
  padding: 28px 16px;
  border-radius: 14px;
  border: 2px solid transparent;
  position: relative;
  transition: border-color .4s ease, background .4s ease;
  animation: flow-pulse 7.5s ease-in-out infinite;
}
.flow-step[style*="--i: 0"] { animation-delay: 0s; }
.flow-step[style*="--i: 1"] { animation-delay: 1.5s; }
.flow-step[style*="--i: 2"] { animation-delay: 3s; }
.flow-step[style*="--i: 3"] { animation-delay: 4.5s; }
.flow-step[style*="--i: 4"] { animation-delay: 6s; }
@keyframes flow-pulse {
  0%, 18%, 100% { border-color: transparent; background: transparent; }
  4%, 14%       { border-color: var(--green); background: rgba(11, 57, 30, 0.07); }
}
.flow-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6.5vw, 84px);
  letter-spacing: -0.03em;
  color: var(--green);
  margin-bottom: 12px;
  opacity: 0.4;
  animation: flow-num 7.5s ease-in-out infinite;
}
.flow-step[style*="--i: 0"] .flow-num { animation-delay: 0s; }
.flow-step[style*="--i: 1"] .flow-num { animation-delay: 1.5s; }
.flow-step[style*="--i: 2"] .flow-num { animation-delay: 3s; }
.flow-step[style*="--i: 3"] .flow-num { animation-delay: 4.5s; }
.flow-step[style*="--i: 4"] .flow-num { animation-delay: 6s; }
@keyframes flow-num {
  0%, 18%, 100% { opacity: 0.4; color: var(--green); }
  4%, 14%       { opacity: 1;   color: var(--cream); }
}
.flow-step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--green);
}

/* Step 1 — make it visually inviting + clickable */
.flow-step.flow-step-start {
  animation: none !important;
  border: 2px solid var(--green);
  background: rgba(11, 57, 30, 0.06);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.flow-step.flow-step-start .flow-num {
  animation: none !important;
  opacity: 1;
  color: var(--cream);
}
.flow-step.flow-step-start:hover {
  background: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(11, 57, 30, 0.18);
}
.flow-step.flow-step-start:hover h3,
.flow-step.flow-step-start:hover p,
.flow-step.flow-step-start:hover .flow-cta {
  color: var(--cream);
}
.flow-step.flow-step-start:hover .flow-num { color: var(--orange); }
.flow-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--cream);
  transition: background .2s ease, color .2s ease;
}
.flow-step.flow-step-start:hover .flow-cta {
  background: var(--orange);
  color: var(--green);
}
.flow-step p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--green);
  opacity: 0.75;
  max-width: 200px;
  margin: 0 auto;
}
.flow-arrow {
  width: 100%;
  max-width: 60px;
  height: 18px;
  color: var(--green);
  opacity: 0.7;
  /* Sit at the vertical middle of the step numbers (which are top-aligned) */
  margin-top: clamp(54px, 6vw, 80px);
}

/* =========================================
   MIXES (yellow page)
   ========================================= */
.page-mixes .big-h2 { color: var(--green); }
.page-mixes .big-h2 .accent { color: var(--green); font-style: italic; }
.mixes {
  list-style: none;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
}
.mixes li {
  display: grid;
  grid-template-columns: 50px 1.2fr 2fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(20px, 2.4vw, 32px) 16px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--green);
  transition: background .2s ease;
}
.mixes li:hover { background: rgba(11, 57, 30, 0.04); }
.mixes li:last-child { border-bottom: 0; }
.mixes .n { font-family: var(--display); font-size: 14px; opacity: 0.5; color: var(--green); }
.mixes .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--green);
}
.mixes .d {
  font-family: var(--body);
  font-size: 14px;
  opacity: 0.75;
  color: var(--green);
}
.mixes .p {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--green);
  letter-spacing: -0.02em;
  min-width: 170px;
  text-align: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: transparent;
  transition: color .25s ease;
  justify-self: end;
  position: relative;
  z-index: 2;
}
/* CSS fallback — orange behind selected by default, hovered row when any is hovered.
   The :not(:hover) keeps the blob on the .selected row when the hovered row IS Standard. */
.mixes li.selected .p { background: var(--orange); }
.mixes:has(li:hover) li.selected:not(:hover) .p { background: transparent; }
.mixes li:hover .p { background: var(--orange); }

/* Once JS injects the floating blob, suppress the CSS fallback backgrounds */
.mixes.has-blob li .p { background: transparent !important; }

/* The sliding orange blob — a single physical element that JS positions */
.mixes-blob {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--orange);
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  will-change: transform, width, height;
  transition:
    transform .42s cubic-bezier(.2, .85, .2, 1),
    width .25s ease,
    height .25s ease,
    opacity .2s ease;
}
.mixes-blob.is-visible { opacity: 1; }

.mixes-note {
  text-align: center;
  margin-top: clamp(28px, 3.2vw, 44px);
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.6;
}
@media (max-width: 760px) {
  .mixes li {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "n name"
      ". d"
      ". p";
    gap: 4px 16px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .mixes .n    { grid-area: n; align-self: start; padding-top: 6px; }
  .mixes .name { grid-area: name; }
  .mixes .d    { grid-area: d; padding-top: 4px; }
  .mixes .p    {
    grid-area: p;
    justify-self: start;
    margin-top: 14px;
    padding: 8px 22px;
    min-width: 0;
    text-align: left;
  }
}

/* =========================================
   BEFORE / AFTER — interactive player
   ========================================= */
/* Override .page's justify-content: center — content flows from the top */
.page-ab { justify-content: flex-start; }
.page-ab .big-h2 {
  color: var(--green);
  flex-shrink: 0;
  font-size: clamp(48px, 8vw, 110px);
  margin-bottom: clamp(28px, 3.6vw, 52px);
}
.page-ab .big-h2 .accent { color: var(--green); font-style: italic; }
.page-ab .page-inner {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  /* Vertically center the whole stack inside the viewport */
  justify-content: center;
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 72px);
}
.page-ab .player-card { flex-shrink: 0; margin-top: 0; }

/* ===== CARD ===== */
.player-card {
  background: #ffffff;
  color: var(--green);
  border-radius: clamp(16px, 2vw, 26px);
  padding: clamp(14px, 2.2vw, 28px);
  margin-top: clamp(10px, 1.4vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
  position: relative;
  /* overflow stays VISIBLE so the play-button rings can pulse past
     the card's edge onto the yellow page bg. The striped background
     gets its own clipper (.card-stripes) below. */
  box-shadow: 0 14px 36px rgba(11, 57, 30, 0.14);
  transition: box-shadow .55s ease;
}
.player-card.is-after { box-shadow: 0 28px 70px rgba(11, 57, 30, 0.30); }

/* Inner clipper that holds the moving stripes — keeps them inside the
   card's rounded shape without clipping the card's other children. */
.card-stripes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.player-card.is-after .card-stripes { opacity: 1; }

/* Tilted moving stripes — big rotated square inside .card-stripes
   (which clips them to the card shape). The card itself stays
   overflow: visible so the play rings can extend onto the page. */
.card-stripes::before {
  content: "";
  position: absolute;
  width: 200vmax;
  height: 200vmax;
  top: 50%;
  left: 50%;
  background: repeating-linear-gradient(
    90deg,
    var(--purple) 0,     var(--purple) 180px,
    var(--pink)   180px, var(--pink)   360px,
    var(--yellow) 360px, var(--yellow) 540px,
    var(--mint)   540px, var(--mint)   720px
  );
  transform: translate(-50%, -50%) rotate(-15deg);
  transform-origin: center;
  pointer-events: none;
  animation: stripe-flow 16s linear infinite;
}
@keyframes stripe-flow { to { background-position: -720px 0; } }
.player-card > *:not(.card-stripes):not(.pl-flash) { position: relative; z-index: 1; }

/* Flash overlay on AFTER click */
.pl-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(248, 219, 67, 0.5) 35%,
    rgba(253, 97, 21, 0.25) 60%,
    transparent 78%);
  opacity: 0;
  z-index: 5;
}
.player-card.is-flashing .pl-flash { animation: pl-flash .55s ease-out; }
@keyframes pl-flash { 0% { opacity: 0.95; } 100% { opacity: 0; } }

/* Card shake on AFTER click */
@keyframes pl-shake {
  0%   { transform: translate(0, 0) rotate(0); }
  8%   { transform: translate(-14px, -3px) rotate(-2.2deg); }
  18%  { transform: translate(12px, 2px)   rotate(2deg); }
  28%  { transform: translate(-10px, -1px) rotate(-1.6deg); }
  38%  { transform: translate(9px, 1px)    rotate(1.4deg); }
  48%  { transform: translate(-7px, 0)     rotate(-1deg); }
  58%  { transform: translate(5px, 0)      rotate(0.7deg); }
  68%  { transform: translate(-3px, 0)     rotate(-0.4deg); }
  80%  { transform: translate(2px, 0)      rotate(0.2deg); }
  100% { transform: translate(0, 0)        rotate(0); }
}
.player-card.is-shaking { animation: pl-shake .7s cubic-bezier(.36, .07, .19, .97); }

/* BEFORE | PLAY | AFTER — fused row on desktop · stacked on mobile */
.pl-controls {
  position: relative;
}
.pl-toggle-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.pl-bigtog {
  background: rgba(11, 57, 30, 0.05);
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 40px);
  color: rgba(11, 57, 30, 0.32);
  padding: clamp(10px, 1.6vw, 20px) clamp(16px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  min-height: clamp(64px, 7.5vw, 92px);
  letter-spacing: -0.035em;
  position: relative;
  transition:
    background .45s ease,
    color .45s ease,
    transform .35s cubic-bezier(.34, 1.56, .54, 1);
  outline: none;
  z-index: 1;
}
.pl-bigtog .lbl { display: inline-flex; align-items: baseline; }
.pl-bigtog .lbl .dot { font-style: normal; font-weight: 500; opacity: 0.5; }

.pl-bigtog[data-state="before"] {
  justify-content: flex-start;
  padding-right: clamp(48px, 7vw, 84px);
  border-radius: clamp(14px, 1.8vw, 22px) 0 0 clamp(14px, 1.8vw, 22px);
}
.pl-bigtog[data-state="after"] {
  justify-content: flex-end;
  padding-left: clamp(48px, 7vw, 84px);
  border-radius: 0 clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px) 0;
}

.pl-bigtog:hover {
  background: rgba(11, 57, 30, 0.10);
  color: rgba(11, 57, 30, 0.7);
}
.player-card.is-after .pl-bigtog {
  background: rgba(245, 236, 216, 0.45);
  color: rgba(11, 57, 30, 0.5);
}
.player-card.is-after .pl-bigtog:hover {
  background: rgba(245, 236, 216, 0.65);
  color: rgba(11, 57, 30, 0.75);
}
.player-card.is-before .pl-bigtog[data-state="before"] {
  background: var(--green);
  color: var(--cream);
}
.player-card.is-after .pl-bigtog[data-state="after"] {
  background: var(--cream);
  color: var(--orange);
}

@keyframes activate-bounce {
  0%   { transform: scale(0.94); }
  55%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.pl-bigtog.is-pressed { animation: activate-bounce .45s cubic-bezier(.34, 1.56, .54, 1); }

/* Attention shake — fires every 2s on AFTER label when BEFORE is active.
   The label scales up significantly and shakes; letters ripple through
   the hero palette in a stagger. */
@keyframes pl-attract {
  0%, 72%, 100% { transform: scale(1); }
  76% { transform: scale(1.12) translateX(-6px) rotate(-5deg); }
  82% { transform: scale(1.26) translateX(6px)  rotate(5deg); }
  88% { transform: scale(1.34) translateX(-4px) rotate(-3deg); }
  93% { transform: scale(1.22) translateX(4px)  rotate(3deg); }
  97% { transform: scale(1)    translateX(0)    rotate(0); }
}
.player-card.is-before .pl-bigtog[data-state="after"] .lbl {
  animation: pl-attract 2s ease-in-out infinite;
  transform-origin: center;
  display: inline-block;
}

/* Letter-by-letter color wave on the same 2s cycle (only in BEFORE mode) */
.player-card.is-before .pl-bigtog[data-state="after"] .ltr-a {
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.player-card.is-before .pl-bigtog[data-state="after"] .ltr-a:nth-child(1) { animation-name: pl-wave-1; animation-delay: 0s; }
.player-card.is-before .pl-bigtog[data-state="after"] .ltr-a:nth-child(2) { animation-name: pl-wave-2; animation-delay: .04s; }
.player-card.is-before .pl-bigtog[data-state="after"] .ltr-a:nth-child(3) { animation-name: pl-wave-3; animation-delay: .08s; }
.player-card.is-before .pl-bigtog[data-state="after"] .ltr-a:nth-child(4) { animation-name: pl-wave-4; animation-delay: .12s; }
.player-card.is-before .pl-bigtog[data-state="after"] .ltr-a:nth-child(5) { animation-name: pl-wave-5; animation-delay: .16s; }
.player-card.is-before .pl-bigtog[data-state="after"] .lbl .dot {
  animation: pl-wave-dot 2s ease-in-out infinite;
  animation-delay: .20s;
  display: inline-block;
}

@keyframes pl-wave-1   { 0%, 78%, 100% { color: inherit; } 86% { color: var(--orange); } 92% { color: inherit; } }
@keyframes pl-wave-2   { 0%, 78%, 100% { color: inherit; } 86% { color: var(--pink);   } 92% { color: inherit; } }
@keyframes pl-wave-3   { 0%, 78%, 100% { color: inherit; } 86% { color: var(--yellow); } 92% { color: inherit; } }
@keyframes pl-wave-4   { 0%, 78%, 100% { color: inherit; } 86% { color: var(--mint);   } 92% { color: inherit; } }
@keyframes pl-wave-5   { 0%, 78%, 100% { color: inherit; } 86% { color: var(--orange); } 92% { color: inherit; } }
@keyframes pl-wave-dot { 0%, 78%, 100% { color: inherit; } 86% { color: var(--orange); } 92% { color: inherit; } }

/* Mobile-only "/" separator between before / after */
.pl-slash { display: none; }

/* Mobile marquee — hidden on desktop */
.pl-marquee { display: none; }
.mq-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: pl-marquee 22s linear infinite;
}
.mq-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(22px, 7vw, 30px);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mq-sep {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 4.5vw, 22px);
  color: var(--green);
  opacity: 0.4;
  padding: 0 14px;
}
.mq-info {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(13px, 3.6vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
}
.mq-spacer { display: inline-block; width: 80px; }
@keyframes pl-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Letter cycling on "after." */
.ltr-a { display: inline-block; }
.player-card.is-after .pl-bigtog[data-state="after"] .ltr-a {
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.player-card.is-after .pl-bigtog[data-state="after"] .ltr-a:nth-child(1) { animation-name: pl-cyc-1; animation-delay: 0s; }
.player-card.is-after .pl-bigtog[data-state="after"] .ltr-a:nth-child(2) { animation-name: pl-cyc-2; animation-delay: 0.15s; }
.player-card.is-after .pl-bigtog[data-state="after"] .ltr-a:nth-child(3) { animation-name: pl-cyc-3; animation-delay: 0.30s; }
.player-card.is-after .pl-bigtog[data-state="after"] .ltr-a:nth-child(4) { animation-name: pl-cyc-4; animation-delay: 0.45s; }
.player-card.is-after .pl-bigtog[data-state="after"] .ltr-a:nth-child(5) { animation-name: pl-cyc-5; animation-delay: 0.60s; }
.player-card.is-after .pl-bigtog[data-state="after"] .lbl .dot { color: var(--orange); }
@keyframes pl-cyc-1 { 0%, 100% { color: var(--orange); } 50% { color: var(--purple); } }
@keyframes pl-cyc-2 { 0%, 100% { color: var(--orange); } 50% { color: var(--pink); } }
@keyframes pl-cyc-3 { 0%, 100% { color: var(--orange); } 50% { color: var(--yellow); } }
@keyframes pl-cyc-4 { 0%, 100% { color: var(--orange); } 50% { color: var(--mint); } }
@keyframes pl-cyc-5 { 0%, 100% { color: var(--orange); } 50% { color: var(--purple); } }

/* PLAY — yellow disc on the seam */
.pl-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(96px, 11vw, 130px);
  height: clamp(96px, 11vw, 130px);
  border-radius: 50%;
  border: 3px solid var(--green);
  background: var(--yellow);
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .35s ease, box-shadow .35s ease;
  box-shadow:
    inset 0 -4px 0 rgba(11, 57, 30, 0.12),
    0 8px 20px rgba(11, 57, 30, 0.32),
    0 18px 44px rgba(11, 57, 30, 0.16);
  z-index: 3;
}
.player-card.is-after .pl-play {
  box-shadow:
    inset 0 -5px 0 rgba(11, 57, 30, 0.18),
    0 14px 30px rgba(11, 57, 30, 0.45),
    0 32px 70px rgba(11, 57, 30, 0.30);
}
.pl-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.pl-play:active { transform: translate(-50%, -50%) scale(0.95); }
.pl-play svg { width: 56%; height: 56%; }
.pl-play .icn-play { margin-left: 6%; }
.pl-play .icn-pause { display: none; }
.player-card.is-playing .pl-play .icn-play { display: none; }
.player-card.is-playing .pl-play .icn-pause { display: block; }

.player-card.is-playing .pl-play::before,
.player-card.is-playing .pl-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}
.player-card.is-playing .pl-play::before { animation: play-ring 2s ease-out infinite; }
.player-card.is-playing .pl-play::after  { animation: play-ring 2s ease-out infinite 1s; }
@keyframes play-ring {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.32); opacity: 0; }
}

/* Progress */
.pl-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.pl-time {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.pl-bar {
  height: 5px;
  background: rgba(11, 57, 30, 0.14);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
}
.pl-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--green);
  border-radius: 6px;
  transition: background .4s ease;
}

/* Bottom row: title/artist + NEXT */
.pl-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}
.pl-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  justify-content: center;
}
.pl-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 22px);
  color: var(--green);
  letter-spacing: -0.025em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-sub {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* NEXT ! pill — flat orange, mirrors the checkout button */
.pl-random {
  background: var(--orange);
  color: var(--green);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.pl-random .bang { margin-left: 2px; font-style: normal; }
.pl-random .arr {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  margin-left: 6px;
  animation: arr-nudge 1.4s ease-in-out infinite;
}
.pl-random:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.pl-random:hover .arr { animation-duration: 0.55s; }
.pl-random:active { transform: translateY(0); }
@keyframes arr-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

/* Playlist — narrower than the player, fills remaining space, scrolls internally */
.tracklist-wrap {
  max-width: 58%;
  margin: clamp(16px, 2vw, 28px) auto 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: clamp(140px, 20vh, 220px);
}
.tracklist {
  list-style: none;
  border-top: 1px solid rgba(11, 57, 30, 0.16);
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 57, 30, 0.3) transparent;
}
.tracklist::-webkit-scrollbar { width: 6px; }
.tracklist::-webkit-scrollbar-track { background: transparent; }
.tracklist::-webkit-scrollbar-thumb {
  background: rgba(11, 57, 30, 0.25);
  border-radius: 6px;
}
.tracklist::-webkit-scrollbar-thumb:hover { background: rgba(11, 57, 30, 0.45); }
.tracklist li {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(11, 57, 30, 0.12);
  cursor: pointer;
  color: var(--green);
  transition: background .2s ease, padding .25s ease, color .2s ease;
}
.tracklist li:hover { background: rgba(11, 57, 30, 0.06); padding-left: 20px; }
.tracklist li.is-active {
  background: var(--green);
  color: var(--cream);
  padding-left: 20px;
  border-bottom-color: transparent;
}
.tracklist .tl-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  opacity: 0.55;
}
.tracklist .tl-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracklist .tl-artist {
  font-family: var(--display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracklist .tl-dur {
  font-family: var(--display);
  font-size: 11px;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}
.tracklist li.is-active .tl-num,
.tracklist li.is-active .tl-artist,
.tracklist li.is-active .tl-dur { opacity: 0.75; }
.tracklist li.is-active::before {
  content: "▸";
  position: absolute;
  margin-left: -14px;
  color: var(--orange);
  animation: tl-tick 1.2s ease-in-out infinite;
}
@keyframes tl-tick {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50%      { transform: translateX(2px); opacity: 0.6; }
}

@media (max-width: 720px) {
  /* Stack: yellow play on top · unified before/after pill below */
  .pl-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .pl-play {
    position: static;
    transform: none;
    width: 120px;
    height: 120px;
  }
  .pl-play:hover  { transform: scale(1.06); }
  .pl-play:active { transform: scale(0.95); }
  /* No pulsing halo rings on phone */
  .player-card.is-playing .pl-play::before,
  .player-card.is-playing .pl-play::after { display: none; }

  /* One pill cut in half by the "/" — before and after share the same outer border */
  .pl-toggle-pair {
    display: inline-flex;
    align-items: stretch;
    border: 2.5px solid var(--green);
    border-radius: 999px;
    padding: 4px;
    background: transparent;
    grid-template-columns: none;
    transition: border-color .4s ease;
  }
  .player-card.is-after .pl-toggle-pair { border-color: var(--cream); }

  .pl-bigtog {
    background: transparent;
    border: 0;
    min-height: auto;
    padding: 6px 18px;
    font-size: clamp(26px, 8.5vw, 38px);
    color: rgba(11, 57, 30, 0.4);
    transition: background .35s ease, color .35s ease;
  }
  .pl-bigtog[data-state="before"],
  .pl-bigtog[data-state="after"] {
    border-radius: 999px;
    padding: 6px 18px;
  }
  .pl-bigtog:hover {
    background: transparent;
    color: rgba(11, 57, 30, 0.7);
  }
  /* Active fills the half */
  .player-card.is-before .pl-bigtog[data-state="before"] {
    background: var(--green);
    color: var(--cream);
  }
  .player-card.is-after .pl-bigtog[data-state="after"] {
    background: var(--cream);
    color: var(--orange);
  }
  /* Inactive in AFTER mode reads on the striped bg */
  .player-card.is-after .pl-bigtog {
    background: transparent;
    color: rgba(11, 57, 30, 0.55);
  }
  .player-card.is-after .pl-bigtog[data-state="after"] {
    background: var(--cream);
    color: var(--orange);
  }

  .pl-slash {
    display: flex;
    align-items: center;
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(28px, 9vw, 40px);
    color: rgba(11, 57, 30, 0.45);
    padding: 0 2px;
    line-height: 1;
    user-select: none;
  }

  /* Swap title/sub for a single marquee */
  .pl-title, .pl-sub { display: none; }
  .pl-marquee {
    display: block;
    overflow: hidden;
    width: 100%;
  }

  /* NEXT stays right */
  .pl-bottom-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }
  .pl-random {
    padding: 11px 20px;
    font-size: 14px;
    justify-self: end;
  }

  .tracklist-wrap {
    max-width: 96%;
    max-height: clamp(260px, 42vh, 360px);
  }
  .tracklist li { grid-template-columns: 22px 1fr auto; gap: 12px; padding: 7px 12px; }
  .tracklist .tl-name { font-size: 15px; }
  .tracklist .tl-artist { display: none; }
}
@media (max-width: 480px) {
  .pl-play { width: 104px; height: 104px; }
  .pl-bigtog { font-size: clamp(22px, 8vw, 30px); padding: 5px 14px; }
  .pl-random { padding: 9px 16px; font-size: 13px; }
}

/* =========================================
   STUDIO PHOTO PAGE
   ========================================= */
.page-studio { position: relative; overflow: hidden; padding: 0; }

/* Stacked-fade image carousel */
.studio-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.studio-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.studio-carousel img.is-active {
  opacity: 1;
}

.studio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: clamp(48px, 7vw, 100px) var(--pad);
  background: linear-gradient(to top, rgb(196, 174, 243) 0%, rgb(196, 174, 243) 35%, rgba(196, 174, 243, 0.7) 70%, rgba(196, 174, 243, 0));
  color: var(--green);
  pointer-events: none;
}
.studio-overlay a,
.studio-overlay button { pointer-events: auto; }
.studio-overlay h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--green);
  margin-bottom: 22px;
}
.studio-overlay h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--green);
}
.studio-overlay > p {
  font-family: var(--body);
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--green);
  max-width: 680px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.4;
}
.studio-overlay > p.studio-byline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  color: var(--green);
  opacity: 1;
  margin-top: -8px;
  margin-bottom: 36px;
}
.studio-byline a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.studio-byline a:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.studio-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  font-family: var(--display);
  font-size: 16px;
  color: var(--green);
}
.studio-stats li { display: flex; align-items: baseline; gap: 8px; }
.studio-stats strong {
  font-weight: 800;
  font-size: 30px;
  color: var(--green);
  letter-spacing: -0.02em;
}
.kicker {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

/* =========================================
   REVIEWS — pink page · carousel
   ========================================= */
.page-reviews .big-h2 { color: var(--green); }
.page-reviews .big-h2 .accent { color: var(--green); font-style: italic; }
.rv-title { text-align: center; margin-bottom: clamp(28px, 4vw, 56px); }

.reviews-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.rv-track {
  list-style: none;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  text-align: center;
  padding: 0 clamp(40px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: clamp(260px, 38vh, 360px);
}
.rv-slide blockquote {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--green);
  max-width: 900px;
  margin: 0 auto 28px;
}
.rv-slide .qm {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-style: normal;
  color: var(--green);
  animation: wiggle 3s ease-in-out infinite;
}
.rv-slide .qm:last-child { animation-delay: 1.5s; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25%      { transform: rotate(-6deg) scale(1.1); }
  75%      { transform: rotate(6deg) scale(1.1); }
}
.rv-slide cite {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.75;
  font-style: normal;
}

.rv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .2s ease, transform .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.rv-arrow svg {
  display: block;
  width: 22px;
  height: 22px;
}
.rv-arrow:hover {
  background: var(--orange);
  color: var(--green);
  transform: translateY(-50%) scale(1.06);
}
.rv-prev { left: -8px; }
.rv-next { right: -8px; }
@media (max-width: 720px) {
  /* Phone: same horizontal carousel as desktop, just smaller arrows */
  .rv-arrow { width: 42px; height: 42px; }
  .rv-arrow svg { width: 18px; height: 18px; }
  .rv-prev { left: -4px; }
  .rv-next { right: -4px; }
  .rv-slide blockquote { font-size: clamp(22px, 5.5vw, 28px); }
}

.rv-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.rv-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.3;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.rv-dots button.active { opacity: 1; transform: scale(1.3); }

/* =========================================
   BOOK — let it grow if the form is taller than viewport
   ========================================= */
.page-book {
  max-height: none;
  height: auto;
  overflow: visible;
}
.page-book .page-inner {
  max-width: 1280px;
  padding-top: clamp(90px, 10vw, 130px);
  padding-bottom: clamp(60px, 7vw, 90px);
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 980px) {
  .book-grid { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
}
.book-title { font-size: clamp(40px, 6vw, 84px); margin-bottom: 20px; }
.basket { display: flex; flex-direction: column; gap: 14px; }
.bk-block { border: 0; padding: 0; margin: 0; }
.bk-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bk-row3 label:nth-child(3) { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .bk-row3 { grid-template-columns: 1fr; }
}
.bk-block label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.bk-block label > span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
}
.bk-block input[type="text"],
.bk-block input[type="email"],
.bk-block textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  padding: 8px 0 6px;
  border-radius: 0;
  transition: border-color .2s ease;
}
.bk-block textarea {
  resize: vertical;
  min-height: 100px;
  padding: 8px 0;
  line-height: 1.5;
}
.bk-block input:focus, .bk-block textarea:focus { outline: 0; border-color: var(--orange); }
.bk-block input::placeholder, .bk-block textarea::placeholder { color: var(--cream); opacity: 0.55; }

/* Tier cards */
.bk-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 600px) {
  .bk-tiers { grid-template-columns: repeat(3, 1fr); }
}
.tier {
  position: relative;
  display: grid !important;
  grid-template-rows: auto auto auto;
  gap: 2px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  margin: 0 !important;
}
.tier:hover { border-color: var(--orange); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier-name {
  font-family: var(--display) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: var(--cream);
  opacity: 1 !important;
}
.tier-desc {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.35;
  color: var(--cream);
}
.tier-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.tier:has(input:checked) { background: var(--orange); border-color: var(--orange); }
.tier:has(input:checked) .tier-name,
.tier:has(input:checked) .tier-desc,
.tier:has(input:checked) .tier-price { color: var(--green) !important; opacity: 1; }

/* Options row */
.bk-options {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 760px) {
  .bk-options { grid-template-columns: 1fr; }
}
.counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cn-lbl {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  color: var(--cream);
}
.cn-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.cn-btn:hover { background: var(--orange); transform: scale(1.05); }
.cn-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; background: var(--cream); }
.cn-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  min-width: 24px;
  text-align: center;
}
.addon-inline {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px !important;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  margin: 0 !important;
}
.addon-inline input { grid-row: 1 / span 2; align-self: center; }
.addon-name { grid-column: 2; grid-row: 1; }
.addon-price { grid-column: 2; grid-row: 2; }
.addon-inline:hover { border-color: var(--orange); }
.addon-inline input {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--cream);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex-shrink: 0;
}
.addon-inline input:checked { background: var(--orange); border-color: var(--orange); }
.addon-inline input:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}
.addon-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none !important;
  color: var(--cream);
  opacity: 1 !important;
}
.addon-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.addon-price i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  color: var(--cream);
}
.addon-inline:has(input:checked) { background: rgba(253, 97, 21, 0.1); border-color: var(--orange); }

/* Receipt — clean green panel */
.book-r { position: sticky; top: 24px; }
.receipt {
  background: rgba(245, 236, 216, 0.04);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 24px 24px;
  border-radius: 10px;
}
.r-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}
.r-lines {
  list-style: none;
  font-family: var(--display);
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.r-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
}
.r-lines li.r-line-sub { font-size: 12px; opacity: 0.8; padding: 0 0 4px; font-weight: 500; }
.r-lines li.r-line-multi {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
}
.r-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
  margin-bottom: 16px;
}
.r-total span {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.r-total strong {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--orange);
  letter-spacing: -0.02em;
}
.r-billed {
  text-align: right;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  color: var(--cream);
  opacity: 0.7;
  margin-top: -4px;
  margin-bottom: 16px;
  min-height: 1em;
}
.r-billed:empty { margin: 0; min-height: 0; }
.r-checkout {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--green);
  background: var(--orange);
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.r-checkout:hover { background: var(--cream); transform: translateY(-2px); }
.r-secure {
  text-align: center;
  margin-top: 12px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.stripe-brand {
  font-family: -apple-system, "Helvetica Neue", "Inter", sans-serif;
  font-weight: 700;
  color: #635BFF;
  letter-spacing: -0.01em;
}

/* =========================================
   FAQ
   ========================================= */
/* FAQ + footer escape the page-snap "one-page" constraint and scroll naturally */
.page-faq, .page-footer {
  min-height: auto;
  max-height: none;
  height: auto;
  display: block;
  overflow: visible;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}
.page-faq .page-inner { max-width: 900px; margin: 0 auto; }
.faq-title { margin-bottom: clamp(28px, 4vw, 56px); }
.page-faq details { border-bottom: 1px solid var(--line); }
.page-faq details:first-of-type { border-top: 1px solid var(--line); }
.page-faq summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.8vw, 32px);
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
  padding: clamp(18px, 2vw, 28px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s ease;
}
.page-faq summary:hover { color: var(--orange); }
.page-faq summary::after {
  content: "+";
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  opacity: 0.6;
  transition: transform .25s ease, color .2s ease;
}
.page-faq details[open] summary { color: var(--orange); }
.page-faq details[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq details > p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.75;
  padding: 0 0 24px;
  max-width: 720px;
}

/* ===== Footer (snap page) ===== */
.page-footer {
  background: var(--green);
  color: var(--cream);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.foot-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad);
}
.foot-title {
  margin-bottom: clamp(40px, 6vw, 80px);
  color: var(--cream);
}
.foot-title .accent { color: var(--orange); }
.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .foot-cols { grid-template-columns: 1fr; gap: 24px; }
}
.foot-col p { margin-bottom: 8px; font-family: var(--display); font-size: 16px; }
.foot-col a { color: var(--cream); border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.foot-col a:hover { color: var(--orange); border-color: var(--orange); }
.foot-lbl {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
  margin-bottom: 14px !important;
}
.foot-col-r { text-align: right; }
@media (max-width: 720px) {
  .foot-col-r { text-align: left; }
  .page-footer { max-height: none; min-height: 90vh; }
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 720px) {
  :root { --side-w: 78vw; }
  /* Disable hard snap on phone — let content breathe and scroll naturally */
  html { scroll-snap-type: none; }

  /* Allow ALL pages to be as tall as their content (no clipping) */
  .page {
    max-height: none;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  /* Generous breathing room top + bottom for every section */
  .page-inner {
    padding-top: clamp(110px, 22vw, 160px);
    padding-bottom: clamp(80px, 16vw, 120px);
  }

  /* Reviews sits right under the studio — tighten the gap so they read as one block */
  .page-reviews .page-inner {
    padding-top: clamp(40px, 10vw, 64px);
  }

  /* PHONE: replace the full-bleed studio photo with a swipeable gallery */
  .page-studio {
    background: var(--green);
    overflow: visible;
    padding: clamp(60px, 12vw, 100px) 0 0;
    display: block;
  }
  .studio-carousel {
    position: relative;
    inset: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px 4px;
    scrollbar-width: none;
  }
  .studio-carousel::-webkit-scrollbar { display: none; }
  .studio-carousel img {
    position: relative;
    inset: auto;
    width: 80vw;
    max-width: 380px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    flex-shrink: 0;
    scroll-snap-align: center;
    opacity: 1 !important;
    border-radius: 10px;
    filter: contrast(1) saturate(1) brightness(0.9);
    transition: none;
  }
  .studio-overlay {
    position: relative;
    inset: auto;
    background: none;
    padding: clamp(28px, 6vw, 48px) 16px clamp(20px, 5vw, 36px);
    z-index: auto;
  }
  .studio-overlay h2 { color: var(--cream); }
  .studio-overlay h2 em { color: var(--orange); }
  .studio-overlay > p { color: var(--cream); margin-bottom: 22px; }
  .studio-overlay > p.studio-byline { color: var(--cream); margin-bottom: 22px; }
  .studio-overlay > p.studio-byline a { color: var(--cream); }
  .studio-overlay > p.studio-byline a:hover { color: var(--orange); border-color: var(--orange); }
  .studio-stats { color: var(--cream); }
  .studio-stats strong { color: var(--orange); }

  /* Hero — wider, no horizontal overflow */
  .page-hero .page-inner {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 100px;
  }
  .wordmark {
    font-size: clamp(56px, 16vw, 200px);
  }
  .wordmark .italic { padding-left: 20px; }
  .hero-sub {
    font-size: clamp(22px, 6.5vw, 36px);
  }

  /* Hide the logo pill on phone so basket + burger have room */
  .logo-fixed { display: none; }
  .basket-btn { top: 16px; right: 76px; width: 44px; height: 44px; }
  .basket-btn svg { width: 20px; height: 20px; }
  .burger { top: 16px; right: 16px; width: 44px; height: 44px; }
  /* Hide globe on phone (performance + clutter) */
  .hero-globe { display: none; }

  /* How it works — vertical stack on phone, no bg arrows */
  .bg-arrows { display: none; }
  .flow-row {
    grid-template-columns: 1fr;
    gap: 6px;
    max-width: 480px;
    margin: 0 auto;
  }
  .flow-step {
    padding: 18px 14px;
    /* Disable the cycling animation on phone — replaced by scroll-driven .is-active */
    animation: none !important;
    transition: border-color .35s ease, background .35s ease;
  }
  .flow-step .flow-num {
    animation: none !important;
    transition: opacity .35s ease, color .35s ease;
    opacity: 0.4;
    color: var(--green);
  }
  /* The frame walks down with the scroll */
  .flow-step.is-active {
    border-color: var(--green);
    background: rgba(11, 57, 30, 0.07);
  }
  .flow-step.is-active .flow-num {
    opacity: 1;
    color: var(--cream);
  }
  .flow-num { font-size: 44px; margin-bottom: 6px; }
  .flow-step h3 { font-size: 26px; }
  .flow-arrow {
    transform: rotate(90deg);
    max-width: 26px;
    height: 14px;
    margin: 0 auto;
  }
  .ba-row { font-size: 56px !important; letter-spacing: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-snap-type: none; }
}

/* =========================================
   LEGAL PAGES (privacy, terms)
   ========================================= */
.legal-body { background: var(--green); color: var(--cream); }
.legal-body html { scroll-snap-type: none; }
.legal-main {
  min-height: 100vh;
  padding: clamp(100px, 12vw, 160px) var(--pad) clamp(80px, 10vw, 120px);
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}
.legal-kicker {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.legal-inner .big-h2 {
  font-size: clamp(48px, 8vw, 100px);
  margin-bottom: 12px;
}
.legal-inner .big-h2 .accent { color: var(--orange); font-style: italic; }
.legal-meta {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  opacity: 0.55;
  margin-bottom: 36px;
}
.legal-intro {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin-bottom: 40px;
  color: var(--cream);
  opacity: 0.92;
}
.legal-inner h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  color: var(--orange);
}
.legal-inner p {
  margin-bottom: 14px;
  color: var(--cream);
  opacity: 0.88;
}
.legal-inner ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.legal-inner ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--cream);
  opacity: 0.88;
}
.legal-inner ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--orange);
  opacity: 0.7;
}
.legal-inner strong {
  color: var(--cream);
  font-weight: 600;
  opacity: 1;
}
.legal-inner a {
  color: var(--orange);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .2s ease;
}
.legal-inner a:hover { opacity: 0.7; }
.legal-back {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 14px;
}
.legal-back a {
  border-bottom: 0;
  color: var(--cream);
  opacity: 0.7;
}
.legal-back a:hover { color: var(--orange); opacity: 1; }
