/* Theme values are injected per salon as CSS variables in each page's <style> block. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font), system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--heading-font), Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.sample { color: var(--muted); font-size: 0.85em; font-weight: 400; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--text); background: var(--text); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 0;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); }
.btn-outline:hover { background: var(--panel); color: var(--text); border-color: var(--text); }
.btn-block { width: 100%; }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); text-decoration: underline; text-underline-offset: 5px; background: none; border: 0; padding: 0; cursor: pointer;
}

/* Promotions bar */
.promo { background: var(--panel); border-bottom: 1px solid var(--line); font-size: 13px; }
.promo .wrap { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.promo p { flex: 1; }
.promo a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.promo button { background: none; border: 0; width: 44px; height: 40px; cursor: pointer; font-size: 18px; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { font-family: var(--heading-font), Georgia, serif; font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.menu-btn { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--text); }
.header-book { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.desktop-nav { display: none; }
.desktop-nav a { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.desktop-nav a:hover { color: var(--accent); }
.header-phone { display: none; font-size: 13px; text-decoration: none; }

/* Mobile menu */
.menu-panel { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: none; flex-direction: column; padding: 16px 24px 32px; overflow-y: auto; }
.menu-panel.open { display: flex; }
.menu-panel .menu-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 24px; }
.menu-panel .close { width: 44px; height: 44px; background: none; border: 0; font-size: 26px; cursor: pointer; }
.menu-panel nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--heading-font), Georgia, serif; font-size: 24px; text-decoration: none; }
.menu-panel .btn { margin-top: 28px; }

/* Sections */
.section { padding: 48px 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2, .section h2 { font-size: 28px; }
.section-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.page-title { padding: 36px 0 8px; }
.page-title h1 { font-size: 34px; }
.page-title p { margin-top: 8px; color: var(--muted); }

/* Hero */
.hero { padding-top: 16px; }
.hero-img { width: 100%; height: 280px; object-fit: cover; border: 1px solid var(--line); }
.hero h1 { font-size: 34px; margin-top: 20px; }
.hero h1 .line { display: block; }
.hero .intro { margin-top: 10px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; }

/* Services */
.service { border-bottom: 1px solid var(--line); padding: 16px 0; }
.service-top, .service-bottom { display: flex; justify-content: space-between; gap: 16px; }
.service-top { align-items: baseline; }
.service-name { font-family: var(--heading-font), Georgia, serif; font-size: 20px; }
.service-price { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.service-bottom { align-items: center; margin-top: 4px; }
.service-desc { font-size: 13px; color: var(--muted); }
.service-meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 12px; color: var(--muted); }
.service-meta a { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.services-list { border-top: 1px solid var(--line); }
.services-extra[hidden] { display: none; }

/* Swipe rows */
.swipe { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px 4px; scroll-padding-left: 24px; scrollbar-width: none; }
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { scroll-snap-align: start; flex: 0 0 auto; }
.work-card { width: 200px; }
.work-card img { width: 200px; height: 256px; object-fit: cover; }
.work-card p, .grid-card p { margin-top: 8px; font-family: var(--heading-font), Georgia, serif; font-size: 16px; }
.team-card { width: 200px; }
.team-card img { width: 200px; height: 200px; object-fit: cover; }
.team-card h3 { font-size: 17px; margin-top: 10px; }
.team-card p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.team-card .link { font-size: 11px; text-decoration: none; }
.review-card { width: 260px; background: var(--panel); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; }
.review-card blockquote { margin: 0; font-style: italic; }
.review-card cite { display: block; margin-top: 12px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.full-bleed { margin: 0 -24px; }

/* Before and after */
.ba { position: relative; width: 100%; height: 260px; overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba .ba-handle { position: absolute; top: 50%; left: var(--pos, 50%); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; color: var(--accent); pointer-events: none; }
.ba-label { position: absolute; bottom: 12px; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(42, 18, 24, 0.75); pointer-events: none; }
.ba-label.before { left: 12px; }
.ba-label.after { right: 12px; background: var(--accent); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Grids */
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
.grid-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.grid-card[hidden] { display: none; }
.filters { display: flex; gap: 22px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 20px 0 24px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; min-height: 44px; cursor: pointer; white-space: nowrap; color: var(--muted); }
.filters button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }

/* Lists and panels */
.lines { border-top: 1px solid var(--line); }
.lines li { list-style: none; display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lines li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-2px); }
ul.lines { margin: 0; padding: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 16px; }
.rows .row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.map { height: 160px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.map iframe { width: 100%; height: 100%; border: 0; }
.visit-notes { margin: 10px 0 16px; padding: 0; }
.visit-notes li { list-style: none; font-size: 14px; color: var(--muted); padding: 2px 0; }
.two-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 10px; }

/* Accordion */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; cursor: pointer; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }

/* Forms */
.form-group { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-group > .eyebrow { display: block; margin-bottom: 12px; }
.field { margin-top: 14px; }
.field label { display: block; font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0;
  padding: 10px 0; font-size: 16px; min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choices { display: grid; gap: 8px; }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.choices.seven { grid-template-columns: repeat(7, 1fr); gap: 4px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 6px 4px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; cursor: pointer;
}
.choice small { font-size: 10px; color: var(--muted); text-transform: uppercase; }
.choice input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.choice input:checked + span small { color: var(--bg); opacity: 0.8; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.form-error { margin-top: 12px; font-size: 13px; color: var(--accent); }
.external-book { margin-top: 20px; }

/* Summary table */
.summary { border-top: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 0; font-weight: 500; text-align: right; }

/* Voucher */
.voucher { border: 1px solid var(--line); background: var(--panel); padding: 16px; margin-top: 20px; }
.voucher-inner { border: 1px solid var(--line); background: var(--bg); padding: 18px; }
.voucher .value { font-family: var(--heading-font), Georgia, serif; font-size: 30px; margin-top: 18px; }

/* Footer */
.site-footer { margin-top: 64px; background: var(--footer); border-top: 1px solid var(--line); padding: 32px 0 110px; text-align: center; }
.site-footer .brand { display: inline-block; margin-bottom: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 16px; }
.footer-links a { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-meta { font-size: 12px; color: var(--muted); }

/* Sticky action bar (mobile and tablet) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.2s ease;
}
.action-bar.show { transform: none; }
.action-bar .btn { min-height: 46px; }
.action-bar .btn-book { background: var(--accent); border-color: var(--accent); }

/* Tablet */
@media (min-width: 768px) {
  .wrap { padding: 0 40px; }
  .swipe { padding: 0 40px 4px; scroll-padding-left: 40px; }
  .full-bleed { margin: 0 -40px; }
  .hero-img { height: 420px; }
  .hero h1 { font-size: 46px; }
  .services-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .services-extra { display: contents; }
  .services-extra[hidden] { display: none; }
  .service { border-top: 1px solid var(--line); border-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .ba { height: 360px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}

/* Desktop */
@media (min-width: 1100px) {
  body { font-size: 16px; }
  .menu-btn { display: none; }
  .desktop-nav { display: flex; gap: 28px; }
  .header-phone { display: inline; }
  .site-header .wrap { height: 72px; }
  .header-book { background: var(--text); color: var(--bg); padding: 0 22px; }
  .header-book:hover { background: var(--accent); }
  .action-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
  .hero .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .hero-img { height: 560px; order: 2; }
  .hero h1 { font-size: 58px; margin-top: 0; }
  .hero-copy { order: 1; }
  .section { padding-top: 72px; }
  .section-head h2, .section h2 { font-size: 36px; }
  .page-title h1 { font-size: 48px; }
  .swipe { padding: 0; overflow: visible; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .full-bleed { margin: 0; }
  .work-card, .team-card, .review-card { width: auto; }
  .work-card img, .team-card img { width: 100%; }
  .work-card img { height: 320px; }
  .team-card img { height: 300px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .ba { height: 440px; }
  .booking-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: start; }
  .booking-aside { position: sticky; top: 100px; }
}
fieldset.plain { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.plain legend { padding: 0; margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Premium polish and motion ---------- */
::selection { background: var(--accent); color: var(--bg); }
.hero-copy .eyebrow { color: var(--accent); margin-top: 22px; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--accent); }
.hero h1 { margin-top: 10px; }
.hero-media { overflow: hidden; border: 1px solid var(--line); }
.hero-media .hero-img { border: 0; }
.section-head h2, .section > .wrap > h2 { position: relative; }

/* Buttons and links */
.btn { transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease; }
.btn:active { transform: scale(0.98); }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; transition: background-size 0.35s ease; }
.link:hover { background-size: 0% 1px; background-position: 100% calc(100% - 10px); }

/* Header gains depth after scrolling */
.site-header { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(42, 18, 24, 0.35); }

/* Service ribbon */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; padding: 14px 0; background: var(--panel); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--heading-font), Georgia, serif; font-style: italic; font-size: 22px; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 12px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Service rows */
.service { transition: background-color 0.3s ease, padding 0.3s ease; }
@media (hover: hover) { .service:hover { background: var(--panel); padding-left: 12px; padding-right: 12px; } }

/* Image frames zoom gently on hover */
.work-card, .team-card, .grid-card, .insta-grid { overflow: hidden; }
.work-card img, .team-card img, .grid-card img, .insta-grid img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease; }
@media (hover: hover) {
  .work-card:hover img, .team-card:hover img, .grid-card:hover img, .insta-grid img:hover { transform: scale(1.05); }
}

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-in { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(0.15s + var(--i, 0) * 0.12s); }
.hero-media .hero-img { animation: settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Scroll reveal (applied by app.js) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Smooth accordion */
.faq details p { animation: rise 0.45s ease both; }

/* Sticky bar eases in */
.action-bar { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ================= Art direction v2 ================= */
:root { --gutter: 22px; --display: clamp(46px, 12.5vw, 128px); --h2: clamp(36px, 8.6vw, 76px); --ease: cubic-bezier(0.2, 0.7, 0.2, 1); }
body { font-size: 15.5px; letter-spacing: 0.005em; }
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 400; }
h2 em, h1 em { font-style: italic; color: var(--accent); }
.wrap { padding: 0 var(--gutter); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding: 88px 0 0; }
.section-head { display: block; position: relative; margin-bottom: 28px; }
.section-head h2 { font-size: var(--h2); line-height: 1; }
.section-head .head-link, .section-head .rating { position: absolute; right: 0; bottom: 6px; }
.section-note { font-size: 12px; letter-spacing: 0.02em; }

/* Header */
.site-header .wrap { height: 64px; }
.brand { font-size: 15px; letter-spacing: 0.28em; }
.header-book { border: 1px solid var(--text); padding: 0 16px; color: var(--text); min-height: 38px; }
.header-book:hover { background: var(--text); color: var(--bg); }
.promo { font-size: 12px; letter-spacing: 0.04em; }

/* Hero */
.hero { position: relative; padding: 0; }
.hero-media { border: 0; margin: 0; height: 64vh; min-height: 420px; max-height: 720px; }
.hero-media .hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-detail { display: none; }
.hero-copy { padding: 30px var(--gutter) 0; }
.hero-copy .kicker { margin-top: 0; }
.hero h1 { font-size: var(--display); line-height: 0.95; margin: 0; }
.hero h1 .line { display: block; }
.hero .intro { margin-top: 18px; font-size: 16px; max-width: 34ch; }
.hero-actions { margin-top: 26px; gap: 24px; }
.btn { min-height: 52px; padding: 0 30px; letter-spacing: 0.18em; }

/* Marquee as a dark band */
.marquee { margin-top: 56px; background: var(--text); color: var(--bg); border: 0; padding: 18px 0; }
.marquee span { font-size: 26px; }
.marquee i { color: var(--panel); opacity: 0.8; }

/* Statement */
.statement { padding: 88px 0 0; }
.statement-text { font-family: var(--heading-font), Georgia, serif; font-size: clamp(28px, 6.6vw, 56px); line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; }

/* Services menu */
.services-list { border-top: 1px solid var(--text); }
.service { padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-top { align-items: baseline; gap: 10px; }
.service-name { font-size: 24px; white-space: nowrap; }
.leader { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--text) 35%, transparent); transform: translateY(-5px); min-width: 16px; }
.service-price { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.service-price .sample { font-size: 11px; }
.service-bottom { margin-top: 6px; }
.service-desc { font-size: 13.5px; max-width: 40ch; }
#services-toggle { margin-top: 18px; }

/* Work mosaic: swipe on phones */
.work-mosaic { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
.work-mosaic::-webkit-scrollbar { display: none; }
.work-mosaic .work-card { flex: 0 0 74vw; max-width: 340px; scroll-snap-align: start; margin: 0; width: auto; }
.work-mosaic .work-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.work-card figcaption { margin-top: 10px; font-family: var(--heading-font), Georgia, serif; font-style: italic; font-size: 18px; }

/* Before and after full width on phones */
.ba { border: 0; height: 340px; margin: 0 calc(-1 * var(--gutter)); width: auto; }
.ba-label { bottom: 16px; }

/* Team portraits */
.team-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scrollbar-width: none; }
.team-row::-webkit-scrollbar { display: none; }
.team-row .team-card { flex: 0 0 64vw; max-width: 300px; width: auto; scroll-snap-align: start; }
.team-row .team-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.team-card h3 { font-size: 22px; margin-top: 14px; }
.team-card p { font-size: 13.5px; }

/* Reviews dark band */
.dark-band { margin-top: 96px; padding: 80px 0 72px; background: var(--text); color: var(--bg); }
.dark-band .kicker { color: color-mix(in srgb, var(--bg) 70%, var(--accent)); }
.dark-band h2 em { color: color-mix(in srgb, var(--bg) 55%, var(--accent)); }
.dark-band .rating { position: static; display: block; margin-top: 14px; font-size: 13px; letter-spacing: 0.06em; color: color-mix(in srgb, var(--bg) 75%, transparent); }
.dark-band .rating b { font-family: var(--heading-font), Georgia, serif; font-size: 28px; font-weight: 400; color: var(--bg); margin-right: 6px; }
.dark-band .link { color: var(--bg); }
.quotes { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 8px calc(-1 * var(--gutter)) 24px; padding: 0 var(--gutter); scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 82vw; max-width: 460px; margin: 0; scroll-snap-align: start; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }
.quote blockquote { margin: 0; font-family: var(--heading-font), Georgia, serif; font-style: italic; font-size: clamp(24px, 6vw, 34px); line-height: 1.25; }
.quote blockquote::before { content: "“"; display: block; font-size: 64px; line-height: 0.6; color: color-mix(in srgb, var(--bg) 45%, var(--accent)); margin-bottom: 10px; font-style: normal; }
.quote figcaption { margin-top: 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* Instagram */
.insta-grid { gap: 3px; margin: 0 calc(-1 * var(--gutter)); }

/* Care list */
.care-list { list-style: none; counter-reset: care; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--text); }
.care-list li { counter-increment: care; display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.care-list li::before { content: "0" counter(care); font-family: var(--heading-font), Georgia, serif; font-style: italic; color: var(--accent); font-size: 15px; min-width: 24px; }

/* Visit */
.visit-address { font-family: var(--heading-font), Georgia, serif; font-size: 26px; line-height: 1.2; }
.hours { margin-top: 8px; border-top: 1px solid var(--text); padding-top: 16px; }
.hours .row { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.visit .map { position: relative; margin: 36px calc(-1 * var(--gutter)) 0; height: 320px; border: 0; background: var(--panel); }
.visit .map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.map-link { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--bg); padding: 12px 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }

/* Footer: dark with giant wordmark */
.site-footer { margin-top: 110px; background: var(--text); color: var(--bg); border: 0; padding: 72px 0 120px; text-align: left; }
.footer-cta { font-family: var(--heading-font), Georgia, serif; font-size: clamp(34px, 8vw, 64px); line-height: 1.05; margin-bottom: 24px; }
.btn-light { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.footer-mark { display: block; margin: 64px 0 28px; font-family: var(--heading-font), Georgia, serif; font-size: clamp(40px, 12vw, 150px); line-height: 0.9; letter-spacing: -0.03em; text-decoration: none; overflow-wrap: anywhere; }
.footer-links { justify-content: flex-start; gap: 4px 24px; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); padding-top: 16px; }
.site-footer .footer-meta { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.site-footer .sample { color: inherit; }

/* Inner pages pick up the same scale */
.page-title { padding: 56px 0 12px; }
.page-title h1 { font-size: clamp(44px, 11vw, 96px); line-height: 0.98; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .hero-media { height: 70vh; }
  .menu .services-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .menu .service { border-top: 1px solid var(--line); border-bottom: 0; }
  .work-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .work-mosaic .work-card { max-width: none; }
  .work-mosaic .w0 { grid-column: span 2; grid-row: span 2; }
  .work-mosaic .w0 img { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .work-mosaic .w0 { display: flex; flex-direction: column; }
  .work-mosaic .w0 img { flex: 1; }
  .ba { margin: 0; height: 460px; }
  .team-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 18px 0 0; padding: 0; }
  .team-row .team-card { max-width: none; }
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 8px 0 32px; padding: 0; }
  .quote { max-width: none; }
  .insta-grid { margin: 0; grid-template-columns: repeat(6, 1fr); }
  .care { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
  .visit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
  .visit .map { margin: 0; height: auto; min-height: 520px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1100px) {
  :root { --gutter: 56px; }
  .wrap { max-width: 1320px; }
  .section { padding-top: 140px; }
  .statement { padding-top: 140px; }
  .hero { display: grid; grid-template-columns: 6fr 5fr; align-items: end; max-width: 1320px; margin: 0 auto; padding: 48px var(--gutter) 0; gap: 0; }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 0 56px 64px 0; order: 0; z-index: 2; }
  .hero h1 { font-size: clamp(76px, 7.8vw, 128px); }
  .hero-media { grid-column: 2; grid-row: 1; height: 82vh; min-height: 620px; max-height: 860px; margin: 0; }
  .hero-detail { display: block; position: absolute; left: calc(var(--gutter) + 46%); bottom: -56px; width: 210px; aspect-ratio: 4 / 5; overflow: hidden; border: 8px solid var(--bg); z-index: 3; box-shadow: 0 30px 60px -30px rgba(42, 18, 24, 0.5); animation: rise 1.1s var(--ease) 0.7s both; }
  .hero-detail img { width: 100%; height: 100%; object-fit: cover; }
  .marquee { margin-top: 120px; }
  .marquee span { font-size: 32px; }
  .statement-text { font-size: 64px; }
  .section-head { margin-bottom: 44px; }
  .ba { height: 560px; }
  .dark-band { margin-top: 140px; padding: 120px 0 110px; }
  .quote blockquote { font-size: 30px; }
  .visit .map { min-height: 620px; }
  .site-footer { padding: 110px 0 56px; }
}

/* Header fits narrow phones and long salon names */
.site-header .wrap { gap: 10px; }
.site-header .brand { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: center; font-size: 13px; letter-spacing: 0.2em; }
.header-book { flex: 0 0 auto; padding: 0 12px; }
@media (min-width: 768px) { .site-header .brand { font-size: 15px; letter-spacing: 0.28em; flex: 0 1 auto; text-align: left; } }

/* Fixes: header links under headings on phones, contained map, hero size */
.section-head .head-link { position: static; margin-top: 10px; }
.visit .map { display: block; overflow: hidden; }
.visit .map img { display: block; }
.hero h1 { font-size: clamp(42px, 11vw, 128px); }
@media (min-width: 768px) { .section-head .head-link { position: absolute; right: 0; bottom: 6px; margin: 0; } }
@media (min-width: 1100px) {
  .hero h1 { font-size: clamp(68px, 6.3vw, 104px); }
  .header-book { background: var(--text); color: var(--bg); padding: 0 22px; min-height: 44px; }
  .header-book:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
  .work-mosaic .w4 { grid-column: span 2; }
  .work-mosaic .w4 img { aspect-ratio: 8 / 5; }
}
@media (min-width: 1100px) { .hero h1 { font-size: clamp(64px, 5.3vw, 92px); } .hero-copy { padding-right: 40px; } }

/* ================= Demo booking flow ================= */
body:has(.bk) .action-bar, body:has(.bk) .site-footer .footer-cta, body:has(.bk) .site-footer .btn-light { display: none; }
.bk { padding-bottom: 96px; }
.bk-demo { margin: 0; padding: 10px var(--gutter); background: var(--panel); border-bottom: 1px solid var(--line); font-size: 12px; text-align: center; color: var(--muted); }
.bk-wrap { padding-top: 20px; }
.bk-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; min-height: 44px; }
.bk-steps ol { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.bk-steps li { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bk-steps li + li::before { content: "›"; margin-right: 6px; }
.bk-steps li.on { color: var(--text); font-weight: 600; }
.bk-steps li.past { color: var(--accent); }
.bk-back { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); border-radius: 50%; cursor: pointer; font-size: 18px; flex-shrink: 0; }
.bk-title { font-size: clamp(36px, 9vw, 60px); line-height: 1; margin-bottom: 22px; }
.bk-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.bk-tabs::-webkit-scrollbar { display: none; }
.bk-tabs button { flex-shrink: 0; min-height: 40px; padding: 0 18px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; cursor: pointer; font-size: 14px; transition: all 0.25s ease; }
.bk-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.bk-service { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; width: 100%; text-align: left; padding: 20px; margin-bottom: 10px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease; }
.bk-service:hover { border-color: var(--text); }
.bk-service.on { border-color: var(--accent); background: var(--panel); }
.bk-service-text { display: flex; flex-direction: column; gap: 4px; }
.bk-service strong { font-family: var(--heading-font), Georgia, serif; font-weight: 400; font-size: 21px; }
.bk-service small, .bk-desc { font-size: 13px; color: var(--muted); }
.bk-price { margin-top: 6px; font-weight: 600; font-size: 14px; }
.bk-tick { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: all 0.25s ease; }
.bk-service.on .bk-tick { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.bk-pros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bk-pro { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; text-align: center; transition: all 0.25s ease; }
.bk-pro:hover { border-color: var(--text); }
.bk-pro.on { border-color: var(--accent); background: var(--panel); }
.bk-pro img, .bk-any { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.bk-any { display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 22px; }
.bk-pro strong { font-family: var(--heading-font), Georgia, serif; font-weight: 400; font-size: 18px; margin-top: 6px; }
.bk-pro small { font-size: 12px; color: var(--muted); }
.bk-month { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bk-dates { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.bk-dates::-webkit-scrollbar { display: none; }
.bk-date { flex: 0 0 60px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; cursor: pointer; transition: all 0.25s ease; }
.bk-date small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.bk-date strong { font-size: 20px; font-weight: 500; }
.bk-date.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.bk-date.on small { color: var(--bg); }
.bk-date:disabled { opacity: 0.35; cursor: default; text-decoration: line-through; }
.bk-day { margin: 24px 0 12px; font-family: var(--heading-font), Georgia, serif; font-size: 22px; }
.bk-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bk-time { min-height: 52px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 15px; transition: all 0.2s ease; }
.bk-time:hover { border-color: var(--text); }
.bk-time.on { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.bk-empty { color: var(--muted); font-size: 14px; }
.bk-policy { margin-top: 28px; padding: 18px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.bk-agree { display: flex; gap: 12px; align-items: center; margin-top: 16px; min-height: 44px; cursor: pointer; font-size: 14px; }
.bk-agree input { width: 20px; height: 20px; accent-color: var(--accent); }
.bk-done { text-align: left; }
.bk-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--bg); font-size: 28px; margin-bottom: 20px; animation: rise 0.6s var(--ease) both; }
.bk-lead { color: var(--muted); margin: -8px 0 20px; }
.bk-done .summary { margin-bottom: 8px; }
.bk-done .btn-block { margin-top: 4px; }
.bk-aside { display: none; }
.bk-card { border: 1px solid var(--line); background: var(--bg); padding: 22px; }
.bk-venue { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.bk-venue img { width: 64px; height: 64px; object-fit: cover; }
.bk-venue strong { display: block; font-family: var(--heading-font), Georgia, serif; font-weight: 400; font-size: 19px; }
.bk-venue small { color: var(--muted); font-size: 12px; }
.bk-when { margin: 16px 0 0; font-size: 14px; }
.bk-lines { padding: 8px 0; border-bottom: 1px solid var(--line); }
.bk-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; }
.bk-line strong { display: block; font-weight: 500; }
.bk-line small { color: var(--muted); font-size: 12px; }
.bk-total { display: flex; justify-content: space-between; padding: 16px 0; font-size: 16px; }
.bk-card .btn:disabled, .bk-bar .btn:disabled { opacity: 0.35; cursor: not-allowed; background: var(--text); }
.bk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 96%, transparent); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.bk-bar:empty { display: none; }
.bk-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1320px; margin: 0 auto; }
.bk-bar strong { display: block; font-size: 17px; }
.bk-bar small { color: var(--muted); font-size: 12px; }
@media (min-width: 768px) {
  .bk-pros { grid-template-columns: repeat(4, 1fr); }
  .bk-times { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .bk { padding-bottom: 0; }
  .bk-wrap { display: grid; grid-template-columns: 7fr 4fr; gap: 56px; padding-top: 40px; align-items: start; }
  .bk-aside { display: block; position: sticky; top: 100px; }
  .bk-bar { display: none; }
  .bk-times { grid-template-columns: repeat(6, 1fr); }
}

/* Header buttons: always readable, no hover needed */
.site-header .header-book, .site-header .header-phone { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--accent); white-space: nowrap; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.site-header .header-book { background: var(--accent); color: #fff; }
.site-header .header-book:hover { background: var(--text); border-color: var(--text); color: #fff; }
.site-header .header-phone { display: none; background: transparent; color: var(--accent); }
.site-header .header-phone:hover { background: var(--accent); color: #fff; }
@media (min-width: 768px) {
  .site-header .header-phone { display: inline-flex; }
  .site-header .header-book, .site-header .header-phone { padding: 0 20px; min-height: 44px; }
}
@media (min-width: 768px) {
  .site-header .wrap { justify-content: flex-start; }
  .site-header .desktop-nav, .site-header .header-phone { margin-left: auto; }
}
.bk-count { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bk-count::after { content: "·"; margin-left: 8px; }
@media (max-width: 767px) {
  .bk-steps li:not(.on) { display: none; }
  .bk-steps li.on::before { display: none; }
}
@media (min-width: 768px) { .bk-count { display: none; } }
.bk-main { min-width: 0; }
@media (min-width: 1100px) { .bk-wrap { grid-template-columns: minmax(0, 7fr) minmax(340px, 4fr); } }
@media (max-width: 480px) { .bk-done .two-btns { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .bk-dates, .bk-tabs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }

/* Sideways scrollers: sideways only, never up-down inside the strip */
.swipe, .filters, .work-mosaic, .team-row, .quotes, .bk-tabs, .bk-dates {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
}

/* Reviews on phones: one review at a time, snapped to the centre of the screen */
@media (max-width: 767px) {
  .quotes { padding: 0 9vw; scroll-padding: 0 9vw; gap: 20px; }
  .quote { flex: 0 0 82vw; max-width: none; scroll-snap-align: center; scroll-snap-stop: always; text-align: center; }
  .quote blockquote::before { margin-left: auto; margin-right: auto; }
  .work-mosaic .work-card, .team-row > * { scroll-snap-stop: always; }
}

/* Phone hero: two photos, one slowly zooms in while the other fades away, then they swap */
.hero-media { position: relative; }
.hero-alt { display: none; }
@media (max-width: 1099px) {
  .hero-alt { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
  .hero-media .hero-img { transform-origin: 60% 40%; animation: settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both, heroA 9s ease-in-out 1.8s infinite; }
  .hero-alt { transform-origin: 40% 60%; animation: heroB 9s ease-in-out 1.8s infinite; }
}
@keyframes heroA {
  0% { opacity: 1; transform: scale(1); }
  48% { opacity: 1; transform: scale(1.12); }
  58% { opacity: 0; transform: scale(1.16); }
  59%, 90% { opacity: 0; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes heroB {
  0%, 46% { opacity: 0; transform: scale(1); }
  58% { opacity: 1; transform: scale(1.03); }
  90% { opacity: 1; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.17); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-alt { display: none !important; }
  .hero-media .hero-img { animation: none !important; }
}

/* Smoother phone hero (overrides the first version): the main photo never fades, so the
   background never shows through. Only the top photo fades in and out over it, with eased
   fades, and both photos zoom at a steady speed that never stops or jumps while on screen. */
@media (max-width: 1099px) {
  .hero-media .hero-img, .hero-alt { will-change: transform, opacity; backface-visibility: hidden; }
  .hero-media .hero-img { opacity: 1; animation: settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both, heroZoomA 9s linear 1.8s infinite; }
  .hero-alt { animation: heroZoomB 9s linear 1.8s infinite, heroFadeB 9s 1.8s infinite; }
}
@keyframes heroZoomA {
  0% { transform: scale(1.03); }
  56% { transform: scale(1.15); }
  57%, 86% { transform: scale(1); }
  100% { transform: scale(1.03); }
}
@keyframes heroZoomB {
  0%, 34% { transform: scale(1); }
  100% { transform: scale(1.15); }
}
@keyframes heroFadeB {
  0%, 36% { opacity: 0; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  54%, 84% { opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { opacity: 0; }
}
