/* ╔══════════════════════════════════════════╗
   ║  CINEMATIC INTRO — INKcoming             ║
   ║  Full-screen video hero · particles      ║
   ║  Layered fades · sound toggle            ║
   ╚══════════════════════════════════════════╝ */

/* ── particles canvas ── */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  mix-blend-mode: screen;
}

/* ── cinema container ── */
.cinema {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.cinema__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: cinemaFadeIn 0.4s ease-out both;
  filter: contrast(1.08) saturate(0.95) brightness(0.85);
}

@keyframes cinemaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* dark veil for readability */
.cinema__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,17,14,0.25) 0%, rgba(12,10,9,0.7) 70%, rgba(12,10,9,0.92) 100%),
    linear-gradient(180deg, rgba(12,10,9,0.55) 0%, transparent 30%, transparent 60%, rgba(12,10,9,0.85) 100%);
  pointer-events: none;
}

/* film grain overlay */
.cinema__grain {
  position: absolute;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
  animation: grainShift 8s steps(8) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  10%  { transform: translate(-2%,-2%); }
  20%  { transform: translate(-4%,2%); }
  30%  { transform: translate(2%,-4%); }
  40%  { transform: translate(-2%,4%); }
  50%  { transform: translate(2%,2%); }
  60%  { transform: translate(-4%,-2%); }
  70%  { transform: translate(4%,-2%); }
  80%  { transform: translate(-2%,4%); }
  90%  { transform: translate(2%,-4%); }
  100% { transform: translate(0,0); }
}

/* ── floating nav (over the video) ── */
.cinema__nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: cinemaSlideDown 0.4s 0s ease-out both;
}
@keyframes cinemaSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cinema__logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.7));
  transition: transform 0.4s ease;
}
.cinema__logo:hover img { transform: scale(1.05); }

/* sound toggle button */
.cinema__sound {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 16px;
  background: rgba(20, 17, 14, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(245, 234, 212, 0.16);
  border-radius: 999px;
  color: var(--text);
  font-family: "Heebo", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(245, 234, 212, 0.06);
  z-index: 2;
}
.cinema__sound-ring {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1px solid rgba(201, 134, 104, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}
.cinema__sound--pulse .cinema__sound-ring {
  opacity: 1;
  animation: soundRing 2.4s cubic-bezier(.22,.61,.36,1) infinite;
}
@keyframes soundRing {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.32); opacity: 0;    }
  100% { transform: scale(1.32); opacity: 0;    }
}
.cinema__sound--pulse {
  background: rgba(160, 90, 58, 0.22);
  border-color: rgba(201, 134, 104, 0.5);
  box-shadow: 0 8px 32px rgba(160, 90, 58, 0.35), inset 0 1px 0 rgba(245, 234, 212, 0.1);
}
.cinema__sound:hover {
  background: rgba(160, 90, 58, 0.28);
  border-color: rgba(245, 234, 212, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(160, 90, 58, 0.3), inset 0 1px 0 rgba(245, 234, 212, 0.12);
}
.cinema__sound-icon { position: relative; width: 18px; height: 18px; display: inline-block; }
.cinema__sound-icon svg { position: absolute; inset: 0; transition: opacity 0.3s ease, transform 0.3s ease; color: var(--purple-2); }
.cinema__sound-icon[data-state="off"] svg.off { opacity: 1; transform: scale(1); }
.cinema__sound-icon[data-state="off"] svg.on { opacity: 0; transform: scale(0.7); }
.cinema__sound-icon[data-state="on"] svg.off { opacity: 0; transform: scale(0.7); }
.cinema__sound-icon[data-state="on"] svg.on { opacity: 1; transform: scale(1); }
.cinema__sound[data-state="on"] {
  background: rgba(160, 90, 58, 0.28);
  border-color: rgba(201, 134, 104, 0.6);
}

/* one-time tip near the button */
.cinema__sound-hint {
  position: absolute;
  top: 76px;
  left: 48px;
  z-index: 11;
  background: rgba(20, 17, 14, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 234, 212, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  animation: hintIn 0.6s 1.4s ease-out forwards;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.cinema__sound-hint-arrow {
  font-size: 14px;
  color: var(--purple-2);
}
.cinema__sound-hint.hide {
  opacity: 0;
  transform: translateY(-4px);
}
@keyframes hintIn {
  to { opacity: 1; transform: translateY(0); }
}

/* sticky version (when scrolled past cinema) */
.cinema__sound--sticky {
  position: fixed;
  top: 88px;
  left: 24px;
  z-index: 60;
  opacity: 0;
  transform: scale(0.85) translateY(-6px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cinema__sound--sticky.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
@media (max-width: 720px) {
  .cinema__sound--sticky { top: 76px; left: 16px; }
  .cinema__sound-hint { display: none; }
}

/* ── center stack ── */
.cinema__center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
  color: var(--text);
}

.cinema__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--purple-2);
  margin-bottom: 32px;
  opacity: 0;
  animation: cinemaUp 0.5s 0.1s ease-out both;
}
.cinema__eyebrow .dash {
  width: 36px;
  height: 1px;
  background: var(--purple-2);
  display: inline-block;
}

.cinema__title {
  font-family: "Heebo", sans-serif;
  font-weight: 900;
  font-size: clamp(46px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  text-shadow: 0 6px 50px rgba(0,0,0,0.5);
  max-width: 1100px;
}
.cinema__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: cinemaUp 0.6s ease-out forwards;
}
.cinema__title .line-1 { animation-delay: 0.15s; }
.cinema__title .line-2 { animation-delay: 0.25s; }
.cinema__title .line-3 { animation-delay: 0.35s; font-weight: 300; color: var(--muted); font-size: 0.6em; margin-top: 12px; letter-spacing: 0.04em; }
.cinema__title em {
  font-style: normal;
  font-family: "Heebo", sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 0.05em;
  line-height: 1.05;
}

@keyframes cinemaUp {
  to { opacity: 1; transform: translateY(0); }
}

.cinema__sub {
  font-family: "Heebo", sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.32em;
  color: var(--dim);
  margin: 28px 0 40px;
  opacity: 0;
  animation: cinemaUp 0.5s 0.5s ease-out forwards;
  text-transform: uppercase;
}

.cinema__cta {
  opacity: 0;
  transform: translateY(20px);
  animation: cinemaUp 0.5s 0.6s ease-out forwards;
}

/* ── CTA glow ── */
.btn-glow {
  position: relative;
  font-size: 16px !important;
  padding: 20px 36px !important;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(160, 90, 58, 0.4), 0 20px 50px -10px rgba(160, 90, 58, 0.5);
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple), var(--purple-2), var(--gold), var(--purple));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0.6;
  filter: blur(14px);
  animation: glowShift 4s ease-in-out infinite;
}
@keyframes glowShift {
  0%, 100% { background-position: 0% 50%; opacity: 0.5; }
  50%      { background-position: 100% 50%; opacity: 0.85; }
}

