/* ==========================================================
   Kam Barber Yatton
   White gallery walls so the photos lead, with the black and
   gold of the shop's chairs as the accents.
   ========================================================== */

:root {
  --paper: #FFFFFF;
  --mist: #F4F4F2;        /* quiet panels */
  --ink: #0A0A0A;         /* text, black bands */
  --stone: #5F5F5B;       /* secondary text on white */
  --line: #E4E4E0;
  --gold: #C9A24B;        /* chair gold, on dark */
  --gold-deep: #9C7A2C;   /* gold that reads on white */
  --star: #E2B84F;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --step-hero: clamp(3.5rem, 1rem + 9vw, 9.5rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 80rem;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 4.25rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Two-tone focus ring: the black inner line shows on light backgrounds, the gold outer ring on dark */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--gold);
  border-radius: 2px;
}

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

.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 {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}

.text-link {
  font-weight: 600;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-deep);
}
.text-link:hover { color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.4rem;
  font: 600 var(--step-0)/1 var(--sans);
  text-decoration: none;
  border-radius: 0;
  border: 1.5px solid transparent;
  background: transparent;   /* buttons get a grey default background in browsers */
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D8B45F; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2A2A; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(255, 255, 255, .5); color: var(--paper); }
.btn-line-light:hover { border-color: var(--paper); }
.btn-glass {
  color: var(--paper);
  border-color: rgba(255, 255, 255, .6);
  background: rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(0, 0, 0, .45); border-color: var(--paper); }
.btn-small { min-height: 2.5rem; padding: .5rem 1rem; font-size: var(--step--1); }

/* ---------- Header: clear over the photo, solid once you scroll ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: var(--paper);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
/* Over the photo, a soft shadow keeps the logo and links readable against the bright ceiling lights */
.site-header:not(.is-solid):not(.menu-open) .logo,
.site-header:not(.is-solid):not(.menu-open) .nav a {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 0 14px rgba(0, 0, 0, .55);
}
.site-header:not(.is-solid):not(.menu-open) .logo-hex { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.site-header.is-solid {
  background: rgba(10, 10, 10, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
/* Logo: "Kam Barber" with a Y (for Yatton) set in a hexagon, after the shop's hexagon ceiling lights */
.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--paper);
  text-decoration: none;
  line-height: 1;
}
.logo-header { margin-right: auto; }
.logo-word {
  font-family: var(--serif);
  font-size: 1.375rem;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.logo-hex { width: 2.35rem; height: auto; flex: none; overflow: visible; }
.logo-hex .hex-outer { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.logo-hex .hex-inner { fill: none; stroke: currentColor; stroke-width: 1; stroke-linejoin: round; opacity: .55; }
.logo-hex text { font-family: var(--serif); font-size: 24px; fill: currentColor; transition: fill .25s ease; }
.logo-footer .logo-word { font-size: 1.625rem; }
.logo-footer .logo-hex { width: 2.75rem; }
/* The 1 turns gold on black, matching the favicon: the solid header, the open phone menu, and the footer */
.site-header.is-solid .logo-hex text,
.site-header.menu-open .logo-hex text,
.logo-footer .logo-hex text { fill: var(--gold); }
.nav { display: flex; gap: 2.25rem; }
.nav a {
  text-decoration: none;
  font-size: var(--step-0);
  font-weight: 500;
  opacity: .9;
  padding-block: .5rem;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left calc(100% - .2rem) / 0 1.5px;
  transition: opacity .15s ease, background-size .25s cubic-bezier(.2, .7, .2, 1);
}
.nav a:hover { opacity: 1; background-size: 100% 1.5px; }
/* Header button matches the larger links */
.site-header .btn-small { min-height: 2.75rem; padding: .6rem 1.25rem; font-size: var(--step-0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  z-index: -2;
  animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes settle {
  from { transform: scale(1.08); opacity: .4; }
  to   { transform: scale(1); opacity: 1; }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .72) 0, rgba(0, 0, 0, .35) 5rem, transparent 10rem),
    linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .1) 70%),
    linear-gradient(to right, rgba(0, 0, 0, .5), transparent 60%);
}
.hero-copy { padding-block: 8rem clamp(3rem, 2rem + 5svh, 6rem); }

/* Scroll cue (phones only): a gold dash travelling down a thin line */
.scroll-cue { display: none; }
@media (max-width: 40rem) {
  .hero-copy { padding-bottom: 6.5rem; }
  .scroll-cue {
    position: absolute; left: 50%; bottom: 1rem;
    translate: -50% 0;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    padding: .5rem 1.25rem;
    color: rgba(255, 255, 255, .8);
    font-size: .875rem; font-weight: 500; letter-spacing: .02em;
    text-decoration: none;
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) .9s both;
    transition: opacity .4s ease;
  }
  .scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
}
.scroll-cue-track {
  position: relative;
  width: 1.5px; height: 2.75rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.scroll-cue-track::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 40%;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 1.9s cubic-bezier(.6, 0, .3, 1) 1.6s infinite both;
}
@keyframes cue {
  from { transform: translateY(-100%); }
  to   { transform: translateY(250%); }
}
.wordmark {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: var(--step-hero);
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
  margin: 0 0 1.5rem;
}
.hero-lede {
  max-width: 36ch;
  font-size: var(--step-1);
  color: rgba(255, 255, 255, .85);
  margin: 0 0 2rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.stars { color: var(--star); letter-spacing: .08em; }

/* ---------- Sections ---------- */
.work,
.prices,
.visit { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* ---------- Gallery ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: .75rem;
}
.gallery li { aspect-ratio: 3 / 4; }
.gallery:not(.is-expanded) .is-extra { display: none; }
.gallery.is-expanded .is-extra { animation: reveal .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.shot {
  display: block;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  cursor: zoom-in;
  position: relative;
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.shot:hover img { transform: scale(1.04); }

/* ---------- Reviews ---------- */
.reviews {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4.5rem, 3rem + 6vw, 8rem);
}
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.reviews-score { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1.5rem 0 0; }
.score-num {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  line-height: .9;
  color: var(--gold);
}
.score-meta { display: flex; flex-direction: column; gap: .2rem; color: rgba(255, 255, 255, .7); font-size: var(--step--1); }
.score-meta .stars { font-size: 1.25rem; }
.reviews-links { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Slider: a native horizontal scroller that snaps to each card */
.review-list {
  --per-view: 3;
  --gap: 1rem;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.review-list::-webkit-scrollbar { display: none; }
.review-list:focus-visible { outline-offset: 6px; }
.review { scroll-snap-align: start; }

.slider-controls {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.75rem;
}
.slider-progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.slider-progress span {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 33%;
  background: var(--gold);
  transition: left .35s cubic-bezier(.2, .7, .2, 1), width .35s ease;
}
.slider-btns { display: flex; gap: .5rem; }
.slider-btn {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .2s ease;
}
.slider-btn:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.slider-btn:disabled { opacity: .3; cursor: default; }
.slider-btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }

.review {
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.75rem;
  border: 1px solid #262626;
  border-radius: var(--radius);
  background: #121212;
}
.review .stars { font-size: 1.1rem; }
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-by {
  margin: auto 0 0;
  display: flex; align-items: center; gap: .65rem;
  font-weight: 600; font-size: var(--step--1);
}
.review-by img { width: 2rem; height: 2rem; border-radius: 50%; }
.review-by a { text-decoration: none; }
.review-by a:hover { text-decoration: underline; }
.review-when { display: block; font-weight: 400; color: rgba(255, 255, 255, .55); }
.sample-tag {
  align-self: flex-start;
  margin: 0;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-size: .875rem; font-weight: 600;
  background: #3A2E12; color: var(--gold);
}
.reviews-credit { margin: 1.5rem 0 0; font-size: var(--step--1); color: rgba(255, 255, 255, .55); }

/* ---------- Prices ---------- */
.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 1rem + 4vw, 6rem);
}
.prices-intro p { color: var(--stone); max-width: 30ch; margin: 1.25rem 0 0; }
.price-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 4rem); }
.price-group {
  font-size: var(--step--1); font-weight: 600; color: var(--stone);
  margin: 0 0 .5rem;
}
.price-list { margin: 0; }
.price-list div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.price-list dt { font-weight: 500; }
.price-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

