/* Mr James Hair — v2
   Brand source: the gift set. Matte black, mustard accent, brass hairlines.
   Headlines in the logo's geometric lettering (Jost), body in Manrope. */

:root {
  --black: #000000;
  --ink: #0b0b0b;
  --charcoal: #2B2B2B;
  --mustard: #E6AD12;
  --brass: #8C7853;
  --cream: #FFEFBF;
  --cream-dim: rgba(255, 239, 191, 0.66);
  --line: rgba(140, 120, 83, 0.32);
  --head: "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --space: clamp(96px, 13vw, 180px);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font: 300 16.5px/1.8 var(--body);
  -webkit-font-smoothing: antialiased;
}
/* Barely-there paper grain, like the gift card envelope (static) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, footer { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--mustard); outline-offset: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type: the logo's light/bold pairing ---------- */
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.25;
  margin: 0 0 28px;
  color: var(--cream);
}
h1 b, h2 b, h3 b { font-weight: 500; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 17px; letter-spacing: .2em; margin-bottom: 10px; }
p { margin: 0 0 1.2em; color: var(--cream-dim); }
.label {
  display: block;
  font: 500 11px/1 var(--head); letter-spacing: .42em; text-transform: uppercase;
  color: var(--mustard); margin-bottom: 28px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; padding: 17px 34px;
  font: 500 12px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); border: 1px solid var(--mustard);
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--mustard); color: var(--black); }
.link {
  font: 500 12px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); padding-bottom: 6px; border-bottom: 1px solid var(--brass);
  transition: color .25s, border-color .25s;
}
.link:hover { color: var(--mustard); border-color: var(--mustard); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  font: 400 11px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--cream-dim); transition: color .25s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--mustard); }
.site-nav .nav-call { color: var(--cream); padding-bottom: 6px; border-bottom: 1px solid var(--mustard); }
.nav-toggle { display: none; }
.home .brand { visibility: hidden; } /* the hero carries the logo on the home page */

/* ---------- Hero: salon interior ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 40px) 0 96px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { filter: grayscale(.35) brightness(.9); }
.hero-media::after { /* black wash: the room shows through, the hero stays dark */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 48%, rgba(0,0,0,.35), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.68) 45%, rgba(0,0,0,.92) 100%);
}
.hero-placeholder {
  position: absolute; right: var(--gutter); bottom: 28px;
  font: 400 10px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--brass);
}
.hero-logo { width: min(560px, 78vw); margin: 0 auto 36px; }
.hero .tagline {
  font: 300 clamp(13px, 1.3vw, 15px)/1.6 var(--head); letter-spacing: .38em; text-transform: uppercase;
  color: var(--cream); margin: 0 0 48px;
}
.hero .tagline b { font-weight: 500; }
.rule { display: block; width: 56px; height: 1px; background: var(--mustard); margin: 0 auto 36px; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; border-top: 1px solid var(--line); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .actions { justify-content: center; }
.lede { font-size: clamp(17px, 1.6vw, 19px); }

/* Services */
.services-grid {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(40px, 7vw, 110px);
}
.services-grid li { padding: 30px 0; border-bottom: 1px solid var(--line); }
.services-grid li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.services-grid p { margin: 0; font-size: 15px; }

/* Split: photo + copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* crisp photos with an arched top (doorway / salon mirror; echoes the Art Deco gift card) */
.arch {
  border-radius: 999px 999px 0 0;
  filter: saturate(.85) contrast(1.04) sepia(.06);
}
.caption { margin-top: 14px; font: 400 10px/1 var(--head); letter-spacing: .36em; text-transform: uppercase; color: var(--brass); }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); }
.details { margin: 0; display: grid; gap: 36px; }
dt { font: 500 11px/1 var(--head); letter-spacing: .42em; text-transform: uppercase; color: var(--mustard); margin-bottom: 12px; }
dd { margin: 0; color: var(--cream); }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 32px; }
.tbc { color: var(--brass); border-bottom: 1px dashed var(--brass); }
.tel { text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; }
.tel:hover { color: var(--mustard); border-color: var(--mustard); }
.visit-media { display: grid; grid-template-rows: 1fr auto; gap: 20px; min-height: 100%; }
.map { min-height: 340px; }
.map iframe {
  display: block; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.9) contrast(.85) sepia(.25);
}
.visit-media .photo { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: end; }
.visit-media .photo img { aspect-ratio: 3 / 4; filter: saturate(.85) contrast(1.04) sepia(.06); }
.visit-media .caption { margin: 0 0 4px; line-height: 1.8; }

