/* The typeface travels with the site (assets/fonts), so a visitor's browser
   asks no third party for it: no Google request, nothing for a cookie banner. */
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("fonts/outfit-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("fonts/outfit-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   VELUR — a template for hair salons (salon-1-velur).
   One family, Outfit (200–600), light and large: the look of a fashion page.
   The first screen and the footer are always the night colours; the page between
   follows the theme. Headings sit on the right, with their number in cognac.
   The editable colours (--bg, --ink, --accent) live in <style data-edit-colors>
   in index.html; everything here is derived from them with color-mix.
   The theme follows the visitor's system until they pick one (boot.js).
   ========================================================================== */

:root {
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ink-soft: color-mix(in srgb, var(--ink) 72%, var(--bg));
  --ink-mute: color-mix(in srgb, var(--ink) 66%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 30%, transparent);
  --bg-2: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --bg-3: color-mix(in srgb, var(--ink) 8%, var(--bg));
  --accent-ink: var(--bg);
  /* the night colours, for the parts that are always dark */
  --night: var(--bg-dark);
  --night-ink: var(--ink-dark);
  --night-soft: color-mix(in srgb, var(--ink-dark) 66%, var(--bg-dark));
  --night-2: color-mix(in srgb, var(--ink-dark) 7%, var(--bg-dark));

  --fs-label: 12px;
  --fs-small: 14px;
  --fs-body: 17px;
  --fs-lead: clamp(18px, 1.45vw, 23px);
  --fs-h3: clamp(23px, 2vw, 32px);
  --fs-h2: clamp(40px, 5.2vw, 88px);
  --fs-statement: clamp(32px, 4.6vw, 70px);
  --fs-display: clamp(60px, 12.6vw, 210px);

  --gutter: clamp(18px, 2.8vw, 48px);
  --space-section: clamp(104px, 11vw, 176px);
  --space-head: clamp(44px, 5vw, 80px);
  --header-h: 88px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .45s;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
/* in-page links land with the section just under the header (Lenis reads this too) */
html { scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 var(--fs-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; counter-reset: sec; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { width: 1em; height: 1em; flex: none; }
figure, fieldset { margin: 0; padding: 0; border: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; }
h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.045em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; }
em { font-style: normal; }
strong { font-weight: 500; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: var(--gutter); z-index: 100; background: var(--bg); padding: 14px; }
.skip-link:focus { top: 14px; }
.eyebrow, .label { font-size: var(--fs-label); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.label { display: block; }
.section { padding: var(--space-section) var(--gutter); }
/* Section heads sit on the right. The heading carries its number in the accent,
   counted by CSS, so hiding a section renumbers the rest. */
.section-head { counter-increment: sec; display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-bottom: var(--space-head); }
.section-head > div { display: flex; flex-direction: column; align-items: flex-end; }
.section-head h2 { margin-top: 20px; }
.section-head h2::after { content: counter(sec, decimal-leading-zero) / ""; display: inline-block; vertical-align: top; margin: .08em 0 0 .22em; font-size: .3em; font-weight: 400; letter-spacing: 0; color: var(--accent); font-variant-numeric: tabular-nums; }
.section-intro { max-width: 520px; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.5; margin-top: 28px; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; padding: 17px 26px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 400; transition: background var(--dur), color var(--dur), gap var(--dur) var(--ease); }
.button svg { width: 20px; height: 20px; }
.button:hover { background: var(--accent); color: var(--accent-ink); gap: 54px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; transition: border-color var(--dur); }
.text-link svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.text-link:hover { border-color: currentColor; }
.text-link:hover svg { transform: translate(3px, -3px); }
.plain-link { border-bottom: 1px solid transparent; transition: border-color var(--dur); }
.plain-link:hover { border-color: currentColor; }

/* the mask for rising words: paired padding and margin, so accents and descenders
   are not clipped; goes with yPercent 120 in main.js */
.line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .2em .05em .24em; margin: -.2em -.05em -.24em; }
.line-mask > span { display: inline-block; will-change: transform; }

/* ---------- header: minimal ----------
   No bar: three small solid pieces that float, the name on the left, the mirror
   and Menu together and Book on the right. Nothing changes, shrinks or hides on scroll. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; height: 48px; padding: 0 22px 2px; border-radius: 999px; background: var(--night); color: var(--night-ink); font-size: 26px; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.header-end { display: flex; align-items: center; gap: 8px; }
.header-pill { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 6px 0 4px; border-radius: 999px; background: var(--night); color: var(--night-ink); }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px 0 10px; font-size: 15px; font-weight: 400; }
.menu-lines { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.menu-lines span { display: block; height: 1.2px; background: currentColor; transition: transform var(--dur) var(--ease); }
.site-header.is-open .menu-lines span:first-child { transform: translateY(3.1px) rotate(45deg); }
.site-header.is-open .menu-lines span:last-child { transform: translateY(-3.1px) rotate(-45deg); }
.header-cta { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent-dark); color: var(--bg-dark); font-size: 15px; font-weight: 500; transition: background var(--dur); }
.header-cta:hover { background: var(--ink-dark); }
/* the theme switch is the mirror at a styling station: at night its bulbs come
   on, top to bottom, and a shine crosses the glass */
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; color: inherit; border-radius: 50%; }
.theme-toggle svg { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .bulb { fill: transparent; transition: fill .3s; }
.theme-toggle .mirror-shine { opacity: 0; stroke-dasharray: 9; stroke-dashoffset: 9; transition: opacity .3s, stroke-dashoffset .6s var(--ease); }
.theme-toggle:hover .bulb { fill: color-mix(in srgb, currentColor 30%, transparent); }
:root[data-theme="dark"] .theme-toggle .bulb { fill: #F3D9A4; stroke: #F3D9A4; }
:root[data-theme="dark"] .theme-toggle .bulb:nth-of-type(1), :root[data-theme="dark"] .theme-toggle .bulb:nth-of-type(4) { transition-delay: 0s; }
:root[data-theme="dark"] .theme-toggle .bulb:nth-of-type(2), :root[data-theme="dark"] .theme-toggle .bulb:nth-of-type(5) { transition-delay: .12s; }
:root[data-theme="dark"] .theme-toggle .bulb:nth-of-type(3), :root[data-theme="dark"] .theme-toggle .bulb:nth-of-type(6) { transition-delay: .24s; }
:root[data-theme="dark"] .theme-toggle .mirror-shine { opacity: .7; stroke-dashoffset: 0; transition-delay: .3s; }

/* the full-screen menu: the links are huge and set on the right, each with its
   number in cognac, like the section heads */
.menu-panel { position: fixed; inset: 0; z-index: 25; overflow-y: auto; background: var(--night); color: var(--night-ink); padding: calc(var(--header-h) + 3vh) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.menu-panel[hidden] { display: none; }
.menu-nav { counter-reset: link; display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: clamp(40px, 7.4vh, 92px); font-weight: 300; letter-spacing: -.05em; line-height: 1.04; }
.menu-nav a { counter-increment: link; position: relative; display: inline-flex; align-items: flex-start; gap: .2em; padding: .02em 0; transition: color var(--dur), transform .7s var(--ease); }
.menu-nav a::after { content: counter(link, decimal-leading-zero) / ""; font-size: .26em; font-weight: 400; letter-spacing: 0; margin-top: .4em; color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.menu-nav a:hover { color: var(--accent-dark); transform: translateX(-.12em); }
.menu-mirror { display: none; }
@media (min-width: 900px) {
  /* the left half: a tall mirror-shaped frame with the hovered section's photo */
  .menu-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto; column-gap: clamp(32px, 6vw, 120px); }
  .menu-panel[hidden] { display: none; }
  .menu-mirror { display: flex; flex-direction: column; gap: 14px; grid-row: 1 / span 2; align-self: stretch; margin: 0; min-height: 0; }
  .menu-mirror img { flex: 1; min-height: 0; width: 100%; max-width: 440px; object-fit: cover; border-radius: 220px 220px 14px 14px; background: var(--night-2); }
  .menu-mirror figcaption { display: flex; gap: 14px; align-items: baseline; font-size: var(--fs-small); color: var(--night-soft); }
  .menu-mirror-num { color: var(--accent-dark); font-variant-numeric: tabular-nums; }
  .menu-nav, .menu-foot { grid-column: 2; }
}
.menu-foot { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: var(--fs-small); color: var(--night-soft); }
.menu-phone { font-variant-numeric: tabular-nums; }

/* ---------- hero: the portrait ---------- */
.hero { position: relative; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 28vw, 440px) minmax(0, 1fr); grid-template-rows: auto; gap: 0 clamp(24px, 3.4vw, 56px); align-items: start; min-height: 100svh; padding: calc(var(--header-h) + 18px) var(--gutter) clamp(28px, 4vh, 44px); background: var(--night); color: var(--night-ink); }
.hero-stage { grid-column: 2; grid-row: 1; position: relative; }
.hero-media { height: min(calc(100svh - var(--header-h) - 96px), 760px); min-height: 460px; overflow: hidden; background: var(--night-2); }
.hero-media img { object-position: 50% 30%; transform-origin: 50% 40%; }
.hero-side { grid-row: 1; padding-top: 8px; }
.hero-left { grid-column: 1; max-width: 340px; }
.hero-right { grid-column: 3; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; text-align: right; }
.hero .eyebrow { color: var(--night-soft); }
.hero-text { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.5; color: var(--night-ink); }
.hero .button { background: var(--night-ink); color: var(--night); }
.hero .button:hover { background: var(--accent-dark); color: var(--night); }
.hero .text-link { border-color: color-mix(in srgb, var(--night-ink) 34%, transparent); }
.hero-corner { margin-top: 10px; font-size: 13px; line-height: 1.7; letter-spacing: .02em; color: var(--night-soft); }
/* the title: centred on the portrait, wider than it, crossing both edges */
.hero h1 { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(70px, 12vh, 120px); text-align: center; font-size: var(--fs-display); font-weight: 300; line-height: .9; letter-spacing: -.06em; color: #fff; pointer-events: none; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vh, 44px); text-align: center; font-size: 13px; color: var(--night-soft); }
.hero-status { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: var(--fs-small); color: var(--night-soft); min-height: 22px; }
.hero [data-open="true"] { color: var(--accent-dark); }
/* "Open now" is the standard WireSwan line ([data-open-now]): the platform fills it in
   when serving, from the editable hours, in the page's language, and sets
   data-open="true|false". On a downloaded site, without its script, it stays empty and hides. */
.open-now::before { content: ''; width: 18px; height: 1px; background: currentColor; flex: none; }
[data-open="true"] { color: var(--accent); }
[data-open="false"] { color: var(--ink-mute); }
[data-open-now]:empty { display: none; }

/* the entrance: hidden only while GSAP loads (boot.js adds the js class) */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.gsap-on) .hero h1, html.js:not(.gsap-on) .hero .eyebrow, html.js:not(.gsap-on) .hero [data-fade] { opacity: 0; }
  html.js:not(.gsap-on) .hero-media { clip-path: inset(100% 0 0 0); }
}

/* ---------- the visit: the horizontal strip ---------- */
.ritual { background: var(--bg-2); overflow: hidden; }
.ritual-stage { position: relative; }
.ritual-track { counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.ritual.is-horizontal .ritual-track { display: flex; width: max-content; padding-right: var(--gutter); will-change: transform; }
.ritual-step { counter-increment: step; }
.ritual.is-horizontal .ritual-step { width: clamp(320px, 36vw, 540px); flex: none; }
.ritual-step::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 200; font-size: clamp(56px, 6vw, 100px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--accent); margin-bottom: 22px; }
.ritual-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.ritual-body { padding-top: 22px; }
.ritual-time { font-size: var(--fs-label); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.ritual-body h3 { margin: 10px 0 12px; }
.ritual-body p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; max-width: 420px; }
/* the progress line is a cut line: dashed ahead, cut behind, the scissors at the
   head open and close as the strip moves */
.ritual-progress { position: relative; display: none; height: 1px; margin-top: 52px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.ritual.is-horizontal .ritual-progress { display: block; }
.ritual-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.ritual-scissors { position: absolute; top: -16.5px; left: 0; width: 44px; height: 33px; margin-left: -19.25px; overflow: visible; fill: var(--bg-2); stroke: var(--accent); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; will-change: transform; }
.ritual-scissors path { fill: none; }

/* ---------- services: rows that open up ---------- */
.services-list { counter-reset: service; border-top: 1px solid var(--line); }
.services-row { counter-increment: service; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1fr) auto 44px; gap: 28px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color var(--dur); }
.services-row::before { content: counter(service, decimal-leading-zero); font-size: var(--fs-label); letter-spacing: .1em; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.services-row h3 { font-size: clamp(30px, 3.5vw, 58px); font-weight: 300; letter-spacing: -.04em; }
.services-row > p { position: relative; z-index: 1; grid-column: 3; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; max-width: 380px; transition: opacity var(--dur); }
.services-price { font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.services-price small { font-size: var(--fs-label); color: var(--ink-mute); letter-spacing: .04em; }
.services-photo { position: absolute; left: 0; top: 50%; width: 150px; height: 200px; transform: translateY(-50%); clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease); pointer-events: none; }
.services-row .services-photo { grid-column: 3; }
.services-go { justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-mute); transition: color var(--dur); }
.services-go svg { width: 24px; height: 24px; transition: transform var(--dur) var(--ease); }
@media (hover: hover) {
  .services-row:hover { padding: 52px 0; color: var(--accent); }
  .services-row:hover > p { opacity: 0; }
  .services-row:hover .services-photo { clip-path: inset(0 0 0 0); }
  .services-row:hover .services-go { color: var(--accent); }
  .services-row:hover .services-go svg { transform: translate(3px, -3px); }
}

/* ---------- the statement: the one big moment of colour ---------- */
.statement { background: color-mix(in srgb, var(--accent) 86%, #000); color: var(--accent-ink); text-align: center; }
.braid { display: block; width: min(100%, 880px); height: 84px; margin: 0 auto 44px; fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .85; }
.statement-text { font-weight: 300; font-size: var(--fs-statement); line-height: 1.08; letter-spacing: -.045em; max-width: 1000px; margin: 0 auto; }
.statement-text em { font-weight: 500; }
.statement-note { margin-top: 30px; font-size: 15px; opacity: .8; }

/* ---------- team: a contact sheet ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 40px); align-items: start; }
.team-card:nth-child(even) { margin-top: 64px; }
.team-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.team-photo img { filter: grayscale(1); transition: filter .7s, transform 1.4s var(--ease); }
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.03); }
.team-card h3 { margin-top: 20px; }
.team-role { margin-top: 6px; font-size: var(--fs-label); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.team-line { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- before / after ---------- */
.ba { background: var(--bg-2); }
.ba-hint { font-size: var(--fs-small); color: var(--ink-mute); margin-top: 18px; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.ba-item:nth-child(even) { margin-top: clamp(40px, 6vw, 96px); }
.ba-frame { --x: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.ba-frame img { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--x)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgb(255 255 255 / .85); pointer-events: none; }
/* a wide-tooth comb rides the line: its spine on the line, the teeth toward the after side */
.ba-comb { position: absolute; top: 50%; left: -8px; width: 26px; height: 88px; margin-top: -44px; overflow: visible; transition: transform .5s var(--ease); }
.ba-comb .comb-spine { fill: #F4EEE7; stroke: rgb(0 0 0 / .28); stroke-width: .8; }
.ba-comb .comb-teeth { fill: none; stroke: #F4EEE7; stroke-width: 1.8; stroke-linecap: round; }
.ba-comb .comb-edge { fill: none; stroke: rgb(0 0 0 / .3); stroke-width: 2.8; stroke-linecap: round; }
.ba-frame:hover .ba-comb, .ba-frame:has(.ba-range:focus-visible) .ba-comb { transform: scale(1.06); }
.ba-frame:has(.ba-range:focus-visible) .ba-handle { background: var(--accent); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag { position: absolute; bottom: 12px; padding: 5px 9px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); }
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-item h3 { margin-top: 20px; }
.ba-item p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* ---------- recent work: an uneven grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.work-item { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.work-item:nth-child(4n+2), .work-item:nth-child(4n+3) { aspect-ratio: 1; }
.work-item:nth-child(4n+2) { margin-top: 48px; }
.work-item:nth-child(4n) { margin-top: 24px; }
.work-item img { transition: transform 1.2s var(--ease); }
.work-item:hover img { transform: scale(1.04); }
.work-item::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / .55)); opacity: 0; transition: opacity var(--dur); pointer-events: none; }
.work-item:hover::after { opacity: 1; }
.work-item figcaption { position: absolute; z-index: 1; left: 16px; bottom: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity var(--dur), transform var(--dur) var(--ease); }
.work-item:hover figcaption { opacity: 1; transform: none; }

/* ---------- prices: four cards, two by two ---------- */
.prices-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.prices-group { background: var(--bg-2); padding: clamp(26px, 3vw, 44px); }
.prices-group h3 { font-size: clamp(30px, 3vw, 48px); font-weight: 300; letter-spacing: -.04em; margin-bottom: 18px; }
.prices-list { list-style: none; margin: 0; padding: 0; }
.prices-list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prices-list li:last-child { border-bottom: 0; }
.prices-service { font-size: clamp(16px, 1.3vw, 19px); }
.prices-duration { font-size: var(--fs-label); letter-spacing: .06em; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.prices-amount { font-size: 23px; font-weight: 300; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--accent-text); }
.prices-note { margin: 36px 0 0 auto; max-width: 540px; font-size: 15px; color: var(--ink-mute); text-align: right; }

/* ---------- booking: the form on the left, the intro on the right ---------- */
.booking { background: var(--bg-2); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.booking-intro { order: 2; display: flex; flex-direction: column; align-items: flex-end; text-align: right; counter-increment: sec; }
.booking-intro h2 { margin-top: 24px; }
.booking-intro h2::after { content: counter(sec, decimal-leading-zero) / ""; display: inline-block; vertical-align: top; margin: .08em 0 0 .22em; font-size: .3em; font-weight: 400; letter-spacing: 0; color: var(--accent); }
.booking-first { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); max-width: 460px; }
.composer { order: 1; background: var(--bg); padding: clamp(26px, 3.4vw, 52px); }
.composer-step { margin-bottom: 34px; }
.composer legend, .composer-field > span { display: block; font-size: var(--fs-label); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.chip { padding: 12px 19px; border-radius: 999px; background: var(--bg-3); font-size: 15px; transition: background var(--dur), color var(--dur); }
.chip:hover { background: color-mix(in srgb, var(--ink) 14%, var(--bg)); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.composer-field { display: block; margin-bottom: 36px; }
.composer-field input { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; padding: 12px 0; font-size: var(--fs-lead); color: var(--ink); }
.composer-field input::placeholder { color: var(--ink-mute); }
.composer-field input:focus { outline: none; border-color: var(--accent); }
.composer-send { width: 100%; }
.composer-note { margin-top: 14px; font-size: var(--fs-label); color: var(--ink-mute); }

/* ---------- contact: three quiet columns, the address the big one ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.contact-big { font-weight: 300; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.18; letter-spacing: -.035em; margin: 18px 0 12px; font-variant-numeric: tabular-nums; }
.contact-block:first-child .contact-big { font-size: clamp(34px, 3.6vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.contact-note { font-size: 15px; line-height: 1.55; color: var(--ink-soft); max-width: 340px; margin-bottom: 22px; }
.hours-list { margin-top: 18px; }
.hours { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.hours.is-today { color: var(--accent); }
.contact-line { margin: 8px 0; }
.contact-button { margin-top: 26px; }

/* ---------- footer: "Book a chair" ---------- */
.site-footer { overflow: clip; background: var(--night); color: var(--night-ink); padding: clamp(80px, 10vw, 150px) var(--gutter) 28px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 4vw; padding-bottom: clamp(36px, 4vw, 60px); border-bottom: 1px solid color-mix(in srgb, var(--night-ink) 16%, transparent); }
.footer-cta-text { font-size: clamp(56px, 12.4vw, 210px); font-weight: 300; line-height: .92; letter-spacing: -.065em; transition: color .6s var(--ease); }
.footer-chair { width: clamp(56px, 8vw, 128px); height: auto; aspect-ratio: 64 / 80; fill: none; stroke: var(--accent-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.footer-chair .chair-top { transform-box: view-box; transform-origin: 32px 42px; transition: transform .9s var(--ease); }
.footer-cta:hover .footer-cta-text { color: var(--accent-dark); }
.footer-cta:hover .chair-top { transform: translateY(2px) rotate(-8deg) scaleX(.92); }
.footer-meta { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 26px; font-size: var(--fs-label); color: var(--night-soft); }
.footer-meta a { display: inline-flex; align-items: center; gap: 8px; }
.footer-meta a svg { width: 14px; height: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: var(--fs-label); color: var(--night-soft); }

/* ---------- in the WireSwan editor ----------
   The editor puts the ws-on class on <html>, only there. Photos hidden until hover
   and the before/after slider would stop the owner clicking the photos. */
html.ws-on .services-photo { position: static; transform: none; clip-path: none; width: 110px; height: 140px; grid-column: auto; pointer-events: auto; }
html.ws-on .services-row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 110px auto 44px; }
html.ws-on .ba-range { pointer-events: none; }
html.ws-on .work-item figcaption, html.ws-on .work-item::after { opacity: 1; transform: none; }
html.ws-on .ritual-track { transform: none !important; }
html.ws-on .line-mask > span { transform: none !important; }
html.ws-on .hero h1 { pointer-events: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card:nth-child(even) { margin-top: 48px; }
  .services-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) auto 44px; gap: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr) clamp(240px, 32vw, 380px) minmax(0, 1fr); }
}

/* a touch screen has no hover, so the gallery captions always show */
@media (hover: none) {
  .work-item figcaption, .work-item::after { opacity: 1; transform: none; }
}

/* a wide touch screen has no hover to open a service's photo, so the photo sits in the row */
@media (hover: none) and (min-width: 901px) {
  html:not(.ws-on) .services-row { grid-template-columns: 48px minmax(0, 1fr) 96px minmax(0, 1fr) auto 44px; }
  html:not(.ws-on) .services-row .services-photo { position: static; transform: none; clip-path: none; width: 96px; height: 128px; grid-column: 3; grid-row: 1; }
  html:not(.ws-on) .services-row > p { grid-column: 4; }
}

@media (max-width: 900px) {
  /* the portrait first, the title across it, then the words and the buttons */
  .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 48px; }
  .hero-stage { grid-column: 1; grid-row: 1; position: static; width: min(66vw, 340px); }
  .hero-media { height: min(58svh, 520px); min-height: 360px; }
  .hero h1 { position: relative; grid-row: 2; bottom: auto; margin-top: -1.05em; width: 100%; }
  .hero-caption { position: static; grid-row: 3; margin-top: 14px; }
  .hero-left { grid-column: 1; grid-row: 4; max-width: 460px; margin-top: 28px; display: flex; flex-direction: column; align-items: center; }
  .hero-right { grid-column: 1; grid-row: 5; justify-self: center; align-items: center; text-align: center; margin-top: 28px; }
  .section-head { align-items: flex-end; }
  .services-row { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 14px 18px; padding: 28px 0; }
  .services-row h3 { grid-column: 2; }
  .services-row > p { grid-column: 2; grid-row: 2; }
  .services-row .services-price { grid-column: 2; grid-row: 3; }
  .services-row .services-go { grid-column: 3; grid-row: 1; }
  .services-photo { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-item:nth-child(even) { margin-top: 0; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-item:nth-child(4n+2), .work-item:nth-child(4n) { margin-top: 0; }
  .work-item:nth-child(even) { margin-top: 32px; }
  .prices-groups { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-intro { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  :root { --header-h: 72px; --space-section: clamp(80px, 16vw, 110px); }
  .brand { height: 44px; padding: 0 16px 2px; font-size: 23px; }
  .header-end { gap: 6px; }
  .header-pill { height: 44px; }
  .header-cta { height: 44px; padding: 0 18px; font-size: 14px; }
  .menu-toggle { padding: 0 12px 0 6px; gap: 10px; font-size: 14px; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero h1 { font-size: clamp(50px, 15.4vw, 72px); }
  .hero-text { font-size: 17px; margin-top: 16px; }
  .hero-status { margin-top: 18px; }
  h2 { font-size: clamp(38px, 11vw, 56px); }
  .ritual-track { grid-template-columns: 1fr; }
  .ritual-step::before { font-size: 56px; }
  .services-row h3 { font-size: clamp(28px, 8.5vw, 40px); }
  .statement-text { font-size: clamp(31px, 9vw, 46px); }
  .braid { height: 56px; margin-bottom: 30px; }
  .team-grid { gap: 22px 14px; }
  .team-card:nth-child(even) { margin-top: 36px; }
  .team-card h3 { font-size: 20px; }
  .prices-group h3 { font-size: 32px; }
  .prices-list li { gap: 14px; }
  .prices-service { font-size: 16px; }
  .prices-amount { font-size: 21px; }
  .contact-big { font-size: 26px; }
  .contact-block:first-child .contact-big { font-size: 34px; }
  .footer-cta { align-items: flex-end; }
  .footer-cta-text { font-size: clamp(52px, 15vw, 80px); }
  .footer-chair { width: 44px; }
  .footer-meta { flex-direction: column; gap: 10px; }
  .menu-nav { font-size: clamp(38px, 11vw, 56px); }
}

@media (max-width: 400px) {
  .chip { padding: 10px 14px; font-size: 13px; }
  .menu-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line-mask > span { transform: none !important; opacity: 1 !important; }
  .hero-media, .hero-media img { transform: none !important; clip-path: none !important; }
  [data-fade] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .ritual-progress span { transform: none !important; }
}
.lenis.lenis-smooth { scroll-behavior: auto; }

/* The accent as small text: deepened by day so it reads at 4.5:1 on the light
   page; at night the accent itself is light enough (27 Nov 2026). */
:root { --accent-text: color-mix(in srgb, var(--accent) 74%, #000); }
[data-theme="dark"], .dark { --accent-text: var(--accent); }
