/* ==========================================================================
   Bella Nails Studio — base styles & design system (mobile-first)
   Larger-screen layout lives in responsive.css
   ========================================================================== */

:root {
  /* Brand palette */
  --ivory: #FAF7F2;
  --blush: #DCA6A9;
  --charcoal: #302B2B;
  --beige: #EAE0D7;
  --rose: #B77D83;
  /* Accessible companions (the brand rose is too light for small text) */
  --rose-deep: #8F5A60;
  --muted: #5F5757;
  --line: rgba(48, 43, 43, 0.16);
  --error: #9B2C2C;
  --success: #2F6B4F;

  /* Type */
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: 1.25rem;
  --max: 1240px;
  --header-h: 68px;
  --radius: 2px;

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4.5rem;
  --section-y: clamp(3.5rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.7rem, 10.5vw, 5.8rem); line-height: 1; }
h2 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h3 { font-size: clamp(1.55rem, 4vw, 1.9rem); line-height: 1.15; }
h4 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; color: var(--rose-deep); }

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--blush); }

::selection { background: var(--blush); color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

.section { padding-block: var(--section-y); }
.section--beige { background: var(--beige); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 var(--s-3);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before { content: ""; flex: none; width: 2rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--blush); }

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 38em;
}

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p:last-child { margin-bottom: 0; }

.prose { max-width: 38em; }
.prose p { color: var(--muted); }

.noscript-note {
  background: var(--beige);
  padding: var(--s-4);
  margin: var(--s-4) 0;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--charcoal);
  border-radius: var(--radius);
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill, var(--charcoal));
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:active { transform: scale(0.98); }
.btn--ghost, .btn:not([class*="--"]) { --btn-fill: var(--charcoal); }
.btn--primary { background: var(--charcoal); color: var(--ivory); --btn-fill: var(--rose-deep); }
.btn--blush { background: var(--blush); border-color: var(--blush); color: var(--charcoal); --btn-fill: var(--ivory); }
.btn--light { border-color: var(--ivory); color: var(--ivory); --btn-fill: var(--ivory); }
.btn--sm { min-height: 46px; padding: 0.5rem 1.25rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn--primary:hover { border-color: var(--rose-deep); }
  .btn--ghost:hover, .btn:not([class*="--"]):hover { color: var(--ivory); }
  .btn--blush:hover { border-color: var(--ivory); }
  .btn--light:hover { color: var(--charcoal); }
}
.btn:focus-visible::before { transform: translateY(0); }
.btn--ghost:focus-visible, .btn:not([class*="--"]):focus-visible { color: var(--ivory); }
.btn--light:focus-visible { color: var(--charcoal); }

.btn-row { display: flex; flex-direction: column; gap: var(--s-2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  align-self: flex-start;
  line-height: 1.2;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text span { display: block; font-family: var(--font-sans); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose-deep); margin-top: 4px; }
.on-dark .brand__text span { color: var(--blush); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--charcoal);
  border-radius: var(--radius);
}
.nav-toggle__bar {
  width: 22px; height: 2px; background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile panel (progressive enhancement: only collapsed when JS is running) */
.site-nav {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-2) var(--gutter) var(--s-4);
}
.js .site-nav {
  position: absolute;
  left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  box-shadow: 0 18px 30px -18px rgba(48, 43, 43, 0.35);
}
.js .site-nav[hidden] { display: none; }
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-inline: 2px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav__link[aria-current="page"] { color: var(--rose-deep); font-style: italic; }
.site-nav__cta { margin-top: var(--s-4); }
.site-header__cta { display: none; }

/* No-JavaScript fallback: show the nav as a simple wrapping row */
html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: var(--s-2); }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { flex-basis: 100%; border: 0; padding: 0; }
html:not(.js) .site-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0 var(--s-4); }
html:not(.js) .site-nav__link { font-family: var(--font-sans); font-size: 1rem; border: 0; min-height: 44px; }
html:not(.js) .site-nav__cta { display: none; }
html:not(.js) .site-header__cta { display: inline-flex; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 6vw, 5rem) var(--section-y); overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.hero__title { margin-bottom: 0.35em; }
.hero__text .lead { margin-bottom: var(--s-5); }
.hero__note { margin-top: var(--s-4); font-size: 0.9375rem; color: var(--muted); }

