/* ==========================================================================
   Salon Beauty Look — redesign 2026 · v3 "noir luxe"
   Dark premium: plum-black, warm ivory, champagne gold.
   Display: Playfair Display · Body: Manrope
   ========================================================================== */

:root {
  --bg: #17110d;
  --surface: #221a15;
  --surface-2: #2c221b;
  --ink: #f3ebe1;
  --muted: #bfb1a6;
  --accent: #c9a66b;
  --accent-deep: #a67f44;
  --accent-soft: rgba(201, 166, 107, 0.1);
  --line: rgba(243, 235, 225, 0.13);
  --line-soft: rgba(243, 235, 225, 0.07);
  --dark: #100b08;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.65);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --container: 80rem;
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
/* source inside picture must not become a grid/flex item */
picture > source { display: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #e3c691; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--dark); }
html { scrollbar-width: thin; scrollbar-color: rgba(201, 166, 107, 0.35) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(201, 166, 107, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: var(--dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* subtle grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: 0.005em;
  hyphens: none;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 520;
  color: var(--accent);
}
/* slow champagne shimmer travelling across the italic accents;
   gradient text replaces the flat accent color on h1/h2 only */
h1 em, h2 em {
  background: linear-gradient(100deg, var(--accent) 32%, #f0ddb0 50%, var(--accent) 68%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 9s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  h1 em, h2 em { animation: none; background-position: 50% 50%; }
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h1, h2 { text-wrap: balance; }

.overline {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.overline::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.overline--center { justify-content: center; }
.overline--center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.overline--center::before { background: linear-gradient(90deg, transparent, var(--accent)); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }

.section { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.section--cream { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, rgba(201, 166, 107, 0.07), rgba(201, 166, 107, 0.03)); }

.section-head { max-width: 56rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #1c1417;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.25s, box-shadow 0.25s;
}
/* satin finish on solid buttons: top sheen + warm resting glow */
.btn:not(.btn--ghost) {
  background-image: linear-gradient(168deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 10px 26px -14px rgba(201, 166, 107, 0.55);
}
.btn .btn-arrow { transition: transform 0.25s; }
/* light sweep across the button on hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
  pointer-events: none;
}
.btn:hover::after { left: 135%; }
@media (prefers-reduced-motion: reduce) { .btn::after { display: none; } }
.btn:hover {
  background: #d9b87f;
  color: #1c1417;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
              0 14px 30px -12px rgba(201, 166, 107, 0.55);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--accent); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(243, 235, 225, 0.35);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.btn--small { padding: 0.62rem 1.25rem; font-size: 0.9rem; }

.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.text-link .btn-arrow { transition: transform 0.25s; }
.text-link:hover .btn-arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s;
}
/* the blurred bar lives on a pseudo-element and fades in with the scroll;
   backdrop-filter sits on ::before (not the header itself), so the fixed
   mobile nav is not trapped in a filter containing block.
   The bar extends 100px ABOVE the header: iOS Safari lags sticky elements
   while the address bar collapses, and that overhang covers the gap that
   would otherwise flash page content above the navbar */
.site-header::before {
  content: "";
  position: absolute;
  inset: -100px 0 0;
  z-index: -1;
  background: rgba(23, 17, 13, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header.is-scrolled::before { opacity: 1; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
  transition: min-height 0.3s;
}
.site-header.is-scrolled .header-inner { min-height: 62px; }
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; position: relative; z-index: 130; }
.brand img {
  width: auto;
  height: 40px;
  transition: height 0.3s;
}
/* homepage: header logo stays hidden until the hero scrolls away.
   Gated on html.js (set by the inline head script, so it applies before
   first paint — no flash) and inert when JS is unavailable */
html.js .brand--watch img {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s, height 0.3s;
}
html.js .brand--watch.is-visible img {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-header.is-scrolled .brand img { height: 32px; }

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav li + li { margin-top: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--accent); }
/* gold underline growing from the left (desktop only; mobile nav is a full overlay) */
@media (min-width: 921px) {
  .main-nav .nav-link { position: relative; }
  .main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.28rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .main-nav .nav-link:hover::after,
  .main-nav .nav-link[aria-current="page"]::after { transform: scaleX(1); }
}
.dropdown-toggle .caret { width: 0.55em; height: 0.55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 250px;
  padding: 0.55rem;
  list-style: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.dropdown a:hover { background: var(--accent-soft); color: var(--accent); }
.dropdown a[aria-current="page"] { color: var(--accent); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(225deg) translate(-1px, -1px); }

.header-phone { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  z-index: 130;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -1px) rotate(-45deg); }

/* mobile nav */
@media (max-width: 920px) {
  .site-header {
    background: transparent;
    border-bottom-color: transparent;
  }
  .site-header::before { display: none; }
  body::after {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    z-index: 99;
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: rgba(23, 17, 13, 0.96);
    display: none;
    pointer-events: none;
  }
  html.has-scrolled body::after {
    display: block;
    height: calc(62px + env(safe-area-inset-top, 0px));
  }
  .site-header.is-scrolled { border-bottom-color: var(--line-soft); }
  .header-inner {
    position: relative;
    z-index: 1;
    min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }
  .site-header.is-scrolled .header-inner {
    min-height: calc(62px + env(safe-area-inset-top, 0px));
  }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    margin: 0;
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem)
      max(2rem, env(safe-area-inset-right, 0px))
      max(2rem, env(safe-area-inset-bottom, 0px))
      max(2rem, env(safe-area-inset-left, 0px));
    background: var(--bg);
    transform: translateY(-102%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0.4rem;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 560;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-link:hover { background: none; color: var(--accent); }
  .has-dropdown .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 0.6rem 1rem;
    border: 0;
    box-shadow: none;
    background: none;
    opacity: 1;
    visibility: visible;
  }
  .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown.is-open .caret { transform: rotate(225deg) translate(-1px, -1px); }
  .dropdown a { font-size: 1.05rem; padding: 0.5rem 0.4rem; }
}

/* ---------- hero (homepage, typographic + photo bg) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(86vh, 52rem);
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--header-h));
  padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--bg);
}
/* the photo layer: JS parallax translates the wrapper, the slow Ken Burns
   zoom lives on the img — two separate transforms, no per-frame conflict */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 30%;
  animation: kenBurns 26s ease-in-out infinite alternate;
}
/* base scale 1.1 keeps enough bleed for the max parallax offset (42px) */
@keyframes kenBurns {
  from { transform: scale(1.1); }
  to { transform: scale(1.17); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}
/* overlay sits on .hero::after — NOT on the animated layer — so the fade
   stays put while the photo moves; the bottom ramp lands exactly on the
   next section's background (--surface), removing the hard cut */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 56%, rgba(34, 26, 21, 0.55) 80%, var(--surface) 99%),
    linear-gradient(90deg, var(--bg) 4%, rgba(23, 17, 13, 0.88) 34%, rgba(23, 17, 13, 0.3) 62%, rgba(23, 17, 13, 0.5) 100%);
}
@media (max-width: 920px) {
  .hero-bg img { object-position: 85% 25%; }
  /* portrait crop shows a narrow slice of the photo — keep the top third
     (logo area) fairly open so the photo reads, and do the legibility work
     with the vertical ramp under the text block */
  .hero::after {
    background:
      linear-gradient(180deg, rgba(23, 17, 13, 0.2) 0%, rgba(23, 17, 13, 0.5) 30%, rgba(34, 26, 21, 0.9) 62%, var(--surface) 99%),
      linear-gradient(90deg, rgba(23, 17, 13, 0.72) 0%, rgba(23, 17, 13, 0.42) 55%, rgba(23, 17, 13, 0.28) 100%);
  }
}
.hero-grid { position: relative; z-index: 1; }
/* delicate scroll cue pulsing at the bottom of the homepage hero */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 1;
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(180deg, var(--accent), transparent);
  transform-origin: top;
  animation: scrollCue 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0.3); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 0.9; }
}
@media (max-width: 920px) { .hero::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; opacity: 0.5; } }
.hero-copy { max-width: 56rem; }
.hero-overline { white-space: nowrap; }
.hero-logo img {
  width: clamp(20rem, 34vw, 38rem);
  max-width: 82vw;
  height: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}
.hero-copy h1 {
  margin-top: 1.4rem;
  font-size: clamp(3rem, 8.2vw, 6.4rem);
  line-height: 1.02;
}
.hero-copy h1 em { display: inline-block; }
.hero-copy .lead { margin-top: 1.5rem; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem 3rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-facts strong {
  display: block;
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.hero-facts a { color: var(--ink); font-weight: 600; }
.hero-facts a:hover { color: var(--accent); }

@media (max-width: 480px) {
  .hero-overline {
    gap: 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }
  .hero-overline::before { width: 1.5rem; }
}


/* page-load choreography */
.anim-rise {
  opacity: 0;
  animation: animRise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.anim-rise[data-delay="1"] { animation-delay: 0.12s; }
.anim-rise[data-delay="2"] { animation-delay: 0.24s; }
.anim-rise[data-delay="3"] { animation-delay: 0.36s; }
.anim-rise[data-delay="4"] { animation-delay: 0.48s; }
@keyframes animRise {
  from { opacity: 0; transform: translateY(34px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .anim-rise { animation: none; opacity: 1; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* decorative sparkles */
.sparkle {
  position: absolute;
  z-index: 1; /* above the .hero::after overlay */
  color: var(--accent);
  pointer-events: none;
  animation: sparkleDrift 8s ease-in-out infinite;
}
.sparkle--1 { width: 30px; top: 12%; right: 34%; }
.sparkle--2 { width: 18px; top: 64%; right: 12%; animation-delay: -3s; }
.sparkle--3 { width: 13px; bottom: 16%; left: 4%; animation-delay: -5s; }
@media (max-width: 920px) {
  .sparkle--1,
  .sparkle--3 { display: none; }
}
@keyframes sparkleDrift {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.9; }
  50% { transform: translateY(-14px) rotate(25deg) scale(1.12); opacity: 0.5; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-block: calc(var(--header-h) + clamp(2.8rem, 6vw, 4.5rem)) clamp(2.2rem, 4vw, 3.2rem);
  background:
    radial-gradient(55% 100% at 88% 0%, rgba(201, 166, 107, 0.1), transparent 62%),
    var(--bg);
}
.page-hero > .container { position: relative; z-index: 1; }
/* tonal background photo at full contrast: the directional mask alone blends
   it into the page, so the photo keeps its punch where it shows through */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 78%);
  mask-image: linear-gradient(100deg, transparent 22%, #000 78%);
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 17, 13, 0.25) 0%, transparent 45%, var(--bg) 100%);
}
@media (max-width: 700px) {
  .page-hero-bg img {
    object-position: 65% center;
    -webkit-mask-image: linear-gradient(100deg, transparent 5%, rgba(0, 0, 0, 0.55) 70%);
    mask-image: linear-gradient(100deg, transparent 5%, rgba(0, 0, 0, 0.55) 70%);
  }
}
.page-hero h1 { margin-top: 1rem; }
.page-hero .lead { margin-top: 1.1rem; }
/* staggered entrance on inner pages — CSS-only with `backwards` fill,
   so elements are hidden from the first frame without any JS gating */
.page-hero .breadcrumbs { animation: animRise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; }
.page-hero .overline { animation: animRise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s backwards; }
.page-hero h1 { animation: animRise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s backwards; }
.page-hero .lead { animation: animRise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.32s backwards; }
@media (prefers-reduced-motion: reduce) {
  .page-hero .breadcrumbs, .page-hero .overline, .page-hero h1, .page-hero .lead { animation: none; }
}
/* wide screens: editorial two-column hero — title left, lead bottom-right */
@media (min-width: 1000px) {
  .page-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 4.5vw, 4.5rem);
  }
  .page-hero .breadcrumbs,
  .page-hero .overline { grid-column: 1 / -1; }
  .page-hero h1 { grid-column: 1; }
  .page-hero .lead {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    margin-top: 0;
    margin-bottom: 0.35em;
    padding-left: 1.4rem;
    border-left: 2px solid rgba(201, 166, 107, 0.45);
  }
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span::before { content: "/"; margin-inline: 0.5rem; color: var(--line); }

/* ---------- service cards ---------- */
/* flexbox + centered wrap: rows always fill 3/2/1 per row, and any
   incomplete last row centers instead of leaving a right-hand gap */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}
.cards-grid > .card { flex: 0 1 calc((100% - 3.2rem) / 3); min-width: 0; }
@media (max-width: 980px) { .cards-grid > .card { flex-basis: calc((100% - 1.6rem) / 2); } }
@media (max-width: 620px) { .cards-grid > .card { flex-basis: 100%; } }

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 32%), var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 166, 107, 0.35); }
.card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card:hover img { transform: scale(1.05); }
.card-media { overflow: hidden; position: relative; }
.card-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--accent); }
.card-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card-body .text-link { margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- price lists ---------- */
.price-section + .price-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.section .container > * + .price-section:first-of-type,
.section .container > * + .price-grid { margin-top: clamp(2.5rem, 5vw, 4rem); }
.price-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(201, 166, 107, 0.4);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}
.price-note {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* two-up masonry of price sections on wide screens */
.price-grid { columns: 2; column-gap: clamp(2.5rem, 5vw, 5rem); }
@media (max-width: 1000px) { .price-grid { columns: 1; } }
.price-grid > .price-section {
  break-inside: avoid;
  margin-top: 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.price-list { list-style: none; padding: 0; margin-top: 0.6rem; }
.price-list li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line-soft);
  transition: color 0.2s;
}
.price-list li + li { margin-top: 0; }
/* hover highlight is a pseudo-element inset to the row height and slightly
   widened horizontally — no box-shadow halo, so it never bleeds onto the
   rows above/below */
