/*
VOICE: soft, warm, unhurried; a home lash studio that books in three taps
IDEA: her sweet pea watercolour, the same painting carried through every screen
PICTURE: painted header and the flowing vine that ties the home sections together
COLOUR and TYPE: cream paper, berry for every action, sage only for "open" and calm notes; Bodoni Moda italic titles, Quicksand body, thin price numerals
LAYOUT: one phone column (390px) scaled to fill any phone; on wide screens it sits centred over the painting
*/
:root{color-scheme:light}
*{box-sizing:border-box}
html{background:#EFE2D8}
body{margin:0;font-family:'Quicksand',system-ui,sans-serif;font-size:16px;font-weight:500;line-height:1.5;color:#4A2F33;-webkit-font-smoothing:antialiased;overflow-x:clip}
#app{position:relative;width:390px;min-height:calc(100vh / var(--z,1));margin:0 auto;background:#FBF1EA;overflow-x:clip;box-shadow:0 0 0 1px rgba(110,26,66,.06),0 24px 60px rgba(110,26,66,.14)}
a{color:#82234E}a:hover{color:#6B1B40}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #82234E;outline-offset:3px}
img{max-width:none}
.wc{background:#F8F0E0 url(/assets/watercolour.jpg) center top/cover no-repeat}
.goldvine{background:#82234E url(/assets/goldvine.svg) repeat-x center 6px/390px 60px}
.frost{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.view{position:relative;min-height:calc(100vh / var(--z,1));padding-bottom:32px}
@media (prefers-reduced-motion:no-preference){.view{animation:fade .28s ease}@keyframes fade{from{opacity:0}to{opacity:1}}}
.band,.foot{position:absolute;left:0;width:390px;pointer-events:none}
.band{top:0}.foot{bottom:0;height:220px}
.band i,.band b,.foot i,.foot b{position:absolute;inset:0}
.band i{background:#F8F0E0 url(/assets/watercolour.jpg) center top/390px auto no-repeat}
.band b{background:linear-gradient(180deg,rgba(251,241,234,.22) 0%,rgba(251,241,234,.62) 42%,rgba(251,241,234,.9) 72%,#FBF1EA 100%)}
.band.hero b{background:radial-gradient(ellipse 70% 60% at 50% 58%,rgba(251,246,236,.9) 0%,rgba(251,246,236,.55) 60%,rgba(251,246,236,0) 85%),linear-gradient(180deg,rgba(251,241,234,.15) 0%,rgba(251,241,234,.6) 58%,#FBF1EA 100%)}
.foot i{background:#F8F0E0 url(/assets/watercolour.jpg) center bottom/390px auto no-repeat}
.foot b{background:linear-gradient(180deg,#FBF1EA 0%,rgba(251,241,234,.55) 45%,rgba(251,241,234,.1) 100%)}
.hdr{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 0}
.circ{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,250,244,.94);border:1.5px solid #E7D2C6;box-shadow:0 4px 10px rgba(110,26,66,.1);flex:none}
.word{font-family:'Bodoni Moda',serif;font-style:italic;font-size:21px;font-weight:600;color:#82234E;text-decoration:none}
.step{min-width:44px;text-align:right;font-size:13px;font-weight:700;color:#6E5156}
.prog{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 16px 0}
.prog i{display:block;height:5px;border-radius:999px;background:#E9D6CC}.prog .done i{background:#82234E}
.prog span{display:block;margin-top:5px;font-size:12.5px;font-weight:700;color:#8A6F73}.prog .now span{color:#82234E}
.main{position:relative;padding:18px 16px 0}
.h1{margin:0;font-family:'Bodoni Moda',serif;font-style:italic;font-size:32px;font-weight:500;line-height:1.1;color:#82234E;text-wrap:balance}
.h1.big{font-size:40px}.center{text-align:center}
.h2{margin:18px 0 0;font-family:'Bodoni Moda',serif;font-style:italic;font-size:24px;font-weight:600;line-height:1.2;color:#6E1A42}
.sub{margin:4px 0 0;color:#6E5156}
.note{margin:10px 0 0;font-size:13px;color:#6E5156}
.glow{text-shadow:0 0 2px #FBF6EC,0 0 8px #FBF6EC,0 0 18px rgba(251,246,236,.95)}
.card{background:#FFF8F3;border:1.5px solid #EBD3C8;border-radius:20px;box-shadow:0 8px 18px rgba(110,26,66,.07)}
.thin{font-size:21px;font-weight:450;line-height:1;letter-spacing:.01em;font-variant-numeric:lining-nums tabular-nums;color:#6E1A42;white-space:nowrap}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;margin-top:12px;padding:0 20px;border-radius:999px;border:2.5px solid #82234E;background:#82234E;color:#fff;font:inherit;font-size:17px;font-weight:700;text-decoration:none;box-shadow:0 8px 18px rgba(130,35,78,.25);cursor:pointer}
.btn:hover{color:#fff;background:#6E1A42}
.btn.out{background:#FFFDF9;color:#82234E;box-shadow:0 5px 12px rgba(130,35,78,.12)}.btn.out:hover{background:#FCEBEF;color:#6E1A42}
.btn[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.tlink{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin-top:6px;padding:0;border:0;background:none;color:#82234E;font:inherit;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer}
.tlink span{text-decoration:underline;text-underline-offset:3px}
.tint{display:flex;align-items:flex-start;gap:12px;margin-top:12px;padding:14px 16px;border-radius:18px;border:1.5px solid}
.tint.pink{background:#FCEBEF;border-color:#F0CDD9}.tint.sage{background:#EEF3E6;border-color:#D6E2C8}
.tint .ic{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff;flex:none}
.tint .tx{flex:1}.tint b{display:block;font-size:15.5px;line-height:1.35;color:#4A2F33}.tint small{display:block;margin-top:2px;font-size:14px;line-height:1.45;color:#6E5156}
.sum{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px}
.sum .bl{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#FCEBEF;flex:none}
.sum .tx{flex:1;min-width:0}.sum b{display:block;font-size:16px;line-height:1.3}.sum small{display:block;font-size:13.5px;line-height:1.35;color:#6E5156}
.sum .rt{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.sum .rt a{font-size:13.5px;font-weight:700}
.week{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-weight:700}
.wbtn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:50%;border:2px solid #82234E;background:#FFFDF9;cursor:pointer}
.wbtn[disabled]{opacity:.3;cursor:not-allowed}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:10px}
.day{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 0 6px;border-radius:14px;background:#FFFDF9;border:1.5px solid #E3CABE;font:inherit;color:#4A2F33;cursor:pointer}
.day small{font-size:11.5px;font-weight:700;color:#6E5156}.day strong{font-size:18px;line-height:1.2}.day i{width:5px;height:5px;border-radius:50%;background:#6F9A4E}
.day.on{background:#82234E;border:2px solid #82234E;color:#fff}.day.on small{color:rgba(255,255,255,.85)}.day.on i{background:#fff}
.day[disabled]{background:transparent;border-style:dashed;color:#B59C9F;cursor:default}.day[disabled] small{color:#B59C9F}.day[disabled] i{background:transparent}
.grp{margin:12px 0 6px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9C7650}
.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.slot{display:flex;align-items:center;justify-content:center;gap:4px;min-height:48px;border-radius:16px;border:2.5px solid #82234E;background:#FFFDF9;color:#4A2F33;font:inherit;font-size:16px;font-weight:700;white-space:nowrap;box-shadow:0 4px 10px rgba(130,35,78,.12);cursor:pointer}
.slot.on{background:#82234E;color:#fff;box-shadow:0 6px 14px rgba(130,35,78,.28)}
.bar{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:12px 16px 16px;background:rgba(255,250,244,.96);border-top:1px solid #EAD3C8}
.bar b{display:block;font-size:15.5px;line-height:1.3}.bar small{display:block;font-size:14px;color:#6E5156}
.bar .btn{width:auto;min-width:150px;margin:0}
.lbl{display:block;margin-top:14px;font-size:14.5px;font-weight:700}.lbl em{font-style:normal;font-weight:500;color:#6E5156}
.fld{display:block;width:100%;margin-top:6px;padding:13px 14px;border-radius:14px;border:1.5px solid #E3CABE;background:#FFFDF9;font:inherit;font-size:16px;color:#4A2F33}
.fld:focus{border-color:#82234E}.fld.bad{border-color:#B3261E}
textarea.fld{resize:none}
.err{margin:6px 0 0;font-size:13.5px;font-weight:600;color:#B3261E}
.sw{position:relative;flex:none;width:52px;height:32px;padding:0;border:0;border-radius:999px;background:#CDB7AE;cursor:pointer}
.sw::after{content:'';position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .15s}
.sw[aria-checked=true]{background:#82234E}.sw[aria-checked=true]::after{left:24px}
.chk{display:flex;align-items:flex-start;gap:10px;margin-top:14px;font-size:14px;line-height:1.45;cursor:pointer}
.chk input{position:absolute;opacity:0;width:1px;height:1px}
.chk .bx{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;border:2px solid #82234E;background:#FFFDF9;flex:none}
.chk input:checked+.bx{background:#82234E}.chk input:focus-visible+.bx{outline:3px solid #82234E;outline-offset:2px}
.medal{position:relative;display:flex;justify-content:center}
.medal>span{display:inline-flex;padding:6px;border-radius:50%;border:2px solid #B8926A;background:#FCF0E7;box-shadow:0 0 0 8px rgba(255,250,242,.6),0 14px 30px rgba(110,60,50,.18)}
.medal .in{display:flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:50%;border:3px solid #FFF8F3;background:#FFF8F3}
.rows>div{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-top:1px solid #F0DDD4;font-size:15px;line-height:1.4}
.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;background:#EEF3E6;border:1px solid #D6E2C8;font-size:13px;font-weight:700;color:#34581F}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.two>div{padding:12px 14px;border-radius:18px;background:#EEF3E6;border:1.5px solid #D6E2C8}
.two b{display:block;margin-top:6px;font-size:14.5px;line-height:1.35}
.scrim{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;background:rgba(47,29,32,.45)}
.sheet{width:390px;padding:10px 20px 22px;border-radius:28px 28px 0 0;background:#FFF8F3;box-shadow:0 -12px 30px rgba(47,29,32,.22)}
.sheet .grab{width:42px;height:5px;margin:0 auto 14px;border-radius:999px;background:#E0C9BE}
@media (prefers-reduced-motion:no-preference){.sheet{animation:up .25s ease}@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}}

/* wide screens: the phone column floats over a soft version of the painting */
body::before{content:'';position:fixed;inset:0;z-index:-1;background:url(/assets/watercolour.jpg) center/cover no-repeat;opacity:.38}
/* inputs stay at a true 16px when the page is scaled down, so phones do not zoom in on tap */
.fld{font-size:max(16px,calc(16px / var(--z,1)))}
/* loading and empty states */
.skel{display:block;min-height:62px;border-radius:16px;background:linear-gradient(90deg,#F6E7DE 0%,#FBF1EA 50%,#F6E7DE 100%);background-size:200% 100%}
@media (prefers-reduced-motion:no-preference){.skel{animation:shine 1.2s linear infinite}@keyframes shine{to{background-position:-200% 0}}}
.spin{display:inline-block;width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(130,35,78,.25);border-top-color:#82234E;vertical-align:-3px}
@media (prefers-reduced-motion:no-preference){.spin{animation:rot .8s linear infinite}@keyframes rot{to{transform:rotate(360deg)}}}
.btn .spin{border-color:rgba(255,255,255,.35);border-top-color:#fff}
.loading{display:flex;align-items:center;gap:10px;margin-top:16px;color:#6E5156;font-weight:600}
.calmenu{display:grid;gap:8px;margin-top:10px}
.calmenu[hidden]{display:none}
.calmenu a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:999px;background:#FFFDF9;border:1.5px solid #E3CABE;font-weight:700;text-decoration:none}

/* screen titles take focus after each move so screen readers start there; no ring needed on them */
h1[tabindex="-1"]:focus{outline:none}
