/* ================================================================
   House of Deer — LightPod
   Rebuilt from the original Wix Studio site.
   ================================================================ */

/* ---------- BRAND FONT (self-hosted) ---------- */
@font-face {
  font-family: "Deer";
  src: url("fonts/deerregular.woff2") format("woff2");
  font-weight: 100 449;          /* regular / book */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Deer";
  src: url("fonts/deermedium.woff2") format("woff2");
  font-weight: 450 900;          /* medium (used for all heavier weights) */
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:        #000000;
  --navy:      #1d223f;
  --navy-deep: #0b0e1c;
  --rose:      #ddbea2;
  --teal:      #6f97ae;
  --gray:      #a3a3a3;
  --white:     #ffffff;
  /* theme-flippable: ink is the on-surface tint (rgb triplet), text the solid copy colour */
  --ink:       255, 255, 255;
  --text:      #ffffff;
  /* primary button — warm off-white (a light tint of the rose accent) with near-black ink */
  --btn:       #ece5e2;
  --btn-hover: #f7f2f0;
  --btn-ink:   #16161d;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
/* entrance animations scale elements past the viewport edge — never let that
   produce a sideways scroll */
html, body { overflow-x: clip; }

body {
  font-family: "Deer", "Century Gothic", "Futura", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;              /* Futura Book weight */
  letter-spacing: -0.01em;       /* subtle Futura-like tracking */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* sideways overflow is clipped above with overflow-x: clip — never use
     overflow-x: hidden here, it turns body into a scroll container and
     silently kills every position: sticky on the page */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Form controls don't inherit type by default — force Futura everywhere */
input, button, textarea, select { font-family: inherit; font-weight: inherit; letter-spacing: inherit; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;                     /* above the menu drawer so the icon/X stays visible */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(10, 12, 26, 0.6), rgba(10, 12, 26, 0));
  transition: background 0.3s ease, opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .site-header { opacity: 0; visibility: hidden; pointer-events: none; }
.header-inner {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo img { height: 22px; width: auto; }   /* matches original ~22px */

.btn-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;                              /* matches original */
  padding: 0 15px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--btn-ink);
  font-size: 13px;
  letter-spacing: 0.01em;
  /* hidden until the hero Buy button scrolls out of view */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0.3s, background 0.25s, color 0.25s;
}
.btn-pill.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.btn-pill:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.site-header.scrolled { background: rgba(8, 10, 22, 0.7); }

/* ---------- MENU BUTTON (two-line icon → X) ---------- */
.menu-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  transition: opacity 0.3s var(--ease);
}
.menu-open .menu-btn { opacity: 0; pointer-events: none; }   /* header icon hides; the X lives in the panel */
.menu-icon { position: relative; width: 15px; height: 9px; flex: none; }
.menu-icon span {
  position: absolute; left: 0;
  width: 100%; height: 1px;                     /* thinner */
  background: currentColor;
  transition: transform 0.45s var(--ease), width 0.35s var(--ease);
}
.menu-icon span:nth-child(1) { top: 1px; }
.menu-icon span:nth-child(2) { bottom: 1px; }
.menu-btn:hover .menu-icon span:nth-child(2) { width: 65%; }
/* X form — used by the Close button inside the panel */
.menu-icon.is-x span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-icon.is-x span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Close button — hidden on desktop (click outside or Esc closes the menu).
   Shown only on small screens as a bare X in the top-right of the drawer. */
.menu-close {
  display: none;
  align-self: flex-end;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: clamp(30px, 4vh, 46px);
  opacity: 0;
  transition: opacity 0.4s var(--ease) 0.18s, color 0.25s;
}
.menu-open .menu-close { opacity: 1; }
.menu-close:hover { color: var(--gray); }

@media (max-width: 640px) {
  .menu-close { display: inline-flex; }
  .menu-close .paragraph3 { display: none; }   /* X only, no "Close" label */
}

/* ---------- SLIDE-IN MENU DRAWER ---------- */
.menu-overlay {
  position: fixed; inset: 0;
  z-index: 150;
  background: rgba(4, 5, 10, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }

.menu-panel {
  position: fixed;
  top: 14px; left: 14px; bottom: 14px;          /* floating — inset from every edge */
  z-index: 200;
  width: min(250px, 86vw);
  padding: clamp(22px, 2.6vh, 30px) clamp(26px, 3vw, 40px) 30px;
  /* lighter navy glass so the panel separates from the near-black page */
  background: linear-gradient(170deg, rgba(39, 45, 78, 0.94), rgba(20, 24, 46, 0.94));
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 15px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(var(--ink), 0.14);
  transform: translateX(calc(-100% - 30px));    /* off-screen left, clears the inset + shadow */
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0.6s;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.menu-open .menu-panel { transform: none; visibility: visible; }

.menu-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(var(--ink), 0.09); }
.menu-list li { border-top: 1px solid rgba(var(--ink), 0.09); }
.menu-list li:first-child { border-top: none; }
.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(11px, 1.7vh, 16px) 0;
  color: rgba(var(--ink), 0.9);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s var(--ease);
}
.menu-open .menu-list a { transform: none; opacity: 1; }
.menu-list a:hover { color: var(--text); }
.menu-chev {
  color: rgba(var(--ink), 0.35);
  font-size: 1.35em;
  line-height: 1;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.menu-list a:hover .menu-chev { color: var(--text); transform: translateX(4px); }
.menu-open .menu-list li:nth-child(1) a { transition-delay: 0.12s; }
.menu-open .menu-list li:nth-child(2) a { transition-delay: 0.18s; }
.menu-open .menu-list li:nth-child(3) a { transition-delay: 0.24s; }
.menu-open .menu-list li:nth-child(4) a { transition-delay: 0.30s; }
.menu-open .menu-list li:nth-child(5) a { transition-delay: 0.36s; }
.menu-open .menu-list li:nth-child(6) a { transition-delay: 0.42s; }

.menu-panel-foot {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease) 0.44s, transform 0.6s var(--ease) 0.44s;
}
.menu-open .menu-panel-foot { opacity: 1; transform: none; }
.menu-panel-foot a { color: var(--gray); font-size: 0.95rem; letter-spacing: 0.02em; }
.menu-panel-foot a:hover { color: var(--text); }

/* ---------- SHARED ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 100px; width: 100%; }
.section {
  position: relative;
  padding: 120px 0;                  /* one consistent rhythm across every section */
}
.big-heading {
  font-weight: 500;
  font-size: clamp(2.1rem, 5.5vw, 4.375rem); /* ~70px cap, matches original */
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.sub-heading {
  font-weight: 500;
  font-size: clamp(1.6rem, 3.9vw, 3.125rem); /* ~50px cap */
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray);
}
.lead {
  font-size: clamp(1.15rem, 2vw, 1.75rem); /* ~28-30px cap */
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 680px;
  color: rgba(var(--ink), 0.92);
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(40, 46, 84, 0.6), transparent 55%),
    linear-gradient(180deg, #171a30 0%, #0a0c16 42%, #000 72%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-kicker {
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5625rem); /* ~25px cap, matches original */
  line-height: 1.1;
  margin-top: 6px;
}
.hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.125rem); /* ~50px cap, matches original */
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0 42px;
}
.hero-product {
  max-width: 980px;
  width: 100%;
  margin: 10px auto 56px;
  /* The shot has a baked near-black background (#060606) which reads as a dark
     rectangle against the hero's navy gradient. Screen blending maps black to
     the backdrop, so the frame edges disappear and the product sits in the
     ambience. Applied here, not on the img — this element owns the transform,
     so it's the one that owns the stacking context. */
  mix-blend-mode: screen;
  /* ...and feather the left/right edges so the photo's rectangle has no
     boundary against the gradient behind it. The vertical fade lives on the
     img: two mask layers on one element composite against an empty backdrop
     and cancel out, so each axis gets its own element. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.hero-product img {
  width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
}
.hero-price { font-size: 18px; font-weight: 400; margin-bottom: 22px; }

/* ---------- HERO ENTRANCE ----------
   Unlike the rest of the site (which slides up), the hero settles in from
   slightly larger — the kicker, title and product all scale down together,
   matching the original. */
.hero .reveal {
  transform: scale(1.14);
  transform-origin: center 40%;
  transition: opacity 2.6s var(--ease), transform 3.1s var(--ease);
}
.hero .reveal.in { transform: scale(1); }

/* the product pulls back a touch further, so it reads as the lead element */
.hero .hero-product.reveal { transform: scale(1.24); }
.hero .hero-product.reveal.in { transform: scale(1); }

/* a light stagger so they arrive as one movement rather than in lockstep */
.hero .hero-kicker.reveal  { transition-delay: 0.10s; }
.hero .hero-title.reveal   { transition-delay: 0.24s; }
.hero .hero-product.reveal { transition-delay: 0.42s; }
.hero .hero-price.reveal   { transition-delay: 0.88s; }
.hero .btn-buy.reveal      { transition-delay: 1.05s; }

@media (prefers-reduced-motion: reduce) {
  .hero .reveal, .hero .hero-product.reveal { transform: none; transition: none; }
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;                      /* fully rounded, like the header pill */
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-buy:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}
.btn-buy.big { min-width: 260px; height: 48px; font-size: 16px; margin: 30px auto 0; }

/* ---------- PROMO BANNER ---------- */
.promo {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(var(--ink), 0.12);
  border-radius: 24px;
  background: rgba(var(--ink), 0.02);
}
.promo p { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.promo strong { text-decoration: underline; font-weight: 500; }
.promo-sub { color: var(--gray); margin-top: 4px; }

/* ---------- DESIGN / BALANCE (framed carousel) ---------- */
.design {
  /* inherits the shared 120px section rhythm */
  /* black at the top → the hero's blue by 90% */
  background: linear-gradient(180deg, #000 0%, #1b2140 90%);
}
.design-intro { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); }
.design-title {
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.design-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* carousel of black image cards — breaks out of the container to full width */
.carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.car-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  overflow-x: auto;
  overflow-y: hidden;               /* horizontal scroll only — no up/down */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-spacer { flex: 0 0 10vw; }

/* each image lives in its own big black card — 80vw × 70vh, not clipped */
.design-frame {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(80vw, 1080px);
  height: 70vh;
  max-height: 760px;
  margin: 0;
  background: #000;                              /* the card is fully black */
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.07);
  overflow: hidden;
}
.design-frame::after {                           /* subtle scrim so the label stays legible */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}
.frame-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.5vh, 20px);
}
.frame-media img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;                           /* whole product, never cropped */
  display: block;
}
.design-frame figcaption {
  position: absolute;
  left: clamp(26px, 4vw, 60px);
  right: clamp(26px, 4vw, 60px);
  bottom: clamp(24px, 4vh, 48px);
  z-index: 2;
  text-align: left;
}
.cap-title {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 2rem);           /* bigger label */
  letter-spacing: -0.01em;
}
.cap-desc {
  display: block;
  margin-top: 10px;
  max-width: 15rem;                 /* narrower than the label — wraps tighter */
  color: rgba(var(--ink), 0.7);
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.car-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 11px;                 /* square with very rounded corners */
  display: grid;
  place-items: center;
  background: rgba(var(--ink), 0.08);
  border: 1px solid rgba(var(--ink), 0.16);
  color: var(--text);
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(6px);
  transition: background 0.2s, opacity 0.2s;
}
.car-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.car-btn:hover { background: rgba(var(--ink), 0.18); }
.car-btn[disabled] { opacity: 0.3; cursor: default; }
.car-prev { left: 20px; }
.car-next { right: 20px; }