.price-list li::before {
  content: "";
  position: absolute;
  inset: 1px -0.7rem;
  border-radius: 10px;
  background: var(--accent-soft);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: -1;
}
.price-list li:hover::before { opacity: 1; }
.price-name { font-weight: 600; }
.price-dots {
  flex: 1;
  min-width: 2rem;
  border-bottom: 2px dotted rgba(243, 235, 225, 0.16);
  transform: translateY(-3px);
}
.price-value {
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.price-value small { display: block; font-weight: 600; color: var(--muted); font-size: 0.82em; }

/* two price columns (PANIE / PANOWIE) */
.price-cols {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0 1.4rem;
  margin-top: 0.6rem;
}
.price-cols .price-head {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 166, 107, 0.4);
  text-align: right;
}
.price-cols .price-head:first-child { text-align: left; }
.price-cols > div {
  padding: 0.66rem 0;
  border-bottom: 1px dashed var(--line-soft);
  align-self: baseline;
}
.price-cols .price-value { min-width: 5.5rem; }
.price-na { color: var(--line); font-weight: 800; text-align: right; }

@media (max-width: 640px) {
  .price-cols { gap: 0 0.8rem; font-size: 0.92rem; }
  .price-cols .price-value { min-width: 4.4rem; }
}

/* ---------- fact tiles & feature rows (service pages) ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  gap: 1rem;
  margin-block: 2rem;
  clear: both;
}
.fact {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 0.3rem;
  font-variant-numeric: lining-nums;
}
/* fine gold tick under the figure */
.fact strong::after {
  content: "";
  display: block;
  width: 1.6rem;
  height: 1px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}
