/* =====================================================================
   Salon template — site.css
   Tokens first: swap the palette / fonts / spacing per business.
   Breakpoints: phone < 810px, tablet 810–1439px, desktop ≥ 1440px.
   ===================================================================== */

@font-face {
  font-family: "Mona Sans";
  src: url("../assets/fonts/mona-sans-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --c-bg: #f4efe8;          /* page (milk) */
  --c-surface: #ffffff;     /* cards, switch, pill */
  --c-ink: #21170f;         /* headings, body ink */
  --c-text: #5a4a3e;        /* secondary copy */
  --c-muted: #7a685a;       /* eyebrows, meta */
  --c-accent: #a8461f;      /* copper CTA */
  --c-accent-hover: #8f3a18;
  --c-accent-press: #77300f;
  --c-dark: #2a1d14;        /* visit + footer band */
  --c-on-dark: #f4efe8;
  --c-line: rgb(33 23 15 / 0.12);
  --c-line-strong: var(--c-ink);
  --c-line-on-dark: rgb(244 239 232 / 0.2);
  --c-focus: #21170f;
  --c-focus-on-dark: #f4efe8;

  /* Type */
  --font: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --fv-display: "wdth" 125, "wght" 700;
  --fv-title: "wdth" 110, "wght" 600;
  --fv-ui: "wdth" 100, "wght" 600;
  --fv-nav: "wdth" 100, "wght" 500;
  --fv-body: "wdth" 100, "wght" 400;

  --fs-hero: 104px;   --lh-hero: 0.92;  --ls-hero: -0.04em;
  --fs-h2: 56px;      --ls-h2: -0.03em;
  --fs-visit: 44px;
  --fs-title: 24px;
  --fs-price: 32px;
  --fs-lead: 22px;
  --fs-quote: 24px;
  --fs-body: 16px;
  --fs-ui: 15px;
  --fs-eyebrow: 12px;

  /* Space & shape */
  --page-max: 1344px;
  --gutter: 48px;            /* page side padding */
  --gap: 24px;               /* grid gap */
  --section-top: 96px;
  --head-gap: 32px;          /* section head → content */
  --radius: 24px;
  --radius-pill: 999px;
  --header-h: 96px;
  --btn-h: 48px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Motion (measured on the original) */
  --reveal-distance: 24px;   /* scroll reveal: fade + rise */
  --reveal-duration: 0.6s;
  --appear-distance: 16px;   /* hero copy on load */
  --appear-duration: 0.6s;
  --appear-stagger: 0.08s;
  --hover-duration: 0.25s;
}

@media (min-width: 810px) and (max-width: 1439.98px) {
  :root {
    --gutter: 32px;
    --fs-hero: clamp(64px, 7.2vw, 104px);
    --fs-h2: 48px;
    --fs-visit: 38px;
  }
}

@media (max-width: 809.98px) {
  :root {
    --gutter: 16px;
    --gap: 16px;
    --section-top: 48px;
    --fs-hero: 44px;   /* the original's phone variant uses fixed sizes up to 809px */
    --fs-h2: 34px;
    --fs-visit: 30px;
    --fs-title: 18px;
    --fs-price: 20px;
    --fs-lead: 18px;
    --fs-quote: 20px;
    --header-h: 80px;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-variation-settings: var(--fv-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: calc(var(--page-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--c-ink); color: var(--c-bg); padding: 12px 20px; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 12px; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
}

/* ---------- Type helpers ---------- */
.t-display { font-variation-settings: var(--fv-display); font-weight: 700; }
.t-title { font-variation-settings: var(--fv-title); font-weight: 600; }
.eyebrow {
  font-size: var(--fs-eyebrow);
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-variation-settings: var(--fv-title);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h);
  padding: 0 32px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--fs-ui); line-height: 1;
  font-variation-settings: var(--fv-ui); font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--hover-duration) ease, color var(--hover-duration) ease, border-color var(--hover-duration) ease, scale 0.15s ease;
}
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-dark); }          /* original: copper -> dark brown */
.btn--accent:active { background: #000; }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { background: var(--c-surface); }       /* original: transparent -> white */
.btn--outline:active { background: #e9e0d4; }
.btn--milk { background: var(--c-on-dark); color: var(--c-ink); }
.btn--milk:hover { background: #fff; }
.btn--milk:active { background: #e6ddd1; }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { scale: 0.97; }
}

.link-accent { color: var(--c-accent); font-variation-settings: var(--fv-nav); font-weight: 500; font-size: var(--fs-ui); }
.link-accent { transition: opacity var(--hover-duration) ease; }
.link-accent:hover { opacity: 0.6; }
.link-accent:active { opacity: 0.45; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-bg);
}
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}
.site-header__brand {
  justify-self: start;
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.01em;
  font-variation-settings: var(--fv-title); font-weight: 600;
  transition: opacity 0.25s ease;
}
.site-header__brand:hover { opacity: 0.6; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.only-narrow { display: none; }

.site-header__menu { display: none; }
.site-nav__list { display: flex; gap: 20px; align-items: center; }   /* 20 + 2×6 padding = the original 32px rhythm */
.site-nav__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding-inline: 6px;
  font-size: var(--fs-ui); line-height: 1;
  font-variation-settings: var(--fv-nav); font-weight: 500;
  transition: opacity 0.25s ease;
}
.site-nav__link:hover { opacity: 0.6; }
.site-nav__link:active { opacity: 0.45; }

@media (max-width: 809.98px) {
  .site-header__bar { grid-template-columns: 1fr auto; }
  .site-header__brand { font-size: 18px; }
  .site-nav { display: none; }
  .site-header__menu { display: inline-flex; min-height: 44px; padding: 0 16px; }
  .site-header__cta { padding: 0 32px; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ---------- Phone menu: full-screen modal <dialog> ----------
   Same structure as the original's panel (brand + Close bar, large display
   links with rules, full-width CTA), but a real modal: focus moves in and
   returns to the Menu button, Tab stays inside, Escape / Close / link close it,
   and the page behind is inert and does not scroll. */
.menu-panel {
  inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0 0 32px; border: 0;
  background: var(--c-bg); color: var(--c-ink);
  overflow-y: auto;
}
.menu-panel:modal { overscroll-behavior: contain; }
.menu-panel::backdrop { background: var(--c-bg); overflow: hidden; overscroll-behavior: contain; }
.menu-panel__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.menu-panel__close { min-height: 44px; padding: 0 22px; }
.menu-panel__nav { padding-top: 8px; }
.menu-panel__list li { border-bottom: 1px solid var(--c-line); }
.menu-panel__link {
  display: flex; align-items: center; min-height: 66px;
  font-size: 34px; line-height: 1; letter-spacing: -0.03em;
  transition: opacity 0.25s ease, translate 0.25s var(--ease-out);
}
.menu-panel__link:hover { opacity: 0.6; }
.menu-panel__link:active { opacity: 0.45; }
.menu-panel__cta { width: 100%; margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .menu-panel[open] { animation: menu-in 0.2s ease-out both; }
  .menu-panel[open] .menu-panel__list li { animation: menu-link-in 0.36s var(--ease-out) both; }
  .menu-panel[open] .menu-panel__list li:nth-child(2) { animation-delay: 0.04s; }
  .menu-panel[open] .menu-panel__list li:nth-child(3) { animation-delay: 0.08s; }
  .menu-panel[open] .menu-panel__list li:nth-child(4) { animation-delay: 0.12s; }
  .menu-panel[open] .menu-panel__list li:nth-child(n+5) { animation-delay: 0.16s; }
}
@keyframes menu-in { from { opacity: 0; } }
@keyframes menu-link-in { from { opacity: 0; translate: 0 12px; } }

/* ---------- Hero ---------- */
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  column-gap: 48px;
  padding-top: 16px;
  padding-bottom: 96px;
}
.hero__copy { align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__eyebrow { margin-bottom: -1px; }
.hero__title {
  font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--ls-hero);
  max-width: 736px;
}
.hero__lead {
  max-width: 520px;
  font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -0.01em;
  color: var(--c-text);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--c-surface); border-radius: var(--radius-pill);
  font-size: var(--fs-ui); line-height: 1; font-variation-settings: var(--fv-nav); font-weight: 500;
}
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
@media (prefers-reduced-motion: no-preference) {
  .status-pill__dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgb(168 70 31 / 0.18); } }

