/* Re’Luxe Salon layout. Signature bubble is 48px and appears twice. */

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0; }
address { font-style: normal; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  z-index: 80;
  transform: translateY(-120%);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: var(--r-lg);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  transform: none;
  top: calc(var(--header-h) + 8px);
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-bg);
  color: var(--c-ink);
}
.site-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--c-line); }
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  min-height: var(--header-h);
  padding: 0.45rem var(--gutter);
}
.wordmark {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1;
}
.desktop-nav { display: none; }
.desktop-nav a,
.drawer-nav a {
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 600;
}
.lang-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.lang-switch a {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0.65rem;
  border-radius: var(--r-lg);
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 600;
}
.lang-switch a[aria-current="true"] {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
.lang-switch a[data-lang-switch="en"] { font-family: "Manrope", system-ui, sans-serif; }
.lang-switch a[data-lang-switch="si"] { font-family: "Noto Sans Sinhala", sans-serif; }
.lang-switch a[data-lang-switch="ta"] { font-family: "Noto Sans Tamil", sans-serif; }

.icon-button, .menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-lg);
  background: transparent;
  color: inherit;
  padding: 0;
}
.menu-toggle {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
}
.icon-button svg, .menu-toggle svg { width: 22px; height: 22px; }

.drawer {
  margin: 0 0 0 auto;
  width: min(100%, 22rem);
  height: 100%;
  max-height: 100%;
  border: 0;
  padding: 1rem var(--gutter) 2rem;
  background: var(--c-bg);
  color: var(--c-ink);
}
.drawer::backdrop { background: rgb(20 40 36 / .46); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.drawer-nav {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.drawer-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-line);
}
.drawer .lang-switch { margin: 0; }