.fact span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

.feature {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.feature + .feature { margin-top: 1rem; }
.feature > img, .feature > picture img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
}
.feature h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.feature p { color: var(--muted); font-size: 0.96rem; }
.feature p + p { margin-top: 0.4rem; }
.feature p strong { color: var(--ink); }

/* callout */
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.5rem;
  margin-block: 2rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p { margin: 0; }
.callout + .callout { margin-top: -1rem; }
/* side-by-side callouts on wide screens */
.callout-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
  gap: 1.2rem;
  margin-block: 2rem;
}
.callout-row .callout { margin-block: 0; height: 100%; }
.callout-row .callout + .callout { margin-top: 0; }
.callout-icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--accent); }

/* ---------- treatment cards ---------- */
.treatment {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}
.treatment:hover { border-color: rgba(201, 166, 107, 0.3); }
.treatment + .treatment { margin-top: 1.6rem; }
.treatment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 4.6;
  transition: filter 0.4s, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.treatment:hover img { transform: scale(1.02); }
.treatment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1.2rem;
  margin-bottom: 0.8rem;
}
.treatment-head h2, .treatment-head h3 { font-size: 1.35rem; }
.treatment-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  white-space: nowrap;
}
.treatment-body p { color: var(--muted); font-size: 0.98rem; max-width: 72ch; }
.treatment-body p + p { margin-top: 0.6rem; }
@media (min-width: 1100px) {
  .treatment { grid-template-columns: 300px minmax(0, 1fr); }
}
.treatment-body strong { color: var(--ink); }
@media (max-width: 700px) {
  .treatment { grid-template-columns: 1fr; }
  .treatment img { aspect-ratio: 16 / 9; }
}