.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.car-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 0; padding: 0;
  cursor: pointer;
  background: rgba(var(--ink), 0.25);
  transition: background 0.2s, transform 0.2s;
}
.car-dot.is-active { background: #fff; transform: scale(1.25); }

@media (max-width: 720px) {
  .car-btn { display: none; }
}

/* ---------- SMOOTH BLADE (white section) ---------- */
.blade {
  background: var(--white);
  color: var(--navy);
  text-align: center;
}
.blade-headline {
  color: var(--navy);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.blade-hero { max-width: 900px; margin: 0 auto; }
.blade-hero img { margin: 0 auto; }
.blade-divider {
  border: 0;
  height: 1px;
  background: rgba(29, 34, 63, 0.14);
  max-width: 1000px;
  margin: clamp(30px, 5vw, 60px) auto clamp(48px, 6vw, 80px);
}
.blade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 88px) clamp(56px, 7.5vw, 96px);
  text-align: left;
  max-width: 880px;                          /* matches the original ~880px block */
  margin: 0 auto;
}
.blade-title {
  color: var(--navy);
  font-size: clamp(2rem, 3.9vw, 3.125rem);   /* ~50px cap, like the original */
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.blade-copy-p {
  font-size: clamp(1.25rem, 2.35vw, 1.875rem); /* ~30px cap, like the original */
  line-height: 1.35;
  letter-spacing: normal;
  color: var(--gray);
}
.blade-copy-p b { color: var(--navy); font-weight: 500; }

/* photo cells inside the blade grid — quiet white panels so the renders'
   white backgrounds melt in, with the site's usual hairline ring */
.blade-cell { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 3vw, 40px); }
.blade-media {
  margin: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(29, 34, 63, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blade-media img { width: 100%; height: 100%; object-fit: cover; }
.bm-case { aspect-ratio: 4 / 3; }
.bm-front { aspect-ratio: 4 / 5; }
/* the cartridge close-up floats directly on the section — no panel, no ring;
   multiply blending drops its pure-white background into the page colour */
.bm-cart { aspect-ratio: 4 / 3; background: none; box-shadow: none; border-radius: 0; }
.bm-cart img { width: 68%; max-width: 300px; height: auto; object-fit: contain; mix-blend-mode: multiply; }

/* desktop: strict three-column alignment — centred title, one shared row
   where all three photos are the same height (frameless cut-outs), and all
   three captions starting on the same line below */
@media (min-width: 901px) {
  .blade-grid {
    max-width: 1080px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "title title title"
      "imgA  imgB  imgC"
      "txtA  txtB  txtC";
    gap: 44px 56px;
    align-items: start;
  }
  .bc-title { grid-area: title; text-align: center; margin-bottom: 10px; }
  .bm-case  { grid-area: imgA; }
  .bm-front { grid-area: imgB; }
  .bc-copy  { grid-area: txtB; }   /* anti-clog reads under the razor itself */
  .bc-ergo  { grid-area: txtA; }
  /* the wrapper dissolves so its photo and caption join the shared rows */
  .bc-cart { display: contents; }
  .bc-cart .bm-cart { grid-area: imgC; }
  .bc-cart p { grid-area: txtC; }

  /* identical frameless image boxes — products float as cut-outs */
  .blade-media {
    aspect-ratio: auto;
    height: 320px;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  .blade-media img {
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }
  .bm-cart img { width: auto; max-width: 100%; }

  /* captions: one size, centred, all starting on the same baseline row */
  .blade-copy-p { font-size: 1.15rem; line-height: 1.5; text-align: center; }
  .blade-cell { justify-content: flex-start; }
}

/* ---------- FUTURE ---------- */
.future { text-align: center; }
.future .title { margin-bottom: clamp(34px, 4vw, 54px); }
/* full-width video band, like the original — edge to edge, 16:9, no rounded card.
   A vertical gradient mask fades the top/bottom edges so the video melts into the
   black background instead of stopping on a hard line. */
.future-glow {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: clamp(44px, 5vw, 64px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.future-glow video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* The deer mark baked into the footage is soft and low-res. Sit a crisp SVG on
   top, over an opaque black disc that hides the blurred original. The disc
   fades out at its edge so there's no seam against the video. */
.future-mark {
  position: absolute;
  left: 50.1%;
  top: 42.3%;                 /* where the mark actually sits in the frame */
  transform: translate(-50%, -50%);
  width: 11%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: radial-gradient(circle,
    #000 0%, #000 44%, rgba(0, 0, 0, 0.88) 60%, rgba(0, 0, 0, 0) 78%);
}
.future-mark img { width: 26%; display: block; }
/* "Speed. Power. Light." — big, left-aligned, colour running steel-blue →
   warm white → deep red across the line, as on the original. The gradient is
   painted onto the glyphs via background-clip: text. */
.future-triad {
  text-align: left;
  font-weight: 500;
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: 1.18;          /* room for the descender on "g" */
  letter-spacing: -0.035em;
  margin: clamp(30px, 4vw, 56px) 0 clamp(28px, 3.4vw, 46px);
}
.future-triad span {
  /* inline-block + a little bottom padding: an inline box's background area is
     derived from the font metrics and stops short of descenders, so with
     background-clip:text the tail of the "g" would be cut off. */
  display: inline-block;
  padding-bottom: 0.14em;
  background-image: linear-gradient(95deg,
    #55809b 0%, #6f97ae 19%, #cfd9dd 36%,
    #f6f1ea 49%, #e7d2c6 61%, #a85252 79%, #8d3a3a 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* if background-clip:text isn't supported, fall back to a readable solid */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .future-triad span { color: var(--text); -webkit-text-fill-color: var(--text); }
}

/* paragraph + stats sit left-aligned in the left half, like the original */
.future-lead {
  text-align: left;
  max-width: 660px;
  margin: 0;
  color: var(--text);
}
.stats {
  display: flex;
  justify-content: flex-start;
  gap: clamp(56px, 9vw, 118px);
  margin-top: clamp(48px, 5vw, 70px);
}
.stat { display: flex; flex-direction: column; text-align: left; }
.stat-pre  { color: var(--text); font-size: 1.125rem; font-weight: 700; line-height: 1.6; }
.stat-num  { color: var(--teal);  font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.6; letter-spacing: -0.01em; }
/* gradient text, clipped to the words */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-num {
    align-self: flex-start;               /* hug the text so the gradient spans the words, not the column */
    /* same blue → silver as "Speed." in the heading above */
    background: linear-gradient(95deg, #55809b 0%, #6f97ae 52%, #cfd9dd 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.stat-post { color: var(--text); font-size: 1.125rem; font-weight: 400; line-height: 1.6; }

/* ---------- TREATMENT ZONES (scattered circles, magnify near the cursor) ---------- */
.zones { text-align: center; }
.zones .title { margin-bottom: 14px; }
.zones .hint { margin-bottom: 0; }

.zone-cluster {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 900 / 560;
  margin: clamp(20px, 3vw, 40px) auto 0;
}

/* each circle is positioned by its own --x / --y centre and --d diameter */
.zone {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--d);
  height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  /* fallback when the drift loop isn't running (reduced motion / no pointer) */
  transform: scale(var(--s, 1));
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
/* while the drift loop runs, JS writes transform every frame — no transition to fight */
.zone-cluster.is-live .zone { transition: none; }
.zone-media {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(var(--ink), 0.1);
  transition: box-shadow 0.45s var(--ease);
}
/* the source shots have a rounded-square frame with light edges — zoom in so the
   circle only ever shows the photo itself, never the frame corners */
.zone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.22);
}

.zone figcaption {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(var(--ink), 0.55);
  opacity: 0;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
  pointer-events: none;
}
/* the closest circle gets its label and a teal rim, and sits above its neighbours */
.zone.is-near { z-index: 5; }
.zone.is-near figcaption { opacity: 1; color: var(--text); }
.zone.is-near .zone-media {
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(111, 151, 174, 0.85),
    0 0 34px rgba(111, 151, 174, 0.3);
}

/* desktop has the full scatter — the phone-only story line stays hidden */
.zone-story { display: none; margin: 0; }

/* small / touch screens: the section grows tall and its content pins, so
   scrolling spins the circles around a big ring (JS drives the placement) —
   a few visible at a time, scaling up toward the top of the arc. */
@media (max-width: 780px), (hover: none) {
  .zones { min-height: 220vh; }
  .zones .container { position: sticky; top: 64px; }
  .zone-cluster {
    aspect-ratio: auto;
    height: 440px;
    max-width: none;
    margin-top: 26px;
  }
  /* one shared diameter — only the position on the ring changes the scale */
  .zone {
    width: 210px;
    height: 210px;
    margin: -105px 0 0 -105px;
  }
  /* while the orbit runs, JS owns left/top/transform entirely */
  .zone-cluster.is-live .zone { left: 0; top: 0; margin: 0; }
  .zone figcaption { opacity: 1; bottom: -22px; font-size: 0.78rem; }

  /* the story line under the ring — slides up as each circle takes the lead */
  .zone-story {
    display: block;
    max-width: 310px;
    margin: 6px auto 0;
    min-height: 3.2em;
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(var(--ink), 0.78);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .zone-story.is-in { opacity: 1; transform: none; }
  .zone-story strong { color: var(--text); font-weight: 500; }
}

/* ---------- RESULTS TIMELINE (vertical stems shoot up, like eightsleep) ---------- */
.timeline { text-align: center; overflow: hidden; }
.timeline .title { margin-bottom: 14px; }
.timeline .sub-heading { color: var(--gray); margin-bottom: clamp(48px, 5vw, 80px); }
.tl-track { position: relative; max-width: 860px; margin: 0 auto; }

/* small ruler ticks along the baseline, between the big stems — drawn in sequence */
.tl-ticks {
  position: absolute;
  left: 0; right: 0;
  bottom: 40px;                 /* sits on the stem baseline */
  height: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
/* small ticks — same style as the big stems, just shorter */
.tl-tick {
  width: 2px;
  height: 100%;
  background: linear-gradient(to top, rgba(111, 151, 174, 0.25), var(--teal));
  box-shadow: 0 0 6px rgba(111, 151, 174, 0.35);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.timeline.in-view .tl-tick { transform: scaleY(1); }

/* stems laid out horizontally, aligned to a common baseline at the bottom */
.tl-stems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 0;                       /* stems land on clean 1/8, 3/8, 5/8, 7/8 positions (align with ticks) */
  height: 380px;
}
.tl-stem { display: flex; flex-direction: column; align-items: center; }

/* card sits at the top of each stem */
.tl-card {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: clamp(14px, 1.6vw, 22px) clamp(8px, 1vw, 16px);
  border-radius: 16px;
  background: rgba(var(--ink), 0.035);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.07);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), box-shadow 0.6s var(--ease);
}
.tl-num { font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 500; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.tl-pct { font-variant-numeric: tabular-nums; }
.tl-label { font-size: clamp(0.68rem, 1vw, 0.88rem); color: var(--gray); line-height: 1.2; }

/* the vertical line that shoots up (its height reflects the percentage) */
.tl-line {
  width: 2px;
  height: 0;
  margin-top: 10px;
  background: linear-gradient(to top, rgba(111, 151, 174, 0.25), var(--teal));
  box-shadow: 0 0 10px rgba(111, 151, 174, 0.5);
  transition: height 0.9s var(--ease);
}
.timeline.in-view .tl-line { height: var(--lh); }

.tl-dot { display: none; }   /* balls removed — the stems and ticks share a clean baseline */
.tl-week { margin-top: 20px; color: var(--gray); font-size: clamp(0.8rem, 1.1vw, 1rem); }

/* staggered entrance per stem, left → right */
.timeline.in-view .tl-stem:nth-child(1) .tl-line,
.timeline.in-view .tl-stem:nth-child(1) .tl-dot { transition-delay: 0.1s; }
.timeline.in-view .tl-stem:nth-child(2) .tl-line,
.timeline.in-view .tl-stem:nth-child(2) .tl-dot { transition-delay: 0.3s; }
.timeline.in-view .tl-stem:nth-child(3) .tl-line,
.timeline.in-view .tl-stem:nth-child(3) .tl-dot { transition-delay: 0.5s; }
.timeline.in-view .tl-stem:nth-child(4) .tl-line,
.timeline.in-view .tl-stem:nth-child(4) .tl-dot { transition-delay: 0.7s; }
.timeline.in-view .tl-card { opacity: 1; transform: none; }
.timeline.in-view .tl-stem:nth-child(1) .tl-card { transition-delay: 0.55s; }
.timeline.in-view .tl-stem:nth-child(2) .tl-card { transition-delay: 0.75s; }
.timeline.in-view .tl-stem:nth-child(3) .tl-card { transition-delay: 0.95s; }
.timeline.in-view .tl-stem:nth-child(4) .tl-card { transition-delay: 1.15s; }
/* highlight the final result */


@media (max-width: 560px) {
  .tl-stems { gap: 0; }
  .tl-num { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-card { opacity: 1; transform: none; transition: none; }
  .tl-line { transition: none; height: var(--lh); }
  .tl-dot { opacity: 1; transform: none; transition: none; }
}

/* ---------- SAPPHIRE ---------- */
.sapphire { text-align: left; }
.sapphire-head {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sapphire-eyebrow {
  font-weight: 500;
  font-size: clamp(1.35rem, 2.35vw, 1.875rem);   /* ~30px, like the original */
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sapphire-title {
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.625rem);        /* ~90px cap, like the original */
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.sapphire-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  align-items: start;            /* both columns begin at the top */
  gap: clamp(30px, 5vw, 80px);
}
.sapphire-cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;          /* all 4 cards aligned to the same width/edges */
  gap: clamp(70px, 11vh, 150px); /* generous air, so each card gets its own moment */
  padding-bottom: clamp(40px, 8vh, 110px);
}

/* Cards stack on top of each other as you scroll: each pins just under the
   header and the next slides over it, with a slight cascade so the pile
   stays readable. Visually they stay quiet, like every other card on the
   site — solid dark panel, hairline ring, nothing more. */
.sapphire-card {
  position: sticky;
  padding: clamp(28px, 2.8vw, 38px) clamp(24px, 2.6vw, 34px);
  border-radius: 24px;
  /* opaque: the card underneath must disappear as this one covers it */
  background: linear-gradient(170deg, #151b2d, #0c101d);
  box-shadow:
    inset 0 0 0 1px rgba(var(--ink), 0.08),
    0 -16px 44px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.sapphire-card:nth-child(1) { top: 100px; }
.sapphire-card:nth-child(2) { top: 114px; }
.sapphire-card:nth-child(3) { top: 128px; }
.sapphire-card:nth-child(4) { top: 142px; }

/* entrance stays simple — same fade-up as the rest of the site */
.sapphire-card.reveal { transform: translateY(40px); }
.sapphire-card.reveal.in { transform: none; }

.sapphire-tag {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(150, 205, 230, 0.7);
}
.sapphire-card p {
  color: rgba(var(--ink), 0.8);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.38;
  letter-spacing: -0.01em;
}
.sapphire-card p b { color: var(--text); font-weight: 500; }

.sapphire-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin: 0 auto 16px;
  border-radius: 15px;
  color: var(--text);
  background: rgba(var(--ink), 0.05);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.1);
}
.sapphire-icon svg {
  width: 24px; height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* real emitter product shot (black background blends into the section).
   Sticks just under the header while the cards scroll past it. */
.sapphire-device {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.sapphire-device img { max-width: 420px; width: 100%; height: auto; }

/* ---------- AUTO MODE ---------- */
/* stacked layout like the original: text on top, big image at the bottom */
/* no bottom padding — the device photo runs flush to the end of the section */
.auto { position: relative; overflow: hidden; padding-bottom: 0; }
.auto-inner { position: relative; z-index: 1; }
.auto-copy { max-width: 1000px; }
.auto .auto-title {
  font-size: clamp(2.3rem, 5.8vw, 4.4rem);   /* ~70px, matching the original */
  line-height: 1.08;
  margin-bottom: clamp(34px, 5vw, 72px);
}
.auto-lead {
  color: var(--gray);
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);  /* ~30px, matching the original */
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: clamp(50px, 8vw, 120px);
}
.auto-lead strong { color: var(--text); font-weight: 500; }
.auto-media { width: 100%; margin-bottom: 0; }
.auto-media img { width: 100%; height: auto; display: block; }

/* the Click / Hold / Flash sequence */
.auto-seq { display: inline; }
.seq-word { display: inline-block; will-change: text-shadow; }
.flash-word { position: relative; display: inline-block; }
.flash-label { position: relative; z-index: 1; }

/* the light burst that bloom behind "Flash." */
.flash-burst {
  position: absolute;
  left: 50%; top: 54%;
  width: 2.4em; height: 2.4em;
  transform: translate(-50%, -50%) scale(0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ink), 0.95) 0%, rgba(165, 195, 255, 0.55) 34%, rgba(120, 150, 255, 0) 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

/* soft flash spilling out of the word, like the pulse lighting up the room.
   --fx / --fy are set from JS to the centre of "Flash." so this stays one
   single glow rather than a second, detached bright spot. */
.auto-flash-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 74% at var(--fx, 50%) var(--fy, 50%), rgba(var(--ink), 0.5), rgba(150, 180, 255, 0.12) 45%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

/* --- the actual firing sequence, toggled by .flashing on the section --- */
.auto.flashing .w1 { animation: seqPulse 0.55s var(--ease) 0s both; }
.auto.flashing .w2 { animation: seqPulse 0.55s var(--ease) 0.26s both; }
.auto.flashing .w3 .flash-label { animation: flashWordGlow 1s var(--ease) 0.52s both; }
.auto.flashing .w3 .flash-burst { animation: flashBurst 1s var(--ease) 0.52s both; }
.auto.flashing .auto-flash-veil { animation: flashVeil 1s var(--ease) 0.52s both; }

@keyframes seqPulse {
  0%, 100% { text-shadow: none; }
  45% { text-shadow: 0 0 16px rgba(165, 195, 255, 0.85), 0 0 34px rgba(120, 150, 255, 0.5); }
}
@keyframes flashWordGlow {
  0% { text-shadow: none; }
  9% { text-shadow: 0 0 20px rgba(var(--ink), 0.95), 0 0 46px rgba(160, 190, 255, 0.9), 0 0 90px rgba(120, 160, 255, 0.65); }
  55% { text-shadow: 0 0 12px rgba(var(--ink), 0.4); }
  100% { text-shadow: none; }
}
@keyframes flashBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.7); }
}
@keyframes flashVeil {
  0% { opacity: 0; }
  8% { opacity: 0.24; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .auto.flashing .w1, .auto.flashing .w2,
  .auto.flashing .w3 .flash-label, .auto.flashing .w3 .flash-burst,
  .auto.flashing .auto-flash-veil { animation: none; }
}

/* ---------- COMPARE (interactive) — white section, same palette as .blade ---------- */
.compare {
  background: var(--white);
  color: var(--navy);
}
.compare .title { text-align: center; color: var(--navy); margin-bottom: clamp(36px, 5vw, 56px); }
.compare-panel {
  background: rgba(29, 34, 63, 0.03);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 66px);
  box-shadow: inset 0 0 0 1px rgba(29, 34, 63, 0.1);
}
.compare-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 76px);
}
.compare-label { color: var(--gray); }
.compare-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
}
.vs-method-name { color: var(--navy); transition: opacity 0.2s; }
.compare-select-wrap:hover .vs-method-name { opacity: 0.62; }
.vs-caret {
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid rgba(29, 34, 63, 0.55);
  border-bottom: 2px solid rgba(29, 34, 63, 0.55);
  transform: translateY(-2px) rotate(45deg);
}
/* native select sits invisibly on top for accessibility + real dropdown */
.compare-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.compare-select option { color: #111; }
/* comparison table: method (left) · category (centre) · LightPod (right) */
.vs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(90px, 12vw, 170px) minmax(0, 1fr);  /* equal outer cols, aligned */
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding: clamp(16px, 2.2vw, 26px) 0;
  border-top: 1px solid rgba(29, 34, 63, 0.12);
}
.vs-head {
  border-top: 0;
  padding: 0 0 clamp(22px, 3vw, 36px);
}
.vs-head-pod .subtitle { color: var(--navy); }
.vs-method, .vs-dim, .vs-pod, .vs-head-pod { text-align: center; }
.vs-method {
  color: var(--gray);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.vs-dim {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.vs-pod { color: var(--navy); font-weight: 500; }   /* LightPod stands out */
.vs-head-method { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* smooth crossfade of the compared side when the method changes */
.vs.swapping .vs-method { opacity: 0; transform: translateY(8px); }

/* ---------- RESULTS ---------- */
.results { text-align: left; }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 26px;
}
.results-copy { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 400; line-height: 1.25; max-width: 900px; }

/* ---------- REVIEWS ---------- */
.reviews .title { margin-bottom: 16px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hint { text-align: center; color: var(--gray); margin-bottom: clamp(44px, 5vw, 70px); }

/* ---------- REAL RESULTS — before/after grid ---------- */
.results-photos .title { margin-bottom: 14px; }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  max-width: 860px;
  margin: clamp(40px, 4.5vw, 64px) auto 0;
}

/* ---------- REVIEWS — testimonial columns that fade out downward ---------- */
.review-fade {
  position: relative;
  margin-top: clamp(40px, 4.5vw, 64px);
  max-height: 560px;
  overflow: hidden;
  /* the column of reviews dissolves toward the bottom, hinting at more */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
}

/* masonry of testimonial cards */
.review-masonry {
  columns: 3;
  column-gap: clamp(18px, 1.8vw, 28px);
}
.review-masonry > * {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: clamp(18px, 1.8vw, 28px);
  width: 100%;
}

/* testimonial card */
.review-card {
  border: 1px solid rgba(var(--ink), 0.18);
  border-radius: 20px;
  padding: clamp(24px, 2.2vw, 36px);
  background: rgba(var(--ink), 0.015);
}
.review-card p { margin: 0 0 24px; color: rgba(var(--ink), 0.8); }
.review-by { display: flex; align-items: center; gap: 16px; color: var(--text); }
.review-mark {
  flex: none;
  width: 26px; height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: 0.85;
}

/* before / after photo */
.review-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  outline: none;
}
.review-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* Before/after comparison — drag the divider to wipe between the two shots.
   --pos (0–100) is driven by the range input and set from JS. */
.review-photo { --pos: 50%; cursor: default; }
.review-photo .after {
  /* the "after" shot is clipped to the left of the divider */
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  z-index: 3;
  background: rgba(var(--ink), 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
/* ---------- one shared slider drives all three photos ---------- */
.ba-control {
  --p: 50%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  max-width: 560px;
  margin: clamp(36px, 4vw, 52px) auto 0;
}
.ba-end {
  flex: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--ink), 0.45);
  transition: color 0.3s var(--ease);
}
.ba-control:hover .ba-end { color: rgba(var(--ink), 0.7); }

.ba-slider { position: relative; flex: 1 1 auto; height: 40px; }

/* dim base line */
.ba-track {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: rgba(var(--ink), 0.14);
}
/* lit portion up to the thumb */
.ba-fill {
  position: absolute;
  left: 0; top: 50%;
  width: var(--p);
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(111, 151, 174, 0.35), var(--teal));
  box-shadow: 0 0 14px rgba(111, 151, 174, 0.65);
}
/* glowing puck */
.ba-thumb {
  position: absolute;
  left: var(--p);
  top: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 5px rgba(111, 151, 174, 0.18),
    0 0 18px 3px rgba(111, 151, 174, 0.75),
    0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  pointer-events: none;
}
.ba-slider:hover .ba-thumb { transform: scale(1.15); }
.ba-control.is-dragging .ba-thumb {
  transform: scale(1.28);
  box-shadow:
    0 0 0 7px rgba(111, 151, 174, 0.22),
    0 0 26px 6px rgba(111, 151, 174, 0.9),
    0 4px 14px rgba(0, 0, 0, 0.5);
}

/* the actual control — invisible, sits over the whole track */
#baMaster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: none;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: ew-resize;
}
#baMaster::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: transparent;
  cursor: ew-resize;
}
#baMaster::-moz-range-thumb {
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: ew-resize;
}
#baMaster::-moz-range-track { background: none; }
#baMaster:focus-visible ~ .ba-thumb { box-shadow: 0 0 0 4px rgba(111, 151, 174, 0.55), 0 0 20px 4px rgba(111, 151, 174, 0.8); }

.review-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(44px, 5vw, 72px);
}
/* secondary button — outlined, pairs with the solid .btn-buy */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(var(--ink), 0.05);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.22);
  color: rgba(var(--ink), 0.88);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(var(--ink), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.4);
  color: var(--text);
}