@media (min-width: 1024px) {
  .desktop-nav { display: flex; align-items: center; gap: 1.15rem; margin-left: auto; }
  .lang-switch { margin-left: 0; }
  .menu-toggle { display: none; }
  .desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Hero: image bleeds, copy sits on the lower charcoal band. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 36rem;
  background: var(--c-ink);
  overflow: visible;
}
.hero-spacer { flex: 1 0 16rem; min-height: 16rem; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.hero-band {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 1.15rem var(--gutter) 1.4rem;
  background: rgb(20 40 36 / .92);
  color: var(--c-accent-ink);
}
.hero-kicker {
  margin: 0 0 0.45rem;
  padding-right: 3.5rem;
  font-size: var(--fs-0);
  font-weight: 600;
}
.hero-band h1 { max-width: 36rem; color: var(--c-accent-ink); }
.hero-sub {
  max-width: 38rem;
  margin-top: 0.75rem;
  color: var(--c-accent-ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin-top: 0.9rem;
}
.fact-chips li {
  background: var(--c-tint);
  color: var(--c-ink);
  border-radius: var(--r-lg);
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  font-size: var(--fs-0);
}

/* 48px control. top -36px leaves a 12px intersection with the band. */
.chat-bubble {
  width: var(--bubble);
  height: var(--bubble);
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  box-shadow: var(--shadow-1);
  text-decoration: none;
}
.chat-bubble svg { width: 24px; height: 24px; }
.hero-bubble {
  position: absolute;
  top: -36px;
  right: 16px;
  z-index: 2;
}
.hero-band :focus-visible,
.chat-bubble:focus-visible,
.lightbox :focus-visible { outline-color: var(--c-accent-ink); }

.button-secondary {
  min-height: 48px;
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-lg);
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-band .button-secondary { color: var(--c-accent-ink); }

.sample-badge {
  position: absolute;
  z-index: 1;
  top: 0.55rem;
  left: 0.55rem;
  max-width: calc(100% - 1.1rem);
  padding: 0.18rem 0.45rem;
  border-radius: var(--r-lg);
  background: #142824;
  color: #F3FFFB;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero-badge { top: calc(var(--header-h) + 0.7rem); }

@media (min-width: 769px) {
  .hero { min-height: max(78vh, 40rem); }
  .hero-spacer { flex-basis: 22rem; min-height: 22rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bubble { animation: reluxe-bubble var(--t-bubble) var(--ease) both; }
  .hero-band { animation: reluxe-band var(--t-band) var(--ease) var(--t-bubble) both; }
}
@keyframes reluxe-bubble {
  from { transform: scale(0.92); }
  to { transform: scale(1); }
}
@keyframes reluxe-band {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

.section { padding: 3.5rem var(--gutter); }
.section-intro { max-width: 40rem; display: grid; gap: 0.7rem; margin-bottom: 1.5rem; }
.section-intro p { color: var(--c-muted); }
.wrap { max-width: var(--max-w); margin-inline: auto; }

.about-grid { display: grid; gap: 1.5rem; }
.about-copy { display: grid; gap: 0.9rem; }
.about-copy .prose { display: grid; gap: 0.85rem; }
.about-figure { margin: 0; position: relative; }
.about-figure img {
  width: 100%;
  border-radius: var(--r-md);
  display: block;
  object-fit: cover;
}
.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin: 0.4rem 0 0;
}
.highlights dt { color: var(--c-muted); font-size: var(--fs-0); font-weight: 600; }
.highlights dd { margin: 0.15rem 0 0; font-weight: 600; }

.service-grid {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.service-card { display: grid; gap: 0.65rem; }
.service-figure { position: relative; margin: 0; }
.service-figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
  background: var(--c-surface);
}
.service-caption {
  background: var(--c-tint);
  border-radius: var(--r-md);
  padding: 0.85rem 0.95rem 1rem;
  display: grid;
  gap: 0.35rem;
}
.service-caption p { color: var(--c-muted); font-weight: 500; }
.services-note { margin-top: 1.25rem; color: var(--c-muted); max-width: 40rem; }

@media (min-width: 700px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .section { padding-block: 5rem; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .service-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.gallery-section { padding-inline: 0; }
.gallery-section .section-intro { padding-inline: var(--gutter); }
.gallery-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0.25rem var(--gutter) 0.6rem;
  list-style: none;
  container-type: inline-size;
}
.gallery-strip > li {
  flex: 0 0 72vw;
  scroll-snap-align: start;
}
.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-bg);
  color: inherit;
  cursor: pointer;
  text-align: start;
}
.gallery-open img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  background: var(--c-bg);
}
@media (min-width: 1024px) {
  .gallery-strip > li { flex-basis: calc((100cqi - 3rem) / 4.2); }
}

.contact-grid { display: grid; gap: 2rem; }
.contact-intro { color: var(--c-muted); margin-top: 0.7rem; }
.contact-details {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}
.contact-details dt { color: var(--c-muted); font-size: var(--fs-0); font-weight: 600; }
.contact-details dd { margin: 0.15rem 0 0; }
.contact-details a { color: var(--c-accent); font-weight: 600; }
.phone-links, .social-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.hours-unconfirmed { margin-top: 0.2rem; max-width: 38rem; }
address, .email-link { overflow-wrap: anywhere; }

.map-column { display: grid; gap: 0.75rem; align-content: start; }
.map-card {
  min-height: 16rem;
  border-radius: var(--r-md);
  background: var(--c-tint);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.map-placeholder {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
  max-width: 22rem;
}
.map-placeholder p { color: var(--c-ink); font-weight: 600; }
.map-pin { width: 2.5rem; height: 2.5rem; fill: none; stroke: var(--c-accent); stroke-width: 1.6; }
.map-card .button-secondary {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-surface);
  cursor: pointer;
}
.map-card iframe {
  width: 100%;
  height: 18rem;
  border: 0;
  border-radius: calc(var(--r-md) - 4px);
}
.maps-link {
  color: var(--c-accent);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
}

.site-footer {
  padding: 2.5rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--c-line);
}
.footer-top, .footer-bottom, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-top p, .footer-bottom p { color: var(--c-muted); }
.back-top {
  color: var(--c-ink);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.social-links a { color: var(--c-ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.preview-notice {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: 0.75rem;
}
.preview-notice p { color: var(--c-muted); max-width: 46rem; }
.offer-link {
  justify-self: start;
  min-height: 48px;
  padding: 0.55rem 1rem;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-accent);
  background: var(--c-surface);
  color: var(--c-accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.sticky-cta {
  position: fixed;
  z-index: 30;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
}
body { padding-bottom: calc(var(--bubble) + 28px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  a.sticky-bubble { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 1rem; }
}

.lightbox {
  width: min(960px, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  margin: auto;
  border: 0;
  padding: 0;
  border-radius: var(--r-md);
  background: var(--c-ink);
  color: var(--c-accent-ink);
  box-shadow: var(--shadow-1);
}
.lightbox::backdrop { background: rgb(20 40 36 / .72); }
.viewer-toolbar, .viewer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
}
.viewer-stage {
  display: grid;
  place-items: center;
  min-height: 12rem;
  max-height: min(70vh, 720px);
  padding: 0 0.75rem;
}
.viewer-stage img {
  max-width: 100%;
  max-height: min(70vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.viewer-bottom p { margin: 0; flex: 1; }
.viewer-controls { display: flex; align-items: center; gap: 0.35rem; }
.viewer-count { min-width: 3.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.lightbox .icon-button { color: var(--c-accent-ink); }

.image-unavailable { position: relative; min-height: 8rem; background: var(--c-tint); }
.image-unavailable img { visibility: hidden; }
.image-unavailable::after {
  content: attr(data-fallback-label);
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--c-ink);
  font-size: var(--fs-0);
}

@media (max-width: 359px) {
  .hero-kicker { padding-right: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bubble, .hero-band { animation: none; }
}
