/* V171 Book page: iris garden backdrop + LUXUBU booking assistant (IRIS left, Isis right).
   Light by design: the backdrop is CSS gradients and two tiny inline SVGs (no image downloads);
   the two characters are ~18 KB WebP each, loaded at low priority. Animations move transform only. */

/* ---------- Iris garden backdrop ---------- */
html:has(body #sarahbook){
 --lx-iris:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 270'%3E%3Cg fill='%237a55b0' fill-opacity='.07' stroke='%235b3a8c' stroke-opacity='.22' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M100 120C84 95 86 60 100 38c14 22 16 57 0 82Z'/%3E%3Cpath d='M98 118C78 100 64 80 68 56c18 12 28 36 30 62Z'/%3E%3Cpath d='M102 118c20-18 34-38 30-62-18 12-28 36-30 62Z'/%3E%3Cpath d='M100 120c-30-5-56 10-62 42 22 1 48-12 62-34Z'/%3E%3Cpath d='M100 120c30-5 56 10 62 42-22 1-48-12-62-34Z'/%3E%3Cpath d='M100 124c-8 18-8 42 0 56 8-14 8-38 0-56Z' fill='%23d8b878' fill-opacity='.25'/%3E%3C/g%3E%3Cg fill='none' stroke='%235b3a8c' stroke-opacity='.2' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M100 180v88'/%3E%3Cpath d='M100 262c-30-34-40-70-30-112'/%3E%3Cpath d='M101 258c28-30 38-64 30-104'/%3E%3C/g%3E%3C/svg%3E");
 --lx-spark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cpath d='M30 22l2 6 6 2-6 2-2 6-2-6-6-2 6-2z' fill='%23b8903f' fill-opacity='.22'/%3E%3Ccircle cx='104' cy='92' r='1.6' fill='%237a55b0' fill-opacity='.22'/%3E%3C/svg%3E");
 background:
  var(--lx-iris) no-repeat left -36px bottom -24px/clamp(180px,22vw,300px) auto,
  var(--lx-iris) no-repeat right -40px top 120px/clamp(130px,15vw,210px) auto,
  var(--lx-spark) repeat 0 0/140px 140px,
  radial-gradient(70vw 50vh at 0% 0%,rgba(155,123,208,.20),transparent 70%),
  radial-gradient(60vw 50vh at 100% 35%,rgba(216,184,120,.16),transparent 70%),
  radial-gradient(70vw 60vh at 15% 100%,rgba(242,167,195,.14),transparent 70%),
  linear-gradient(180deg,#faf6f1 0%,#f5eff9 100%) !important;
 background-attachment:fixed !important;
}
html:has(body #sarahbook) body{background:transparent!important}
/* Cards float on the garden with a soft lift */
html body:not(#_) #sarahbook.sarahbook170{position:relative;background:rgba(255,253,249,.94)!important;border:1px solid var(--color-rule,#e2d6e6)!important;border-radius:26px!important;box-shadow:0 20px 44px -30px rgba(35,21,48,.45)!important;overflow:hidden}
html body:not(#_) #sarahbook.sarahbook170::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#5b3a8c,#9b7bd0 50%,#d8b878)}

/* ---------- LUXUBU intro ---------- */
html body:not(#_) #sarahbook .sb-intro.lx-intro{display:grid!important;grid-template-columns:clamp(96px,14vw,138px) minmax(0,1fr) clamp(96px,14vw,138px)!important;grid-template-areas:"iris eyebrow isis" "iris title isis" "iris text isis";column-gap:18px!important;row-gap:4px!important;align-items:center!important;text-align:center;padding-top:6px}
html body:not(#_) #sarahbook .lx-intro .sb-intro-copy{display:contents}
.lx-intro .lx-char{position:relative;margin:0;align-self:end}
.lx-intro .lx-iris{grid-area:iris}.lx-intro .lx-isis{grid-area:isis}
.lx-intro .lx-char::before{content:"";position:absolute;left:8%;right:8%;bottom:6px;height:22%;border-radius:50%;background:radial-gradient(closest-side,rgba(155,123,208,.35),transparent);z-index:0}
.lx-intro .lx-char img{position:relative;z-index:1;display:block;width:100%;height:auto;transform-origin:50% 100%;will-change:transform}
.lx-intro .lx-iris img{animation:lx-hop 2.6s ease-in-out infinite}
.lx-intro .lx-isis img{animation:lx-strut 3.4s ease-in-out .4s infinite}
.lx-intro .lx-char:hover img{animation:lx-wave .8s ease-in-out}
@keyframes lx-hop{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-9px) rotate(-3deg)}55%{transform:translateY(0) scale(1.03,.97)}75%{transform:translateY(-3px) rotate(2deg)}}
@keyframes lx-strut{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(3deg) translateY(-4px)}}
@keyframes lx-wave{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg) translateY(-6px)}60%{transform:rotate(7deg)}}
html body:not(#_) #sarahbook .lx-intro figcaption{position:relative;z-index:2;display:inline-flex;align-items:center;gap:5px;margin-top:-4px;padding:4px 12px;border-radius:999px;font:600 12px/1 'Jost',system-ui,sans-serif;letter-spacing:.16em;color:#fffaf3;background:#5b3a8c;box-shadow:0 6px 14px -8px rgba(35,21,48,.6)}
html body:not(#_) #sarahbook .lx-isis figcaption{background:#231530}
.lx-intro .lx-diamond{width:10px;height:10px;transform:rotate(45deg);background:linear-gradient(135deg,#f6e7c1,#d8b878 50%,#b8903f);border-radius:1px;box-shadow:0 0 6px rgba(216,184,120,.9);animation:lx-glint 2.2s ease-in-out infinite}
@keyframes lx-glint{0%,100%{opacity:.7}50%{opacity:1;box-shadow:0 0 10px rgba(246,231,193,1)}}

html body:not(#_) #sarahbook .lx-intro .lx-eyebrow{grid-area:eyebrow;margin:0!important;font:600 12px/1 'Jost',system-ui,sans-serif!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:var(--color-gold,#b8903f)!important;align-self:end}
html body:not(#_) #sarahbook .lx-intro h2{grid-area:title;margin:2px 0 0!important;text-align:center!important;font:500 clamp(2rem,1.4rem + 2vw,2.9rem)/1.02 'Cormorant Garamond',Georgia,serif!important;color:var(--color-ink,#231530)!important}
html body:not(#_) #sarahbook .lx-intro h2{overflow-wrap:normal!important;word-break:normal!important}
html body:not(#_) #sarahbook .lx-intro h2 b{white-space:nowrap;font-weight:600;letter-spacing:.06em;background:linear-gradient(90deg,#5b3a8c,#9b7bd0 55%,#b8903f);-webkit-background-clip:text;background-clip:text;color:transparent}
html body:not(#_) #sarahbook .lx-intro .lx-text{grid-area:text;margin:6px auto 0!important;max-width:46ch!important;align-self:start;text-align:center}
html body:not(#_) #sarahbook .lx-intro .sb-reset{position:absolute;top:14px;right:16px;z-index:3}

/* Chat: the bot avatar is IRIS's face (same cached image) */
html body:not(#_) #sarahbook .sb-ava-img{width:34px;height:34px;border-radius:50%;overflow:hidden;background:#efe6f8;border:1.5px solid #fff;box-shadow:0 0 0 1px var(--color-rule,#e2d6e6)}
html body:not(#_) #sarahbook .sb-ava-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%;transform:scale(1.5);transform-origin:50% 30%}

@media(max-width:640px){
 html body:not(#_) #sarahbook .sb-intro.lx-intro{grid-template-columns:86px minmax(0,1fr) 86px!important;grid-template-areas:"iris eyebrow isis" "iris title isis" "text text text";column-gap:6px!important;padding-top:18px}
 html body:not(#_) #sarahbook .lx-intro h2{font-size:1.75rem!important}
 html body:not(#_) #sarahbook .lx-intro h2 b{letter-spacing:.02em}
 html body:not(#_) #sarahbook .lx-intro .lx-text{margin-top:10px!important;font-size:.9rem!important}
 html body:not(#_) #sarahbook .lx-intro figcaption{font-size:10px;padding:3px 9px}
 html body:not(#_) #sarahbook .lx-intro .sb-reset{top:10px;right:12px}
 html:has(body #sarahbook){background-attachment:scroll!important}
}
@media(prefers-reduced-motion:reduce){.lx-intro *{animation:none!important}}

/* ---------- V171 LUXUBU mode (booking.html?luxubu=1) ---------- */
/* Same experience as the LUXUBU page: no booking banner, IRIS and Isis guide each step. */
html.lx-mode body:not(#_) :is(.booking-hero151,.booking-promises151,#customer-favourites134){display:none!important}
html.lx-mode body:not(#_) #sarahbook :is(.sb-ask,.sb-ex,.sb-chat,.sb-reset){display:none!important}
html.lx-mode body:not(#_) #sarahbook.sarahbook170{margin-top:14px!important}
html.lx-mode body:not(#_) #sarahbook .lx-exit171{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 6px;font:600 14px/1 'Jost',system-ui,sans-serif}
html.lx-mode body:not(#_) #sarahbook .lx-exit171 a{color:var(--color-accent,#5b3a8c)!important;text-decoration:none;padding:6px 0}
html.lx-mode body:not(#_) #sarahbook .lx-exit171 a:hover{text-decoration:underline}
html.lx-mode body:not(#_) #sarahbook .lx-intro .lx-say171{position:relative;display:block;max-width:440px!important;margin:10px auto 0!important;padding:12px 16px!important;border-radius:18px;background:#ece3f6;color:#231530!important;font:400 15.5px/1.4 'Jost',system-ui,sans-serif!important;text-align:center}
html.lx-mode body:not(#_) #sarahbook .lx-intro .lx-say171[data-who=isis]{background:#231530;color:#f3ecfa!important}
html.lx-mode body:not(#_) #sarahbook .lx-intro .lx-say171 small{display:block;font-size:11px;letter-spacing:.14em;opacity:.7;margin-bottom:2px}
html.lx-mode #sarahbook .lx-say171.lx-pop171{animation:lx-pop171 .45s cubic-bezier(.3,1.6,.5,1) both}
html.lx-mode #sarahbook .lx-char.lx-talk171 img{animation:lx-talk171 .5s ease-in-out 3!important}
@keyframes lx-pop171{from{opacity:0;transform:scale(.8) translateY(6px)}to{opacity:1;transform:none}}
@keyframes lx-talk171{0%,100%{transform:none}50%{transform:translateY(-10px) rotate(-4deg) scale(1.04)}}
@media(prefers-reduced-motion:reduce){html.lx-mode #sarahbook :is(.lx-say171,.lx-char img){animation:none!important}}
html.lx-mode body:not(#_) #sarahbook[hidden]{display:grid!important}