/* ---------- IPL ---------- */
.ipl {
  position: relative;
  text-align: center;
  background:
    radial-gradient(64% 40% at 50% 22%, rgba(221, 190, 162, 0.1), transparent 62%),
    #000;
}
/* glowing divider that draws from the middle out to the sides as the section appears */
.ipl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, 90%);
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, rgba(221, 190, 162, 0.5) 22%, rgba(var(--ink), 0.92) 50%, rgba(221, 190, 162, 0.5) 78%, transparent);
  box-shadow: 0 0 14px rgba(221, 190, 162, 0.55);
  opacity: 0;
  transition: transform 1.1s var(--ease) 0.1s, opacity 0.5s var(--ease) 0.1s;
}
.ipl.in-view::before { transform: translateX(-50%) scaleX(1); opacity: 1; }
/* big glowing title, matching the original */
.ipl .ipl-title {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(221, 190, 162, 0.5), 0 0 54px rgba(221, 190, 162, 0.28);
}
.ipl .sub-heading {
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: clamp(44px, 5.5vw, 74px);
}
.ipl-media {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 854 / 456;              /* matches the cropped video exactly (no letterbox) */
  margin: 0 auto clamp(50px, 6vw, 84px);
  border-radius: 28px;                  /* rounds the drop shadow */
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 90px rgba(221, 190, 162, 0.14);
}
/* the video rounds its own corners — no external container clipping it.
   A hairline frame keeps its edge visible where dark video content meets the dark page. */
