/* Nails by Nary — approved UI (Phone V5 revised · Tablet V3 · Desktop V3)
   CSP-safe: no inline styles are used anywhere; all styling lives here. */

@property --nb-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --rose: #e93d78;
  --rose-deep: #c2185b;
  --rose-soft: #f7c6d8;
  --rose-wash: #fde8ef;
  --burgundy: #8c1641;
  --burgundy-deep: #6c0f31;
  --lavender: #b98ce8;
  --lavender-soft: #e7d7f6;
  --gold: #f4b638;
  --gold-soft: #f3d98c;
  --white: #ffffff;
  --paper: #fdf0f4;           /* owner-approved softer blush body background */
  --title-burgundy: #8c1744;  /* category titles + service names */
  --header-bg: #fbf1f1;
  --footer: #871f39;
  --footer-pill: #faeaed;
  --ink: #3b1b2a;
  --ink-soft: #6e4b5b;
  --heading: #8c1641;

  --grad-primary: linear-gradient(135deg, #f2629a 0%, #e93d78 50%, #c9215f 100%);
  /* Two blush layers: category band (deeper, ≈ #F7E3E6) and service card (lighter, ≈ #FAE8E9). */
  --grad-band: linear-gradient(180deg, #f9e8eb 0%, #f7e3e6 50%, #f4dce1 100%);
  --grad-card: linear-gradient(180deg, #fcefef 0%, #fae8e9 55%, #f8e2e4 100%);
  --shadow-card: 0 6px 18px rgb(140 22 65 / 0.09), 0 1px 3px rgb(140 22 65 / 0.08);
  --shadow-btn: 0 8px 18px rgb(194 24 91 / 0.28);

  --frame: 1280px;
  --gutter: 16px;
  --radius-frame: 0px;
  --tabbar-h: 66px;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --radius-frame: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: #fdf0f4;
  background-image:
    radial-gradient(60vw 50vw at -10% 0%, rgb(255 255 255 / 0.65), transparent 60%),
    radial-gradient(50vw 40vw at 110% 10%, rgb(246 184 206 / 0.9), transparent 65%),
    radial-gradient(60vw 50vw at 100% 100%, rgb(239 229 251 / 0.9), transparent 60%),
    linear-gradient(180deg, #fbe3ea 0%, #f7d3df 100%);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 2px; border-radius: 6px; }

/* ---------- Frame: header, main and footer share one centred 1280px column ---------- */
.site {
  position: relative;
  width: 100%;
  max-width: var(--frame);
  margin-inline: auto;
  background: var(--paper);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
  .site {
    margin-block: 24px;
    border-radius: var(--radius-frame);
    overflow: clip;
    box-shadow: 0 30px 60px rgb(140 22 65 / 0.16), 0 0 0 1px rgb(255 255 255 / 0.7);
    padding-bottom: 0;
  }
}
.hdr, main, .ftr__notes, .ftr__bar { padding-inline: var(--gutter); }

.skip-link { position: absolute; left: var(--gutter); top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--burgundy); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }

.test-notice {
  padding: 6px var(--gutter);
  background: var(--lavender-soft);
  color: var(--burgundy-deep);
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
  border-bottom: 1px solid rgb(185 140 232 / 0.35);
}
.test-notice span { color: var(--ink-soft); }
@media (max-width: 599px) { .test-notice { font-size: 11.5px; padding-block: 4px; } }

/* ---------- Header ---------- */
.hdr {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  background: var(--header-bg);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
/* Approved logo (Option 5, "Nail Art Signature"). Height is tied to the existing header height so the
   menu bar does not grow; width follows the image's own aspect ratio (never stretched). */
/* Header: owner-selected embossed gold wordmark (text only, trimmed, transparent). Height is tied to
   the unchanged header height (72px / 64px); width follows the artwork's own ratio. */
.brand { position: relative; z-index: 1; min-width: 0; }
/* Phone: width-driven so the wordmark fills the space beside the Menu button (cap 250px ≈ 54px tall);
   tablet 48px; desktop 54px. Same image, aspect ratio preserved (height/width auto). */
.brand__logo { display: block; width: min(250px, calc(100vw - 2 * var(--gutter) - 68px)); height: auto; max-width: none; object-fit: contain; flex: none; }
/* Tablet/desktop: sized so the visible gold lettering (image rows 4–140 of 152; the rest is a soft
   shadow) nearly fills the unchanged header with ≈5px above and below. translateY(2.63%) centres the
   lettering itself rather than the image box (shadow sits only below); no layout movement. */
@media (min-width: 600px) { .brand__logo { width: auto; height: 60px; transform: translateY(2.63%); } }
@media (min-width: 900px) { .brand__logo { height: clamp(64px, 6.6vw, 68px); } }

.menu-toggle { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--burgundy); cursor: pointer; }
.menu-toggle svg { width: 30px; height: 30px; }
.menu-toggle__close, .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
/* Tablet (600–899px): unchanged icon-only button; the label stays as its accessible name. */
.menu-toggle__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hdr__blossoms { display: none; }

/* ---------- Phone header (≤599px): larger gold wordmark, ivory→blush ground, subtle blossoms,
   premium Menu button with the site's moving-light border ---------- */
@media (max-width: 599px) {
  .hdr {
    min-height: 68px; gap: 12px;
    background: linear-gradient(100deg, #fffaf4 0%, #fdf4f2 40%, #fdf0f4 75%, #fbe8ef 100%);
  }
  .hdr__blossoms { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
  .hdr__bloom { position: absolute; color: #f6b9cd; opacity: 0.45; }
  .hdr__bloom--1 { width: 26px; height: 26px; left: -8px; top: -7px; }
  .hdr__bloom--2 { width: 16px; height: 16px; left: 3px; bottom: 5px; opacity: 0.32; }
  .hdr__bloom--3 { width: 12px; height: 12px; left: 21px; top: 6px; opacity: 0.28; color: #f2a3c0; }
  .menu-toggle {
    width: 56px; height: 52px; flex: none;
    grid-template-rows: auto auto; align-content: center; row-gap: 2px;
    padding: 4px 6px;
    border: 1.5px solid #d4a24c; border-radius: 14px;
    background: linear-gradient(180deg, #fffdf8 0%, #fdf1f4 100%);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(244 182 56 / 0.25), 0 3px 10px rgb(140 22 65 / 0.14);
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .menu-toggle__label {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap;
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; color: var(--burgundy);
  }
  .menu-toggle::after {
    content: ""; position: absolute; inset: -1.5px; padding: 2px; border-radius: inherit; pointer-events: none;
    background: conic-gradient(from var(--nb-btn-angle),
      transparent 0deg, transparent 210deg,
      rgb(250 222 150) 255deg, #ffffff 292deg, rgb(255 150 186) 325deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: var(--nb-btn-ring);
  }
  .hdr.is-offscreen .menu-toggle::after { animation-play-state: paused; }
}

.nav { display: none; }
.nav.is-open {
  display: block;
  position: absolute;
  inset: 100% 0 auto 0;
  padding: 8px var(--gutter) 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--rose-soft);
  box-shadow: 0 18px 30px rgb(140 22 65 / 0.12);
}
.nav__list { display: grid; gap: 2px; }
.nav__list > li { position: relative; }
.nav__link, .nav__sub a {
  display: block;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.nav__link:hover, .nav__sub a:hover { background: var(--rose-wash); color: var(--burgundy); }
.nav__link[aria-current] { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn); }
.nav__has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.nav__has-sub > .nav__link { flex: 1; }
.nav__sub-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; color: var(--ink); }
.nav__sub-toggle svg { width: 18px; height: 18px; transition: transform 0.2s; }
.nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { display: none; width: 100%; padding-inline-start: 14px; }
.nav__sub.is-open { display: block; }
.nav__sub a { font-weight: 500; padding-block: 8px; }

@media (min-width: 900px) {
  .hdr { min-height: 72px; gap: 24px; }
  .menu-toggle { display: none; }
  .nav, .nav.is-open { display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav__list { display: flex; align-items: center; gap: clamp(2px, 1.2vw, 18px); }
  .nav__link { padding: 8px clamp(10px, 1.2vw, 22px); font-size: 16px; }
  .nav__has-sub { flex-wrap: nowrap; }
  .nav__sub-toggle { width: 26px; height: 32px; }
}
/* Desktop: exactly one pink pill. It follows the hovered item (mouse wins), otherwise the
   keyboard-focused item, otherwise the current page (Home). The Services chevron and dropdown
   belong to the Services item. Same pill style as .nav__link[aria-current] — no design change. */
@media (min-width: 900px) {
  .nav__list > li:has(:focus-visible) > .nav__link {
    background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn);
  }
  .nav__list:has(> li :focus-visible) > li:not(:has(:focus-visible)) > .nav__link[aria-current] {
    background: transparent; color: var(--ink); box-shadow: none;
  }
}
/* Real pointers only (touch would leave a "sticky" hover after a tap). Mouse hover wins over focus. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .nav__list > li:hover > .nav__link {
    background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn);
  }
  .nav__list:has(> li:hover) > li:not(:hover) > .nav__link[aria-current],
  .nav__list:has(> li:hover) > li:not(:hover):has(:focus-visible) > .nav__link {
    background: transparent; color: var(--ink); box-shadow: none;
  }
}
@media (min-width: 900px) {
  .nav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgb(140 22 65 / 0.16);
    border: 1px solid var(--rose-soft);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(250px, 66vw, 320px);
  margin-inline: calc(var(--gutter) * -1);
  padding: 22px var(--gutter) 24px;
  overflow: hidden;
  background: linear-gradient(100deg, #fde7ef 0%, #fbd3e1 45%, #f6c2d4 100%);
}
/* Approved hero photograph on the right, faded into the pink background on its left edge so the
   HTML headline stays readable. object-fit: cover keeps proportions (never stretched). */
.hero__media { position: absolute; inset: 0 0 0 36%; z-index: -1; pointer-events: none; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.55) 18%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.55) 18%, #000 40%);
}
@media (min-width: 900px) {
  .hero__media { left: 40%; }
  .hero__media img { object-position: 62% 46%; }
}
/* Phone / tablet portrait: the headline spans most of the width, so a soft blush veil (the hero's
   own background pink) keeps the HTML text readable over the photograph; the hand stays clear on the right. */
@media (max-width: 899px) {
  .hero__media { left: 28%; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgb(252 222 233 / 0.92) 0%, rgb(252 222 233 / 0.78) 38%, rgb(252 222 233 / 0.3) 70%, transparent 92%);
  }
}
/* Cherry-blossom branch at the hero's left edge (all three reference images). */
.hero__branch { position: absolute; z-index: -1; left: 0; top: 0; width: clamp(64px, 11vw, 150px); height: auto; max-height: 100%; pointer-events: none; filter: drop-shadow(0 2px 3px rgb(140 22 65 / 0.12)); }
.hero__copy { max-width: 46rem; padding-inline-start: clamp(8px, 7vw, 150px); }
.hero__title { font-family: var(--font-display); font-weight: 800; color: var(--heading); font-size: clamp(30px, 8.2vw, 54px); line-height: 1.02; letter-spacing: -0.015em; }
.hero__title span { display: block; }
.hero__title em { display: inline; font-style: italic; color: var(--rose-deep); background: linear-gradient(90deg, #d42a6c, #e2457e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__heart { display: inline-block; vertical-align: -0.05em; width: 1.05em; height: 0.9em; margin-inline-start: 0.12em; color: var(--gold); overflow: visible; }
.hero__lede { margin-top: 10px; max-width: 30rem; color: var(--ink); font-size: clamp(14px, 3.8vw, 17px); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .btn__arrow { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn--outline { background: rgb(255 255 255 / 0.85); color: var(--burgundy); border: 2px solid var(--rose); }
.btn--sm { min-height: 40px; padding: 7px 16px; font-size: 14.5px; gap: 8px; }
.btn--sm svg { width: 19px; height: 19px; }

@media (max-width: 599px) {
  .hero__branch { width: 58px; opacity: 0.85; }
  .hero__copy { padding-inline-start: 4px; min-width: 0; }
  .hero__lede { max-width: 17rem; }
  .hero__actions { flex-wrap: nowrap; }
  /* Side by side (Phone V5). Book's longer label gets a slightly larger share so its icon, text
     and arrow fit inside the pill; balanced padding; everything vertically centred. */
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 14px; gap: 5px; }
  .hero__actions .btn--primary { flex-grow: 1.3; }
  .hero__actions .btn svg { width: 18px; height: 18px; }
  .hero__actions .btn .btn__arrow { width: 14px; height: 14px; }
}
@media (max-width: 379px) {
  .hero__actions .btn { padding-inline: 8px; font-size: 13px; gap: 4px; }
  .hero__actions .btn svg { width: 16px; height: 16px; }
  .hero__actions .btn .btn__arrow { width: 12px; height: 12px; }
  .promo--gift .btn, .promo--book > .promo__btn { font-size: 13px; padding-inline: 10px; gap: 5px; }
}
/* Desktop V3 / Tablet V3 hero proportions: compact banner, description on one line. */
@media (min-width: 900px) {
  .hero { min-height: 200px; padding-block: 16px 20px; }
  .hero__lede { max-width: none; }
  .hero__actions { margin-top: 14px; }
}

/* ---------- Section rule heading ---------- */
.section-rule {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 30px);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(16px, 4.2vw, 22px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-indent: 0.3em;
}
.section-rule span { display: block; width: clamp(40px, 9vw, 90px); height: 2px; background: var(--gold); border-radius: 2px; }
.section-rule--sm { font-size: clamp(15px, 3.8vw, 19px); }

/* ---------- Services ---------- */
.services { padding-top: 18px; }
.scroll-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; font-size: 14px; color: var(--ink); }
.scroll-hint svg { width: 20px; height: 20px; color: var(--burgundy); flex: none; }
.scroll-hint .scroll-hint__arrow--back { transform: scaleX(-1); }
/* Desktop V3 shows the hint; Tablet V3 and Phone V5 do not. */
@media (hover: none), (pointer: coarse), (max-width: 899px) { .scroll-hint { display: none; } }

/* Category band: one continuous blush panel whose top edge runs behind the lower part of the
   heading, so the icon + title sit on the panel's upper boundary (Desktop V3 close-up). */
.cat { position: relative; margin-top: 14px; }
.cat::before {
  content: "";
  position: absolute;
  inset: 21px 0 0 0;
  border-radius: 20px;
  background: var(--grad-band);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55), 0 1px 2px rgb(140 22 65 / 0.04);
}
.cat__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding-inline: 10px; margin-bottom: 0; }
.cat__icon { width: 34px; height: 34px; color: var(--burgundy); flex: none; }
.cat__title { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--title-burgundy); line-height: 1.1; letter-spacing: 0.005em; white-space: nowrap; }
@media (min-width: 600px) { .cat__title { font-size: 28px; } }
@media (min-width: 1024px) { .cat__title { font-size: 30px; } }
.cat__rule { flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 2px; opacity: 0; }
@media (min-width: 600px) and (max-width: 1023px) { .cat__rule { opacity: 1; } }
.browse {
  display: inline-flex; align-items: center; gap: 6px;
  margin-inline-start: auto;
  padding: 6px 4px;
  border: 0; background: none; cursor: pointer;
  color: var(--rose-deep);
  font-weight: 700; font-size: 15.5px;
  white-space: nowrap;
}
.cat__rule + .browse { margin-inline-start: 0; }
.browse svg { width: 18px; height: 18px; transition: transform 0.2s; }
/* Narrow screens: the gold rule is invisible below 600px (opacity 0) but still took flex space and an
   extra gap, pushing "Browse All" past the heading on narrow phones. Remove it from layout there and
   keep Browse All right-aligned — no visible change. */
@media (max-width: 599px) {
  .cat__rule { display: none; }
  .cat__rule + .browse { margin-inline-start: auto; }
}
/* Below 390px: "Polish Services" (the longest name) plus a full-size Browse All need a slightly smaller
   title; Browse All and its arrow never shrink. 390px and wider keep the approved 25px. */
@media (max-width: 389px) {
  .cat__head { gap: 8px; }
  .cat__title { font-size: 21px; }
  .browse, .browse svg { flex: none; }
}
/* Very narrow phones (<360px, e.g. 320px): tighter heading so the full category name, icon and Browse All
   fit on one line; panel edge moved so the title still straddles its top boundary. */
@media (max-width: 359px) {
  .cat__head { padding-inline: 6px; }
  .cat__icon { width: 26px; height: 26px; }
  .cat__title { font-size: 20px; }
  .browse { font-size: 13px; gap: 4px; }
  .browse svg { width: 16px; height: 16px; }
  .cat::before { inset: 16px 0 0 0; }
}
.browse[aria-expanded="true"] svg { transform: rotate(90deg); }
.browse:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Horizontal row — native overflow scrolling (touch, trackpad, keyboard),
   enhanced by nary-ui.js with wheel + mouse drag. No carousel arrows. */
.row {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 10px 12px;
  border-radius: 20px;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.row::-webkit-scrollbar { display: none; }
/* Desktop V3 / Tablet V3: cards start inset from the band's left edge, under the category title. */
@media (min-width: 600px) { .row:not(.is-expanded) { padding-inline-start: clamp(10px, 8.5%, 112px); scroll-padding-inline-start: clamp(10px, 8.5%, 112px); } }
.row.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.row.is-dragging * { pointer-events: none; }
.row.is-wheeling { scroll-snap-type: none; }
.row.has-more-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 42px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 42px), transparent); }
.row.has-more-start.has-more-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 42px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 42px), transparent); }
.row.has-more-start:not(.has-more-end) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px); mask-image: linear-gradient(90deg, transparent, #000 32px); }
.row__list { display: flex; gap: 12px; width: max-content; }

.svc {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 44% 1fr;
  align-items: center;
  gap: 10px;
  width: min(66vw, 255px);
  padding: 7px 10px 7px 7px;
  border-radius: 16px;
  background: var(--grad-card);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6), 0 1px 2px rgb(140 22 65 / 0.06), 0 4px 10px rgb(140 22 65 / 0.05);
}
@media (min-width: 600px) { .svc { width: 300px; } }
@media (min-width: 1024px) { .svc { width: 330px; gap: 14px; } }
.svc__body { min-width: 0; }
/* Service names: bold burgundy serif, clearly above the description; long real names wrap
   (up to 4 lines) instead of being cut short or shrunk. */
