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

:root {
  --bg-light: #ffffff;
  --bg-mid: #f0f0f0;
  --bg-dark: #060606;
  --blob-light: #bfbcb5;
  --blob-dark: #f4f2eb;
  --text-dark: #111111;
  --text-light: rgba(255, 255, 255, 0.84);
}

html, body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { overscroll-behavior-y: none; }
.experience { width: 100%; }
.story-shell { position: relative; width: 100%; }
.story-finale-runway {
  height: 0;
  pointer-events: none;
}

.scene {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* dynamic viewport height — prevents iOS address-bar resize from shifting the pinned scene */
  isolation: isolate;
  overflow: hidden;
  z-index: 1;
  background: hsl(212,68%,82%); /* blob base colour — prevents white body bleeding behind fixed nav */
  touch-action: pan-y; /* allow vertical scroll to pass through when GSAP pins this as position:fixed */
}

/* On touch devices block native finger-scroll on the story shell and the pinned scene.
   Mobile UX is driven entirely by Continue taps; programmatic window.scrollTo still works.
   Blocking touch-initiated scroll eliminates the snap-back jitter from
   syncMobileStoryScrollToLockOrHandoff and prevents pinType:"fixed" jump artifacts.
   touch-action:none on .scene covers the case where GSAP sets position:fixed, making
   .scene the top-most touch target that no longer consults .story-shell in scroll chain. */
