/* C.L.B Bath & Blowouts — site.css, the one foundation sheet every page links.
   keys  colour  --c1 ground · --c2 ink · --c3 deeper lilac · --c4 pink, decorative only · --c5 plate · --c6 ink wash
         space   --s1 hair · --s2 step · --s3 breath · --s4 gutter · --s5 block · --s6 section · --s7 field · --s8 rail
         type    --t1 reading · --t2 lede · --t3 aside · --t4 heading · --t5 big heading · --t6 slogan
         faces   --f1 Kalam · --f2 Nunito · timing --wait 450ms · --tuck easing */

:root{
  --c1:#E2D6FA; --c2:#281743; --c3:#CDB8EF; --c4:#FF24A8; --c5:#EFE7FD; --c6:rgba(40,23,67,.18);
  --s1:.25rem; --s2:.75rem; --s3:1.125rem; --s4:clamp(1rem,2vw,1.75rem); --s5:clamp(1.5rem,3vw,2.5rem);
  --s6:clamp(2.5rem,9vh,6.5rem); --s7:clamp(3rem,11vh,7rem); --s8:3.25rem;
  --t1:clamp(1.0625rem,.98rem + .3vw,1.1875rem); --t2:clamp(1.125rem,1.5vw,1.375rem);
  --t3:clamp(1.0625rem,1.2vw,1.1875rem); --t4:clamp(2.125rem,3.9vw,3.5rem);
  --t5:clamp(2.625rem,4.6vw,3.75rem); --t6:clamp(3.375rem,8.6vw,7.375rem);
  --f1:'Kalam','Iowan Old Style',cursive; --f2:'Nunito',system-ui,'Segoe UI',sans-serif;
  --rim:clamp(1.125rem,4vw,3.25rem);
  --wait:450ms; --tuck:cubic-bezier(.33,.02,.24,1);
}
@media (min-width:720px){ :root{ --s8:clamp(4.75rem,6vw,6rem); } }

/* ————————————————————————— layout ————————————————————————— */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; min-height:100svh; overflow-x:clip; font-family:var(--f2); font-size:var(--t1); line-height:1.65; font-weight:400; }
img,svg{ display:block; }
img{ max-width:100%; height:auto; object-fit:cover; }
p{ margin:0 0 var(--s3); }

/* press_plain — the one button shape: a solid pill with uneven paint corners, thumb height */
.press_plain{ display:inline-flex; align-items:center; justify-content:center; min-height:2.75rem; padding:.55rem 1.1rem; border:0; border-radius:1.1rem .8rem 1.15rem .9rem; font-family:var(--f2); font-size:1rem; line-height:1.2; text-decoration:none; cursor:pointer; }

/* press_text — a control that reads as a link, still thumb height */
.press_text{ display:inline-flex; align-items:center; min-height:2.75rem; padding:.15rem 0; background:none; border:0; font-family:var(--f2); font-size:1.0625rem; line-height:1.4; text-decoration:underline; text-underline-offset:.22em; cursor:pointer; }

/* link_under — the site's plain link: underlined text, nothing else */
.link_under{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.22em; }

/* chrome_skip — first tab stop, slides in at the top left on its own solid plate */
.chrome_skip{ position:fixed; top:var(--s2); left:var(--s2); z-index:80; transform:translateY(-220%); transition:transform 180ms var(--tuck); }
.chrome_skip:focus-visible{ transform:none; }

/* chrome_bar — the name plate alone, in flow, so the opening keeps its whole first window */
.chrome_bar{ display:flex; align-items:center; padding:var(--s2) var(--s8) var(--s2) var(--rim); }

/* chrome_plate — the linked business name on its small lilac plate, mark to the left of it */
.chrome_plate{ display:inline-flex; align-items:center; gap:.6rem; min-height:2.75rem; padding:.45rem 1rem .5rem .8rem; text-decoration:none; border-radius:1.15rem .8rem 1.2rem .95rem; }
.chrome_fermata{ width:1.85rem; height:1.35rem; flex:none; }
.chrome_name{ font-size:1.0625rem; line-height:1.15; letter-spacing:.01em; }

/* chrome_tab — "Menu", fixed to the right edge at mid-height on its own plate */
.chrome_tab{ position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:60; min-width:2.6rem; min-height:6rem; padding:.9rem .55rem; writing-mode:vertical-rl; text-orientation:mixed; letter-spacing:.05em; font-size:.95rem; border-radius:1.1rem 0 0 1.1rem; }
@media (min-width:720px){
  .chrome_tab{ writing-mode:horizontal-tb; min-width:0; min-height:2.75rem; padding:1rem 1.05rem; font-size:1rem; border-radius:1.35rem 0 0 1.35rem; }
}