/* ---------- Visit ---------- */
.visit { background: var(--mist); }
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: stretch;
}
.status {
  display: flex; align-items: center; gap: .55rem;
  margin: 1.25rem 0 0;
  font-weight: 600;
  min-height: 1.5em;
}
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #A0A09A; }
.status:empty::before { display: none; }
.status.is-open::before { background: #1F9D55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .18); }
.address { font-style: normal; font-size: var(--step-1); line-height: 1.5; margin: 1.25rem 0 1rem; }
.access {
  display: flex; align-items: flex-start; gap: .6rem;
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--stone);
}
.access svg {
  flex: none;
  width: 1.4rem; height: 1.4rem;
  margin-top: .05rem;
  fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.access svg circle { fill: var(--gold-deep); stroke: none; }
.direction-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
.hours-title { font-size: var(--step--1); font-weight: 600; color: var(--stone); margin: 2.25rem 0 .25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left; padding: .65rem .6rem;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.hours th { font-weight: 500; }
.hours td { text-align: right; color: var(--stone); }
.hours tr.is-today { background: var(--ink); color: var(--paper); }
.hours tr.is-today td { color: var(--paper); }
.hours tr.is-today th::after { content: "Today"; margin-left: .6rem; font-size: var(--step--1); color: var(--gold); }

.map-wrap {
  position: relative;
  min-height: 28rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #E2E2DE;
  box-shadow: 0 0 0 1px var(--line);
}
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; font-size: var(--step--1); }
.footer-inner p { margin: 0; }
.footer-inner { align-items: center; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; text-align: right; }
.credit a { color: rgba(255, 255, 255, .85); text-underline-offset: .25em; text-decoration-color: var(--gold); }
.credit a:hover { color: var(--gold); }
@media (max-width: 40rem) {
  .footer-meta { align-items: flex-start; text-align: left; }
}


/* ---------- Phone menu ---------- */
.burger {
  display: none;
  position: relative;
  width: 2.75rem; height: 2.75rem;
  margin-right: -.6rem;
  padding: 0; border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
}
.burger span {
  position: absolute; left: .7rem; right: .7rem;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transition: top .3s cubic-bezier(.7, 0, .2, 1) .15s, transform .3s cubic-bezier(.7, 0, .2, 1);
}
.burger span:nth-child(1) { top: 1.05rem; }
.burger span:nth-child(2) { top: 1.55rem; right: 1.15rem; transition-property: top, transform, right; }
.burger[aria-expanded="true"] span {
  top: 1.3rem;
  transition: top .3s cubic-bezier(.7, 0, .2, 1), transform .3s cubic-bezier(.7, 0, .2, 1) .15s, right .3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); right: .7rem; }