/* ── scroll indicator ── */
.cinema__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  opacity: 0;
  animation: cinemaUp 0.5s 0.7s ease-out forwards;
  transition: color 0.3s ease;
}
.cinema__scroll:hover { color: var(--text); }
.cinema__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--muted) 30%, var(--muted));
  position: relative;
  overflow: hidden;
}
.cinema__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--purple-2));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* bottom fade — seamless transition into hero */
.cinema__bottom-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  z-index: 4;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 95%);
  pointer-events: none;
}

/* nav hidden during cinema intro */
.nav--hidden { opacity: 0; pointer-events: none; transform: translateY(-100%); transition: opacity 500ms ease, transform 500ms ease; }
.nav--hidden.nav--show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* New H1 line wrapper for editorial layout */
.h1 .line {
  display: block;
  line-height: 1.05;
}
.h1 .line:last-child { margin-top: 8px; }

/* Value line — editorial caption between h1 and sub */
.hero-value-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: "Heebo", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.hero-value-line .dot {
  color: var(--purple-2);
  font-size: 16px;
  line-height: 1;
}
.hero-sub em {
  font-style: normal;
  color: var(--purple-2);
  font-weight: 500;
}
.nav--hidden { opacity: 0; pointer-events: none; transform: translateY(-100%); transition: opacity 500ms ease, transform 500ms ease; }
.nav--hidden.nav--show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* show video frame ASAP — avoid first-frame black flash */
.cinema__video { background: #14110e; }

/* ── Floating animation for hero video + about photo ── */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-frame { animation: floatY 7s ease-in-out infinite; }
.about-photo { animation: floatY 9s ease-in-out infinite; animation-delay: -2s; }

/* ── h2 .purple — color only, no underline ── */
.h2 .purple {
  display: inline-block;
}

/* ── Better reveal — slide-up + fade ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA glow on primary hero button ── */
.hero-cta .btn-primary {
  position: relative;
  box-shadow: 0 0 0 1px rgba(160, 90, 58, 0.4), 0 20px 50px -10px rgba(160, 90, 58, 0.5);
}
.hero-cta .btn-primary::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple), var(--purple-2), var(--gold), var(--purple));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0.55;
  filter: blur(14px);
  animation: glowShift 4s ease-in-out infinite;
}