/* chrome_drawer — the right-hand drawer: sentence-case links in one list, a close control at the top */
.chrome_drawer{ position:fixed; inset-block:0; right:0; z-index:70; width:min(88vw,23rem); display:flex; flex-direction:column; gap:var(--s4); padding:var(--s4) var(--s3) var(--s5); overflow-y:auto; }
.chrome_drawer[hidden]{ display:none; }
.chrome_drawer_top{ display:flex; align-items:flex-start; justify-content:space-between; gap:var(--s3); }
.chrome_drawer_name{ margin:0; font-family:var(--f1); font-size:1.25rem; line-height:1.2; }
.chrome_list{ display:flex; flex-direction:column; gap:.1rem; }
.chrome_link{ display:flex; align-items:center; min-height:2.75rem; padding:.35rem 0; font-size:1.25rem; line-height:1.3; text-decoration:none; }

/* chrome_reach — the phone inside the drawer: one plate, thumb height, never over the page */
.chrome_reach{ margin:0; }
.chrome_reach_call{ align-self:flex-start; font-size:1rem; }

/* chrome_foot — one unruled sentence: name, address, phone, email, the pages, the small print, cookie settings */
.chrome_foot{ padding:var(--s6) var(--s8) var(--s7) var(--rim); }
.chrome_line{ margin:0; max-width:96ch; font-size:1.0625rem; line-height:1.8; }
.chrome_line_name{ font-family:var(--f1); font-size:1.125rem; }

/* chrome_word — a page name or a number inside the sentence: no rule under it, the ink is the mark */
.chrome_word{ color:inherit; text-decoration:none; font-weight:600; }
.chrome_word:hover,.chrome_word:focus-visible{ text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:.22em; }
.chrome_word_btn{ display:inline; min-height:0; padding:0; background:none; border:0; font-family:var(--f2); font-size:1.0625rem; font-weight:600; line-height:inherit; text-decoration:none; vertical-align:baseline; cursor:pointer; }
.chrome_word_btn:hover,.chrome_word_btn:focus-visible{ text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:.22em; }

/* chrome_consent — a slim lilac band under the name plate, in flow, never over the page */
.chrome_consent{ display:flex; flex-wrap:wrap; align-items:center; gap:var(--s2) var(--s4); padding:var(--s2) var(--s8) var(--s2) var(--rim); }
.chrome_consent[hidden]{ display:none; }
.chrome_consent_text{ flex:1 1 20rem; margin:0; font-size:1rem; line-height:1.5; }
.chrome_choices{ display:flex; flex-wrap:wrap; gap:var(--s2); }

/* the consent band on a phone: sentence on the first row, then the two choices one above the other */
@media (max-width:520px){
  .chrome_consent{ gap:.4rem var(--s2); padding:.5rem var(--rim); }
  .chrome_consent_text{ flex:1 1 100%; line-height:1.4; }
  .chrome_choices{ width:100%; flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:.35rem; }
  .chrome_choices .press_plain{ width:100%; padding:.45rem .9rem; border-radius:.95rem .7rem 1rem .8rem; }
}

/* promo_say — the offer's one sentence, inside #note */
.promo_say{ margin:0; font-size:1rem; line-height:1.5; }

/* page_main — the page body, held clear of the fixed tab's rail on the right */
.page_main{ display:block; padding-inline:var(--rim) var(--s8); }

/* page_opening — the first screen: live type only, no picture behind it; slogan, h1, directions link */
.page_opening{ display:grid; grid-template-columns:1fr; align-content:center; gap:var(--s3); min-height:calc(100svh - 5.5rem); padding-block:var(--s5) var(--s6); }
.page_slogan{ margin:0; }
.page_signature{ margin:0; }
.page_way{ justify-self:start; font-size:1.0625rem; }
@media (min-width:720px){
  .page_opening{ grid-template-columns:repeat(6,1fr); column-gap:var(--s4); }
  .page_slogan{ grid-column:1/6; }
  .page_signature{ grid-column:1/4; }
  .page_way{ grid-column:1/3; }
}

/* page_columns — the six-column desk grid for a section's content; one column on a phone */
.page_columns{ display:grid; grid-template-columns:1fr; gap:var(--s5) var(--s4); }
@media (min-width:720px){ .page_columns{ grid-template-columns:repeat(6,1fr); } }

/* page_section — a section frame with the site's bounded padding-block */
.page_section{ padding-block:var(--s6); }

/* page_reading — running copy; the measure follows the column it is set in */
.page_reading{ font-size:var(--t1); line-height:1.7; }
.page_reading p{ max-width:36em; }

/* page_note — a caption, a label, a fact: never under 0.9rem */
.page_note{ font-size:.95rem; line-height:1.5; }

/* print_figure · print_picture · print_caption — a straight photo crop; its caption sits against its own left edge */
.print_figure{ margin:0; container-type:inline-size; }
.print_picture{ position:relative; overflow:hidden; border-radius:1.6rem 1.15rem 1.75rem 1.3rem; }
.print_picture img{ width:100%; height:100%; object-fit:cover; }
.print_caption{ margin:var(--s2) 0 0; font-size:.95rem; line-height:1.45; }
@container (min-width:30rem){ .print_caption{ max-width:34ch; } }