.svc__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; line-height: 1.18; color: var(--title-burgundy);
  padding-bottom: 0.12em;   /* keeps descenders (y, g, p) of the last line from being clipped */
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 600px) { .svc__name { font-size: 18.5px; } }
.svc__desc {
  margin-top: 3px;
  font-size: 13px; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* Reference cards show name + description only; price/duration appear in the Browse All view. */
.svc__meta { display: none; gap: 8px; margin-top: 5px; font-size: 12.5px; font-weight: 700; }
.row.is-expanded .svc__meta { display: flex; }
.svc__price { color: var(--rose-deep); }
.svc__time { color: var(--ink-soft); font-weight: 600; }
.svc__time::before { content: "·"; margin-inline-end: 8px; color: var(--gold); }
@media (min-width: 1024px) { .svc__name { font-size: 20px; } .svc__desc { font-size: 13.5px; } }

/* Expanded "Browse All" grid */
.row.is-expanded { overflow: visible; cursor: auto; -webkit-mask-image: none; mask-image: none; }
.row.is-expanded .row__list { display: grid; width: auto; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.row.is-expanded .svc { width: auto; align-items: start; }
.row.is-expanded .svc__name, .row.is-expanded .svc__desc { -webkit-line-clamp: unset; display: block; }

/* ---------- Animated thumbnail border (border ring only) ----------
   A thin rounded ring whose highlight travels around the edge, matching the
   reference MP4. The photograph and all text are static: only the ring's
   background angle animates. Shared verbatim by the Our Work thumbnails. */
.thumb, .work__photo {
  position: relative;
  display: block;
  padding: 2px;
  border-radius: 14px;
  background:
    conic-gradient(from var(--nb-angle),
      #f9cfdd 0deg, #f9cfdd 150deg,
      #ec6f9d 205deg, #ffffff 240deg, #c39af0 275deg,
      #f9cfdd 330deg, #f9cfdd 360deg);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.9), 0 3px 10px rgb(226 69 126 / 0.22);
  animation: nb-ring 3.2s linear infinite;
}
.thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--rose-wash);
  -webkit-user-drag: none;
  user-select: none;
}
.svc:nth-child(3n + 2) .thumb { animation-delay: -1.07s; }
.svc:nth-child(3n + 3) .thumb { animation-delay: -2.13s; }
.row.is-offscreen .thumb, .work.is-offscreen .work__photo { animation-play-state: paused; }
.work__grid li:nth-child(2n) .work__photo { animation-delay: -1.6s; }
@keyframes nb-ring { to { --nb-angle: 360deg; } }

/* ---------- Promos ---------- */
.promos { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 900px) { .promos { grid-template-columns: 1fr 1fr; gap: 20px; } }
.promo {
  display: grid; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
/* Booking panel: calendar | text | two-line button, one row at every size. */
.promo--book { grid-template-columns: auto 1fr auto; background: linear-gradient(100deg, #fff 0%, #fde6ee 100%); }
.promo__cal { width: 74px; height: 66px; }
.promo__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 4.6vw, 23px); line-height: 1.12; color: var(--heading); }
.promo__title em { display: block; font-style: italic; }
.promo__text > p { margin-top: 4px; font-size: 14.5px; }
.promo__btn { flex-direction: column; gap: 0; padding: 8px 22px; line-height: 1.15; text-align: center; }
.promo__btn-line { display: inline-flex; align-items: center; gap: 8px; }
/* Gift panel: card | text | button (desktop, tablet); card | divider | text + button (phone). */
.promo--gift { grid-template-columns: minmax(150px, 40%) 1fr auto; background: linear-gradient(100deg, #f3eafb 0%, #e7d7f6 100%); }
.promo__card { filter: drop-shadow(0 8px 14px rgb(108 15 49 / 0.22)); }
.giftcard { width: 100%; height: auto; overflow: visible; }
@media (max-width: 599px) {
  .promo { gap: 8px; padding: 12px 10px; }
  .promo__cal { width: 48px; height: 44px; }
  .promo__title { font-size: 16px; }
  .promo--book { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .promo--book::before, .promo--gift::before { content: ""; grid-row: 1; grid-column: 2; width: 2px; align-self: stretch; margin-block: 6px; background: var(--gold); border-radius: 2px; }
  .promo--book > .promo__cal { grid-column: 1; grid-row: 1; }
  .promo--book > .promo__text { grid-column: 3; grid-row: 1; }
  .promo--book > .promo__btn { grid-column: 4; grid-row: 1; padding: 8px 12px; font-size: 13.5px; min-height: 0; }
  .promo--book > .promo__btn .btn__arrow { width: 15px; height: 15px; }
  .promo--book .promo__text > p { font-size: 13px; }
  .promo--gift { grid-template-columns: 46% auto minmax(0, 1fr); }
  .promo--gift .btn { padding-inline: 12px; max-width: 100%; }
  .promo--gift > .promo__card { grid-column: 1; grid-row: 1; }
  .promo--gift > .promo__text { grid-column: 3; grid-row: 1; }
  .promo--gift .promo__text > p { font-size: 13px; }
}
@media (min-width: 600px) {
  .promo--gift > .promo__text { display: contents; }
  .promo--gift .promo__title, .promo--gift .promo__text > p { grid-column: 2; }
  .promo--gift .promo__title { grid-row: 1; align-self: end; }
  .promo--gift .promo__text > p { grid-row: 2; align-self: start; margin-top: 0; }
  .promo--gift .promo__card { grid-row: 1 / span 2; grid-column: 1; }
  .promo--gift .btn { grid-row: 1 / span 2; grid-column: 3; align-self: center; margin-top: 0; }
}
.promo--gift .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .promo--gift { grid-template-columns: minmax(130px, 34%) 1fr auto; column-gap: 14px; }
  .promo--gift .promo__title { font-size: 21px; }
  .promo--gift .btn { padding-inline: 12px; }
}
.promo__heart { display: inline-block; width: 26px; height: 22px; margin-inline-start: 6px; vertical-align: -3px; color: var(--gold); }

/* ---------- Reviews + Our Work ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.work { order: -1; }
@media (min-width: 600px) {
  .duo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; }
  .work { order: 0; padding-inline-start: 24px; border-inline-start: 2px solid var(--gold); }
  .reviews { padding-inline-end: 24px; }
}
.rating { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; font-size: 14px; }
.rating img { width: 20px; height: 20px; }
.rating strong { font-size: 16px; }
.stars { color: var(--gold); letter-spacing: 0.08em; }
.rating__count { color: var(--ink-soft); }
.reviews__track {
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  margin-top: 8px;
  padding: 4px;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 12px 18px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.review .stars { font-size: 20px; }
.review blockquote { margin-top: 4px; font-size: 16px; line-height: 1.4; }
.review blockquote p::before { content: "\201C"; font-family: var(--font-display); font-size: 1.9em; line-height: 0; vertical-align: -0.35em; margin-inline-end: 4px; color: var(--rose); }
.review blockquote p::after { content: "\201D"; font-family: var(--font-display); font-size: 1.9em; line-height: 0; vertical-align: -0.35em; margin-inline-start: 4px; color: var(--rose); }
.review__author { margin-top: 4px; font-size: 14.5px; color: var(--ink-soft); }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rose-soft); transition: background 0.2s, transform 0.2s; }
.dots button[aria-current="true"]::before { background: var(--rose-deep); transform: scale(1.15); }
.reviews__links { display: flex; justify-content: center; gap: 18px; margin-top: 4px; font-size: 14px; font-weight: 700; }
.reviews__links a { color: var(--rose-deep); text-underline-offset: 3px; }
.reviews__checked { margin-top: 4px; text-align: center; font-size: 12px; color: var(--ink-soft); }

/* Premium collage (adapted from NailSiteStudio's Premium Gallery): one dominant featured photo +
   four supporting photos. Phone: 2 columns, featured full width. Tablet/desktop: 2fr 1fr 1fr with
   the featured photo spanning both rows. Photos 6–27 stay in the gallery (viewer) and are not
   displayed or downloaded until viewed. */
.work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.work__grid li { min-width: 0; }
.work__grid li:nth-child(n + 6) { display: none; }
.work__grid li:first-child { grid-column: 1 / -1; }
.work__grid li:first-child .work__photo img { aspect-ratio: 4 / 3; }
@media (min-width: 600px) {
  .work__grid { grid-template-columns: 2fr 1fr 1fr; }
  .work__grid li:first-child { grid-column: auto; grid-row: span 2; }
  .work__grid li:first-child .work__photo { height: 100%; }
  /* Featured image fills its two-row tile without adding its own height to the rows. */
  .work__grid li:first-child .work__photo img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); aspect-ratio: auto; }
}
.work__more { margin: 12px 0 0; text-align: center; }
.work__all {
  min-height: 44px; padding: 9px 20px;
  border: 1.5px solid var(--rose); border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--rose-wash));
  color: var(--burgundy); font-weight: 700; font-size: 14.5px; cursor: pointer;
  box-shadow: 0 4px 12px rgb(194 24 91 / 0.12);
}
.work__all:hover { border-color: var(--rose-deep); }
/* Ring, padding, radius, shadow and animation come from the shared .thumb rule above. */
.work__photo { width: 100%; border: 0; cursor: zoom-in; }
.work__photo img { display: block; width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; border-radius: 12px; background: var(--rose-wash); }