/* ---------- article pages ---------- */
/* text column + sticky booking rail; the rail fills the space that used to
   sit empty on wide screens. NOTE: the aside cell must stretch to full row
   height (no align-items: start), otherwise the sticky card has no room
   to travel and the rail sits empty below the fold */
.article-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 21rem; }
  .article-layout .article { margin-inline: 0; }
}
@media (max-width: 1099px) {
  .article-aside { max-width: 28rem; }
}
.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1.05rem;
  padding: 1.7rem 1.6rem;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.aside-card h3 { font-size: 1.4rem; }
.aside-card p { color: var(--muted); font-size: 0.95rem; }
.aside-card .btn { justify-content: center; }
.aside-card .hours-list { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 1099px) {
  .aside-card { position: static; }
}

.article { max-width: 50rem; margin-inline: auto; }
.article-layout--full .article, .article--full { max-width: none; margin-inline: 0; }
.article-layout.article-layout--full { grid-template-columns: minmax(0, 1fr); }
.article > * + * { margin-top: 1.15rem; }
.article h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 2.6rem;
  padding-top: 0.4rem;
  clear: both;
}
.article h3 { font-size: 1.25rem; margin-top: 2rem; }
.article figure { margin-block: 1.8rem; max-width: 30rem; margin-inline: auto; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); }
/* intro row: text and image as proper grid columns (no float holes) */
.media-row {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  align-items: center;
}
@media (min-width: 700px) {
  /* two columns only when the row actually contains media; a text-only
     media-row (photo moved to the page-hero background) spans full width */
  .media-row:has(img, picture) { grid-template-columns: minmax(0, 1fr) clamp(200px, 34%, 320px); }
}
.media-row img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.55);
}