.hero__frame { position: relative; width: 100%; aspect-ratio: 1 / 1.14; }
.hero__main {
  position: absolute; right: 0; top: 0;
  width: 80%; height: 100%;
  border-radius: 999px 999px 0 0;
  object-fit: cover; object-position: center 40%;
  background: var(--beige);
}
.hero__accent {
  position: absolute; left: 0; bottom: 7%;
  width: 44%; aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid var(--ivory);
  background: var(--blush);
}
.badge {
  position: absolute; left: 4%; top: 6%; z-index: 2;
  display: grid; place-items: center;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--charcoal);
  text-decoration: none;
}
.badge svg { grid-area: 1 / 1; width: 100%; height: 100%; }
.badge__ring { animation: spin 22s linear infinite; }
.badge__ring text { font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; fill: currentColor; text-transform: uppercase; }
.badge__arrow { width: 30px !important; height: 30px !important; transition: transform 0.3s ease; }
@media (hover: hover) { .badge:hover .badge__arrow { transform: rotate(-45deg); } .badge:hover .badge__ring { animation-duration: 6s; } }

/* Marquee ribbon */
.marquee { overflow: hidden; background: var(--charcoal); color: var(--ivory); padding-block: 1.1rem; user-select: none; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex: none; align-items: center; animation: marquee 42s linear infinite; }
.marquee__group span { display: inline-flex; align-items: center; font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2rem); font-style: italic; white-space: nowrap; }
.marquee__group span::after { content: ""; width: 8px; height: 8px; margin-inline: clamp(1.25rem, 3vw, 2.25rem); background: var(--blush); transform: rotate(45deg); }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.split { display: grid; gap: var(--s-6); align-items: center; }
.split__media img { width: 100%; object-fit: cover; background: var(--beige); }
.principles { margin-top: var(--s-5); display: grid; gap: 0; }
.principles li { padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles strong { display: block; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.principles span { color: var(--muted); font-size: 0.975rem; }

/* --------------------------------------------------------------------------
   Service cards (preview)
   -------------------------------------------------------------------------- */
.service-grid { display: grid; gap: var(--s-5); }
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform 0.6s ease; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-4); gap: var(--s-1); }
.service-card__title { margin: 0; }
.service-card__desc { margin: 0; color: var(--muted); font-size: 1rem; flex: 1; }
.service-card__meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2);
  margin-top: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--line);
}
.price { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.price small { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-right: 0.3em; }
.duration { font-size: 0.9375rem; color: var(--muted); }
.service-card .link-arrow { margin-top: var(--s-1); }
@media (hover: hover) { .service-card:hover .service-card__media img { transform: scale(1.04); } }

.price-note { margin-top: var(--s-5); font-size: 0.9375rem; color: var(--muted); max-width: 40rem; }

/* --------------------------------------------------------------------------
   Gallery preview (home)
   -------------------------------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.mosaic__item { position: relative; display: block; overflow: hidden; background: var(--beige); aspect-ratio: 4 / 5; }
.mosaic__item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic__item:first-child img { object-position: center 60%; }
@media (hover: hover) { .mosaic__item:hover img { transform: scale(1.04); } }
.section-foot { margin-top: var(--s-5); }

/* --------------------------------------------------------------------------
   Why choose us
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 0; counter-reset: pillar; }
.pillar { padding: var(--s-4) 0; border-top: 1px solid var(--charcoal); }
.pillar::before {
  counter-increment: pillar;
  content: "0" counter(pillar);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--rose-deep);
  margin-bottom: var(--s-1);
}
.pillar h3 { margin-bottom: 0.3em; }
.pillar p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Booking CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--charcoal); color: var(--ivory); padding: clamp(1.5rem, 5vw, 4rem); }
.cta-band__grid { display: grid; gap: var(--s-5); align-items: center; }
.cta-band h2 { color: var(--ivory); }
.cta-band h2 em { color: var(--blush); }
.cta-band p { color: rgba(250, 247, 242, 0.82); }
.cta-band__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.cta-band__fine { font-size: 0.9375rem; margin-top: var(--s-3); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding-top: var(--s-7); font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer__grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-6); }
.site-footer__blurb { color: rgba(250, 247, 242, 0.75); max-width: 22rem; margin-top: var(--s-3); }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blush); margin-bottom: var(--s-3); }
.footer-links a { display: flex; align-items: center; min-height: 44px; }
.hours-list { display: grid; gap: 0.35rem; }
.hours-list li { display: flex; justify-content: space-between; gap: var(--s-3); border-bottom: 1px solid rgba(250, 247, 242, 0.14); padding-bottom: 0.35rem; }
.hours-list li span:first-child { min-width: 0; }
.hours-list li span:last-child { text-align: right; white-space: nowrap; }
.footer-contact { display: grid; gap: 0.25rem; font-style: normal; color: rgba(250, 247, 242, 0.85); }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid rgba(250, 247, 242, 0.3); align-self: flex-start; }
.social-list { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-3); }
.social-list a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid currentColor; }
.fictional-flag { font-size: 0.875rem; color: rgba(250, 247, 242, 0.65); margin-top: var(--s-2); }
.site-footer__bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.16);
  padding-block: var(--s-4);
  display: grid; gap: var(--s-1);
  font-size: 0.9rem; color: rgba(250, 247, 242, 0.75);
}
.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Inner page header
   -------------------------------------------------------------------------- */
.page-hero { background: var(--beige); padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 9vw, 4.8rem); margin-bottom: 0.3em; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { margin-bottom: var(--s-3); font-size: 0.9rem; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }

/* --------------------------------------------------------------------------
   Services page rows
   -------------------------------------------------------------------------- */
.service-list { display: grid; gap: clamp(3rem, 8vw, 6rem); }
.service-row { display: grid; gap: var(--s-4); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 62%; background: var(--beige); }
.service-row__body h2 { font-size: clamp(2rem, 6vw, 3rem); }
.service-row__desc { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-4) 0; padding: var(--s-3) 0; border-block: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--rose-deep); }
.facts dd { margin: 0; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.includes { display: grid; gap: 0.35rem; margin: 0 0 var(--s-4); color: var(--muted); font-size: 1rem; }
.includes li { position: relative; padding-left: 1.5rem; }
.includes li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.8rem; height: 1.5px; background: var(--rose); }

