/* ============================================================
   Rxeset — Ahmed Shaheed, RPh · shared design system
   Warm / light ("Felix-style"): cream + warm red, Satisfy logo.
   Motion follows Emil Kowalski principles.
   ============================================================ */
:root {
  --bg: #FBFAF8; --bg-2: #F4EFE7; --bg-3: #F0E9DF;
  --surface: rgba(33,31,34,0.025); --surface-2: rgba(33,31,34,0.05);
  --ink: #211F22; --ink-soft: #57514F; --ink-faint: #8C847F;
  --accent: #D14010; --accent-deep: #AE350C; --on-accent: #FBFAF8;
  --mint: #D14010; --mint-deep: #AE350C;            /* legacy aliases → warm accent */
  --line: rgba(33,31,34,0.14); --line-soft: rgba(33,31,34,0.09);
  --radius: 16px; --maxw: 1080px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: rgba(209,64,16,0.18); }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 14px 40px; background: rgba(251,250,248,0); border-bottom: 1px solid transparent; transition: background 280ms var(--ease-out), border-color 280ms var(--ease-out), padding 280ms var(--ease-out); }
nav.scrolled { background: rgba(251,250,248,0.82); border-bottom-color: var(--line-soft); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 11px; padding-bottom: 11px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.rxlogo { font-family: 'Satisfy', cursive; font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink); }
.rxlogo .lit { color: var(--accent); }
.rxlogo .x { font-size: 0.5em; position: relative; top: 0.30em; left: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 160ms var(--ease-out); }
.nav-links a.active { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-links a:not(.nav-cta):hover { color: var(--ink); } }
.nav-cta { background: var(--accent); color: var(--on-accent) !important; padding: 10px 18px; border-radius: 100px; font-weight: 600 !important; font-size: 14px !important; transition: transform 150ms var(--ease-out), background 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav-cta:hover { background: var(--accent-deep); } }
.nav-cta:active { transform: scale(0.96); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer; z-index: 101; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 240ms var(--ease-out), opacity 180ms var(--ease-out); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* AURORA (subtle warm wash) */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.22; }
.aurora::before { width: 600px; height: 600px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(209,64,16,0.5), transparent 65%); animation: drift1 18s var(--ease-out) infinite alternate; }
.aurora::after { width: 520px; height: 520px; top: 340px; left: -160px; background: radial-gradient(circle, rgba(209,64,16,0.32), transparent 65%); animation: drift2 21s var(--ease-out) infinite alternate; }
@keyframes drift1 { to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(60px, -40px) scale(1.1); } }