/* inline article images: framed accents floated right, so every text line
   starts at the clean left margin (the old WP left-float made ragged text) */
.article .float-img {
  float: right;
  width: clamp(180px, 42%, 340px);
  margin: 0.35rem 0 1rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.55);
}
.article figure img {
  border: 1px solid var(--line-soft);
}
/* narrow screens: floats make a cramped text column — stack instead */
@media (max-width: 560px) {
  .article .float-img {
    float: none;
    width: 100%;
    margin: 0 0 1.1rem;
  }
}
.article::after { content: ""; display: block; clear: both; }
.article a:not(.btn):hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article ul, .article ol { color: var(--muted); }
.article ul strong, .article ol strong { color: var(--ink); }
.article li > ul, .article li > ol { margin-top: 0.35rem; }

/* ---------- before/after gallery (depilacja) ---------- */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 980px) { .ba-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .ba-gallery { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
.ba-gallery .ba-compare { aspect-ratio: 20 / 13; }

/* ---------- before/after compare slider ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-block: 1.8rem;
}
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-grid > .ba-compare:only-child {
  grid-column: 1 / -1;
  max-width: min(30rem, 100%);
  width: 100%;
  margin-inline: auto;
}
.ba-compare {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.ba-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1417' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-4 5 4 5M16 7l4 5-4 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-tag {
  position: absolute;
  bottom: 0.7rem;
  padding: 0.25rem 0.8rem;
  background: rgba(16, 11, 14, 0.78);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag--before { left: 0.7rem; }
.ba-tag--after { right: 0.7rem; }

/* ---------- accordion ---------- */
.accordion {
  margin-block: 1.2rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .acc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.25s;
}
.accordion .acc-icon svg { width: 14px; height: 14px; stroke: #1c1417; }
.accordion summary:hover .acc-icon { background: #d9b87f; }
.accordion[open] .acc-icon { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.accordion .acc-body > :first-child { margin-top: 0; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.contact-card h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.contact-rows { display: grid; gap: 1.15rem; }
.contact-row { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.98rem; color: var(--muted); }
.contact-row svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; color: var(--accent); }
.contact-row a { color: var(--ink); font-weight: 600; }
.contact-row a:hover { color: var(--accent); }
.contact-row small { display: block; color: var(--accent); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.2rem; }

.hours-list { list-style: none; padding: 0; width: 100%; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--line-soft); }
.hours-list li + li { margin-top: 0; }
.hours-list span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }

.socials { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, color 0.25s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #1c1417; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* form */
.form-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--dark);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.15);
}
.field textarea { resize: vertical; min-height: 140px; }

.map-embed {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; filter: grayscale(0.9) invert(0.88) contrast(1.05) brightness(0.95); }

.thankyou {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}
.thankyou h2 { margin-bottom: 0.8rem; }
.thankyou p { color: var(--muted); }
.thankyou .btn { margin-top: 1.6rem; }

/* ---------- gift banner ---------- */
.gift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
.gift img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  /* the voucher scan is bright pink — mute it so it sits well on the dark page */
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.4s;
}
.gift:hover img { transform: rotate(0deg) scale(1.02); }
.gift h2 { margin-top: 0.9rem; }
.gift p { margin-top: 1rem; color: var(--muted); }
.gift .btn { margin-top: 1.8rem; }
@media (max-width: 820px) { .gift { grid-template-columns: 1fr; } }

