/* RecallQ — visual upgrade pack (apple2)
   Loaded AFTER site.css. Adds:
   - Calendar-fill hero
   - Dashboard mockup
   - Per-vertical typography + signature graphics
   - Curved section transitions
   - AI message composer
   - Wall of YES replies
   - Expanded data mosaic
   - Editorial photography frames
*/

/* SCROLL-ZOOM HERO STAGE ------------------------------------ */
.hero-cine { padding-top: 96px; padding-bottom: 0; min-height: 100svh; }
.hero-cine .inner { padding-bottom: 48px; }

.cal-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 64px auto 0;
  aspect-ratio: 16/10;
  border-radius: 28px;
  background: linear-gradient(180deg, #0F0E0B 0%, #1A1915 100%);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 60px 120px -40px rgba(0,0,0,.4);
  transform-origin: 50% 30%;
  will-change: transform, opacity;
}
.cal-stage-inner { position: absolute; inset: 0; padding: 36px 40px; display: flex; flex-direction: column; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: #fff; }
.cal-head .month { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.cal-head .week-lbl { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.cal-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  position: relative;
}
.cal-day {
  background: rgba(255,255,255,.03);
  border: .5px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px;
  display: flex; flex-direction: column;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
  transition: background-color .4s, border-color .4s;
}
.cal-day .d { font-weight: 500; margin-bottom: 6px; }
.cal-day.has-booking { background: rgba(88,118,196,.12); border-color: rgba(138,168,232,.35); }
.cal-day.has-booking .d { color: #fff; }
.cal-booking {
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 9.5px;
  font-weight: 500;
  margin-bottom: 2px;
  opacity: 0;
  transform: translateY(-6px);
  animation: bookSlide .5s var(--ease) forwards;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes bookSlide { to { opacity: 1; transform: none; } }

.sms-fly {
  position: absolute;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: 14px 14px 14px 4px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.5);
  max-width: 240px;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  border-left: 2px solid var(--accent);
}
.sms-fly.in { animation: smsFly 3.6s var(--ease) forwards; }
@keyframes smsFly {
  0%   { opacity: 0; transform: translate(-30%, 20px) scale(.9); }
  10%  { opacity: 1; transform: translate(-30%, 0) scale(1); }
  85%  { opacity: 1; transform: translate(120%, -8px) scale(1); }
  100% { opacity: 0; transform: translate(140%, -12px) scale(.95); }
}
.sms-fly .from { font-size: 9px; color: var(--ink-3); font-weight: 500; margin-bottom: 2px; letter-spacing: 0; }

.cal-counter {
  position: absolute; right: 32px; bottom: 28px;
  display: flex; align-items: baseline; gap: 8px; color: #fff;
  font-variant-numeric: tabular-nums;
  z-index: 4;
}
.cal-counter .n { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--accent-soft); }
.cal-counter .l { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 700px) {
  .cal-stage { aspect-ratio: 4/5; }
  .cal-day { padding: 5px; font-size: 9px; }
  .cal-day .d { font-size: 9px; }
  .sms-fly { font-size: 10px; padding: 6px 10px; max-width: 160px; }
  .cal-counter .n { font-size: 24px; }
}

/* DASHBOARD MOCKUP ----------------------------------------- */
.dashboard-frame {
  background: #FAFAFC;
  border: .5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 40px 80px -30px rgba(0,0,0,.18);
  max-width: 1100px;
  margin: 0 auto;
}
.dash-chrome { background: #fff; border-bottom: .5px solid var(--border); padding: 12px 18px; display: flex; align-items: center; gap: 12px; }
.dash-chrome .dots { display: flex; gap: 6px; }
.dash-chrome .dot { width: 11px; height: 11px; border-radius: 50%; background: #E6E6EA; }
.dash-chrome .url { flex: 1; background: var(--bg-soft); border-radius: 6px; padding: 5px 12px; font-size: 12px; color: var(--ink-3); font-family: ui-monospace, monospace; }

.dash-app { display: grid; grid-template-columns: 220px 1fr; min-height: 540px; }
.dash-side { background: #fff; border-right: .5px solid var(--border); padding: 24px 16px; }
.dash-side .brand { font-size: 18px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 28px; padding: 0 6px; }
.dash-side .brand .q { color: var(--accent); }
.dash-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.dash-side li { font-size: 13px; color: var(--ink-3); padding: 8px 12px; border-radius: 8px; display: flex; align-items: center; gap: 10px; cursor: default; }
.dash-side li.on { background: var(--bg-soft); color: var(--ink); font-weight: 500; }
.dash-side li::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; opacity: .5; }

.dash-main { padding: 28px 32px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dash-h { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.dash-h h3 { font-size: 22px; letter-spacing: -0.025em; }
.dash-h .pill { background: #E5F0E8; color: #2A7A4D; font-size: 11px; padding: 4px 10px; border-radius: 980px; font-weight: 500; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: #fff; border-radius: 12px; padding: 16px 18px; border: .5px solid var(--border); }
.kpi .l { font-size: 11px; color: var(--ink-3); font-weight: 500; letter-spacing: -0.005em; }
.kpi .n { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 11px; color: #2A7A4D; margin-top: 4px; font-weight: 500; }

.dash-chart { background: #fff; border-radius: 12px; border: .5px solid var(--border); padding: 20px; }
.dash-chart .lbl { font-size: 12px; color: var(--ink-3); margin-bottom: 12px; font-weight: 500; }
.dash-chart svg { width: 100%; height: 140px; display: block; }

.dash-thread { background: #fff; border-radius: 12px; border: .5px solid var(--border); padding: 20px; }
.dash-thread .lbl { font-size: 12px; color: var(--ink-3); margin-bottom: 14px; font-weight: 500; display: flex; justify-content: space-between; }
.dash-thread .row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: .5px solid var(--border); align-items: center; }
.dash-thread .row:last-child { border-bottom: 0; }
.dash-thread .av { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;color:var(--ink-2); letter-spacing:-0.01em; }
.dash-thread .nm { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.dash-thread .ms { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.dash-thread .st { font-size: 10px; padding: 3px 8px; border-radius: 980px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.dash-thread .st-yes { background: #E5F0E8; color: #2A7A4D; }
.dash-thread .st-pen { background: var(--bg-soft); color: var(--ink-3); }

.dash-2col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
@media (max-width: 900px) {
  .dash-app { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpi-row { grid-template-columns: repeat(2,1fr); }
  .dash-2col { grid-template-columns: 1fr; }
}

/* CURVED SECTION TRANSITIONS ------------------------------- */
.section, .idea, .hero-cine, .cta-band { position: relative; }
.curve-top, .curve-bot { display: block; width: 100%; height: 80px; pointer-events: none; }
.curve-top { margin-top: -80px; margin-bottom: 0; position: absolute; top: 0; left: 0; right: 0; }
.curve-bot { margin-bottom: -80px; position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }

/* PER-VERTICAL TYPOGRAPHY ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&display=swap');

.v-block { padding: clamp(80px, 12vw, 160px) 0; }
.v-block .container-v { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.v-block.rev .v-copy { order: 2; }
.v-block.rev .v-vis { order: 1; }
@media (max-width: 900px) {
  .v-block .container-v { grid-template-columns: 1fr; gap: 40px; }
  .v-block.rev .v-copy, .v-block.rev .v-vis { order: initial; }
}

.v-block .v-eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; display: inline-block; }
.v-block .v-headline { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 24px; max-width: 14ch; }
.v-block .v-body { font-size: 19px; color: var(--ink-3); line-height: 1.5; max-width: 38ch; margin-bottom: 28px; }

/* Dental: editorial serif, warm stone palette */
.v-dent { background: linear-gradient(180deg, #F4EFE7 0%, #EBE3D5 100%); color: #2C2620; }
.v-dent .v-eyebrow { color: #8C5A3A; font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: 0.1em; text-transform: none; }
.v-dent .v-headline { font-family: 'Fraunces', serif; font-weight: 500; font-style: italic; color: #2C2620; }
.v-dent .v-body { color: #5C4F40; }
.v-dent .v-cta { color: #8C5A3A; }

/* Physio: bold sans, dusk rose */
.v-physio { background: linear-gradient(180deg, #F4ECE5 0%, #E9D9CB 100%); color: #2A211B; }
.v-physio .v-eyebrow { color: #A06846; font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: 0.1em; text-transform: none; }
.v-physio .v-headline { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.045em; color: #2A211B; }
.v-physio .v-body { color: #5C4A3D; }
.v-physio .v-cta { color: #A06846; }

/* Opto: precise modern, cool cobalt-grey */
.v-opto { background: linear-gradient(180deg, #ECEEF3 0%, #D8DDE6 100%); color: #1E2530; }
.v-opto .v-eyebrow { color: #2D5183; font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: 0.1em; text-transform: none; }
.v-opto .v-headline { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: -0.04em; color: #1E2530; }
.v-opto .v-body { color: #4A5567; }
.v-opto .v-cta { color: #2D5183; }

.v-block .v-cta { font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: gap .25s; }
.v-block .v-cta:hover { gap: 12px; }

/* Signature graphics — large SVG glyphs */
.v-sig {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 32px;
  overflow: hidden;
}
.v-sig .glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .12; }
.v-sig .glyph svg { width: 80%; height: 80%; }
.v-sig .card-on-top {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  max-width: 320px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.18);
  z-index: 2;
}
.v-sig .card-on-top .from { font-size: 11px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; letter-spacing: -0.005em; }
.v-sig .card-on-top .body { font-size: 15.5px; color: var(--ink); line-height: 1.45; letter-spacing: -0.012em; }
.v-sig .card-on-top .pill-row-mini { display: flex; gap: 8px; margin-top: 16px; }
.v-sig .card-on-top .pill-mini { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 980px; }
.v-sig .pill-yes { background: var(--accent); color: #fff; }
.v-sig .pill-alt { background: var(--bg-soft); color: var(--ink-3); }

/* AI MESSAGE COMPOSER ---------------------------------------- */
.composer {
  max-width: 920px; margin: 0 auto;
  background: var(--bg-dark); color: #fff;
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 40px 80px -30px rgba(0,0,0,.4);
}
@media (max-width: 820px) { .composer { grid-template-columns: 1fr; padding: 32px; gap: 32px; } }
.composer h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.composer .lbl { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500; margin-bottom: 8px; display: block; }
.composer .field { margin-bottom: 18px; }
.composer .field input, .composer .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: .5px solid rgba(255,255,255,.12);
  color: #fff; font: inherit; font-size: 14px;
  transition: border-color .2s, background-color .2s;
  font-family: inherit;
}
.composer .field input:focus, .composer .field select:focus { outline: none; border-color: var(--accent-soft); background: rgba(255,255,255,.1); }
.composer .field option { background: #1A1915; color: #fff; }
.composer .preview {
  background: rgba(255,255,255,.04); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px; position: relative;
}
.composer .preview .meta { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500; }
.composer .preview .bubble {
  background: #fff; color: var(--ink);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  font-size: 14.5px; line-height: 1.45;
  letter-spacing: -0.01em;
  border-left: 3px solid var(--accent);
  min-height: 80px;
}
.composer .preview .bubble .cursor { display: inline-block; width: 1.5px; height: 1em; background: var(--ink); margin-left: 2px; vertical-align: middle; animation: blinkCur 1s steps(1) infinite; }
@keyframes blinkCur { 50% { opacity: 0; } }
.composer .preview .typing { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500; display: flex; gap: 4px; align-items: center; }
.composer .preview .typing .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: typeBounce 1.4s ease-in-out infinite; }
.composer .preview .typing .dot:nth-child(2) { animation-delay: .2s; }
.composer .preview .typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes typeBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
.composer .preview .reply { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; padding: 8px 16px; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.composer .preview .reply.on { opacity: 1; transform: none; }

/* WALL OF YES REPLIES -------------------------------------- */
.yes-wall {
  column-count: 4;
  column-gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 1000px) { .yes-wall { column-count: 3; } }
@media (max-width: 700px) { .yes-wall { column-count: 2; } }
@media (max-width: 480px) { .yes-wall { column-count: 1; } }
.yes-bub {
  break-inside: avoid;
  background: var(--bg-soft);
  border-radius: 16px 16px 16px 4px;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: inline-block;
  width: 100%;
  border-left: 2.5px solid var(--accent);
  transition: transform .3s var(--ease);
}
.yes-bub:hover { transform: translateY(-3px); }
.yes-bub .who { display: block; font-size: 11px; color: var(--ink-4); font-weight: 500; margin-top: 8px; letter-spacing: 0; }
.yes-bub.size-l { font-size: 18px; font-weight: 500; }
.yes-bub.size-s { font-size: 13px; }
.yes-bub.style-emoji { background: #F0F4FF; }
.yes-bub.style-warm { background: #FCF1EA; border-left-color: #E0975F; }

/* DATA MOSAIC ---------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.mtile {
  background: rgba(255,255,255,.04);
  border: .5px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mtile.hi { background: rgba(88,118,196,.14); border-color: rgba(138,168,232,.35); }
.mtile .l { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500; letter-spacing: -0.005em; }
.mtile .n { font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.mtile .n.big { font-size: 44px; }
.mtile .n.huge { font-size: 60px; letter-spacing: -0.04em; }
.mtile .delta { font-size: 11px; color: var(--accent-soft); font-weight: 500; }
.mtile .spark { width: 100%; height: 30px; }
.mtile .spark path { stroke: var(--accent-soft); stroke-width: 1.5; fill: none; }
.mtile .spark .area { fill: rgba(138,168,232,.18); stroke: none; }

/* Span helpers */
.mt-c2 { grid-column: span 2; }
.mt-c3 { grid-column: span 3; }
.mt-c4 { grid-column: span 4; }
.mt-r2 { grid-row: span 2; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mt-c2, .mt-c3, .mt-c4 { grid-column: span 2; }
  .mt-r2 { grid-row: auto; }
}

/* EDITORIAL PHOTOGRAPHY ------------------------------------ */
.editorial {
  position: relative;
  width: 100%;
  height: clamp(380px, 56vw, 640px);
  overflow: hidden;
  margin: 0;
}
.editorial img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92);
}
.editorial::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,25,21,0.55) 0%, rgba(26,25,21,0) 50%, rgba(26,25,21,0.5) 100%);
}
.editorial .e-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 56px;
  z-index: 2; color: #fff;
}
.editorial .e-overlay .quote { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(24px, 3vw, 38px); line-height: 1.2; letter-spacing: -0.02em; max-width: 22ch; font-weight: 500; }
.editorial .e-overlay .who { font-size: 13px; opacity: .85; margin-top: 14px; font-weight: 500; letter-spacing: -0.005em; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1100px; margin: 0 auto; }
.photo-strip .ps { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; position: relative; }
.photo-strip .ps img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(.92); }
.photo-strip .ps:hover img { transform: scale(1.04); }
.photo-strip .ps .cap { position: absolute; bottom: 16px; left: 18px; right: 18px; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: -0.005em; text-shadow: 0 2px 12px rgba(0,0,0,.6); z-index: 2; }
.photo-strip .ps::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55) 100%); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }

/* MAGNETIC BUTTON FX --------------------------------------- */
.btn { position: relative; }

/* SCROLL ZOOM HELPER --------------------------------------- */
[data-scroll-zoom] { will-change: transform, opacity; }


/* ============================================================
   THREE ADDITIONS: section transitions, modal lift, parallax
   ============================================================ */

/* 1. ANIMATED CURVED SECTION TRANSITIONS ----------------- */
/* SVG curves between sections, drawn in as user scrolls past */
.section-curve {
  position: relative;
  width: 100%;
  height: 90px;
  display: block;
  margin: -1px 0;
  overflow: hidden;
  pointer-events: none;
}
.section-curve svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.section-curve .sweep-path {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.section-curve.in .sweep-path { stroke-dashoffset: 0; }
.section-curve .sweep-fill {
  transform: translateY(100%);
  transition: transform 1.1s var(--ease);
}
.section-curve.in .sweep-fill { transform: translateY(0); }

/* 2. ELEVATED MODAL OPEN ------------------------------------ */
/* Backdrop blur ramps up; modal scales/translates from below
   with a subtle staggered field reveal. */
.modal-backdrop {
  /* override defaults from site.css */
  background: rgba(15,14,11,0) !important;
  backdrop-filter: blur(0) !important;
  -webkit-backdrop-filter: blur(0) !important;
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease), opacity .4s var(--ease) !important;
}
.modal-backdrop.open {
  background: rgba(15,14,11,0.55) !important;
  backdrop-filter: saturate(140%) blur(14px) !important;
  -webkit-backdrop-filter: saturate(140%) blur(14px) !important;
}
.modal-backdrop .modal {
  transform: scale(.92) translateY(40px) !important;
  opacity: 0 !important;
  transition:
    transform .65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .45s ease !important;
  box-shadow:
    0 1px 2px rgba(0,0,0,.06),
    0 30px 60px -10px rgba(0,0,0,.25),
    0 60px 120px -20px rgba(0,0,0,.35);
}
.modal-backdrop.open .modal {
  transform: scale(1) translateY(0) !important;
  opacity: 1 !important;
}

/* Stagger the form fields */
.modal-backdrop .modal h2,
.modal-backdrop .modal .sub,
.modal-backdrop .modal form > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.modal-backdrop.open .modal h2 { opacity: 1; transform: none; transition-delay: .15s; }
.modal-backdrop.open .modal .sub { opacity: 1; transform: none; transition-delay: .22s; }
.modal-backdrop.open .modal form > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .30s; }
.modal-backdrop.open .modal form > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .36s; }
.modal-backdrop.open .modal form > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .42s; }
.modal-backdrop.open .modal form > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .48s; }
.modal-backdrop.open .modal form > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .54s; }
.modal-backdrop.open .modal form > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .60s; }
.modal-backdrop.open .modal form > *:nth-child(7) { opacity: 1; transform: none; transition-delay: .66s; }
.modal-backdrop.open .modal form > *:nth-child(8) { opacity: 1; transform: none; transition-delay: .72s; }

/* Glow halo behind modal on entry */
.modal-backdrop::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.5);
  background: radial-gradient(circle, rgba(88,118,196,.25) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.modal-backdrop.open::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* CTA button "press" feedback as it triggers modal */
.btn--primary.firing, .btn--invert.firing, .btn--lg.firing {
  transform: scale(.92) !important;
  transition: transform .15s var(--ease) !important;
}

/* 3. PARALLAX EDITORIAL PHOTOS --------------------------- */
.editorial { transform-style: preserve-3d; }
.editorial img {
  will-change: transform;
  transition: none;
  height: 130%;
  top: -15%;
}
@media (prefers-reduced-motion: reduce) {
  .editorial img { transform: none !important; }
}

/* Photo strip parallax */
.photo-strip .ps img {
  will-change: transform;
}


/* ============================================================
   CONVERSION ADDITIONS
   ============================================================ */

/* TESTIMONIAL HERO --------------------------------------- */
.testimonial-hero {
  padding: clamp(80px, 12vw, 140px) 0;
  background: #FFFFFF;
}
.th-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .th-grid { grid-template-columns: 1fr; gap: 32px; }
}
.th-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
}
.th-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92);
}
.th-photo-tag {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
}
.th-logo {
  width: 36px; height: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; letter-spacing: -0.02em;
  font-size: 13px;
  flex-shrink: 0;
}
.th-logo .th-d { opacity: .5; margin: 0 1px; }

.th-stars {
  color: #D4A341;
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.th-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
  font-weight: 400;
}
.th-quote mark {
  background: linear-gradient(180deg, transparent 60%, rgba(88,118,196,.25) 60%);
  color: inherit;
  padding: 0 2px;
}
.th-attribution { margin-bottom: 32px; }
.th-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.th-role {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 2px;
}
.th-meta {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 6px;
}
.th-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: .5px solid var(--border);
}
.th-stat .n {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--accent);
  line-height: 1;
}
.th-stat .l {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
  letter-spacing: -0.005em;
}

/* ROI CALCULATOR ----------------------------------------- */
.roi-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 30px 60px -20px rgba(0,0,0,.18);
  border: .5px solid var(--border);
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .roi-calc { grid-template-columns: 1fr; }
}
.roi-inputs {
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 28px;
  background: #FAFAFC;
  border-right: .5px solid var(--border);
}
@media (max-width: 880px) {
  .roi-inputs { border-right: 0; border-bottom: .5px solid var(--border); }
}
.roi-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.roi-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #fff;
  border: .5px solid var(--border);
  border-radius: 12px;
  padding: 4px;
}
.roi-segment button {
  padding: 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.roi-segment button.on {
  background: var(--ink);
  color: #fff;
}
.roi-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-slider-wrap input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: grab;
}
.roi-slider-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(88,118,196,.35);
  cursor: grab;
  transition: transform .15s var(--ease);
}
.roi-slider-wrap input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.roi-slider-wrap input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(88,118,196,.35);
  cursor: grab;
}
.roi-out {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  min-width: 80px;
  text-align: right;
  letter-spacing: -0.015em;
}
.roi-assumption {
  font-size: 12px;
  color: var(--ink-4);
  line-height: 1.5;
  margin-top: 8px;
  padding-top: 20px;
  border-top: .5px solid var(--border);
}

.roi-output {
  padding: clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, #fff 0%, #F8F9FC 100%);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.roi-result-l {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.roi-result-n {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color .3s var(--ease);
}
.roi-result-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 8px;
}
.roi-result-sub span {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.roi-annual {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-top: .5px solid var(--border);
}
.roi-annual-l { font-size: 13px; color: var(--ink-3); }
.roi-annual-n {
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.roi-net {
  background: rgba(88,118,196,.06);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.roi-net-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.roi-net-row--total {
  padding-top: 8px;
  margin-top: 4px;
  border-top: .5px solid rgba(88,118,196,.2);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.roi-net-row--total span:last-child {
  color: var(--accent);
  font-size: 18px;
}

.roi-cta { margin-top: 8px; }
.roi-cta .btn--full { width: 100%; }
.roi-fine {
  font-size: 11px;
  color: var(--ink-4);
  text-align: center;
  margin-top: 12px;
}

/* secondary link variants */
.btn--link-light { color: rgba(255,255,255,.85); }
.btn--link-light:hover { color: #fff; }

.th-grid--no-photo { grid-template-columns: 1fr !important; max-width: 760px; }
.th-grid--no-photo .th-body { text-align: center; }
.th-grid--no-photo .th-stars { text-align: center; }
.th-grid--no-photo .th-results { text-align: left; }