/* ---------- Our Studio / Hours / Contact (owner-approved reference) ----------
   Desktop & larger tablets (≥768px): large Our Studio card left; Hours top-right; Contact below.
   Phone: stacked Studio → Hours → Contact. Ivory/blush cards, delicate gold borders, burgundy serif
   headings, orchid accents, soft bottom curves, slow moving-light border (border only). */
.info { display: grid; gap: 14px; margin-top: 24px; padding-bottom: 22px; }
@media (min-width: 768px) {
  .info { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; align-items: stretch; }
  .studio { grid-row: span 2; }
}
.info__card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 16px 16px 18px; border-radius: 20px;
  border: 1px solid rgb(226 176 79 / 0.55);
  background:
    radial-gradient(120% 70% at 50% 120%, rgb(247 198 216 / 0.55), transparent 60%),
    linear-gradient(180deg, #fffaf6 0%, #fdf1f4 100%);
  box-shadow: 0 10px 26px rgb(140 22 65 / 0.09), 0 1px 3px rgb(140 22 65 / 0.07), inset 0 1px 0 #fff;
  scroll-margin-top: 12px;
}
/* Soft decorative curve along the bottom edge. */
.info__card::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -46px; height: 96px;
  border-radius: 50%; border-top: 1.5px solid rgb(226 176 79 / 0.45);
  background: linear-gradient(180deg, rgb(251 222 233 / 0.65), rgb(248 205 221 / 0.35));
  pointer-events: none;
}
/* Slow moving-light border (same masked-ring technique as the CTAs). */
.info__card::after {
  content: ""; position: absolute; inset: -1px; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--nb-btn-angle), transparent 0deg, transparent 220deg, rgb(250 222 150 / 0.9) 262deg, #fff 295deg, rgb(255 150 186 / 0.85) 326deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: var(--nb-card-ring);
}
:root { --nb-card-ring: nb-btn-ring 10s linear infinite; }
.hours-card::after { animation-delay: -3.3s; }
.contact-card::after { animation-delay: -6.6s; }
.info.is-offscreen .info__card::after, .info.is-offscreen .studio__play::after { animation-play-state: paused; }
.info__orchid { position: absolute; z-index: -1; top: -6px; right: -8px; width: 92px; height: 92px; opacity: 0.85; pointer-events: none; }
.info__orchid--studio { top: auto; bottom: 34px; right: 0; width: 84px; height: 84px; opacity: 0.55; transform: rotate(-18deg); }
.info__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-inline-end: 64px; }
.info__badge {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #a8204f 0%, #8c1641 55%, #6c0f31 100%); color: #fde8ef;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 0 0 1.5px rgb(244 182 56 / 0.8), 0 6px 14px rgb(140 22 65 / 0.25);
}
.info__badge svg { width: 26px; height: 26px; }
.info__title { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; line-height: 1.05; color: var(--title-burgundy); }
.info__kicker { margin: 3px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* Our Studio */
.studio { display: flex; flex-direction: column; }
.studio__head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; margin-bottom: 12px; }
.studio__lotus { width: 44px; height: 28px; color: var(--gold); }
.studio__title { font-size: 32px; }
.studio__kicker { grid-column: 1 / -1; margin-top: 4px; }
@media (min-width: 1024px) {
  .studio__head { grid-template-columns: auto auto 1fr; }
  .studio__kicker { grid-column: auto; justify-self: end; max-width: 15em; margin: 0; text-align: left; line-height: 1.6; }
}
.studio__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: 14px; overflow: hidden; background: #f3e7dc;
  box-shadow: 0 0 0 1px rgb(226 176 79 / 0.5), 0 10px 22px rgb(60 20 30 / 0.16);
}
.studio__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 22%; }
@media (min-width: 768px) { .studio__media { flex: 1 1 auto; min-height: 220px; } .studio__media img { height: 100%; aspect-ratio: auto; min-height: 220px; } }
.studio__play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b3305e 0%, #8c1641 55%, #640d2d 100%);
  color: #fff; box-shadow: 0 0 0 3px rgb(244 182 56 / 0.9), 0 10px 24px rgb(60 10 30 / 0.4);
}
.studio__play svg { width: 34px; height: 34px; margin-left: 4px; }
.studio__play::after {
  content: ""; position: absolute; inset: -7px; padding: 2.5px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--nb-btn-angle), transparent 0deg, transparent 200deg, rgb(250 222 150) 250deg, #fff 290deg, rgb(255 150 186) 325deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: var(--nb-btn-ring);
}
.studio__media:hover .studio__play, .studio__media:focus-visible .studio__play { box-shadow: 0 0 0 3px var(--gold), 0 0 0 7px rgb(255 255 255 / 0.35), 0 10px 24px rgb(60 10 30 / 0.4); }
.studio__body { position: relative; text-align: center; padding: 14px 4px 0; }
.studio__subtitle { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 21px; white-space: nowrap; color: var(--title-burgundy); }
@media (min-width: 400px) { .studio__subtitle { font-size: 23px; } }
@media (min-width: 1024px) { .studio__subtitle { font-size: 25px; gap: 12px; } }
.studio__subtitle span { flex: 0 1 60px; min-width: 10px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.studio__subtitle span:last-child { transform: scaleX(-1); }
.studio__text { margin: 6px auto 0; max-width: 34em; font-size: 15px; line-height: 1.5; color: var(--ink); }
.studio__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 12px; }
.studio__watch {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 22px 10px 12px;
  border: 1.5px solid rgb(244 182 56 / 0.8); border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #a8204f 0%, #8c1641 55%, #6c0f31 100%); color: #fff;
  font: inherit; font-weight: 700; font-size: 15.5px; box-shadow: 0 8px 18px rgb(140 22 65 / 0.28);
}
.studio__watch svg { width: 26px; height: 26px; padding: 5px 4px 5px 6px; border-radius: 50%; border: 1.5px solid #fff; }
.studio__watch:hover { background: linear-gradient(135deg, #b5285a 0%, #9a1a49 55%, #761236 100%); }
.studio__length { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-soft); }
.studio__length svg { width: 20px; height: 20px; color: var(--burgundy); }

/* Hours */
.hours { position: relative; width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 15px; }
.hours th, .hours td { padding: 6px 12px; background: rgb(253 236 242 / 0.7); }
.hours th { text-align: left; font-weight: 600; color: var(--ink); border-radius: 10px 0 0 10px; }
.hours td { text-align: right; color: var(--ink); border-radius: 0 10px 10px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.is-highlight th, .hours tr.is-highlight td { background: #f9d4e1; color: var(--title-burgundy); font-weight: 700; }
.hours-card { padding-bottom: 54px; }   /* room for the gold clock below the schedule (never over a row) */
.hours-card__clock { position: absolute; z-index: -1; right: 16px; bottom: 8px; width: 42px; height: 42px; opacity: 0.9; }
@media (min-width: 768px) and (max-width: 1023px) { .hours { font-size: 14px; } .hours th, .hours td { padding: 5px 9px; } }

/* Contact */
address { font-style: normal; }
.contact-list { display: grid; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 0.6); border: 1px solid rgb(247 198 216 / 0.7); font-size: 15px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.contact-list__icon { width: 20px; height: 20px; margin-top: 2px; color: var(--rose-deep); }
.contact-list address { display: grid; line-height: 1.4; }
.contact-list strong { color: var(--title-burgundy); }
.contact-list a { color: var(--title-burgundy); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-list__muted { display: block !important; padding-inline-start: 32px; font-size: 13px; color: var(--ink-soft); }
/* Side by side when they fit (reference), stacked in narrow columns — never spilling out of the card. */
.contact-card__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr)); gap: 10px; }
.contact-card__actions .btn { padding-inline: 10px; white-space: nowrap; }

/* ---------- Salon tour video player (native modal <dialog>, independent of the Our Work viewer) ---------- */
.tour {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0;
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  color: #fff; overflow: hidden; overscroll-behavior: contain;
  background: radial-gradient(90% 60% at 50% 0%, rgb(233 61 120 / 0.22), transparent 70%), linear-gradient(180deg, #4d1029 0%, #34091b 55%, #220511 100%);
}
.tour[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; }
.tour::backdrop { background: rgb(34 5 17 / 0.94); }
.tour__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour__title { margin: 0; padding: 7px 16px; border-radius: 999px; border: 1px solid rgb(244 182 56 / 0.6); background: rgb(255 255 255 / 0.07); font-weight: 700; font-size: 15px; color: #fde8ef; }
.tour__close { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1.5px solid rgb(247 198 216 / 0.7); border-radius: 999px; background: rgb(255 255 255 / 0.08); color: #fff; cursor: pointer; }
.tour__close:hover { background: rgb(233 61 120 / 0.32); border-color: var(--gold); }
.tour__close:focus-visible, .tour__video:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tour__close svg { width: 22px; height: 22px; }
.tour__stage { display: grid; place-items: center; min-height: 0; grid-template: minmax(0, 1fr) / minmax(0, 1fr); container-type: size; }
/* Largest 9:16 box that fits the stage (width-limited on phones, height-limited on desktop). */
.tour__video { display: block; width: min(100cqw, 100cqh * 9 / 16); height: auto; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; box-shadow: 0 0 0 1.5px rgb(244 182 56 / 0.7), 0 18px 50px rgb(0 0 0 / 0.45); }
.tour__note { margin: 0; text-align: center; font-size: 13px; color: rgb(253 232 239 / 0.8); }

/* ---------- Footer ---------- */
.ftr__notes { padding-block: 14px 18px; text-align: center; font-size: 12.5px; color: var(--ink-soft); border-top: 1px solid var(--rose-soft); }
.ftr__notes nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.ftr__notes nav a { color: var(--burgundy); text-underline-offset: 3px; }
.ftr__notes p + p { margin-top: 2px; }

.ftr__bar {
  position: fixed;
  z-index: 30;
  left: 0; right: 0; bottom: 0;
  max-width: var(--frame);
  margin-inline: auto;
  display: flex; align-items: center;
  padding-block: 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #982a4a 0%, var(--footer) 45%, #6e1830 100%);
  box-shadow: 0 -6px 20px rgb(108 15 49 / 0.25);
}
.ftr__brand, .ftr__social { display: none; }
.tabbar { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 760px; margin-inline: auto; }
.tabbar__item {
  display: grid; justify-items: center; align-content: center; gap: 2px;
  min-height: 54px;
  padding: 4px 2px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 13px; font-weight: 600; line-height: 1.1;
}
.tabbar__item svg { width: 26px; height: 26px; }
.tabbar__item[aria-current] { background: var(--footer-pill); color: var(--burgundy); font-weight: 800; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
.tabbar__item:focus-visible { outline-color: var(--gold-soft); }
/* One blush pill: follows keyboard focus (all devices) or mouse hover (real pointers only, so a
   tap never leaves a sticky highlight); otherwise Home. Same pill style as [aria-current]. */
.tabbar__item:focus-visible { background: var(--footer-pill); color: var(--burgundy); font-weight: 800; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
.tabbar:has(.tabbar__item:focus-visible) .tabbar__item[aria-current]:not(:focus-visible) { background: transparent; color: #fff; font-weight: 600; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .tabbar__item:hover { background: var(--footer-pill); color: var(--burgundy); font-weight: 800; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
  .tabbar:has(.tabbar__item:hover) .tabbar__item:not(:hover) { background: transparent; color: #fff; font-weight: 600; box-shadow: none; }
}
@media (min-width: 600px) { .tabbar__item { font-size: 15px; } .tabbar__item svg { width: 28px; height: 28px; } }
/* Phone: five equal columns; icons on one fixed top row (unaffected by label wrapping); labels
   centred beneath; "Gift Cards" wraps onto two centred lines when narrow. */
@media (max-width: 599px) {
  :root { --tabbar-h: 80px; }
  .tabbar { gap: 2px; }
  .tabbar__item { min-width: 0; align-content: start; grid-template-rows: 26px auto; row-gap: 3px; padding: 7px 2px 5px; }
  .tabbar__item svg { align-self: center; justify-self: center; }
  .tabbar__item span { display: block; width: 100%; text-align: center; overflow-wrap: break-word; }
}

@media (min-width: 1024px) {
  .ftr__bar { position: static; max-width: none; padding-block: 10px; gap: 24px; box-shadow: none; }
  .ftr__brand { display: inline-flex; align-items: center; padding-inline-end: 24px; border-inline-end: 2px solid var(--gold); text-decoration: none; }
  .ftr__logo { display: block; height: 54px; width: auto; object-fit: contain; }
  .ftr__social { display: flex; gap: 18px; padding-inline-start: 24px; border-inline-start: 2px solid var(--gold); color: #fff; }
  .ftr__social svg { width: 28px; height: 28px; }
  .tabbar { max-width: 640px; }
}

/* ---------- Our Work full-screen viewer (native modal <dialog>) ----------
   Immersive structure adapted from NailSiteStudio's gallery viewer: top bar (counter, zoom, close),
   side navigation, photo stage, thumbnail strip — in Nails by Nary burgundy / pink / blush / gold. */
html.is-gallery-locked, html.is-gallery-locked body { overflow: hidden; overscroll-behavior: none; }
.lightbox {
  position: fixed; inset: 0;
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; border: 0; border-radius: 0;
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  color: #fff;
  background:
    radial-gradient(90% 60% at 50% 0%, rgb(233 61 120 / 0.22), transparent 70%),
    linear-gradient(180deg, #4d1029 0%, #34091b 55%, #220511 100%);
  overflow: hidden;
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; }
.lightbox::backdrop { background: rgb(34 5 17 / 0.94); }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox__counter {
  margin: 0; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgb(244 182 56 / 0.6); background: rgb(255 255 255 / 0.07);
  color: #fde8ef; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
}
.lightbox__tools { display: flex; gap: 10px; }
.lightbox button {
  min-width: 44px; min-height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid rgb(247 198 216 / 0.7); border-radius: 999px;
  background: rgb(255 255 255 / 0.08); color: #fff;
  font: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.lightbox button:hover { background: rgb(233 61 120 / 0.32); border-color: var(--gold); }
.lightbox button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lightbox__tools svg { width: 22px; height: 22px; }
.lightbox__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 0; }
.lightbox .lightbox__nav {
  width: 54px; height: 54px; font-size: 32px; padding-bottom: 4px;
  background: linear-gradient(135deg, #f2629a 0%, #e93d78 50%, #c2185b 100%);
  border-color: rgb(244 182 56 / 0.85);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.3);
}
/* Photo stage. Un-zoomed: one-finger gestures belong to the viewer (swipe), pinch stays native, and
   nothing scrolls — so Safari cannot steal a swipe (pointercancel) or drag the page behind. */
.lightbox__stage {
  position: relative; height: 100%; min-width: 0; min-height: 0;
  display: grid; place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);   /* definite track so the photo's max-height: 100% fits the stage */
  overflow: hidden; overscroll-behavior: contain;
  touch-action: pinch-zoom;
  user-select: none; -webkit-user-select: none;
}
.lightbox__stage img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.45);
  cursor: zoom-in; -webkit-user-drag: none;
}
/* Zoomed: the stage scrolls, so dragging pans the enlarged photo instead of changing photos. */
.lightbox.is-zoomed .lightbox__stage { overflow: auto; place-items: start; touch-action: pan-x pan-y pinch-zoom; }
.lightbox.is-zoomed .lightbox__stage img { max-width: none; max-height: none; height: 200%; width: auto; border-radius: 0; cursor: zoom-out; }
/* Thumbnail strip: all photos, horizontally scrollable, current photo highlighted with the site's
   moving-light ring. */
.lightbox__thumbs {
  position: relative; display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden; padding: 6px 4px;
  justify-content: safe center;
  overscroll-behavior-x: contain; touch-action: pan-x;
  scrollbar-width: thin; scrollbar-color: rgb(244 182 56 / 0.6) transparent;
}
.lightbox .lightbox__thumb { flex: 0 0 56px; height: 66px; padding: 2px; border-radius: 12px; border-color: rgb(247 198 216 / 0.35); opacity: 0.72; }
.lightbox__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.lightbox .lightbox__thumb[aria-current="true"] {
  opacity: 1; border-color: transparent;
  background: conic-gradient(from var(--nb-angle), #f9cfdd 0deg, #f9cfdd 150deg, #ec6f9d 205deg, #ffffff 240deg, #f4b638 275deg, #f9cfdd 330deg, #f9cfdd 360deg);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.85), 0 4px 14px rgb(233 61 120 / 0.45);
  animation: nb-ring 3.2s linear infinite;
}
@media (max-width: 599px) {
  .lightbox[open] { gap: 8px; }
  .lightbox__main { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; }
  .lightbox .lightbox__nav { width: 44px; height: 44px; font-size: 28px; }
  .lightbox .lightbox__thumb { flex-basis: 50px; height: 60px; }
}

/* ---------- Navigation pill moving-light border (header + footer) ----------
   Same technique as the service-thumbnail ring: a conic-gradient light on a 2px ring, masked so
   only the outline paints (::after, absolutely positioned → no layout change). The selected pill
   (Home on the homepage) loops continuously (~4s per lap); mouse hover (real pointers) or keyboard
   focus transfers the pill and its light to that item, and leaving returns both to Home.
   Text, icons, arrow and pill background never animate. */
@property --nb-nav-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.nav__link, .tabbar__item { position: relative; }
.nav__link::after, .tabbar__item::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  /* Rich champagne-gold base outline + brighter travelling light (champagne → white → rose). */
  background:
    conic-gradient(from var(--nb-nav-angle),
      transparent 0deg, transparent 200deg,
      rgb(250 222 150) 250deg, #ffffff 290deg, rgb(255 92 149) 325deg, transparent 360deg),
    linear-gradient(135deg, var(--ring-gold) 0%, var(--ring-gold-light) 50%, var(--ring-gold) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@keyframes nb-nav-ring { to { --nb-nav-angle: 360deg; } }
:root { --nb-nav-ring: nb-nav-ring 4s linear infinite; --ring-gold: #c8963a; --ring-gold-light: #e8c06a; }
/* Header (desktop/tablet bar): ring follows exactly the same item as the pink pill. */
@media (min-width: 900px) {
  .nav__link[aria-current]::after,
  .nav__list > li:has(:focus-visible) > .nav__link::after { opacity: 1; animation: var(--nb-nav-ring); }
  .nav__list:has(> li :focus-visible) > li:not(:has(:focus-visible)) > .nav__link[aria-current]::after { opacity: 0; animation: none; }
  .hdr.is-offscreen .nav__link::after { animation-play-state: paused; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .nav__list > li:hover > .nav__link::after { opacity: 1; animation: var(--nb-nav-ring); }
  .nav__list:has(> li:hover) > li:not(:hover) > .nav__link::after { opacity: 0; animation: none; }
}
/* Footer tab bar: ring follows exactly the same item as the blush pill. */
.tabbar__item[aria-current]::after,
.tabbar__item:focus-visible::after { opacity: 1; animation: var(--nb-nav-ring); }
.tabbar:has(.tabbar__item:focus-visible) .tabbar__item[aria-current]:not(:focus-visible)::after { opacity: 0; animation: none; }
@media (hover: hover) and (pointer: fine) {
  .tabbar__item:hover::after { opacity: 1; animation: var(--nb-nav-ring); }
  .tabbar:has(.tabbar__item:hover) .tabbar__item:not(:hover)::after { opacity: 0; animation: none; }
}

/* ---------- CTA buttons: moving-light border (every Book Appointment + Buy Gift Card button) ----------
   Same masked-ring technique; 2px; border-only. Background, icon, text, arrow and size untouched.
   Book: faint gold base + champagne/white/rose light. Gift Card: light travels over its existing
   rose border, slightly softer so Book stays the more prominent CTA. */
@property --nb-btn-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes nb-btn-ring { to { --nb-btn-angle: 360deg; } }
:root { --nb-btn-ring: nb-btn-ring 4.5s linear infinite; }
.btn--primary[data-book], .btn--outline:is([href="/gift-cards/"], [data-gift]) { position: relative; }
.btn--primary[data-book]::after, .btn--outline:is([href="/gift-cards/"], [data-gift])::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  animation: var(--nb-btn-ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn--primary[data-book]::after {
  opacity: 0.9;
  background:
    conic-gradient(from var(--nb-btn-angle),
      transparent 0deg, transparent 205deg,
      rgb(250 222 150) 252deg, #ffffff 290deg, rgb(255 150 186) 324deg, transparent 360deg),
    linear-gradient(rgb(232 192 106 / 0.5), rgb(232 192 106 / 0.5));
}
.btn--outline:is([href="/gift-cards/"], [data-gift])::after {
  inset: -2px;   /* sits exactly on the button's existing 2px border */
  opacity: 0.8;
  animation-delay: -2.2s;
  background: conic-gradient(from var(--nb-btn-angle),
    transparent 0deg, transparent 215deg,
    rgb(255 92 149) 258deg, #ffffff 292deg, rgb(250 222 150) 324deg, transparent 360deg);
}
.btn--primary[data-book]:focus-visible::after, .btn--outline:is([href="/gift-cards/"], [data-gift]):focus-visible::after { opacity: 1; filter: brightness(1.15); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary[data-book]:hover::after, .btn--outline:is([href="/gift-cards/"], [data-gift]):hover::after { opacity: 1; filter: brightness(1.15); }
}
.hero.is-offscreen .btn::after, .promos.is-offscreen .btn::after { animation-play-state: paused; }

/* ---------- Hero light sweep ----------
   A soft champagne-white sheen glides left → right (4.5s), then rests (5.5s). It is painted
   beneath the headline and buttons (z-index -1 inside the isolated hero), so text stays crisp.
   Transform-only animation (composited); clipped by the hero's overflow. */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0; left: 0;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgb(255 255 255 / 0) 0%, rgb(255 246 238 / 0.5) 36%, rgb(255 255 255 / 0.82) 50%,
    rgb(255 246 238 / 0.5) 64%, rgb(255 255 255 / 0) 100%);
  transform: translateX(-110%);
  animation: nb-hero-sweep 10s ease-in-out infinite;
}
@keyframes nb-hero-sweep { 0% { transform: translateX(-110%); } 45%, 100% { transform: translateX(300%); } }
@media (max-width: 599px) { .hero::after { opacity: 0.8; width: 46%; } }
.hero.is-offscreen::after { animation-play-state: paused; }

/* ---------- Promo panels: subtle "active" feel (no layout movement) ----------
   Very soft glow on each panel (offset), a gentle twinkle on the calendar's gold sparkle
   strokes, and a slow sheen across the gift card. */
.promo { animation: nb-promo-glow 7s ease-in-out infinite; }
.promo--gift { animation-delay: -3.5s; }
@keyframes nb-promo-glow {
  0%, 100% { box-shadow: var(--shadow-card); }
  50% { box-shadow: var(--shadow-card), 0 0 0 1px rgb(244 182 56 / 0.32), 0 8px 26px rgb(233 61 120 / 0.13); }
}
/* Calendar: the checkmark draws itself in, the gold sparkle strokes twinkle, then it rests (6s cycle). */
.promo__check { stroke-dasharray: 100; stroke-dashoffset: 0; animation: nb-check-draw 6s ease-in-out infinite; }
@keyframes nb-check-draw {
  0% { stroke-dashoffset: 100; opacity: 1; }
  22% { stroke-dashoffset: 0; }
  86% { stroke-dashoffset: 0; opacity: 1; }
  94% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 100; opacity: 0; }
}
.promo__rays { opacity: 0.5; animation: nb-rays-seq 6s ease-in-out infinite; }
@keyframes nb-rays-seq {
  0%, 22% { opacity: 0.45; }
  30% { opacity: 1; }
  38% { opacity: 0.55; }
  46% { opacity: 1; }
  60%, 100% { opacity: 0.45; }
}

/* Hero heart: a champagne-white highlight travels once around the gold outline, then a tiny gold
   glint sparkles at its top-right; rests, repeats (4.8s). The heart's box never changes. */
.hero__heart-trace {
  color: #fff4cf;
  stroke-dasharray: 18 82;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: drop-shadow(0 0 1.5px rgb(244 182 56 / 0.9));
  animation: nb-heart-trace 4.8s ease-in-out infinite;
}
@keyframes nb-heart-trace {
  0% { stroke-dashoffset: 0; opacity: 0; }
  8% { opacity: 1; }
  52% { opacity: 1; }
  60%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
.hero__heart-glint {
  fill: #fff6d8;
  stroke: var(--gold);
  stroke-width: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.3);
  animation: nb-heart-glint 4.8s ease-out infinite;
}
@keyframes nb-heart-glint {
  0%, 56% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  64% { opacity: 1; transform: scale(1) rotate(20deg); }
  76%, 100% { opacity: 0; transform: scale(0.4) rotate(45deg); }
}
.hero.is-offscreen .hero__heart-trace, .hero.is-offscreen .hero__heart-glint { animation-play-state: paused; }
.giftcard__sheen { animation: nb-card-sheen 7s ease-in-out infinite; }
@keyframes nb-card-sheen {
  0%, 52% { transform: skewX(-18deg) translateX(0); }
  82%, 100% { transform: skewX(-18deg) translateX(430px); }
}
.promos.is-offscreen .promo, .promos.is-offscreen .promo__rays, .promos.is-offscreen .promo__check, .promos.is-offscreen .giftcard__sheen { animation-play-state: paused; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .thumb, .work__photo, .promo, .promo__rays, .promo__check, .giftcard__sheen { animation: none; }
  .hero::after, .hero__heart-trace, .hero__heart-glint { display: none; }
  .promo__rays { opacity: 1; }
  /* Navigation pills and CTA buttons: a clearly visible stationary champagne-gold border, no movement. */
  :root { --nb-nav-ring: none; --nb-btn-ring: none; }
  .nav__link::after, .tabbar__item::after { background: linear-gradient(135deg, var(--ring-gold), var(--ring-gold-light) 45%, #fff6dc 55%, var(--ring-gold)); }
  .btn--primary[data-book]::after, .btn--outline:is([href="/gift-cards/"], [data-gift])::after { background: linear-gradient(135deg, var(--ring-gold), #fff6dc 50%, var(--ring-gold-light)); }
  .menu-toggle::after { background: linear-gradient(135deg, var(--ring-gold), #fff6dc 50%, var(--ring-gold-light)); opacity: 0.6; }
  :root { --nb-card-ring: none; }
  .info__card::after { background: none; }
  .studio__play::after { background: linear-gradient(135deg, var(--ring-gold), #fff6dc 50%, var(--ring-gold-light)); opacity: 0.7; }
  .btn, .work__photo img, .browse svg, .nav__sub-toggle svg, .lightbox button { transition: none; }
  .lightbox .lightbox__thumb[aria-current="true"] { animation: none; }
}

/* ---------- Informational launch: Online Booking + Gift Cards "Coming Soon" ----------
   Book Appointment and Buy Gift Card CTAs are <button type="button" aria-disabled="true"> with no
   destination and no handler: they stay focusable, are announced as unavailable and are described
   by a visible "Coming Soon" line. Approved colours, size, radius, icons and light rings unchanged.
   Header and tab-bar Book items are non-interactive text with a small "Soon" badge. */
:where(button.btn) { margin: 0; border: 0; font: inherit; -webkit-appearance: none; appearance: none; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.soon-note { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--burgundy); }
.contact-card__actions + .soon-note { justify-content: center; font-size: 13px; }
.nav__link--soon { cursor: default; }
.nav__list > li:has(> .nav__link--soon), .tabbar__item--soon { pointer-events: none; }
.nav__soon, .tabbar__soon {
  display: inline-block; padding: 0 6px; border-radius: 999px;
  font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: 0.04em; text-transform: uppercase;
}
.nav__soon { margin-inline-start: 8px; vertical-align: middle; background: var(--rose-wash); color: var(--burgundy); }
@media (min-width: 900px) { .nav__soon { position: absolute; top: -6px; right: -4px; margin: 0; font-size: 9px; } }
.tabbar__soon { position: absolute; top: 2px; left: 50%; margin-inline-start: 8px; font-size: 8.5px; background: var(--gold-soft); color: var(--burgundy); }
/* Phones (Option B): the Book tab reads  [calendar] / Book / SOON.  The badge leaves absolute positioning and
   becomes the third row of the tab's existing grid (rows: 26px icon, label, badge), centred by the grid's
   justify-items, so it sits inside the Book cell, below the label and clear of the icon and of Gift Cards.
   Book cell: 7 + 26 + 3 + 14.3 + 3 + 13.6 + 5 = 71.9px, so the fixed bar is about 6 + 71.9 + 6 = 84px (plus the
   safe-area inset, which .site already adds separately); the page's bottom reserve rises from 80px to 86px so the
   bar never covers the end of the page. 600px and wider keep the original corner badge. */
@media (max-width: 599px) {
  :root { --tabbar-h: 86px; }
  .tabbar__soon { position: static; justify-self: center; margin-inline-start: 0; }
}

/* ---------- Narrow-phone corrections (B1–B3) for overflows already present in the approved 320px layout ----------
   Placed after every approved rule they adjust: each selector has the same specificity as the rule it overrides,
   so source order makes it win. Wording, icons, colours, borders, moving-light rings and disabled states unchanged. */
@media (max-width: 339px) {
  /* B1: the hero Book Appointment content (icon, text, arrow) is wider than the whole pill at 320px, so padding cannot
     help (and, with flex: 1 1 0, smaller padding also shifts width to the Gift button). Padding stays at the approved
     8px (≤379px rule); the content itself is made narrower: gaps 4px → 2px (two gaps) and the arrow 12px → 10px. */
  .hero__actions .btn--primary { gap: 2px; }
  .hero__actions .btn--primary .btn__arrow { width: 10px; height: 10px; }
}
@media (max-width: 379px) {
  /* B2: at 320px the promo Buy Gift Card content is wider than the button's maximum width, so padding cannot help;
     padding stays at the approved 12px. Its two internal gaps go from 5px (approved ≤379px rule) to 3px: 4px narrower
     content for a ~2.2px overflow. Text, icon and arrow sizes unchanged. */
  .promo--gift .btn { gap: 3px; }
  /* B3: calendar | divider | text on row 1, the Book button on row 2 under the text. The heading gets the whole text
     column (~200px at 320px instead of ~75px), so "Appointment" is no longer hidden under the button. The calendar
     and gold divider span both rows; 380px and wider keep the approved one-row panel. */
  .promo--book { grid-template-columns: auto auto minmax(0, 1fr); }
  .promo--book > .promo__cal, .promo--book::before { grid-row: 1 / span 2; }
  .promo--book > .promo__btn { grid-column: 3; grid-row: 2; justify-self: start; }
}
