/* RISE shared theme — DARK (A2 treatment pages). Matches the A2 landing page (V124–V125).
   Loaded after each page's own styles.css. Sections are tagged in the HTML: rise-l / rise-d (both get the navy glow). */
html:has(body.rise-dark){background:#070d19}
body.rise-dark{background:transparent!important;position:relative;overflow-x:clip}
body.rise-dark::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,rgba(79,168,255,.13) 0%,rgba(95,184,240,.14) 28%,rgba(47,200,190,.16) 50%,rgba(212,170,82,.24) 72%,rgba(228,200,136,.26) 100%);
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='138.56' viewBox='0 0 160 138.56'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M40 1.16 79 23.78v45L40 91.4 1 68.78v-45Z'/%3E%3Cpath d='M120 1.16 159 23.78v45L120 91.4 81 68.78v-45Z'/%3E%3Cpath d='M80 47.16 119 69.78v45L80 137.4 41 114.78v-45Z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='138.56' viewBox='0 0 160 138.56'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M40 1.16 79 23.78v45L40 91.4 1 68.78v-45Z'/%3E%3Cpath d='M120 1.16 159 23.78v45L120 91.4 81 68.78v-45Z'/%3E%3Cpath d='M80 47.16 119 69.78v45L80 137.4 41 114.78v-45Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask-size:160px 138.56px;mask-size:160px 138.56px}
body.rise-dark .soft-seam{display:none!important}
body.rise-dark .site-header{background:rgba(7,13,25,.94)}
body.rise-dark .kicker{color:var(--gold-light)}
body.rise-dark main>section.rise-l,body.rise-dark main>section.rise-d{color:var(--paper);background:radial-gradient(ellipse 72% 70% at 50% 50%,rgba(13,27,48,.97) 0%,rgba(11,23,42,.92) 55%,rgba(9,18,34,.6) 80%,rgba(7,13,25,.25) 100%)!important}
body.rise-dark .quick-facts{background:rgba(9,17,31,.92)}
/* hero ends exactly on its rising gold line (as on the A2 landing) */
body.rise-dark .hero{--lb:12px;--lh:44px;clip-path:polygon(0 0,100% 0,100% calc(100% - var(--lb) - var(--lh) + var(--lh)*2/40 + 3px),72.75% calc(100% - var(--lb) - var(--lh) + var(--lh)*10/40 + 3px),54.5% calc(100% - var(--lb) - var(--lh) + var(--lh)*30/40 + 3px),27.25% calc(100% - var(--lb) - var(--lh) + var(--lh)*27/40 + 3px),0 calc(100% - var(--lb) - var(--lh) + var(--lh)*37/40 + 3px))}
@media(max-width:700px){body.rise-dark .hero{--lh:36px}}
/* former cream sections, now dark */
body.rise-dark .overview-copy h2,body.rise-dark .results-copy h2{color:#fff}
body.rise-dark .overview-copy>p:not(.kicker),body.rise-dark .results-copy>p:last-child,body.rise-dark .results-copy>p:not(.kicker){color:#c3cedb}
body.rise-dark .treatment-figure{background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(228,200,136,.22);border-radius:16px;box-shadow:0 18px 45px rgba(0,0,0,.35)}
body.rise-dark .treatment-figure img{border-radius:10px}
body.rise-dark .treatment-figure figcaption{color:#aab4c2}
/* contact: glass card with a gold top line (as on the A2 landing) */
body.rise-dark .contact-card{position:relative;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));color:var(--paper);border:1px solid rgba(228,200,136,.22);box-shadow:inset 0 1px 0 rgba(240,214,150,.22),0 0 70px rgba(201,162,74,.10),0 22px 55px rgba(0,0,0,.3)}
body.rise-dark .contact-card::before{content:"";position:absolute;left:30px;right:30px;top:0;height:2px;border-radius:2px;z-index:2;background:linear-gradient(90deg,transparent,#e4c888,transparent)}
body.rise-dark .contact-brand{background:transparent;border-right:1px solid rgba(228,200,136,.16)}
body.rise-dark .contact-brand img{filter:drop-shadow(0 0 18px rgba(228,200,136,.35))}
body.rise-dark .contact-copy h2{color:#fff}
body.rise-dark .contact-copy>p:not(.kicker){color:#b9c4d2}
body.rise-dark .contact .button-outline-dark{border-color:rgba(255,255,255,.28);color:#fff}
@media(max-width:1020px){body.rise-dark .contact-brand{border-right:0;border-bottom:1px solid rgba(228,200,136,.16)}}

.rise-divider{position:relative;height:44px;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpolyline points='0,37 109,27 218,30 291,10 400,2' fill='none' stroke='%23C9A24A' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 9px rgba(201,162,74,.45));opacity:.92;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%)}
.rise-divider-flip{transform:scaleX(-1)}
.rise-edge{position:absolute;left:0;right:0;bottom:0;height:var(--lh);z-index:6;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpolyline points='0,37 109,27 218,30 291,10 400,2' fill='none' stroke='%23C9A24A' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 9px rgba(201,162,74,.45))}
/* divider takes no space, so the sections above and below meet seamlessly; the line is drawn across the seam */
body.rise-light .rise-divider,body.rise-dark .rise-divider{height:0;overflow:visible;z-index:5;background:none;filter:none;opacity:1;-webkit-mask-image:none;mask-image:none}
body.rise-light .rise-divider::before,body.rise-dark .rise-divider::before{content:"";position:absolute;left:0;right:0;top:-22px;height:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpolyline points='0,37 109,27 218,30 291,10 400,2' fill='none' stroke='%23C9A24A' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 9px rgba(201,162,74,.45));opacity:.92;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%)}

/* V128: softer section glows — separate layer reaching 70px past each section, fading out top and bottom (no blocky bands). */
body.rise-dark main>section.rise-l,body.rise-dark main>section.rise-d{background:transparent!important;position:relative;isolation:isolate}
body.rise-dark main>section.rise-l::after,body.rise-dark main>section.rise-d::after{content:"";position:absolute;z-index:-1;pointer-events:none;top:-70px;bottom:-70px;left:50%;width:100vw;transform:translateX(-50%);
 background:radial-gradient(ellipse 66% 62% at 50% 50%,rgba(13,27,48,.97) 0%,rgba(11,23,42,.92) 52%,rgba(9,18,34,.6) 76%,rgba(7,13,25,0) 100%);
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%)}
@media(max-width:700px){body.rise-dark main>section.rise-l::after,body.rise-dark main>section.rise-d::after{background:radial-gradient(ellipse 95% 62% at 50% 50%,rgba(13,27,48,.97) 0%,rgba(11,23,42,.92) 58%,rgba(9,18,34,.6) 80%,rgba(7,13,25,0) 100%)}}