/* enhanced gallery hover */
.portfolio-item img,
.portfolio-item image-slot {
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1), filter 0.6s ease;
}
.portfolio-item:hover img,
.portfolio-item:hover image-slot {
  transform: scale(1.06);
  filter: contrast(1.08) brightness(1.05);
}

@media (max-width: 720px) {
  .cinema__nav { padding: 18px 20px; }
  .cinema__logo img { height: 38px; }
  .cinema__sound-label { display: none; }
  .cinema__sound { padding: 10px; }
  .cinema__eyebrow { font-size: 11px; gap: 10px; }
  .cinema__eyebrow .dash { width: 18px; }
  .cinema__title .line-3 { font-size: 0.7em; }
  .cinema__scroll { bottom: 24px; }
  .cinema__scroll-line { height: 36px; }
}

/* ══════════════════════════════════════════════
   INSTAGRAM — more prominent across the page
   ══════════════════════════════════════════════ */

/* Cinema floating nav — right cluster (IG + sound) */
.cinema__nav-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* IG link inside cinema top nav */
.cinema__instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  font-family: "Heebo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  box-shadow: 0 8px 28px rgba(214, 41, 118, 0.4), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}
.cinema__instagram:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 36px rgba(214, 41, 118, 0.55), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cinema__instagram svg { flex-shrink: 0; }
.cinema__instagram-label { white-space: nowrap; }
@media (max-width: 720px) {
  .cinema__nav-right { gap: 8px; }
  .cinema__instagram { padding: 9px 11px; font-size: 12px; }
  .cinema__instagram-label { display: none; }
}

/* IG link in the regular (sticky) nav */
.nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: "Heebo", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  box-shadow: 0 6px 22px rgba(214, 41, 118, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-instagram:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(214, 41, 118, 0.5), inset 0 1px 0 rgba(255,255,255,0.22);
}
.nav-instagram svg { flex-shrink: 0; }
@media (max-width: 880px) {
  .nav-instagram { padding: 8px 10px; }
  .nav-instagram span { display: none; }
}

