/* ============================================================
   VERNIS — Nail Studio & Spa
   Editorial / earthy-modern visual system
   ============================================================ */

:root {
  /* accent (driven by Tweaks) */
  --accent: #C44536;
  --accent-deep: color-mix(in oklab, var(--accent), #2b1410 22%);
  --accent-tint: color-mix(in oklab, var(--accent), #fffaf6 88%);
  --accent-soft: color-mix(in oklab, var(--accent), #fffaf6 78%);
  --on-accent: #fff;

  /* surfaces — light theme */
  --bg: #FBF7F2;
  --bg-warm: #F4ECE3;
  --surface: #FFFFFF;
  --ink: #241F1B;
  --ink-soft: #4A423B;
  --muted: #8C8178;
  --border: #E8DFD4;
  --border-strong: #D8CCBE;

  /* contrast (dark) section */
  --dark-bg: #211A16;
  --dark-surface: #2B231D;
  --dark-ink: #F5EEE6;
  --dark-muted: #B0A296;
  --dark-border: #3D332B;

  /* roundness (driven by Tweaks) */
  --radius: 16px;
  --radius-sm: calc(var(--radius) * 0.5);
  --radius-lg: calc(var(--radius) * 1.6);
  --radius-pill: 999px;

  /* type (driven by Tweaks) */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --display-weight: 600;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --shadow-sm: 0 1px 2px rgba(40,30,20,.05), 0 4px 14px rgba(40,30,20,.05);
  --shadow-md: 0 8px 30px rgba(40,30,20,.10), 0 2px 6px rgba(40,30,20,.05);
  --shadow-lg: 0 24px 60px rgba(40,30,20,.16);
}

/* full dark theme */
[data-theme="dark"] {
  --bg: #1C1612;
  --bg-warm: #241C16;
  --surface: #261E18;
  --ink: #F4EDE4;
  --ink-soft: #D7CBBE;
  --muted: #9C9085;
  --border: #392F27;
  --border-strong: #4A3E34;
  --accent-tint: color-mix(in oklab, var(--accent), #1C1612 72%);
  --accent-soft: color-mix(in oklab, var(--accent), #1C1612 60%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: var(--display-weight); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--on-accent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.italic { font-style: italic; }
.accent-text { color: var(--accent); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.section { padding-block: clamp(64px, 9vw, 132px); }
.section-head { max-width: 720px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-top: 18px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  margin-top: 18px;
  max-width: 56ch;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .18s cubic-bezier(.3,.7,.4,1), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px color-mix(in oklab, var(--accent), transparent 70%); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in oklab, var(--accent), transparent 62%); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: grid; align-items: center;
  grid-template-columns: minmax(128px, 170px) 1fr auto;
  gap: clamp(18px, 3vw, 42px);
  padding: 12px var(--gutter);
  transition: background .3s, box-shadow .3s, padding .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg), transparent 8%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--border);
  padding-block: 10px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 9px;
  min-width: 116px;
}
.brand-logo {
  display: block;
  width: 124px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
.brand-name { display: inline-block; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-bottom: 12px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 30px); min-width: 0; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .2s;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-call { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .25s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  gap: 6px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.6,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 40px; line-height: 1.5;
  color: var(--ink); border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 132px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.2vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
}
.hero h1 .line2 { display: block; }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  margin-top: 26px;
  max-width: 44ch;
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta .m-num { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.hero-meta .m-lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hero-meta .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }

.hero-art { position: relative; }
.hero-art .slot-tall { width: 100%; aspect-ratio: 3/4; background: var(--accent-tint); border-radius: 20px; overflow: hidden; }
.hero-art .slot-sm {
  position: absolute; left: -42px; bottom: -34px;
  width: 42%; aspect-ratio: 1/1;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}
/* image-slot fills its sizing wrapper (beats the component's :host defaults) */
.slot-tall > image-slot, .slot-sm > image-slot,
.svc-aside .slot > image-slot, .team-card .slot > image-slot,
.gallery-cell > image-slot {
  width: 100% !important; height: 100% !important; display: block !important;
}
.hero-art .badge {
  position: absolute; right: -18px; top: 28px;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-pill);
  padding: 12px 20px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
}
.hero-art .badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #59a36a; box-shadow: 0 0 0 0 rgba(89,163,106,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(89,163,106,.45)} 70%{box-shadow:0 0 0 9px rgba(89,163,106,0)} 100%{box-shadow:0 0 0 0 rgba(89,163,106,0)} }

/* hero layout variants */
.hero[data-layout="stacked"] .hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero[data-layout="stacked"] .hero-copy { max-width: 760px; margin: 0 auto; }
.hero[data-layout="stacked"] .eyebrow { justify-content: center; }
.hero[data-layout="stacked"] .hero-sub { margin-inline: auto; }
.hero[data-layout="stacked"] .hero-cta,
.hero[data-layout="stacked"] .hero-meta { justify-content: center; }
.hero[data-layout="stacked"] .hero-art { margin-top: 56px; }
.hero[data-layout="stacked"] .hero-art .slot-tall { aspect-ratio: 16/8; }
.hero[data-layout="stacked"] .hero-art .slot-sm { display: none; }

.hero[data-layout="full"] .hero-grid { grid-template-columns: 1fr; }
.hero[data-layout="full"] .hero-art {
  position: absolute; inset: 0; z-index: -1; margin: 0;
}
.hero[data-layout="full"] .hero-art .slot-tall { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.hero[data-layout="full"] .hero-art .slot-sm, .hero[data-layout="full"] .hero-art .badge { display: none; }
.hero[data-layout="full"] { padding-top: 0; min-height: 100vh; display: flex; align-items: flex-end; }
.hero[data-layout="full"] .hero-grid { padding-bottom: 9vh; padding-top: 30vh; }
.hero[data-layout="full"]::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(20,14,10,.15), rgba(20,14,10,.72)); }
.hero[data-layout="full"] .hero-copy, .hero[data-layout="full"] h1, .hero[data-layout="full"] .hero-sub, .hero[data-layout="full"] .m-num, .hero[data-layout="full"] .eyebrow, .hero[data-layout="full"] .m-lbl { color: #fff; }
.hero[data-layout="full"] .eyebrow { --muted: rgba(255,255,255,.8); }
.hero[data-layout="full"] .hero-sub { color: rgba(255,255,255,.85); }

/* ---------- marquee strip ---------- */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-warm);
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.strip-track span {
  font-family: var(--font-display);
  font-size: 26px; font-style: italic;
  color: var(--ink-soft);
  padding: 20px 0;
  display: inline-flex; align-items: center;
}
.strip-track span::after { content: "✦"; color: var(--accent); font-size: 13px; font-style: normal; margin: 0 36px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services / price list ---------- */
.svc-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; }
.svc-group h3 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.svc-item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 13px 0;
  cursor: pointer;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 45%);
  transition: padding-left .2s;
}
.svc-item:hover { padding-left: 8px; }
.svc-item:hover .svc-name { color: var(--accent); }
.svc-name { font-weight: 600; font-size: 16.5px; transition: color .2s; }
.svc-dur { font-size: 12.5px; color: var(--muted); margin-left: 2px; white-space: nowrap; }
.svc-lead { flex: 1; border-bottom: 1.5px dotted var(--border-strong); transform: translateY(-4px); min-width: 18px; }
.svc-price { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.svc-aside {
  background: var(--accent-tint);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  position: sticky; top: 96px;
}
.svc-aside .slot { width: 100%; aspect-ratio: 4/5; margin-bottom: 24px; background: color-mix(in oklab, var(--accent), #fff 70%); border-radius: 14px; overflow: hidden; }
.svc-aside h4 { font-family: var(--font-display); font-size: 28px; margin-bottom: 10px; }
.svc-aside p { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }

/* ---------- specials ---------- */
.specials { background: var(--bg-warm); }
.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.special-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.special-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.special-card .tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-tint);
  padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.special-card h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.05; margin-bottom: 12px; }
.special-card p { color: var(--ink-soft); font-size: 15px; }
.special-card .fine { font-size: 12.5px; color: var(--muted); margin-top: 20px; }
.special-card .glyph { position: absolute; right: -10px; bottom: -24px; font-size: 120px; font-family: var(--font-display); color: var(--accent-tint); line-height: 1; pointer-events: none; }

/* ---------- gallery ---------- */
.gallery-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  background: transparent; border: 1px solid var(--border-strong); color: var(--ink-soft);
  border-radius: var(--radius-pill); padding: 9px 18px; cursor: pointer;
  transition: .2s;
}
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-cell { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--accent-tint); }
.gallery-cell image-slot { width: 100%; height: 100%; }
.gallery-cell.tall { grid-row: span 2; }
.gallery-cell.wide { grid-column: span 2; }
.gallery-cell .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(20,14,10,.6));
  opacity: 0; transform: translateY(6px); transition: .25s; pointer-events: none;
}
.gallery-cell:hover .cap { opacity: 1; transform: translateY(0); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 52px; }
.team-card { text-align: left; }
.team-card .slot { width: 100%; aspect-ratio: 3/4; margin-bottom: 18px; transition: transform .3s; background: var(--accent-tint); border-radius: 14px; overflow: hidden; }
.team-card:hover .slot { transform: translateY(-4px); }
.team-card h3 { font-family: var(--font-display); font-size: 25px; }
.team-card .role { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.team-card .spec { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- reviews ---------- */
.reviews { background: var(--dark-bg); color: var(--dark-ink); }
.reviews .section-head h2 { color: var(--dark-ink); }
.reviews .eyebrow { color: var(--dark-muted); }
.reviews .section-head p { color: var(--dark-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.review-card {
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 32px 30px;
  display: flex; flex-direction: column;
}
.review-card .stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; }
.review-card .quote { font-family: var(--font-display); font-size: 22px; line-height: 1.32; margin: 18px 0 24px; color: var(--dark-ink); }
.review-card .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review-card .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.review-card .who .n { font-weight: 600; font-size: 15px; }
.review-card .who .meta { font-size: 12.5px; color: var(--dark-muted); }

/* ---------- visit / location ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: stretch; }
.hours-list { margin-top: 30px; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--border); }
.hours-row .d { font-weight: 600; font-size: 16px; }
.hours-row .h { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-row.closed .h { color: var(--accent); }
.hours-row.today { background: var(--accent-tint); margin-inline: -16px; padding-inline: 16px; border-radius: var(--radius-sm); border-bottom-color: transparent; }
.visit-info { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.visit-info .row { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.visit-info .row svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.visit-info .row b { color: var(--ink); font-weight: 600; }

.map-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); min-height: 380px;
  background: linear-gradient(135deg, #eef0e9 0%, #f6f2ea 60%, #efe7dc 100%);
}
[data-theme="dark"] .map-card { background: linear-gradient(135deg, #2a2a26 0%, #2b231d 100%); }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%);
  display: flex; flex-direction: column; align-items: center;
}
.map-pin .head { background: var(--surface); padding: 8px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; white-space: nowrap; }
.map-pin .needle { width: 22px; height: 22px; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(45deg); margin-top: 8px; box-shadow: var(--shadow-md); border: 3px solid var(--surface); }
.map-card .map-cta { position: absolute; left: 20px; bottom: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--dark-bg); color: var(--dark-ink); padding-top: clamp(60px, 8vw, 100px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--dark-border); }
.footer .brand { color: var(--dark-ink); font-size: 34px; margin-bottom: 16px; }
.footer-blurb { color: var(--dark-muted); font-size: 15px; max-width: 30ch; }
.footer-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: var(--dark-ink); font-size: 15px; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.news { display: flex; gap: 8px; margin-top: 14px; }
.news input { flex: 1; background: var(--dark-surface); border: 1px solid var(--dark-border); color: var(--dark-ink); border-radius: var(--radius-pill); padding: 12px 16px; font: inherit; font-size: 14px; outline: none; }
.news input:focus { border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { color: var(--dark-muted); font-size: 13.5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--dark-border); display: grid; place-items: center; color: var(--dark-ink); transition: .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none;
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-pill); padding: 15px 22px;
  align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  animation: ctaIn .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes ctaIn { from { transform: translateY(120%); } }
.sticky-cta .label { display: flex; flex-direction: column; }
.sticky-cta .label small { font-weight: 500; opacity: .85; font-size: 12px; }
.sticky-cta button { background: var(--on-accent); color: var(--accent); border: none; border-radius: var(--radius-pill); padding: 11px 20px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }

/* ---------- booking modal ---------- */
.book-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(28,20,14,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.book-overlay.open { opacity: 1; pointer-events: auto; }
.book-modal {
  background: var(--surface); color: var(--ink);
  width: min(640px, 100%); max-height: 92vh;
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.book-overlay.open .book-modal { transform: none; }
.book-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.book-head .t { font-family: var(--font-display); font-size: 24px; }
.book-head .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.book-x { background: var(--bg-warm); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 17px; color: var(--ink); display: grid; place-items: center; transition: .2s; }
.book-x:hover { background: var(--border-strong); }
.book-steps { display: flex; gap: 6px; padding: 16px 26px 0; }
.book-steps .seg { flex: 1; height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.book-steps .seg i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s; }
.book-steps .seg.done i { width: 100%; }
.book-steps .seg.active i { width: 50%; }
.book-body { padding: 24px 26px; overflow-y: auto; }
.book-body .q { font-family: var(--font-display); font-size: 26px; margin-bottom: 4px; }
.book-body .qsub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

.opt-list { display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: var(--radius); cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface);
  transition: .18s;
}
.opt:hover { border-color: var(--border-strong); background: var(--bg-warm); }
.opt.sel { border-color: var(--accent); background: var(--accent-tint); }
.opt .av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; flex-shrink: 0; }
.opt .av.ghost { background: var(--bg-warm); color: var(--ink); }
.opt .info { flex: 1; }
.opt .info .nm { font-weight: 600; font-size: 15.5px; }
.opt .info .ds { font-size: 13px; color: var(--muted); }
.opt .pr { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.opt .check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; transition: .18s; }
.opt.sel .check { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt.sel .check::after { content: "✓"; font-size: 12px; }

.svc-cat-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.svc-cat-label:first-child { margin-top: 0; }

.date-row { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 8px; }
.date-chip { flex-shrink: 0; width: 70px; text-align: center; padding: 13px 0; border-radius: var(--radius); border: 1.5px solid var(--border); cursor: pointer; transition: .18s; }
.date-chip:hover { border-color: var(--border-strong); }
.date-chip.sel { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.date-chip .dow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.date-chip .dnum { font-family: var(--font-display); font-size: 24px; margin-top: 3px; }
.date-chip .mon { font-size: 11px; opacity: .8; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 22px; }
.time-chip { padding: 12px 0; text-align: center; border-radius: var(--radius-sm); border: 1.5px solid var(--border); cursor: pointer; font-size: 14px; font-weight: 600; transition: .18s; }
.time-chip:hover { border-color: var(--border-strong); }
.time-chip.sel { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-deep); }
.time-chip.off { opacity: .35; pointer-events: none; text-decoration: line-through; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; font: inherit; font-size: 15px; background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }
.field.err input { border-color: var(--accent); }
.field .msg { font-size: 12px; color: var(--accent); margin-top: 5px; }

.summary { background: var(--accent-tint); border-radius: var(--radius); padding: 22px; }
.summary .srow { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; }
.summary .srow + .srow { border-top: 1px solid color-mix(in oklab, var(--accent), transparent 80%); }
.summary .srow .k { color: var(--ink-soft); }
.summary .srow .v { font-weight: 600; text-align: right; }
.summary .total { font-family: var(--font-display); font-size: 22px; }

.book-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 26px; border-top: 1px solid var(--border); background: var(--bg); }
.book-foot .back { background: none; border: none; color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; padding: 10px; }
.book-foot .back:hover { color: var(--ink); }
.book-foot .spacer { flex: 1; }

.confirm { text-align: center; padding: 18px 0; }
.confirm .ring { width: 80px; height: 80px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; font-size: 38px; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pop { from { transform: scale(0); } }
.confirm h3 { font-family: var(--font-display); font-size: 32px; margin-bottom: 10px; }
.confirm p { color: var(--ink-soft); max-width: 38ch; margin: 0 auto 8px; }

/* ---------- reveal animation (visible by default; JS arms below-fold) ---------- */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.pre { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { grid-template-columns: minmax(118px, 150px) 1fr auto; gap: 20px; }
  .brand-logo { width: 118px; max-height: 46px; }
  .nav-links { gap: 20px; }
  .nav-call { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: flex; }
  .nav-links, .nav-call { display: none; }
  .nav-burger { display: block; }
  .brand-logo { width: 112px; max-height: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 48px; }
  .hero-art .slot-tall { aspect-ratio: 16/10; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; order: -1; }
  .svc-groups { grid-template-columns: 1fr; }
  .specials-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .book-body .q { font-size: 22px; }
  body { font-size: 16px; }
}