@media (pointer: coarse) {
  .story-shell,
  .scene {
    touch-action: none;
  }
}
.bg-layer { position: absolute; inset: 0; }
.bg-light {
  background: #ffffff;
}
.bg-dark {
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.08), rgba(255,255,255,0) 28%),
    linear-gradient(180deg, #181818 0%, #0f0f0f 34%, #050505 100%);
  transform: translateY(102%);
  will-change: transform;
}
.bg-emerge {
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  will-change: opacity;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(0,0,0,0.8) 0 1px, transparent 1px),
    radial-gradient(circle at 68% 74%, rgba(0,0,0,0.7) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 35%, rgba(0,0,0,0.5) 0 1px, transparent 1px);
  background-size: 18px 18px, 22px 22px, 26px 26px;
}
.stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── Chapter copy ───────────────────────────────────────────────── */
.chapter-copy {
  position: absolute;
  left: 50%;
  /* Bottom-anchored stack: Continue + gap + title (desktop overrides in min-width 821px) */
  bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  top: auto;
  transform: translateX(-50%);
  width: min(800px, calc(100% - 48px));
  max-width: 92vw;
  z-index: 5;
  pointer-events: none;
  text-align: center;
  transition: color 280ms ease, opacity 400ms ease;
}
.chapter-copy__title {
  margin: 0;
  font-family: 'Unna', Georgia, serif;
  font-size: clamp(24px, 3.75vw, 38px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.17;
  letter-spacing: 0;
  color: #000;
  white-space: pre-line;
  min-height: 2.34em;
  transition: opacity 300ms ease;
}
.chapter-copy--dark .chapter-copy__title {
  color: rgba(255, 255, 255, 0.94);
}

/* ── SVG fills ──────────────────────────────────────────────────── */
#blobFill { fill: url(#barryGrad); }
#blobShadow { fill: rgba(30, 100, 180, 0.07); }
.secondary-circle { fill: url(#secondaryGrad); }
.inner-circle { fill: #000000; opacity: 0; }
.micro-circle {
  fill: #74D0F2;
  opacity: 0;
  pointer-events: none;
}
.bounded-waves { pointer-events: none; }
.bounded-wave-ring {
  fill: none;
  vector-effect: non-scaling-stroke;
}

/* ── Chapter labels ─────────────────────────────────────────────── */
.chapter-labels {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 6;
  transition: opacity 400ms ease;
}
.chapter {
  appearance: none;
  margin: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.80);
  color: rgba(0,0,0,0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 280ms ease, opacity 280ms ease, background-color 280ms ease, color 280ms ease;
  opacity: 0.55;
}
.chapter:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}
.chapter-copy--dark ~ .chapter-labels .chapter:focus-visible {
  outline-color: rgba(255, 255, 255, 0.6);
}
.chapter.active {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.8);
  color: rgba(0,0,0,0.88);
}

/* ── Story Continue (pinned scene; discrete beats on all breakpoints, script `.is-visible`) ── */
.story-continue-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  z-index: 22;
  padding: 0 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
.story-continue-wrap.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.story-continue-wrap.story-continue-wrap--busy .story-continue {
  opacity: 0.72;
  cursor: wait;
}
.story-continue {
  appearance: none;
  border: none;
  cursor: pointer;
  background: #000;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  white-space: nowrap;
  max-width: 100%;
  transition: opacity 180ms ease, transform 180ms ease;
}
.story-continue:active { transform: scale(0.98); }
.story-continue-wrap--dark .story-continue {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}

@media (min-width: 821px) {
  /* Bottom Continue mirrors Start CTA — keep mouse scroll hint, drop duplicate hero button */
  .hero-bottom .hero-cta {
    display: none;
  }

  .scene {
    --story-continue-bottom: max(56px, env(safe-area-inset-bottom, 0px));
    --story-continue-height: 48px;
    --story-copy-gap: 28px;
  }

  .story-continue-wrap {
    bottom: var(--story-continue-bottom);
  }

  .chapter-copy {
    bottom: calc(
      var(--story-continue-bottom) + var(--story-continue-height) + var(--story-copy-gap)
    );
  }

  /* Short desktops: stay bottom-anchored, only tighten spacing */
  @media (max-height: 760px) {
    .scene {
      --story-continue-bottom: max(44px, env(safe-area-inset-bottom, 0px));
      --story-copy-gap: 22px;
    }
  }

  @media (max-height: 560px) {
    .scene {
      --story-continue-bottom: max(36px, env(safe-area-inset-bottom, 0px));
      --story-continue-height: 44px;
      --story-copy-gap: 16px;
    }
    .chapter-copy__title {
      font-size: clamp(20px, 2.8vw, 32px);
      min-height: 1.17em;
    }
  }
}

/* ── AI Advisor section ─────────────────────────────────────────── */
.advisor-section {
  background: #fff;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-left: 48px;
  padding-right: 48px;
}

/* Persistent header — always visible above whichever state is active */
.advisor-header {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.advisor-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin: 0;
}
.advisor-heading {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  color: #000;
  margin: 0;
}

/* Views wrap — provides the stacking context for leave animations */
.advisor-views-wrap {
  position: relative;
  padding-top: 16px;
}

/* Shared view shell — transition-driven show/hide */
.advisor-view {
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 380ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Shown in the layout (entering, active, or leaving) */
.advisor-view.is-visible {
  display: flex;
}
/* Pre-enter: invisible, shifted down */
.advisor-view.is-entering {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}
/* Fully visible */
.advisor-view.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Leaving: absolutely positioned so the incoming view sets the height */
.advisor-view.is-leaving {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.advisor-view__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.advisor-field-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.advisor-input {
  flex: 1;
  font-family: Inter, sans-serif;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  color: #000;
  background: #f5f5f5;
  border: none;
  border-radius: 16px;
  padding: 18px 22px;
  resize: none;
  outline: none;
  line-height: 1.5;
  transition: background 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
  min-height: 60px;
}
.advisor-input::placeholder { color: rgba(0,0,0,0.35); }
.advisor-input:focus {
  background: #efefef;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.10);
}
.advisor-submit {
  appearance: none;
  border: none;
  background: #000;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 180ms ease, transform 180ms ease;
}
.advisor-submit:hover { background: #222; transform: scale(1.07); }
.advisor-submit:disabled { background: #ccc; transform: none; cursor: default; }

/* Autocomplete dropdown */
.advisor-autocomplete {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  margin-top: -8px;
  /* Animation base — starts invisible */
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.advisor-autocomplete[hidden] { display: none; }
.advisor-autocomplete.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.advisor-autocomplete__item {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #111;
  padding: 12px 20px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  background: transparent;
  border: none;
  transition: background 120ms ease;
  display: block;
}
.advisor-autocomplete__item:hover,
.advisor-autocomplete__item.is-focused {
  background: #f5f5f5;
}
.advisor-autocomplete__item strong {
  font-weight: 600;
}

/* Autocomplete loading skeleton */
.advisor-autocomplete__skeleton {
  padding: 10px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.advisor-autocomplete__skeleton span {
  display: block;
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: ac-shimmer 1.4s ease-in-out infinite;
}
.advisor-autocomplete__skeleton span:nth-child(1) { width: 75%; }
.advisor-autocomplete__skeleton span:nth-child(2) { width: 60%; }
.advisor-autocomplete__skeleton span:nth-child(3) { width: 82%; }
.advisor-autocomplete__skeleton span:nth-child(4) { width: 55%; }
.advisor-autocomplete__skeleton span:nth-child(5) { width: 70%; }
@keyframes ac-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chips — two scrolling rows */
.advisor-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  /* Fade edges — desktop only. On touch, -webkit-mask-image forces an offscreen
     compositing surface (stencil buffer) that on iOS Safari exhausts the GPU tile
     budget and causes scroll jitter. overflow:hidden alone clips the chips cleanly. */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.advisor-chips__track {
  display: flex;
  gap: 10px;
  width: max-content;
  /* will-change is redundant here: the CSS animation already promotes the track to
     a compositor layer. Declaring it again wastes compositing memory without benefit. */
  will-change: transform;
}
.advisor-chips__track--fwd {
  animation: advisor-chips-fwd 65s linear infinite;
}
.advisor-chips__track--rev {
  animation: advisor-chips-rev 75s linear infinite;
}
.advisor-chips__track:hover,
.advisor-chips__track:focus-within {
  animation-play-state: paused;
}
@keyframes advisor-chips-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes advisor-chips-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.advisor-chip {
  appearance: none;
  border: 1.5px solid rgba(0,0,0,0.14);
  background: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0,0,0,0.75);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.advisor-chip:hover {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.30);
  color: #000;
}

/* ── State 3: Loading ───────────────────────────────────── */
.advisor-view--loading {
  min-height: 240px;
}
.advisor-blob {
  width: 100px;
  height: 100px;
  /* Barry-blue base (#barryGrad) + faint warm mesh blobs (SVG meshGrad*) so it reads like the hero blob */
  background:
    radial-gradient(ellipse 88% 78% at 58% 52%, rgba(255, 196, 160, 0.2) 0%, rgba(255, 196, 160, 0) 58%),
    radial-gradient(ellipse 72% 68% at 28% 40%, rgba(255, 180, 144, 0.16) 0%, rgba(255, 180, 144, 0) 52%),
    radial-gradient(circle at 44% 38%,
      hsl(212, 56%, 97%) 0%,
      hsl(212, 60%, 92%) 22%,
      hsl(212, 64%, 84%) 46%,
      hsl(212, 66%, 73%) 72%,
      hsl(212, 62%, 55%) 100%
    );
  box-shadow:
    inset 6px -8px 28px rgba(255, 255, 255, 0.45),
    inset -4px 4px 22px rgba(60, 100, 150, 0.12),
    0 12px 32px rgba(80, 120, 180, 0.14);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blob-morph 3.2s ease-in-out infinite,
             blob-float 2.8s ease-in-out infinite alternate;
  will-change: border-radius, transform;
}
@keyframes blob-morph {
  0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  25%  { border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
  50%  { border-radius: 50% 50% 60% 40% / 40% 55% 45% 60%; }
  75%  { border-radius: 55% 45% 50% 50% / 55% 40% 60% 45%; }
  100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
}
@keyframes blob-float {
  from { transform: translateY(0px); }
  to   { transform: translateY(-18px); }
}
.advisor-loading-text {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(0,0,0,0.5);
  margin: 0;
}

/* ── State 4: Results ───────────────────────────────────── */
.advisor-results__summary {
  font-family: Inter, sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  color: rgba(0,0,0,0.75);
  line-height: 1.65;
  margin: 0;
}
.advisor-results__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.advisor-results__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.advisor-cta {
  appearance: none;
  border: none;
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.advisor-cta:hover { background: #222; transform: translateY(-1px); }
.advisor-restart {
  appearance: none;
  border: none;
  background: transparent;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: black;
  cursor: pointer;
  padding: 4px 0;
  text-underline-offset: 3px;
  transition: color 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.advisor-restart:hover { color: rgba(0,0,0,0.75); }
.advisor-restart__icon {
  flex-shrink: 0;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.advisor-restart:hover .advisor-restart__icon { transform: rotate(-180deg); }

/* Result cards — slightly denser than full product cards */
.advisor-results__cards .products-page-card__img { height: 160px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 820px) {
  .advisor-section    { padding-left: 24px; padding-right: 24px; }
  .advisor-header     { padding: 56px 0 0; }
  .advisor-view__inner { padding: 20px 0 56px; }
  .advisor-results__cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .advisor-heading { font-size: 28px; }
  .advisor-chip { font-size: 13px; padding: 8px 14px; }
  .advisor-input { font-size: 15px; }
}

/* ── About section ──────────────────────────────────────────────── */
.about-section {
  background: #FFF4EE;
  padding: 48px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.about-inner {
  max-width: 1344px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.about-photo {
  flex: 0 0 481px;
  height: 543px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 32px;
}
.about-photo-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-photo-caption span {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
.about-photo-caption strong {
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 600;
}
.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #71c170;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
  width: fit-content;
  animation: badge-glow 2.4s ease-in-out infinite;
}

/* Live dot prepended via pseudo-element */
.about-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: live-dot 1.4s ease-in-out infinite;
}

@keyframes live-dot {
  0%, 100% { opacity: 1;   transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50%       { opacity: 0.4; transform: scale(0.75); box-shadow: 0 0 0 4px rgba(255,255,255,0); }
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(113,193,112,0); }
  50%       { box-shadow: 0 0 0 5px rgba(113,193,112,0.35); }
}
.about-text h2 {
  font-family: 'Unna', Georgia, serif;
  font-size: clamp(36px, 3.33vw, 44px);
  font-weight: 400;
  line-height: 1.17;
  color: #000;
  margin: 0 0 8px;
}
.about-text p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.67;
  color: #707070;
  max-width: 734px;
  margin: 0;
}
.about-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-btn-primary {
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 16px 32px;
  border-radius: 56px;
  transition: opacity 180ms ease;
  white-space: nowrap;
}
.about-btn-primary:hover { opacity: 0.82; }
.about-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  padding: 16px;
  border-radius: 56px;
  transition: opacity 180ms ease;
  white-space: nowrap;
}
.about-btn-text:hover { opacity: 0.65; }

/* ── Ticker strip ───────────────────────────────────────────────── */
.ticker-strip {
  background: #111;
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll var(--ticker-duration, 32s) linear infinite;
  will-change: transform;
}
.ticker-track__chunk {
  flex: 0 0 auto;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  padding-right: 48px;
}
.ticker-track em {
  font-style: normal;
  margin: 0 24px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Testimonials section ───────────────────────────────────────── */
.testimonials-section {
  background: white;
  padding: 48px;
  position: relative;
  z-index: 2;
}
.testimonials-inner {
  max-width: 1344px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 48px 0 40px;
  overflow: hidden;
}
.testimonials-header {
  text-align: left;
}
.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.testimonials-badge::before {
  content: '★';
  color: hsl(212, 68%, 72%);
  font-size: 12px;
  line-height: 1;
}
.testimonials-title {
  font-family: 'Unna', Georgia, serif;
  font-size: clamp(32px, 2.78vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: 0 0 24px;
}
.testimonials-stage {
  position: relative;
}
.testimonials-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.testimonials-row {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  padding-inline: 16px;
}
.testimonials-track--smooth {
  transition: transform 520ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonials-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.testimonials-nav img {
  display: block;
  filter: brightness(0);
}
.testimonials-nav--prev {
  left: 20px;
}
.testimonials-nav--prev img {
  transform: rotate(180deg);
}
.testimonials-nav--next {
  right: 20px;
}
.testimonials-nav:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  transform: translateY(-50%) scale(1.06);
}
.testimonials-stage.is-paused .testimonials-nav {
  opacity: 1;
  pointer-events: auto;
}
.testimonials-mobile-scroll {
  display: none;
}
.testimonial-card {
  flex: 0 0 calc((min(1344px, 100vw - 96px) - 64px) / 3);
  width: calc((min(1344px, 100vw - 96px) - 64px) / 3);
  max-width: 400px;
  min-width: 280px;
  background: #f5f5f5;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card__quote {
  font-family: 'Unna', Georgia, serif;
  font-size: 48px;
  line-height: 0.8;
  font-weight: 700;
  color: hsl(212, 68%, 58%);
  user-select: none;
}
.testimonial-card__message {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  margin: 0;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-card__photo,
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  object-fit: cover;
}
.testimonial-card__avatar {
  display: grid;
  place-items: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(
    135deg,
    hsl(var(--avatar-hue, 212), 68%, 62%) 0%,
    hsl(var(--avatar-hue, 212), 58%, 48%) 100%
  );
}
.testimonial-card__name {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

/* ── Products section ───────────────────────────────────────────── */
.products-section {
  background: #fff;
  padding: 48px 48px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  height: 530px;
}
.products-inner {
  max-width: 1344px;
  margin: 0 auto;
}
.products-title {
  font-family: 'Unna', Georgia, serif;
  font-size: clamp(32px, 2.78vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: 0 0 24px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  margin-bottom: 0;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card__img {
  height: 220px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  background-color: #cdc8c8;
  flex-shrink: 0;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card__body strong {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  display: block;
}
.product-card__body p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #909090;
  margin: 0;
  line-height: 1.5;
}
.product-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.product-card__tags span {
  background: rgba(140,140,140,0.3);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  padding: 4px 10px;
  border-radius: 32px;
  white-space: nowrap;
}
.products-fade {
  position: sticky;
  bottom: 0;
  height: 220px;
  margin-top: -220px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
  z-index: 1;
}
.products-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 56px;
  position: absolute;
  z-index: 2;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}
.products-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 56px;
  text-decoration: none;
  transition: opacity 180ms ease;
  white-space: nowrap;
}
.products-cta:hover { opacity: 0.82; }

/* ── FAQ page (About us) ─────────────────────────────────────────── */
.page-faq {
  background: #fff;
  overscroll-behavior-y: auto;
}
.page-products {
  background: #fff;
  overscroll-behavior-y: auto;
}
.faq-main {
  padding-top: 92px; /* clear sticky header */
}
.products-main {
  padding-top: 92px;
}
.faq-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding-left: 48px;
  padding-right: 48px;
}
.faq-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(0, 204, 255, 0.28), rgba(255,255,255,0) 55%),
    radial-gradient(circle at 55% 12%, rgba(120, 230, 230, 0.22), rgba(255,255,255,0) 52%),
    radial-gradient(circle at 75% 10%, rgba(150, 220, 255, 0.22), rgba(255,255,255,0) 58%);
  pointer-events: none;
}
.faq-hero__inner {
  position: relative;
  max-width: 1344px;
  margin: 0 auto;
  padding: 32px 0px 40px;
}
.products-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #dafffe 0%, #a8e6f8 30%, #7ecde8 62%, #b4ecff 100%);
  padding: 0 max(48px, calc((100% - 1344px) / 2));
}
.products-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(ellipse at 85% 30%, rgba(180,240,255,0.30) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.products-hero__inner {
  position: relative;
  padding: 64px 0 16px;
}
.products-page-title {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 48px);
  line-height: 1.05;
  margin: 18px 0 14px;
}
.products-page-lead {
  font-family: Inter, sans-serif;
  font-size: 20px;
  margin: 0 0 16px;
  color: rgba(0,0,0,0.7);
  max-width: 58ch;
}
.faq-title {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 48px);
  line-height: 1.05;
  margin: 18px 0 32px;
}
.faq-lead {
  font-family: Inter, sans-serif;
  font-size: 20px;
  margin: 0 0 20px;
  color: rgba(0,0,0,0.7);
}
.faq-copy p {
  font-family: Inter, sans-serif;
  font-size: 20px;
  line-height: 1.8;
  color: rgba(0,0,0,0.75);
  margin: 0 0 14px;
}

.faq-note {
  background: #fff;
  padding: 44px 48px 32px;
}
.faq-note__inner {
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
}
.faq-note__photo {
  overflow: hidden;
  position: relative;
  background: #ddd;
  min-height: 320px;
}
.faq-note__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.faq-note__photoTag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.92);
  font-family: Inter, sans-serif;
  font-size: 16px;
  text-align: right;
}
.faq-note__card {
  background: #E7FFF5;
  padding: 22px 22px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}
.faq-note__card h2 {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  margin: 0 0 10px;
}
.faq-note__card p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0,0,0,0.7);
  margin: 0 0 10px;
}

.faq-section {
  background: #fff;
  padding: 24px 48px 64px;
}
.products-page {
  background: #fff;
  padding: 48px 48px 48px;
}
.products-page__inner {
  max-width: 1344px;
  margin: 0 auto;
}
.products-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.products-section-heading {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.1;
  color: #000;
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  appearance: none;
  border: 1.5px solid rgba(0,0,0,0.18);
  background: transparent;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0,0,0,0.65);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.filter-chip:hover {
  border-color: rgba(0,0,0,0.55);
  color: #000;
}
.filter-chip.is-active {
  background: #000;
  color: #fff;
  border-color: #000;
}
.products-page__grid {
  display: grid;
  gap: 24px 16px;
}
.products-page--products .products-page__grid {
  grid-template-columns: repeat(4, 1fr);
}
.products-page--services .products-page__grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Card: no background, image-forward */
.products-page-card {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.products-page-card--hidden { display: none; }
.products-page-card:focus-visible {
  outline: 2px solid rgba(0,0,0,0.30);
  outline-offset: 4px;
  border-radius: 20px;
}

/* Image area — real image layered on top of gradient placeholder */
.products-page-card__img {
  border-radius: 18px;
  background-color: #cdc8c8;
  background-size: 110%;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: background-size 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.products-page-card:hover .products-page-card__img {
  background-size: 125%;
}
.products-page--products .products-page-card__img { height: 220px; }
.products-page--services .products-page-card__img { height: 220px; }
.products-grid .products-page-card__img { height: 240px; }
a.products-page-card { text-decoration: none; color: inherit; }

/* ── Per-card gradient placeholders ─────────────────────────────
   Each card has a unique gradient as placeholder. When the real
   image file is present in assets/products/ it renders on top.   */
[data-product="expert-at-hand-schools"]  .products-page-card__img { background-image: url('assets/products/for-schools.jpg'),  linear-gradient(135deg, #a5f3fc 0%, #67e8f9 40%, #38bdf8 100%); }
[data-product="expert-at-hand-families"] .products-page-card__img { background-image: url('assets/products/for-parents.jpg'), linear-gradient(135deg, #d9f99d 0%, #86efac 40%, #4ade80 100%); }
[data-product="bounded"]              .products-page-card__img { background-image: url('assets/products/bounded.jpg'),             linear-gradient(135deg, #c084fc 0%, #e879f9 45%, #f472b6 100%); }
[data-product="sabichao"]             .products-page-card__img { background-image: url('assets/products/sabichao.jpg'),            linear-gradient(135deg, #2dd4bf 0%, #34d399 50%, #a7f3d0 100%); }
[data-product="knowledge-base"]       .products-page-card__img { background-image: url('assets/products/knowledge-base.jpg'),      linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #c4b5fd 100%); }
[data-product="assessments"]          .products-page-card__img { background-image: url('assets/products/assessments.jpg'),         linear-gradient(135deg, #f472b6 0%, #e879f9 40%, #a855f7 100%); }
[data-product="consultations"]        .products-page-card__img { background-image: url('assets/products/consultations.jpg'),       linear-gradient(135deg, #34d399 0%, #2dd4bf 50%, #67e8f9 100%); }
[data-product="academic-career"]      .products-page-card__img { background-image: url('assets/products/academic-career.jpg'),     linear-gradient(135deg, #f87171 0%, #fb923c 50%, #fbbf24 100%); }
[data-product="study-strategies"]     .products-page-card__img { background-image: url('assets/products/study-strategies.jpg'),    linear-gradient(135deg, #4ade80 0%, #a3e635 50%, #bef264 100%); }
[data-product="group-interventions"]  .products-page-card__img { background-image: url('assets/products/group-interventions.jpg'), linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #a78bfa 100%); }
[data-product="psychoeducation"]      .products-page-card__img { background-image: url('assets/products/group-interventions.jpg'), linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #a78bfa 100%); }
[data-product="resources"]            .products-page-card__img { background-image: url('assets/products/resources.jpg'),           linear-gradient(135deg, #7dd3fc 0%, #93c5fd 50%, #c7d2fe 100%); }
[data-product="training-supervision"] .products-page-card__img { background-image: url('assets/products/training-supervision.jpg'),linear-gradient(135deg, #fb923c 0%, #f97316 40%, #fbbf24 100%); }

.products-card-plus img,
.faq-plus img,
.products-modal__close img,
.faq-modal__close img { display: block; }

.products-card-plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  pointer-events: none;
  user-select: none;
  transition: background 220ms ease, transform 220ms ease;
}
.products-page-card:hover .products-card-plus {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.14);
}

/* Card body — plain text on white */
.products-page-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 2px;
}
.products-page-card__namerow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.products-page-card__body strong {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  display: block;
}
.products-page-card__body p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #898989;
  margin: 0;
  line-height: 1.5;
}
.products-card-coming-soon {
  display: inline-flex;
  align-items: center;
  background: #71c170;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  width: max-content;
}
.products-page-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.products-page-card__tags span {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--parents       { background: #d9fffd; color: rgba(0,0,0,0.75); }
.tag--schools       { background: #cce8ff; color: rgba(0,0,0,0.75); }
.tag--professionals { background: #ede9fe; color: rgba(0,0,0,0.75); }
.tag--location      { background: #f3f3f3; color: rgba(0,0,0,0.55); }

/* ── Expert at Hand packs section ────────────────────────────── */
.products-page--packs .products-section-header {
  flex-direction: column;
  align-items: flex-start;
}
.products-page--packs .products-section-sub {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #666;
  margin: 0;
  max-width: 560px;
  line-height: 1.55;
}
.products-page--packs .products-page__grid {
  grid-template-columns: repeat(4, 1fr);
}

.products-page--packs .products-page-card__img { height: 220px; }

/* Pack card shell */
.pack-card {
  flex-direction: column;
  gap: 10px;
}
.pack-card:focus-visible {
  outline: 2px solid rgba(0,0,0,0.30);
  outline-offset: 4px;
  border-radius: 20px;
}

/* PACKAGE kicker badge */
.pack-card__kicker {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Card body inside a pack card */
.pack-card .products-page-card__body {
  padding: 0 2px;
  gap: 8px;
}
.pack-card .products-page-card__body strong {
  font-size: 20px;
}
.pack-card .products-page-card__body p {
  font-size: 14px;
  line-height: 1.55;
}

/* Feature bullet list */
.pack-card__features {
  margin: 4px 0 0;
  padding: 0 0 0 16px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pack-card__features li {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  line-height: 1.45;
}

/* Modal body HTML content (bullet lists, paragraphs) */
.products-modal__body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.products-modal__body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.products-modal__body li {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 5px;
}
.products-modal__body p:last-child,
.products-modal__body ul:last-child { margin-bottom: 0; }

.faq-section__inner {
  max-width: 1344px;
  margin: 0 auto;
}
.faq-section__title {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 18px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.faq-item {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  border: none;
  background: #d9fffd;
  border-radius: 24px;
  padding: 20px 20px 44px;
  text-align: left;
  cursor: pointer;
  position: relative;
  min-height: 180px;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.9);
}
.faq-item:hover { filter: brightness(0.985); }
.faq-plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  display: grid;
  place-items: center;
}

/* ── Site footer ────────────────────────────────────────────────── */
.site-footer {
  background: #dafffd;
  padding: 48px max(40px, calc((100% - 1344px) / 2)) 48px;
}
.site-footer__inner {
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 48px 64px;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  align-self: start;
  color: inherit;
  text-decoration: none;
}
.site-footer__logo {
  display: block;
  height: 34px;
  width: auto;
}
.site-footer__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  font-style: normal;
}
.site-footer__contactItem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  text-decoration: none;
}
a.site-footer__contactItem:hover {
  opacity: 0.65;
}
.site-footer__contactIcon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}
.site-footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.site-footer__social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 200ms ease;
}
.site-footer__social a:hover {
  opacity: 0.55;
}
.site-footer__socialIcon {
  display: block;
  width: 24px;
  height: 24px;
}
.site-footer__copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  text-align: center;
}

/* ── Modal shared animations ────────────────────────────────────── */
@keyframes modal-bg-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-panel-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Modal */
body.modal-open { overflow: hidden; }
.faq-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.faq-modal.is-open {
  display: block;
  animation: modal-bg-in 200ms ease forwards;
}
.faq-modal.is-open .faq-modal__panel {
  animation: modal-panel-in 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.faq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.faq-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 48px));
  background: #fff;
  border-radius: 18px;
  padding: 64px 64px;
  box-shadow: 0 0px 49px rgba(0, 0, 0, 0.35);
}
.faq-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #d9fffd;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.faq-modal__kicker {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 10px;
}
.faq-modal__title {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.05;
  margin: 0 0 14px;
}
.faq-modal__body {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(0,0,0,0.7);
  margin: 0;
}

.products-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.products-modal.is-open {
  display: block;
  animation: modal-bg-in 200ms ease forwards;
}
.products-modal.is-open .products-modal__panel {
  animation: modal-panel-in 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.products-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.products-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 48px));
  background: #fff;
  border-radius: 32px;
  padding: 64px 64px;
  box-shadow: 0 0px 80px rgba(0, 0, 0, 0.35);
}
.products-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #d9fffd;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.products-modal__kicker {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 10px;
}
.products-modal__title {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.products-modal__coming-soon {
  display: inline-flex;
  margin-bottom: 14px;
}
.products-modal__media {
  margin: 0 0 16px;
}
.products-modal__img {
  height: 260px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 204, 255, 0.26), rgba(255,255,255,0) 58%),
    radial-gradient(circle at 70% 55%, rgba(120, 230, 230, 0.20), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  display: grid;
  place-items: center;
  color: rgba(0,0,0,0.60);
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.products-modal__body {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(0,0,0,0.7);
  margin: 0 0 28px;
}
/* ── Service detail modal (stacked above pack modal) ─────────────── */
.products-detail-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}
.products-detail-modal.is-open {
  display: block;
  animation: modal-bg-in 180ms ease forwards;
}
.products-detail-modal.is-open .products-detail-modal__panel {
  animation: modal-panel-in 280ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.products-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.products-detail-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 48px));
  background: #fff;
  border-radius: 32px;
  padding: 64px 64px;
  box-shadow: 0 8px 100px rgba(0,0,0,0.45);
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.12) transparent;
}
.products-detail-modal__panel::-webkit-scrollbar { width: 5px; }
.products-detail-modal__panel::-webkit-scrollbar-track { background: transparent; }
.products-detail-modal__panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 99px; }
@media (pointer: coarse) {
  .products-detail-modal__backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 520px) {
  .products-detail-modal__panel { padding: 22px 22px; }
}

.products-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 180ms ease;
  text-decoration: none;
}
.products-modal__cta:hover { opacity: 0.78; }

/* ── Included services section inside pack modals ─────────────── */
.pack-modal__services {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.pack-modal__services-title {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
  margin: 0 0 14px;
}
.pack-modal__services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pack-modal__service-card .products-page-card__img {
  height: 140px;
  border-radius: 12px;
}
.pack-modal__service-card .products-card-plus {
  width: 36px;
  height: 36px;
}
.pack-modal__service-card .products-page-card__body strong {
  font-size: 13px;
  line-height: 1.35;
}
@media (max-width: 520px) {
  .pack-modal__services-grid { grid-template-columns: repeat(2, 1fr); }

  .pack-modal__service-card .products-page-card__img {
    height: 120px;
  }
}

/* ── Contact / Get in touch modal ───────────────────────────────── */
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.contact-modal.is-open {
  display: block;
  animation: modal-bg-in 200ms ease forwards;
}
.contact-modal.is-open .contact-modal__panel {
  animation: modal-panel-in 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.contact-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1110px, calc(100vw - 48px));
  max-height: min(92vh, 860px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0,0,0,0.32);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.contact-modal__panel::-webkit-scrollbar { width: 5px; }
.contact-modal__panel::-webkit-scrollbar-track { background: transparent; }
.contact-modal__panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 99px; }
.contact-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #d9fffd;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 180ms ease;
}
.contact-modal__close:hover { background: #b8f5f2; }
.contact-modal__close img { display: block; }
.contact-modal__layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  min-height: 100%;
}
/* Left info column */
.contact-modal__info {
  background: #f0fffe;
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-modal__title {
  font-family: 'Unna', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
  color: #111;
}
.contact-modal__desc {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0,0,0,0.58);
  margin: 0;
}
/* Right form column */
.contact-modal__form-wrap {
  padding: 64px 52px 52px;
}
/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-form__field label {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.50);
}
.contact-form__field input,
.contact-form__field textarea {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #111;
  background: #f8f8f7;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: rgba(0,0,0,0.30); }
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: rgba(0,0,0,0.32);
  background: #fff;
}
.contact-form__field input.is-invalid {
  border-color: rgba(200,55,55,0.55);
  background: #fff8f8;
}
.contact-form__field input.is-invalid:focus {
  border-color: rgba(200,55,55,0.75);
}
.contact-form__error {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: rgb(190,45,45);
  margin-top: 1px;
}
.contact-form__field textarea { min-height: 110px; }
/* Service chips */
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.contact-chips__track {
  display: contents;
}
.contact-chips__row {
  display: contents;
}
.contact-chip {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.14);
  background: transparent;
  color: rgba(0,0,0,0.60);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  line-height: 1.4;
  white-space: nowrap;
}
.contact-chip:hover {
  border-color: rgba(0,0,0,0.32);
  color: #111;
}
.contact-chip.is-selected {
  background: #111;
  color: #fff;
  border-color: #111;
}
/* Submit */
.contact-form__submit {
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 180ms ease;
  margin-top: 2px;
}
.contact-form__submit:hover { opacity: 0.78; }
/* Mobile */
@media (max-width: 720px) {
  .contact-form__field:has(.contact-chips) {
    min-width: 0;
    overflow: visible;
  }
  .contact-chips {
    display: block;
    gap: 0;
    width: calc(100% + 56px);
    max-width: calc(100% + 56px);
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -28px;
    padding-left: 28px;
    padding-bottom: 2px;
  }
  .contact-chips::-webkit-scrollbar { display: none; }
  .contact-chips__track {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: max-content;
  }
  .contact-chips__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .contact-chip {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 12px;
  }
  .contact-modal.is-open .contact-modal__panel { animation: none; }
  .contact-modal__panel {
    left: 0;
    top: 0;
    transform: none;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
  .contact-modal__close {
    right: 12px;
    top: 12px;
    width: 48px;
    height: 48px;
  }
  .contact-modal__layout { grid-template-columns: 1fr; min-width: 0; }
  .contact-modal__info {
    padding: 52px 28px 32px;
    border-radius: 0;
    background: #f0fffe;
  }
  .contact-modal__form-wrap { padding: 32px 28px 128px; min-width: 0; overflow: visible; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__submit {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: auto;
    justify-content: center;
    z-index: 10002;
    align-self: auto;
  }
}
@media (pointer: coarse) {
  .contact-modal__backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 980px) {
  .faq-hero,
  .faq-note,
  .faq-section,
  .site-footer { padding-left: 24px; padding-right: 24px; }
  .faq-note__inner { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .products-hero { padding-left: 24px; padding-right: 24px; }
  .products-page { padding-left: 24px; padding-right: 24px; }
  .products-page--products .products-page__grid { grid-template-columns: repeat(2, 1fr); }
  .products-page--packs .products-page__grid { grid-template-columns: repeat(2, 1fr); }
  .products-page--products .products-page-card__img { height: 190px; }
  .products-page--packs .products-page-card__img { height: 190px; }
  .products-page--services .products-page__grid { grid-template-columns: repeat(2, 1fr); }
  .products-section-header { flex-direction: column; align-items: flex-start; gap: 12px; overflow: visible; }
  .filter-chips {
    width: calc(100% + 48px);
    max-width: calc(100% + 48px);
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -24px;
    padding-left: 24px;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
@media (max-width: 820px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer__aside {
    width: 100%;
  }
  .site-footer__copyright {
    margin-top: 4px;
  }
}
@media (max-width: 520px) {
  .faq-grid { grid-template-columns: 1fr; }
  .products-page--packs .products-page__grid,
  .products-page--products .products-page__grid,
  .products-page--services .products-page__grid { grid-template-columns: 1fr; }
  .faq-modal.is-open .faq-modal__panel,
  .products-modal.is-open .products-modal__panel,
  .products-detail-modal.is-open .products-detail-modal__panel {
    animation: none;
  }
  .faq-modal__panel,
  .products-modal__panel,
  .products-detail-modal__panel {
    left: 0;
    top: 0;
    transform: none;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    padding: 72px 20px 120px;
    overflow-y: auto;
  }
  .faq-modal__title,
  .products-modal__title {
    font-size: 30px;
    line-height: 1.1;
  }
  .faq-modal__close,
  .products-modal__close {
    right: 12px;
    top: 12px;
    width: 48px;
    height: 48px;
  }
  .products-modal__cta {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: auto;
    justify-content: center;
    z-index: 10002;
  }
  .products-modal__img { height: 220px; }
}
/* ── Hero overlay (inside .scene, on top of Barry) ──────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  /* Balance fixed site-nav so intro copy sits at optical viewport center */
  padding-top: clamp(
    calc(56px + env(safe-area-inset-top, 0px)),
    calc(9vh + env(safe-area-inset-top, 0px)),
    calc(96px + env(safe-area-inset-top, 0px))
  );
  pointer-events: none;
  transition: opacity 500ms ease;
}
.hero-overlay > * { pointer-events: auto; }
.hero-cta { pointer-events: auto; }
.hero-eyebrow,
.hero-headline {
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.hero-cursor {
  display: inline-block;
  width: 2.5px;
  height: 0.75em;
  background: currentColor;
  vertical-align: middle;
  margin-left: 3px;
  border-radius: 1px;
  animation: hero-cursor-blink 0.85s step-start infinite;
}
.hero-cursor.done {
  animation: none;
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}

@keyframes hero-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px max(48px, calc((100% - 1344px) / 2));
  transition: color 300ms ease, background 300ms ease, backdrop-filter 300ms ease, box-shadow 300ms ease;
}
.site-nav--scrolled {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
/* On touch devices remove expensive compositing effects that exhaust iOS Safari's GPU tile budget */
@media (pointer: coarse) {
  .site-nav--scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }
  .faq-modal__backdrop, .products-modal__backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Remove the gradient mask on advisor chips — it forces an offscreen stencil-buffer
     compositing surface on WebKit. overflow:hidden (already set) clips the chips fine. */
  .advisor-chips {
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* CSS animations already promote tracks to compositor layers; will-change adds nothing
     but wastes GPU tile memory on a device where that budget is limited. */
  .advisor-chips__track {
    will-change: auto;
  }
}
.site-nav--light.site-nav--scrolled {
  background: rgba(0, 0, 0, 0.30);
}
.site-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}
.site-nav__logo {
  display: block;
  height: 34px;
  width: auto;
}
.site-nav--light .site-nav__logo {
  filter: brightness(0) invert(1);
}
.site-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.site-nav__toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}
.site-nav__right {
  display: flex;
  align-items: center;
}
.site-nav__links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-nav__links a {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__links a:hover { opacity: 0.65; }
.site-nav__links a[aria-current="page"] { font-weight: 600; }
/* Nav colour states driven by JS */
.site-nav--light { color: #fff; }
.site-nav--dark  { color: #000; }

/* Get in touch CTA — hidden until CH_AROUND via .site-nav--has-cta */
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 0;
  overflow: hidden;
  padding: 10px 0;
  margin-left: 0;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: max-width 500ms cubic-bezier(0.22, 1, 0.36, 1),
              margin-left 500ms cubic-bezier(0.22, 1, 0.36, 1),
              padding 500ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 350ms ease,
              background 300ms ease,
              color 300ms ease;
}
.site-nav--has-cta .site-nav__cta {
  max-width: 180px;
  padding: 10px 22px;
  margin-left: 24px;
  opacity: 1;
  pointer-events: auto;
}
.site-nav--has-cta .site-nav__cta:hover { opacity: 0.78; }
.site-nav--light .site-nav__cta {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}
body.nav-open {
  overflow: hidden;
}

.hero-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: 12px;
}

@media (max-height: 640px) {
  .hero-body {
    justify-content: center;
    padding-block: 8px;
  }
  .hero-bottom {
    gap: 28px;
    padding-bottom: 28px;
  }
}


.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding-bottom: 64px;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero-eyebrow,
.hero-headline,
.hero-cta,
.hero-scroll-hint {
  opacity: 0;
  animation: hero-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-eyebrow     { animation-delay: 0.15s; }
.hero-headline    { animation-delay: 0.35s; }
.hero-cta         { animation-delay: 0.60s; }
.hero-scroll-hint { animation-delay: 0.85s; }

.hero-eyebrow {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(13px, 1.25vw, 20px);
  font-weight: 400;
  color: rgba(0,0,0,0.60);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.hero-headline {
  font-family: 'Unna', Georgia, serif;
  font-size: clamp(42px, 6.18vw, 60px);
  font-weight: 400;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 860px;
  /* Reserve two lines so typewriter growth doesn’t shift vertical center on desktop */
  min-height: calc(2 * 1.1em);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #000;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: opacity 200ms ease, transform 200ms ease;
}
.hero-cta:hover { opacity: 0.82; transform: translateY(-1px); }

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: rgba(0,0,0,0.55);
}
.hero-scroll-hint img {
  display: block;
  animation: scroll-hint-bob 5s ease-in-out 2s infinite;
}

@keyframes scroll-hint-bob {
  0%   { transform: translateY(0);   opacity: 1; }
  8%   { transform: translateY(5px); opacity: 0.55; }
  16%  { transform: translateY(0);   opacity: 1; }
  26%  { transform: translateY(5px); opacity: 0.55; }
  34%  { transform: translateY(0);   opacity: 1; }
  100% { transform: translateY(0);   opacity: 1; }
}


/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .hero-overlay {
    padding-top: clamp(
      calc(44px + env(safe-area-inset-top, 0px)),
      calc(8vh + env(safe-area-inset-top, 0px)),
      calc(72px + env(safe-area-inset-top, 0px))
    );
  }
  .site-nav {
    padding: 20px 16px;
    z-index: 1000;
  }
  .site-nav__logo {
    height: 30px; /* fixed compact height on mobile — no JS scroll-driven update needed */
  }
  .site-nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 520;
  }
  .site-nav__right {
    position: fixed;
    inset: 0;
    z-index: 510;
    background: rgba(255, 255, 255, 0.99);
    color: #000;
    border-radius: 0;
    padding: 108px 24px 32px;
    min-height: 100dvh;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }
  .site-nav--menu-open .site-nav__right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .site-nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .site-nav__links a { font-size: 24px; }
  /* Drawer-only CTA: disable desktop expand tween on mobile so open/close don’t animate max-width/opacity */
  .site-nav__cta {
    transition: none;
  }
  .site-nav--has-cta .site-nav__cta,
  .site-nav--menu-open .site-nav__cta {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    margin-left: 0;
    font-size: 18px;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav--menu-open.site-nav--light .site-nav__right { color: #000; }
  .site-nav--menu-open.site-nav--light .site-nav__cta {
    background: #000;
    color: #fff;
  }
  .site-nav--menu-open .site-nav__toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-nav--menu-open .site-nav__toggle-line:nth-child(2) { opacity: 0; }
  .site-nav--menu-open .site-nav__toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-scroll-hint { font-size: 15px; }
  .hero-eyebrow { font-size: 16px; }
  .hero-headline {
    font-size: 40px;
    /* Reserve three lines so typewriter growth doesn’t shift vertical center on mobile */
    min-height: calc(3 * 1.1em);
  }
  .chapter-copy {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }
  .chapter-labels { left: 16px; right: 16px; bottom: 16px; }
  .chapter { font-size: 11px; padding: 9px 12px; }

  .story-continue-wrap {
    bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 0 20px;
  }

  /* Hero uses bottom Continue instead of duplicate CTA */
  .hero-bottom { display: none; }

  /* About + Products (mobile/tablet) */
  .about-section { padding: 32px 24px; }
  .about-inner {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .about-photo {
    flex: none;
    width: 100%;
    height: min(520px, 70vh);
  }
  .about-photo-caption { left: 20px; bottom: 18px; }
  .about-photo-caption span { font-size: 14px; }
  .about-photo-caption strong { font-size: 20px; }
  .about-content { padding-top: 0; }
  .about-text h2 { font-size: clamp(34px, 7.2vw, 44px); }
  .about-text p { font-size: 16px; line-height: 1.7; }
  .about-actions { flex-wrap: wrap; justify-content: center; }
  .about-btn-primary,
  .about-btn-text { font-size: 18px; }

  .testimonials-section { padding: 32px 0; }
  .testimonials-inner { padding: 32px 0 28px; border-radius: 0; }
  .testimonials-header { padding: 0 24px 24px; }
  .testimonials-badge { font-size: 11px; padding: 6px 12px; }
  .testimonials-title { font-size: clamp(26px, 6.5vw, 34px); }
  .testimonials-rows { display: none; }
  .testimonials-nav { display: none; }
  .testimonials-mobile-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 4px;
    scrollbar-width: none;
  }
  .testimonials-mobile-scroll::-webkit-scrollbar { display: none; }
  .testimonials-mobile-scroll .testimonial-card {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    min-width: 0;
    scroll-snap-align: start;
  }
  .testimonials-mobile-scroll .testimonial-card:first-child {
    margin-left: 24px;
  }
  .testimonials-mobile-scroll .testimonial-card:last-child {
    margin-right: 24px;
  }

  .products-section { padding: 32px 24px 0; }
  .products-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card__img { height: 200px; }
  .products-cta-wrap { padding: 24px 16px 44px; }
}

@media (max-width: 520px) {
  .about-photo { height: 360px; border-radius: 24px; }
  .about-photo img { border-radius: 24px; }
  .about-btn-primary { width: 100%; justify-content: center; }
  .about-btn-text { padding-left: 12px; padding-right: 12px; }
  .ticker-track__chunk { font-size: 16px; padding-right: 32px; }
  .ticker-track { --ticker-duration: 26s; }
  .products-title { margin-bottom: 18px; }
  .products-cta { width: 100%; justify-content: center; font-size: 18px; }
  .ticker-track em { margin: 0 16px; }
}

/* ── Safari lite mode — disable GPU-heavy CSS effects ───────────────────────── */
.safari-lite .products-modal__backdrop,
.safari-lite .products-detail-modal__backdrop,
.safari-lite .contact-modal__backdrop,
.safari-lite .faq-modal__backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(0, 0, 0, 0.55);
}
.safari-lite .site-nav--scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.94);
}
