/* =====================================================================
   Transformation carousel, lifted verbatim from the plan pages so the
   cookbook contact page can carry the same testimonials. The plan pages keep
   their own inline copies — this file exists for pages built on page.css,
   which has none of these rules.

   Tokens (--ink, --muted, --amber, --hair, --orange-deep) come from
   page.css, which must load first.
   ===================================================================== */
.testi2__nav{display:flex; align-items:center; justify-content:center; gap:16px;}
.testi2__arrow{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--hair);
  background:#0b0a08; color:var(--orange-deep);
  display:flex; align-items:center; justify-content:center; cursor:pointer; flex:0 0 auto;
  font-size:15px; line-height:1;
  transition:background .3s ease, transform .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.testi2__arrow:hover,
.testi2__arrow:active,
.testi2__arrow:focus-visible{
  background:linear-gradient(155deg, var(--amber), var(--orange-deep));
  color:#fff; border-color:transparent; transform:scale(1.08);
  box-shadow:0 10px 22px rgba(201,139,77,0.4);
}
.testi2__arrow:disabled{opacity:.35; cursor:default; transform:none; box-shadow:none;}
.scroll-dots{display:flex; align-items:center; gap:8px;}
.scroll-dot{
  width:7px; height:7px; padding:0; border:none; border-radius:999px;
  background:var(--hair); cursor:pointer;
  transition:background .3s ease, width .3s ease;
}
.scroll-dot.is-active{
  width:22px;
  background:linear-gradient(90deg, var(--amber), var(--orange-deep));
}

/* ---------- touch target sizing ----------
   The dots render at 7x7 and the arrows at 38px, which is fine to look at
   and far too small to hit reliably with a thumb. The dot hit area is
   expanded with a pseudo-element so the visual stays exactly as designed;
   the inset is tuned to meet, not overlap, its neighbour across the gap. */
.scroll-dot{position:relative;}
.scroll-dot::after{content:""; position:absolute; inset:-14px -4px;}

.results-scroll{
  display:flex; gap:22px; margin-top:12px;
  overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none;
  padding:4px 4px 8px;
}
.results-scroll::-webkit-scrollbar{display:none;}

.result-card{
  position:relative; overflow:hidden;
  flex:0 0 min(360px, 82vw); scroll-snap-align:start;
  display:flex; flex-direction:column; height:700px;
  background:linear-gradient(155deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border:1px solid var(--hair); border-radius:20px;
  box-shadow:0 18px 40px rgba(0,0,0,0.3);
  transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease, background .4s ease;
}
@media (max-width:640px){ .result-card{height:600px;} }
.result-card:hover{
  transform:translateY(-6px);
  background:linear-gradient(155deg, rgba(255,255,255,0.08), rgba(226,116,44,0.05));
  border-color:rgba(201,139,77,0.4);
  box-shadow:0 26px 52px rgba(201,139,77,0.14), 0 26px 52px rgba(0,0,0,0.34);
}

/* before/after photo pair — fixed to 65% of the card's height */
.result-photos{
  display:grid; grid-template-columns:1fr; gap:1px;
  background:var(--hair);
  position:relative; cursor:pointer;
  flex:0 0 65%; overflow:hidden;
}
.result-photo{
  position:relative; height:100%; overflow:hidden;
  background:linear-gradient(155deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

/* placeholder review revealed on hover / keyboard focus, or via the
   "View quote" button (toggles a class on the whole .result-card) */
.result-testimonial{
  position:absolute; inset:0; z-index:5;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:22px 20px;
  background:linear-gradient(165deg, rgba(11,10,8,0.92), rgba(226,116,44,0.42));
  backdrop-filter:blur(2px);
  opacity:0; transform:scale(1.03);
  transition:opacity .32s ease, transform .32s ease;
  pointer-events:none;
}
.result-photos:hover .result-testimonial,
.result-photos:focus-within .result-testimonial,
.result-card.show-testimonial .result-testimonial{
  opacity:1; transform:scale(1); pointer-events:auto;
}
.result-testimonial p{
  font-family:'Source Serif 4', serif; font-style:italic; font-size:14.5px;
  line-height:1.55; color:var(--ink);
}
.result-testimonial p::before{content:"“";}
.result-testimonial p::after{content:"”";}
.result-testimonial .testi2__stars{margin-top:14px; font-size:13px; color:var(--amber); letter-spacing:2px;}
.result-testimonial__name{
  margin-top:10px; font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--peach);
}
.result-photo img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
}
.result-photo__placeholder{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; border:1px dashed rgba(201,139,77,0.28); color:var(--muted); text-align:center; padding:0 14px;
}
.result-photo__placeholder svg{width:22px; height:22px; stroke:rgba(201,139,77,0.5); fill:none; stroke-width:1.5;}
.result-photo__placeholder span{font-size:11px; line-height:1.4;}
.result-photo__tag{
  position:absolute; top:12px; left:12px; z-index:1;
  font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink);
  background:rgba(20,20,15,0.55); backdrop-filter:blur(6px);
  padding:5px 11px; border-radius:999px;
}

/* body takes the remaining 35% and scrolls internally if content is taller */
.result-card__body{
  flex:1 1 35%; min-height:0; overflow-y:auto;
  padding:18px 28px 22px;
  scrollbar-width:thin; scrollbar-color:rgba(201,139,77,0.45) transparent;
}
.result-card__body::-webkit-scrollbar{width:5px;}
.result-card__body::-webkit-scrollbar-track{background:transparent;}
.result-card__body::-webkit-scrollbar-thumb{background:rgba(201,139,77,0.4); border-radius:999px;}
.result-card__body::-webkit-scrollbar-thumb:hover{background:rgba(201,139,77,0.65);}
.result-card__top{display:flex; align-items:center; gap:12px;}
/* name and stat sizes intentionally swapped, matching the main site */
.result-card__name{font-size:40px; font-weight:600; line-height:1.1; color:var(--ink);}
.result-card__duration{font-size:12px; color:var(--muted); margin-top:1px;}

.result-card__stat{
  font-family:'Source Serif 4', serif; font-weight:600; font-size:14.5px; color:var(--ink);
  margin-top:24px; line-height:1;
}
.result-card__delta{font-size:13px; color:var(--muted); margin-top:6px;}
.result-card__delta b{color:var(--orange-deep); font-weight:600;}

.result-card__caption{font-size:14px; color:var(--muted); line-height:1.6; margin-top:16px;}

/* "View quote" button — replaces the old static tag chip */
.result-view-btn{
  display:inline-flex; align-items:center; gap:7px; margin-top:20px; margin-left:-6px; padding:7px 15px 7px 12px;
  border:1px solid rgba(201,139,77,0.35); border-radius:999px; background:none;
  font-size:11.5px; letter-spacing:0.03em; color:var(--orange-deep); cursor:pointer;
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
.result-view-btn:hover,
.result-view-btn[aria-pressed="true"]{
  background:linear-gradient(155deg, var(--amber), var(--orange-deep));
  color:#fff; border-color:transparent;
}
.result-view-btn svg{width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.8;}
