/* Salon Himaya — plum page, gold only where the spec names it. */

html { scroll-padding-top: calc(var(--header-h, 4.5rem) + 0.5rem); }
body { padding-bottom: var(--sticky-cta-h); }
:focus-visible { outline-offset: 3px; }
.button:focus-visible,
.icon-button:focus-visible { outline-color: var(--c-ink); }

.wrap {
  width: min(var(--max-w), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.section { padding-block: var(--s-12); }
.section-intro { max-width: 38rem; margin-bottom: var(--s-6); }
.section-intro p,
.prose p,
.services-note,
.trust-disclaimer,
.contact-grid p { color: var(--c-muted); }
.prose { display: grid; gap: var(--s-4); }
.prose p,
.services-note,
.trust-disclaimer { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--c-bg);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { border-bottom-color: var(--c-line); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  width: min(var(--max-w), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding-block: 0.65rem;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  margin-inline-end: auto;
  color: var(--c-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
}
.wordmark-rule {
  display: block;
  height: 1px;
  margin-top: 6px;
  background: var(--c-accent);
  transform-origin: left center;
}
.site-header .wordmark-rule {
  animation: hairline-draw 300ms cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes hairline-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.desktop-nav { display: none; }
.header-cta.button { display: none; }
.desktop-nav { gap: var(--s-4); }
.desktop-nav a {
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
}
.desktop-nav a:hover { color: var(--c-accent); }
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  align-items: center;
}
.lang-switch a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.lang-switch a[aria-current="true"] {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28rem;
}
.menu-toggle { flex: none; }
.icon-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--c-ink);
}
.icon-button svg,
.service-icon svg,
.map-pin {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--c-accent);
  border-radius: var(--r-md);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: filter 150ms cubic-bezier(.2, .7, .2, 1);
}
.button:hover { filter: brightness(1.08); }
.button.secondary {
  background: transparent;
  color: var(--c-ink);
}
.button.secondary:hover { background: var(--c-tint); filter: none; }

.drawer,
.lightbox { color: var(--c-ink); overscroll-behavior: contain; }
.drawer {
  margin: 0 0 0 auto;
  width: min(22rem, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  padding: var(--s-4);
  background: var(--c-surface);
}
.drawer::backdrop,
.lightbox::backdrop { background: rgb(27 16 22 / .72); }
.drawer-head,
.viewer-toolbar,
.viewer-controls,
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.drawer-nav { display: grid; margin-block: var(--s-6); }
.drawer-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--c-ink);
  text-decoration: none;
  font-size: var(--fs-2);
  border-bottom: 1px solid var(--c-line);
}
.drawer .button { width: 100%; margin-top: var(--s-4); }

.hero-media-frame {
  position: relative;
  /* 48vh until the sticky bar and hero actions need the room. */
  height: min(48vh, calc(100svh - 7.25rem - 5.75rem - 23.25rem));
  min-height: 140px;
  overflow: hidden;
  background: var(--c-surface);
}
.hero-media,
.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-media img {
  animation: hero-fade 200ms cubic-bezier(.2, .7, .2, 1) 300ms both;
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-copy { padding: var(--s-8) var(--gutter) var(--s-6); }
.kicker {
  margin: 0 0 var(--s-3);
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: var(--fs-0);
  font-weight: 500;
}
html[data-lang="en"] .kicker { font-style: italic; }
.hero-subline { margin: var(--s-4) 0 0; max-width: 38rem; color: var(--c-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}
.fact-chips li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--c-accent);
  border-radius: var(--r-md);
  background: var(--c-tint);
  color: var(--c-ink);
  font-size: var(--fs-0);
}
.sample-badge {
  padding: 0.2rem 0.45rem;
  border-radius: var(--r-sm);
  background: rgb(27 16 22 / .65);
  color: var(--c-ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}
.hero-badge {
  position: absolute;
  inset-inline-start: var(--s-3);
  bottom: var(--s-3);
  margin: 0;
}

.about-grid,
.contact-grid { display: grid; gap: var(--s-8); }
.about-figure { position: relative; margin: 0; }
.about-figure img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about-figure .sample-badge {
  position: absolute;
  inset-inline-start: var(--s-3);
  bottom: var(--s-3);
}
.highlights,
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-6);
  margin: var(--s-6) 0 0;
}
.highlights div,
.contact-details div { min-width: 0; }
.highlights dt,
.contact-details dt,
.meta-label {
  color: var(--c-muted);
  font-size: var(--fs-0);
  font-weight: 500;
}
.highlights dd,
.contact-details dd { margin: 0.2rem 0 0; }
.phone-links { display: grid; gap: 0.25rem; }
.hours-unconfirmed { margin: 0.35rem 0 0; }