.hero__portrait {
  height: 792px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d9c9b6;
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 810px) and (max-width: 1439.98px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .hero__portrait { height: auto; aspect-ratio: 560 / 792; }
}
@media (max-width: 809.98px) {
  .hero__inner { grid-template-columns: 1fr; padding: 0; max-width: none; }
  .hero__portrait { order: -1; height: 44vh; height: 44svh; min-height: 260px; border-radius: 0; }
  .hero__copy { padding: 32px var(--gutter) 48px; gap: 16px; }
  .hero__eyebrow { margin-bottom: 0; }
  .hero__lead { order: 3; line-height: 1.45; max-width: 520px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .status-pill { display: none; }
}

/* ---------- Generic section ---------- */
.section { padding-top: var(--section-top); }
.section-head { margin-bottom: var(--head-gap); }
.section-head__title { font-size: var(--fs-h2); line-height: 1; letter-spacing: var(--ls-h2); max-width: 840px; }
.section-head__line { margin-top: 16px; max-width: 560px; color: var(--c-text); }

.media { display: block; overflow: hidden; border-radius: var(--radius); background: #e4d8ca; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.4s var(--ease-out); }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-card__frame { aspect-ratio: 3 / 4; }
.service-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.service-card__name { font-size: var(--fs-title); line-height: 1.2; letter-spacing: -0.01em; }
/* original: the photo inside the card zooms to 1.02 on hover */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover .media img, .stylist-card:hover .media img { scale: 1.02; }
}

@media (min-width: 810px) and (max-width: 1439.98px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 809.98px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .service-card__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- Pricing ---------- */
.pricing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.pricing__heading { min-width: 0; }
.level-switch {
  display: inline-flex; padding: 4px; gap: 0;
  background: var(--c-surface); border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--c-line);
  flex: none;
}
.level-switch__option {
  min-height: 44px; padding: 0 24px;
  border: 0; border-radius: var(--radius-pill);
  background: transparent; cursor: pointer;
  font-size: var(--fs-ui); line-height: 1; font-variation-settings: var(--fv-nav); font-weight: 500;
  transition: background-color 0.25s var(--ease-out), color 0.25s ease;
}
.level-switch__option:hover { background: var(--c-bg); }
.level-switch__option:active { background: #e9e0d4; }
.level-switch__option[aria-pressed="true"] { background: var(--c-accent); color: #fff; font-variation-settings: var(--fv-ui); }
.level-switch__option[aria-pressed="true"]:hover { background: var(--c-accent-hover); }

.price-card { background: var(--c-surface); border-radius: var(--radius); padding: 8px 24px; }
.price-group { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; }
.price-group + .price-group { border-top: 1px solid var(--c-line); }
.price-group__name { padding-top: 16px; min-height: 40px; }
.price-row { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 10px 0; }
.price-row + .price-row { border-top: 1px solid var(--c-line); }
.price-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.price-row__name { font-size: var(--fs-title); line-height: 1.2; letter-spacing: -0.01em; }
.price-row__price {
  font-size: var(--fs-price); line-height: 1; letter-spacing: -0.01em;
  font-feature-settings: "tnum" on;
  transition: opacity 0.2s ease;
}
.price-row__price.is-changing { opacity: 0; }
.price-row__book { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 44px; padding-left: 8px; }

@media (max-width: 809.98px) {
  .pricing__head { flex-wrap: wrap; align-items: flex-end; margin-bottom: 48px; gap: 24px; }
  .pricing__heading { flex: 1 1 320px; }
  .level-switch__option { padding: 0 24px; }
  .price-group { display: flex; flex-wrap: wrap; column-gap: 24px; }
  .price-group__name { flex: 0 0 200px; }
  .price-group__rows { flex: 1 1 336px; min-width: 0; }
  .price-group__name { padding-top: 16px; min-height: 40px; }
  .price-row { min-height: 68px; padding: 10px 0; }
  .price-group__rows .price-row:first-child { border-top: 0; }
}

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.stylist-card { display: flex; flex-direction: column; }
.stylist-card__frame { aspect-ratio: 4 / 5; }
.stylist-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.stylist-card__name { font-size: var(--fs-title); line-height: 1.2; letter-spacing: -0.01em; }
.stylist-card__level { color: var(--c-ink); }
.stylist-card__specialities { margin-top: 15px; color: var(--c-text); }
.team__all { margin-top: 32px; }
@media (max-width: 809.98px) {
  .team__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .stylist-card__specialities { margin-top: 16px; }
}

/* ---------- Gallery (Recent work) ---------- */
.gallery__strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
}
.gallery__photo { aspect-ratio: 3 / 4; margin: 0; }
@media (max-width: 1439.98px) {
  .gallery__strip {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .gallery__strip::-webkit-scrollbar { display: none; }
  .gallery__photo { flex: 0 0 max(240px, calc((100% - 3 * var(--gap)) / 4)); scroll-snap-align: start; }
}
@media (max-width: 809.98px) {
  .gallery__photo { flex: 0 0 260px; }
}
.gallery__strip:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.gallery__strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* ---------- Reviews ---------- */
.reviews { padding-bottom: 96px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.review-card { border-top: 1px solid var(--c-line-strong); padding-top: 24px; }
.review-card__quote { font-size: var(--fs-quote); line-height: 1.35; letter-spacing: -0.01em; }
.review-card__who { display: block; margin-top: 16px; }
@media (max-width: 809.98px) {
  .reviews { padding-bottom: 48px; }
  .reviews__grid { grid-template-columns: 1fr; row-gap: 48px; }
}

/* ---------- Visit ---------- */
.visit, .site-footer { background: var(--c-dark); color: var(--c-on-dark); }
.visit :focus-visible, .site-footer :focus-visible { outline-color: var(--c-focus-on-dark); }
.visit__inner {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px;
  padding-top: 96px; padding-bottom: 96px;
  align-items: start;
}
.visit__address { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.visit__title { font-size: var(--fs-visit); line-height: 1.05; letter-spacing: -0.03em; max-width: 640px; }
.visit__link {
  display: inline-flex; align-items: center; min-height: 44px;
  transition: opacity var(--hover-duration) ease;
}
.visit__link:hover { opacity: 0.7; }
.visit__link:active { opacity: 0.5; }
.hours__row {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 56px; border-top: 1px solid var(--c-line-on-dark);
}
@media (max-width: 809.98px) {
  .visit__inner { display: flex; flex-wrap: wrap; column-gap: 48px; row-gap: 48px; padding-top: 48px; padding-bottom: 48px; }
  .visit__address { flex: 1 1 300px; min-width: min(320px, 100%); }
  .hours { flex: 1 1 300px; }
}

/* ---------- Footer ---------- */
.site-footer .container { border-top: 0; }
.site-footer__top {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--c-line-on-dark);
  padding-top: 48px;
}
.site-footer__brand { font-size: var(--fs-visit); line-height: 1.05; letter-spacing: -0.03em; }
.site-footer__links { display: flex; flex-direction: column; gap: 24px; }
.site-footer__links a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  transition: opacity var(--hover-duration) ease;
}
.site-footer__links a:hover { opacity: 0.7; }
.site-footer__links a:active { opacity: 0.5; }
.site-footer__copy { padding: 32px 0; }
@media (max-width: 809.98px) {
  .site-footer__top { flex-direction: column; align-items: stretch; gap: 24px; }
  .site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .site-footer__links a { min-height: 44px; }
}

/* ---------- Motion ----------
   Measured on the original:
   - hero appear on load: title, lead, actions, status fade in and rise 16px,
     staggered ~80ms, ~0.6s strong ease-out; the portrait settles from scale 1.05.
     Pure CSS: it plays once, ends visible, needs no JS.
   - scroll reveal: services grid, price list, stylists grid, work strip and
     reviews grid fade in and rise 24px over ~0.6s when ~10% of the viewport
     into view; plays once, no replay on scroll back.
   Content is visible by default (no-JS, print, static renders, crawlers).
   site.js arms the reveal on the visitor's first input (wheel/touch/key/pointer),
   and only for blocks still below the viewport: they get .reveal-pending and
   rise when they enter. Nothing already on screen is ever hidden.
   Everything is off under prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  [data-appear] {
    animation: appear var(--appear-duration) var(--ease-out) both;
    animation-delay: calc(var(--appear-i, 0) * var(--appear-stagger));
  }
  .hero__portrait img { animation: settle 0.9s var(--ease-out) both; }

  [data-reveal] {
    transition: opacity var(--reveal-duration) var(--ease-out), translate var(--reveal-duration) var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }
  [data-reveal].reveal-pending { opacity: 0; translate: 0 var(--reveal-distance); transition: none; }
}
@keyframes appear { from { opacity: 0; translate: 0 var(--appear-distance); } }
@keyframes settle { from { scale: 1.05; } }

/* ext: css/knobs.css */
/* =====================================================================
   showcase-salon knobs for SV05-claude (Fringe salon template).
   Appended after the template's site.css and before the plan's business
   tokens. Only the template's own classes; every knob is a custom property
   (see README.md). Palette + fonts come from SITE-PLAN tokens.
   ===================================================================== */
:root {
  /* type pairing (plan sets --font-display / --font) */
  --font-display: Georgia, serif;
  --display-weight: 500;
  --display-tracking: -0.015em;
  --display-lh: 0.98;
  /* image masks: arch (hero, team) / soft rectangle (cards, gallery) */
  --mask-hero: 50% 50% 22px 22px / 35.4% 35.4% 22px 22px;   /* arch over a 0.707 portrait */
  --mask-team: 50% 50% 22px 22px / 40% 40% 22px 22px;      /* arch over a 4:5 card */
  --mask-card: 14px;
  /* button family: soft rectangle with a sliding arrow on the primary */
  --btn-radius: 10px;
  --btn-arrow: "\2192";
  /* card style: tinted surfaces instead of white */
  --c-tint: #ede3ea;
  --c-tint-strong: #e3d4df;
}

/* ---------- type ---------- */
body { font-family: var(--font); font-variation-settings: normal; }
.t-display,
.menu-panel__link,
.site-footer__brand {
  font-family: var(--font-display);
  font-variation-settings: normal;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
}
.hero__title { letter-spacing: var(--display-tracking); line-height: var(--display-lh); }
.section-head__title { letter-spacing: var(--display-tracking); line-height: 1.02; }
.visit__title, .site-footer__brand { letter-spacing: var(--display-tracking); line-height: 1.05; }
.t-title, .eyebrow, .btn, .site-nav__link, .level-switch__option, .status-pill, .link-accent { font-variation-settings: normal; }
.t-title { letter-spacing: -0.005em; }
.service-card__name, .stylist-card__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(var(--fs-title) * 1.22); letter-spacing: 0; }
.review-card__quote { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(var(--fs-quote) * 1.12); line-height: 1.28; }

/* ---------- brand ---------- */
.site-header__brand { gap: 10px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.16em; font-size: 24px; }
.brand-mark { width: 26px; height: 26px; fill: var(--c-accent); flex: none; }
.brand-mark__eye { fill: var(--c-bg); }
.site-footer__brand { letter-spacing: 0.08em; }

/* ---------- buttons: soft rectangle + arrow ---------- */
.btn { border-radius: var(--btn-radius); }
.btn--accent::after {
  content: var(--btn-arrow); margin-left: 10px; font-weight: 400;
  transition: translate var(--hover-duration) var(--ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--accent:hover::after { translate: 4px 0; }
}
.btn--outline:active, .level-switch__option:active { background: var(--c-tint-strong); }
.btn--milk:active { background: var(--c-tint); }

/* ---------- menu: pill bar on wide screens ---------- */
@media (min-width: 810px) {
  .site-nav__list {
    gap: 2px; padding: 5px;
    background: var(--c-tint); border-radius: var(--radius-pill);
  }
  .site-nav__link { padding-inline: 18px; min-height: 40px; border-radius: var(--radius-pill); transition: background-color var(--hover-duration) ease, color var(--hover-duration) ease; }
  .site-nav__link:hover { opacity: 1; background: var(--c-surface); }
  .site-nav__link:active { opacity: 1; background: var(--c-tint-strong); }
}
@media (min-width: 810px) and (max-width: 1439.98px) {
  :root { --header-h: 84px; }
  .site-nav__link { padding-inline: 14px; }
}

/* ---------- menu: phone side drawer (modal dialog, light dismiss) ---------- */
.menu-icon { display: inline-block; width: 16px; height: 10px; margin-right: 8px; border-block: 1.5px solid currentColor; position: relative; }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; translate: 0 -50%; }
.menu-panel--drawer {
  inset: 0 0 0 auto; width: min(340px, 86vw); height: 100%; height: 100dvh;
  padding: 0 24px 32px;
  background: var(--c-bg);
  box-shadow: -24px 0 60px rgb(43 27 41 / 0.18);
  border-radius: 22px 0 0 22px;
}
.menu-panel--drawer::backdrop { background: rgb(43 27 41 / 0.42); }
.menu-panel--drawer .menu-panel__bar { height: var(--header-h); }
.menu-panel--drawer .site-header__brand { font-size: 18px; }
.menu-panel--drawer .menu-panel__nav { padding-top: 8px; }
.menu-panel--drawer .menu-panel__link { font-size: 34px; letter-spacing: 0; min-height: 64px; }
.menu-panel__note { margin-top: 24px; color: var(--c-text); font-size: 14px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .menu-panel--drawer[open] { animation: drawer-in 0.34s var(--ease-out) both; }
}
@keyframes drawer-in { from { translate: 100% 0; } }
@media (max-width: 809.98px) {
  .site-header__actions { gap: 8px; }
  .site-header__brand { font-size: 18px; letter-spacing: 0.14em; gap: 8px; }
  .brand-mark { width: 22px; height: 22px; }
  .site-header__cta { padding: 0 16px; }
  .site-header__cta::after { display: none; }
  .site-header__menu { padding: 0 14px; }
}

/* ---------- hero: centred copy, arch portrait that fits the first screen ---------- */
.hero__visual { position: relative; }
.hero__portrait { border-radius: var(--mask-hero); background: var(--c-tint); }
.hero__badge {
  position: absolute; left: -54px; bottom: 72px; width: 128px; height: 128px;
  border-radius: 50%; background: var(--c-accent); color: var(--c-on-dark);
  box-shadow: 0 18px 40px rgb(43 27 41 / 0.22);
}
.hero__badge svg { width: 100%; height: 100%; display: block; }
.hero__badge-text { fill: currentColor; font-family: var(--font); font-size: 10.4px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__badge-flower { fill: rgb(245 239 242 / 0.92); }
.hero__badge-flower circle { fill: var(--c-accent); }
@media (min-width: 810px) {
  .hero__inner {
    --hero-h: clamp(440px, calc(100vh - var(--header-h) - 28px), 792px);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; padding-top: 4px; padding-bottom: 72px;
  }
  .hero__copy { align-self: center; padding-left: 0; }
  .hero__portrait { height: var(--hero-h); width: calc(var(--hero-h) * 0.707); aspect-ratio: auto; }
}
@media (min-width: 810px) and (max-width: 1439.98px) {
  .hero__copy { gap: 20px; }
  .hero__lead { font-size: 19px; max-width: 470px; }
  .hero__badge { width: 112px; height: 112px; left: -46px; bottom: 48px; }
}
@media (max-width: 809.98px) {
  .hero__visual { order: -1; padding: 4px var(--gutter) 0; }
  .hero__portrait { order: 0; height: 40vh; height: 40svh; min-height: 250px; border-radius: 50% 50% 18px 18px / 38% 38% 18px 18px; }
  .hero__badge { left: auto; right: calc(var(--gutter) - 6px); bottom: -22px; width: 92px; height: 92px; }
  .hero__copy { padding-top: 26px; }
}

/* ---------- masks and cards ---------- */
.media { background: var(--c-tint); border-radius: var(--mask-card); }
.stylist-card__frame { border-radius: var(--mask-team); }
.price-card { background: var(--c-tint); }
.price-row + .price-row, .price-group + .price-group { border-color: rgb(43 27 41 / 0.1); }
.level-switch { background: var(--c-tint); box-shadow: none; }
.level-switch__option:hover { background: var(--c-surface); }
.status-pill { background: var(--c-tint); }
.reviews__note { font-size: 14px; letter-spacing: 0.02em; }
.site-footer__demo { opacity: 0.72; font-size: 14px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgb(139 63 115 / 0.2); } }

/* ---------- motion: entrance on load (plays inside the showcase frames) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual { animation: visual-in 1s var(--ease-out) 0.1s both; }
  .hero__badge { animation: badge-in 1.4s var(--ease-out) 0.55s both; }
}
@keyframes visual-in { from { opacity: 0; translate: 0 28px; } }
@keyframes badge-in { from { opacity: 0; scale: 0.6; rotate: -120deg; } }

/* ---------- phone: price list and level switch fit long Ukrainian labels ---------- */
@media (max-width: 809.98px) {
  .level-switch { display: flex; width: 100%; }
  .level-switch__option { flex: 1 1 auto; padding: 0 8px; font-size: 14px; }
  .price-group__name { flex-basis: 100%; }
  .price-group__rows { flex-basis: 100%; }
  .price-row { flex-wrap: wrap; column-gap: 12px; row-gap: 2px; align-items: baseline; }
  .price-row__text { flex: 1 1 100%; }
  .price-row__book { margin-left: auto; min-height: 36px; }
}
.service-card__from { white-space: nowrap; flex: none; }
@media (min-width: 810px) { .service-card__meta { align-items: baseline; } }

/* business tokens (library_build_site.py) */
@font-face { font-family: "Malva Display"; src: url("../assets/fonts/biz-cormorant-cyrillic-normal-500.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Malva Display"; src: url("../assets/fonts/biz-cormorant-latin-normal-500.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Malva Body"; src: url("../assets/fonts/biz-manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Malva Body"; src: url("../assets/fonts/biz-manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
:root { --c-bg: #f5eff2; --c-surface: #fbf8fa; --c-ink: #2a1a28; --c-text: #5d4a59; --c-muted: #735e6d; --c-accent: #8b3f73; --c-accent-hover: #6f2e5b; --c-accent-press: #5a2449; --c-dark: #2b1b29; --c-on-dark: #f5eff2; --c-line: rgb(42 26 40 / 0.12); --c-line-on-dark: rgb(245 239 242 / 0.2); --c-focus: #2a1a28; --c-focus-on-dark: #f5eff2; --c-tint: #ede3ea; --c-tint-strong: #e2d2de; --font: "Malva Body", "Helvetica Neue", Arial, sans-serif; --font-display: "Malva Display", Georgia, "Times New Roman", serif; --fs-hero: 112px; --fs-h2: 64px; --fs-visit: 50px; --fs-quote: 24px; }
@media (min-width: 810px) and (max-width: 1439.98px) { :root { --fs-hero: clamp(64px, 7.6vw, 112px); --fs-h2: 54px; --fs-visit: 42px; } }
@media (max-width: 809.98px) { :root { --fs-hero: 46px; --fs-h2: 38px; --fs-visit: 32px; --fs-quote: 19px; } }

/* enhanced photos: <picture> wrapper is layout-neutral */
picture.biz-pic { display: contents; } picture.biz-pic > source { display: none; }