/* print_scrim · print_over — light type over a photograph, always on a gradient at its quiet edge */
.print_scrim{ position:absolute; inset:auto 0 0; height:60%; background:linear-gradient(to top,rgba(40,23,67,.88),rgba(40,23,67,.44) 55%,rgba(40,23,67,0)); }
.print_over{ position:absolute; left:var(--s3); right:var(--s3); bottom:var(--s3); z-index:2; color:#F8F4FF; font-size:1.0625rem; line-height:1.45; }

/* paint_blob — a flat lilac shape behind a photograph or a copy block; it stays behind the type */
.paint_blob{ position:relative; isolation:isolate; }
.paint_blob::before{ content:""; position:absolute; inset:-5% -4% -6% -5%; z-index:-1; background:var(--c3); border-radius:2.4rem 1.4rem 2.9rem 1.1rem; }

/* rule_ink — one ink rule for a margin or a break; it never crosses type */
.rule_ink{ width:100%; margin:0 0 var(--s4); border:0; border-top:1px solid var(--c2); opacity:.45; }

/* voice_fermata — the recurring device: the arc and its dot, sized to a lowercase word; voice_wide for a larger one */
.voice_fermata{ width:2.6em; height:1.87em; color:var(--c2); }
.voice_wide{ width:4em; height:2.87em; }
.voice_sprite{ position:absolute; width:0; height:0; overflow:hidden; }

/* veil_section — the shared reveal: a hard edge that retreats left to right, once, on the scroll */
.veil_section{ clip-path:inset(0 0 0 0); }
.cbl-veil-on .veil_section{ clip-path:inset(0 100% 0 0); }
.cbl-veil-on .veil_section.cbl-shown-on{ clip-path:inset(0 0 0 0); }

/* ————————————————————————— type ————————————————————————— */
h1,h2,h3{ margin:0 0 var(--s3); font-family:var(--f1); font-weight:400; line-height:1.04; letter-spacing:0; }
h1{ font-size:var(--t5); }
h2{ font-size:var(--t4); }
h3{ font-size:var(--t2); line-height:1.2; }
.page_slogan{ font-family:var(--f1); font-weight:400; font-size:var(--t6); line-height:1.02; }
.page_signature{ font-size:clamp(2.125rem,3.6vw,2.875rem); line-height:1.02; }
.page_lede{ font-size:var(--t2); line-height:1.55; }
.chrome_plate,.chrome_tab,.chrome_link,.chrome_reach,.chrome_foot{ font-family:var(--f2); }
.chrome_tab{ text-align:center; }

/* ————————————————————————— colour ————————————————————————— */
body{ background:var(--c1); color:var(--c2); }
:focus-visible{ outline:2px solid var(--c2); outline-offset:3px; border-radius:.35rem; }
.press_plain{ background:var(--c2); color:var(--c1); }
.press_plain:hover{ background:var(--c1); color:var(--c2); box-shadow:inset 0 0 0 2px var(--c2); }
.press_text{ color:var(--c2); }
.link_under{ color:var(--c2); }
.link_under:hover{ text-decoration-thickness:2px; }
.chrome_skip.press_plain{ background:var(--c2); color:var(--c1); }
.chrome_plate{ background:var(--c3); color:var(--c2); }
.chrome_plate:hover{ background:var(--c5); }
.chrome_tab.press_plain{ background:var(--c3); color:var(--c2); }
.chrome_tab.press_plain:hover,.chrome_tab.press_plain:focus-visible{ background:var(--c5); color:var(--c2); box-shadow:inset 2px 0 0 var(--c2); }
.chrome_drawer{ background:var(--c3); color:var(--c2); box-shadow:-1.5rem 0 2.5rem rgba(40,23,67,.18); }
.chrome_link{ color:var(--c2); }
.chrome_link:hover,.chrome_link:focus-visible{ text-decoration:underline; text-underline-offset:.24em; }
.chrome_reach_call.press_plain{ background:var(--c2); color:var(--c1); }
.chrome_reach_call.press_plain:hover{ background:var(--c5); color:var(--c2); box-shadow:inset 0 0 0 2px var(--c2); }
.chrome_consent{ background:var(--c3); color:var(--c2); }
.chrome_consent .press_plain{ background:var(--c2); color:var(--c1); }
.chrome_consent .press_plain:hover{ background:var(--c5); color:var(--c2); box-shadow:inset 0 0 0 2px var(--c2); }
.chrome_foot{ color:var(--c2); }
.print_picture{ background:var(--c3); }
.page_way{ color:var(--c2); }
#note{ background:var(--c2); color:var(--c1); }
#note .promo_say{ color:var(--c1); }
#note .link_under,#note .press_text{ color:var(--c1); }

/* ————————————————————————— motion ————————————————————————— */
.chrome_drawer{ transition:transform 240ms var(--tuck); }
.veil_section{ transition:clip-path var(--wait) var(--tuck); }
#note{ transition:transform 320ms var(--tuck),opacity 220ms linear; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ transition-duration:.001ms !important; animation-duration:.001ms !important; }
  .veil_section,.cbl-veil-on .veil_section,.cbl-veil-on .veil_section.cbl-shown-on{ clip-path:none !important; }
  .chrome_skip{ transition:none; }
}

header :is(a, button), nav :is(a, button) { position: relative; z-index: 2; }
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
html, body { overflow-x: clip; }
@media (min-width: 120.0625rem) { html { font-size: 0.8333vw; } }
