/* Shared styles for the inner pages (salon, massage, contact, 404). */
:root {
  --bg: #2b2b2b;
  --blue: #9fc4d0;
  --tan: #a89782;
  --white: #f7f5f0;
  --caps: "Josefin Sans", "Futura", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg) url("images/shared/bg-black.webp") center / cover;
  color: var(--white);
  font-family: var(--caps);
  overflow-x: hidden;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Full-width bands: each holds one piece of artwork on a textured background */
.band { background-position: center; background-size: cover; }
.band > img, .band > a > img, .band picture img { display: block; width: 100%; height: auto; }
.bg-black { background-image: url("images/shared/bg-black.webp"); background-color: #2b2b2b; }
.bg-blue  { background-image: url("images/shared/bg-blue.webp");  background-color: #8db3bb; }
.bg-tan   { background-image: url("images/shared/bg-tan.webp");   background-color: #9b8f78; }
.bg-white { background-image: url("images/shared/bg-white.webp"); background-color: #f2f0ec; }
.pad      { padding: 1.4vw 0 2vw; }

/* Footer: contact block, wide on desktop, stacked on phones */
.contact-band { padding: 10px; }
.contact-band a { display: block; max-width: 1560px; margin: 0 auto; }


/* Slide-out menu */
.nav {
  position: fixed; inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: #222 url("images/shared/bg-black.webp") center / cover;
  box-shadow: -10px 0 40px rgba(0,0,0,.5);
  transform: translateX(105%);
  transition: transform .35s ease;
  padding: 90px 36px 36px;
  z-index: 20;
  overflow-y: auto;
}
.nav.open { transform: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li + li { border-top: 1px solid rgba(159,196,208,.2); }
.nav a { display: block; padding: 16px 0; font: 600 18px/1.2 var(--caps); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.nav li:nth-child(even) a { color: var(--tan); }
.nav a:hover { color: var(--white); }
.nav a[aria-current] { color: var(--white); }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 15; }
.scrim.open { opacity: 1; pointer-events: auto; }