/* --------------------------------------------------------------------------
   Gallery page
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.filter-btn {
  min-height: 46px;
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1.5px solid var(--charcoal);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.filter-btn[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); }
@media (hover: hover) { .filter-btn[aria-pressed="false"]:hover { background: var(--beige); } }
.gallery-status { margin: 0 0 var(--s-4); font-size: 0.9375rem; color: var(--muted); }
.gallery-notice { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); background: var(--beige); font-size: 0.9375rem; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-2); }
.gallery-item[hidden] { display: none; }
.gallery-item__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
}
.gallery-item__img { position: relative; overflow: hidden; background: var(--beige); aspect-ratio: 4 / 5; }
.gallery-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item__cap { display: block; padding-top: var(--s-2); font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.gallery-item__cat { display: block; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-deep); margin-top: 2px; }
@media (hover: hover) { .gallery-item__btn:hover .gallery-item__img img { transform: scale(1.04); } }

/* Lightbox (native <dialog>) */
.lightbox {
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  color: var(--ivory);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(30, 26, 26, 0.97); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: var(--s-2) var(--s-3); }
.lightbox__count { font-size: 0.9375rem; letter-spacing: 0.08em; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--s-3); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: var(--s-2); max-height: 100%; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 230px); width: auto; height: auto; object-fit: contain; background: var(--beige); }
.lightbox__caption { text-align: center; max-width: 34rem; }
.lightbox__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin: 0; }
.lightbox__cat { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blush); }
.lightbox__nav { display: flex; justify-content: center; gap: var(--s-3); padding: var(--s-3) var(--s-3) calc(var(--s-3) + env(safe-area-inset-bottom)); }
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 0;
  background: transparent; color: var(--ivory);
  border: 1.5px solid rgba(250, 247, 242, 0.7); border-radius: 50%;
}
.lb-btn svg { width: 22px; height: 22px; }
.lb-side { display: none; }
.lb-btn:focus-visible { outline-color: var(--blush); }
@media (hover: hover) { .lb-btn:hover { background: var(--ivory); color: var(--charcoal); } }

/* --------------------------------------------------------------------------
   Forms (shared by booking + contact)
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 0.4rem; margin-bottom: var(--s-4); }
.field label, .field .label { font-weight: 600; font-size: 0.975rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1.5px solid rgba(48, 43, 43, 0.55);
  border-radius: var(--radius);
  font-size: 1rem; /* 16px prevents iOS zoom-on-focus */
  line-height: 1.4;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 1px; border-color: var(--charcoal); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__hint { font-size: 0.875rem; color: var(--muted); margin: 0; }