.menu {
  --origin: calc(100% - var(--gutter) - .775rem) 2.125rem;
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: 6rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(ellipse 120% 60% at 100% 0%, rgba(201, 162, 75, .12), transparent 60%),
    var(--ink);
  color: var(--paper);
  clip-path: circle(0 at var(--origin));
  visibility: hidden;
  transition: clip-path .55s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .55s;
}
.menu.is-open {
  clip-path: circle(150% at var(--origin));
  visibility: visible;
  transition: clip-path .65s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links li {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .25s ease, transform .25s ease;
}
.menu.is-open .menu-links li {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(.2s + var(--i) * .06s);
}
.menu-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .6rem .7rem 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.5rem + 5vw, 3.25rem);
  line-height: 1.05;
  text-decoration: none;
}
.menu-links a::after {
  content: "";
  width: .55rem; height: .55rem;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.menu-links a:hover::after,
.menu-links a:focus-visible::after { opacity: 1; transform: translateX(.25rem) rotate(45deg); }

.menu-foot {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .2s ease, transform .2s ease;
}
.menu.is-open .menu-foot {
  opacity: 1; transform: none;
  transition: opacity .5s ease .5s, transform .6s cubic-bezier(.2, .7, .2, 1) .5s;
}
.menu-status {
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 1rem;
  font-weight: 600; color: rgba(255, 255, 255, .85);
}
.menu-status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #8A8A85; }
.menu-status:empty { display: none; }
.menu-status.is-open::before { background: #3FCB7A; box-shadow: 0 0 0 4px rgba(63, 203, 122, .2); }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .5rem; }
.menu-actions .btn { padding-inline: .5rem; }
.menu-address { margin: 1rem 0 0; font-size: var(--step--1); color: rgba(255, 255, 255, .55); }

.site-header.menu-open {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.menu-lock { overflow: hidden; }

/* ---------- Scroll animations ----------
   Only active when script.js adds .js-anim (never with reduced motion), so content
   is always visible without JavaScript. */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* Headings rise from behind a line */
.js-anim [data-reveal="heading"] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translateY(.45em);
  transition: clip-path 1s cubic-bezier(.7, 0, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
}
.js-anim [data-reveal="heading"].is-in { clip-path: inset(-10% -5% -30% -5%); transform: none; }

/* Map wipes open from the left */
.js-anim [data-reveal="wipe"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) .15s;
}
.js-anim [data-reveal="wipe"].is-in { clip-path: inset(0); }

/* Lists arrive one item after another */
.js-anim [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .6s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js-anim [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js-anim .price-list[data-reveal-group] > * { transform: translateX(-1rem); }
.js-anim .price-list[data-reveal-group].is-in > * { transform: none; }
.js-anim .gallery[data-reveal-group] > * { transform: translateY(2rem) scale(.97); }
.js-anim .gallery[data-reveal-group].is-in > * { transform: none; }

/* Hero photo drifts as you scroll away */
.hero-photo { will-change: translate; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, .94);
  color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .2s ease both; }
.lightbox::backdrop { background: transparent; }
.lightbox img {
  max-width: min(92vw, 80rem);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-btn {
  position: absolute;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  font-size: 1.75rem; line-height: 1;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }


@media (max-width: 60rem) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-list { --per-view: 2; }
  .prices-grid,
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { min-height: 22rem; }
}

@media (max-width: 52rem) {
  .nav { display: none; }
  .burger { display: block; }
  .header-inner { gap: 1rem; }
}

@media (min-width: 52.01rem) {
  .menu { display: none; }
}

@media (max-width: 40rem) {
  .header-inner .btn-small { display: none; }
  .price-cols { grid-template-columns: minmax(0, 1fr); }
  .actions .btn, .direction-btns .btn { flex: 1 1 100%; }
  .lb-prev, .lb-next { top: auto; bottom: 1.5rem; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  /* Hold the scroll cue's dash still instead of looping */
  .scroll-cue-track::after { animation: none !important; transform: translateY(75%); }
}

/* Phones: one review at a time with the next one peeking in (after the tablet rule so it wins) */
@media (max-width: 40rem) {
  .review-list {
    --per-view: 1.15; --gap: .75rem;
    /* run to the screen edge, while cards still line up with the text above */
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}