/* HERO */
.hero { position: relative; z-index: 1; padding: 150px 0 84px; }
.hero.tall { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 130px; }
.hero .wrap { max-width: 900px; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(209,64,16,0.1); border: 1px solid rgba(209,64,16,0.24); color: var(--accent); padding: 7px 15px 7px 12px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: glow 2.4s var(--ease-out) infinite; box-shadow: 0 0 0 0 rgba(209,64,16,0.5); }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(209,64,16,0.45); } 70%,100% { box-shadow: 0 0 0 7px rgba(209,64,16,0); } }
h1, .hero-title { font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 24px; max-width: 15ch; }
.grad { color: var(--accent); }
.hero-lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); line-height: 1.55; max-width: 54ch; margin-bottom: 34px; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.magnetic { display: inline-block; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 16px 28px; border-radius: 100px; font-size: 15.5px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 220ms var(--ease-spring), background 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 26px -10px rgba(209,64,16,0.6); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--accent-deep); } }
.btn-primary:active { transform: scale(0.96); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: rgba(33,31,34,0.34); } }
.btn-ghost:active { transform: scale(0.96); }
.btn .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover .arrow { transform: translateX(3px); } }
.fineprint { font-size: 14px; color: var(--ink-faint); }
.fineprint b { color: var(--ink-soft); font-weight: 600; }
.hero-trust { display: flex; gap: 14px 28px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.chip { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.chip svg { color: var(--accent); flex-shrink: 0; }

/* STATS */
.stats { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.stats .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.stat { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.stat svg { color: var(--accent); flex-shrink: 0; }

/* SECTIONS */
section.block { position: relative; z-index: 1; padding: 90px 0; }
.block.tint { background: var(--bg-2); }
.head { max-width: 680px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
h2, .section-title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.07; }
.head p, .section-sub { margin-top: 16px; font-size: 18px; color: var(--ink-soft); line-height: 1.6; }

/* CARD GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.card:hover, .card.hover:hover { transform: translateY(-3px); border-color: rgba(209,64,16,0.4); box-shadow: 0 12px 28px -18px rgba(33,31,34,0.4); } }
.card .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(209,64,16,0.1); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
a.card { text-decoration: none; display: block; }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* CONDITION CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cond { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 100px; padding: 10px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cond .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.step .num { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; display: block; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.bring { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; }
.bring h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; }
.bring ul { list-style: none; }
.bring li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-soft); }
.bring li:last-child { border-bottom: none; }
.bring li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* WHY */
.why { background: linear-gradient(160deg, #FFF6F0, #FBFAF8); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 24px; }
.why .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(209,64,16,0.1); display: grid; place-items: center; color: var(--accent); margin-bottom: 16px; }
.why h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.why p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* MEDS */
.med-note { margin-top: 26px; max-width: 780px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.med-note b { color: var(--ink); font-weight: 600; }
.gen { font-size: 13px; color: var(--ink-faint); margin: -2px 0 14px; }

/* FEATURE PANEL */
.panel { background: linear-gradient(160deg, #FFF3EC, #FBFAF8); border: 1px solid rgba(209,64,16,0.2); border-radius: 22px; padding: 48px; position: relative; overflow: hidden; }
.panel.center { text-align: center; }
.panel .glow { position: absolute; top: -140px; right: -60px; width: 460px; height: 320px; background: radial-gradient(circle, rgba(209,64,16,0.14), transparent 70%); pointer-events: none; }
.panel.center .glow { left: 50%; right: auto; transform: translateX(-50%); }
.panel .inner { position: relative; }
.panel h2 { margin-bottom: 14px; }
.panel p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; max-width: 560px; }
.panel.center p { margin-left: auto; margin-right: auto; }

/* PRICING */
.price-rows { position: relative; max-width: 620px; margin: 0 auto; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.price-row:last-of-type { border-bottom: none; }
.price-row .pl b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.price-row .pl span { font-size: 12.5px; color: var(--ink-faint); }
.price-row .pv { font-size: 20px; font-weight: 700; white-space: nowrap; }
.price-row .pv.free { color: var(--accent); }
.price-row .pv small { font-size: 12px; font-weight: 500; color: var(--ink-faint); }
.elig { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; background: rgba(209,64,16,0.1); border: 1px solid rgba(209,64,16,0.24); color: var(--accent); padding: 8px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; }
.disclose { position: relative; max-width: 620px; margin: 20px auto 0; font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; text-align: center; }

/* ELIGIBILITY CHECKER */
.checker { max-width: 640px; margin: 44px auto 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px; }
.unit-toggle { display: inline-flex; background: #FFFFFF; border: 1px solid var(--line-soft); border-radius: 100px; padding: 4px; margin-bottom: 22px; }
.unit-toggle button { background: none; border: none; color: var(--ink-soft); font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 100px; cursor: pointer; transition: background 200ms var(--ease-out), color 200ms var(--ease-out); }
.unit-toggle button.active { background: var(--accent); color: var(--on-accent); }
.ck-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 7px; font-weight: 500; }
.field input { width: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); font: inherit; font-size: 16px; transition: border-color 160ms var(--ease-out); }
.field input:focus { outline: none; border-color: var(--accent); }
.ht-imp { display: flex; gap: 10px; }
.rf-label { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; font-weight: 600; }
.rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.rf { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; background: #FFFFFF; border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px 13px; transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out); }
.rf input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.rf:has(input:checked) { border-color: rgba(209,64,16,0.5); background: rgba(209,64,16,0.07); }
#ck-go { width: 100%; justify-content: center; }
.ck-result { margin-top: 22px; padding: 22px; border-radius: 12px; border: 1px solid var(--line-soft); }
.ck-result.yes { background: rgba(209,64,16,0.09); border-color: rgba(209,64,16,0.3); }
.ck-result.maybe { background: rgba(33,31,34,0.03); }
.ck-result h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.ck-result p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.ck-result .bmi { color: var(--accent); font-weight: 700; }
.ck-result .btn { justify-content: center; }
.ck-note { font-size: 12px !important; color: var(--ink-faint); margin: 14px 0 0 !important; }

/* INCLUDES */
.inc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.inc { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.inc .ck { flex-shrink: 0; margin-top: 1px; width: 22px; height: 22px; border-radius: 7px; background: rgba(209,64,16,0.12); display: grid; place-items: center; color: var(--accent); }
.inc b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 2px; }
.inc span { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* LOCATION */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.loc-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px 30px; }
.loc-card h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.loc-card .addr { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }
.hours { list-style: none; margin-bottom: 24px; }
.hours li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.hours li:last-child { border-bottom: none; }
.hours .day { font-weight: 600; }
.hours .time { color: var(--ink-soft); }
.extras { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.extras strong { color: var(--ink); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); min-height: 320px; position: relative; }
.map-svg { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .faq-q:hover { color: var(--accent); } }
.faq-toggle { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 280ms var(--ease-out), background 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.faq-toggle svg { color: var(--ink-soft); transition: color 200ms var(--ease-out); }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-toggle svg { color: var(--on-accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 0 24px; max-width: 720px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

/* FINAL CTA */
.final { position: relative; z-index: 1; text-align: center; padding: 90px 0; }
.final h2 { max-width: 18ch; margin: 0 auto 16px; }
.final p { max-width: 50ch; margin: 0 auto 30px; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }

/* FOOTER */
footer { background: var(--bg-3); border-top: 1px solid var(--line-soft); padding: 56px 0 36px; position: relative; z-index: 1; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 32px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--ink); } }
.disclaimer { padding-top: 26px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-faint); line-height: 1.7; }

/* HERO LOGO MARK */
.hero-mark { margin-bottom: 16px; line-height: 1; }
.rxlogo.xl { font-size: clamp(60px, 13vw, 136px); }

/* REVEAL / MOTION */
.reveal > * { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.reveal.in > * { opacity: 1; transform: none; }
.reveal.in > *:nth-child(2) { transition-delay: 60ms; }
.reveal.in > *:nth-child(3) { transition-delay: 120ms; }
.reveal.in > *:nth-child(4) { transition-delay: 180ms; }
.stagger.in > *:nth-child(2) { transition-delay: 55ms; }
.stagger.in > *:nth-child(3) { transition-delay: 110ms; }
.stagger.in > *:nth-child(4) { transition-delay: 70ms; }
.stagger.in > *:nth-child(5) { transition-delay: 120ms; }
.stagger.in > *:nth-child(6) { transition-delay: 170ms; }
.stagger.in > *:nth-child(n+7) { transition-delay: 120ms; }
.rise { opacity: 0; transform: translateY(16px); animation: rise 660ms var(--ease-out) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 40ms; } .d2 { animation-delay: 110ms; } .d3 { animation-delay: 180ms; } .d4 { animation-delay: 250ms; } .d5 { animation-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .reveal > * { opacity: 1; transform: none; transition: none; }
  .aurora::before, .aurora::after, .dot { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-3, .grid-2, .split, .loc-grid, .inc-grid { grid-template-columns: 1fr; gap: 16px; }
  .split, .loc-grid { gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  nav { padding: 12px 22px; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 0; z-index: 90; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 96px 32px 40px; background: rgba(251,250,248,0.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 240ms; }
  body.menu-open { overflow: hidden; }
  /* The scrolled nav's backdrop-filter creates a containing block that would
     trap the fixed full-screen menu inside the nav bar — drop it while open. */
  body.menu-open #nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { font-size: 26px; font-weight: 600; color: var(--ink); padding: 8px 0; }
  .nav-links a.active { color: var(--accent); }
  .nav-links .nav-cta { background: var(--accent); color: var(--on-accent) !important; padding: 13px 26px; border-radius: 100px; margin-top: 18px; font-size: 16px !important; }
  section.block, .hero, .final { padding-left: 0; padding-right: 0; }
  section.block { padding: 64px 0; }
  .hero { padding: 124px 0 64px; }
  .panel { padding: 34px 24px; }
  .checker { padding: 24px; }
  .ck-fields, .rf-grid { grid-template-columns: 1fr; }
}

/* ── HOME: compact hero + Felix-style treatment focus cards ─────────── */
.hero.home { padding: 138px 0 48px; }
.hero.home .rxlogo.xl { font-size: clamp(54px, 9vw, 104px); }
.hero.home h1 { font-size: clamp(38px, 5.4vw, 68px); margin-bottom: 18px; }
.hero.home .hero-lede { margin-bottom: 26px; }
section.block.treatments { padding-top: 28px; }

.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
a.tcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 440px; padding: 22px; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); border: 1px solid var(--line-soft);
  transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out),
              filter 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.tcard.t1 { background: linear-gradient(165deg, #F7E7D9 0%, #F0D5BF 100%); }
.tcard.t2 { background: linear-gradient(165deg, #F7DCD0 0%, #EFC2AB 100%); }
.tcard.t3 { background: linear-gradient(165deg, #F5EDDC 0%, #EADFC2 100%); }

.tcard .ttag {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-soft); background: rgba(251,250,248,0.7); border: 1px solid var(--line-soft);
  border-radius: 100px; padding: 6px 12px; position: relative; z-index: 1;
}
.tcard .twm {
  position: absolute; right: -36px; top: 34%; width: 230px; height: 230px;
  color: var(--accent); opacity: 0.13; transform: rotate(-8deg);
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
  pointer-events: none;
}
.tcard .tbody { position: relative; z-index: 1; }
.tcard .tbody h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.tcard .tbody p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; max-width: 30ch; }
.tcard .tbody .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* Focus effect: hovered card sharpens + lifts, siblings recede */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .treat-grid:hover a.tcard { opacity: 0.55; filter: saturate(0.6); transform: scale(0.98); }
  .treat-grid a.tcard:hover {
    opacity: 1; filter: none; transform: scale(1.025);
    box-shadow: 0 28px 56px -28px rgba(33,31,34,0.45); z-index: 1;
  }
  .treat-grid a.tcard:hover .twm { opacity: 0.2; transform: rotate(-4deg) scale(1.05); }
}
a.tcard:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  a.tcard, .tcard .twm { transition: none; }
  a.tcard:active { transform: none; }
}

@media (max-width: 760px) {
  .hero.home { padding: 118px 0 36px; }
  .treat-grid { grid-template-columns: 1fr; }
  a.tcard { min-height: 280px; }
  .tcard .twm { width: 180px; height: 180px; top: 40%; }
}

/* ── Photo cards (stock-photo variant of condition/treatment cards) ──── */
.pcard {
  position: relative; display: flex; align-items: flex-end; min-height: 300px;
  padding: 18px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); color: #fff; text-decoration: none;
  background: linear-gradient(165deg, #F7E7D9, #F0D5BF); /* fallback if no/failed photo */
  transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out),
              filter 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.pcard img.ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.pcard .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,31,34,0) 38%, rgba(33,31,34,0.66) 100%);
}
.pcard .pc-body { position: relative; z-index: 1; }
.pcard .pc-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; color: #fff; }
.pcard .pc-body p { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.85); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pgrid:hover .pcard { filter: saturate(0.45) brightness(0.85); transform: scale(0.985); }
  .pgrid .pcard:hover {
    filter: none; transform: scale(1.02); z-index: 1;
    box-shadow: 0 24px 48px -24px rgba(33,31,34,0.5);
  }
  .pgrid .pcard:hover img.ph { transform: scale(1.06); }
}
.pcard:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard img.ph { transition: none; } }

/* Photo-card variants: tall home cards with a top tag + white CTA */
.pcard.tall { min-height: 420px; }
.pcard .ttag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: #fff;
  background: rgba(33,31,34,0.42); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px; padding: 6px 12px; backdrop-filter: blur(3px);
}
.pcard .pc-body .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: #fff; }
@media (max-width: 760px) { .pcard.tall { min-height: 320px; } }

/* ── Cinematic video band (weight-loss page) ─────────────────────────── */
.vband { position: relative; height: 62vh; min-height: 400px; overflow: hidden; background: var(--ink); }
.vband-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vband-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,31,34,0.25) 0%, rgba(33,31,34,0.05) 45%, rgba(33,31,34,0.6) 100%); }
.vband-copy { position: absolute; inset: auto 0 0 0; padding-bottom: 44px; color: #fff; }
.vband-copy h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.vband-copy p { font-size: clamp(14.5px, 1.6vw, 17px); color: rgba(255,255,255,0.85); }
@media (max-width: 760px) { .vband { height: 46vh; min-height: 300px; } .vband-copy { padding-bottom: 28px; } }

/* ── Video scrollytelling (weight-loss): pinned stage, scroll-driven zoom/pan ── */
.vscrolly { position: relative; height: 410vh; background: var(--ink); }
.vsticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.vsticky .vband-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 50%; will-change: transform;
}
.vsticky .vband-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,31,34,0.25) 0%, rgba(33,31,34,0.05) 45%, rgba(33,31,34,0.62) 100%); }
.vcap {
  position: absolute; inset: auto 0 0 0; padding-bottom: 52px; color: #fff;
  opacity: 0; transform: translateY(14px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  pointer-events: none;
}
.vcap.on { opacity: 1; transform: translateY(0); }
.vcap h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.vcap p { font-size: clamp(14.5px, 1.6vw, 17px); color: rgba(255,255,255,0.85); }
/* Reduced motion / no-JS fallback: behave like a simple band */
.vscrolly.static { height: 62vh; min-height: 400px; }
.vscrolly.static .vsticky { position: relative; height: 100%; }
.vscrolly.static .vcap[data-cap="0"] { opacity: 1; transform: none; }
@media (max-width: 760px) { .vscrolly { height: 335vh; } .vcap { padding-bottom: 34px; } }