.ipl-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(var(--ink), 0.16);
  box-sizing: border-box;
}
.ipl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.ipl-point .rule { display: block; width: 100%; height: 1px; background: rgba(var(--ink), 0.22); margin-bottom: 22px; }
.ipl-point { text-align: center; }
.ipl-point p { color: rgba(var(--ink), 0.8); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.5; }
.accent { color: var(--teal); }
/* highlighted words in the IPL points — same periwinkle gradient as the page labels */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent {
    background: linear-gradient(95deg, #55809b 0%, #6f97ae 52%, #cfd9dd 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;      /* each line gets the full gradient if a phrase wraps */
            box-decoration-break: clone;
  }
}

/* ---- entrance animation (fires when the section scrolls into view) ---- */
.ipl-title { opacity: 0; }
.ipl .sub-heading { opacity: 0; transform: translateY(16px); }
.ipl-media { opacity: 0; }
.ipl-point { opacity: 0; transform: translateY(28px); }

.ipl.in-view .ipl-title { animation: iplTitleIn 1.15s var(--ease) both; }
.ipl.in-view .sub-heading {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s;
}
.ipl.in-view .ipl-media { animation: iplMediaFade 1.2s var(--ease) 0.6s both; }
/* backwards fill: blurred during the delay, then reverts to no filter (so corners stay clean) */
.ipl.in-view .ipl-media video { animation: iplMediaFocus 1.2s var(--ease) 0.6s backwards; }
.ipl.in-view .ipl-point {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.ipl.in-view .ipl-point:nth-child(1) { transition-delay: 1s; }
.ipl.in-view .ipl-point:nth-child(2) { transition-delay: 1.12s; }
.ipl.in-view .ipl-point:nth-child(3) { transition-delay: 1.24s; }

/* the title "ignites" — scales in while its rose glow blooms and letter-spacing settles */
@keyframes iplTitleIn {
  0%   { opacity: 0; transform: translateY(26px) scale(0.94); letter-spacing: 0.08em; text-shadow: 0 0 0 rgba(221, 190, 162, 0); }
  55%  { text-shadow: 0 0 38px rgba(221, 190, 162, 0.8), 0 0 90px rgba(221, 190, 162, 0.45); }
  100% { opacity: 1; transform: none; letter-spacing: -0.035em; text-shadow: 0 0 20px rgba(221, 190, 162, 0.5), 0 0 54px rgba(221, 190, 162, 0.28); }
}
/* the video comes into focus — un-blurs and settles from a gentle zoom */
@keyframes iplMediaFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes iplMediaFocus {
  from { transform: scale(1.08); filter: blur(18px); }
  to   { transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ipl-title, .ipl .sub-heading, .ipl-media, .ipl-point { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .ipl-media video { transform: none !important; filter: none !important; }
  .ipl::before { transform: translateX(-50%) scaleX(1) !important; opacity: 1 !important; }
}

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #070a14 0%, #1a2142 96%); }  /* subtle → blue, so the black block reads distinct */
.faq .title { margin-bottom: clamp(26px, 3vw, 38px); }

/* category filter tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.8vw, 10px);
  margin-bottom: clamp(22px, 2.6vw, 34px);
}
.faq-tab {
  background: rgba(var(--ink), 0.03);
  border: 1px solid rgba(var(--ink), 0.12);
  border-radius: 100px;
  color: var(--gray);
  padding: 9px 18px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.faq-tab:hover { color: var(--text); border-color: rgba(var(--ink), 0.28); }
.faq-tab.is-active {
  background: var(--btn);
  color: var(--btn-ink);
  border-color: transparent;
}

/* the glassy block holding all the questions — translucent over the page,
   with a frosted blur, same language as the slide-in menu */
.faq-panel {
  background: rgba(var(--ink), 0.045);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 0 clamp(24px, 3vw, 46px);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.1);
}
.faq-item { border-top: 1px solid rgba(var(--ink), 0.1); }
.faq-item.faq-first { border-top: 0; }
/* fresh questions fade up quickly when a new category is chosen */
.faq-panel.is-entering .faq-item { animation: faqQIn 0.26s var(--ease) both; }
@keyframes faqQIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 30px) 0;
  background: none;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.25s;
}
.faq-q:hover { color: rgba(var(--ink), 0.72); }
.faq-q-text { display: flex; align-items: baseline; gap: clamp(14px, 1.6vw, 22px); min-width: 0; }
.faq-num {
  flex: none;
  color: var(--teal);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* + icon that eases into − when open */
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; color: var(--gray); transition: color 0.3s; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.faq-icon::before { width: 15px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 15px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon { color: var(--text); }
.faq-item.open .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

/* smooth height animation on open / close */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 clamp(0px, 5vw, 60px) 30px 0; color: rgba(var(--ink), 0.72); max-width: 820px; }

.faq-home-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 46px);
}

