/* LYS service detail v2 (Microcurrent, DMK): Enso-style bands in the LYS palette. Scoped to main.ev.
   Fonts: Jost + Montserrat (Google Fonts, SIL OFL), self-hosted in assets/fonts/. */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("assets/fonts/jost-var.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/jost-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/montserrat-var.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-italic.woff2") format("woff2"); }
main.ev {
  --e-deep: #4b354e;      /* Enso navy #303542 -> deep LYS purple (#7a567e at ~62%) */
  --e-accent: #7a567e;    /* Enso blue #0f517c -> LYS card-back purple */
  --e-lilac: #d1bdd3;     /* Enso lavender button #aea8c8 -> light LYS mauve */
  --e-cream: #fbf7f0;     /* Enso cream #fdf8f2 -> LYS --surface */
  --e-ink: #3b2b3e;       /* Enso navy text -> deep plum ink */
  --e-rule: rgba(59,43,62,.55);
  --e-head: "Jost", "Brandon Grotesque", "Futura PT", system-ui, sans-serif;
  --e-body: "Montserrat", system-ui, sans-serif;
  --e-wrap: 1204px;
  --e-pad: max(24px, calc((100% - var(--e-wrap)) / 2));
  font-family: var(--e-body); font-size: 16.5px; line-height: 1.6; color: var(--e-ink);
  background: #fff; display: block;
}
main.ev *, main.ev *::before, main.ev *::after { box-sizing: border-box; }
main.ev :where(h1, h2, h3, h4) { font-family: var(--e-head); font-weight: 300; letter-spacing: 0; margin: 0; color: inherit; font-style: normal; text-transform: none; }
:where(main.ev) :where(p) { margin: 0 0 1em; }
:where(main.ev) :where(a) { color: inherit; }
.ev-band { padding: 72px var(--e-pad); }
.ev-dark { background: var(--e-deep); color: #fff; }
.ev-cream { background: var(--e-cream); }
.ev-white { background: #fff; }

/* plate flag */
.ev-flag { margin: 0; padding: 7px var(--e-pad); background: #231a25; color: #f3ecf4; font: 500 11px/1.5 var(--e-body); letter-spacing: .04em; }
.ev-flag b { color: #fff; letter-spacing: .14em; }

/* buttons: Enso 15px uppercase, 1.5px tracking, square corners */
.ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 0;
  font: 400 15px/1.2 var(--e-head); letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ev-btn--lilac { background: var(--e-lilac); color: #2e2230; }
.ev-btn--lilac:hover, .ev-btn--lilac:focus-visible { background: #fff; color: var(--e-deep); }
.ev-btn--outline { border-color: var(--e-ink); color: var(--e-ink); background: transparent; }
.ev-btn--outline:hover, .ev-btn--outline:focus-visible { background: var(--e-ink); color: #fff; }
.ev-btn--solid { background: var(--e-accent); color: #fff; }
.ev-btn--solid:hover, .ev-btn--solid:focus-visible { background: var(--e-deep); }
main.ev :focus-visible { outline: 2px solid var(--e-accent); outline-offset: 3px; }
main.ev .ev-dark :focus-visible, main.ev .ev-hero :focus-visible { outline-color: #fff; }
main.ev .ev-video :focus-visible { outline: 3px solid #fff; outline-offset: -5px; }

/* 1. hero: full-bleed photo, deep overlay */
.ev-hero { position: relative; min-height: 452px; display: flex; align-items: center; padding: 64px var(--e-pad); color: #fff; overflow: hidden; background: var(--e-deep); }
.ev-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.ev-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(52,34,55,.86) 0%, rgba(52,34,55,.72) 50%, rgba(52,34,55,.5) 100%); }
.ev-hero__copy { position: relative; max-width: 640px; }
.ev-hero h1 { font-size: 52.5px; line-height: 1; margin-bottom: 22px; color: #fff; }
.ev-hero .ev-strong { font-weight: 600; margin-bottom: 10px; }
.ev-hero p { color: #fff; max-width: 600px; }
.ev-hero .ev-btn { margin-top: 14px; }
.ev-photo-tag { position: absolute; right: 16px; bottom: 12px; z-index: 1; font: 500 10px/1 var(--e-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.45); padding: 6px 9px; }

/* 2. intro: centered, italic light heading */
.ev-intro { text-align: center; padding-top: 56px; padding-bottom: 64px; }
.ev-intro h2 { font-size: 36px; font-style: italic; line-height: 1.15; margin-bottom: 18px; }
.ev-intro .ev-lead { color: var(--e-accent); font-weight: 600; margin-bottom: 10px; }
.ev-intro p { max-width: 860px; margin-left: auto; margin-right: auto; }
.ev-intro .ev-btn { margin-top: 18px; min-width: 400px; }

/* 3. benefits: dark band, thin 1px boxes, uppercase tracked */
.ev-benefits { text-align: center; padding-top: 56px; padding-bottom: 64px; }
.ev-benefits h2 { font-size: 36px; line-height: 1.05; margin-bottom: 20px; color: #fff; }
.ev-boxes { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ev-boxes li { min-height: 57.6px; display: flex; align-items: center; justify-content: center; padding: 10px 28px; border: 1px solid #fff;
  font: 400 15px/1.45 var(--e-head); letter-spacing: 1.5px; text-transform: uppercase; color: #fff; }
.ev-boxes li.is-wide { grid-column: 1 / -1; }

/* 4. FAQ: cream, title left, thin-rule plus rows right */
.ev-faq { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: 0 0; align-items: start; padding-top: 48px; padding-bottom: 72px; }
.ev-faq h2 { font-size: 36px; line-height: 1.1; padding-top: 10px; }
.ev-acc { border: 0; margin: 0; padding: 0; }
.ev-acc details { border-bottom: 1px solid var(--e-rule); }
.ev-acc summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; min-height: 48px; gap: 14px; padding: 15px 0; font: 300 25.5px/1.3 var(--e-head); color: var(--e-ink); }
.ev-acc summary::-webkit-details-marker { display: none; }
.ev-acc summary::before { content: "+"; flex: none; width: 14px; font: 300 26px/1 var(--e-head); transform: translateY(1px); }
.ev-acc details[open] summary::before { content: "\2212"; }
.ev-acc details > div { padding: 0 0 22px 28px; max-width: 760px; }
.ev-acc details > div p:last-child { margin-bottom: 0; }
.ev-acc ul { margin: 0 0 1em; padding-left: 1.1em; }

/* 5. results: image left, accent heading right */
.ev-results { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 50px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.ev-results h2 { font-size: 45px; line-height: 1.02; color: var(--e-accent); margin-bottom: 18px; }
.ev-results p { max-width: 620px; }
.ev-results .ev-btn { margin-top: 10px; min-width: 292px; }

/* 6. secondary dark block */
.ev-second { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 52px; }
.ev-second h2 { font-size: 32px; font-style: italic; line-height: 1.15; margin-bottom: 22px; color: #fff; }
.ev-second p, .ev-second li { color: #fff; }
.ev-second .ev-price { margin: 18px 0 26px; }
.ev-second .ev-price span { display: block; }
.ev-second .ev-btn { min-width: 300px; }

/* video poster (click to play) */
.ev-media .ev-video-cap + .ev-video { margin-top: 28px; }
.ev-video-cap { margin: 10px 0 0; font: 400 12px/1.4 var(--e-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.92); }

/* 7. closing tagline over soft fabric (CSS stand-in) */
.ev-close { position: relative; text-align: center; padding: 120px var(--e-pad); min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  background:
    radial-gradient(120% 60% at 20% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 60%),
    radial-gradient(90% 70% at 85% 70%, rgba(236,226,238,.9), rgba(236,226,238,0) 65%),
    repeating-linear-gradient(115deg, #f6f1f4 0 40px, #efe7ee 80px, #f8f4f6 140px, #ece3ea 200px, #f6f1f4 260px);
}
.ev-close h2 { position: relative; font-size: 36px; line-height: 1.2; margin-bottom: 34px; }
.ev-close .ev-btn { position: relative; min-width: 500px; }
.ev-close .ev-photo-tag { background: rgba(59,43,62,.75); }

/* image placeholders */
.ev-ph { position: relative; display: grid; place-items: center; text-align: center; aspect-ratio: var(--ar, 1 / 1); padding: 24px;
  background: repeating-linear-gradient(135deg, #efe6f0 0 14px, #f7f1f7 14px 28px); border: 1px dashed #9a7b9e; color: var(--e-ink); }
.ev-ph strong { display: block; font: 500 13px/1.3 var(--e-head); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.ev-ph span { font-size: 13px; line-height: 1.5; }
.ev-ba { display: grid; grid-template-columns: 1fr 1fr; }
.ev-ba .ev-ph { --ar: 1 / 2; }
.ev-ba .ev-ph + .ev-ph { border-left: 0; }
.ev-ba-cap { display: flex; justify-content: space-between; gap: 12px; background: var(--e-deep); color: #fff; padding: 9px 14px; font: 500 12px/1.3 var(--e-head); letter-spacing: .18em; text-transform: uppercase; }

/* DMK: Remove / Rebuild / Protect / Maintain */
.ev-steps h2 { font-size: 36px; text-align: center; margin-bottom: 8px; }
.ev-steps > p { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.ev-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ev-steps li img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 16px; }
.ev-steps h3 { font-size: 20px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; color: var(--e-accent); }
.ev-steps li p { font-size: 15px; line-height: 1.6; }
.ev-src { font-size: 12px; letter-spacing: .06em; color: #6b5a6d; text-align: center; margin: 22px 0 0 !important; }

/* DMK: Chandler-style service option selector, in Enso styling */
.ev-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: start; padding-top: 64px; padding-bottom: 72px; }
.ev-book h2 { font-size: 36px; letter-spacing: 4px; text-transform: uppercase; line-height: 1.25; margin-bottom: 22px; }
.ev-meta { margin-top: 8px; font-size: 15px; line-height: 1.9; }
.ev-meta strong { font-weight: 600; }
.ev-sep { margin: 0 10px; font-weight: 300; }
.ev-opts { background: #fff; border: 1px solid rgba(59,43,62,.22); padding: 28px; }
.ev-opts__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ev-opts__head h3 { font-size: 25.5px; }
.ev-req { font: 500 12px/1 var(--e-body); letter-spacing: .1em; text-transform: uppercase; background: var(--e-deep); color: #fff; padding: 7px 11px; }
.ev-opts__sub { margin: 4px 0 18px !important; font-size: 14px; color: #5d4a60; }
.ev-opts fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-opt { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(59,43,62,.35); cursor: pointer; transition: border-color .2s, background .2s; }
.ev-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ev-opt__txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ev-opt__name { display: block; font: 400 16px/1.3 var(--e-head); letter-spacing: 2px; text-transform: uppercase; }
.ev-opt__meta { display: block; font-size: 14px; color: #5d4a60; margin-top: 3px; }
.ev-opt__note { display: block; font-size: 12.5px; color: #6b5a6d; margin-top: 3px; font-style: italic; }
.ev-opt__dot { flex: none; flex-shrink: 0; width: 24px; height: 24px; border: 1px solid var(--e-ink); border-radius: 50%; display: grid; place-items: center; }
.ev-opt__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: transparent; }
.ev-opt:hover { border-color: var(--e-accent); }
.ev-opt:has(input:checked) { border-color: var(--e-deep); background: #f7f1f7; box-shadow: inset 0 0 0 1px var(--e-deep); }
.ev-opt:has(input:checked) .ev-opt__dot { border-color: var(--e-deep); }
.ev-opt:has(input:checked) .ev-opt__dot::after { background: var(--e-deep); }
.ev-opt:has(input:focus-visible) { outline: 2px solid var(--e-accent); outline-offset: 3px; }
.ev-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--e-rule); }
.ev-total small { display: block; font: 400 12px/1 var(--e-body); letter-spacing: .14em; text-transform: uppercase; color: #6b5a6d; margin-bottom: 6px; }
.ev-total strong { font: 400 17px/1.3 var(--e-head); }
.ev-total .ev-btn[aria-disabled="true"] { background: #cfc4d0; color: #4d3f50; cursor: not-allowed; }
.ev-gap { background: #fff3c4; color: #4a3a00; padding: 0 .25em; font-style: normal; }

/* mobile (Enso 390) */
@media (max-width: 760px) {
  main.ev { font-size: 15px; }
  .ev-band { padding: 48px 24px; }
  .ev-flag { padding: 7px 16px; }
  .ev-hero { min-height: 0; padding: 48px 24px 40px; }
  .ev-hero::before { background: rgba(55,36,58,.62); }
  .ev-hero h1 { font-size: 34px; line-height: 1.12; margin-bottom: 18px; }
  .ev-hero .ev-btn { width: 100%; }
  .ev-intro h2, .ev-benefits h2, .ev-faq h2, .ev-steps h2, .ev-close h2 { font-size: 28px; }
  .ev-intro .ev-btn, .ev-close .ev-btn, .ev-results .ev-btn, .ev-second .ev-btn { min-width: 0; width: 100%; }
  .ev-boxes { grid-template-columns: 1fr; gap: 8px; }
  .ev-boxes li { padding: 9px 14px; font-size: 14px; }
  .ev-faq { grid-template-columns: 1fr; padding-top: 44px; }
  .ev-faq h2 { margin-bottom: 26px; }
  .ev-acc summary { font-size: 20px; }
  .ev-acc details > div { padding-left: 28px; }
  .ev-results, .ev-second, .ev-book { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ev-ph { padding: 14px; }
  .ev-ph span { font-size: 12px; }
  .ev-results h2 { font-size: 34px; }
  .ev-second h2 { font-size: 26px; }
  .ev-second .ev-media { order: -1; }
  .ev-steps ol { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ev-steps h3 { font-size: 16px; letter-spacing: 2px; }
  .ev-steps li p { font-size: 13.5px; }
  .ev-book h2 { font-size: 28px; letter-spacing: 3px; }
  .ev-opts { padding: 20px 16px; }
  .ev-total { flex-direction: column; align-items: stretch; }
  .ev-total .ev-btn { width: 100%; }
  .ev-close { padding: 96px 24px; }
}
/* stacking: photo < overlay < copy */
.ev-hero > img { z-index: 0; }
.ev-hero::before { z-index: 1; }
.ev-hero__copy, .ev-hero .ev-photo-tag { z-index: 2; }

.ev-merge > .ev-intro { padding-bottom: 24px; }
.ev-merge > .ev-book { padding-top: 40px; }
.ev-merge > .ev-steps { padding-bottom: 24px; }
.ev-merge > .ev-steps + .ev-results { padding-top: 32px; }
.ev-book .ev-opts { background: var(--e-cream); }
.ev-total .ev-btn[aria-disabled="true"] { pointer-events: auto; }
/* tablet: stack fixed-width splits */
@media (max-width: 1024px) {
  .ev-results, .ev-second, .ev-book, .ev-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ev-faq h2 { margin-bottom: 8px; }
}
/* mobile type closer to Enso 390 */
@media (max-width: 760px) {
  main.ev { font-size: 16px; line-height: 1.6; }
  .ev-hero { padding-top: 64px; padding-bottom: 56px; }
  .ev-hero h1 { font-size: 38px; }
  .ev-intro h2, .ev-benefits h2, .ev-faq h2, .ev-steps h2 { font-size: 30px; }
  .ev-close { min-height: 540px; padding: 72px 24px; }
  .ev-close h2 { font-size: 32px; }
  .ev-second h2 { font-size: 28px; }
  .ev-acc summary { font-size: 21px; }
  .ev-faq h2 { margin-bottom: 28px; }
  .ev-boxes { gap: 6px; }
  .ev-boxes li { min-height: 54px; font-size: 14.5px; }
  .ev-steps li p { font-size: 14.5px; }
}
@media (max-width: 360px) { .ev-steps ol { grid-template-columns: 1fr; } }

/* production additions */
.ev-results-img { margin: 0; }
.ev-results-img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ev-close { background:
    radial-gradient(120% 60% at 20% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 60%),
    radial-gradient(90% 70% at 85% 70%, rgba(240,234,230,.9), rgba(240,234,230,0) 65%),
    repeating-linear-gradient(115deg, #f7f3ef 0 40px, #efe9e4 80px, #f9f6f2 140px, #ece5df 200px, #f7f3ef 260px); }
.ev-opt__meta:empty, .ev-opt__note:empty { display: none; }

/* Taller photo framing preserves both the practitioner and treatment. */
@media (min-width: 761px) {
  .ev-hero--portrait { min-height: 720px; }
}

/* Reusable service copy bands and outlined title/body cards. */
.ev-benefits > p { max-width: 860px; margin: 0 auto; }
.ev-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; text-align: left; }
.ev-cards > article { min-width: 0; padding: 24px; border: 1px solid var(--e-rule); border-radius: 0; }
.ev-cards h3 { font: 400 20px/1.3 var(--e-head); letter-spacing: 2px; text-transform: uppercase; color: var(--e-accent); margin-bottom: 12px; }
.ev-cards p { font-family: var(--e-body); margin-bottom: 0; }
.ev-faq-intro { padding-right: 36px; }
.ev-faq-intro > p { margin-top: 22px; }
@media (max-width: 1024px) {
  .ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-faq-intro { padding-right: 0; }
}
@media (max-width: 760px) {
  .ev-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Button-only closing band (no tagline): keep the fabric, drop the tall stage. */
.ev-close--compact { min-height: 0; padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 760px) { .ev-close--compact { min-height: 0; padding-top: 64px; padding-bottom: 64px; } }

/* Service template (batch 3): the Dermaplane v2 layout applied to every Learn More page.
   Section order: #what-is hero, #benefits, #what-to-expect (+ cards), optional extras
   (#watch, studio videos, nested services, DMK booking), #faq, #book. */
main.ev .ev-hero h1, main.ev .ev-benefits h2, main.ev .ev-intro h2 { text-transform: uppercase; }
.ev-hero h1 sup, .ev-benefits h2 sup, .ev-faq h2 sup { font-size: .5em; vertical-align: super; }
main.ev .ev-hero__sub { font: 400 22px/1.3 var(--e-head); margin: 4px 0 10px; color: #fff; }
.ev-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.ev-btns .ev-btn { margin: 0; }
.ev-hero .ev-btns .ev-btn { margin-top: 0; }
.ev-btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.ev-btn--ghost:hover, .ev-btn--ghost:focus-visible { background: #fff; color: var(--e-deep); }
.ev-close .ev-btns { justify-content: center; position: relative; }
.ev-close .ev-btns .ev-btn { min-width: 260px; }
.ev-note { font-size: 13px; line-height: 1.5; font-style: italic; color: #6b5a6d; }
.ev-hero .ev-note, .ev-dark .ev-note { color: rgba(255,255,255,.78); }
main.ev .ev-sub { font: 400 15px/1.4 var(--e-head); letter-spacing: 2px; text-transform: uppercase; margin: 34px 0 16px; color: inherit; }
.ev-benefits > ul:not(.ev-boxes) { max-width: 860px; margin: 0 auto 1em; padding-left: 1.2em; text-align: left; }
.ev-benefits > h3:not(.ev-sub) { font: 400 20px/1.3 var(--e-head); margin: 24px 0 10px; }
.ev-cards ul { margin: 0 0 1em; padding-left: 1.1em; }
.ev-cards li + li { margin-top: 4px; }
.ev-cards p + p, .ev-cards ul + p, .ev-cards p + ul { margin-top: 12px; }
.ev-cards .ev-note { margin-bottom: 8px; }
.ev-watch { text-align: center; }
.ev-watch h2 { font-size: 36px; line-height: 1.1; margin-bottom: 28px; color: #fff; }
.ev-watch__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.ev-watch.tx-studio-videos { display: block; margin: 0; }
.ev-dark .tx-studio-video-cap { color: rgba(255,255,255,.85); text-align: left; }
.ev-hero .ev-duration { font-size: 14px; letter-spacing: .08em; margin-top: -4px; opacity: .9; }
.ev-intro .flip-grid { grid-template-columns: minmax(0, 420px); justify-content: center; margin: 28px auto 0; text-align: left; }
@media (max-width: 760px) {
  main.ev .ev-hero__sub { font-size: 19px; }
  .ev-close .ev-btns .ev-btn { min-width: 0; width: 100%; }
  .ev-watch h2 { font-size: 30px; }
}
.ev-hero .ev-notice { display: block; margin: 0 0 16px; padding: 8px 12px; border-left: 3px solid var(--e-lilac); background: rgba(0,0,0,.28); color: #fff; font-size: 14px; }
.ev-watch__grid:has(> :only-child) { max-width: 760px; }
@media (min-width: 761px) { .ev-cards:has(> article:only-child) { grid-template-columns: minmax(0, 480px); justify-content: center; } }