/* Gallery page */
.page-intro { padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(48px, 6vw, 72px); }
.page-intro h1 { font-size: clamp(30px, 4vw, 48px); }
.feed { padding: 0 0 var(--space); }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.85) contrast(1.04) sepia(.06); }
.page-intro .split { align-items: end; }
.page-intro .photo { max-width: 420px; justify-self: end; width: 100%; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 64px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-logo { width: 130px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.site-footer p, .site-footer a {
  margin: 0; font: 400 11px/1.6 var(--head); letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none;
}
.site-footer a:hover { color: var(--mustard); }

/* Mobile call bar */
.call-bar { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .brand img { width: 128px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px; position: relative; z-index: 2;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 1px; background: var(--cream); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; background: var(--black);
    flex-direction: column; justify-content: center; gap: 30px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 15px; color: var(--cream); }

  .services-grid, .split, .visit-grid { grid-template-columns: 1fr; }
  .gallery-grid { gap: 4px; }
  .page-intro .photo { justify-self: start; max-width: none; }
  .map { min-height: 300px; }
  .services-grid li:nth-child(2) { border-top: 0; }
  .split.flip > :first-child { order: 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }

  .call-bar {
    display: flex; justify-content: center; align-items: center; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    background: var(--black); border-top: 1px solid var(--mustard);
    font: 500 12px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--cream);
  }
  .call-bar span { color: var(--mustard); letter-spacing: .14em; }
  body { padding-bottom: 64px; }
}

.page-intro .wrap.narrow { max-width: 1180px; }
.page-intro .lede { max-width: 34em; }

/* ---------- Gallery tiles + lightbox ---------- */
.tile { display: block; cursor: zoom-in; outline-offset: 2px; }
.tile img { transition: filter .25s; }
.tile:hover img, .tile:focus-visible img { filter: saturate(1) contrast(1.06) brightness(1.06); }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .95); color: var(--cream);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .95); }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lb-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; }
.lb-figure figcaption {
  display: flex; gap: 28px; align-items: baseline;
  font: 400 11px/1.6 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim);
}
.lb-count { color: var(--mustard); letter-spacing: .2em; }
.lb-btn {
  background: none; border: 0; padding: 12px; cursor: pointer; color: var(--cream);
  display: grid; place-items: center; transition: color .25s;
}
.lb-btn:hover { color: var(--mustard); }
.lb-prev { grid-column: 1; justify-self: center; }
.lb-next { grid-column: 3; justify-self: center; }
.lb-close { position: absolute; top: 18px; right: 18px; }

@media (max-width: 860px) {
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-figure { grid-column: 1; grid-row: 1; padding: 64px 12px 0; }
  .lb-img { max-height: calc(100dvh - 200px); }
  .lb-figure figcaption { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .lb-prev, .lb-next { grid-row: 2; position: absolute; bottom: 20px; }
  .lb-prev { left: 24px; } .lb-next { right: 24px; }
}
.lb-figure:focus { outline: none; }

.footer-legal { display: grid; gap: 6px; justify-items: end; text-align: right; }
.site-footer .credit { font-size: 10px; color: var(--brass); }
.site-footer .credit a { font-size: inherit; color: var(--cream-dim); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.site-footer .credit a:hover { color: var(--mustard); border-color: var(--mustard); }
@media (max-width: 860px) { .footer-legal { justify-items: center; text-align: center; } }
@media (min-width: 861px) { .site-footer .footer-meta p, .site-footer .footer-meta a { letter-spacing: .24em; } }

/* ---------- Google reviews ---------- */
.reviews[hidden] { display: none; }
.rv-summary { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 0 0 48px; }
.rv-stars { color: var(--mustard); letter-spacing: .3em; font-size: 15px; }
.rv-score { font: 400 11px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim); }
.rv-quote { margin: 0; min-height: 12em; display: flex; flex-direction: column; justify-content: center; }
.rv-text {
  margin: 0 0 28px; font: 300 clamp(18px, 1.9vw, 22px)/1.7 var(--body); color: var(--cream);
  white-space: pre-line;
}
.rv-text::before { content: "\201C"; } .rv-text::after { content: "\201D"; }
.rv-quote figcaption { display: flex; justify-content: center; gap: 18px; font: 400 11px/1.6 var(--head); letter-spacing: .3em; text-transform: uppercase; }
.rv-author { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }
.rv-author:hover { color: var(--mustard); border-color: var(--mustard); }
.rv-when { color: var(--brass); }
.rv-nav { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 36px; }
.rv-nav[hidden] { display: none; }
.rv-count { font: 400 11px/1 var(--head); letter-spacing: .24em; color: var(--mustard); min-width: 4em; }
.rv-credit { margin: 28px 0 0; font: 400 10px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