.faq-page {
  min-height: 100vh;
  padding-top: clamp(118px, 15vh, 170px);
}
.faq-page-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 54px);
}
.faq-page-head .paragraph3 {
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.faq-page-head .title { margin-bottom: 18px; }
.faq-page-head .paragraph2 {
  color: rgba(var(--ink), 0.7);
  max-width: 640px;
}
.faq-page .faq-panel {
  border-radius: 8px;
}
.faq-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 28px;
  border-top: 1px solid rgba(var(--ink), 0.12);
}
.faq-page-cta p {
  margin: 0;
  color: rgba(var(--ink), 0.72);
}
@media (max-width: 640px) {
  .faq-page-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- WHY ---------- */
.why { text-align: center; padding-bottom: 56px; }   /* Buy now pairs with the payment row below */
.why .title { margin: 0 auto clamp(44px, 5vw, 72px); max-width: 1000px; }
.why .btn-buy.big { margin-top: clamp(40px, 5vw, 64px); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 30px); }
.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 22px;
  padding: clamp(34px, 3.4vw, 48px) clamp(26px, 2.6vw, 38px);
  background: rgba(var(--ink), 0.035);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.07);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  background: rgba(var(--ink), 0.055);
  box-shadow: inset 0 0 0 1px rgba(111, 151, 174, 0.45), 0 24px 50px rgba(0, 0, 0, 0.4);
}
.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.4s var(--ease);
}
.why-card:hover .why-icon { transform: translateY(-2px) scale(1.06); }
.why-icon-truck   { background-image: url(assets/icons/truck.svg?v=4); }
.why-icon-message { background-image: url(assets/icons/message.svg?v=4); }
.why-icon-clock   { background-image: url(assets/icons/clock.svg?v=4); }
.why-card h3 { margin-bottom: 14px; }
.why-card p { color: rgba(var(--ink), 0.72); max-width: 34ch; }
.why-card p strong { color: var(--text); font-weight: 500; }

/* ---------- PAYMENT ---------- */
.section.payment { text-align: center; padding: 24px 0 52px; }
.pay-label { font-size: 1.4rem; margin-bottom: 26px; }
.pay-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.4vw, 16px); }
.pay {
  width: 78px;
  height: 54px;                         /* 84:58 card aspect */
  display: block;
  border-radius: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pay:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.pay-mastercard { background-image: url(assets/icons/mastercard.svg); }
.pay-amex { background-image: url(assets/icons/amex.svg?v=2); }
.pay-applepay { background-image: url(assets/icons/applepay.svg); }
.pay-googlepay { background-image: url(assets/icons/googlepay.svg); }
.pay-stripe { background-image: url(assets/icons/stripe.svg); }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 118%, #131a38 0%, #070912 58%);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  /* bottom padding clears the iPhone home indicator / Safari toolbar */
  padding: clamp(56px, 7vw, 96px) 0 calc(30px + env(safe-area-inset-bottom, 0px));
  margin-top: 60px;
}
/* glowing hairline at the very top edge */
.site-footer::after {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(72%, 900px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 165, 255, 0.55), transparent);
  z-index: 3;
}
/* soft spotlight that follows the cursor */
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 115%), rgba(111, 151, 174, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.site-footer:hover::before { opacity: 1; }

.footer-inner {
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(30px, 4vw, 60px);
}
.footer-logo { height: 38px; width: auto; margin-bottom: 22px; }
.footer-tagline { color: var(--gray); font-size: 1.02rem; line-height: 1.5; max-width: 280px; margin-bottom: 32px; }

.footer-head {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--ink), 0.42);
  margin-bottom: 20px;
}

.footer-col a {
  position: relative;
  display: block;
  width: fit-content;
  color: rgba(var(--ink), 0.8);
  margin-bottom: 13px;
  transition: color 0.25s;
}
.footer-col a::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--text); }
.footer-col a:hover::after { transform: scaleX(1); }

/* newsletter — minimal underline field with an arrow */
.newsletter { max-width: 300px; }
.newsletter-field {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(var(--ink), 0.25);
  transition: border-color 0.3s var(--ease);
}
.newsletter-field:focus-within { border-color: rgba(140, 165, 255, 0.85); }
.newsletter input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; color: var(--text);
  font-size: 1rem; padding: 11px 0;
}
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: rgba(var(--ink), 0.38); }
.newsletter-go {
  background: none; border: 0; cursor: pointer;
  color: var(--text); font-size: 1.25rem; line-height: 1;
  padding: 6px 2px 6px 14px;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.newsletter-go:hover { transform: translateX(4px); color: #9fb4ff; }

/* oversized faint wordmark */
.footer-wordmark {
  position: relative; z-index: 1;
  text-align: center;
  margin: clamp(36px, 5vw, 68px) 0 -0.12em;
  font-size: clamp(2.4rem, 11vw, 9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(var(--ink), 0.07), rgba(var(--ink), 0.006));
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none;
}

.footer-bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-top: 24px; margin-top: 22px;
  border-top: 1px solid rgba(var(--ink), 0.08);
}
.copyright { margin: 0; text-align: left; color: rgba(var(--ink), 0.5); font-size: 0.88rem; }
.footer-totop {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(var(--ink), 0.7); font-size: 0.88rem;
  transition: color 0.25s;
}
.footer-totop span { transition: transform 0.3s var(--ease); }
.footer-totop:hover { color: var(--text); }
.footer-totop:hover span { transform: translateY(-3px); }

/* ================================================================
   TYPE SYSTEM — every text on the page uses one of these five.
   (Only font-size/weight/line-height/tracking; colour & layout
   stay on the element so context is preserved.)
   ================================================================ */
.title      { font-weight: 500; font-size: clamp(1.8rem, 4vw, 3.125rem); line-height: 1.1;  letter-spacing: -0.03em; }
.subtitle   { font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.9rem);  line-height: 1.15; letter-spacing: -0.02em; }
.paragraph1 { font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem);     line-height: 1.35; letter-spacing: -0.02em; }
.paragraph2 { font-weight: 400; font-size: clamp(1rem, 1.3vw, 1.15rem);    line-height: 1.55; letter-spacing: -0.01em; }
.paragraph3 { font-weight: 400; font-size: 0.9rem;                         line-height: 1.45; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.5s var(--ease), transform 1.5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .container { padding: 0 22px; }
  .blade-grid, .compare-grid, .ipl-grid, .why-grid, .sapphire-grid { grid-template-columns: 1fr; }
  .blade-grid { text-align: center; }
  /* one column: strict text / photo / text rhythm */
  .bc-title { order: 1; }
  .bm-case  { order: 2; }
  .bc-copy  { order: 3; }
  .bm-front { order: 4; }
  .bc-ergo  { order: 5; }
  .bc-cart  { order: 6; }
  .sapphire-device { order: -1; margin-bottom: 20px; position: static; }
  .sapphire-cards { gap: clamp(34px, 6vh, 60px); padding-bottom: 0; }
  .review-masonry { columns: 2; }
  .review-fade { max-height: 520px; }
  .footer-inner { gap: 40px clamp(40px, 8vw, 90px); }
  .stats { flex-direction: column; align-items: center; gap: 40px; }
  .stat { text-align: center; }
  .stat-num { align-self: center; }
}
@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 34px; }
  .footer-col a { margin-left: auto; margin-right: auto; }
  .header-inner { padding: 0 16px; }
  .review-actions { flex-direction: column; align-items: center; gap: 14px; }
  .review-actions .btn-buy, .review-actions .btn-ghost { width: 100%; max-width: 260px; }
  .review-masonry { columns: 1; max-width: 420px; margin: 0 auto; }
  .review-fade { max-height: 460px; }
}

/* ---------- COMPATIBILITY CHECKER ---------- */
.match { text-align: center; }
.match .title { margin-bottom: 14px; }
.match .hint { max-width: 620px; margin: 0 auto; }

.mt-card {
  display: grid;
  grid-template-columns: 1fr minmax(0, 410px);
  gap: clamp(26px, 3vw, 42px);
  align-items: stretch;
  max-width: 1140px;
  margin: clamp(40px, 4.5vw, 64px) auto 0;
  text-align: left;
}