.field__error { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--error); display: flex; gap: 0.4rem; align-items: flex-start; }
.field__error[hidden] { display: none; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; border-radius: 50%; background: var(--error); color: #fff; font-size: 0.75rem; line-height: 1; }

.form-alert { padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); border-left: 4px solid var(--error); background: #fff; }
.form-alert[hidden] { display: none; }
.form-alert h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; letter-spacing: 0; }
.form-alert ul { display: grid; gap: 0.2rem; }
.form-alert a { color: var(--error); font-weight: 600; }

.demo-banner {
  display: flex; gap: var(--s-2); align-items: flex-start;
  padding: var(--s-2) var(--s-3);
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rose);
  font-size: 0.9375rem; color: var(--muted);
  margin-bottom: var(--s-4);
}
.demo-banner strong { color: var(--charcoal); }
.demo-banner p { margin: 0; }

.success-panel { padding: var(--s-5); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--success); }
.success-panel[hidden] { display: none; }
.success-panel h2 { font-size: 2rem; }

/* --------------------------------------------------------------------------
   Booking flow
   -------------------------------------------------------------------------- */
.booking { padding-block: var(--s-5) var(--section-y); }
.booking__shell { max-width: 860px; margin-inline: auto; }
.booking__title { font-size: clamp(2.3rem, 8vw, 3.8rem); margin-bottom: 0.25em; }
.booking__intro { margin-bottom: var(--s-4); }

.progress { margin-bottom: var(--s-4); }
.progress__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-2); }
.progress__step { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-deep); }
.progress__name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.progress__bar { height: 4px; background: var(--beige); }
.progress__fill { height: 100%; width: 0; background: var(--charcoal); transition: width 0.35s ease; }
.progress__steps { display: none; }

.step-panel { padding-block: var(--s-2) var(--s-4); }
.step-panel[hidden] { display: none; }
.step-panel:focus { outline: none; }
.step-title { font-size: clamp(1.9rem, 6vw, 2.6rem); margin-bottom: 0.2em; }
.step-lead { color: var(--muted); margin-bottom: var(--s-4); }