.service-list {
  display: grid;
  gap: var(--s-3);
  max-width: 36rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  position: relative;
  padding: 1.35rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--c-surface);
}
.service-icon { color: var(--c-accent); margin-top: 0.15rem; }
.service-list h3 { font-weight: 600; }
.service-list p { margin: 0.3rem 0 0; color: var(--c-muted); }
/* Bridal is the only inset gold frame: 1px accent, 8px inside the card. */
.service-list > .is-bridal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--c-accent);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.services-note { margin-top: var(--s-4); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  color: inherit;
  cursor: pointer;
}
.gallery-grid li.is-portrait .gallery-tile { aspect-ratio: 3 / 4; }
.gallery-tile picture,
.gallery-tile img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.gallery-grid li.is-contained .gallery-tile img {
  object-fit: contain;
  background: var(--c-surface);
}
.gallery-tile .sample-badge {
  position: absolute;
  inset-inline-start: 0.4rem;
  bottom: 0.4rem;
}
.gallery-tile:hover img { filter: brightness(1.05); }

.trust-list { margin: 0; padding: 0; list-style: none; }
.trust-score {
  margin: 0;
  color: var(--c-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.trust-list a { font-weight: 500; }
.trust-disclaimer { margin-top: var(--s-4); max-width: 40rem; }

.map-card {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--c-tint);
}
.map-card h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: var(--fs-1);
  font-weight: 600;
}
.map-pin { color: var(--c-accent); flex: none; }
.map-card p { margin: var(--s-3) 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.map-stage { margin-top: var(--s-4); }
.map-frame {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-bg);
}

.site-footer {
  padding: var(--s-12) 0 calc(var(--s-8) + var(--sticky-cta-h));
  border-top: 1px solid var(--c-line);
}
.site-footer p { margin: 0.35rem 0 0; color: var(--c-muted); }
.back-top { color: var(--c-ink); min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom { margin-top: var(--s-6); align-items: flex-start; }
.preview-notice {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}
.offer-link { display: inline-flex; margin-top: var(--s-3); font-weight: 600; }
.offer-link[hidden] { display: none; }

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 25;
  padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom));
  background: rgb(27 16 22 / .94);
  border-top: 1px solid var(--c-line);
}
.sticky-cta .button { width: 100%; }
.sticky-number { font-variant-numeric: tabular-nums; font-weight: 500; }

.lightbox {
  width: min(60rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: var(--s-3);
  border: 0;
  border-radius: var(--r-lg);
  background: var(--c-bg);
  box-shadow: 0 16px 40px rgb(0 0 0 / .45);
}
.viewer-image {
  display: grid;
  place-items: center;
  min-height: 12rem;
  margin-block: var(--s-3);
}
.viewer-image img {
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 760px);
  object-fit: contain;
}
.viewer-bottom { display: grid; gap: var(--s-3); }
#viewer-caption { margin: 0; }
.viewer-count { color: var(--c-muted); font-variant-numeric: tabular-nums; }

picture.image-unavailable {
  display: grid;
  place-items: center;
  min-height: 10rem;
  background: var(--c-surface);
  color: var(--c-muted);
}
picture.image-unavailable img { opacity: 0; }
picture.image-unavailable::after {
  content: attr(data-fallback-label);
  padding: var(--s-4);
  text-align: center;
}

@media (max-width: 719px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .wordmark { grid-column: 1; grid-row: 1; margin-inline-end: 0; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .lang-switch { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 359px) {
  .hero-media-frame { height: 200px; min-height: 200px; }
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .highlights { max-width: 36rem; }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .header-cta.button { display: flex; }
  .menu-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .hero--split-type-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 78vh;
    align-items: stretch;
  }
  .hero-media-frame { height: auto; min-height: 78vh; }
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 32rem;
    padding: var(--s-12) var(--gutter);
    box-sizing: border-box;
  }
  .about-grid { grid-template-columns: 7fr 5fr; align-items: center; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: var(--s-12); }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .wordmark-rule,
  .hero-media img { animation: none; }
  .button { transition: none; }
}
