/* Ziba de Beauté — tokens */
/* Fonts: self-hosted (SIL Open Font License). Fallback faces are sized from each font's real
   metrics (scripts in git history) so text does not shift when the web fonts finish loading. */
@font-face {
  font-family: "Anybody"; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%;
  font-display: swap; src: url("assets/fonts/anybody-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;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900;
  font-display: swap; src: url("assets/fonts/figtree-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;
}
@font-face {
  font-family: "Figtree Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 99.8%; ascent-override: 95.2%; descent-override: 25.1%; line-gap-override: 0%;
}
@font-face {
  font-family: "Anybody Fallback"; font-weight: 400 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 142.2%; ascent-override: 55.9%; descent-override: 16.9%; line-gap-override: 0%;
}
@font-face {
  font-family: "Anybody Hero Fallback"; font-weight: 400 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 160.7%; ascent-override: 49.5%; descent-override: 14.9%; line-gap-override: 0%;
}

:root {
  /* Mauve & gold. Contrast (WCAG): ink on petal 14.2, white on mauve 9.6,
     white on berry 6.4, berry on petal 5.6, gold-light on mauve 5.0, gold-dark on petal 5.6.
     Plain --gold is decoration only (lines, the hero thread). */
  --ink: #2E1B25;        /* text */
  --mauve: #5E3A4C;      /* dark grounds: bar, hero, locations */
  --paper: #F8EEF1;      /* petal page */
  --berry: #9C3F63;      /* buttons, links */
  --berry-dark: #7E2F4E;
  --gold: #C2995C;       /* lines and ornament */
  --gold-light: #D9B77E; /* gold text on mauve */
  --gold-dark: #7A5A26;  /* gold text on light grounds */
  --champagne: #F1E6D3;  /* deal-day band */
  --muted: #6E5563;
  --line: #E9D9E0;

  --display: "Anybody", "Anybody Fallback", system-ui, sans-serif;
  --body: "Figtree", "Figtree Fallback", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 4.5vw, 3rem);
  --step-4: clamp(2.75rem, 8.5vw, 6.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; }
h2 { color: var(--mauve); font-size: var(--step-3); font-variation-settings: "wdth" 120; font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; font-variation-settings: "wdth" 100; line-height: 1.2; }
p { margin: 0; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 2px; }
.bar :focus-visible, .hero :focus-visible, .visit :focus-visible { outline-color: var(--gold-light); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--berry); color: #fff;
  font: 700 var(--step-0)/1 var(--body);
  text-decoration: none; border-radius: 999px; border: 2px solid var(--berry);
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--mauve); border-color: #fff; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: var(--step--1); }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: var(--mauve); color: #fff;
  border-bottom: 1px solid rgba(217,183,126,.35);
}
.wordmark {
  font: 800 1.35rem/1 var(--display); font-variation-settings: "wdth" 130;
  color: #fff; text-decoration: none; margin-right: auto; white-space: nowrap;
}
.wordmark span { font-weight: 400; font-variation-settings: "wdth" 90; }
.bar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.bar nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.bar nav a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 760px) { .bar nav { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--mauve); color: #fff;
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 9vw, 110px);
}
.thread {
  position: absolute; left: 0; right: 0; top: 8%;
  width: 100%; height: 46%; pointer-events: none;
}
.thread path {
  fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1800; stroke-dashoffset: 1800;
  animation: draw 1.6s cubic-bezier(.6,.05,.25,1) .2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .hero { padding-bottom: 110px; }
  .thread { top: auto; bottom: 0; height: 90px; }
}
@media (prefers-reduced-motion: reduce) { .thread path { animation: none; stroke-dashoffset: 0; } }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero-kicker { font-weight: 500; color: var(--gold-light); letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 {
  font-family: "Anybody", "Anybody Hero Fallback", sans-serif;
  font-size: var(--step-4); font-weight: 900; font-variation-settings: "wdth" 132;
  letter-spacing: -0.02em; max-width: 13ch; line-height: .94;
}
.hero-sub { margin-top: 26px; max-width: 54ch; font-size: var(--step-1); color: #F3E6EC; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: var(--step--1); color: #E2CCD7; }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); border-top: 3px solid var(--gold); background: #fff; }
.proof ul {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.proof li { display: flex; flex-direction: column; gap: 2px; }
.proof strong { color: var(--mauve); font: 800 var(--step-1)/1.15 var(--display); font-variation-settings: "wdth" 115; }
.proof span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 720px) { .proof ul { grid-template-columns: 1fr; gap: 14px; } }

/* Services */
.services { padding: clamp(56px, 8vw, 96px) 0; }
.router { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--mauve); background: transparent; color: var(--mauve);
  font: 600 var(--step-0)/1 var(--body); cursor: pointer;
}
.chip { transition: background-color .2s, color .2s; }
.chip:hover { background: #EFDDE4; }
.chip[aria-pressed="true"] { background: var(--mauve); color: #fff; }
.services-help { margin-top: 18px; color: var(--muted); font-size: var(--step--1); }

.menu { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--mauve); }
.item {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.item[hidden] { display: none; }
.item-note { color: var(--muted); font-size: var(--step--1); margin-top: 3px; }
.item-meta { display: flex; gap: 14px; align-items: baseline; white-space: nowrap; }
.price { color: var(--mauve); font: 800 var(--step-1)/1 var(--display); font-variation-settings: "wdth" 110; }
.mins { color: var(--muted); font-size: var(--step--1); min-width: 3.5em; }
.book {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 2px solid var(--berry); color: var(--berry);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.book:hover { background: var(--berry); color: #fff; }
.deal {
  grid-column: 1 / -1; justify-self: start;
  background: var(--champagne); color: var(--gold-dark); font-size: var(--step--1); font-weight: 600;
  padding: 4px 10px; border-left: 3px solid var(--gold);
}
.deal.is-today { background: var(--gold); color: var(--ink); font-weight: 700; }
@media (max-width: 600px) {
  .item { grid-template-columns: 1fr auto; }
  .item-main { grid-column: 1 / -1; }
}

/* Deals */
.deals { background: var(--champagne); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: clamp(48px, 7vw, 80px) 0; }
.deals p { margin-top: 12px; max-width: 60ch; }
.deal-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: 2px solid var(--gold); }
.deal-list li {
  display: grid; grid-template-columns: 1fr 10em 13em; gap: 6px 20px;
  padding: 16px 0; border-bottom: 1px solid rgba(122,90,38,.3); align-items: baseline;
}
.deal-list strong { color: var(--mauve); font-family: var(--display); font-variation-settings: "wdth" 110; font-size: var(--step-1); }
.next { font-weight: 700; color: var(--gold-dark); }
@media (max-width: 720px) { .deal-list li { grid-template-columns: 1fr; } }

/* About */
.about { padding: clamp(56px, 8vw, 96px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.portrait { max-width: 360px; }
.portrait img { border-radius: 200px 200px 6px 6px; width: 100%; outline: 1px solid var(--gold); outline-offset: 8px; }
.about-grid p { margin-top: 18px; max-width: 60ch; }
.facts { margin: 22px 0 0; padding: 0 0 0 1.1em; }
.facts li { margin-top: 6px; }
/* Column widths match each photo's aspect ratio, so every photo is the same height and none is cropped. */
.records { display: grid; grid-template-columns: .651fr .734fr .785fr 1.353fr; gap: 14px; margin-top: 48px; align-items: start; }
.records img { width: 100%; height: auto; border-radius: 4px; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
  .records { grid-template-columns: 1fr 1fr; }
  .records img:last-child { grid-column: 1 / -1; }
}

/* Press */
.press { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0; }
.press-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 2px solid var(--mauve); }
.press-list a {
  display: grid; grid-template-columns: 4em 1fr auto; gap: 4px 20px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.press-list a:hover { color: var(--berry); }
.yr { font: 800 var(--step-0)/1 var(--display); color: var(--gold-dark); }
.src { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 640px) { .press-list a { grid-template-columns: 3.5em 1fr; } .src { grid-column: 2; } }
.film { margin-top: 56px; max-width: 720px; }
.film-play {
  position: relative; display: block; width: 100%; margin-top: 16px; padding: 0;
  border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px;
}
.film-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--berry);
}
.play::after {
  content: ""; position: absolute; left: 31px; top: 24px;
  border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff;
}
.film iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; margin-top: 16px; border-radius: 6px; }
.film p { margin-top: 12px; }

/* Reviews ticker */
.reviews { padding: clamp(56px, 8vw, 96px) 0; overflow: hidden; }
.reviews-sum { margin-top: 12px; }
.ticker { margin-top: 32px; overflow: hidden; }
.ticker ul { display: flex; gap: 20px; width: max-content; list-style: none; margin: 0; padding: 0 var(--gutter); animation: slide 70s linear infinite; }
.ticker:hover ul, .ticker:focus-within ul, .ticker:focus ul { animation-play-state: paused; }
.ticker li { width: min(360px, 78vw); flex: none; padding: 22px; background: #fff; border-top: 3px solid var(--gold); }
.ticker blockquote { margin: 0; font: 500 var(--step-1)/1.35 var(--body); }
.ticker cite { display: block; margin-top: 12px; font-style: normal; color: var(--muted); font-size: var(--step--1); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker ul { animation: none; }
}

/* Visit */
.visit h2 { color: #fff; }
.visit { background: var(--mauve); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.visit a { color: #fff; }
.visit a:hover { color: var(--gold-light); }
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.loc { border: 1px solid rgba(217,183,126,.5); padding: 24px; border-radius: 6px; }
.loc h3 { color: var(--gold-light); font-size: var(--step-2); font-variation-settings: "wdth" 125; font-weight: 800; }
.loc p { margin-top: 10px; }
.addr { font-size: var(--step-1); }
.loc-note { color: #E2CFD8; font-size: var(--step--1); }
.info { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.3); }
.info div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.info dt { color: #E2CFD8; }
.info dd { margin: 0; }
@media (max-width: 680px) { .locs { grid-template-columns: 1fr; } .info div { grid-template-columns: 1fr; gap: 2px; } }

/* Footer */
.foot { padding: 40px 0 110px; }
.foot-mark { color: var(--mauve); font: 900 var(--step-3)/1 var(--display); font-variation-settings: "wdth" 140; }
.social { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 20px 0 0; }
.credit { margin-top: 24px; color: var(--muted); font-size: var(--step--1); }

/* Mobile booking dock */
.dock {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
  display: none; align-items: center; justify-content: center; min-height: 54px;
  background: var(--berry); color: #fff; font-weight: 700; text-decoration: none; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(46,27,37,.3);
}
.dock:hover { color: #fff; }
@media (max-width: 760px) { .dock.is-on { display: flex; } }

/* Scroll reveal. Only active when JS has run (html.js); the hero is never hidden so it paints immediately. */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 70ms); }
.js .split.in .w > span { transform: none; }
.js .records.rv img { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 110ms); }
.js .records.rv.in img { opacity: 1; transform: none; }
.js .records.rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .split .w > span, .js .records.rv img { opacity: 1; transform: none; transition: none; }
}

/* Booking page */
.bar-back { color: #fff; font-weight: 500; font-size: var(--step--1); }
.bar-back:hover { color: var(--gold-light); }
.book-head { background: var(--mauve); color: #fff; padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 6vw, 64px); border-bottom: 3px solid var(--gold); }
.book-head h1 { font-size: clamp(2.25rem, 7vw, 4.5rem); font-weight: 900; font-variation-settings: "wdth" 128; letter-spacing: -0.02em; }
.book-head p { margin-top: 14px; color: #F3E6EC; font-size: var(--step-1); max-width: 50ch; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 56px); align-items: start; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

.step { border: 0; margin: 0 0 36px; padding: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font: 800 var(--step-2)/1.1 var(--display); font-variation-settings: "wdth" 118; color: var(--mauve); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-dark); font: 700 var(--step-0)/1 var(--body); flex: none; }
.step.has-error .opts, .step.has-error .text-field input { outline: 2px solid var(--berry); outline-offset: 4px; border-radius: 6px; }
.field-error { margin-top: 10px; color: var(--berry); font-weight: 700; font-size: var(--step--1); }
.field-hint { margin-top: 10px; color: var(--muted); font-size: var(--step--1); }

.opt-group + .opt-group { margin-top: 18px; }
.opt-group-title { font-size: var(--step--1); color: var(--gold-dark); font-weight: 700; margin-bottom: 8px; }
.opts-services .opt-group { display: grid; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-service, .opt-salon {
  padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.opt-service:hover, .opt-salon:hover { border-color: var(--gold); }
.opt:has(input:checked) { border-color: var(--berry); background: #FCF4F7; box-shadow: 0 0 0 1px var(--berry); }
.opt:has(input:focus-visible) { outline: 3px solid var(--berry); outline-offset: 2px; }
.opt-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.opt-title { font-weight: 700; }
.opt-sub { color: var(--muted); font-size: var(--step--1); }
.opt-deal { color: var(--gold-dark); font-size: var(--step--1); font-weight: 600; }
.opt-meta { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.opt-price { font: 800 var(--step-1)/1 var(--display); font-variation-settings: "wdth" 110; color: var(--mauve); }
.opt-mins { color: var(--muted); font-size: var(--step--1); }
.opts-salons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .opts-salons { grid-template-columns: 1fr; } }

.when { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.text-field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.text-field input {
  min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font: 500 var(--step-0)/1 var(--body); color: var(--ink); min-width: 220px;
}
.text-field input:focus { border-color: var(--berry); outline: 2px solid var(--berry); outline-offset: 1px; }
.tod { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--mauve); color: var(--mauve); font-weight: 600; transition: background-color .2s, color .2s; }
.opt-chip:hover span { background: #EFDDE4; }
.opt-chip:has(input:checked) span { background: var(--mauve); color: #fff; }
.opt-chip:has(input:focus-visible) span { outline: 3px solid var(--berry); outline-offset: 2px; }

.summary { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 24px; }
@media (max-width: 900px) { .summary { position: static; } }
.summary h2 { font-size: var(--step-2); }
.sum-list { margin: 16px 0 0; }
.sum-list div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-list dt { color: var(--muted); font-size: var(--step--1); }
.sum-list dd { margin: 0; font-weight: 600; }
.sum-deal { margin-top: 14px; background: var(--champagne); color: var(--gold-dark); font-weight: 700; font-size: var(--step--1); padding: 8px 12px; border-left: 3px solid var(--gold); }
.actions { display: grid; gap: 10px; margin-top: 20px; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--berry); }
.btn-outline:hover { background: var(--berry); color: #fff; }
.action-note { color: var(--muted); font-size: var(--step--1); }
.msg-preview { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.msg { margin-top: 6px; padding: 12px 14px; background: #F3E6EC; border-radius: 14px 14px 14px 4px; font-size: var(--step--1); line-height: 1.45; }
.link-btn { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--berry); font: 700 var(--step--1)/1.4 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.copy-status { margin-left: 8px; color: var(--gold-dark); font-size: var(--step--1); font-weight: 600; }

/* Gallery */
.gallery { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }
.gallery-grid figcaption strong { display: block; color: var(--mauve); font-size: var(--step-0); }
.gallery-grid .shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gallery-grid .shot img { width: 100%; height: auto; }
.gallery-more { margin: 32px 0 20px; }
.gallery-empty { padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; max-width: 60ch; }

/* Before/after compare. No JS: side by side. With JS: one frame with a draggable divider. */
.ba-frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ba-frame img { width: 100%; height: auto; display: block; }
.ba-tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(46,27,37,.72); color: #fff; font-size: 0.8125rem; font-weight: 600; pointer-events: none; }
.ba-tag-before { left: 10px; }
.ba-tag-after { right: 10px; }
.ba-range, .ba-handle { display: none; }
.ba-live .ba-frame { display: block; gap: 0; }
.ba-live .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-live .ba-handle { display: block; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--gold-light); pointer-events: none; }
.ba-live .ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--mauve); border: 2px solid var(--gold-light); box-shadow: 0 2px 10px rgba(46,27,37,.35); }
.ba-live .ba-range { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-live .ba-range:focus-visible + .ba-handle::after { outline: 3px solid var(--berry); outline-offset: 3px; }

/* Home page gallery teaser */
.teaser { padding: clamp(56px, 8vw, 96px) 0; }
.teaser .gallery-grid { margin-top: 26px; }
.teaser-link { display: inline-block; margin-top: 24px; font-weight: 700; }