.option-grid { display: grid; gap: var(--s-2); }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.option__body {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center;
  min-height: 72px;
  padding: var(--s-3);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.option__body--noimg { grid-template-columns: 1fr auto; }
.option__thumb { width: 64px; height: 64px; object-fit: cover; object-position: center 62%; background: var(--beige); }
.option__name { display: block; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.option__sub { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.option__price { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.option__aside { display: grid; justify-items: end; align-content: center; gap: 0.5rem; }
.option__tick {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--charcoal); background: transparent;
  display: grid; place-items: center;
}
.option__tick svg { width: 14px; height: 14px; opacity: 0; color: var(--ivory); }
.option input:checked + .option__body { border-color: var(--charcoal); background: var(--beige); box-shadow: inset 0 0 0 1px var(--charcoal); }
.option input:checked + .option__body .option__tick { background: var(--charcoal); }
.option input:checked + .option__body .option__tick svg { opacity: 1; }
.option input:focus-visible + .option__body { outline: 3px solid var(--rose-deep); outline-offset: 3px; }

.artist-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.artist-body { grid-template-columns: auto 1fr auto; }

/* Calendar */
.cal { background: #fff; border: 1.5px solid var(--line); padding: var(--s-2); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.cal__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin: 0; }
.cal__nav { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: transparent; border: 1.5px solid var(--charcoal); border-radius: var(--radius); }
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav[disabled] { opacity: 0.3; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__dow { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-block: 0.4rem; }
.cal__day {
  min-height: 48px; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: transparent; border: 1.5px solid transparent; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; line-height: 1;
}
.cal__day small { font-size: 0.625rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.cal__day--blank { visibility: hidden; }
.cal__day:disabled { color: rgba(48, 43, 43, 0.38); font-weight: 400; cursor: not-allowed; background: transparent; }
.cal__day:not(:disabled) { background: var(--ivory); }
.cal__day--today { border-color: var(--rose-deep); }
.cal__day[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.cal__day[aria-pressed="true"] small { color: var(--blush); }
@media (hover: hover) { .cal__day:not(:disabled):not([aria-pressed="true"]):hover { background: var(--beige); } }
.cal__legend { margin: var(--s-2) 0 0; font-size: 0.875rem; color: var(--muted); }
.date-readout { margin: var(--s-3) 0 0; font-weight: 600; min-height: 1.65em; }

/* Time slots */
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.slot {
  min-height: 52px; padding: 0.5rem; background: #fff;
  border: 1.5px solid var(--charcoal); border-radius: var(--radius);
  font-weight: 600; font-size: 1rem;
}
.slot[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); }
.slot:disabled { border-color: var(--line); color: rgba(48, 43, 43, 0.4); text-decoration: line-through; background: transparent; cursor: not-allowed; }
@media (hover: hover) { .slot:not(:disabled):not([aria-pressed="true"]):hover { background: var(--beige); } }
.slot-empty { padding: var(--s-4); background: var(--beige); }

/* Summary */
.summary { background: #fff; border: 1.5px solid var(--line); }
.summary__row { display: grid; gap: 0.2rem; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.summary__row:last-child { border-bottom: 0; }
.summary dt { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--rose-deep); }
.summary dd { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.summary__row dd:last-child:not(:nth-child(2)) { justify-self: start; }
.summary__edit { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; padding: 0; background: none; border: 0; border-bottom: 1.5px solid currentColor; font-weight: 600; font-size: 0.9375rem; line-height: 1.2; align-self: start; }

/* Sticky action bar (comfortable thumb reach on phones) */
.booking__actions {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; gap: var(--s-2);
  margin-inline: calc(var(--gutter) * -1);
  padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--ivory);
  border-top: 1px solid var(--line);
}
.booking__actions .btn { flex: 1; }
.booking__actions .btn--back { flex: 0 0 auto; min-width: 96px; }

.confirm__ref { display: inline-block; padding: 0.4rem 0.9rem; margin-bottom: var(--s-3); background: var(--beige); font-weight: 700; letter-spacing: 0.12em; font-size: 0.9375rem; }
.confirm__tick { width: 64px; height: 64px; margin-bottom: var(--s-3); color: var(--success); }
.confirm__disclaimer { padding: var(--s-3) var(--s-4); background: var(--beige); border-left: 4px solid var(--rose-deep); font-weight: 600; margin: var(--s-4) 0; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.values { display: grid; gap: var(--s-5); }
.value h3 { margin-bottom: 0.3em; }
.value p { color: var(--muted); margin: 0; }
.value { padding-top: var(--s-3); border-top: 1px solid var(--charcoal); }
.team-grid { display: grid; gap: var(--s-4); }
.team-card { display: grid; grid-template-columns: 80px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-4); background: #fff; border: 1px solid var(--line); }
.team-card img { width: 80px; height: 80px; border-radius: 50%; }
.team-card h3 { font-size: 1.5rem; margin-bottom: 0.1em; }
.team-card .role { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--rose-deep); margin-bottom: 0.5rem; display: block; }
.team-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.image-pair { display: grid; gap: var(--s-2); }
.image-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--beige); }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--s-6); }
.info-block { padding: var(--s-4) 0; border-top: 1px solid var(--charcoal); }
.info-block h2 { font-size: 1.6rem; margin-bottom: 0.4em; }
.info-block address { font-style: normal; color: var(--muted); }
.info-block .hours-list li { border-bottom-color: var(--line); }
.info-block a { display: inline-flex; align-items: center; min-height: 44px; }
.badge-fictional { display: inline-block; margin-bottom: var(--s-2); padding: 0.25rem 0.7rem; background: var(--beige); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Prototype helpers
   -------------------------------------------------------------------------- */
.img-fallback { background: var(--beige); }

/* ==========================================================================
   Motion & polish
   All animation is progressive enhancement; see the reduced-motion block below.
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(22px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes lbSwap { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes tickPop { from { transform: scale(0.3); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Scroll reveal (class added by main.js; head script guarantees content shows if JS fails) */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0s),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0s),
              translate 0.35s ease;
}
.js [data-reveal="fade"] { transform: none; }
/* Image reveal: a "curtain" slides away (never clip the observed element itself:
   a fully clipped element counts as invisible and its lazy images would never load). */
.js [data-reveal="media"] { opacity: 1; transform: none; position: relative; overflow: hidden; transition: none; }
.js [data-reveal="media"]::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--curtain, var(--ivory));
  transform-origin: top;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.2, 1) var(--rd, 0s);
}
.js [data-reveal="media"] img { transform: scale(1.14); transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0s); }
.js [data-reveal="media"].is-in::after { transform: scaleY(0); }
.js [data-reveal="media"].is-in img { transform: none; }
.section--beige [data-reveal="media"] { --curtain: var(--beige); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.no-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-reveal [data-reveal="media"]::after { display: none; }
.no-reveal [data-reveal="media"] img { transform: none !important; }

/* Parallax (value set from JS) */
[data-parallax] { translate: 0 var(--py, 0px); }

/* Hero entrance */
.hero__text > * { animation: rise 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 0.11s + 0.1s); }
.hero__text > :nth-child(2) { --i: 1; }
.hero__text > :nth-child(3) { --i: 2; }
.hero__text > :nth-child(4) { --i: 3; }
.hero__text > :nth-child(5) { --i: 4; }
.hero__main { animation: archIn 1.5s cubic-bezier(0.65, 0, 0.2, 1) 0.15s both; }
.hero__accent { animation: pop 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both; }
.badge { animation: pop 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.15s both; }
.hero__title em { display: inline-block; }