/* Branded IG button used in the portfolio CTA — replaces the previous ghost button */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-family: "Heebo", sans-serif;
  position: relative;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow: 0 16px 44px rgba(214, 41, 118, 0.45), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1), box-shadow 0.45s ease, background-position 0.8s ease;
}
.btn-instagram:hover {
  transform: translateY(-2px) scale(1.015);
  background-position: 100% 50%;
  box-shadow: 0 22px 56px rgba(214, 41, 118, 0.6), 0 0 0 1px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-instagram svg { flex-shrink: 0; }
.btn-instagram-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.btn-instagram-line1 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-instagram-line2 {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .btn-instagram { padding: 14px 20px; gap: 11px; }
  .btn-instagram svg { width: 20px; height: 20px; }
  .btn-instagram-line1 { font-size: 14px; }
  .btn-instagram-line2 { font-size: 11px; }
}

/* ══════════════════════════════════════════════
   TESTIMONIAL SCREENSHOTS — WhatsApp shots under reviews
   ══════════════════════════════════════════════ */
.testimonial-shots {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.testimonial-shots-head {
  text-align: center;
  margin-bottom: 40px;
}
.testimonial-shots-head .eyebrow {
  justify-content: center;
}
.testimonial-shots-title {
  font-family: "Heebo", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
  color: var(--text);
}
.testimonial-shots-sub {
  font-family: "Heebo", sans-serif;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
}
/* Auto-rotating slider — one shot at a time, fade transition.
   Each screenshot uses its NATURAL aspect ratio so the whole conversation is
   always visible, no crop. The stage flexes to the active slide's height. */
.testimonial-slider {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-stage {
  position: relative;
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px rgba(0,0,0,0.65);
  transition: min-height 0.5s ease;
}
.testimonial-slide {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.testimonial-slide:not(.is-active) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.testimonial-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(20, 17, 14, 0.8);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.testimonial-arrow:hover {
  background: rgba(160, 90, 58, 0.28);
  border-color: var(--purple);
  transform: translateY(-1px);
}
.testimonial-arrow svg { display: block; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--border-2);
  cursor: pointer;
  transition: all 0.35s ease;
}
.testimonial-dots .dot.is-active {
  background: var(--text);
  width: 26px;
}
.testimonial-dots .dot:hover { background: var(--purple); }
@media (max-width: 720px) {
  .testimonial-shots { margin-top: 56px; padding-top: 40px; }
  .testimonial-slider { max-width: 340px; gap: 8px; }
  .testimonial-arrow { width: 38px; height: 38px; }
  .testimonial-stage { border-radius: 18px; }
}
@media (max-width: 380px) {
  .testimonial-slider { max-width: calc(100vw - 96px); }
  .testimonial-arrow { width: 34px; height: 34px; }
}

/* ══════════════════════════════════════════════
   ANIMATED UNDERLINE on hero "אוהבים"
   Hand-drawn SVG line draws across as it scrolls into view.
   ══════════════════════════════════════════════ */
.hl-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 0 0.04em;
}
.hl-mark__underline {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.32em;
  pointer-events: none;
  overflow: visible;
}
.hl-mark__underline path {
  fill: none;
  stroke: var(--purple-2);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  filter: drop-shadow(0 2px 6px rgba(245, 234, 212, 0.4));
}
.reveal.in .hl-mark__underline path,
.in .hl-mark__underline path {
  animation: hlDraw 1.4s 0.4s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes hlDraw {
  to { stroke-dashoffset: 0; }
}
/* If hero never gets .reveal.in (it's above the fold), still draw on load */
@media (min-width: 0px) {
  .hero .hl-mark__underline path {
    animation: hlDraw 1.4s 1.6s cubic-bezier(.22,.61,.36,1) forwards;
  }
}
html.a11y-no-motion .hl-mark__underline path {
  animation: none !important;
  stroke-dashoffset: 0;
}

/* ══════════════════════════════════════════════
   TRUST STRIP — icon pills replacing the dot-separated text
   ══════════════════════════════════════════════ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 32px 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  font-family: "Heebo", sans-serif;
}
.trust-pill__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--purple-2);
  background: rgba(245, 234, 212, 0.06);
  border: 1px solid rgba(245, 234, 212, 0.18);
  border-radius: 10px;
  padding: 7px;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.trust-pill:hover .trust-pill__icon {
  transform: translateY(-1px) rotate(-3deg);
  border-color: var(--purple);
  background: rgba(245, 234, 212, 0.12);
}
.trust-pill span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.trust-pill strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.trust-pill em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0 22px;
    padding: 14px 0;
  }
  .trust-pill { gap: 10px; }
  .trust-pill__icon { width: 32px; height: 32px; padding: 6px; }
  .trust-pill strong { font-size: 13px; }
  .trust-pill em { font-size: 11px; }
}
@media (max-width: 420px) {
  .trust-strip { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   EXIT-INTENT POPUP — last-chance capture
   Fires on desktop mouseout to top, or mobile after 40s + scroll.
   Once per session (sessionStorage), respects a11y-no-motion.
   ══════════════════════════════════════════════ */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.exit-popup.is-open { display: flex; }
.exit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, 0.78);
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  animation: exitFadeIn 0.35s ease-out;
  cursor: pointer;
}
@keyframes exitFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.exit-popup__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #1a1714 0%, #14110e 100%);
  border: 1px solid var(--border-2);
  border-radius: 22px;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(245, 234, 212, 0.06), inset 0 1px 0 rgba(245, 234, 212, 0.05);
  animation: exitPopIn 0.5s cubic-bezier(.22,.61,.36,1);
}
@keyframes exitPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.exit-popup__close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 234, 212, 0.06);
  border: 1px solid rgba(245, 234, 212, 0.12);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}
.exit-popup__close:hover {
  background: rgba(160, 90, 58, 0.2);
  border-color: var(--purple);
  color: var(--text);
  transform: rotate(90deg);
}
.exit-popup__eyebrow {
  font-family: "Bebas Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--purple-2);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.exit-popup__title {
  font-family: "Heebo", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 14px;
}
.exit-popup__title .purple {
  background: linear-gradient(135deg, var(--purple-2), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.exit-popup__sub {
  font-family: "Heebo", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
}
.exit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.exit-popup__form input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  background: rgba(245, 234, 212, 0.04);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  color: var(--text);
  font-family: "Heebo", sans-serif;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.06em;
  direction: ltr;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.exit-popup__form input[type="tel"]:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(245, 234, 212, 0.08);
}
.exit-popup__form input[type="tel"]::placeholder { color: rgba(245, 234, 212, 0.35); }
.exit-popup__form input[type="tel"].is-error {
  border-color: #c94a4a;
  background: rgba(201, 74, 74, 0.08);
}
.exit-popup__submit {
  width: 100%;
  font-size: 16px !important;
  padding: 14px 24px !important;
  justify-content: center;
}
.exit-popup__foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Heebo", sans-serif;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
}
.exit-popup__foot svg { color: var(--purple-2); flex-shrink: 0; }

@media (max-width: 480px) {
  .exit-popup { padding: 16px; }
  .exit-popup__card { padding: 32px 22px 22px; border-radius: 20px; }
}
html.a11y-no-motion .exit-popup__backdrop,
html.a11y-no-motion .exit-popup__card {
  animation: none !important;
}