/* ===================== V129: every A2 section change is a soft glow or a rising gold line — no straight breaks ===================== */
/* 1. no straight 1px border lines between sections */
body.rise-dark main>section,body.rise-dark .quick-facts{border-top:0!important;border-bottom:0!important}
/* 2. the facts band under the hero ends on a rising gold line */
body.rise-dark .quick-facts.rise-band{position:relative;--lh:44px;padding-bottom:34px;clip-path:polygon(0 0,100% 0,100% calc(100% - var(--lh) + var(--lh)*2/40 + 3px),72.75% calc(100% - var(--lh) + var(--lh)*10/40 + 3px),54.5% calc(100% - var(--lh) + var(--lh)*30/40 + 3px),27.25% calc(100% - var(--lh) + var(--lh)*27/40 + 3px),0 calc(100% - var(--lh) + var(--lh)*37/40 + 3px))}
/* 3. full-width feature sections (NOUVADerm "on skin", Scarlet "how it works") start and end on gold lines */
body.rise-dark .rise-framed{position:relative;--lh:44px;clip-path:polygon(0 calc(var(--lh)*37/40 - 3px),27.25% calc(var(--lh)*27/40 - 3px),54.5% calc(var(--lh)*30/40 - 3px),72.75% calc(var(--lh)*10/40 - 3px),100% calc(var(--lh)*2/40 - 3px),100% calc(100% - var(--lh) + var(--lh)*2/40 + 3px),72.75% calc(100% - var(--lh) + var(--lh)*10/40 + 3px),54.5% calc(100% - var(--lh) + var(--lh)*30/40 + 3px),27.25% calc(100% - var(--lh) + var(--lh)*27/40 + 3px),0 calc(100% - var(--lh) + var(--lh)*37/40 + 3px))}
body.rise-dark .rise-edge.rise-edge-top{top:0;bottom:auto}
/* 4. decorative video strips (NOUVADerm beams, Scarlet burst) fade softly into the page instead of hard top/bottom edges */
body.rise-dark .nd94-beams,body.rise-dark .sc91-burst{background:transparent!important;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 28%,#000 72%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 28%,#000 72%,transparent 100%)}
body.rise-dark .nd94-beams:after,body.rise-dark .sc91-burst:after{display:none}
/* 5. "Explore A2 treatments" bar sits on the page (no band), and the footer starts on a rising gold line */
body.rise-dark .related-care-nav{background:transparent!important;border:0!important}
body.rise-dark .site-footer{position:relative;--lh:44px;border-top:0!important;padding-top:84px;clip-path:polygon(0 calc(var(--lh)*37/40 - 3px),27.25% calc(var(--lh)*27/40 - 3px),54.5% calc(var(--lh)*30/40 - 3px),72.75% calc(var(--lh)*10/40 - 3px),100% calc(var(--lh)*2/40 - 3px),100% 100%,0 100%)}
@media(max-width:700px){body.rise-dark .quick-facts.rise-band,body.rise-dark .rise-framed,body.rise-dark .site-footer{--lh:36px}}

/* V130: "Expression → Precision → Refresh" (Neuromodulators page) — refined into a dark-glass
   vertical timeline: gold-ringed step numbers joined by a thin gold line, white titles, readable full-width text. */
body.rise-dark .mechanism-card{position:relative;display:flex;flex-direction:column;gap:0;padding:34px 40px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(228,200,136,.22);box-shadow:inset 0 1px 0 rgba(240,214,150,.22),0 0 70px rgba(201,162,74,.10),0 22px 55px rgba(0,0,0,.3)}
body.rise-dark .mechanism-card::before{content:"";position:absolute;left:30px;right:30px;top:0;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#e4c888,transparent)}
body.rise-dark .mechanism-arrow{display:none}
body.rise-dark .mechanism-ring{display:grid;grid-template-columns:54px 1fr;column-gap:24px;align-items:start;min-height:0;height:auto;padding:22px 0;border:0;border-bottom:1px solid rgba(228,200,136,.14);background:none;box-shadow:none;text-align:left;overflow:visible}
body.rise-dark .mechanism-ring:last-of-type{border-bottom:0}
body.rise-dark .mechanism-ring::before{display:none}
body.rise-dark .mechanism-ring:not(:last-of-type)::after{content:"";position:absolute;left:27px;top:80px;bottom:-24px;width:1px;background:linear-gradient(180deg,rgba(228,200,136,.65),rgba(228,200,136,.12))}
body.rise-dark .mechanism-ring span{grid-row:span 2;width:54px;height:54px;margin:0;border:1px solid rgba(228,200,136,.6);background:radial-gradient(circle at 35% 30%,rgba(228,200,136,.22),rgba(7,13,25,.9) 70%);color:var(--gold-light);font-size:.8rem;box-shadow:0 0 18px rgba(201,162,74,.22)}
body.rise-dark .mechanism-ring b{text-align:left;color:#fff;font-size:1.45rem;margin:4px 0 6px}
body.rise-dark .mechanism-ring small{color:#b9c4d2;font-size:.95rem;line-height:1.6;max-width:none;margin:0}
@media(max-width:980px){body.rise-dark .mechanism-card{padding:26px 24px}}
body.rise-dark .mechanism-ring b,body.rise-dark .mechanism-ring small{transform:none!important;grid-column:2;justify-self:stretch;width:auto;padding:0;margin-left:0;margin-right:0}

/* V131: facts band under the hero — no straight top edge. The band no longer paints its own rectangle; it sits on the
   page honeycomb with a soft navy glow that fades out above and below, so it flows straight up into the hero's gold line. */
body.rise-dark .quick-facts.rise-band{background:transparent!important;isolation:isolate}
body.rise-dark .quick-facts.rise-band::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;
 background:radial-gradient(ellipse 70% 80% at 50% 60%,rgba(13,27,48,.9) 0%,rgba(11,23,42,.7) 55%,rgba(7,13,25,0) 100%);
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 55%,#000 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 55%,#000 100%)}

/* V132: HIFEM "Muscle Stimulation + Thermal Energy" card — same dark-glass style as the Neuromodulator steps card (V130):
   two stacked rows with a ringed badge (blue HIFEM, gold RF), joined by a thin line with a small "+" between them. */
body.rise-dark .dual-mechanism{position:relative;display:flex;flex-direction:column;gap:0;padding:34px 40px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(228,200,136,.22);box-shadow:inset 0 1px 0 rgba(240,214,150,.22),0 0 70px rgba(201,162,74,.10),0 22px 55px rgba(0,0,0,.3)}
body.rise-dark .dual-mechanism::before{content:"";position:absolute;left:30px;right:30px;top:0;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#6fb8d6 30%,#e4c888 70%,transparent)}
body.rise-dark .dual-mechanism article{display:grid;grid-template-columns:62px 1fr;column-gap:24px;align-items:start;min-height:0;padding:22px 0;border:0;background:none;text-align:left;overflow:visible}
body.rise-dark .dual-mechanism article::before{display:none}
body.rise-dark .dual-mechanism .dm-icon{grid-row:span 2;width:62px;height:62px;margin:0;font-size:.72rem}
body.rise-dark .dual-mechanism .hifem-card .dm-icon{color:#9ad4e8;border-color:rgba(111,184,214,.65);background:radial-gradient(circle at 35% 30%,rgba(111,184,214,.25),rgba(7,13,25,.9) 70%);box-shadow:0 0 18px rgba(111,184,214,.25)}
body.rise-dark .dual-mechanism .rf-card .dm-icon{color:var(--gold-light);border-color:rgba(228,200,136,.6);background:radial-gradient(circle at 35% 30%,rgba(228,200,136,.22),rgba(7,13,25,.9) 70%);box-shadow:0 0 18px rgba(201,162,74,.22)}
body.rise-dark .dual-mechanism h3{grid-column:2;color:#fff;font-size:1.45rem;margin:6px 0 6px;transform:none}
body.rise-dark .dual-mechanism p{grid-column:2;color:#b9c4d2!important;font-size:.95rem!important;line-height:1.6!important;max-width:none}
body.rise-dark .dual-plus{position:relative;display:grid;grid-template-columns:62px 1fr;align-items:center;min-height:0;height:34px;font-size:1.5rem;color:var(--gold-light);text-align:center}
body.rise-dark .dual-plus::after{content:"";grid-column:2;height:1px;background:linear-gradient(90deg,rgba(228,200,136,.4),rgba(228,200,136,0))}
@media(max-width:980px){body.rise-dark .dual-mechanism{padding:26px 24px}}

/* V142 A2 footer hours */
.a2-foot-hours{display:inline-block;margin-top:6px;font-size:.82rem;color:#e4c888}