.mt-pickers {
  display: flex;
  flex-direction: column;
  justify-content: center;      /* balances the space against the result panel */
  gap: clamp(22px, 2.4vw, 30px);
}
.mt-label {
  display: block;
  margin-bottom: 14px;
  color: var(--gray);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mt-row { display: grid; gap: 10px; }
#mtSkin { grid-template-columns: repeat(8, 1fr); }
#mtHair { grid-template-columns: repeat(8, 1fr); }

/* a swatch — colour block with the name underneath on hover/selection */
.mt-sw {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: var(--c);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.16);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
/* hair swatches read as strands rather than flat colour */
.mt-sw-hair { background: linear-gradient(108deg, var(--c) 0%, var(--c2) 52%, var(--c) 100%); }
.mt-sw:hover { transform: translateY(-3px); }
.mt-sw:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.mt-sw[aria-checked="true"] {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(var(--ink), 0.3),
    0 0 0 2px var(--bg),
    0 0 0 4px var(--teal),
    0 10px 26px rgba(0, 0, 0, 0.45);
}
.mt-sw-name {
  position: absolute;
  left: 50%; bottom: -22px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(var(--ink), 0.6);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.mt-sw:hover .mt-sw-name,
.mt-sw[aria-checked="true"] .mt-sw-name { opacity: 1; color: var(--text); }
.mt-row { padding-bottom: 22px; }        /* room for the name label */

/* ---------- RESULT PANEL ---------- */
.mt-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;              /* fixed floor so the panel never resizes between verdicts */
  gap: 22px;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: 20px;
  background: rgba(var(--ink), 0.03);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.08);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.mt-result-inner { display: flex; flex-direction: column; gap: 16px; }

.mt-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(var(--ink), 0.07);
  color: rgba(var(--ink), 0.5);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.mt-icon svg {
  grid-area: 1 / 1;
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mt-icon-dots { fill: currentColor; stroke: none; }

.mt-verdict {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.45s var(--ease);
}
.mt-note {
  margin-top: 10px;
  color: rgba(var(--ink), 0.66);
  font-size: 0.95rem;
  line-height: 1.55;
}
.mt-cta { width: 100%; }

/* --- states --- */
.mt-result[data-state="idle"] .mt-icon-dots { opacity: 1; transform: none; }

.mt-result[data-state="yes"] {
  background: linear-gradient(150deg, rgba(111, 151, 174, 0.16), rgba(111, 151, 174, 0.04));
  box-shadow: inset 0 0 0 1px rgba(111, 151, 174, 0.5);
}
.mt-result[data-state="yes"] .mt-icon {
  background: rgba(111, 151, 174, 0.2);
  color: #8fd3c4;
  box-shadow: 0 0 24px rgba(111, 151, 174, 0.5);
}
.mt-result[data-state="yes"] .mt-icon-check { opacity: 1; transform: none; }

.mt-result[data-state="no"] {
  background: linear-gradient(150deg, rgba(221, 190, 162, 0.14), rgba(221, 190, 162, 0.03));
  box-shadow: inset 0 0 0 1px rgba(221, 190, 162, 0.42);
}
.mt-result[data-state="no"] .mt-icon {
  background: rgba(221, 190, 162, 0.18);
  color: var(--rose);
}
.mt-result[data-state="no"] .mt-icon-cross { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .mt-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mt-sw { border-radius: 11px; }
  .mt-row { gap: 7px; }
  .mt-sw-name { font-size: 0.62rem; }
}
/* Where LightPod isn't suitable there's no CTA — the fuller explanation takes
   its place instead, keeping the panel a consistent size. */
.mt-cta.is-off { display: none; }

/* FAQ questions are h3 for document structure; the button carries the styling */
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }

/* ================================================================
   MOBILE — phone-sized rebalancing. Sits last so it wins over the
   component rules above.
   ================================================================ */

/* the before/after area picker only exists on phones */
.ba-pick { display: none; }

@media (max-width: 640px) {
  /* tighter global rhythm */
  .section { padding: 76px 0; }
  .container { padding: 0 20px; }

  /* ---- type scales with the viewport on phones (fixed clamps stop tracking
     width down here) — and every section title shares ONE size ---- */
  .title, .design-title,
  .big-heading,
  .blade-title,
  .ipl .ipl-title,
  .auto .auto-title,
  .sapphire-title { font-size: min(6.8vw, 1.75rem); }
  /* the one deliberate exception — the big statement line stays big */
  .future-triad { font-size: min(10.5vw, 2.6rem); }
  .sub-heading { font-size: min(5.6vw, 1.4rem); }
  .sapphire-eyebrow { font-size: min(4.6vw, 1.15rem); }
  .blade-copy-p { font-size: min(5.2vw, 1.3rem); }
  .auto-lead { font-size: min(5.2vw, 1.3rem); }
  /* carousel captions sit over the photo — keep them modest */
  .cap-title { font-size: min(4.8vw, 1.2rem); }
  .cap-desc { font-size: min(3.7vw, 0.9rem); margin-top: 6px; }

  /* ---- hero: the tall portrait shot leads (the wide bar reads too small).
     Content starts right under the header instead of floating mid-screen. ---- */
  /* the whole hero fits in exactly one (small-)viewport height: the photo
     takes whatever space is left after the text, price and button */
  .hero { padding: 64px 0 38px; align-items: flex-start; min-height: 100vh; min-height: 100svh; }
  .hero-kicker { margin-top: 0; font-size: min(4.6vw, 1.2rem); }
  .hero-title { margin: 10px 0 16px; font-size: min(6.1vw, 1.55rem); white-space: nowrap; }
  .hero-product { margin: 0 auto 16px; }
  .hero-product img {
    width: auto; max-width: 100%;
    max-height: calc(100vh - 260px);
    max-height: calc(100svh - 260px);
    margin: 0 auto;
  }
  .hero-price { margin-bottom: 14px; }
  /* the price and button shouldn't trail the slow cinematic entrance */
  .hero .hero-price.reveal { transition: opacity 0.8s var(--ease) 0.2s, transform 1s var(--ease) 0.2s; }
  .hero .btn-buy.reveal { transition: opacity 0.8s var(--ease) 0.3s, transform 1s var(--ease) 0.3s; }

  /* ---- timeline: the graph turns vertical — bars grow left → right ---- */
  .tl-track { max-width: 420px; }
  .tl-stems { display: flex; flex-direction: column; align-items: flex-start; height: auto; gap: 58px; padding: 20px 0 14px; }
  .tl-stem { flex-direction: row; justify-content: flex-start; align-items: center; }
  .tl-week { order: -3; }
  .tl-line { order: -2; }
  .tl-dot { order: -1; }
  .tl-card { flex-direction: column; align-items: center; gap: 3px; padding: 9px 13px; border-radius: 12px; flex: none; }
  .tl-num { font-size: 1.25rem; }
  .tl-label { font-size: 0.58rem; white-space: nowrap; }
  .tl-line {
    height: 2px; width: 0;
    margin: 0 10px 0 28px;        /* bars start past the ruler, on one shared baseline */
    background: linear-gradient(to right, rgba(111, 151, 174, 0.25), var(--teal));
    transition: width 0.9s var(--ease);
  }
  .timeline.in-view .tl-line { height: 2px; width: calc(var(--lh) * 0.72); }
  .tl-week { margin: 0; width: 52px; flex: none; font-size: 0.78rem; text-align: left; }
  .tl-ticks {
    left: 64px; right: auto; top: 12px; bottom: 6px;
    width: 12px; height: auto;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }
  .tl-tick {
    width: 100%; height: 2px;
    background: linear-gradient(to right, rgba(111, 151, 174, 0.25), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
  }
  .timeline.in-view .tl-tick { transform: scale(1); }

  /* ---- before/after: one photo at a time, picked from a dropdown ---- */
  .ba-pick {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    margin: 4px auto 0;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(var(--ink), 0.05);
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.14);
    font-size: 1rem;
    font-weight: 500;
  }
  .ba-pick-caret {
    width: 9px; height: 9px;
    border-right: 2px solid rgba(var(--ink), 0.6);
    border-bottom: 2px solid rgba(var(--ink), 0.6);
    transform: translateY(-2px) rotate(45deg);
  }
  .ba-pick select {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0; border: 0; padding: 0;
    cursor: pointer;
    font-family: inherit;
  }
  .ba-pick select option { color: #111; }
  .ba-grid { grid-template-columns: 1fr; max-width: 420px; }
  .ba-grid .review-photo { display: none; }
  .ba-grid .review-photo.is-active { display: block; }

  /* ---- compare: category caption on top, the two methods as balanced,
     equal cells — LightPod's tinted so the win reads at a glance ---- */
  .compare-panel { padding: 22px 16px 26px; border-radius: 24px; }
  .vs-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "dim dim" "method pod";
    gap: 12px 10px;
    padding: 20px 0 22px;
  }
  .vs-method { grid-area: method; }
  .vs-dim {
    grid-area: dim;
    white-space: normal;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: rgba(29, 34, 63, 0.45);
  }
  .vs-pod { grid-area: pod; }
  .vs-method, .vs-pod {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 1rem;
    line-height: 1.3;
  }
  .vs-method { background: rgba(29, 34, 63, 0.045); }
  .vs-pod {
    background: rgba(111, 151, 174, 0.12);
    box-shadow: inset 0 0 0 1px rgba(111, 151, 174, 0.25);
  }
  .vs-head { grid-template-areas: "method pod"; padding-bottom: 6px; }
  .vs-head .vs-dim { display: none; }
  .vs-head-method { grid-area: method; gap: 8px; }
  .vs-head-pod { grid-area: pod; display: flex; align-items: center; justify-content: center; }
  .vs-head .subtitle { font-size: 1.15rem; }

  /* ---- blade: full-bleed, zoomed in on the case + razor ---- */
  .blade-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
    overflow: hidden;
  }
  .blade-hero img {
    width: 148%;
    max-width: none;
    margin-left: -24%;
  }

  /* ---- compatibility checker: 4 swatches per row, proper tap targets ---- */
  #mtSkin, #mtHair { grid-template-columns: repeat(4, 1fr); gap: 30px 10px; }
  .mt-row { padding-bottom: 28px; }
  .mt-sw-name { bottom: -20px; }

  /* ---- sapphire: enough travel between cards for the stacking to breathe ---- */
  .sapphire-cards { gap: 70px; padding-bottom: 30px; }
  .sapphire-device { margin-bottom: 26px; }

  /* ---- stats: left-aligned, each sliding in from the left ---- */
  .stats { flex-direction: column; align-items: flex-start; gap: 34px; }
  .stat { text-align: left; }
  .stat-num { align-self: flex-start; }
  .stats.reveal { opacity: 1; transform: none; }
  .stats.reveal .stat {
    opacity: 0;
    transform: translateX(-52px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
  }
  .stats.reveal.in .stat { opacity: 1; transform: none; }
  .stats.reveal.in .stat:nth-child(2) { transition-delay: 0.2s; }

  /* ---- future: the glow video gets a tall portrait crop so it fills the
     screen instead of a thin 16:9 strip. The crisp deer mark overlay scales
     with the video's displayed width (height-fit cover => ×(16/9)/(4/5)). ---- */
  .future-glow { aspect-ratio: 4 / 5; }
  .future-mark { width: 24.5%; }

  /* ---- ipl: the demo video turns vertical (portrait crop) instead of a
     small 16:9 strip ---- */
  .ipl-media { aspect-ratio: 3 / 5; max-width: 320px; }
  .ipl-media video { object-position: center; }

  /* ---- auto mode: tall full-bleed device shot, flush against the white
     section below (the global 76px section padding must not reopen the gap) ---- */
  .auto { padding-bottom: 0; }
  .auto-media {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .auto-media img { width: 100%; height: 100%; object-fit: cover; }

  /* ---- reviews: keep two columns, compact type, so it reads like a wall ---- */
  .review-masonry { columns: 2; column-gap: 12px; max-width: none; margin: 0; }
  .review-masonry > * { margin-bottom: 12px; }
  .review-card { padding: 16px 16px 14px; border-radius: 16px; }
  .review-card p { font-size: 0.84rem; line-height: 1.5; margin-bottom: 14px; }
  .review-by { gap: 10px; font-size: 0.8rem; }
  .review-mark { width: 18px; height: 9px; }
  .review-fade { max-height: 560px; }
}

/* ---------- ACCENT LABELS ----------
   The small uppercase label above a page title ("Support", "Contact",
   "Legal", "Reviews", "Your order") — one shared periwinkle accent with a
   soft lift towards silver-blue, so every page opens the same way. */
.accent-label,
.faq-page-head .paragraph3,
.ct-eyebrow,
.legal-eyebrow,
.reviews-hero .eyebrow {
  display: inline-block;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent-label,
  .faq-page-head .paragraph3,
  .ct-eyebrow,
  .legal-eyebrow,
  .reviews-hero .eyebrow {
    background: linear-gradient(95deg, #55809b 0%, #6f97ae 52%, #cfd9dd 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ---------- INNER PAGES: one top spacing ----------
   FAQ, Contact, Track, Blog (+ posts), Reviews, Terms and Privacy all start
   the same distance below the header. The home page keeps its own hero. */
:root { --page-top: clamp(100px, 12vh, 124px); }
main > .section.faq-page,
main > .section.ct-page,
main > .section.blog-hero,
main > .section.post-article,
main > .section.reviews-hero,
main > .section.legal {
  padding-top: var(--page-top);
}


/* ================================================================
   MENU (v2) — no box. The page names float on a blur that is strong
   on the left and fades away to nothing towards the right.
   ================================================================ */
:root { --menu-left: clamp(28px, 3.6vw, 52px); }   /* close to the edge */
@media (max-width: 900px) { :root { --menu-left: 22px; } }
@media (max-width: 640px) { :root { --menu-left: 20px; } }

/* the fading blur */
.menu-overlay {
  background: linear-gradient(90deg,
    rgba(4, 5, 12, 0.86) 0%,
    rgba(4, 5, 12, 0.62) 32%,
    rgba(4, 5, 12, 0.22) 62%,
    rgba(4, 5, 12, 0) 88%);
  -webkit-backdrop-filter: blur(22px);
          backdrop-filter: blur(22px);
  /* the blur itself fades out left → right, so there is no hard edge */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, rgba(0,0,0,0.55) 58%, transparent 86%);
          mask-image: linear-gradient(90deg, #000 0%, #000 34%, rgba(0,0,0,0.55) 58%, transparent 86%);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
@media (max-width: 640px) {
  .menu-overlay {
    background: linear-gradient(90deg, rgba(4,5,12,0.9) 0%, rgba(4,5,12,0.7) 55%, rgba(4,5,12,0.25) 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, rgba(0,0,0,0.6) 100%);
            mask-image: linear-gradient(90deg, #000 0%, #000 60%, rgba(0,0,0,0.6) 100%);
  }
}

/* the panel is now just a transparent column holding the links */
.menu-panel {
  top: 0; left: 0; bottom: 0;
  width: min(420px, 86vw);
  padding: 0 24px 40px var(--menu-left);
  background: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
  transform: translateX(-18px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease), visibility 0.6s;
  scrollbar-width: none;
}
.menu-panel::-webkit-scrollbar { display: none; }
.menu-open .menu-panel { transform: none; opacity: 1; }

/* close: a bare X exactly where the menu icon sits in the header */
.menu-close {
  display: inline-flex;
  align-self: flex-start;
  height: 45px;                      /* same as the header row */
  margin: 0 0 clamp(48px, 12vh, 120px);
  color: rgba(var(--ink), 0.8);
}
.menu-close .paragraph3 { display: none; }
.menu-close:hover { color: var(--text); }

/* links: larger type, no lines, no arrows */
.menu-list { border: 0; }
.menu-list li { border: 0; }
.menu-chev { display: none; }
.menu-list a {
  display: inline-block;
  padding: clamp(10px, 1.6vh, 14px) 0;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(var(--ink), 0.62);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s var(--ease);
}
.menu-list a:hover { color: var(--text); transform: translateX(4px); }
.menu-open .menu-list a:hover { transform: translateX(4px); }

/* buy link: one quiet underlined line under the list */
.menu-panel-foot { margin-top: clamp(36px, 6vh, 56px); padding-top: 0; text-align: left; }
.menu-panel-foot a {
  color: rgba(var(--ink), 0.55);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(var(--ink), 0.22);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.menu-panel-foot a:hover { color: var(--text); border-bottom-color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .menu-panel, .menu-list a { transform: none !important; }
}

/* menu: regular weight, Buy is just the last item */
.menu-list a { font-weight: 400; }
.menu-open .menu-list li:nth-child(7) a { transition-delay: 0.48s; }

/* menu: no close button — tap anywhere outside the links (or Esc) to close */
.menu-close { display: none !important; }
.menu-panel { padding-top: calc(45px + clamp(48px, 12vh, 120px)); }   /* keeps the links where they were */
.menu-list a, .menu-list li { cursor: pointer; }
.menu-panel { cursor: default; }

/* carousel: no side arrows — dots + swipe are enough */
.car-btn { display: none !important; }
.car-dot { cursor: pointer; }

/* ================================================================
   MOBILE POLISH (audit fixes)
   ================================================================ */

/* ---- comfortable tap areas (invisible — nothing looks different) ---- */
.menu-btn { padding: 16px; margin: -16px; }
.logo::after,
.btn-pill::after,
.car-dot::after,
.footer-totop::after,
.tap-area::after { content: ""; position: absolute; inset: -12px -10px; }
.btn-pill, .car-dot, .footer-totop { position: relative; }
.car-dot::after { inset: -18px -4px; }

/* ---- accent: solid inside sentences, gentler gradient on labels ----
   (the old gradient ended in near-white, so the end of a highlighted phrase
   looked unhighlighted) */
.accent {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #8fb3c8;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent-label,
  .faq-page-head .paragraph3,
  .ct-eyebrow,
  .legal-eyebrow,
  .reviews-hero .eyebrow {
    background: linear-gradient(95deg, #6f97ae 0%, #a3bfce 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ---- menu: stays dark over white sections too ---- */
.menu-overlay {
  background: linear-gradient(90deg,
    rgba(4, 5, 12, 0.95) 0%,
    rgba(4, 5, 12, 0.86) 30%,
    rgba(4, 5, 12, 0.5) 60%,
    rgba(4, 5, 12, 0) 90%);
}
.menu-list a { color: rgba(var(--ink), 0.78); }
@media (max-width: 640px) {
  .menu-overlay {
    background: linear-gradient(90deg, rgba(4,5,12,0.96) 0%, rgba(4,5,12,0.9) 55%, rgba(4,5,12,0.74) 100%);
    -webkit-mask-image: none; mask-image: none;
  }
}

/* ---- home FAQ block: same look as the FAQ page ---- */
.faq:not(.faq-page) { background: var(--bg); }
.faq:not(.faq-page) .title { text-align: center; }
.faq:not(.faq-page) .faq-panel {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(var(--ink), 0.04);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.08);
  border-radius: 20px;
  padding: 0 clamp(20px, 3vw, 36px);
}
.faq:not(.faq-page) .faq-item { border-top-color: rgba(var(--ink), 0.08); }
.faq:not(.faq-page) .faq-q { padding: clamp(20px, 2.2vw, 26px) 0; font-size: clamp(1rem, 1.35vw, 1.12rem); }
.faq:not(.faq-page) .faq-icon { width: 13px; height: 13px; color: rgba(var(--ink), 0.4); }
.faq:not(.faq-page) .faq-icon::before { width: 12px; height: 1px; }
.faq:not(.faq-page) .faq-icon::after  { width: 1px; height: 12px; }
.faq:not(.faq-page) .faq-a p { padding: 0 0 26px; color: rgba(var(--ink), 0.62); font-size: 0.98rem; line-height: 1.7; }

/* ---- footer: no dead links; tidy on phones ---- */
.copyright { color: rgba(var(--ink), 0.55); }
@media (max-width: 560px) {
  .site-footer { padding-top: 44px; margin-top: 30px; border-top-left-radius: 28px; border-top-right-radius: 28px; }
  .footer-inner {
    flex-direction: row; flex-wrap: nowrap;
    justify-content: center; align-items: flex-start;
    gap: 0 clamp(40px, 16vw, 72px);
    text-align: left;
  }
  .footer-col a { margin-left: 0; margin-right: 0; padding: 9px 0; }
  .footer-head { font-size: 0.75rem; margin-bottom: 6px; }
  .footer-wordmark { margin: 26px 0 10px; }             /* no longer clipped by the line below */
  .footer-bottom { flex-direction: column; align-items: center; gap: 6px; padding-top: 18px; margin-top: 0; }
  .copyright { text-align: center; }
  .footer-totop { padding: 10px 0; }
}

@media (max-width: 640px) {
  /* ---- nothing under 12px ---- */
  .tl-label { font-size: 0.75rem; }
  .tl-card { padding: 9px 12px; }
  .mt-sw-name { font-size: 0.75rem; }
  .mt-label, .ba-end, .sapphire-tag, .vs-dim, .footer-head { font-size: 0.75rem; }
  figure figcaption, .zone figcaption { font-size: 0.8rem; }

  /* ---- hidden dropdowns: 16px so iPhone doesn't zoom when they open ---- */
  .ba-pick select, #compareSelect, .vs-head select { font-size: 16px; }

  /* ---- shorter page: tighter rhythm between sections ---- */
  .section { padding: 62px 0; }

  /* circles: less empty scrolling, and only the front circle is named */
  .zones { min-height: 240vh; }             /* more scroll per circle = a slower, calmer turn */
  .zone-cluster.is-live .zone figcaption { opacity: 0; transition: opacity 0.3s var(--ease); }
  .zone-cluster.is-live .zone.is-lead figcaption { opacity: 1; }

  /* home reviews: one readable column instead of two narrow ones */
  .review-masonry { columns: 1; max-width: 440px; margin: 0 auto; }
  .review-masonry > * { margin-bottom: 12px; }
  .review-card { padding: 20px 20px 18px; }
  .review-card p { font-size: 0.98rem; line-height: 1.6; margin-bottom: 16px; }
  .review-by { font-size: 0.88rem; }
  .review-fade { max-height: 500px; }

  /* smooth blade: closer blocks, shorter photos */
  .blade-headline { margin-bottom: 30px; }
  .blade-divider { margin: 26px auto 38px; }
  .blade-grid { gap: 40px; }
  .blade-cell { gap: 20px; }
  .bm-front { aspect-ratio: 1 / 1; }
  .bm-cart { aspect-ratio: 16 / 9; }

  /* sapphire: a simple list of cards — no stacking, so nothing overlaps */
  .sapphire-card { position: static; padding: 24px 22px; }
  .sapphire-cards { gap: 12px; padding-bottom: 0; }

  /* ipl demo: a little shorter */
  .ipl-media { aspect-ratio: 4 / 5; }

  /* why: tighter cards */
  .why-grid { gap: 12px; }
  .why-card { padding: 28px 22px; }
  .why .title { margin-bottom: 30px; }
}

/* ================================================================
   MOBILE FIXES (round 2)
   ================================================================ */
/* circle names in white */
.zone figcaption { color: var(--text); }

/* videos: play button shown only when the phone refuses to autoplay */
.future-glow.needs-tap, .ipl-media.needs-tap { position: relative; cursor: pointer; }
.future-glow.needs-tap::after, .ipl-media.needs-tap::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 30px no-repeat,
    rgba(10, 12, 22, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 3;
  pointer-events: none;
}
.future-glow.needs-tap::after { top: 72%; }        /* below the deer mark */

@media (max-width: 640px) {
  /* slider: the device sits on top, the caption underneath — never over it */
  .design-frame {
    height: auto; max-height: none;
    display: flex; flex-direction: column;
  }
  .design-frame::after { display: none; }
  .frame-media {
    position: relative; inset: auto;
    flex: none;
    height: min(54vh, 440px);
    padding: 22px 18px 6px;
  }
  .design-frame figcaption {
    position: static;
    padding: 12px 22px 24px;
    min-height: 112px;
    text-align: left;
  }
  .cap-desc { max-width: none; }

  /* smooth blade, 2nd photo: smaller and shown whole (it was cropped) */
  .bm-front {
    aspect-ratio: 900 / 1258;
    width: 58%;
    max-width: 230px;
    margin-left: auto; margin-right: auto;
    align-self: center;
  }
  .bm-front img { object-fit: contain; }
}

/* ================================================================
   MOBILE FIXES (round 3)
   ================================================================ */
/* hero waits for its photo: everything stays in its starting state until
   the image has loaded, then the normal staggered entrance runs */
.hero.is-loading .reveal.in { opacity: 0; transform: scale(1.14); }
.hero.is-loading .hero-product.reveal.in { transform: scale(1.24); }

@media (max-width: 640px) {
  /* the LightPod leads; price and Buy follow once it is on screen */
  .hero .hero-product.reveal { transition-delay: 0.2s; transition-duration: 1.6s, 2.4s; }
  /* same slow, soft fade as the product — just starting later */
  .hero .hero-price.reveal { transition: opacity 1.8s ease-in-out 1.1s, transform 2.4s var(--ease) 1.1s; }
  .hero .btn-buy.reveal { transition: opacity 1.8s ease-in-out 1.35s, transform 2.4s var(--ease) 1.35s; }

  /* match tool: one swipeable row per question instead of a grid */
  .match .title { line-height: 1.25; padding-bottom: 2px; }
  #mtSkin, #mtHair {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 6px 20px 34px;
    scroll-padding: 0 20px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
  }
  #mtSkin::-webkit-scrollbar, #mtHair::-webkit-scrollbar { display: none; }
  .mt-sw { flex: 0 0 78px; width: 78px; scroll-snap-align: start; }
  .mt-sw:hover { transform: none; }
  /* every swatch is named, since they are no longer all on screen at once */
  .mt-sw-name { opacity: 1; bottom: -24px; font-size: 0.75rem; letter-spacing: 0.01em; color: rgba(var(--ink), 0.6); }
  .mt-sw[aria-checked="true"] .mt-sw-name { color: var(--text); }
  .mt-row { padding-bottom: 34px; }
  .mt-pickers { gap: 8px; }
}
@media (max-width: 640px) {
  /* let the swatch rows scroll inside the card instead of widening it */
  .mt-card { grid-template-columns: minmax(0, 1fr); }
  .mt-pickers, .mt-group { min-width: 0; }
}

/* ================================================================
   MOBILE: more air between sections (section snapping was tried and removed)
   ================================================================ */
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .timeline { padding-top: 104px; }          /* "Results." sits clear of the circles' caption above */
  .zones { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .auto { padding-bottom: 0; }               /* device shot stays flush with the white section below */
  .why { padding-bottom: 56px; }
}

/* ================================================================
   HOMEPAGE OPENING SEQUENCE
   1) the LightPod alone, appearing slowly (scroll is held)
   2) then header, titles, price and Buy fade in after it
   ================================================================ */
html.intro-lock, html.intro-lock body { overflow: hidden; overscroll-behavior: none; touch-action: none; }

/* start: nothing but black */
html.intro .site-header { opacity: 0; }
html.intro .hero .reveal,
html.intro .hero .reveal.in { opacity: 0; transform: translateY(12px); transition: none; }
html.intro .hero .hero-product.reveal,
html.intro .hero .hero-product.reveal.in { opacity: 0; transform: scale(1.12); transition: none; }

/* 1) the product — slow and soft */
html.intro.intro-go .hero .hero-product.reveal,
html.intro.intro-go .hero .hero-product.reveal.in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 2.6s cubic-bezier(0.45, 0, 0.25, 1), transform 3.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2) everything else, one after another */
html.intro.intro-text .site-header { opacity: 1; transition: opacity 1.8s ease-in-out; }
html.intro.intro-text .hero .hero-kicker.reveal,
html.intro.intro-text .hero .hero-title.reveal,
html.intro.intro-text .hero .hero-price.reveal,
html.intro.intro-text .hero .btn-buy.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1.8s ease-in-out, transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
html.intro.intro-text .hero .hero-kicker.reveal { transition-delay: 0s; }
html.intro.intro-text .hero .hero-title.reveal  { transition-delay: 0.18s; }
html.intro.intro-text .hero .hero-price.reveal  { transition-delay: 0.55s; }
html.intro.intro-text .hero .btn-buy.reveal     { transition-delay: 0.8s; }

/* hand-over to the normal styles without a flicker */
html.intro-done .hero .reveal, html.intro-done .site-header { transition: none !important; }

/* ================================================================
   VIDEOS (round 4)
   ================================================================ */
/* no play button: videos start before they reach the screen */
.future-glow.needs-tap::after, .ipl-media.needs-tap::after { display: none; }

@media (max-width: 640px) {
  /* Intense Pulse Light demo: the whole landscape film turned 90° into a tall
     portrait frame (taller than wide), instead of a zoomed-in crop */
  .ipl-media {
    position: relative;
    aspect-ratio: 456 / 854;
    width: 100%;
    max-width: 360px;               /* full width of the page column on most phones */
    overflow: hidden;
    border-radius: 26px;
  }
  .ipl-media video {
    position: absolute;
    top: 50%; left: 50%;
    width: 187.28%;                 /* = frame height (854/456 of its width) */
    height: 53.4%;                  /* = frame width  (456/854 of its height) */
    max-width: none;
    transform: translate(-50%, -50%) rotate(90deg);
    object-fit: cover;
    border: 0;
    border-radius: 0;
  }
}

/* ---- opening sequence, revised: the header, "LightPod" and the title are
   simply there (static). Only the LightPod arrives — slower and from a larger
   size — and the price + Buy follow it. ---- */
html.intro .site-header { opacity: 1; transition: none; }
html.intro .hero .hero-kicker.reveal,
html.intro .hero .hero-kicker.reveal.in,
html.intro .hero .hero-title.reveal,
html.intro .hero .hero-title.reveal.in { opacity: 1; transform: none; transition: none; }

html.intro .hero .hero-product.reveal,
html.intro .hero .hero-product.reveal.in { opacity: 0; transform: scale(1.34); transition: none; }
html.intro.intro-go .hero .hero-product.reveal,
html.intro.intro-go .hero .hero-product.reveal.in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 3.4s cubic-bezier(0.45, 0, 0.25, 1), transform 4.6s cubic-bezier(0.3, 0, 0.15, 1);
}
html.intro.intro-text .hero .hero-price.reveal { transition-delay: 0s; }
html.intro.intro-text .hero .btn-buy.reveal    { transition-delay: 0.3s; }

/* IPL points: two now (dermatologist-inspired, safety and results) — centred pair on wide screens */
@media (min-width: 901px) {
  .ipl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-left: auto; margin-right: auto; }
}

/* payment logos: one row on phones */
@media (max-width: 640px) {
  .pay-logos { flex-wrap: nowrap; gap: 8px; }
  .pay { flex: 1 1 0; width: auto; max-width: 64px; height: auto; aspect-ratio: 78 / 54; border-radius: 5px; }
  .pay-label { font-size: 1.15rem; margin-bottom: 20px; }
}

/* slider cards: bigger on phones */
@media (max-width: 640px) {
  .design-frame { width: 88vw; }
  .car-spacer { flex-basis: 6vw; }
  .car-track { gap: 14px; }
  .frame-media { height: min(62vh, 520px); padding: 24px 18px 6px; }
}

/* ---- one title size for every inner page (FAQ, Contact, Track, Blog, Reviews) ---- */
main .faq-page-head .title,
main .ct-page .ct-title,
main .blog-hero .blog-title,
main .reviews-hero .title {
  font-size: clamp(2.4rem, 5.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* before/after: no subtitle any more — the title keeps its own space above the photos */
.results-photos .title { margin-bottom: clamp(34px, 4vw, 56px); }
@media (max-width: 640px) {
  .results-photos .title { margin-bottom: 26px; }
  .ba-pick { margin-bottom: 26px; }
}

/* "Sapphire Crystal." is now a normal section title — same size as the titles before it */
.sapphire-head .sapphire-title { font-size: inherit; line-height: inherit; letter-spacing: inherit; font-weight: inherit; }
.sapphire-head { margin-bottom: clamp(34px, 4.5vw, 60px); }

/* sapphire icons: no square frame, just the line icon */
.sapphire-icon { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; margin-bottom: 14px; }
.sapphire-icon svg { width: 28px; height: 28px; }

/* ================================================================
   SAPPHIRE on phones: title → a swipeable row of glass cards → the
   emitter photo behind, with the cards resting over its top edge
   ================================================================ */
@media (max-width: 640px) {
  .sapphire-grid { display: block; position: relative; }

  .sapphire-cards {
    position: relative;
    z-index: 2;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px 6px;
    scroll-padding: 0 20px;
  }
  .sapphire-cards::-webkit-scrollbar { display: none; }

  .sapphire-card,
  .sapphire-card.reveal,
  .sapphire-card.reveal.in {
    position: static;
    flex: 0 0 84%;
    scroll-snap-align: center;
    padding: 24px 20px 26px;
    border-radius: 22px;
    /* glass: see-through with a blur of whatever is behind (the emitter photo) */
    background: rgba(20, 25, 44, 0.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
            backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.12);
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sapphire-card p { font-size: 1.02rem; line-height: 1.45; }

  /* the photo sits behind, pulled up so the cards overlap its top */
  .sapphire-device {
    position: relative;
    z-index: 1;
    order: 0;
    top: 0;                         /* cancel the desktop "sticky" offset */
    margin: -94px 0 0;
  }
  .sapphire-device img { max-width: 400px; }
}

/* ---- sapphire cards on phones, revised: clear neutral glass, taller, and
   sitting properly over the emitter photo so it shows through them ---- */
@media (max-width: 640px) {
  .sapphire-card,
  .sapphire-card.reveal,
  .sapphire-card.reveal.in {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 264px;
    padding: 30px 22px;
    border-radius: 26px;
    /* neutral glass — no colour tint, just light catching the surface */
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.045) 45%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-backdrop-filter: blur(11px) saturate(1.35);
            backdrop-filter: blur(11px) saturate(1.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),          /* bright top edge */
      inset 0 -1px 0 rgba(255, 255, 255, 0.05),
      0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .sapphire-cards { padding-bottom: 44px; }               /* room for the cards' shadow */
  .sapphire-tag { color: rgba(255, 255, 255, 0.62); }
  .sapphire-card p { color: rgba(255, 255, 255, 0.86); }

  /* the photo is the backdrop: its top sits just under the cards' top edge,
     so the crystal glows through the glass and the body shows below */
  .sapphire-device { margin: -212px 0 0; }
}

/* sapphire photo on phones: flipped upside down, so the device hangs from
   behind the glass cards and the glowing crystal sits clear below them */
@media (max-width: 640px) {
  .sapphire-device img { transform: scaleY(-1); }
}

/* sapphire glass cards: a touch darker — less white in the fill and the edges */
@media (max-width: 640px) {
  .sapphire-card,
  .sapphire-card.reveal,
  .sapphire-card.reveal.in {
    background:
      linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.022) 45%, rgba(255, 255, 255, 0.008) 100%),
      rgba(6, 7, 10, 0.22);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03),
      0 18px 40px rgba(0, 0, 0, 0.38);
  }
}

/* auto mode: "Click. Hold. Flash." is a normal section title now; shorter lead */
.auto .auto-title { font-size: clamp(1.8rem, 4vw, 3.125rem); line-height: 1.1; margin-bottom: clamp(22px, 3vw, 34px); }
.auto-lead { margin-bottom: clamp(40px, 6vw, 80px); max-width: 620px; }
@media (max-width: 640px) {
  .auto .auto-title { font-size: min(6.8vw, 1.75rem); margin-bottom: 18px; }
}