/* Header: frosted + compact once scrolled */
.site-header {
  background: rgba(250, 247, 242, 0.92);
  view-transition-name: site-header;
  transition: box-shadow 0.3s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(250, 247, 242, 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.site-header__inner { transition: min-height 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 14px 30px -24px rgba(48, 43, 43, 0.6); }
.site-header.is-scrolled .site-header__inner { min-height: calc(var(--header-h) - 12px); }

/* Cards, images and links */
.service-card { transition: translate 0.35s ease, box-shadow 0.35s ease; }
.service-card__media { position: relative; }
.service-card__num {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1;
  padding: 0.2rem 0.65rem;
  background: var(--ivory);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em;
}
@media (hover: hover) {
  .service-card:hover { translate: 0 -6px; box-shadow: 0 26px 40px -30px rgba(48, 43, 43, 0.55); }
}
.mosaic__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 0.9rem 0.8rem;
  color: #fff;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2;
  background: linear-gradient(to top, rgba(30, 26, 26, 0.7), rgba(30, 26, 26, 0));
}
.cta-band__media img { aspect-ratio: 1 / 1; border-radius: 999px 999px 0 0; object-position: center 30%; }

/* Gallery filter + lightbox */
.gallery-item.is-entering { animation: pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 0.05s); }
.lightbox[open] { animation: fadeIn 0.3s ease; }
.lightbox[open]::backdrop { animation: fadeIn 0.3s ease; }
.lb-swap { animation: lbSwap 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lightbox__credit { display: block; margin-top: 0.25rem; font-size: 0.8125rem; color: rgba(250, 247, 242, 0.65); }
.lightbox__credit:empty { display: none; }

/* Booking */
.step-panel:not([hidden]) { animation: stepIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.option input:checked + .option__body .option__tick svg { animation: tickPop 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.confirm__tick circle, .confirm__tick path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s cubic-bezier(0.65, 0, 0.2, 1) 0.15s forwards; }
.confirm__tick path { animation-delay: 0.7s; animation-duration: 0.6s; }

/* Footer wordmark + inner-page arch motif */
.footer-mark {
  padding-top: var(--s-3);
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: clamp(3.5rem, 15vw, 13.5rem); line-height: 0.82; letter-spacing: -0.03em;
  color: rgba(250, 247, 242, 0.07);
  white-space: nowrap; overflow: hidden; user-select: none;
}
.page-hero { position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .page-hero::before, .page-hero::after {
    content: ""; position: absolute; bottom: -1px; pointer-events: none;
    aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0;
  }
  .page-hero::after { right: max(2rem, 7vw); width: clamp(140px, 17vw, 260px); border: 1.5px solid rgba(143, 90, 96, 0.55); border-bottom: 0; }
  .page-hero::before { right: calc(max(2rem, 7vw) + clamp(60px, 9vw, 130px)); width: clamp(100px, 12vw, 180px); background: rgba(220, 166, 169, 0.4); }
}

/* Cross-document page transitions (Chromium); other browsers simply navigate */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal="media"]::after { display: none; }
  .js [data-reveal="media"] img { transform: none; }
  [data-parallax] { translate: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__group { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .booking__actions { display: none; }
}

/* Inner-page header entrance */
.page-hero .container > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-hero .container > :nth-child(2) { animation-delay: 0.08s; }
.page-hero .container > :nth-child(3) { animation-delay: 0.16s; }