/* ---------- cennik index rows ---------- */
.pricelink-list { display: grid; gap: 0.9rem; }
.pricelink {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.pricelink:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(201, 166, 107, 0.4); color: var(--ink); }
.pricelink h3 { font-size: 1.25rem; flex: 1; }
.pricelink small { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.pricelink .btn-arrow { color: var(--accent); transition: transform 0.25s; }
.pricelink:hover .btn-arrow { transform: translateX(4px); }

/* ---------- cta strip ---------- */
.cta-strip {
  text-align: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(50% 90% at 50% 110%, rgba(201, 166, 107, 0.12), transparent 65%),
    var(--bg);
}
.cta-strip h2 { margin-inline: auto; }
.cta-strip p { margin-top: 1rem; color: var(--muted); }
.cta-strip .hero-actions { justify-content: center; }

/* ---------- logo marquee ---------- */
.marquee-caption { text-align: center; padding-top: 2.5rem; }
.marquee {
  overflow: hidden;
  padding-block: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  /* iOS/WebKit: a masked ancestor of a composited animation flickers unless
     the masked element sits on its own layer */
  transform: translateZ(0);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 24px;
  width: auto;
  opacity: 0.55;
  /* flatten every logo to the same light silhouette, whatever its source color */
  filter: brightness(0) invert(0.68);
  transition: opacity 0.3s, filter 0.3s;
}
.marquee-track img:hover { opacity: 1; filter: brightness(0) invert(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 96px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 30ch; }
.site-footer h4 {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer-nav { list-style: none; padding: 0; }
.footer-nav li + li { margin-top: 0.55rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact p + p { margin-top: 0.55rem; }
.footer-contact a { color: var(--ink); font-weight: 600; }
.footer-contact a:hover { color: var(--accent); }
.site-footer .socials { margin-top: 1.3rem; }
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line-soft);
  padding-block: 1.3rem;
  font-size: 0.85rem;
  color: rgba(191, 177, 166, 0.65);
}
/* small diamond resting on the hairline above the legal row */
.footer-bottom::before {
  content: "\2726";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -56%);
  padding: 0 0.9rem;
  background: var(--dark);
  color: var(--accent);
  font-size: 0.7rem;
  opacity: 0.85;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.footer-bottom a { color: rgba(191, 177, 166, 0.65); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s, color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #1c1417; transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- reveal on scroll ---------- */
/* hidden-by-default only when JS runs (html.js) — without JS nothing is
   ever un-hidden, so content must stay visible */
.reveal, .reveal-group > * {
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
html.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}
html.js .reveal-group:not(.is-visible) > * { opacity: 0; transform: translateY(26px); }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
/* once the entrance finished, drop the stagger delay so hover states react
   instantly (otherwise every hover inherits the reveal delay) */
.reveal-group.is-visible.reveal-done > * { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-visible),
  html.js .reveal-group:not(.is-visible) > * { opacity: 1; transform: none; }
  .reveal, .reveal-group > * { transition: none; }
}

/* ---------- unified transitions (must come AFTER reveal rules) ---------- */
/* color hovers on plain links */
a { transition: color 0.2s; }
/* dropdown items animate background too */
.dropdown a { transition: background 0.2s, color 0.2s; }
/* components that are also reveal targets: merge reveal + hover transitions
   so hover states keep animating box-shadow / border-color */
.card, .reveal-group > .card {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s,
              border-color 0.35s, opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pricelink, .reveal-group > .pricelink {
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s,
              opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.treatment, .treatment.reveal {
  transition: border-color 0.3s, opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* map returns to full colour under the cursor */
.map-embed iframe { transition: filter 0.5s; }
.map-embed:hover iframe { filter: none; }

/* clipped so the JS height animation on .accordion has something to crop */
.accordion .acc-body { overflow: hidden; }

/* ---------- misc ---------- */
/* images fade in as they load (only when JS is available);
   uses animation, NOT transition, so component hover transitions survive.
   The from-only keyframe animates INTO each image's natural opacity, so
   dimmed images (e.g. marquee logos at 0.55) settle without a jump */
html.js img[loading="lazy"]:not(.img-loaded),
html.js .card img:not(.img-loaded),
html.js .treatment img:not(.img-loaded),
html.js .gift img:not(.img-loaded),
html.js .article img:not(.img-loaded),
html.js .ba-compare img:not(.img-loaded) {
  opacity: 0;
}
html.js img.img-loaded {
  animation: imgFadeIn 0.7s ease;
}
@keyframes imgFadeIn {
  from { opacity: 0; }
}

.cookie-policy h2 { font-size: 1.15rem; margin-top: 2.2rem; font-family: var(--font-body); font-weight: 800; }
.center { text-align: center; }
.mt-cta { margin-top: 2.5rem; }
.nobr { white-space: nowrap; }
